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: 7634391 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7587F9F1C2 for ; Tue, 17 Nov 2015 09:45:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ACCE82047C for ; Tue, 17 Nov 2015 09:45:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E8DEC20461 for ; Tue, 17 Nov 2015 09:45:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZycnC-000633-CA; Tue, 17 Nov 2015 09:43:14 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZycmE-0005EY-3x for linux-arm-kernel@lists.infradead.org; Tue, 17 Nov 2015 09:42:15 +0000 Received: by wmww144 with SMTP id w144so17139161wmw.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=G8GCDlA5s/HRQ71ibArniOhobp/DaxoxVLaTOM3mtAZRX4jPTioZR/QDGDQYX+ltYt fgksYKN0dKq5wAw0p3NzdEM9v7xI/GcaqiVezo63r5xDyHq2wzcBhAbVjY2bgz0cBvwM PHNzUTdAQyrXQKc/GwyB7NLHok8MDyFJFfzo+XyMDa+Xs7h3P+jCHovnLu3yIui5ABjV Z7wx25oAHO5YsNJX/WZDVhn4tbSYcdhbfWnobORQ+Aq9WaN6qJtXfjHFIPFkPySIYYDb CNEo2KtDlIPaqjxfOwGFJUI+nMttc5eiM/j3sO2eQhzdsNacjDgEE+tyulDvfmyadfFa +ioA== X-Gm-Message-State: ALoCoQlxapXuOez+5+0JuxEAh50g70DWNhI6WuR3Oe7Tnn8+syd0Q4J3bqchmIIvvjuXAbD37JG9 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 Subject: [PATCH v3 05/62] acpi: Don't do traditional BIOS table scan for ARM64 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151117_014214_647378_7B980F56 X-CRM114-Status: GOOD ( 10.57 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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; } }