x86/ioperm: Add new paravirt function update_io_bitmap()
Commit 111e7b15 ("x86/ioperm: Extend IOPL config to control ioperm() as well") reworked the iopl syscall to use I/O bitmaps. Unfortunately this broke Xen PV domains using that syscall as there is currently no I/O bitmap support in PV domains. Add I/O bitmap support via a new paravirt function update_io_bitmap which Xen PV domains can use to update their I/O bitmaps via a hypercall. Fixes: 111e7b15 ("x86/ioperm: Extend IOPL config to control ioperm() as well") Reported-by:Jan Beulich <jbeulich@suse.com> Signed-off-by:
Juergen Gross <jgross@suse.com> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Tested-by:
Jan Beulich <jbeulich@suse.com> Reviewed-by:
Jan Beulich <jbeulich@suse.com> Cc: <stable@vger.kernel.org> # 5.5 Link: https://lkml.kernel.org/r/20200218154712.25490-1-jgross@suse.com
Showing
- arch/x86/include/asm/io_bitmap.h 8 additions, 1 deletionarch/x86/include/asm/io_bitmap.h
- arch/x86/include/asm/paravirt.h 7 additions, 0 deletionsarch/x86/include/asm/paravirt.h
- arch/x86/include/asm/paravirt_types.h 4 additions, 0 deletionsarch/x86/include/asm/paravirt_types.h
- arch/x86/kernel/paravirt.c 5 additions, 0 deletionsarch/x86/kernel/paravirt.c
- arch/x86/kernel/process.c 1 addition, 1 deletionarch/x86/kernel/process.c
- arch/x86/xen/enlighten_pv.c 25 additions, 0 deletionsarch/x86/xen/enlighten_pv.c
Loading
Please register or sign in to comment