Bug 1330684

Summary: Back-port patches of smaller features for RHELSA 7.3
Product: Red Hat Enterprise Linux 7 Reporter: Andrew Jones <drjones>
Component: kernel-aarch64Assignee: Wei Huang (AMD) <wehuang>
kernel-aarch64 sub component: KVM QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED NOTABUG Docs Contact:
Severity: unspecified    
Priority: unspecified CC: chayang, drjones, jfeeney, juzhang, knoel, virt-bugs, virt-maint, wehuang
Version: 7.3Keywords: OtherQA
Target Milestone: rc   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1326928 Environment:
Last Closed: 2016-06-14 12:26:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1326928    
Bug Blocks: 1174832    

Description Andrew Jones 2016-04-26 17:25:56 UTC
+++ This bug was initially created as a clone of Bug #1326928 +++

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

--- Additional comment from RHEL Product and Program Management on 2016-04-13 21:16:16 CEST ---

Since this bug report was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from Andrew Jones on 2016-04-18 19:32:54 CEST ---

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

Comment 1 Andrew Jones 2016-04-26 17:28:38 UTC
This bug is cloned from bug 1326928, which addressed several backports. The commits I listed (which are also listed in comment 0 of this bug) still need to be backported though.

Comment 2 Andrew Jones 2016-06-14 12:26:14 UTC
Closing, as we will now address each bug/feature separately for 7.3, rather than with "mini-rebase" bugs.

Comment 3 Andrew Jones 2016-06-21 09:26:39 UTC
(In reply to Andrew Jones from comment #2)
> Closing, as we will now address each bug/feature separately for 7.3, rather
> than with "mini-rebase" bugs.

Actually, to be more specific for the plans for the commits listed in this bug

57c841f131ef2 arm/arm64: KVM: Handle out-of-RAM cache maintenance as a NOP
1c5631c73fc22 KVM: arm/arm64: Handle forward time correction gracefully

were posted under bug 1326928

We can live without 

b2740d3533a3f KVM: ensure __gfn_to_pfn_memslot initializes *writable

as it just silences a static checker. The context we can bring as needed.

6b6de68c63eda KVM: halt_polling: improve grow/shrink setting

is currently unnecessary.

I'll live this BZ closed as not-a-bug, but could as well close it as current-release, as we got what we wanted already.