aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorXin Li (Intel) <[email protected]>2025-06-20 23:15:04 +0000
committerDave Hansen <[email protected]>2025-06-24 20:15:52 +0000
commitfa7d0f83c5c4223a01598876352473cb3d3bd4d7 (patch)
tree984f664e2f605c15ae589c47af83d80b8d7f1e0b /rust/helpers/pci.c
parentx86/traps: Initialize DR6 by writing its architectural reset value (diff)
downloadkernel-fa7d0f83c5c4223a01598876352473cb3d3bd4d7.tar.gz
kernel-fa7d0f83c5c4223a01598876352473cb3d3bd4d7.zip
x86/traps: Initialize DR7 by writing its architectural reset value
Initialize DR7 by writing its architectural reset value to always set bit 10, which is reserved to '1', when "clearing" DR7 so as not to trigger unanticipated behavior if said bit is ever unreserved, e.g. as a feature enabling flag with inverted polarity. Signed-off-by: Xin Li (Intel) <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Reviewed-by: H. Peter Anvin (Intel) <[email protected]> Reviewed-by: Sohil Mehta <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Sean Christopherson <[email protected]> Tested-by: Sohil Mehta <[email protected]> Cc:[email protected] Link: https://lore.kernel.org/all/20250620231504.2676902-3-xin%40zytor.com
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions