| From | "Edgecombe, Rick P" <> | Subject | Re: [PATCH V8 18/44] x86/fault: Add a PKS test fault hook | Date | Mon, 31 Jan 2022 19:56:57 +0000 |
| |
On Thu, 2022-01-27 at 09:54 -0800, ira.weiny@intel.com wrote: > + * If a protection key exception occurs it could be > because a PKS test > + * is running. If so, pks_test_callback() will clear > the protection > + * mechanism and return true to indicate the fault > was handled. > + */ > + if (pks_test_callback()) > + return;
Why do we need both this and pks_handle_key_fault()?
|