On Tue, Mar 23, 2021 at 11:02:20AM +1000, Nicholas Piggin wrote:
This will get a bit more complicated in future patches. Move it
into the helper function.
This does change L1-visible behaviour, because now the L1 hypervisor
can see the LPCR bits that L0 is using, whereas previously it couldn't
(and that was deliberate). I can't point to a specific scenario where
that is a real problem, but nevertheless it worries me. And the
behaviour change should have been mentioned in the commit message at
least.
Paul.