[PATCH v4 4/4] MIPS: Octeon: flash: use the simple map accessors without a shared eMMC

Orgad Shaneh orgads at gmail.com
Tue Nov 17 22:35:35 PST 2026


> Does calling simple_map_init(map) break mtd_point() on little-endian
> Octeon kernels (CONFIG_CPU_LITTLE_ENDIAN=y)?

It does. memcpy_fromio() stays correct there (unswizzled 64-bit reads,
swizzled byte reads), but loads through a pointed address get no
swizzle. v5 keeps the semaphore accessors on little-endian kernels.

Miquel, Richard, Vignesh: please don't apply v4; v5 with these three
fixes follows in a few days.



More information about the linux-mtd mailing list