OSDN Git Service

selftests/x86/iopl: Extend test to cover IOPL emulation
authorThomas Gleixner <tglx@linutronix.de>
Mon, 11 Nov 2019 22:03:30 +0000 (23:03 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 16 Nov 2019 10:24:06 +0000 (11:24 +0100)
commite638ad00809a323cbe13dfa0952d4234d9b36732
treeb947ec2c47132c59f268f9fc0dead6f1b5cc69ec
parent111e7b15cf10f6e973ccf537c70c66a5de539060
selftests/x86/iopl: Extend test to cover IOPL emulation

Add tests that the now emulated iopl() functionality:

    - does not longer allow user space to disable interrupts.

    - does restore a I/O bitmap when IOPL is dropped

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
tools/testing/selftests/x86/iopl.c