aboutsummaryrefslogtreecommitdiff
path: root/samples/bpf/map_perf_test_user.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2022-06-14 23:15:53 +0200
committerBorislav Petkov <[email protected]>2022-06-27 10:33:59 +0200
commit2dbb887e875b1de3ca8f40ddf26bcfe55798c609 (patch)
tree1f56e999ec2820a42d3020e89ebf0b489d34fdf8 /samples/bpf/map_perf_test_user.c
parentcaa0ff24d5d0e02abce5e65c3d2b7f20a6617be5 (diff)
x86/entry: Add kernel IBRS implementation
Implement Kernel IBRS - currently the only known option to mitigate RSB underflow speculation issues on Skylake hardware. Note: since IBRS_ENTER requires fuller context established than UNTRAIN_RET, it must be placed after it. However, since UNTRAIN_RET itself implies a RET, it must come after IBRS_ENTER. This means IBRS_ENTER needs to also move UNTRAIN_RET. Note 2: KERNEL_IBRS is sub-optimal for XenPV. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Josh Poimboeuf <[email protected]> Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'samples/bpf/map_perf_test_user.c')
0 files changed, 0 insertions, 0 deletions