[Skiboot] [PATCH] xive: Mask MMIO load/store to bad location FIR

Stewart Smith stewart at linux.vnet.ibm.com
Thu Feb 1 19:26:32 AEDT 2018


Frederic Barrat <fbarrat at linux.vnet.ibm.com> writes:
> For opencapi, the trigger page of an interrupt is mapped to user
> space. The intent is to write the page to raise an interrupt but
> there's nothing to prevent a user process from reading it, which has
> the infortunate consequence of checkstopping the system.
>
> Mask the FIR bit raised when an MMIO operation targets an invalid
> location. It's the recommendation from recent documentation and
> hostboot is expected to mask it at some point. In the meantime, let's
> play it safe.
>
> Signed-off-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
> ---
>  hw/xive.c      | 8 +++++++-
>  include/xive.h | 2 ++
>  2 files changed, 9 insertions(+), 1 deletion(-)

Thanks, merged to master as of 4f24ef23411d270ef392e1dc280479c0f5304305

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list