POPF would trap if VIP was set regardless of whether IF was set. Fix it.
Reported-by: Bart Oldeman
Suggested-by: Stas Sergeev
Cc: sta...@vger.kernel.org
Fixes: 5ed92a8ab71f ("x86/vm86: Use the normal pt_regs area for vm86")
Signed-off-by: Andy Lutomirski
POPF would trap if VIP was set regardless of whether IF was set. Fix it.
Reported-by: Bart Oldeman
Suggested-by: Stas Sergeev
Cc: sta...@vger.kernel.org
Fixes: 5ed92a8ab71f ("x86/vm86: Use the normal pt_regs area for vm86")
Signed-off-by: Andy Lutomirski
---
arch/x86/kernel/vm86_32.c | 3 ++-
2 matches
Mail list logo