Re: [PATCH] lz4: fix decompressor on big-endian powerpc

2020-06-07 Thread Rasmus Villemoes
On 05/06/2020 22.37, Julius Werner wrote: >> I'm a bit puzzled about the github.com/Cyan4973/lz4 >> reference. Cyan4973 is Yann Collet, the author of lz4, and nowadays at >> least that github url redirects to the upstream repo, >> github.com/lz4/lz4. Grepping through all available tags and branches

Re: [PATCH] lz4: fix decompressor on big-endian powerpc

2020-06-05 Thread Julius Werner
> I'm a bit puzzled about the github.com/Cyan4973/lz4 > reference. Cyan4973 is Yann Collet, the author of lz4, and nowadays at > least that github url redirects to the upstream repo, > github.com/lz4/lz4. Grepping through all available tags and branches > there, the identifiers "has_content_checksu

[PATCH] lz4: fix decompressor on big-endian powerpc

2020-06-05 Thread Rasmus Villemoes
Booting an lz4-compressed kernel image fails on our powerpc board with -EPROTONOSUPPORT. Adding a bit of debug prints, we get magic: 0x184d2204 flags: 0x64 reserved0: 1 has_content_checksum: 1 has_content_size: 0 has_block_checksum: 0 independent_blocks: 1 version: 0 block_descri