On 20.01.2012, at 21:40, Scott Wood wrote:
> On 01/19/2012 09:17 PM, Alexander Graf wrote:
>> +case 3:
>> +/* flush by pid and ea */
>> +for (i = 0; i < BOOKE206_MAX_TLBN; i++) {
>> +int ways = booke206_tlb_ways(env, i);
>> +
>> +for (j = 0; j < ways; j
On 01/19/2012 09:17 PM, Alexander Graf wrote:
> +case 3:
> +/* flush by pid and ea */
> +for (i = 0; i < BOOKE206_MAX_TLBN; i++) {
> +int ways = booke206_tlb_ways(env, i);
> +
> +for (j = 0; j < ways; j++) {
> +tlb = booke206_get_tlbm(env,
The PowerPC 2.06 BookE ISA defines an opcode called "tlbilx" which is used
to flush TLB entries. It's the recommended way of flushing in virtualized
environments.
So far we got away without implementing it, but Linux for e500mc uses this
instruction, so we better add it :).
Signed-off-by: Alexand