Commit cecd25c
committed
x86/reboot: Secure Launch SEXIT support on reboot paths
If the MLE kernel is being powered off, rebooted or halted,
then SEXIT must be called. Note that the GETSEC[SEXIT] leaf
can only be called after a machine_shutdown() has been done on
these paths. The machine_shutdown() is not called on a few paths
like when poweroff action does not have a poweroff callback (into
ACPI code) or when an emergency reset is done. In these cases,
just the TXT registers are finalized but SEXIT is skipped.
Signed-off-by: Ross Philipson <ross.philipson@oracle.com>
Signed-off-by: Daniel P. Smith <dpsmith@apertussolutions.com>1 parent 4e71187 commit cecd25c
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
778 | 779 | | |
779 | 780 | | |
780 | 781 | | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
781 | 788 | | |
782 | 789 | | |
783 | 790 | | |
| |||
788 | 795 | | |
789 | 796 | | |
790 | 797 | | |
| 798 | + | |
| 799 | + | |
791 | 800 | | |
792 | 801 | | |
793 | 802 | | |
| |||
796 | 805 | | |
797 | 806 | | |
798 | 807 | | |
| 808 | + | |
799 | 809 | | |
| 810 | + | |
| 811 | + | |
800 | 812 | | |
| 813 | + | |
801 | 814 | | |
802 | 815 | | |
803 | 816 | | |
| |||
825 | 838 | | |
826 | 839 | | |
827 | 840 | | |
| 841 | + | |
828 | 842 | | |
829 | 843 | | |
830 | 844 | | |
| |||
0 commit comments