Messages in this thread | | | Date | Tue, 16 Oct 2012 01:45:04 +0200 | From | "Markus F.X.J. Oberhumer" <> | Subject | Re: [PATCH 0/3] Update LZO compression |
| |
On 2012-10-15 21:19, Seth Jennings wrote: >> As requested by akpm I am sending my "lzo-update" branch at >> >> git://github.com/markus-oberhumer/linux.git lzo-update >> >> to lkml as a patch series created by "git format-patch -M v3.5..lzo-update". >> >> You can also browse the branch at >> >> https://github.com/markus-oberhumer/linux/compare/lzo-update >> >> and review the three patches at >> >> https://github.com/markus-oberhumer/linux/commit/7c979cebc0f93dc692b734c12665a6824d219c20 >> https://github.com/markus-oberhumer/linux/commit/10f6781c8591fe5fe4c8c733131915e5ae057826 >> https://github.com/markus-oberhumer/linux/commit/5f702781f158cb59075cfa97e5c21f52275057f1 > > As this relates to my work on zcache, I just tested these patches on PPC64 and > they cause the LZO crypto module to fail its self-test: > > [ 0.521137] alg: comp: Compression test 1 failed for lzo-generic: output len = 62 > > I built the exact same kernel for x86_64 and all is fine. I suspect an endianness > related bug, but I haven't looked at the code that closely yet. > > Any ideas? I'd be happy to test any potential fixes.
The crypto LZO test vectors had to be updated - this should land in linux-next soon (or you can just pull from my branch).
BTW, this cannot have worked on x86_64 (or any other arch), so you probably tested the wrong kernel.
Cheers, Markus
> Seth
-- Markus Oberhumer, <markus@oberhumer.com>, http://www.oberhumer.com/
| |