From patchwork Wed Mar 7 06:55:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 130850 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp4845045lja; Tue, 6 Mar 2018 22:56:41 -0800 (PST) X-Google-Smtp-Source: AG47ELt+D3qItxgzJm8s39XtmA98bWQRPHMtjP4LAWh3vaivSczk6Wz1Ff4A977YCZaTZp+0wuHM X-Received: by 2002:a17:902:7b92:: with SMTP id w18-v6mr18865451pll.159.1520405801276; Tue, 06 Mar 2018 22:56:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520405801; cv=none; d=google.com; s=arc-20160816; b=zVEf4HUeEra5l0N6NkedH9bGy0W0FcJqjL7tGChSOKU3bZDSrVGKP0hthSK+JsZNh7 d1qTHf83oV7XbY8NklJQ8e1jy0gBLwc4a9X2EQN/vzlD2IHxmaD+Djgv2+A9ZNj694H/ hqWCRAGCoL3vv29Dw0O6ciVZo6B6BRAbnfZoQlnWa/DaAhJIzRPN+vpp6bfUZ2q+NsOJ Fq6b079z+Qrht8v/j10j5M1/XNbVaN16BMPt9T4nax+Shlq+dYdLDFIzZtbzoDej35EK Kwxpgg6KknAoxUHEejIg6MBEkZ9j7TegQ2SAGJoOqeAfDMmioQ+BcuWsFTZX6RE/VARK jTjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=3MnI+wEXHXilJWVImVbkUzbp37NxH0K+3LvaomwsYnA=; b=NRUwrQnWDEzOWl77uIyy787PJNKz7f6xnVb1XmnBCLssqbqBPDjZXxywkwrOvl9Ufa Bn8aUCnuJ9RTmT75itcP/kMfvYo+iV0tVbM3Crpvce1FUqbGpry1Udr36WVxShpMORxD B5zM51FTXM4sdRSw8KuWL84XZu8bIF+vYojdh8Y19hb64G/CQzkPMVcUmlDeNOsB8uC4 +rxJRxWo4sgTLtTR7aGa+TydrICZdjTSXFbg212Zu5bBbt7HF9LWYdGyMWS5btsA2sqT oYqW4TBRWMFfhTHmbpCRo4Ooq1xGmZi649c4+9kPXdR2ZugxQFHNzlk6+MchwWkOBjdN z/fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SVrIH6Bt; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id 79si11013904pga.647.2018.03.06.22.56.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Mar 2018 22:56:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=SVrIH6Bt; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id DC7412228350C; Tue, 6 Mar 2018 22:50:25 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::244; helo=mail-pl0-x244.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0E1BB22135D27 for ; Tue, 6 Mar 2018 22:50:24 -0800 (PST) Received: by mail-pl0-x244.google.com with SMTP id m22-v6so823262pls.5 for ; Tue, 06 Mar 2018 22:56:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=s2ygcDtyjRulqW3GZCvVM3WJgh9okvTFb4aJuQZhkR8=; b=SVrIH6Btnm2fjDt2IA46dKHIXWXmsJSYUUxo/tf5a8+BcOvoG1b4f4TMcNXrQLfKZb 1u3Eayojn0N6tiVSHHoknvHCQcMSM246k1BFhRLxBP6dDPeZpp1RYgMsAgAlpr+BCD7t CDpZbvDb69D8ASBTyZJn3AnYHCVWF52CPZcSc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=s2ygcDtyjRulqW3GZCvVM3WJgh9okvTFb4aJuQZhkR8=; b=ackRl27PECI/eTJGTCkJfDqeYTP/F/UOi3DBJVDqbbUwc7kNA7dOasYJTaqKCKtOWU QND6vhcmRDn7MmzsP3QBtapz3LibYkYfd611yBwLR88HP7wMX1cewesl11t/n79KNHKb 4qHt8aLn1z4hy9aiHiazypNZAqhhEzabbm7DfKT40n0fB4LO6iIf+o6RGIAiQSdpry1e arhAJfSc1fOrFdC+HXjTdy8N3BpxYSGMLWQ9arABCEW9FOEkw6Z9nGdQ6ZrXGmAOUPpj 26hYp1HJ0suo21FvY2MREnELpubMrPdYQ5kRL41x+lLT0NtkeITWYGQPdieDrybtILjS BGBg== X-Gm-Message-State: APf1xPDBoBxmmwJ67iY4eWU41Vv8lFGMj3w9F8pIh7DoEvPhjVlllId2 EW4GESxsVhVeWrm5rhCxtMGWQePCJVs= X-Received: by 2002:a17:902:a607:: with SMTP id u7-v6mr19010569plq.367.1520405799522; Tue, 06 Mar 2018 22:56:39 -0800 (PST) Received: from localhost.localdomain ([45.56.152.76]) by smtp.gmail.com with ESMTPSA id m18sm28340291pgu.51.2018.03.06.22.56.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Mar 2018 22:56:39 -0800 (PST) From: Heyi Guo To: edk2-devel@lists.01.org Date: Wed, 7 Mar 2018 14:55:46 +0800 Message-Id: <1520405747-11023-2-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520405747-11023-1-git-send-email-heyi.guo@linaro.org> References: <1520405747-11023-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2] [PATCH 2/3] Hisilicon: disable GICv3 legacy mode X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Haojian Zhuang , Heyi Guo , Leif Lindholm , gongchengya , Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: gongchengya Hi1616 GIC does not fully support GICv2 legacy mode, and SBSA watchdog interrupts 400 and 496 cannot be signaled to CPU, so we switch to pure GICv3 mode. For other Hisilicon platforms, we suppose they don't need V2 legacy mode either if they have GICv3. D03 also works for this patch. If the platforms only have GICv2, this change will have no impact on them. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: gongchengya Signed-off-by: Heyi Guo Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Haojian Zhuang --- Silicon/Hisilicon/Hisilicon.dsc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Silicon/Hisilicon/Hisilicon.dsc.inc b/Silicon/Hisilicon/Hisilicon.dsc.inc index b196322a20e2..f8d5f0b270b3 100644 --- a/Silicon/Hisilicon/Hisilicon.dsc.inc +++ b/Silicon/Hisilicon/Hisilicon.dsc.inc @@ -249,7 +249,7 @@ [PcdsFeatureFlag.common] gEfiMdeModulePkgTokenSpaceGuid.PcdInstallAcpiSdtProtocol|TRUE - gArmTokenSpaceGuid.PcdArmGicV3WithV2Legacy|TRUE + gArmTokenSpaceGuid.PcdArmGicV3WithV2Legacy|FALSE [PcdsFixedAtBuild.common] gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|44