Received: by 10.223.164.202 with SMTP id h10csp2851425wrb; Tue, 28 Nov 2017 02:19:55 -0800 (PST) X-Google-Smtp-Source: AGs4zMazQPHAlbZ1Aa9zrJkD4FaKJ0OmCFZT2UXNMENtkzShV7BzB6pYrpW64PZfDeVA5jZOG7TR X-Received: by 10.101.76.204 with SMTP id n12mr2635107pgt.0.1511864395211; Tue, 28 Nov 2017 02:19:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511864395; cv=none; d=google.com; s=arc-20160816; b=VCpgpHNbfEtndGBgiLfJ4NEOUV5iix9soiLLS+zULjdiJ7XT8CLSE054oQd4F4X2Km yhS+SmuXxpzIZpNjlmxF6iqqPTCfr7rgvqFYdqpcGv8mLUHxxXPFqVx6bYbshRrBn/nB 1KMD+ngMpvlzZjhr2syy0vGRPZvkUdKrzmQ6lJ2WcFR3MnvLIeNb3G7mzkQp88ZH7NfJ QrmJiK0+/BhUXf3feJ2Gd8iJM98NFhVAS6GnjxJJNSiIEy/fQG5Q80G58cG4vdxUNBcn O2AgT88UpTASxnEK4DNFBcjatUzF+C2xe/goGslrjnBV7NYhM9WNdiADFps+XbDoXdiy NLfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=k4HrfjVSZ8d1+aWfr5pRficvOA+O/6BuZrJJkJ4hUJw=; b=w4JkTLlXDUyG/yTKlALAmB7J6xXWna7t0SxwLQefIrFtv4UpRW4o7i9jNlrPkOMo3g O92AItc/lKotDYKI3aHqoRiaYVEYQs2NDA9Wd8rg7QiGsdRrIPtgNk2GshdzIfgEejqY 9DOqNPvW3TmJM0M7LuHfrqaA1gG6JNaWRNQ/izEU71UYsgQvMyVBEIEAPmiCjvwClg1f cqRQAGTbSz8CfSRo8MktERytLzd7wZUejH060QRsxIc7EiHNWYv5pM09lF/eNf8EgEyi BRyEsE312COf9m9+DN5qUnyltikSWiBWDY/Ywxv57tEPZOhWsc49DaFIE2oD/rk5P/30 TOyA== 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 z81si9054129pfa.1.2017.11.28.02.19.43; Tue, 28 Nov 2017 02:19:55 -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 S1752194AbdK1KSk (ORCPT + 78 others); Tue, 28 Nov 2017 05:18:40 -0500 Received: from smtp.ctxuk.citrix.com ([185.25.65.24]:1218 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596AbdK1KSi (ORCPT ); Tue, 28 Nov 2017 05:18:38 -0500 X-IronPort-AV: E=Sophos;i="5.44,467,1505779200"; d="scan'208";a="63829817" Date: Tue, 28 Nov 2017 10:18:34 +0000 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Juergen Gross CC: , , , , , , , , , , Subject: Re: [Xen-devel] [PATCH 2/3] x86/acpi: take rsdp address for boot params if available Message-ID: <20171128101834.fmiqygqpfh6wxrvv@MacBook-Pro-de-Roger.local> References: <20171128094400.25955-1-jgross@suse.com> <20171128094400.25955-3-jgross@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20171128094400.25955-3-jgross@suse.com> User-Agent: NeoMutt/20171027 X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL03.citrite.net (10.69.22.127) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Roger. From 1585302521989218363@xxx Tue Nov 28 09:44:58 +0000 2017 X-GM-THRID: 1585302521989218363 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread