lkml.org 
[lkml]   [2021]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RESEND v2] x86: warn on native_io_delay() before DMI scan
On Sun, Oct 17, 2021 at 09:25:58PM +0200, Mateusz Jończyk wrote:
> Writing to IO port 0x80 in native_io_delay() causes system lockups on
> some laptops. This is handled by io_delay_init(), which scans DMI info
> and changes io_delay_type on these laptops.
>
> Therefore, calling native_io_delay() / outb_p() / inb_p() / etc. before
> io_delay_init() may cause problems there and may constitute a kernel
> bug. Warn if this happens.

When/how does this happen?

io_delay_init() gets called pretty early in setup_arch()...

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2021-12-23 12:06    [W:0.059 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site