From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c00::244; helo=mail-pf0-x244.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::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 877DA223DB100 for ; Mon, 12 Mar 2018 01:10:47 -0700 (PDT) Received: by mail-pf0-x244.google.com with SMTP id j2so4021903pff.10 for ; Mon, 12 Mar 2018 01:17:08 -0700 (PDT) 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=DW/6udmd4RCkM60Q3zCLlDDhpv+UPK1rh+6O38EV3tbZ6DTt6MKEoxFlV+FHiIGrHd KYmDMDjdiVevXgdvVlrV5BbY0Z6h7/f4sl8KaWdmJF42tuMmK6HVlvzqlPPXJ05ozcSh 4BZHPtzxxsx3mAqxtACIpTLlMD8tJq7TBaRYI= 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=fJ7NJnwQEBMGRtEujb/1FSs96fLcPso2WYwIdAj5ZbNNxHK4eIT03ns3wy91aLPcNX S28Mvw/WicdpBicx9YVAMFk0u4/mi+dVmMA+opRliUS+inIPhrDZ/gLyliNPrGe3bKRT SNI3TqVWPWt/XofIFmnpCRk7pnhhurkYinFoAJHM/6DvpikhtPk5JKCot1ZIh1A1ETVC sDOZixNoHJzUketZgdnlGjxKRe+6FPsAbkaLQxl/THLan3aPpS9kShhV5f5dQRU4v6YE CmZQMmcxYsGEVctgtQWIHf6PruYs7CvVKtErtiAcecn6/h1AVl/KI6BBqPoGPR+WFoED FuiQ== X-Gm-Message-State: AElRT7G9yi4WYgHS5RRAHcVA1yimd0KA8lu0p3bxc8vfm/f6C/tX8Q5f hiw3+xOsVBrC9DTuJIm3sgJFAe+ULY8= X-Google-Smtp-Source: AG47ELu/yNjmaxnoY4PgJJbxZ87naC+lk6NkpahP5tWkjzYcw7PYWqXu5iYvcVEaYLGkY/MwUWRb2A== X-Received: by 10.99.121.5 with SMTP id u5mr5923413pgc.444.1520842627642; Mon, 12 Mar 2018 01:17:07 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.76]) by smtp.gmail.com with ESMTPSA id q81sm16560512pfl.188.2018.03.12.01.17.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Mar 2018 01:17:07 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.01.org Cc: gongchengya , Heyi Guo , Ard Biesheuvel , Leif Lindholm , Haojian Zhuang Date: Mon, 12 Mar 2018 16:16:17 +0800 Message-Id: <1520842578-95453-3-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520842578-95453-1-git-send-email-heyi.guo@linaro.org> References: <1520842578-95453-1-git-send-email-heyi.guo@linaro.org> Subject: [edk2-platforms PATCH v2 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: , X-List-Received-Date: Mon, 12 Mar 2018 08:10:47 -0000 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(-) 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 -- 2.7.4