* [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() @ 2020-04-17 9:07 Philippe Mathieu-Daudé 2020-04-17 10:51 ` Nicholas Piggin ` (2 more replies) 0 siblings, 3 replies; 12+ messages in thread From: Philippe Mathieu-Daudé @ 2020-04-17 9:07 UTC (permalink / raw) To: qemu-devel Cc: Richard Henderson, Philippe Mathieu-Daudé, Nicholas Piggin, qemu-ppc, Cédric Le Goater, Dennis Clarke, David Gibson This fixes: $ qemu-system-ppc64 \ -machine pseries-4.1 -cpu power9 \ -smp 4 -m 12G -accel tcg ... ... Quiescing Open Firmware ... Booting Linux via __start() @ 0x0000000002000000 ... Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") Reported-by: Dennis Clarke <dclarke@blastwave.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- target/ppc/translate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/ppc/translate.c b/target/ppc/translate.c index b207fb5386..0136c7e3ff 100644 --- a/target/ppc/translate.c +++ b/target/ppc/translate.c @@ -5003,6 +5003,7 @@ static void gen_slbia(DisasContext *ctx) CHK_SV; gen_helper_slbia(cpu_env, t0); + tcg_temp_free_i32(t0); #endif /* defined(CONFIG_USER_ONLY) */ } -- 2.21.1 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-17 9:07 [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() Philippe Mathieu-Daudé @ 2020-04-17 10:51 ` Nicholas Piggin 2020-04-17 11:00 ` Philippe Mathieu-Daudé 2020-04-17 12:46 ` Cédric Le Goater 2020-04-20 18:56 ` Peter Maydell 2 siblings, 1 reply; 12+ messages in thread From: Nicholas Piggin @ 2020-04-17 10:51 UTC (permalink / raw) To: Philippe Mathieu-Daudé, qemu-devel Cc: qemu-ppc, Richard Henderson, Dennis Clarke, Cédric Le Goater, David Gibson Excerpts from Philippe Mathieu-Daudé's message of April 17, 2020 7:07 pm: > This fixes: > > $ qemu-system-ppc64 \ > -machine pseries-4.1 -cpu power9 \ > -smp 4 -m 12G -accel tcg ... > ... > Quiescing Open Firmware ... > Booting Linux via __start() @ 0x0000000002000000 ... > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html > > Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") > Reported-by: Dennis Clarke <dclarke@blastwave.org> > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Thank you, brown bag required. Looks like I should be testing this stuff with --enable-debug, sorry I didn't realise it. Thanks, Nick ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-17 10:51 ` Nicholas Piggin @ 2020-04-17 11:00 ` Philippe Mathieu-Daudé 2020-04-18 10:45 ` Nicholas Piggin 0 siblings, 1 reply; 12+ messages in thread From: Philippe Mathieu-Daudé @ 2020-04-17 11:00 UTC (permalink / raw) To: Nicholas Piggin, qemu-devel Cc: qemu-ppc, Richard Henderson, Dennis Clarke, Cédric Le Goater, David Gibson On 4/17/20 12:51 PM, Nicholas Piggin wrote: > Excerpts from Philippe Mathieu-Daudé's message of April 17, 2020 7:07 pm: >> This fixes: >> >> $ qemu-system-ppc64 \ >> -machine pseries-4.1 -cpu power9 \ >> -smp 4 -m 12G -accel tcg ... >> ... >> Quiescing Open Firmware ... >> Booting Linux via __start() @ 0x0000000002000000 ... >> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >> >> [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html >> >> Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") >> Reported-by: Dennis Clarke <dclarke@blastwave.org> >> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > > Thank you, brown bag required. Looks like I should be testing > this stuff with --enable-debug, sorry I didn't realise it. Is that an implicit: Reviewed-by: Nicholas Piggin <npiggin@gmail.com> ? ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-17 11:00 ` Philippe Mathieu-Daudé @ 2020-04-18 10:45 ` Nicholas Piggin 0 siblings, 0 replies; 12+ messages in thread From: Nicholas Piggin @ 2020-04-18 10:45 UTC (permalink / raw) To: Philippe Mathieu-Daudé, qemu-devel Cc: qemu-ppc, Richard Henderson, Dennis Clarke, Cédric Le Goater, David Gibson Excerpts from Philippe Mathieu-Daudé's message of April 17, 2020 9:00 pm: > On 4/17/20 12:51 PM, Nicholas Piggin wrote: >> Excerpts from Philippe Mathieu-Daudé's message of April 17, 2020 7:07 pm: >>> This fixes: >>> >>> $ qemu-system-ppc64 \ >>> -machine pseries-4.1 -cpu power9 \ >>> -smp 4 -m 12G -accel tcg ... >>> ... >>> Quiescing Open Firmware ... >>> Booting Linux via __start() @ 0x0000000002000000 ... >>> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >>> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >>> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >>> >>> [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html >>> >>> Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") >>> Reported-by: Dennis Clarke <dclarke@blastwave.org> >>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> >> >> Thank you, brown bag required. Looks like I should be testing >> this stuff with --enable-debug, sorry I didn't realise it. > > Is that an implicit: > > Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Yes sure :) If not already merged, Reviewed-by: Nicholas Piggin <npiggin@gmail.com> ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-17 9:07 [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() Philippe Mathieu-Daudé 2020-04-17 10:51 ` Nicholas Piggin @ 2020-04-17 12:46 ` Cédric Le Goater 2020-04-20 18:56 ` Peter Maydell 2 siblings, 0 replies; 12+ messages in thread From: Cédric Le Goater @ 2020-04-17 12:46 UTC (permalink / raw) To: Philippe Mathieu-Daudé, qemu-devel Cc: Richard Henderson, Dennis Clarke, qemu-ppc, Nicholas Piggin, David Gibson On 4/17/20 11:07 AM, Philippe Mathieu-Daudé wrote: > This fixes: > > $ qemu-system-ppc64 \ > -machine pseries-4.1 -cpu power9 \ > -smp 4 -m 12G -accel tcg ... > ... > Quiescing Open Firmware ... > Booting Linux via __start() @ 0x0000000002000000 ... > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html > > Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") > Reported-by: Dennis Clarke <dclarke@blastwave.org> > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Thanks, C. > --- > target/ppc/translate.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/target/ppc/translate.c b/target/ppc/translate.c > index b207fb5386..0136c7e3ff 100644 > --- a/target/ppc/translate.c > +++ b/target/ppc/translate.c > @@ -5003,6 +5003,7 @@ static void gen_slbia(DisasContext *ctx) > CHK_SV; > > gen_helper_slbia(cpu_env, t0); > + tcg_temp_free_i32(t0); > #endif /* defined(CONFIG_USER_ONLY) */ > } > > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-17 9:07 [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() Philippe Mathieu-Daudé 2020-04-17 10:51 ` Nicholas Piggin 2020-04-17 12:46 ` Cédric Le Goater @ 2020-04-20 18:56 ` Peter Maydell 2020-04-20 22:53 ` Dennis Clarke 2020-04-21 0:31 ` David Gibson 2 siblings, 2 replies; 12+ messages in thread From: Peter Maydell @ 2020-04-20 18:56 UTC (permalink / raw) To: Philippe Mathieu-Daudé Cc: Richard Henderson, QEMU Developers, Nicholas Piggin, qemu-ppc, Cédric Le Goater, Dennis Clarke, David Gibson On Fri, 17 Apr 2020 at 10:08, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote: > > This fixes: > > $ qemu-system-ppc64 \ > -machine pseries-4.1 -cpu power9 \ > -smp 4 -m 12G -accel tcg ... > ... > Quiescing Open Firmware ... > Booting Linux via __start() @ 0x0000000002000000 ... > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html > > Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") > Reported-by: Dennis Clarke <dclarke@blastwave.org> > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> I propose to apply this patch for 5.0 rc4 (as well as the ppc pullreq already sent), since the iscsi bugfix means we need an rc4 anyway. Any objections? thanks -- PMM ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-20 18:56 ` Peter Maydell @ 2020-04-20 22:53 ` Dennis Clarke 2020-04-21 0:49 ` David Gibson 2020-04-21 7:17 ` Philippe Mathieu-Daudé 2020-04-21 0:31 ` David Gibson 1 sibling, 2 replies; 12+ messages in thread From: Dennis Clarke @ 2020-04-20 22:53 UTC (permalink / raw) To: Peter Maydell, Philippe Mathieu-Daudé Cc: QEMU Developers, Richard Henderson, Nicholas Piggin, qemu-ppc, Cédric Le Goater, David Gibson On 4/20/20 6:56 PM, Peter Maydell wrote: > On Fri, 17 Apr 2020 at 10:08, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote: >> >> This fixes: >> >> $ qemu-system-ppc64 \ >> -machine pseries-4.1 -cpu power9 \ >> -smp 4 -m 12G -accel tcg ... >> ... >> Quiescing Open Firmware ... >> Booting Linux via __start() @ 0x0000000002000000 ... >> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >> >> [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html >> >> Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") >> Reported-by: Dennis Clarke <dclarke@blastwave.org> >> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > > I propose to apply this patch for 5.0 rc4 (as well as the > ppc pullreq already sent), since the iscsi bugfix means > we need an rc4 anyway. Any objections? > I have been running rc3 with this patch fine for some days now. Both with and without a debug enabled build wherein the performance difference between the two is obvious. However, I do see warnings from 5.0.0-rc3 that worry me : $ /usr/local/bin/qemu-system-ppc64 \ > -machine pseries-4.1 -cpu power9 -smp 4 -m 12G -accel tcg \ > -drive file=/home/ppc64/ppc64le.qcow2 \ > -device virtio-net-pci,netdev=usernet \ > -netdev user,id=usernet,hostfwd=tcp::10000-:22 \ > -serial stdio -display none -vga none qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-cfpc=workaround qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-sbbc=workaround qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-ibs=workaround SLOF ********************************************************************** QEMU Starting Build Date = Mar 27 2020 13:57:26 FW Version = git-8e012d6fddb62be8 Press "s" to enter Open Firmware. Populating /vdevice methods Populating /vdevice/vty@71000000 Populating /vdevice/nvram@71000001 Populating /vdevice/v-scsi@71000002 SCSI: Looking for devices 8000000000000000 DISK : "QEMU QEMU HARDDISK 2.5+" 8200000000000000 CD-ROM : "QEMU QEMU CD-ROM 2.5+" Populating /pci@800000020000000 00 0000 (D) : 1af4 1000 virtio [ net ] No NVRAM common partition, re-initializing... Scanning USB Using default console: /vdevice/vty@71000000 Welcome to Open Firmware Copyright (c) 2004, 2017 IBM Corporation All rights reserved. This program and the accompanying materials are made available under the terms of the BSD License available at http://www.opensource.org/licenses/bsd-license.php Trying to load: from: /vdevice/v-scsi@71000002/disk@8000000000000000 ... Successfully loaded etc etc etc What shall I do with "TCG doesn't support requested feature, cap-cfpc=workaround" ?? -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-20 22:53 ` Dennis Clarke @ 2020-04-21 0:49 ` David Gibson 2020-04-21 7:17 ` Philippe Mathieu-Daudé 1 sibling, 0 replies; 12+ messages in thread From: David Gibson @ 2020-04-21 0:49 UTC (permalink / raw) To: Dennis Clarke Cc: Peter Maydell, Richard Henderson, Philippe Mathieu-Daudé, Nicholas Piggin, QEMU Developers, qemu-ppc, Cédric Le Goater [-- Attachment #1: Type: text/plain, Size: 2872 bytes --] On Mon, Apr 20, 2020 at 10:53:48PM +0000, Dennis Clarke wrote: > On 4/20/20 6:56 PM, Peter Maydell wrote: > > On Fri, 17 Apr 2020 at 10:08, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote: > > > > > > This fixes: > > > > > > $ qemu-system-ppc64 \ > > > -machine pseries-4.1 -cpu power9 \ > > > -smp 4 -m 12G -accel tcg ... > > > ... > > > Quiescing Open Firmware ... > > > Booting Linux via __start() @ 0x0000000002000000 ... > > > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > > > > > [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html > > > > > > Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") > > > Reported-by: Dennis Clarke <dclarke@blastwave.org> > > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > > > > I propose to apply this patch for 5.0 rc4 (as well as the > > ppc pullreq already sent), since the iscsi bugfix means > > we need an rc4 anyway. Any objections? > > > > I have been running rc3 with this patch fine for some days now. Both with > and without a debug enabled build wherein the performance difference between > the two is obvious. > > However, I do see warnings from 5.0.0-rc3 that worry me : > > $ /usr/local/bin/qemu-system-ppc64 \ > > -machine pseries-4.1 -cpu power9 -smp 4 -m 12G -accel tcg \ > > -drive file=/home/ppc64/ppc64le.qcow2 \ > > -device virtio-net-pci,netdev=usernet \ > > -netdev user,id=usernet,hostfwd=tcp::10000-:22 \ > > -serial stdio -display none -vga none > qemu-system-ppc64: warning: TCG doesn't support requested feature, > cap-cfpc=workaround > qemu-system-ppc64: warning: TCG doesn't support requested feature, > cap-sbbc=workaround > qemu-system-ppc64: warning: TCG doesn't support requested feature, > cap-ibs=workaround These are completely unrelated to the slbia patch. [snip] > etc etc etc > > What shall I do with "TCG doesn't support requested feature, > cap-cfpc=workaround" ?? Ignore them, probably. It means your TCG guest is insecure against Spectre attacks, but it was always going to be one way or another. You can suppress them with: -machine cap-cfpc=broken,cap-sbbc=broken,cap-ibs=broken That doesn't make anything more secure, it just lets qemu know that's what you intended, and in turn it will tell the guest that these mitigations are not available. These are enabled by default, because they're very important for production KVM guests. However, doing equivalent Spectre mitigation for TCG is essentially infeasible. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-20 22:53 ` Dennis Clarke 2020-04-21 0:49 ` David Gibson @ 2020-04-21 7:17 ` Philippe Mathieu-Daudé 2020-04-21 16:07 ` Dennis Clarke 1 sibling, 1 reply; 12+ messages in thread From: Philippe Mathieu-Daudé @ 2020-04-21 7:17 UTC (permalink / raw) To: Dennis Clarke, Peter Maydell Cc: Richard Henderson, QEMU Developers, Nicholas Piggin, qemu-ppc, Cédric Le Goater, David Gibson On 4/21/20 12:53 AM, Dennis Clarke wrote: > On 4/20/20 6:56 PM, Peter Maydell wrote: >> On Fri, 17 Apr 2020 at 10:08, Philippe Mathieu-Daudé <f4bug@amsat.org> >> wrote: >>> >>> This fixes: >>> >>> $ qemu-system-ppc64 \ >>> -machine pseries-4.1 -cpu power9 \ >>> -smp 4 -m 12G -accel tcg ... >>> ... >>> Quiescing Open Firmware ... >>> Booting Linux via __start() @ 0x0000000002000000 ... >>> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >>> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >>> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >>> >>> [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html >>> >>> Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") >>> Reported-by: Dennis Clarke <dclarke@blastwave.org> >>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> >> >> I propose to apply this patch for 5.0 rc4 (as well as the >> ppc pullreq already sent), since the iscsi bugfix means >> we need an rc4 anyway. Any objections? >> > > I have been running rc3 with this patch fine for some days now. Both > with and without a debug enabled build wherein the performance > difference between the two is obvious. Thanks for testing it! Can we use your: Tested-by: Dennis Clarke <dclarke@blastwave.org> tag? > > However, I do see warnings from 5.0.0-rc3 that worry me : > > $ /usr/local/bin/qemu-system-ppc64 \ >> -machine pseries-4.1 -cpu power9 -smp 4 -m 12G -accel tcg \ >> -drive file=/home/ppc64/ppc64le.qcow2 \ >> -device virtio-net-pci,netdev=usernet \ >> -netdev user,id=usernet,hostfwd=tcp::10000-:22 \ >> -serial stdio -display none -vga none > qemu-system-ppc64: warning: TCG doesn't support requested feature, > cap-cfpc=workaround > qemu-system-ppc64: warning: TCG doesn't support requested feature, > cap-sbbc=workaround > qemu-system-ppc64: warning: TCG doesn't support requested feature, > cap-ibs=workaround > > > SLOF ********************************************************************** > QEMU Starting > Build Date = Mar 27 2020 13:57:26 > FW Version = git-8e012d6fddb62be8 > Press "s" to enter Open Firmware. > > Populating /vdevice methods > Populating /vdevice/vty@71000000 > Populating /vdevice/nvram@71000001 > Populating /vdevice/v-scsi@71000002 > SCSI: Looking for devices > 8000000000000000 DISK : "QEMU QEMU HARDDISK 2.5+" > 8200000000000000 CD-ROM : "QEMU QEMU CD-ROM 2.5+" > Populating /pci@800000020000000 > 00 0000 (D) : 1af4 1000 virtio [ net ] > No NVRAM common partition, re-initializing... > Scanning USB > Using default console: /vdevice/vty@71000000 > > Welcome to Open Firmware > > Copyright (c) 2004, 2017 IBM Corporation All rights reserved. > This program and the accompanying materials are made available > under the terms of the BSD License available at > http://www.opensource.org/licenses/bsd-license.php > > > Trying to load: from: /vdevice/v-scsi@71000002/disk@8000000000000000 > ... Successfully loaded > > > etc etc etc > > What shall I do with "TCG doesn't support requested feature, > cap-cfpc=workaround" ?? > ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-21 7:17 ` Philippe Mathieu-Daudé @ 2020-04-21 16:07 ` Dennis Clarke 0 siblings, 0 replies; 12+ messages in thread From: Dennis Clarke @ 2020-04-21 16:07 UTC (permalink / raw) To: Philippe Mathieu-Daudé, Peter Maydell Cc: QEMU Developers, Richard Henderson, Nicholas Piggin, qemu-ppc, Cédric Le Goater, David Gibson On 2020-04-21 03:17, Philippe Mathieu-Daudé wrote: > On 4/21/20 12:53 AM, Dennis Clarke wrote: >> On 4/20/20 6:56 PM, Peter Maydell wrote: >>> On Fri, 17 Apr 2020 at 10:08, Philippe Mathieu-Daudé <f4bug@amsat.org> >>> wrote: >>>> >>>> This fixes: >>>> >>>> $ qemu-system-ppc64 \ >>>> -machine pseries-4.1 -cpu power9 \ >>>> -smp 4 -m 12G -accel tcg ... >>>> ... >>>> Quiescing Open Firmware ... >>>> Booting Linux via __start() @ 0x0000000002000000 ... >>>> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >>>> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >>>> Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries >>>> >>>> [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html >>>> >>>> Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") >>>> Reported-by: Dennis Clarke <dclarke@blastwave.org> >>>> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> >>> >>> I propose to apply this patch for 5.0 rc4 (as well as the >>> ppc pullreq already sent), since the iscsi bugfix means >>> we need an rc4 anyway. Any objections? >>> >> >> I have been running rc3 with this patch fine for some days now. Both >> with and without a debug enabled build wherein the performance >> difference between the two is obvious. > > Thanks for testing it! Can we use your: > > Tested-by: Dennis Clarke <dclarke@blastwave.org> > > tag? Of course. Even "running fine by that old UNIX guy" if you want. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-20 18:56 ` Peter Maydell 2020-04-20 22:53 ` Dennis Clarke @ 2020-04-21 0:31 ` David Gibson 2020-04-21 9:29 ` Peter Maydell 1 sibling, 1 reply; 12+ messages in thread From: David Gibson @ 2020-04-21 0:31 UTC (permalink / raw) To: Peter Maydell Cc: Richard Henderson, Philippe Mathieu-Daudé, Nicholas Piggin, QEMU Developers, qemu-ppc, Cédric Le Goater, Dennis Clarke [-- Attachment #1: Type: text/plain, Size: 1206 bytes --] On Mon, Apr 20, 2020 at 07:56:50PM +0100, Peter Maydell wrote: > On Fri, 17 Apr 2020 at 10:08, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote: > > > > This fixes: > > > > $ qemu-system-ppc64 \ > > -machine pseries-4.1 -cpu power9 \ > > -smp 4 -m 12G -accel tcg ... > > ... > > Quiescing Open Firmware ... > > Booting Linux via __start() @ 0x0000000002000000 ... > > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > > > [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html > > > > Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") > > Reported-by: Dennis Clarke <dclarke@blastwave.org> > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > > I propose to apply this patch for 5.0 rc4 (as well as the > ppc pullreq already sent), since the iscsi bugfix means > we need an rc4 anyway. Any objections? Works for me. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() 2020-04-21 0:31 ` David Gibson @ 2020-04-21 9:29 ` Peter Maydell 0 siblings, 0 replies; 12+ messages in thread From: Peter Maydell @ 2020-04-21 9:29 UTC (permalink / raw) To: David Gibson Cc: Richard Henderson, Philippe Mathieu-Daudé, Nicholas Piggin, QEMU Developers, qemu-ppc, Cédric Le Goater, Dennis Clarke On Tue, 21 Apr 2020 at 01:39, David Gibson <david@gibson.dropbear.id.au> wrote: > > On Mon, Apr 20, 2020 at 07:56:50PM +0100, Peter Maydell wrote: > > On Fri, 17 Apr 2020 at 10:08, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote: > > > > > > This fixes: > > > > > > $ qemu-system-ppc64 \ > > > -machine pseries-4.1 -cpu power9 \ > > > -smp 4 -m 12G -accel tcg ... > > > ... > > > Quiescing Open Firmware ... > > > Booting Linux via __start() @ 0x0000000002000000 ... > > > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > > Opcode 1f 12 0f 00 (7ce003e4) leaked temporaries > > > > > > [*] https://www.mail-archive.com/qemu-discuss@nongnu.org/msg05400.html > > > > > > Fixes: 0418bf78fe8 ("Fix ISA v3.0 (POWER9) slbia implementation") > > > Reported-by: Dennis Clarke <dclarke@blastwave.org> > > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > > > > I propose to apply this patch for 5.0 rc4 (as well as the > > ppc pullreq already sent), since the iscsi bugfix means > > we need an rc4 anyway. Any objections? > > Works for me. Applied to master, thanks. -- PMM ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2020-04-21 16:09 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-04-17 9:07 [PATCH-for-5.0?] target/ppc: Fix TCG temporary leaks in gen_slbia() Philippe Mathieu-Daudé 2020-04-17 10:51 ` Nicholas Piggin 2020-04-17 11:00 ` Philippe Mathieu-Daudé 2020-04-18 10:45 ` Nicholas Piggin 2020-04-17 12:46 ` Cédric Le Goater 2020-04-20 18:56 ` Peter Maydell 2020-04-20 22:53 ` Dennis Clarke 2020-04-21 0:49 ` David Gibson 2020-04-21 7:17 ` Philippe Mathieu-Daudé 2020-04-21 16:07 ` Dennis Clarke 2020-04-21 0:31 ` David Gibson 2020-04-21 9:29 ` Peter Maydell
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).