Messages in this thread | | | Date | Wed, 20 Nov 2019 23:34:10 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [x86/iopl PATCH] x86/ioperm: Fix use of deprecated config option |
| |
On Wed, 20 Nov 2019, Alexander Duyck wrote: > From: Alexander Duyck <alexander.h.duyck@linux.intel.com> > > Fixes: 111e7b15cf10 ("x86/ioperm: Extend IOPL config to control ioperm() as well") > Signed-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Duh, yes.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
> --- > arch/x86/kernel/process.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c > index 7964d7db9366..bd2a11ca5dd6 100644 > --- a/arch/x86/kernel/process.c > +++ b/arch/x86/kernel/process.c > @@ -382,8 +382,7 @@ void tss_update_io_bitmap(void) > if (test_thread_flag(TIF_IO_BITMAP)) { > struct thread_struct *t = ¤t->thread; > > - if (IS_ENABLED(CONFIG_X86_IOPL_EMULATION) && > - t->iopl_emul == 3) { > + if (IS_ENABLED(CONFIG_X86_IOPL_IOPERM) && t->iopl_emul == 3) { > *base = IO_BITMAP_OFFSET_VALID_ALL; > } else { > struct io_bitmap *iobm = t->io_bitmap; > >
| |