qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ppc: remove excessive logging
@ 2019-12-14 12:13 Joakim Tjernlund
  2019-12-14 22:51 ` no-reply
  2019-12-15  5:08 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 9+ messages in thread
From: Joakim Tjernlund @ 2019-12-14 12:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: Joakim Tjernlund

From: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>

ppc logs every type of Invalid instruction. This generates a lot
of garbage on console when sshd/ssh_keygen executes as
they try various insn to optimize its performance.
The invalid operation log is still there so an unknown insn
will still be logged.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
---

	As far as I can see, ppc is the only one emiting thsi
	debug msg for Invalid insns.

target/ppc/excp_helper.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c
index 50b004d00d..45c2fa3ff9 100644
--- a/target/ppc/excp_helper.c
+++ b/target/ppc/excp_helper.c
@@ -326,7 +326,6 @@ static inline void powerpc_excp(PowerPCCPU *cpu, int excp_model, int excp)
             env->spr[SPR_BOOKE_ESR] = ESR_FP;
             break;
         case POWERPC_EXCP_INVAL:
-            LOG_EXCP("Invalid instruction at " TARGET_FMT_lx "\n", env->nip);
             msr |= 0x00080000;
             env->spr[SPR_BOOKE_ESR] = ESR_PIL;
             break;
-- 
2.24.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-12-17  0:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-14 12:13 [PATCH] ppc: remove excessive logging Joakim Tjernlund
2019-12-14 22:51 ` no-reply
2019-12-15  5:08 ` Philippe Mathieu-Daudé
2019-12-15 10:59   ` BALATON Zoltan
2019-12-15 21:15     ` Joakim Tjernlund
2019-12-16  8:27       ` Thomas Huth
2019-12-16  8:39         ` david
2019-12-16  8:52         ` Joakim Tjernlund
2019-12-17  0:31     ` David Gibson

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).