unicorn/qemu/target
Paolo Bonzini 834e2b2643 target/i86: implement PKS
Protection Keys for Supervisor-mode pages is a simple extension of
the PKU feature that QEMU already implements. For supervisor-mode
pages, protection key restrictions come from a new MSR. The MSR
has no XSAVE state associated to it.

PKS is only respected in long mode. However, in principle it is
possible to set the MSR even outside long mode, and in fact
even the XSAVE state for PKRU could be set outside long mode
using XRSTOR. So do not limit the migration subsections for
PKRU and PKRS to long mode.

Backports e7e7bdababeefff10736c6adf410c66d2f0d46fe
2021-03-04 18:12:44 -05:00
..
arm cpu: move debug_check_watchpoint to tcg_ops 2021-03-04 17:30:20 -05:00
i386 target/i86: implement PKS 2021-03-04 18:12:44 -05:00
m68k cpu: move cc->transaction_failed to tcg_ops 2021-03-04 17:16:41 -05:00
mips cpu: move do_unaligned_access to tcg_ops 2021-03-04 17:20:02 -05:00
riscv cpu: move do_unaligned_access to tcg_ops 2021-03-04 17:20:02 -05:00
sparc cpu: move do_unaligned_access to tcg_ops 2021-03-04 17:20:02 -05:00