aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/rbtree.py
diff options
context:
space:
mode:
authorSmita Koralahalli <[email protected]>2021-11-04 16:58:41 -0500
committerBorislav Petkov <[email protected]>2021-12-08 12:00:56 +0100
commite48d008bd13eaa9068ff59c65275d17516179f7b (patch)
treeb6e0743b4adeaa3852d8424d938c56366eca6d1a /scripts/gdb/linux/rbtree.py
parent2322b532ad9043336f36ba2634ab3620d5d5b4f5 (diff)
x86/mce/inject: Check if a bank is populated before injecting
The MCA_IPID register uniquely identifies a bank's type on Scalable MCA (SMCA) systems. When an MCA bank is not populated, the MCA_IPID register will read as zero and writes to it will be ignored. On a hw-type error injection (injection which writes the actual MCA registers in an attempt to cause a real MCE) check the value of this register before trying to inject the error. Do not impose any limitations on a sw injection and allow the user to test out all the decoding paths without relying on the available hardware, as its purpose is to just test the code. [ bp: Heavily massage. ] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Smita Koralahalli <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions