Skip to content

Spectre BHB follow up

Bertrand Marquis xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 1 replyIn review
  2. v24 patches 8 repliesSuperseded
  3. v13 patches 28 repliesSuperseded

Changes in v3 from the cover letter

- add R-b and A-b on patches
- fixes in sb support patch

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3xen/arch/arm/arm64/cpufeature.c xen/arch/arm/include/asm/arm64/sysregs.h+80 -140 replies
2/4xen/arm: Add sb instruction supportxen/arch/arm/cpufeature.c xen/arch/arm/include/asm/cpufeature.h xen/arch/arm/include/asm/macros.h +2 more+55 -21 reply
3/4arm: add ISAR2, MMFR0 and MMFR1 fields in cpufeaturexen/arch/arm/include/asm/cpufeature.h+23 -50 replies
4/4arm: Define kconfig symbols used by arm64 cpufeaturesxen/arch/arm/Kconfig+28 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchStefano StabelliniJulien Grall
1/4R-b
2/4R-b
3/4R-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] Spectre BHB follow up

Following up the handling of Spectre BHB on Arm (XSA-398), this serie contain several changes which were not needed in the XSA patches but should be done in Xen:
- Sync sysregs and cpuinfo with latest version of Linux (5.18-rc3)
- Add new fields inside cpufeature
- Add sb instruction support. Some newer generations of CPU (Neoverse-N2) do support the instruction so add support for it in Xen.
- Create hidden Kconfig entries for CONFIG_ values actually used in arm64 cpufeature.

Changes in v3:
- add R-b and A-b on patches
- fixes in sb support patch
Changes in v2:
- remove patch which was merged (workaround 1 when workaround 3 is done)
- split sync with linux and update of cpufeatures
- add patch to define kconfig entries used by arm64 cpufeature

Bertrand Marquis (4):
xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3 xen/arm: Add sb instruction support
arm: add ISAR2, MMFR0 and MMFR1 fields in cpufeature
arm: Define kconfig symbols used by arm64 cpufeatures

 xen/arch/arm/Kconfig                     | 28 +++++++++
 xen/arch/arm/arm64/cpufeature.c          | 18 +++++-
 xen/arch/arm/cpufeature.c                | 28 +++++++++
 xen/arch/arm/include/asm/arm64/sysregs.h | 76 ++++++++++++++++++++----
 xen/arch/arm/include/asm/cpufeature.h    | 34 +++++++++--
 xen/arch/arm/include/asm/macros.h        | 19 +++++-
 xen/arch/arm/setup.c                     |  3 +
 xen/arch/arm/smpboot.c                   |  1 +
 8 files changed, 186 insertions(+), 21 deletions(-)
Signature · 1 line
2.25.1