[PATCH] Update creation of flash_block_cache to accout for potential panic

Nathan Lynch nathanl at linux.ibm.com
Tue Aug 29 07:02:53 AEST 2023


Audra Mitchell <aubaker at redhat.com> writes:
> With PPC builds enabling CONFIG_HARDENED_USERCOPY, interacting with the RunTime
> Abstraction Services (RTAS) firmware by writing to
> /proc/powerpc/rtas/firmware_flash will end up triggering the mm/usercopy.c:101
> assertion:

Thanks, this was fixed already:

4f3175979e62 "powerpc/rtas_flash: allow user copy to flash block cache objects"


More information about the Linuxppc-dev mailing list