Re: [PATCH 2/30] MIPS: Export pgd/pmd symbols for KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 06, 2017 at 01:32:34AM +0000, James Hogan wrote:

> Export pgd_init(), pmd_init(), invalid_pmd_table and
> tlbmiss_handler_setup_pgd to GPL kernel modules so that MIPS KVM can use
> the inline page table management functions and switch between page
> tables:
> 
> - pgd_init() is used inline by pgd_alloc(), which KVM will use to
>   allocate page directory tables for GVA mappings.
> 
> - pmd_init() will be used directly by KVM to initialise newly allocated
>   pmd tables with invalid lower level table pointers.
> 
> - invalid_pmd_table is used by pud_present(), pud_none(), and
>   pud_clear(), which KVM will use to test and clear pud entries.
> 
> - tlbmiss_handler_setup_pgd() will be called by KVM entry code to switch
>   to the appropriate GVA page tables.
> 
> Signed-off-by: James Hogan <james.hogan@xxxxxxxxxx>
> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
> Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> Cc: "Radim Krčmář" <rkrcmar@xxxxxxxxxx>
> Cc: linux-mips@xxxxxxxxxxxxxx
> Cc: kvm@xxxxxxxxxxxxxxx

Acked-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

  Ralf
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux