Home
last modified time | relevance | path

Searched hist:"3 c8c50f955d2a33816a1e9b3af2636cda08b427f" (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/powerpc/powernv/
H A Dopal_flash.cdiff 3c8c50f955d2a33816a1e9b3af2636cda08b427f Sat Apr 06 04:39:56 CEST 2019 Justin Hibbits <jhibbits@FreeBSD.org> powerpc/powernv: Fix major bugs in opal_flash

* The BIO bio_data may not be page aligned. Only the base address of each
page worth of data is extracted to pass to OPAL. Without page alignment
it can scribble over random memory when finishing the page read. Fix this
by short-reading the first page to properly align for full page reads.
* Fix the definition of OPAL_FLASH_ERASE.
* Properly handle the async message result, as now returned from r345974.
H A Dopal.hdiff 3c8c50f955d2a33816a1e9b3af2636cda08b427f Sat Apr 06 04:39:56 CEST 2019 Justin Hibbits <jhibbits@FreeBSD.org> powerpc/powernv: Fix major bugs in opal_flash

* The BIO bio_data may not be page aligned. Only the base address of each
page worth of data is extracted to pass to OPAL. Without page alignment
it can scribble over random memory when finishing the page read. Fix this
by short-reading the first page to properly align for full page reads.
* Fix the definition of OPAL_FLASH_ERASE.
* Properly handle the async message result, as now returned from r345974.