mbox series

[0/4] Add KRYO2XX Errata / mitigations data

Message ID 20201104232218.198800-1-konrad.dybcio@somainline.org (mailing list archive)
Headers show
Series Add KRYO2XX Errata / mitigations data | expand

Message

Konrad Dybcio Nov. 4, 2020, 11:22 p.m. UTC
This series adds Spectre mitigations and errata data for
Qualcomm KRYO2XX Gold (big) and Silver (LITTLE) series of
CPU cores, used for example in MSM8998 and SDM660-series SoCs.

Konrad Dybcio (4):
  arm64: Add MIDR value for KRYO2XX gold/silver CPU cores
  arm64: kpti: Add KRYO2XX gold/silver CPU cores to kpti safelist
  arm64: proton-pack: Add KRYO2XX silver CPUs to spectre-v2 safe-list
  arm64: cpu_errata: Apply Erratum 845719 to KRYO2XX Silver

 arch/arm64/include/asm/cputype.h | 4 ++++
 arch/arm64/kernel/cpu_errata.c   | 2 ++
 arch/arm64/kernel/cpufeature.c   | 2 ++
 arch/arm64/kernel/proton-pack.c  | 1 +
 4 files changed, 9 insertions(+)

Comments

Will Deacon Nov. 5, 2020, 9:33 a.m. UTC | #1
Hi Konrad,

[+Jeffrey]

On Thu, Nov 05, 2020 at 12:22:09AM +0100, Konrad Dybcio wrote:
> This series adds Spectre mitigations and errata data for
> Qualcomm KRYO2XX Gold (big) and Silver (LITTLE) series of
> CPU cores, used for example in MSM8998 and SDM660-series SoCs.
> 
> Konrad Dybcio (4):
>   arm64: Add MIDR value for KRYO2XX gold/silver CPU cores
>   arm64: kpti: Add KRYO2XX gold/silver CPU cores to kpti safelist
>   arm64: proton-pack: Add KRYO2XX silver CPUs to spectre-v2 safe-list
>   arm64: cpu_errata: Apply Erratum 845719 to KRYO2XX Silver

This mostly looks fine to me, but I've added Jeffrey to check the MIDRs
because he's my go-to person for the Qualcomm numbering scheme.

Jeffrey -- please can you check these patches [1], especially the last patch
which has some cryptic revision number in there too?

Cheers,

Will

[1] http://lkml.kernel.org/r/20201104232218.198800-1-konrad.dybcio@somainline.org
Sai Prakash Ranjan Nov. 10, 2020, 7 a.m. UTC | #2
On 2020-11-05 15:03, Will Deacon wrote:
> Hi Konrad,
> 
> [+Jeffrey]
> 
> On Thu, Nov 05, 2020 at 12:22:09AM +0100, Konrad Dybcio wrote:
>> This series adds Spectre mitigations and errata data for
>> Qualcomm KRYO2XX Gold (big) and Silver (LITTLE) series of
>> CPU cores, used for example in MSM8998 and SDM660-series SoCs.
>> 
>> Konrad Dybcio (4):
>>   arm64: Add MIDR value for KRYO2XX gold/silver CPU cores
>>   arm64: kpti: Add KRYO2XX gold/silver CPU cores to kpti safelist
>>   arm64: proton-pack: Add KRYO2XX silver CPUs to spectre-v2 safe-list
>>   arm64: cpu_errata: Apply Erratum 845719 to KRYO2XX Silver
> 
> This mostly looks fine to me, but I've added Jeffrey to check the MIDRs
> because he's my go-to person for the Qualcomm numbering scheme.
> 
> Jeffrey -- please can you check these patches [1], especially the last 
> patch
> which has some cryptic revision number in there too?

Jeffrey can confirm this, but the MIDR is right and the cryptic revision
maps to cortex r0p4.

Thanks,
Sai
Will Deacon Nov. 13, 2020, 11:27 a.m. UTC | #3
On Thu, 5 Nov 2020 00:22:09 +0100, Konrad Dybcio wrote:
> This series adds Spectre mitigations and errata data for
> Qualcomm KRYO2XX Gold (big) and Silver (LITTLE) series of
> CPU cores, used for example in MSM8998 and SDM660-series SoCs.
> 
> Konrad Dybcio (4):
>   arm64: Add MIDR value for KRYO2XX gold/silver CPU cores
>   arm64: kpti: Add KRYO2XX gold/silver CPU cores to kpti safelist
>   arm64: proton-pack: Add KRYO2XX silver CPUs to spectre-v2 safe-list
>   arm64: cpu_errata: Apply Erratum 845719 to KRYO2XX Silver
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/4] arm64: Add MIDR value for KRYO2XX gold/silver CPU cores
      https://git.kernel.org/arm64/c/77473cffef21
[2/4] arm64: kpti: Add KRYO2XX gold/silver CPU cores to kpti safelist
      https://git.kernel.org/arm64/c/e3dd11a9f252
[3/4] arm64: proton-pack: Add KRYO2XX silver CPUs to spectre-v2 safe-list
      https://git.kernel.org/arm64/c/38328d401167
[4/4] arm64: cpu_errata: Apply Erratum 845719 to KRYO2XX Silver
      https://git.kernel.org/arm64/c/23c216416056

Cheers,