Re: [PATCH 02/13] powerpc/64: Provide functions for accessing POWER9 partition table

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

 



On Fri, Nov 18, 2016 at 07:57:30PM +0530, Aneesh Kumar K.V wrote:
> Paul Mackerras <paulus@xxxxxxxxxx> writes:
>  +
> > +	/* Global flush of TLBs and partition table caches for this lpid */
> > +	asm volatile("ptesync");
> > +	asm volatile(PPC_TLBIE_5(%0,%1,2,0,0) : : "r"(0x800), "r" (lpid));
> > +	asm volatile("eieio; tlbsync; ptesync" : : : "memory");
> > +}
> 
> 
> It would be nice to convert that 0x800 to a documented IS value or better use
> radix__flush_tlb_pid() ?

Well, not radix__flush_tlb_pid - this isn't radix and it isn't a PID
flush.  I could use TLBIEL_INVAL_SET_LPID except the name implies it's
for tlbiel and this is a tlbie.

Paul.
--
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