[PATCH v2 0/4] Spectre BHB follow up

Bertrand Marquis posted 4 patches 1 year, 11 months ago
Test gitlab-ci passed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/cover.1653993431.git.bertrand.marquis@arm.com
There is a newer version of this series
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        | 33 +++++++---
xen/arch/arm/setup.c                     |  3 +
xen/arch/arm/smpboot.c                   |  1 +
8 files changed, 193 insertions(+), 28 deletions(-)
[PATCH v2 0/4] Spectre BHB follow up
Posted by Bertrand Marquis 1 year, 11 months ago
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 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        | 33 +++++++---
 xen/arch/arm/setup.c                     |  3 +
 xen/arch/arm/smpboot.c                   |  1 +
 8 files changed, 193 insertions(+), 28 deletions(-)

-- 
2.25.1
Re: [PATCH v2 0/4] Spectre BHB follow up
Posted by Stefano Stabellini 1 year, 11 months ago
I reviewed patches #1 and #3. Julien had already started reviewing the
other patches in details so it is probably better if he continues his
reviews on those. So I skipped them for now. Let me know if you'd like
me to review them.

On Tue, 31 May 2022, Bertrand Marquis wrote:
> 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 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        | 33 +++++++---
>  xen/arch/arm/setup.c                     |  3 +
>  xen/arch/arm/smpboot.c                   |  1 +
>  8 files changed, 193 insertions(+), 28 deletions(-)
> 
> -- 
> 2.25.1
>