Received: by 10.223.164.202 with SMTP id h10csp2967659wrb; Tue, 28 Nov 2017 04:20:20 -0800 (PST) X-Google-Smtp-Source: AGs4zMYAN+iTW3wrY3PssiMGq3gaVc07NSRGoND6pLXNDP4HDcDqxAxcNsmJaxv7ZOj7BtcYOIp7 X-Received: by 10.99.36.195 with SMTP id k186mr25161590pgk.171.1511871620844; Tue, 28 Nov 2017 04:20:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511871620; cv=none; d=google.com; s=arc-20160816; b=lMVwO30hrCt4vjd3+BN02+hzah5ufoxV60WnEno9GFFbS2Mwr6Pz83cC+/EgUO2Ssv 5gdtgDYpHM2YXiUr63t297U6T66F+sqaMJPAU9jVAcJpUnJgZPIQRdQWQ6xJrkeh+Q4N RIP8aLTr0wKJFFYBIj57J9WNd2uDqbOZ99nV3gUuudxdEpdKQUukucgBsZbKXpEcMcVr +DdCPfChLFyPe0SupvdYoKS5J41YIvb83UVXKUZoyQXcTftvwZRUdnsOnKN8HuMfF4aQ U3+dm+E4gjEtrI2u/6WtAZfkLIuQ4aQMkaTHKewbip6CCZLztByN1Hz8c7ORkRDcU1BZ +Jtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=WQl5+veZoUdOfHt7qhCn9lGEcCEz4UGHYUCiLrv8O9A=; b=dIW38ROjOOFcw+aA5eV2ocUV3sm8MaSexBNknpc98eMNuRLn8HYK0ltLylCiJgkXN0 slu90cIhWAr7Kmq8mRsVaO0tSorwtHk8rwHNkUwyBdMxkw1GhyDtNQH0U+y9psnpMbR3 WtwF76uHy5tudHu8CLr9dy1iSf1zTEmpjC67ZR9u6EQspMr+XevH162UtDJX48nbuG/O MjBEk9/9vynwAEYm4sfUPLj+mdCD99juRmi5bRuA8S/jgsbz5rL3FXccU3LuluqAsiO/ YuO2CSPW05I2CfNndLDNxm6X0cuRNswOCPbeQvjfeLK/tLi2SsbumrpTplDEVBbGrZiI uO3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 62si13780754ply.664.2017.11.28.04.20.09; Tue, 28 Nov 2017 04:20:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753779AbdK1MT3 (ORCPT + 77 others); Tue, 28 Nov 2017 07:19:29 -0500 Received: from mx2.suse.de ([195.135.220.15]:44753 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753007AbdK1KaU (ORCPT ); Tue, 28 Nov 2017 05:30:20 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 79BC4ADF6; Tue, 28 Nov 2017 10:30:18 +0000 (UTC) Subject: Re: [Xen-devel] [PATCH 2/3] x86/acpi: take rsdp address for boot params if available To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Cc: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, x86@kernel.org, corbet@lwn.net, rjw@rjwysocki.net, linux-acpi@vger.kernel.org, mingo@redhat.com, hpa@zytor.com, boris.ostrovsky@oracle.com, tglx@linutronix.de, lenb@kernel.org References: <20171128094400.25955-1-jgross@suse.com> <20171128094400.25955-3-jgross@suse.com> <20171128101834.fmiqygqpfh6wxrvv@MacBook-Pro-de-Roger.local> From: Juergen Gross Message-ID: <072e88ef-dd61-8b7d-026a-5966b13ffed9@suse.com> Date: Tue, 28 Nov 2017 11:30:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171128101834.fmiqygqpfh6wxrvv@MacBook-Pro-de-Roger.local> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/11/17 11:18, Roger Pau Monné wrote: > On Tue, Nov 28, 2017 at 10:43:59AM +0100, Juergen Gross wrote: >> In case the rsdp address in struct boot_params is specified don't try >> to find the table by searching, but take the address directly as set >> by the boot loader. >> >> Signed-off-by: Juergen Gross >> --- >> drivers/acpi/osl.c | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c >> index 3bb46cb24a99..3b25e2ad7d75 100644 >> --- a/drivers/acpi/osl.c >> +++ b/drivers/acpi/osl.c >> @@ -45,6 +45,10 @@ >> #include >> #include >> >> +#ifdef CONFIG_X86 >> +#include >> +#endif >> + >> #include "internal.h" >> >> #define _COMPONENT ACPI_OS_SERVICES >> @@ -195,6 +199,10 @@ acpi_physical_address __init acpi_os_get_root_pointer(void) >> if (acpi_rsdp) >> return acpi_rsdp; >> #endif >> +#ifdef CONFIG_X86 >> + if (boot_params.hdr.acpi_rsdp_addr) >> + return boot_params.hdr.acpi_rsdp_addr; >> +#endif > > I'm struggling to figure out how was PVH getting the RSDP previously, > because that should be removed now that it's in the zero-page. I don't think it should be removed, because this was the legacy case (searching through memory). It was pure luck that Xen put it at the right location. Juergen From 1585306657308184649@xxx Tue Nov 28 10:50:42 +0000 2017 X-GM-THRID: 1585302521989218363 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread