Important KVM fixes for ppc64el

Bug #1759045 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
Fix Released
Critical
Canonical Kernel Team
linux (Ubuntu)
Fix Released
Critical
Seth Forshee
Bionic
Fix Released
Critical
Seth Forshee

Bug Description

Hi Canonical,

There are some critical bugs for KVM that didn't make kernel 4.15 and we must have then included in 18.04 kernel. They are:

* Allow HPT guests on P9 DD2.2 without requiring indep_threads_mode=N.

6964e6a4e489 KVM: PPC: Book3S HV: Do SLB load/unload with guest LPCR value loaded
cda4a1473313 KVM: PPC: Book3S HV: Fix duplication of host SLB entries (needed once 6964e6a4e489 is in)
00608e1f007e KVM: PPC: Book3S HV: Allow HPT and radix on the same core for POWER9 v2.2

* Memory management fixes.

c3856aeb2940 KVM: PPC: Book3S HV: Fix handling of large pages in radix page fault handler
debd574f4195 KVM: PPC: Book3S HV: Fix VRMA initialization with 2MB or 1GB memory backing

* Emulation of VMX loads and stores for MMIO.

09f984961c13 KVM: PPC: Book3S: Add MMIO emulation for VMX instructions
6df3877fc962 KVM: PPC: Book3S: Fix compile error that occurs with some gcc versions (needed once 09f984961c13 is in)

* Other important fixes.

05f2bb0313a2 KVM: PPC: Book3S HV: Fix handling of secondary HPTEG in HPT resizing code
790a9df5fbef KVM: PPC: Book3S HV: Make HPT resizing work on POWER9
a8b48a4dccea KVM: PPC: Book3S HV: Fix trap number return from __kvmppc_vcore_entry

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-166067 severity-high targetmilestone-inin1804
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → linux (Ubuntu)
Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
importance: Undecided → High
assignee: nobody → Canonical Kernel Team (canonical-kernel-team)
status: New → Triaged
tags: added: triage-g
Changed in ubuntu-power-systems:
importance: High → Critical
Changed in linux (Ubuntu):
importance: Undecided → Critical
status: New → Triaged
assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team)
tags: added: kernel-da-key
Seth Forshee (sforshee)
Changed in linux (Ubuntu Bionic):
assignee: Canonical Kernel Team (canonical-kernel-team) → Seth Forshee (sforshee)
status: Triaged → In Progress
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-03-27 16:57 EDT-------
Hi,

I have reordered and applied cleanly all and the source it's here:

https://github.com/walbon/ubuntu-bionic/commits/bug166067

Patchset list:

6ec1b83e114d KVM: PPC: Book3S HV: Fix duplication of host SLB entries
b2d6a40b332b KVM: PPC: Book3S HV: Fix trap number return from __kvmppc_vcore_entry
cbad716a019c KVM: PPC: Book3S HV: Fix VRMA initialization with 2MB or 1GB memory backing
fea273650947 KVM: PPC: Book3S HV: Fix handling of large pages in radix page fault handler
43fcdb842d83 KVM: PPC: Book3S: Fix compile error that occurs with some gcc versions
871f95f1f9dd KVM: PPC: Book3S HV: Fix handling of secondary HPTEG in HPT resizing code
504da52340ed KVM: PPC: Book3S: Add MMIO emulation for VMX instructions
1fa1e8c6295a KVM: PPC: Book3S HV: Make HPT resizing work on POWER9
7b6698f68033 KVM: PPC: Book3S HV: Allow HPT and radix on the same core for POWER9 v2.2
6e76e5f3e8c6 KVM: PPC: Book3S HV: Do SLB load/unload with guest LPCR value loaded

Revision history for this message
Seth Forshee (sforshee) wrote :

We already had a few of these patches; the rest have been committed to bionic/master-next.

Changed in linux (Ubuntu Bionic):
status: In Progress → Fix Committed
Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (40.4 KiB)

This bug was fixed in the package linux - 4.15.0-15.16

---------------
linux (4.15.0-15.16) bionic; urgency=medium

  * linux: 4.15.0-15.16 -proposed tracker (LP: #1761177)

  * FFe: Enable configuring resume offset via sysfs (LP: #1760106)
    - PM / hibernate: Make passing hibernate offsets more friendly

  * /dev/bcache/by-uuid links not created after reboot (LP: #1729145)
    - SAUCE: (no-up) bcache: decouple emitting a cached_dev CHANGE uevent

  * Ubuntu18.04:POWER9:DD2.2 - Unable to start a KVM guest with default machine
    type(pseries-bionic) complaining "KVM implementation does not support
    Transactional Memory, try cap-htm=off" (kvm) (LP: #1752026)
    - powerpc: Use feature bit for RTC presence rather than timebase presence
    - powerpc: Book E: Remove unused CPU_FTR_L2CSR bit
    - powerpc: Free up CPU feature bits on 64-bit machines
    - powerpc: Add CPU feature bits for TM bug workarounds on POWER9 v2.2
    - powerpc/powernv: Provide a way to force a core into SMT4 mode
    - KVM: PPC: Book3S HV: Work around transactional memory bugs in POWER9
    - KVM: PPC: Book3S HV: Work around XER[SO] bug in fake suspend mode
    - KVM: PPC: Book3S HV: Work around TEXASR bug in fake suspend state

  * Important Kernel fixes to be backported for Power9 (kvm) (LP: #1758910)
    - powerpc/mm: Fixup tlbie vs store ordering issue on POWER9

  * Ubuntu 18.04 - IO Hang on some namespaces when running HTX with 16
    namespaces (Bolt / NVMe) (LP: #1757497)
    - powerpc/64s: Fix lost pending interrupt due to race causing lost update to
      irq_happened

  * fwts-efi-runtime-dkms 18.03.00-0ubuntu1: fwts-efi-runtime-dkms kernel module
    failed to build (LP: #1760876)
    - [Packaging] include the retpoline extractor in the headers

linux (4.15.0-14.15) bionic; urgency=medium

  * linux: 4.15.0-14.15 -proposed tracker (LP: #1760678)

  * [Bionic] mlx4 ETH - mlnx_qos failed when set some TC to vendor
    (LP: #1758662)
    - net/mlx4_en: Change default QoS settings

  * AT_BASE_PLATFORM in AUXV is absent on kernels available on Ubuntu 17.10
    (LP: #1759312)
    - powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features

  * Bionic update to 4.15.15 stable release (LP: #1760585)
    - net: dsa: Fix dsa_is_user_port() test inversion
    - openvswitch: meter: fix the incorrect calculation of max delta_t
    - qed: Fix MPA unalign flow in case header is split across two packets.
    - tcp: purge write queue upon aborting the connection
    - qed: Fix non TCP packets should be dropped on iWARP ll2 connection
    - sysfs: symlink: export sysfs_create_link_nowarn()
    - net: phy: relax error checking when creating sysfs link netdev->phydev
    - devlink: Remove redundant free on error path
    - macvlan: filter out unsupported feature flags
    - net: ipv6: keep sk status consistent after datagram connect failure
    - ipv6: old_dport should be a __be16 in __ip6_datagram_connect()
    - ipv6: sr: fix NULL pointer dereference when setting encap source address
    - ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state
    - mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic
    - net: phy: Tell caller result ...

Changed in linux (Ubuntu Bionic):
status: Fix Committed → Fix Released
Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.