diff options
author | Dave Hansen <[email protected]> | 2018-10-12 16:21:18 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-10-14 11:11:22 +0200 |
commit | 16561f27f94e6193ee8f5b9b74801e1668c86efc (patch) | |
tree | 044d2cfaa1e2fe08feb08946233af179b05b2643 /drivers/fpga/fpga-bridge.c | |
parent | b59167ac7bafd804c91e49ad53c6d33a7394d4c8 (diff) |
x86/entry: Add some paranoid entry/exit CR3 handling comments
Andi Kleen was just asking me about the NMI CR3 handling and why
we restore it unconditionally. I was *sure* we had documented it
well. We did not.
Add some documentation. We have common entry code where the CR3
value is stashed, but three places in two big code paths where we
restore it. I put bulk of the comments in this common path and
then refer to it from the other spots.
Signed-off-by: Dave Hansen <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: "H. Peter Anvin" <[email protected]
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions