• Benjamin Herrenschmidt's avatar
    Revert "offb: Add palette hack for little endian" · 68986c9f
    Benjamin Herrenschmidt authored
    This reverts commit e1edf18b.
    
    This patch was a misguided attempt at fixing offb for LE ppc64
    kernels on BE qemu but is just wrong ... it breaks real LE/LE
    setups, LE with real HW, and existing mixed endian systems
    that did the fight thing with the appropriate device-tree
    property. Bad reviewing on my part, sorry.
    
    The right fix is to either make qemu change its endian when
    the guest changes endian (working on that) or to use the
    existing foreign endian support.
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    CC: <stable@vger.kernel.org> [v3.13+]
    ---
    68986c9f
offb.c 19.6 KB