Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Suzuki K Poulose <suzuki.poulose@arm.com>
To: stable@vger.kernel.org
Cc: suzuki.poulose@arm.com, gregkh@linuxfoundation.org,
	will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com,
	maz@kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [stable-4.4][PATCH 0/2] arm64: cpufeature: Fix truncating a feature value
Date: Mon, 14 Oct 2019 13:32:52 +0100	[thread overview]
Message-ID: <20191014123254.22002-1-suzuki.poulose@arm.com> (raw)

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


             reply	other threads:[~2019-10-14 12:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-14 12:32 Suzuki K Poulose [this message]
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

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=20191014123254.22002-1-suzuki.poulose@arm.com \
    --to=suzuki.poulose@arm.com \
    --cc=catalin.marinas@arm.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=maz@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=will@kernel.org \
    /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