[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read(
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write() |
Date: |
Wed, 31 Dec 2014 17:17:33 +0000 |
On 31 December 2014 at 16:27, Laszlo Ersek <address@hidden> wrote:
> On 12/31/14 16:17, Peter Maydell wrote:
>> On 31 December 2014 at 14:07, Laszlo Ersek <address@hidden> wrote:
>>> Of course this also renders the issue mostly moot -- if none of us can
>>> test the code on a BE host, then that use case simply doesn't exist in
>>> practice.
>>
>> If you can give me a test image and a command line I can test
>> it on one of the PPC64 boxes in the GCC compile farm.
>
> Sorry for the late answer, I've been laying out stuff and uploading it
> (at 50KB/s :().
>
> I'm very thankful for your help -- please see
> <http://people.redhat.com/~lersek/for_Peter/>.
Unpatched QEMU + QEMU_EFI.fd.v4 : doesn't boot
Patched QEMU + QEMU_EFI.fd.v4_noswizzle : boots OK (dracut-initqueue
starts downloading things).
One thing I did notice in the dmesg:
[ 35.798423] alg: hash: Test 1 failed for sha1-ce
[ 35.799135] 00000000: d3 5b 9a 85 7f 18 48 21 97 5c 12 72 a8 96 62 88
[ 35.799815] 00000010: c3 d2 e1 f0
[ 35.807121] alg: hash: Test 1 failed for sha224-ce
[ 35.807458] 00000000: 75 49 49 85 18 97 6f 0c a7 d3 c3 ee 54 5d b3 59
[ 35.807910] 00000010: a0 97 b3 34 f8 9c ab c1 91 e1 24 9e
[ 35.814059] alg: hash: Test 1 failed for sha256-ce
[ 35.814450] 00000000: b9 cb b3 d4 f5 29 fa 2c 8f 9b 8e 67 e9 6d 24 9b
[ 35.814897] 00000010: 83 da e8 b1 ba 32 6c bb 4e 53 77 76 fc 11 e4 aa
[ 35.827619] alg: cipher: Test 1 failed on encryption for aes-ce
[ 35.828042] 00000000: ba 4a ec ea df 05 7d 76 56 af 92 77 5d 00 e0 90
...does that happen on little endian TCG hosts too, or do we have
a bug in our encryption emulation?
-- PMM
- [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Laszlo Ersek, 2014/12/31
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Paolo Bonzini, 2014/12/31
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Laszlo Ersek, 2014/12/31
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(),
Peter Maydell <=
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Peter Maydell, 2014/12/31
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Laszlo Ersek, 2014/12/31
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Ard Biesheuvel, 2014/12/31
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Peter Maydell, 2014/12/31
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Laszlo Ersek, 2014/12/31
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Peter Maydell, 2014/12/31
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Laszlo Ersek, 2014/12/31
- Re: [Qemu-devel] [PATCH] fw_cfg: fix endianness in fw_cfg_data_mem_read() / _write(), Laszlo Ersek, 2014/12/31