public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* IA64 and drivers/acpi/bus.c
@ 2017-09-25 14:51 Jean Delvare
  2017-09-29  4:42 ` Zheng, Lv
  0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2017-09-25 14:51 UTC (permalink / raw)
  To: Lin Ming, Tony Luck, Len Brown, Rafael J. Wysocki, Fenghua Yu; +Cc: linux-acpi

Hi all,

Long ago, a warning was silenced in drivers/acpi/bus.c on IA64 with
this commit:

commit cce4f632db200aef147c59084437168174b23f11
Author: Lin Ming <ming.m.lin@intel.com>
Date:   Wed May 12 09:26:48 2010 +0800

    ACPI: fix early DSDT dmi check warnings on ia64
    
I don't think this fix was particularly elegant, but it did the job at
the time. However you should be informed that an upcoming cleanup of
the dmi subsystem will cause the warning to resurface:

https://marc.info/?l=linux-kernel&m=150113709717948&w=2

Instead of checking for dmi_initialized on individual dmi_system_id
records, it will now be done once per dmi_check_system() call. It is
much more efficient, but one side effect is that the warning will be
displayed even if the array passed to dmi_check_system() is empty.

So the time has come to fix the problem cleanly, instead of just
silencing the warning. This can be done in 2 ways:

1* Don't call dmi_check_system() at all if not on X86.

2* Initialize DMI earlier on IA64, so it is ready when ACPI support
gets started.

I will let you guys decide what is the best option.

Thanks,
-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-29  4:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-25 14:51 IA64 and drivers/acpi/bus.c Jean Delvare
2017-09-29  4:42 ` Zheng, Lv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox