From patchwork Tue Nov 17 09:40:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 56718 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp1825008lbb; Tue, 17 Nov 2015 01:43:16 -0800 (PST) X-Received: by 10.140.230.6 with SMTP id a6mr44198193qhc.31.1447753392627; Tue, 17 Nov 2015 01:43:12 -0800 (PST) Return-Path: Received: from lists.xen.org (lists.xenproject.org. [50.57.142.19]) by mx.google.com with ESMTPS id v188si21137350qhb.102.2015.11.17.01.43.12 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 17 Nov 2015 01:43:12 -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; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zyclv-0002Al-EJ; Tue, 17 Nov 2015 09:41:55 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zyclt-00029v-Vb for xen-devel@lists.xen.org; Tue, 17 Nov 2015 09:41:54 +0000 Received: from [85.158.139.211] by server-13.bemta-5.messagelabs.com id 0E/43-06091-166FA465; Tue, 17 Nov 2015 09:41:53 +0000 X-Env-Sender: shannon.zhao@linaro.org X-Msg-Ref: server-11.tower-206.messagelabs.com!1447753312!4239524!1 X-Originating-IP: [74.125.82.54] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 7.19.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 52142 invoked from network); 17 Nov 2015 09:41:52 -0000 Received: from mail-wm0-f54.google.com (HELO mail-wm0-f54.google.com) (74.125.82.54) by server-11.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 17 Nov 2015 09:41:52 -0000 Received: by wmww144 with SMTP id w144so17139163wmw.0 for ; Tue, 17 Nov 2015 01:41:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wwahHza8AvP1mxnKWVchj5UhuUj+Dxjk7m1j34/4zOU=; b=EhK0e42li9VHozB32N34mmD75KqdbQ7HMUvSoDyhT0v/ds5wjXs+RQEWMBiScJKeQC rlsBIL8aGH837nEha9RxXpVHZdGep9envbTaou03W41DwVNsj85sSrVDO2WQQPfj5Aup 02n5s+/KmuIwkAhVb0Rvn5mYn6mXPjoITC6vLwqMCtJGfQlNWHS/SJB2msPoWpgQyBbK ALmDRDaWn0t8Vg+efrkrgeKcFiWI8JJQNzKhb71XFUIaRph8dzXOdgswH5+o1Yy+6uni MYsCpsDDzsmc+eH6gLdZ46Y1o4tm+PtEIKmCHKSoCyty1ibjIM7908Qd3pvypAtqRt53 tPEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wwahHza8AvP1mxnKWVchj5UhuUj+Dxjk7m1j34/4zOU=; b=UKLVHVcU2qrRLxiUlUP8Y5uyWIIQDxudkDHOj18riSZ94o9ALZQ3uQ1KPmUmvVNAeJ utsdPrbV9+nRRaFsbB5vAfKOI1UFgYl0EDWFt+h77DrH8gnDB5UAKcNEPJE5dRvFsKtO lf23XcDi7K+IYNVMg0gBMVR3m295erKBIdy61F09kWULhClKWLLRCnBQpoXIgEm/08Pl Gdl4cEjTNioLtCLHb8VUVRTmu0jmrPOMFG20mTqMWe/GXY6H7xgr9OUJDi3am2B6cREH Wm4jJfEU9ulEHFxhoz8Z0FOSD7bopMFNnfEIWkRW/9kWqekRn3X7WDxhoF59W3S68kCw K3Lg== X-Gm-Message-State: ALoCoQkduGGpDQnEKVanevzRmz8HoIdMFdOqWmb9E/RNIN77qIhMAWOnYKO9oiZ2c7P5FPuzIzDQ X-Received: by 10.28.186.67 with SMTP id k64mr1542001wmf.56.1447753312533; Tue, 17 Nov 2015 01:41:52 -0800 (PST) Received: from localhost ([78.129.251.54]) by smtp.gmail.com with ESMTPSA id t2sm23060385wme.0.2015.11.17.01.41.50 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 17 Nov 2015 01:41:51 -0800 (PST) From: shannon.zhao@linaro.org To: ian.campbell@citrix.com, stefano.stabellini@citrix.com, keir@xen.org, jbeulich@suse.com, andrew.cooper3@citrix.com, julien.grall@citrix.com, xen-devel@lists.xen.org Date: Tue, 17 Nov 2015 17:40:04 +0800 Message-Id: <1447753261-7552-6-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1447753261-7552-1-git-send-email-shannon.zhao@linaro.org> References: <1447753261-7552-1-git-send-email-shannon.zhao@linaro.org> Cc: mark.rutland@arm.com, hangaohuai@huawei.com, ard.biesheuvel@linaro.org, shannon.zhao@linaro.org, christoffer.dall@linaro.org, peter.huangpeng@huawei.com, david.vrabel@citrix.com, zhaoshenglong@huawei.com, linux-arm-kernel@lists.infradead.org, roger.pau@citrix.com Subject: [Xen-devel] [PATCH v3 05/62] 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: , MIME-Version: 1.0 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, add a #ifdef option for x86 to do the traditional BIOS scanning for tables. Signed-off-by: Shannon Zhao --- xen/drivers/acpi/osl.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.1.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel diff --git a/xen/drivers/acpi/osl.c b/xen/drivers/acpi/osl.c index ce15470..db74a90 100644 --- a/xen/drivers/acpi/osl.c +++ b/xen/drivers/acpi/osl.c @@ -78,7 +78,9 @@ acpi_physical_address __init acpi_os_get_root_pointer(void) } else { acpi_physical_address pa = 0; + #ifdef CONFIG_X86 acpi_find_root_pointer(&pa); + #endif return pa; } }