Skip to contentSkip to conversation

powerpc: Avoid TLB related log spamming

PATCH Applied Edgar E. Iglesias 2 participants 3 messages Sep 11, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Avoid TLB related log spamming

Invalid TLB entries are normal and should not spam the log.

---
 target-ppc/helper.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
target-ppc/helper.c +0 -1
index d342b09..a7ec1f4 100644
@@ -1050,7 +1050,6 @@ static inline int ppcemb_tlb_check(CPUState *env, ppcemb_tlb_t *tlb,
 
     /* Check valid flag */
     if (!(tlb->prot & PAGE_VALID)) {
-        qemu_log("%s: TLB %d not valid\n", __func__, i);
         return -1;
     }
     mask = ~(tlb->size - 1);
Signature · 1 line
1.7.1
#1 lore raw
Quoted 1 line · Edgar E. Iglesias

Invalid TLB entries are normal and should not spam the log.

Thanks, applied to my ppc tree:

git://repo.or.cz/qemu/agraf.git ppc-next

Alex

#2 lore raw
Quoted 7 lines · Alexander Graf

On 11.09.2010, at 14:38, Edgar E. Iglesias wrote:

Invalid TLB entries are normal and should not spam the log.

Thanks, applied to my ppc tree:

     [1]git://repo.or.cz/qemu/agraf.git ppc-next

Alex

Thanks Alex,

I applied this to upstream as a small obvious patch. The soon to come MMU patches should definitely go through your tree though.

Cheers,
Edgar