[PATCH] fsl-booke: declare tlbcam_index and num_tlbcam_entries for use in c file

Trent Piepho tpiepho at freescale.com
Thu Dec 11 01:04:28 EST 2008


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.



More information about the Linuxppc-dev mailing list