public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [stable-4.4][PATCH 0/2] arm64: cpufeature: Fix truncating a feature value
@ 2019-10-14 12:32 Suzuki K Poulose
  2019-10-14 12:32 ` [stable-4.4][PATCH 1/2] arm64: capabilities: Handle sign of the feature bit Suzuki K Poulose
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Suzuki K Poulose @ 2019-10-14 12:32 UTC (permalink / raw)
  To: stable
  Cc: mark.rutland, maz, suzuki.poulose, gregkh, catalin.marinas, will,
	linux-arm-kernel

This series fixes the issue with arm64_ftr_value() where the signed
fields are truncated to unsigned values corrupting the system wide
safe values.


Suzuki K Poulose (2):
  arm64: capabilities: Handle sign of the feature bit
  arm64: Rename cpuid_feature field extract routines

 arch/arm64/include/asm/cpufeature.h | 29 +++++++++++++++---------
 arch/arm64/kernel/cpufeature.c      | 35 ++++++++++++++++-------------
 arch/arm64/kernel/debug-monitors.c  |  2 +-
 arch/arm64/kvm/sys_regs.c           |  2 +-
 arch/arm64/mm/context.c             |  3 ++-
 5 files changed, 42 insertions(+), 29 deletions(-)

-- 
2.21.0


_______________________________________________
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-10-14 23:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-14 12:32 [stable-4.4][PATCH 0/2] arm64: cpufeature: Fix truncating a feature value Suzuki K Poulose
2019-10-14 12:32 ` [stable-4.4][PATCH 1/2] arm64: capabilities: Handle sign of the feature bit Suzuki K Poulose
2019-10-14 12:32 ` [stable-4.4][PATCH 2/2] arm64: Rename cpuid_feature field extract routines Suzuki K Poulose
2019-10-14 23:28 ` [stable-4.4][PATCH 0/2] arm64: cpufeature: Fix truncating a feature value Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox