[PATCH kernel] KVM: PPC: Create a virtual-mode only TCE table handlers

Paolo Bonzini pbonzini at redhat.com
Fri Mar 18 20:57:58 AEDT 2016



On 18/03/2016 10:16, Paul Mackerras wrote:
> On Fri, Mar 18, 2016 at 01:50:42PM +1100, Alexey Kardashevskiy wrote:
>> Upcoming in-kernel VFIO acceleration needs different handling in real
>> and virtual modes which makes it hard to support both modes in
>> the same handler.
>>
>> This creates a copy of kvmppc_rm_h_stuff_tce and kvmppc_rm_h_put_tce
>> in addition to the existing kvmppc_rm_h_put_tce_indirect.
>>
>> This also fixes linker breakage when only PR KVM was selected (leaving
>> HV KVM off): the kvmppc_h_put_tce/kvmppc_h_stuff_tce functions
>> would not compile at all and the linked would fail.
>>
>> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
> 
> Acked-by: Paul Mackerras <paulus at samba.org>
> 
> Paolo, will you take this directly, or do you want me to generate
> a pull request?

I can take it directly.

Paolo


More information about the Linuxppc-dev mailing list