]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/paravirt: Replace io_delay() hook with a bool
authorJuergen Gross <jgross@suse.com>
Mon, 19 Jan 2026 18:26:28 +0000 (19:26 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 22 Mar 2026 07:43:05 +0000 (08:43 +0100)
commit9eece498565c3fd5f37efe58498779efd39f2269
treea1814a1d33f9029a2a8d49618595c64348c48c54
parent36c1eb9531e0c9bdcb3494142123f1c1e128367b
x86/paravirt: Replace io_delay() hook with a bool

The io_delay() paravirt hook is in no way performance critical and all users
setting it to a different function than native_io_delay() are using an empty
function as replacement.

Allow replacing the hook with a bool indicating whether native_io_delay()
should be called.

  [ bp: Massage commit message. ]

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://patch.msgid.link/20260119182632.596369-3-jgross@suse.com
arch/x86/include/asm/io.h
arch/x86/include/asm/paravirt-base.h
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/paravirt_types.h
arch/x86/kernel/cpu/vmware.c
arch/x86/kernel/kvm.c
arch/x86/kernel/paravirt.c
arch/x86/xen/enlighten_pv.c