Re: poor cyclictest results with 5.0 series rt for arm64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul,

On Tue, 16 Jul 2019, Paul Thomas wrote:
> On Tue, Jul 16, 2019 at 7:14 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> > Either that patch is broken or it got broken on forward porting it from
> > 4.19. Need to look with brain awake tomorrow.
> 
> Yes! this looks like it fixes it. The hash I see is slightly different:
> b7f42e8fb48cbe38e4c2d0cab48309aadfa6d032
> 
> But the name was the same "arch/arm64: Add lazy preempt support"

So, brain works better now. Can you test the patch below?

Thanks,

	tglx

8<----------------
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S
index 81312fb7f11c..5e2c3b33c20c 100644
--- a/arch/arm64/kernel/entry.S
+++ b/arch/arm64/kernel/entry.S
@@ -610,7 +610,7 @@ el1_irq:
 
 #ifdef CONFIG_PREEMPT
 	ldr	x24, [tsk, #TSK_TI_PREEMPT]	// get preempt count
-	cbnz	x24, 2f				// preempt count != 0
+	cbz	x24, 1f				// preempt count != 0
 
 	ldr	w24, [tsk, #TSK_TI_PREEMPT_LAZY] // get preempt lazy count
 	cbnz	w24, 2f				// preempt lazy count != 0




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux