[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot
From: |
Juergen Gross |
Subject: |
Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params |
Date: |
Thu, 18 Oct 2018 16:53:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
On 18/10/2018 16:48, Daniel Kiper wrote:
> On Thu, Oct 18, 2018 at 04:36:28PM +0200, Juergen Gross wrote:
>> On 18/10/2018 16:30, Daniel Kiper wrote:
>>> On Thu, Oct 18, 2018 at 04:18:26PM +0200, Juergen Gross wrote:
>>>> On 18/10/2018 16:13, Daniel Kiper wrote:
>>>>> On Tue, Oct 09, 2018 at 01:03:01PM +0200, Juergen Gross wrote:
>>>>>> Xen PVH guests will have the RSDP at an arbitrary address. Support that
>>>>>> by passing the RSDP address via the boot parameters to Linux.
>>>>>>
>>>>>> The new protocol version 2.14 requires to set version to 0x8000 ored
>>>>>> with the actually use protocol version (the minimum of the kernel
>>>>>> supplied protocol version and the grub2 supported protocol version)
>>>>>> if 2.14 or higher are in effect.
>>>>>>
>>>>>> Signed-off-by: Juergen Gross <address@hidden>
>>>>>> ---
>>>>>> V2: add oring 0x8000 to version field
>>>>>> ---
>>>>>> grub-core/loader/i386/linux.c | 9 +++++++++
>>>>>> include/grub/i386/linux.h | 5 ++++-
>>>>>> 2 files changed, 13 insertions(+), 1 deletion(-)
>>>>>>
>>>>>> diff --git a/grub-core/loader/i386/linux.c
>>>>>> b/grub-core/loader/i386/linux.c
>>>>>> index 4eab55a2d..f96309476 100644
>>>>>> --- a/grub-core/loader/i386/linux.c
>>>>>> +++ b/grub-core/loader/i386/linux.c
>>>>>> @@ -35,6 +35,7 @@
>>>>>> #include <grub/i18n.h>
>>>>>> #include <grub/lib/cmdline.h>
>>>>>> #include <grub/linux.h>
>>>>>> +#include <grub/machine/kernel.h>
>>>>>
>>>>> Probably this change belongs to another patch.
>>>>
>>>> I don't think so.
>>>
>>> You do not add anything to this header here and out of the blue you
>>> include it in this file. So, why it is needed here?
>>
>> Ah, now I see your problem.
>>
>> machine/kernel.h will be the header which eventually defines
>> GRUB_KERNEL_USE_RSDP_ADDR.
>
> So, please move this to the proper patch.
Okay, if you like that better.
Juergen
- Re: [Xen-devel] [PATCH v2 10/18] xen: setup hypercall page for PVH, (continued)
- [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Juergen Gross, 2018/10/09
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Daniel Kiper, 2018/10/18
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Juergen Gross, 2018/10/18
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Daniel Kiper, 2018/10/18
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Juergen Gross, 2018/10/18
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Daniel Kiper, 2018/10/18
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params,
Juergen Gross <=
- Re: [PATCH v2 02/18] loader/linux: support passing rsdp address via boot params, Daniel Kiper, 2018/10/18
[PATCH v2 03/18] xen: carve out grant tab initialization into dedicated function, Juergen Gross, 2018/10/09
[PATCH v2 07/18] xen: add PVH specific defines to offset.h, Juergen Gross, 2018/10/09
[PATCH v2 06/18] xen: rearrange xen/init.c to prepare it for Xen PVH mode, Juergen Gross, 2018/10/09
[PATCH v2 15/18] grub-module-verifier: Ignore all_video for xenpvh, Juergen Gross, 2018/10/09