> -----Original Message----- > From: Piepho Trent-B16872 > Sent: Wednesday, December 10, 2008 10:04 PM > To: Liu Yu-B13201 > Cc: linuxppc-dev@xxxxxxxxxx; kvm-ppc@xxxxxxxxxxxxxxx; Wood > Scott-B07421; Gala Kumar-B11780 > Subject: Re: [PATCH] fsl-booke: declare tlbcam_index and > num_tlbcam_entries for use in c file > > On Wed, 10 Dec 2008, Liu Yu wrote: > > KVM on E500 platform currently utilize TLB1 entries without > bothering host, > > that is using unused TLB1 entries. > > > > So, KVM needs to read tlbcam_index and num_tlbcam_entries > to know exactly > > which TLB1 entry is unused. > > Do you need really need num_tlbcam_entries? It's completely > unused and > I've already sent out a patch to remove it. If you want to know how > big TLB1 is, just read it from SPRN_TLB1CFG. > Ah, I missed your patch. Certainly I can use SPRN_TLB1CFG. I thought if kernel provide a way to get it, then I would rather get it from kernel than from hardware. -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html