Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp516619imm; Tue, 9 Oct 2018 23:17:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV62TlR0knjUuQglLIw5ebmv6LF88G0DTFvXpz1Q0ZCU3HIjIocF9BHJY93ZLwE4bImtwfjXx X-Received: by 2002:a17:902:c01:: with SMTP id 1-v6mr30983099pls.122.1539152247009; Tue, 09 Oct 2018 23:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539152246; cv=none; d=google.com; s=arc-20160816; b=mDXmZ18umICQHd3r4zBbSMM39mWGEQFS1zyInnEt8f/rNrNumvDgH8+CKkiGlX9Xns KipKMwEDLSlkFf0WfZWQfIHrDBikt4wmqOHr7t3lT/Ro2iXl60uzNuYVAbw9I6UmOxYm 9aBgoHwqRDHptGw5Tt3mtlRDJLUG43s2z5uTaQBZKy+Z1WowyBFqPShlf5mD4BB9ucT9 AaNxFFjjuDKXoUdPwlLJO/rGzNppO7VyT2ui1bYCpxBVgLo/ITjS/VyDw71BW8G1G9vv qyOpRbZ1uVpjtH7HtXYEPI4RKvCxNBXPsUweEfenFXJt2YONo+KlQcCYwxp3K0mmm7Wu m0fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=a67rLMPqOpsd488O+9AjJOYxFduU21HFKWut2QTnYeQ=; b=bjcAL4c/HUQl4UKm2daTlC008KCtgcvuw8OCA2B+hrFfVg/pNERMmWG6lcJaf6nhnV /muNoEMtESlNfa4LaUbjV6IwIVAVOM1BU6PaVcZMEpO/I211q9JvwJ0+SU2mprY/0WvT dkDDRiaQQoq8y5+kZ+DVvP3DbfKoBKdc7e8qhcMvRJoxIpk8H9Lds29z04dG/qZDuRKE zRxEDdLElh99xXPEHoYBU3h+Q8KIINiZPSFo9QdgIUOBDmA0kJSw4W7oHb6j4q4ScIt+ YrtFiKRzKUns5WTjNV77ge9hK1VKgT9umz4E/1p9PePyvPH4GNzhmg/0gVxk/aT9t7/l r5cA== 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 f76-v6si27413216pfa.73.2018.10.09.23.17.12; Tue, 09 Oct 2018 23:17:26 -0700 (PDT) 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 S1726822AbeJJNfh (ORCPT + 99 others); Wed, 10 Oct 2018 09:35:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:47874 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725837AbeJJNfg (ORCPT ); Wed, 10 Oct 2018 09:35:36 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 2B535AEF7; Wed, 10 Oct 2018 06:15:00 +0000 (UTC) From: Juergen Gross To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, x86@kernel.org, linux-doc@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, corbet@lwn.net, boris.ostrovsky@oracle.com, Juergen Gross Subject: [PATCH v5 0/3] x86: make rsdp address accessible via boot params Date: Wed, 10 Oct 2018 08:14:53 +0200 Message-Id: <20181010061456.22238-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the non-EFI boot path the ACPI RSDP table is currently found via either EBDA or by searching through low memory for the RSDP magic. This requires the RSDP to be located in the first 1MB of physical memory. Xen PVH guests, however, get the RSDP address via the start of day information block. In order to support an arbitrary RSDP address this patch series adds the physical address of the RSDP to the boot params structure filled by the boot loader. Juergen Gross (3): x86/xen: fix boot loader version reported for pvh guests x86/boot: add acpi rsdp address to setup_header x86/acpi: take rsdp address for boot params if available Documentation/x86/boot.txt | 32 +++++++++++++++++++++++++++++++- arch/x86/boot/header.S | 6 +++++- arch/x86/include/asm/acpi.h | 7 +++++++ arch/x86/include/asm/x86_init.h | 2 ++ arch/x86/include/uapi/asm/bootparam.h | 4 ++++ arch/x86/kernel/acpi/boot.c | 6 ++++++ arch/x86/kernel/head32.c | 1 + arch/x86/kernel/head64.c | 2 ++ arch/x86/kernel/setup.c | 17 +++++++++++++++++ arch/x86/kernel/x86_init.c | 3 +-- arch/x86/xen/enlighten_pvh.c | 2 +- 11 files changed, 77 insertions(+), 5 deletions(-) -- 2.16.4