linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Whitelist HiSilicon Taishan v110 CPUs for Meltdown
@ 2019-03-05 13:40 Hanjun Guo
  2019-03-05 13:40 ` [PATCH 1/2] arm64: Add MIDR encoding for HiSilicon Taishan CPUs Hanjun Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hanjun Guo @ 2019-03-05 13:40 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon
  Cc: Ard Biesheuvel, John Garry, linuxarm, Zhangshaokun, Hanjun Guo,
	linux-arm-kernel

From: Hanjun Guo <hanjun.guo@linaro.org>

We met boot stall on D06 which was:

[    3.832098] SMP: Total of 64 processors activated.
[    3.836907] CPU features: detected: GIC system register CPU interface
[    3.843383] CPU features: detected: Privileged Access Never
[    3.848978] CPU features: detected: User Access Override
[    3.854316] CPU features: detected: Common not Private translations
[    3.860609] CPU features: detected: RAS Extension Support
[    3.866027] CPU features: detected: CRC32 instructions
[   94.446811] CPU: All CPU(s) started at EL2
[   94.451053] alternatives: patching kernel code
[   94.499913] devtmpfs: initialized

It turns out that it stucks with the delay at boot for !KASLR kernels,
D06 machine is based on HiSilicon Taishan v110 CPU, which is not susceptible
to Meltdown, Will suggested that we can whitelist the MIDR in kpti_safe_list[]
table [1].

[1]:
http://lists.infradead.org/pipermail/linux-arm-kernel/2019-March/636314.html

Hanjun Guo (2):
  arm64: Add MIDR encoding for HiSilicon Taishan CPUs
  arm64: kpti: Whitelist HiSilicon Taishan v110 CPUs

 arch/arm64/include/asm/cputype.h | 4 ++++
 arch/arm64/kernel/cpufeature.c   | 1 +
 2 files changed, 5 insertions(+)

-- 
1.7.12.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-03-19 14:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-05 13:40 [PATCH 0/2] Whitelist HiSilicon Taishan v110 CPUs for Meltdown Hanjun Guo
2019-03-05 13:40 ` [PATCH 1/2] arm64: Add MIDR encoding for HiSilicon Taishan CPUs Hanjun Guo
2019-03-05 13:40 ` [PATCH 2/2] arm64: kpti: Whitelist HiSilicon Taishan v110 CPUs Hanjun Guo
2019-03-19 14:03 ` [PATCH 0/2] Whitelist HiSilicon Taishan v110 CPUs for Meltdown Catalin Marinas

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