From: Tomohiro Misono <misono.tomohiro@fujitsu.com>
To: Tomohiro Misono <misono.tomohiro@fujitsu.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
Marc Zyngier <maz@kernel.org>, Thomas Gleixner <tglx@kernel.org>,
Radu Rendec <radu@rendec.net>, Oliver Upton <oupton@kernel.org>,
Fuad Tabba <fuad.tabba@linux.dev>,
Joey Gouly <joey.gouly@arm.com>,
Steffen Eiden <seiden@linux.ibm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Zenghui Yu <yuzenghui@huawei.com>,
Vladimir Murzin <vladimir.murzin@arm.com>
Cc: Kohei Enju <enju.kohei@fujitsu.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
linux-perf-users@vger.kernel.org, kvmarm@lists.linux.dev
Subject: [PATCH v3 0/5] arm64: Add workarounds for FUJITSU-MONAKA CPU
Date: Thu, 19 Nov 2026 18:04:32 +0900 [thread overview]
Message-ID: <20261119-monaka-fix-for-upstream-v3-0-057df4d2ca3c@fujitsu.com> (raw)
This series adds workarounds for the FUJITSU-MONAKA CPU.
Unfortunately, another erratum has been found since v2 and
I added patch 5 for this new workaround.
- Patch 1 ... Add the FUJITSU-MONAKA CPU type definition
- Patch 2 ... Add a workaround for TLBI operation
- Patch 3 ... Add a workaround for perf operation
- Patch 4 ... Add a workaround for GIC operation
- Patch 5 ... Add a workaround for WFE operation
Although these workarounds do not depend on each other functionally,
I have combined them into one series because patch 2-5
use the CPU type definition added by the first patch,
and all the workarounds update silicon-errata.rst.
If preferred, I will resend them as separate patches.
Best Regards,
Tomohiro Misono
Changes in v3:
- Add new workaround for WFE as patch 5
- Address review comments in patch 2-4.
Especially now patch 2 disables TLBI range operations on MONAKA CPU.
See each commits for the details
- Add Acked-by by Mark in patch 1
- Rebased on 7.4-rc3
- Link to v2: https://lore.kernel.org/r/20261016-monaka-fix-for-upstream-v2-0-fc7ede7f9f48@fujitsu.com
Changes in v2:
- Address review comments in patch 2-4. See each commits for the details
- rebased on 7.3-rc7
- Link to v1: https://lore.kernel.org/r/20261002-monaka-fix-for-upstream-v1-0-4aec0b0cbe34@fujitsu.com
Signed-off-by: Tomohiro Misono <misono.tomohiro@fujitsu.com>
---
Kohei Enju (1):
irqchip/gicv3: Add workaround for FUJITSU-MONAKA Erratum E#030003
Tomohiro Misono (4):
arm64: cputype: Add FUJITSU MONAKA definition
arm64: tlb: Add tlbi workaround for FUJITSU-MONAKA Erratum E#030001
perf: arm_pmu: Add workaround for FUJITSU-MONAKA Erratum E#030002
arm64: Add workaround to replace WFE with NOP for FUJITSU-MONAKA Erratum E#030004
Documentation/arch/arm64/silicon-errata.rst | 8 ++++
arch/arm64/Kconfig | 58 +++++++++++++++++++++++++++++
arch/arm64/include/asm/assembler.h | 4 ++
arch/arm64/include/asm/barrier.h | 3 +-
arch/arm64/include/asm/cmpxchg.h | 4 +-
arch/arm64/include/asm/cpucaps.h | 6 +++
arch/arm64/include/asm/cputype.h | 2 +
arch/arm64/kernel/cpu_errata.c | 32 ++++++++++++++++
arch/arm64/kernel/cpufeature.c | 11 +++++-
arch/arm64/kvm/sys_regs.c | 8 ++++
arch/arm64/tools/cpucaps | 3 ++
drivers/irqchip/irq-gic-v3.c | 35 +++++++++++++++++
drivers/perf/arm_pmu.c | 13 +++++++
13 files changed, 183 insertions(+), 4 deletions(-)
---
base-commit: aebb7274476403040d582c61478df8f4a7bf9cd3
change-id: 20261002-monaka-fix-for-upstream-680801dea92f
Best regards,
--
Tomohiro Misono <misono.tomohiro@fujitsu.com>
next reply other threads:[~2026-11-19 9:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 9:04 Tomohiro Misono [this message]
2026-11-19 9:04 ` [PATCH v3 1/5] arm64: cputype: Add FUJITSU MONAKA definition Tomohiro Misono
2026-11-19 9:04 ` [PATCH v3 2/5] arm64: tlb: Add tlbi workaround for FUJITSU-MONAKA Erratum E#030001 Tomohiro Misono
2026-11-19 9:04 ` [PATCH v3 3/5] perf: arm_pmu: Add workaround for FUJITSU-MONAKA Erratum E#030002 Tomohiro Misono
2026-11-19 9:04 ` [PATCH v3 4/5] irqchip/gicv3: Add workaround for FUJITSU-MONAKA Erratum E#030003 Tomohiro Misono
2026-11-20 9:53 ` kernel test robot
2026-11-19 9:04 ` [PATCH v3 5/5] arm64: Add workaround to replace WFE with NOP for FUJITSU-MONAKA Erratum E#030004 Tomohiro Misono
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261119-monaka-fix-for-upstream-v3-0-057df4d2ca3c@fujitsu.com \
--to=misono.tomohiro@fujitsu.com \
--cc=catalin.marinas@arm.com \
--cc=corbet@lwn.net \
--cc=enju.kohei@fujitsu.com \
--cc=fuad.tabba@linux.dev \
--cc=joey.gouly@arm.com \
--cc=kvmarm@lists.linux.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=maz@kernel.org \
--cc=oupton@kernel.org \
--cc=radu@rendec.net \
--cc=rdunlap@infradead.org \
--cc=seiden@linux.ibm.com \
--cc=skhan@linuxfoundation.org \
--cc=suzuki.poulose@arm.com \
--cc=tglx@kernel.org \
--cc=vladimir.murzin@arm.com \
--cc=will@kernel.org \
--cc=yuzenghui@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®