[PATCH v3 0/2] s390x/kvm: Add ASTFLE facility 2 for nested virtualization

Christoph Schlameuss posted 2 patches 3 weeks, 4 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260701-astfleie2-v3-0-f692dc7f4f24@linux.ibm.com
Maintainers: Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Jason Herne <jjherne@linux.ibm.com>, Cornelia Huck <cohuck@redhat.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Richard Henderson <richard.henderson@linaro.org>, Ilya Leoshkevich <iii@linux.ibm.com>, David Hildenbrand <david@kernel.org>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Hendrik Brueckner <brueckner@linux.ibm.com>
hw/s390x/sclp.c                                 |  2 +
include/hw/s390x/sclp.h                         |  4 +-
include/standard-headers/drm/drm_fourcc.h       | 54 ++++++++++-------
include/standard-headers/linux/ethtool.h        |  3 +
include/standard-headers/linux/pci_regs.h       |  2 +
include/standard-headers/linux/virtio_can.h     | 78 +++++++++++++++++++++++++
include/standard-headers/linux/virtio_console.h |  2 +-
include/standard-headers/linux/virtio_gpu.h     |  9 +++
linux-headers/asm-s390/kvm.h                    |  1 +
linux-headers/asm-x86/kvm.h                     |  2 +
linux-headers/linux/iommufd.h                   | 12 ++--
linux-headers/linux/kvm.h                       |  1 +
target/s390x/cpu_features.c                     |  3 +
target/s390x/cpu_features.h                     |  1 +
target/s390x/cpu_features_def.h.inc             |  3 +
target/s390x/cpu_models.c                       |  2 +
target/s390x/gen-features.c                     |  1 +
target/s390x/kvm/kvm.c                          |  1 +
18 files changed, 153 insertions(+), 28 deletions(-)
[PATCH v3 0/2] s390x/kvm: Add ASTFLE facility 2 for nested virtualization
Posted by Christoph Schlameuss 3 weeks, 4 days ago
Update the kernel headers to get access to
KVM_S390_VM_CPU_FEAT_ASTFLEIE2 and allow passing the feature through to
guest on IBM z16 onwards.

Signed-off-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
---
Changes in v3:
- include linux v7.2-rc1 headers

Changes in v2:
- Isolate the linux-header update into its own commit (thanks Thomas)
- Correct naming of the feature (thanks Hendrik)
- Add S390_FEAT_SIE_ASTFLEIE2 to full_GEN16_GA1 only as it depends on
  SIEF2 (thanks Christian)

---
Christoph Schlameuss (2):
      linux-headers: Update to Linux v7.2-rc1 with KVM_S390_VM_CPU_FEAT_ASTFLEIE2
      s390x/kvm: Add ASTFLE facility 2 for nested virtualization

 hw/s390x/sclp.c                                 |  2 +
 include/hw/s390x/sclp.h                         |  4 +-
 include/standard-headers/drm/drm_fourcc.h       | 54 ++++++++++-------
 include/standard-headers/linux/ethtool.h        |  3 +
 include/standard-headers/linux/pci_regs.h       |  2 +
 include/standard-headers/linux/virtio_can.h     | 78 +++++++++++++++++++++++++
 include/standard-headers/linux/virtio_console.h |  2 +-
 include/standard-headers/linux/virtio_gpu.h     |  9 +++
 linux-headers/asm-s390/kvm.h                    |  1 +
 linux-headers/asm-x86/kvm.h                     |  2 +
 linux-headers/linux/iommufd.h                   | 12 ++--
 linux-headers/linux/kvm.h                       |  1 +
 target/s390x/cpu_features.c                     |  3 +
 target/s390x/cpu_features.h                     |  1 +
 target/s390x/cpu_features_def.h.inc             |  3 +
 target/s390x/cpu_models.c                       |  2 +
 target/s390x/gen-features.c                     |  1 +
 target/s390x/kvm/kvm.c                          |  1 +
 18 files changed, 153 insertions(+), 28 deletions(-)
---
base-commit: 30e8a06b64aa58a3990ba39cb5d09531e7d265e0
change-id: 20260209-astfleie2-85eec9fd9213

Best regards,
-- 
Christoph Schlameuss <schlameuss@linux.ibm.com>
Re: [PATCH v3 0/2] s390x/kvm: Add ASTFLE facility 2 for nested virtualization
Posted by Cornelia Huck 2 weeks, 4 days ago
On Wed, Jul 01 2026, Christoph Schlameuss <schlameuss@linux.ibm.com> wrote:

> Update the kernel headers to get access to
> KVM_S390_VM_CPU_FEAT_ASTFLEIE2 and allow passing the feature through to
> guest on IBM z16 onwards.
>
> Signed-off-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
> ---
> Changes in v3:
> - include linux v7.2-rc1 headers
>
> Changes in v2:
> - Isolate the linux-header update into its own commit (thanks Thomas)
> - Correct naming of the feature (thanks Hendrik)
> - Add S390_FEAT_SIE_ASTFLEIE2 to full_GEN16_GA1 only as it depends on
>   SIEF2 (thanks Christian)
>
> ---
> Christoph Schlameuss (2):
>       linux-headers: Update to Linux v7.2-rc1 with KVM_S390_VM_CPU_FEAT_ASTFLEIE2
>       s390x/kvm: Add ASTFLE facility 2 for nested virtualization
>
>  hw/s390x/sclp.c                                 |  2 +
>  include/hw/s390x/sclp.h                         |  4 +-
>  include/standard-headers/drm/drm_fourcc.h       | 54 ++++++++++-------
>  include/standard-headers/linux/ethtool.h        |  3 +
>  include/standard-headers/linux/pci_regs.h       |  2 +
>  include/standard-headers/linux/virtio_can.h     | 78 +++++++++++++++++++++++++
>  include/standard-headers/linux/virtio_console.h |  2 +-
>  include/standard-headers/linux/virtio_gpu.h     |  9 +++
>  linux-headers/asm-s390/kvm.h                    |  1 +
>  linux-headers/asm-x86/kvm.h                     |  2 +
>  linux-headers/linux/iommufd.h                   | 12 ++--
>  linux-headers/linux/kvm.h                       |  1 +
>  target/s390x/cpu_features.c                     |  3 +
>  target/s390x/cpu_features.h                     |  1 +
>  target/s390x/cpu_features_def.h.inc             |  3 +
>  target/s390x/cpu_models.c                       |  2 +
>  target/s390x/gen-features.c                     |  1 +
>  target/s390x/kvm/kvm.c                          |  1 +
>  18 files changed, 153 insertions(+), 28 deletions(-)

Thanks, applied.