From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::441; helo=mail-pf1-x441.google.com; envelope-from=ming.huang@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (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 3825321184ABA for ; Sun, 28 Oct 2018 20:33:35 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id e22-v6so264029pfn.8 for ; Sun, 28 Oct 2018 20:33:35 -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=aeXqML/lFq1yw6CtN8txfd9kMoK5i1/IMbB2GERrAIY=; b=J57kNEhgJVhYXlSaJLyhXdaOTnbMvkwK43NvmNGEO9HYZir2/Txkv40MGttH8EnnX2 4AuzAONAqica7Ta7xjG5f7+Mf1kt3Y1ae8Fbvv+z9wr8JSMAtwd59kcqklGgcCdT8ZcV U9NOB4rbzbgsXFockr8K245ec9NDRrienZPhc= 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=aeXqML/lFq1yw6CtN8txfd9kMoK5i1/IMbB2GERrAIY=; b=MfLkhaEX/JrBEc1cN6paP5sbWiAFxivq0RM2jmanmtRr9qbOzYXiFvgiziTdNa+yTp PfSu+2Gpges/qrcOEzJ+nXzxoPsLrxl6PK8AmKB56+c5HvEcWmm7zbIOcQQ9XjZVl2xz wAbF/FNsaGKm/IHJ0tDL0+9O1vrChXFW4TjZdLEz178QqjFheHvquvQJDCoMrCVwbP8O rBVZ0FB/wWitvduAG+Yldxmb3wMjXzOC+YX/2bPbEE9/aGnPPCknME6NPpTvp73AtsCd IxmY8mt7PI37oY1tnaEiuD2IlmdBDj9oDUerv4oLMZmU51jq4hOBuzzZFegbIctBWO2L kRHA== X-Gm-Message-State: AGRZ1gJro9m2wi4A1rgx+exHhqOsbkgK74HgKjIaLV9qDGEGu853xrFP MOlPymLcDe4hB0v1qXC6252pQw== X-Google-Smtp-Source: AJdET5eAPMxZ/hMPZ+NMKirWpXKYcaFLM7uXHprC6LpLDHxphFQc9yUEJs5r5T1ycnL9jLldjcFX/w== X-Received: by 2002:aa7:80cd:: with SMTP id a13-v6mr13292979pfn.86.1540784014771; Sun, 28 Oct 2018 20:33:34 -0700 (PDT) Received: from localhost.localdomain ([120.31.149.194]) by smtp.gmail.com with ESMTPSA id j5-v6sm22318872pgm.79.2018.10.28.20.33.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 28 Oct 2018 20:33:34 -0700 (PDT) From: Ming Huang To: leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org, edk2-devel@lists.01.org, graeme.gregory@linaro.org Cc: ard.biesheuvel@linaro.org, michael.d.kinney@intel.com, lersek@redhat.com, wanghuiqiang@huawei.com, huangming23@huawei.com, zhangjinsong2@huawei.com, huangdaode@hisilicon.com, john.garry@huawei.com, xinliang.liu@linaro.org, zhangfeng56@huawei.com, Ming Huang Date: Mon, 29 Oct 2018 11:32:48 +0800 Message-Id: <20181029033249.45363-12-ming.huang@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181029033249.45363-1-ming.huang@linaro.org> References: <20181029033249.45363-1-ming.huang@linaro.org> Subject: [PATCH edk2-platforms v1 11/12] Hisilicon/D06: Modify Gic base X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2018 03:33:35 -0000 The values of PcdGicInterruptInterfaceBase and GICD are wrong, so modify it. Fix SBSA test case 21: 21 : Check GIC version GIC version is 0 Failed on PE - 0 for Level= 3 : Result: --FAIL-- 2 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ming Huang --- Platform/Hisilicon/D06/D06.dsc | 2 +- Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/MadtHi1620.aslc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Hisilicon/D06/D06.dsc b/Platform/Hisilicon/D06/D06.dsc index 8ee20342b1..6296fcd9ec 100644 --- a/Platform/Hisilicon/D06/D06.dsc +++ b/Platform/Hisilicon/D06/D06.dsc @@ -183,7 +183,7 @@ gHisiTokenSpaceGuid.PcdArmPrimaryCoreTemp|0x80010000 gArmTokenSpaceGuid.PcdGicDistributorBase|0xAE000000 gArmTokenSpaceGuid.PcdGicRedistributorsBase|0xAE100000 - gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0xFE000000 + gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x9B000000 diff --git a/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/MadtHi1620.aslc b/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/MadtHi1620.aslc index 43b43142af..d3de69a3ef 100644 --- a/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/MadtHi1620.aslc +++ b/Silicon/Hisilicon/Hi1620/Hi1620AcpiTables/MadtHi1620.aslc @@ -361,7 +361,7 @@ EFI_ACPI_MULTIPLE_APIC_DESCRIPTION_TABLE Madt = { 0x0, 0x0, 25, 0x4000AA000000 + 0x6C0000 /* GicRBase */, 0), }, - EFI_ACPI_6_1_GIC_DISTRIBUTOR_INIT(0, 0xAA000000, 0, 0x4), + EFI_ACPI_6_1_GIC_DISTRIBUTOR_INIT(0, 0xAE000000, 0, 0x4), { EFI_ACPI_6_1_GIC_ITS_INIT(0,0x202100000), //peri a // EFI_ACPI_6_1_GIC_ITS_INIT(1,0x400202100000), //peri a -- 2.18.0