[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-04-19 Thread Frank Heimes
** Changed in: ubuntu-z-systems
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Released
Status in linux source package in Impish:
  Fix Released

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture definition
    and documentation.

  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
    was issued, while it should report a 'busy' condition until the CPU is
    really started.

  * The fix for this consists of three patches:
    812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
    435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
    4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
    whereas 812de04661c4 already landed via upstream stable,
    hence only two are left and need to be cherry-picked:

  [Fix]

  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390:
  Add a routine for setting userspace CPU state"

  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"

  [Test Case]

  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
    with Ubuntu Server 20.04 using kernel standard kernel 5.4.

  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.

  * The test itself is the following unit test:
    https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

  * The test and verification will be done by the IBM Z team.

  [Where problems could occur]

  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
    state control in general.

  * The SIGP handing (on s390x) can become broken, which could lead to
    incorrect (virtual) CPU states.

  * In worst case KVM can become broken on s390x entirely.

  * The modified code is all s390x specific QEMU/KVM code,
    no common code is touched.

  [Other]

  * The two remaining patches are upstream since 5.16,
    the first one already landed in 5.4 via upstream stable bug LP#1959701
    and in 5.13 via upstream stable bug LP#1960861.

  * The patches already landed in jammy (master-next) based on LP#1959735,
    hence only SRU to impish and focal is needed.

  * This patches got discussed here:
    https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/

  * This not only fixes the SIGP processing, but is also important in terms of
    long term maintainability.

  __

  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-04-19 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.4.0-109.123

---
linux (5.4.0-109.123) focal; urgency=medium

  * focal/linux: 5.4.0-109.123 -proposed tracker (LP: #1968290)

  * USB devices not detected during boot on USB 3.0 hubs (LP: #1968210)
- SAUCE: Revert "Revert "xhci: Set HCD flag to defer primary roothub
  registration""
- SAUCE: Revert "Revert "usb: core: hcd: Add support for deferring roothub
  registration""

linux (5.4.0-108.122) focal; urgency=medium

  * focal/linux: 5.4.0-108.122 -proposed tracker (LP: #1966740)

  * Packaging resync (LP: #1786013)
- [Packaging] resync dkms-build{,--nvidia-N} from LRMv5
- debian/dkms-versions -- update from kernel-versions (main/2022.03.21)

  * Low RX performance for 40G Solarflare NICs (LP: #1964512)
- SAUCE: sfc: The size of the RX recycle ring should be more flexible

  * [UBUNTU 20.04] KVM: Enable storage key checking for intercepted instruction
(LP: #1962831)
- selftests: kvm: add _vm_ioctl
- selftests: kvm: Introduce the TEST_FAIL macro
- KVM: selftests: Add GUEST_ASSERT variants to pass values to host
- KVM: s390: gaccess: Refactor gpa and length calculation
- KVM: s390: gaccess: Refactor access address range check
- KVM: s390: gaccess: Cleanup access to guest pages
- s390/uaccess: introduce bit field for OAC specifier
- s390/uaccess: fix compile error
- s390/uaccess: Add copy_from/to_user_key functions
- KVM: s390: Honor storage keys when accessing guest memory
- KVM: s390: handle_tprot: Honor storage keys
- KVM: s390: selftests: Test TEST PROTECTION emulation
- KVM: s390: Add optional storage key checking to MEMOP IOCTL
- KVM: s390: Add vm IOCTL for key checked guest absolute memory access
- KVM: s390: Rename existing vcpu memop functions
- KVM: s390: Add capability for storage key extension of MEM_OP IOCTL
- KVM: s390: Update api documentation for memop ioctl
- KVM: s390: Clarify key argument for MEM_OP in api docs
- KVM: s390: Add missing vm MEM_OP size check

  * 【sec-0911】 fail to reset sec module (LP: #1943301)
- crypto: hisilicon/sec2 - Add workqueue for SEC driver.
- crypto: hisilicon/sec2 - update SEC initialization and reset

  * Lots of hisi_qm zombie task slow down system after stress test
(LP: #1932117)
- crypto: hisilicon - Use one workqueue per qm instead of per qp

  * Lots of hisi_qm zombie task slow down system after stress test
(LP: #1932117) // 【sec-0911】 fail to reset sec module (LP: #1943301)
- crypto: hisilicon - Unify hardware error init/uninit into QM

  * [UBUNTU 20.04] Fix SIGP processing on KVM/s390 (LP: #1962578)
- KVM: s390: Simplify SIGP Set Arch handling
- KVM: s390: Add a routine for setting userspace CPU state

  * Move virtual graphics drivers from linux-modules-extra to linux-modules
(LP: #1960633)
- [Packaging] Move VM DRM drivers into modules

  * Focal update: v5.4.178 upstream stable release (LP: #1964634)
- audit: improve audit queue handling when "audit=1" on cmdline
- ASoC: ops: Reject out of bounds values in snd_soc_put_volsw()
- ASoC: ops: Reject out of bounds values in snd_soc_put_volsw_sx()
- ASoC: ops: Reject out of bounds values in snd_soc_put_xr_sx()
- ALSA: usb-audio: Simplify quirk entries with a macro
- ALSA: hda/realtek: Add quirk for ASUS GU603
- ALSA: hda/realtek: Add missing fixup-model entry for Gigabyte X570 ALC1220
  quirks
- ALSA: hda/realtek: Fix silent output on Gigabyte X570S Aorus Master (newer
  chipset)
- ALSA: hda/realtek: Fix silent output on Gigabyte X570 Aorus Xtreme after
  reboot from Windows
- btrfs: fix deadlock between quota disable and qgroup rescan worker
- drm/nouveau: fix off by one in BIOS boundary checking
- mm/kmemleak: avoid scanning potential huge holes
- block: bio-integrity: Advance seed correctly for larger interval sizes
- memcg: charge fs_context and legacy_fs_context
- IB/rdmavt: Validate remote_addr during loopback atomic tests
- RDMA/siw: Fix broken RDMA Read Fence/Resume logic.
- RDMA/mlx4: Don't continue event handler after memory allocation failure
- iommu/vt-d: Fix potential memory leak in intel_setup_irq_remapping()
- iommu/amd: Fix loop timeout issue in iommu_ga_log_enable()
- spi: bcm-qspi: check for valid cs before applying chip select
- spi: mediatek: Avoid NULL pointer crash in interrupt
- spi: meson-spicc: add IRQ check in meson_spicc_probe
- net: ieee802154: hwsim: Ensure proper channel selection at probe time
- net: ieee802154: mcr20a: Fix lifs/sifs periods
- net: ieee802154: ca8210: Stop leaking skb's
- net: ieee802154: Return meaningful error codes from the netlink helpers
- net: macsec: Verify that send_sci is on when setting Tx sci explicitly
- net: stmmac: dump gmac4 DMA registers correctly
- net: stmmac: ensure PTP time register reads are consistent
- 

[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-04-19 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 5.13.0-40.45

---
linux (5.13.0-40.45) impish; urgency=medium

  * impish/linux: 5.13.0-40.45 -proposed tracker (LP: #1966701)

  * CVE-2022-1016
- netfilter: nf_tables: initialize registers in nft_do_chain()

  * CVE-2022-1015
- netfilter: nf_tables: validate registers coming from userspace.

  * audit: improve audit queue handling when "audit=1" on cmdline
(LP: #1965723) // Impish update: upstream stable patchset 2022-03-22
(LP: #1966021)
- audit: improve audit queue handling when "audit=1" on cmdline

  * PS/2 Keyboard wakeup from s2idle not functioning on AMD Yellow Carp platform
(LP: #1961739)
- PM: s2idle: ACPI: Fix wakeup interrupts handling

  * Low RX performance for 40G Solarflare NICs (LP: #1964512)
- SAUCE: sfc: The size of the RX recycle ring should be more flexible

  * [UBUNTU 20.04] Fix SIGP processing on KVM/s390 (LP: #1962578)
- KVM: s390: Simplify SIGP Set Arch handling
- KVM: s390: Add a routine for setting userspace CPU state

  * Move virtual graphics drivers from linux-modules-extra to linux-modules
(LP: #1960633)
- [Packaging] Move VM DRM drivers into modules

  * Impish update: upstream stable patchset 2022-03-09 (LP: #1964422)
- bnx2x: Utilize firmware 7.13.21.0
- bnx2x: Invalidate fastpath HSI version for VFs
- rcu: Tighten rcu_advance_cbs_nowake() checks
- select: Fix indefinitely sleeping task in poll_schedule_timeout()
- drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2
- arm64/bpf: Remove 128MB limit for BPF JIT programs
- Bluetooth: refactor malicious adv data check
- net: sfp: ignore disabled SFP node
- net: stmmac: skip only stmmac_ptp_register when resume from suspend
- s390/hypfs: include z/VM guests with access control group set
- bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
- scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP
  devices
- udf: Restore i_lenAlloc when inode expansion fails
- udf: Fix NULL ptr deref when converting from inline format
- efi: runtime: avoid EFIv2 runtime services on Apple x86 machines
- PM: wakeup: simplify the output logic of pm_show_wakelocks()
- tracing/histogram: Fix a potential memory leak for kstrdup()
- tracing: Don't inc err_log entry count if entry allocation fails
- ceph: properly put ceph_string reference after async create attempt
- ceph: set pool_ns in new inode layout for async creates
- fsnotify: fix fsnotify hooks in pseudo filesystems
- Revert "KVM: SVM: avoid infinite loop on NPF from bad address"
- perf/x86/intel/uncore: Fix CAS_COUNT_WRITE issue for ICX
- drm/etnaviv: relax submit size limits
- KVM: x86: Update vCPU's runtime CPUID on write to MSR_IA32_XSS
- netfilter: nft_payload: do not update layer 4 checksum when mangling
  fragments
- serial: 8250: of: Fix mapped region size when using reg-offset property
- serial: stm32: fix software flow control transfer
- tty: n_gsm: fix SW flow control encoding/handling
- tty: Add support for Brainboxes UC cards.
- usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
- usb: xhci-plat: fix crash when suspend if remote wake enable
- usb: common: ulpi: Fix crash in ulpi_match()
- usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
- USB: core: Fix hang in usb_kill_urb by adding memory barriers
- usb: typec: tcpm: Do not disconnect while receiving VBUS off
- ucsi_ccg: Check DEV_INT bit only when starting CCG4
- jbd2: export jbd2_journal_[grab|put]_journal_head
- ocfs2: fix a deadlock when commit trans
- sched/membarrier: Fix membarrier-rseq fence command missing from query
  bitmask
- x86/MCE/AMD: Allow thresholding interface updates after init
- powerpc/32s: Allocate one 256k IBAT instead of two consecutives 128k IBATs
- powerpc/32s: Fix kasan_init_region() for KASAN
- powerpc/32: Fix boot failure with GCC latent entropy plugin
- i40e: Increase delay to 1 s after global EMP reset
- i40e: Fix issue when maximum queues is exceeded
- i40e: Fix queues reservation for XDP
- i40e: Fix for failed to init adminq while VF reset
- i40e: fix unsigned stat widths
- usb: roles: fix include/linux/usb/role.h compile issue
- rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
- rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
- scsi: bnx2fc: Flush destroy_work queue before calling 
bnx2fc_interface_put()
- ipv6_tunnel: Rate limit warning messages
- net: fix information leakage in /proc/net/ptype
- hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649
- hwmon: (lm90) Mark alert as broken for MAX6680
- ping: fix the sk_bound_dev_if match in ping_lookup
- ipv4: avoid using shared IP generator for connected sockets
- hwmon: (lm90) Reduce maximum 

[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-25 Thread Frank Heimes
This bug was opened for focal and impish, bionic was not really
requested and is not marked as affected, so I'm setting the
verification-done-bionic tag to unblock further SRU processing.

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture definition
    and documentation.

  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
    was issued, while it should report a 'busy' condition until the CPU is
    really started.

  * The fix for this consists of three patches:
    812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
    435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
    4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
    whereas 812de04661c4 already landed via upstream stable,
    hence only two are left and need to be cherry-picked:

  [Fix]

  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390:
  Add a routine for setting userspace CPU state"

  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"

  [Test Case]

  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
    with Ubuntu Server 20.04 using kernel standard kernel 5.4.

  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.

  * The test itself is the following unit test:
    https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

  * The test and verification will be done by the IBM Z team.

  [Where problems could occur]

  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
    state control in general.

  * The SIGP handing (on s390x) can become broken, which could lead to
    incorrect (virtual) CPU states.

  * In worst case KVM can become broken on s390x entirely.

  * The modified code is all s390x specific QEMU/KVM code,
    no common code is touched.

  [Other]

  * The two remaining patches are upstream since 5.16,
    the first one already landed in 5.4 via upstream stable bug LP#1959701
    and in 5.13 via upstream stable bug LP#1960861.

  * The patches already landed in jammy (master-next) based on LP#1959735,
    hence only SRU to impish and focal is needed.

  * This patches got discussed here:
    https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/

  * This not only fixes the SIGP processing, but is also important in terms of
    long term maintainability.

  __

  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-25 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux-
hwe-5.4/5.4.0-107.121~18.04.1 kernel in -proposed solves the problem.
Please test the kernel and update this bug with the results. If the
problem is solved, change the tag 'verification-needed-bionic' to
'verification-done-bionic'. If the problem still exists, change the tag
'verification-needed-bionic' to 'verification-failed-bionic'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture definition
    and documentation.

  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
    was issued, while it should report a 'busy' condition until the CPU is
    really started.

  * The fix for this consists of three patches:
    812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
    435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
    4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
    whereas 812de04661c4 already landed via upstream stable,
    hence only two are left and need to be cherry-picked:

  [Fix]

  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390:
  Add a routine for setting userspace CPU state"

  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"

  [Test Case]

  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
    with Ubuntu Server 20.04 using kernel standard kernel 5.4.

  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.

  * The test itself is the following unit test:
    https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

  * The test and verification will be done by the IBM Z team.

  [Where problems could occur]

  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
    state control in general.

  * The SIGP handing (on s390x) can become broken, which could lead to
    incorrect (virtual) CPU states.

  * In worst case KVM can become broken on s390x entirely.

  * The modified code is all s390x specific QEMU/KVM code,
    no common code is touched.

  [Other]

  * The two remaining patches are upstream since 5.16,
    the first one already landed in 5.4 via upstream stable bug LP#1959701
    and in 5.13 via upstream stable bug LP#1960861.

  * The patches already landed in jammy (master-next) based on LP#1959735,
    hence only SRU to impish and focal is needed.

  * This patches got discussed here:
    https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/

  * This not only fixes the SIGP processing, but is also important in terms of
    long term maintainability.

  __

  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-23 Thread Frank Heimes
Thank you Eric for the verifications!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture definition
    and documentation.

  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
    was issued, while it should report a 'busy' condition until the CPU is
    really started.

  * The fix for this consists of three patches:
    812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
    435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
    4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
    whereas 812de04661c4 already landed via upstream stable,
    hence only two are left and need to be cherry-picked:

  [Fix]

  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390:
  Add a routine for setting userspace CPU state"

  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"

  [Test Case]

  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
    with Ubuntu Server 20.04 using kernel standard kernel 5.4.

  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.

  * The test itself is the following unit test:
    https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

  * The test and verification will be done by the IBM Z team.

  [Where problems could occur]

  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
    state control in general.

  * The SIGP handing (on s390x) can become broken, which could lead to
    incorrect (virtual) CPU states.

  * In worst case KVM can become broken on s390x entirely.

  * The modified code is all s390x specific QEMU/KVM code,
    no common code is touched.

  [Other]

  * The two remaining patches are upstream since 5.16,
    the first one already landed in 5.4 via upstream stable bug LP#1959701
    and in 5.13 via upstream stable bug LP#1960861.

  * The patches already landed in jammy (master-next) based on LP#1959735,
    hence only SRU to impish and focal is needed.

  * This patches got discussed here:
    https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/

  * This not only fixes the SIGP processing, but is also important in terms of
    long term maintainability.

  __

  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-23 Thread bugproxy
--- Comment From far...@us.ibm.com 2022-03-23 11:42 EDT---
Verified with the assistance of kvm-unit-tests patches described here:
https://lore.kernel.org/r/20220311173822.1234617-1-far...@linux.ibm.com/

...and further examination of the s390dbf/kvm- contents for a
running guest. Rolled back the kernel version on each release to ensure
I had a "bad" state, as well as the version in -proposed. Everything
behaves as I expected. THANK YOU!

Tested Focal:
5.4.0-100.113 (FAILS)
5.4.0-106.120 (WORKS)

Tested Impish:
5.13.0-30.33 (FAILS)
5.13.0-38.43 (WORKS)

** Tags removed: verification-needed-focal verification-needed-impish
** Tags added: verification-done-focal verification-done-impish

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture definition
    and documentation.

  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
    was issued, while it should report a 'busy' condition until the CPU is
    really started.

  * The fix for this consists of three patches:
    812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
    435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
    4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
    whereas 812de04661c4 already landed via upstream stable,
    hence only two are left and need to be cherry-picked:

  [Fix]

  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390:
  Add a routine for setting userspace CPU state"

  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"

  [Test Case]

  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
    with Ubuntu Server 20.04 using kernel standard kernel 5.4.

  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.

  * The test itself is the following unit test:
    https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

  * The test and verification will be done by the IBM Z team.

  [Where problems could occur]

  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
    state control in general.

  * The SIGP handing (on s390x) can become broken, which could lead to
    incorrect (virtual) CPU states.

  * In worst case KVM can become broken on s390x entirely.

  * The modified code is all s390x specific QEMU/KVM code,
    no common code is touched.

  [Other]

  * The two remaining patches are upstream since 5.16,
    the first one already landed in 5.4 via upstream stable bug LP#1959701
    and in 5.13 via upstream stable bug LP#1960861.

  * The patches already landed in jammy (master-next) based on LP#1959735,
    hence only SRU to impish and focal is needed.

  * This patches got discussed here:
    https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/

  * This not only fixes the SIGP processing, but is also important in terms of
    long term maintainability.

  __

  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-21 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux/5.4.0-106.120 kernel in
-proposed solves the problem. Please test the kernel and update this bug
with the results. If the problem is solved, change the tag
'verification-needed-focal' to 'verification-done-focal'. If the problem
still exists, change the tag 'verification-needed-focal' to
'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture definition
    and documentation.

  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
    was issued, while it should report a 'busy' condition until the CPU is
    really started.

  * The fix for this consists of three patches:
    812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
    435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
    4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
    whereas 812de04661c4 already landed via upstream stable,
    hence only two are left and need to be cherry-picked:

  [Fix]

  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390:
  Add a routine for setting userspace CPU state"

  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"

  [Test Case]

  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
    with Ubuntu Server 20.04 using kernel standard kernel 5.4.

  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.

  * The test itself is the following unit test:
    https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

  * The test and verification will be done by the IBM Z team.

  [Where problems could occur]

  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
    state control in general.

  * The SIGP handing (on s390x) can become broken, which could lead to
    incorrect (virtual) CPU states.

  * In worst case KVM can become broken on s390x entirely.

  * The modified code is all s390x specific QEMU/KVM code,
    no common code is touched.

  [Other]

  * The two remaining patches are upstream since 5.16,
    the first one already landed in 5.4 via upstream stable bug LP#1959701
    and in 5.13 via upstream stable bug LP#1960861.

  * The patches already landed in jammy (master-next) based on LP#1959735,
    hence only SRU to impish and focal is needed.

  * This patches got discussed here:
    https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/

  * This not only fixes the SIGP processing, but is also important in terms of
    long term maintainability.

  __

  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-21 Thread Ubuntu Kernel Bot
This bug is awaiting verification that the linux/5.13.0-38.43 kernel in
-proposed solves the problem. Please test the kernel and update this bug
with the results. If the problem is solved, change the tag
'verification-needed-impish' to 'verification-done-impish'. If the
problem still exists, change the tag 'verification-needed-impish' to
'verification-failed-impish'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-impish

** Tags added: verification-needed-focal

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture definition
    and documentation.

  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
    was issued, while it should report a 'busy' condition until the CPU is
    really started.

  * The fix for this consists of three patches:
    812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
    435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
    4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
    whereas 812de04661c4 already landed via upstream stable,
    hence only two are left and need to be cherry-picked:

  [Fix]

  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390:
  Add a routine for setting userspace CPU state"

  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"

  [Test Case]

  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
    with Ubuntu Server 20.04 using kernel standard kernel 5.4.

  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.

  * The test itself is the following unit test:
    https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

  * The test and verification will be done by the IBM Z team.

  [Where problems could occur]

  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
    state control in general.

  * The SIGP handing (on s390x) can become broken, which could lead to
    incorrect (virtual) CPU states.

  * In worst case KVM can become broken on s390x entirely.

  * The modified code is all s390x specific QEMU/KVM code,
    no common code is touched.

  [Other]

  * The two remaining patches are upstream since 5.16,
    the first one already landed in 5.4 via upstream stable bug LP#1959701
    and in 5.13 via upstream stable bug LP#1960861.

  * The patches already landed in jammy (master-next) based on LP#1959735,
    hence only SRU to impish and focal is needed.

  * This patches got discussed here:
    https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/

  * This not only fixes the SIGP processing, but is also important in terms of
    long term maintainability.

  __

  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-20 Thread bugproxy
** Tags removed: targetmilestone-inin---
** Tags added: targetmilestone-inin2004

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture definition
    and documentation.

  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
    was issued, while it should report a 'busy' condition until the CPU is
    really started.

  * The fix for this consists of three patches:
    812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
    435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
    4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
    whereas 812de04661c4 already landed via upstream stable,
    hence only two are left and need to be cherry-picked:

  [Fix]

  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390:
  Add a routine for setting userspace CPU state"

  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"

  [Test Case]

  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
    with Ubuntu Server 20.04 using kernel standard kernel 5.4.

  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.

  * The test itself is the following unit test:
    https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

  * The test and verification will be done by the IBM Z team.

  [Where problems could occur]

  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
    state control in general.

  * The SIGP handing (on s390x) can become broken, which could lead to
    incorrect (virtual) CPU states.

  * In worst case KVM can become broken on s390x entirely.

  * The modified code is all s390x specific QEMU/KVM code,
    no common code is touched.

  [Other]

  * The two remaining patches are upstream since 5.16,
    the first one already landed in 5.4 via upstream stable bug LP#1959701
    and in 5.13 via upstream stable bug LP#1960861.

  * The patches already landed in jammy (master-next) based on LP#1959735,
    hence only SRU to impish and focal is needed.

  * This patches got discussed here:
    https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/

  * This not only fixes the SIGP processing, but is also important in terms of
    long term maintainability.

  __

  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-14 Thread Frank Heimes
** Changed in: ubuntu-z-systems
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture definition
    and documentation.

  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
    was issued, while it should report a 'busy' condition until the CPU is
    really started.

  * The fix for this consists of three patches:
    812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
    435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
    4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
    whereas 812de04661c4 already landed via upstream stable,
    hence only two are left and need to be cherry-picked:

  [Fix]

  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390:
  Add a routine for setting userspace CPU state"

  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"

  [Test Case]

  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
    with Ubuntu Server 20.04 using kernel standard kernel 5.4.

  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.

  * The test itself is the following unit test:
    https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

  * The test and verification will be done by the IBM Z team.

  [Where problems could occur]

  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
    state control in general.

  * The SIGP handing (on s390x) can become broken, which could lead to
    incorrect (virtual) CPU states.

  * In worst case KVM can become broken on s390x entirely.

  * The modified code is all s390x specific QEMU/KVM code,
    no common code is touched.

  [Other]

  * The two remaining patches are upstream since 5.16,
    the first one already landed in 5.4 via upstream stable bug LP#1959701
    and in 5.13 via upstream stable bug LP#1960861.

  * The patches already landed in jammy (master-next) based on LP#1959735,
    hence only SRU to impish and focal is needed.

  * This patches got discussed here:
    https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/

  * This not only fixes the SIGP processing, but is also important in terms of
    long term maintainability.

  __

  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-14 Thread Stefan Bader
** Changed in: linux (Ubuntu Impish)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Focal)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Impish)
   Status: In Progress => Fix Committed

** Changed in: linux (Ubuntu Focal)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  Fix Committed
Status in linux source package in Impish:
  Fix Committed

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture definition
    and documentation.

  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
    was issued, while it should report a 'busy' condition until the CPU is
    really started.

  * The fix for this consists of three patches:
    812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
    435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
    4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
    whereas 812de04661c4 already landed via upstream stable,
    hence only two are left and need to be cherry-picked:

  [Fix]

  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390:
  Add a routine for setting userspace CPU state"

  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"

  [Test Case]

  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
    with Ubuntu Server 20.04 using kernel standard kernel 5.4.

  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.

  * The test itself is the following unit test:
    https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/

  * The test and verification will be done by the IBM Z team.

  [Where problems could occur]

  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
    state control in general.

  * The SIGP handing (on s390x) can become broken, which could lead to
    incorrect (virtual) CPU states.

  * In worst case KVM can become broken on s390x entirely.

  * The modified code is all s390x specific QEMU/KVM code,
    no common code is touched.

  [Other]

  * The two remaining patches are upstream since 5.16,
    the first one already landed in 5.4 via upstream stable bug LP#1959701
    and in 5.13 via upstream stable bug LP#1960861.

  * The patches already landed in jammy (master-next) based on LP#1959735,
    hence only SRU to impish and focal is needed.

  * This patches got discussed here:
    https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/

  * This not only fixes the SIGP processing, but is also important in terms of
    long term maintainability.

  __

  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-03 Thread Frank Heimes
** Description changed:

  SRU Justification:
  ==
  
  [Impact]
  
- * The SIGP processing on KVM/s390x is incorrect and not fully conformant to
-   the 'Principles of Operations', the IBM Z architecture definition
-   and documentation.
+ * The SIGP processing on KVM/s390x is incorrect and not fully conform to
+   the 'Principles of Operations', the IBM Z architecture definition
+   and documentation.
  
  * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
-   was issued, while it should report a 'busy' condition until the CPU is
-   really started.
+   was issued, while it should report a 'busy' condition until the CPU is
+   really started.
  
  * The fix for this consists of three patches:
-   812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
-   435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
-   4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
-   whereas 812de04661c4 already landed via upstream stable,
-   hence only two are left and need to be cherry-picked:
+   812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
+   435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
+   4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
+   whereas 812de04661c4 already landed via upstream stable,
+   hence only two are left and need to be cherry-picked:
  
  [Fix]
  
  * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390: Add
  a routine for setting userspace CPU state"
  
  * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
  Simplify SIGP Set Arch handling"
  
  [Test Case]
  
  * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
-   with Ubuntu Server 20.04 using kernel standard kernel 5.4.
+   with Ubuntu Server 20.04 using kernel standard kernel 5.4.
  
  * Setup this LPAR as QEMU/KVM host and a focal VM as guest.
  
  * The test itself is the following unit test:
-   https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/
+   https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/
  
  * The test and verification will be done by the IBM Z team.
  
  [Where problems could occur]
  
- 
- 
  * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
-   state control in general.
+   state control in general.
  
  * The SIGP handing (on s390x) can become broken, which could lead to
-   incorrect (virtual) CPU states.
+   incorrect (virtual) CPU states.
  
  * In worst case KVM can become broken on s390x entirely.
  
  * The modified code is all s390x specific QEMU/KVM code,
-   no common code is touched.
+   no common code is touched.
  
  [Other]
  
  * The two remaining patches are upstream since 5.16,
-   the first one already landed in 5.4 via upstream stable bug LP#1959701
-   and in 5.13 via upstream stable bug LP#1960861.
+   the first one already landed in 5.4 via upstream stable bug LP#1959701
+   and in 5.13 via upstream stable bug LP#1960861.
  
  * The patches already landed in jammy (master-next) based on LP#1959735,
-   hence only SRU to impish and focal is needed.
+   hence only SRU to impish and focal is needed.
  
  * This patches got discussed here:
-   https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/
+   https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/
  
  * This not only fixes the SIGP processing, but is also important in terms of
-   long term maintainability.
+   long term maintainability.
  
  __
  
  Description:
     KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.
  
   The patches to fix this have already been picked for jammy/master-next:
  
  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
  
   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART
  
   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  In Progress
Status in linux source package in Impish:
  In Progress

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conform to
    the 'Principles of Operations', the IBM Z architecture 

[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-03 Thread Frank Heimes
SRU request submitted to the Ubuntu kernel team mailing list for impish and 
focal:
https://lists.ubuntu.com/archives/kernel-team/2022-March/thread.html#128449
Changing status to 'In Progress' for impish and focal.

** Changed in: linux (Ubuntu)
   Status: In Progress => Fix Released

** Changed in: linux (Ubuntu Focal)
   Status: New => In Progress

** Changed in: linux (Ubuntu Impish)
   Status: New => In Progress

** Changed in: ubuntu-z-systems
   Status: New => In Progress

** Description changed:

- Decription:
-KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.
+ SRU Justification:
+ ==
  
-  The patches to fix this have already been picked for jammy/master-next:
+ [Impact]
+ 
+ * The SIGP processing on KVM/s390x is incorrect and not fully conformant to
+   the 'Principles of Operations', the IBM Z architecture definition
+   and documentation.
+ 
+ * KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART
+   was issued, while it should report a 'busy' condition until the CPU is
+   really started.
+ 
+ * The fix for this consists of three patches:
+   812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
+   435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
+   4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
+   whereas 812de04661c4 already landed via upstream stable,
+   hence only two are left and need to be cherry-picked:
+ 
+ [Fix]
+ 
+ * 67cf68b6a5ccac8bc7dfef0a220b59af4c83fd2c 67cf68b6a5cc "KVM: s390: Add
+ a routine for setting userspace CPU state"
+ 
+ * 8eeba194a32e0f50329354a696baaa2e3d9accc5 8eeba194a32e "KVM: s390:
+ Simplify SIGP Set Arch handling"
+ 
+ [Test Case]
+ 
+ * Install an LPAR on IBM Z (z13+) or LinuxONE (Emperor / Rockhopper)
+   with Ubuntu Server 20.04 using kernel standard kernel 5.4.
+ 
+ * Setup this LPAR as QEMU/KVM host and a focal VM as guest.
+ 
+ * The test itself is the following unit test:
+   https://lore.kernel.org/r/20220303210425.1693486-1-far...@linux.ibm.com/
+ 
+ * The test and verification will be done by the IBM Z team.
+ 
+ [Where problems could occur]
+ 
+ 
+ 
+ * A broken patch could harm KVM ioctl on s390x or the (virtual) CPU
+   state control in general.
+ 
+ * The SIGP handing (on s390x) can become broken, which could lead to
+   incorrect (virtual) CPU states.
+ 
+ * In worst case KVM can become broken on s390x entirely.
+ 
+ * The modified code is all s390x specific QEMU/KVM code,
+   no common code is touched.
+ 
+ [Other]
+ 
+ * The two remaining patches are upstream since 5.16,
+   the first one already landed in 5.4 via upstream stable bug LP#1959701
+   and in 5.13 via upstream stable bug LP#1960861.
+ 
+ * The patches already landed in jammy (master-next) based on LP#1959735,
+   hence only SRU to impish and focal is needed.
+ 
+ * This patches got discussed here:
+   https://lore.kernel.org/all/20211008203112.1979843-2-far...@linux.ibm.com/
+ 
+ * This not only fixes the SIGP processing, but is also important in terms of
+   long term maintainability.
+ 
+ __
+ 
+ Description:
+    KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.
+ 
+  The patches to fix this have already been picked for jammy/master-next:
  
  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"
  
-  For Ubuntu 20.04 the focal/master-next already contains:
+  For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART
  
-  so we additionally need the following two upstream commits in focal
+  so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

** Changed in: linux (Ubuntu Focal)
 Assignee: (unassigned) => Canonical Kernel Team (canonical-kernel-team)

** Changed in: linux (Ubuntu Impish)
 Assignee: (unassigned) => Canonical Kernel Team (canonical-kernel-team)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  In Progress
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Focal:
  In Progress
Status in linux source package in Impish:
  In Progress

Bug description:
  SRU Justification:
  ==

  [Impact]

  * The SIGP processing on KVM/s390x is incorrect and not fully conformant to
the 'Principles of Operations', the IBM Z 

[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-03 Thread Frank Heimes
Many thx, Eric!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  New
Status in linux source package in Impish:
  New

Bug description:
  Decription:
 KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-02 Thread Frank Heimes
Kernel test builds:
linux - 5.13.0-32.35~lp1962578
linux - 5.4.0-102.115~lp1962578
that incl. the commits mentioned above are available here:
https://launchpad.net/~fheimes/+archive/ubuntu/lp1962578

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  New
Status in linux source package in Impish:
  New

Bug description:
  Decription:
 KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1962578] Re: [UBUNTU 20.04] Fix SIGP processing on KVM/s390

2022-03-02 Thread Frank Heimes
** Summary changed:

- [UBUNTU 20.04] Fix SIGP processing (KVM: s390)
+ [UBUNTU 20.04] Fix SIGP processing on KVM/s390

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1962578

Title:
  [UBUNTU 20.04] Fix SIGP processing on KVM/s390

Status in Ubuntu on IBM z Systems:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  New
Status in linux source package in Impish:
  New

Bug description:
  Decription:
 KVM: SIGP RESTART is reporting a CPU state 'stopped' after SIGP RESTART 
was issued, while it should report a 'busy' condition until the CPU is really 
started.

   The patches to fix this have already been picked for jammy/master-
  next:

  812de04661c4 "KVM: s390: Clarify SIGP orders versus STOP/RESTART"
  435d17955519 "KVM: s390: Add a routine for setting userspace CPU state"
  4563bcad46bf "KVM: s390: Simplify SIGP Set Arch handling"

   For Ubuntu 20.04 the focal/master-next already contains:
  d74b0d2d38d3 KVM: s390: Clarify SIGP orders versus STOP/RESTART

   so we additionally need the following two upstream commits in focal
  67cf68b6a5cc KVM: s390: Add a routine for setting userspace CPU state
  8eeba194a32e KVM: s390: Simplify SIGP Set Arch handling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1962578/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp