Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4694865imm; Tue, 9 Oct 2018 03:56:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV637i2kUm12R2SbcRObBVGNncrVbCaef/DssHNq/KICvjySONyNqwbPKnpRyjTZ3UKa4TcGq X-Received: by 2002:a63:2503:: with SMTP id l3-v6mr8900989pgl.69.1539082574435; Tue, 09 Oct 2018 03:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539082574; cv=none; d=google.com; s=arc-20160816; b=oeb9p0zAsD/ivw1NaPHCKciV0AyhAj9V8KsM877HeLcswY7u2CzCKt9D1hv1KHF+76 eCnOptmc19AYFqOXc1kmIlXrouLwo8vQ/WIS4BmRojZDpQhZGRP4JmFav9bjVbUPUQbV 3S/JH0eHOe4GZos9PWQR1uC/zPcAxzp9zDo0cTG4w1PzMeQAF+cebAzUpGfw6psJ6pBD j8Ycwhx55crSKXKcDO5bwK2o4jVq0ewIvVxmZQ3Hj5rtvXCngeIe9mg9jT/91/cVZn3J GYbGrTyj4uIEuPIuieZci/tQ1p1xn8GSJ+Add9Hvb9uwNYxUjbv166pIhCy86LOqgU+4 X/WQ== 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=1sCXmS2Y4DP1tLlToJsjMiW7y7/pEipIzten2DJAKgk=; b=WlTKSxHQ7US8eIX2PHc8f8ONKhWNV5r2LghepIOa3YgiN4uIK7km4bEilcxmK3mYYq kowJ2+6lUoXUV2z4SJZ7SiXkCU44oSpOt1rJIiI6jAIcJ/gHP3rloL9Lv+tKaXBn3Fwo wN6oQ02Dz176GsQuTizgZHczro2w7u4m+hOqmX816C/aFyvPTFXOO+bGDp/mhT9j/zb1 xN2QX8odKuM65vpXqqi2cfqsFyw49RubGg7lHTxnUwOKP1BoD0hK6TQpxT4CTVN8N3zO udwXHw0pEmgZo8qXQIskcxGEU5ZmtnXTBlFKtnuKXx0fHXHPwymn3rpMTXmLWv+XVlEj gVPQ== 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 e89-v6si22657188plb.361.2018.10.09.03.55.59; Tue, 09 Oct 2018 03:56:14 -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 S1726780AbeJISLE (ORCPT + 99 others); Tue, 9 Oct 2018 14:11:04 -0400 Received: from mx2.suse.de ([195.135.220.15]:44022 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726727AbeJISLD (ORCPT ); Tue, 9 Oct 2018 14:11:03 -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 E1EEEACAD; Tue, 9 Oct 2018 10:54:40 +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 v4 0/3] x86: make rsdp address accessible via boot params Date: Tue, 9 Oct 2018 12:54:34 +0200 Message-Id: <20181009105437.5471-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 | 2 ++ 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, 72 insertions(+), 5 deletions(-) -- 2.16.4