Re: [Xen-devel] [PATCH v4 06/14] x86/init: use a platform legacy quirk for ebda

From: Luis R. Rodriguez
Date: Thu Apr 07 2016 - 17:07:45 EST


On Thu, Apr 07, 2016 at 10:44:50AM +0100, David Vrabel wrote:
> On 07/04/16 01:06, Luis R. Rodriguez wrote:
> >
> > --- a/arch/x86/kernel/platform-quirks.c
> > +++ b/arch/x86/kernel/platform-quirks.c
> > @@ -7,8 +7,12 @@
> > void __init x86_early_init_platform_quirks(void)
> > {
> > x86_platform.legacy.rtc = 1;
> > + x86_platform.legacy.ebda_search = 0;
>
> You should make the default the setting for regular PC hardware, as you
> have done for the .rtc bit.

I went with with Ingo's suggested template [0]. Ingo, let me know what
you prefer.

[0] http://lkml.kernel.org/r/20160407205902.GS1990@xxxxxxxxxxxxx

Luis