diff for duplicates of <56EBD323.7000808@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 039e5bc..c4ddb76 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -29,9 +29,9 @@ On 18.03.2016 11:01, Laurent Vivier wrote: >>> + * - Data are loaded into 4 low order bytes of registers (Word). >>> + * - The unfilled bytes are set to 0. >>> + * - The sequence of registers wraps around to GPR0. ->>> + * - if n = 0, content of RT is undefined +>>> + * - if n == 0, content of RT is undefined >>> + * - RT <= RA or RB < RT + (n + 4) is invalid or result is undefined ->>> + * - RT = RA = 0 is invalid +>>> + * - RT == RA == 0 is invalid >>> + * >>> + */ >>> + @@ -86,7 +86,7 @@ On 18.03.2016 11:01, Laurent Vivier wrote: > > ok > ->>> + report("partial", regs[0] = 0x01020300 && regs[1] = (uint64_t)-1); +>>> + report("partial", regs[0] == 0x01020300 && regs[1] == (uint64_t)-1); >>> + >>> + /* check an old know bug: the number of bytes is used as >>> + * the number of registers, so try 32 bytes. @@ -129,11 +129,11 @@ On 18.03.2016 11:01, Laurent Vivier wrote: > > ok > ->>> + report("length", regs[0] = 0x01020304 && regs[1] = 0x05060708 && ->>> + regs[2] = 0x090a0b0c && regs[3] = 0x0d0e0f10 && ->>> + regs[4] = 0x11121314 && regs[5] = 0x15161718 && ->>> + regs[6] = 0x191a1b1c && regs[7] = 0x1d1e1f20 && ->>> + regs[8] = (uint64_t)-1); +>>> + report("length", regs[0] == 0x01020304 && regs[1] == 0x05060708 && +>>> + regs[2] == 0x090a0b0c && regs[3] == 0x0d0e0f10 && +>>> + regs[4] == 0x11121314 && regs[5] == 0x15161718 && +>>> + regs[6] == 0x191a1b1c && regs[7] == 0x1d1e1f20 && +>>> + regs[8] == (uint64_t)-1); >>> + >>> + /* check wrap around to r0 */ >>> + @@ -165,8 +165,8 @@ On 18.03.2016 11:01, Laurent Vivier wrote: > ok, > >> ->>> + report("wrap around to r0", regs[0] = 0x01020304 && ->>> + regs[1] = 0x05060708); +>>> + report("wrap around to r0", regs[0] == 0x01020304 && +>>> + regs[1] == 0x05060708); >>> + >>> + /* check wrap around to r0 over RB doesn't break RB */ >>> + @@ -206,7 +206,7 @@ On 18.03.2016 11:01, Laurent Vivier wrote: >>> + * overwrite the register. >>> + * In all the cases, the register must stay untouched >>> + */ ->>> + report("Don't overwrite Rb", regs[1] = (uint64_t)addr); +>>> + report("Don't overwrite Rb", regs[1] == (uint64_t)addr); >> >> Huh, how can this KVM unit test ever finish successfully if real >> processor stops? Should this last test maybe be optional and only be diff --git a/a/content_digest b/N1/content_digest index 77719f9..8951129 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\056EBD1F5.2070604@redhat.com\0" "From\0Thomas Huth <thuth@redhat.com>\0" "Subject\0Re: [kvm-unit-tests PATCH 4/5] powerpc: check lswx\0" - "Date\0Fri, 18 Mar 2016 10:06:27 +0000\0" + "Date\0Fri, 18 Mar 2016 11:06:27 +0100\0" "To\0Laurent Vivier <lvivier@redhat.com>" kvm@vger.kernel.org " kvm-ppc@vger.kernel.org\0" @@ -44,9 +44,9 @@ ">>> + * - Data are loaded into 4 low order bytes of registers (Word).\n" ">>> + * - The unfilled bytes are set to 0.\n" ">>> + * - The sequence of registers wraps around to GPR0.\n" - ">>> + * - if n = 0, content of RT is undefined\n" + ">>> + * - if n == 0, content of RT is undefined\n" ">>> + * - RT <= RA or RB < RT + (n + 4) is invalid or result is undefined\n" - ">>> + * - RT = RA = 0 is invalid\n" + ">>> + * - RT == RA == 0 is invalid\n" ">>> + *\n" ">>> + */\n" ">>> +\n" @@ -101,7 +101,7 @@ "> \n" "> ok\n" "> \n" - ">>> +\treport(\"partial\", regs[0] = 0x01020300 && regs[1] = (uint64_t)-1);\n" + ">>> +\treport(\"partial\", regs[0] == 0x01020300 && regs[1] == (uint64_t)-1);\n" ">>> +\n" ">>> +\t/* check an old know bug: the number of bytes is used as\n" ">>> +\t * the number of registers, so try 32 bytes.\n" @@ -144,11 +144,11 @@ "> \n" "> ok\n" "> \n" - ">>> +\treport(\"length\", regs[0] = 0x01020304 && regs[1] = 0x05060708 &&\n" - ">>> +\t\t\t regs[2] = 0x090a0b0c && regs[3] = 0x0d0e0f10 &&\n" - ">>> +\t\t\t regs[4] = 0x11121314 && regs[5] = 0x15161718 &&\n" - ">>> +\t\t\t regs[6] = 0x191a1b1c && regs[7] = 0x1d1e1f20 &&\n" - ">>> +\t\t\t regs[8] = (uint64_t)-1);\n" + ">>> +\treport(\"length\", regs[0] == 0x01020304 && regs[1] == 0x05060708 &&\n" + ">>> +\t\t\t regs[2] == 0x090a0b0c && regs[3] == 0x0d0e0f10 &&\n" + ">>> +\t\t\t regs[4] == 0x11121314 && regs[5] == 0x15161718 &&\n" + ">>> +\t\t\t regs[6] == 0x191a1b1c && regs[7] == 0x1d1e1f20 &&\n" + ">>> +\t\t\t regs[8] == (uint64_t)-1);\n" ">>> +\n" ">>> +\t/* check wrap around to r0 */\n" ">>> +\n" @@ -180,8 +180,8 @@ "> ok,\n" "> \n" ">>\n" - ">>> +\treport(\"wrap around to r0\", regs[0] = 0x01020304 &&\n" - ">>> +\t\t\t regs[1] = 0x05060708);\n" + ">>> +\treport(\"wrap around to r0\", regs[0] == 0x01020304 &&\n" + ">>> +\t\t\t regs[1] == 0x05060708);\n" ">>> +\n" ">>> +\t/* check wrap around to r0 over RB doesn't break RB */\n" ">>> +\n" @@ -221,7 +221,7 @@ ">>> +\t * overwrite the register.\n" ">>> +\t * In all the cases, the register must stay untouched\n" ">>> +\t */\n" - ">>> +\treport(\"Don't overwrite Rb\", regs[1] = (uint64_t)addr);\n" + ">>> +\treport(\"Don't overwrite Rb\", regs[1] == (uint64_t)addr);\n" ">>\n" ">> Huh, how can this KVM unit test ever finish successfully if real\n" ">> processor stops? Should this last test maybe be optional and only be\n" @@ -239,4 +239,4 @@ "\n" Thomas -0bdfa1df408bf77878fcef7f3e806dff216ecb546b1c29333a0f05d41cdd1539 +de3c7b6c4a4142e01fbdff2dc1ad83e28128bd4276d335456083c65b32e7c599
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.