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

From: Nathan Lynch
Date: Mon Aug 28 2023 - 17:28:28 EST


Audra Mitchell <aubaker@xxxxxxxxxx> 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"