[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250218090203.43137-1-marco.crivellari@suse.com>
Date: Tue, 18 Feb 2025 10:02:02 +0100
From: Marco Crivellari <marco.crivellari@...e.com>
To: linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Marco Crivellari <marco.crivellari@...e.com>,
Frederic Weisbecker <frederic@...nel.org>,
Anna-Maria Behnsen <anna-maria@...utronix.de>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Huacai Chen <chenhuacai@...nel.org>,
"Maciej W . Rozycki" <macro@...am.me.uk>
Subject: [PATCH v2 0/1] MIPS: Fix idle VS timer enqueue
This patch aims to fix idle routine while the CPU receive an interrupt,
because __r4k_wait() only checks if TIF_NEED_RESCHED is set before
going to sleep.
The same behavior has been changed in LoongArch [1].
Code (cross) compiled successfully and I manage to test it on a VM
emulating a malta board. I ran QEMU with:
qemu-system-mips64el -M malta -m 2G -kernel vmlinux -serial stdio -drive \
file=rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -cpu 5Kc
rootfs generated using buildroot (malta default configuration).
- [1] https://github.com/chenhuacai/linux/commit/a8aa673ea46c03b3f62992ffa4ffe810ac84f6e3
Changes in v2:
- Changes introduced by Huacai:
https://lore.kernel.org/linux-mips/20250214105047.150835-1-marco.crivellari@suse.com/T/#m75d9c587829e15e0d7baec13078be4e65c936408
Marco Crivellari (1):
MIPS: Fix idle VS timer enqueue
arch/mips/kernel/genex.S | 39 +++++++++++++++++++++------------------
arch/mips/kernel/idle.c | 1 -
2 files changed, 21 insertions(+), 19 deletions(-)
--
2.48.1
Powered by blists - more mailing lists