RHELSA 7.3 will be based on Linux 4.5. We are asked to backport KVM patches from Linux 4.6 and 4.7 (whichever versions applicable). So far we have divided the target patches based on sub-components (e.g. PMU, VHE, VGIC optimization, etc) and we have created BZs for each sub-component. There are still smaller patches that are required for RHELSA 7.3. This BZ is created to capture all of them. Related: BZ1260100, BZ1290593, BZ1326893, BZ1326920
More fixes to take 57c841f131ef2 arm/arm64: KVM: Handle out-of-RAM cache maintenance as a NOP 1c5631c73fc22 KVM: arm/arm64: Handle forward time correction gracefully b2740d3533a3f KVM: ensure __gfn_to_pfn_memslot initializes *writable Patches I think we should take for context 13720a56edbd8 arm64: KVM: Move kvm/hyp/hyp.h to include/asm/kvm_hyp.h 6d50d54cd80cb arm64: KVM: Move vgic-v2 and timer save/restore to virt/kvm/arm/hyp 21a4179ce0a12 arm64: KVM: Move __cpu_init_stage2 after kvm_call_hyp 22b39ca3f22ac arm64: KVM: Move kvm_call_hyp back to its original localtion A patch that isn't a fix, but looks like a good idea 6b6de68c63eda KVM: halt_polling: improve grow/shrink setting
Moving this bug back to ON_QA and hopefully we're done with it.
Note, we changed our minds about backporting b2740d3533a3f, 22b39ca3f22ac, and 6b6de68c63eda from the list in comment 2, so they are not in the patch series posted for this BZ.
Verified this by running some basic tests with libvirt/kvm on hp-moonshot-02-c11.khw.lab.eng.bos.redhat.com, kernel 4.5.0-0.48.el7.aarch64. (In reply to Andrew Jones from comment #2) > 57c841f131ef2 arm/arm64: KVM: Handle out-of-RAM cache maintenance as a NOP > 1c5631c73fc22 KVM: arm/arm64: Handle forward time correction gracefully These were ported as the following new commits to rhelsa7: ebc5d8e arm/arm64: KVM: Handle out-of-RAM cache maintenance as a NOP a14c9b6 KVM: arm/arm64: Handle forward time correction gracefully These have been sanity tested by installing and running RHEL on a guest system created with virt-install on the moonshot. To test 1c5631c73fc22, time adjustments were forced in the host with "date -s". The guest was observed to keep running, no warnings or unexpected behaviour was observed. [root@hp-moonshot-02-c11 ~]# uname -r 4.5.0-0.48.el7.aarch64 [root@hp-moonshot-02-c11 ~]# systemctl stop chronyd [root@hp-moonshot-02-c11 ~]# date Tue Aug 2 10:11:02 EDT 2016 [root@hp-moonshot-02-c11 ~]# date -s 08:00 Tue Aug 2 08:00:00 EDT 2016 [root@hp-moonshot-02-c11 ~]# date -s 12:00 Tue Aug 2 12:00:00 EDT 2016 [root@hp-moonshot-02-c11 ~]# systemctl restart chronyd [root@hp-moonshot-02-c11 ~]# virsh list Id Name State ---------------------------------------------------- 5 rhel-7.3 running [root@hp-moonshot-02-c11 ~]# date Tue Aug 2 10:13:59 EDT 2016 [root@hp-moonshot-02-c11 ~]# virsh console rhel-7.3 Connected to domain rhel-7.3 Escape character is ^] [root@localhost ~]# uname -r 4.5.0-0.48.el7.aarch64 > b2740d3533a3f KVM: ensure __gfn_to_pfn_memslot initializes *writable This patch was dropped per comment #5. > 13720a56edbd8 arm64: KVM: Move kvm/hyp/hyp.h to include/asm/kvm_hyp.h > 6d50d54cd80cb arm64: KVM: Move vgic-v2 and timer save/restore to > virt/kvm/arm/hyp > 21a4179ce0a12 arm64: KVM: Move __cpu_init_stage2 after kvm_call_hyp These were ported as the following new commits to rhelsa7: 70777c0 arm64: KVM: Move kvm/hyp/hyp.h to include/asm/kvm_hyp.h 2268d32 arm64: KVM: Move vgic-v2 and timer save/restore to virt/kvm/arm/hyp c111c3c arm64: perf: Move PMU register related defines to asm/perf_event.h As they are only moving code around, they were only verified to be present in our rhelsa7 tree. > 22b39ca3f22ac arm64: KVM: Move kvm_call_hyp back to its original localtion > 6b6de68c63eda KVM: halt_polling: improve grow/shrink setting These were also dropped per comment #5.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2145.html