]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/fred: Fix INT80 emulation for FRED
authorXin Li (Intel) <xin@zytor.com>
Wed, 17 Apr 2024 17:47:31 +0000 (10:47 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 18 Apr 2024 08:37:11 +0000 (10:37 +0200)
commit32f5f73b79ffdef215e2e1bcb6ad74387c0f925c
tree18064bc27cdf9f5bf71208742a74d6afd2d54e33
parent6376306adde5b252ee7c73572e35d13fb13f6f18
x86/fred: Fix INT80 emulation for FRED

Add a FRED-specific INT80 handler and document why it differs from the
current one. Eventually, the common bits will be unified once FRED hw is
available and it turns out that no further changes are needed but for
now, keep the handlers separate for everyone's sanity's sake.

  [ bp: Zap duplicated commit message, massage. ]

Fixes: 55617fb991df ("x86/entry: Do not allow external 0x80 interrupts")
Suggested-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Xin Li (Intel) <xin@zytor.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240417174731.4189592-1-xin@zytor.com
arch/x86/entry/common.c
arch/x86/entry/entry_fred.c