From patchwork Sat Jan 16 05:01:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 59905 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp932892lbb; Fri, 15 Jan 2016 21:10:39 -0800 (PST) X-Received: by 10.55.207.152 with SMTP id v24mr17839554qkl.100.1452921039621; Fri, 15 Jan 2016 21:10:39 -0800 (PST) Return-Path: Received: from lists.xen.org (lists.xenproject.org. [50.57.142.19]) by mx.google.com with ESMTPS id k30si17604179qgk.52.2016.01.15.21.10.38 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 15 Jan 2016 21:10:39 -0800 (PST) Received-SPF: neutral (google.com: 50.57.142.19 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=50.57.142.19; Authentication-Results: mx.google.com; spf=neutral (google.com: 50.57.142.19 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aKJ72-000831-Q8; Sat, 16 Jan 2016 05:09:20 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aKJ70-00081r-Mm for xen-devel@lists.xen.org; Sat, 16 Jan 2016 05:09:18 +0000 Received: from [85.158.139.211] by server-11.bemta-5.messagelabs.com id D5/3C-24494-E70D9965; Sat, 16 Jan 2016 05:09:18 +0000 X-Env-Sender: zhaoshenglong@huawei.com X-Msg-Ref: server-6.tower-206.messagelabs.com!1452920952!15920872!1 X-Originating-IP: [58.251.152.64] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 13894 invoked from network); 16 Jan 2016 05:09:16 -0000 Received: from szxga01-in.huawei.com (HELO szxga01-in.huawei.com) (58.251.152.64) by server-6.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 16 Jan 2016 05:09:16 -0000 Received: from 172.24.1.51 (EHLO szxeml430-hub.china.huawei.com) ([172.24.1.51]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DDC66677; Sat, 16 Jan 2016 13:02:25 +0800 (CST) Received: from HGHY1Z002260041.china.huawei.com (10.177.16.142) by szxeml430-hub.china.huawei.com (10.82.67.185) with Microsoft SMTP Server id 14.3.235.1; Sat, 16 Jan 2016 13:02:16 +0800 From: Shannon Zhao To: Date: Sat, 16 Jan 2016 13:01:11 +0800 Message-ID: <1452920477-13916-5-git-send-email-zhaoshenglong@huawei.com> X-Mailer: git-send-email 1.9.0.msysgit.0 In-Reply-To: <1452920477-13916-1-git-send-email-zhaoshenglong@huawei.com> References: <1452920477-13916-1-git-send-email-zhaoshenglong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.5699CEE1.0137, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 8d120de4fa907f0ec4e8759896665efe Cc: ian.campbell@citrix.com, peter.huangpeng@huawei.com, julien.grall@citrix.com, stefano.stabellini@citrix.com, shannon.zhao@linaro.org, Jan Beulich Subject: [Xen-devel] [PATCH v4 04/10] acpi: Don't do traditional BIOS table scan for ARM64 X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org From: Shannon Zhao With the addition of ARM64 that does not have a traditional BIOS to scan, stub out acpi_find_root_pointer to do nothing for ARM. Cc: Jan Beulich Signed-off-by: Shannon Zhao --- v4: stub out acpi_find_root_pointer fro ARM --- xen/drivers/acpi/tables/tbxfroot.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.0.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel diff --git a/xen/drivers/acpi/tables/tbxfroot.c b/xen/drivers/acpi/tables/tbxfroot.c index 0efb603..90e52e9 100644 --- a/xen/drivers/acpi/tables/tbxfroot.c +++ b/xen/drivers/acpi/tables/tbxfroot.c @@ -49,6 +49,12 @@ #define _COMPONENT ACPI_TABLES ACPI_MODULE_NAME("tbxfroot") +#ifdef CONFIG_ARM +acpi_status __init acpi_find_root_pointer(acpi_native_uint * table_address) +{ + return_ACPI_STATUS(AE_NOT_FOUND); +} +#else /* Local prototypes */ static u8 *acpi_tb_scan_memory_for_rsdp(u8 * start_address, u32 length); @@ -271,3 +277,4 @@ static u8 *__init acpi_tb_scan_memory_for_rsdp(u8 * start_address, u32 length) start_address)); return_PTR(NULL); } +#endif