Re: [PATCH V4 06/10] x86/fault: Adjust WARN_ON for PKey fault

2021-03-22 Thread Ira Weiny
On Mon, Mar 22, 2021 at 09:05:43AM -0700, Sean Christopherson wrote: > On Sun, Mar 21, 2021, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > PKey faults may now happen on kernel mappings if the feature is enabled. > > Remove the warning in the fault path if PKS is enabled. > > When/why ca

Re: [PATCH V4 06/10] x86/fault: Adjust WARN_ON for PKey fault

2021-03-22 Thread Sean Christopherson
On Sun, Mar 21, 2021, ira.we...@intel.com wrote: > From: Ira Weiny > > PKey faults may now happen on kernel mappings if the feature is enabled. > Remove the warning in the fault path if PKS is enabled. When/why can they happen? I read through all the changelogs, as well as the cover letters for

[PATCH V4 06/10] x86/fault: Adjust WARN_ON for PKey fault

2021-03-21 Thread ira . weiny
From: Ira Weiny PKey faults may now happen on kernel mappings if the feature is enabled. Remove the warning in the fault path if PKS is enabled. Reviewed-by: Dan Williams Signed-off-by: Ira Weiny --- arch/x86/mm/fault.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --gi