lkml.org 
[lkml]   [2022]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH V8 18/44] x86/fault: Add a PKS test fault hook
Date
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()?
\
 
 \ /
  Last update: 2022-01-31 20:57    [W:0.742 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site