[Skiboot] [PATCH] core/flash: Don't do anything clever for OPAL_FLASH_{READ, WRITE, ERASE}

Stewart Smith stewart at linux.vnet.ibm.com
Wed Nov 2 18:36:05 AEDT 2016


Cyril Bur <cyril.bur at au1.ibm.com> writes:
> These OPAL calls are exposing the host flash chip to linux as a flash
> device. The host is expected to understand that it is raw flash and use
> it appropriately, it isn't skiboots place to strip ecc bytes or perform
> erase before writes.
>
> Over the course of other developments blocklevel has gotten quite clever
> but in this case the cleverness is inappropriate.
>
> Fixes: https://github.com/open-power/skiboot/issues/44
> Signed-off-by: Cyril Bur <cyril.bur at au1.ibm.com>

Thanks - merged to master as of c7e432869d8fdd0f91672bed3976bf096c90b56b

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list