lkml.org 
[lkml]   [2017]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectSME/32-bit regression
Date
It appears there is a regression for 32-bit kernels due to SME changes.

I bisected my particular problem (Xen PV guest) to
21729f81ce8ae76a6995681d40e16f7ce8075db4 but I also saw pmd_clear_bad()
errors on baremetal. This seems to be caused by sme_me_mask being an
unsigned long as opposed to phys_addr_t (the actual problem is that
__PHYSICAL_MASK is truncated). When I declare it as u64 and drop
unsigned long cast in __sme_set()/__sme_clr() the problem goes way.
(This presumably won't work for non-PAE which I haven't tried).


-boris

\
 
 \ /
  Last update: 2017-09-06 05:45    [W:0.080 / U:8.108 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site