Skip to contentSkip to conversation

kvm/e500: Add shadow id mappings

PATCH In review Liu Yu 2 participants 3 messages Apr 27, 2009

lore
Share & tools
lore

Liu Yu

author
#0 lore raw

cover kvm/e500: Add shadow id mappings

Although these patches are still needed some cleanup, I'd like to send them for review.

patch 1: remove shadow TLB array. so that we won't suffer coherence issue
when apply shadow id mappings.
patch 2: add shadow id mappings
patch 3: add tlb0 entry invalidate.
Although it was fine without it, it's a bug we didn't add it before.

The code is simply tested on MPC8572(duel core) by startup 3 VM simultaneous.

Havent done any performance test.

#1 lore raw

Rahul,

I wonder if NetBSD use E500's PID1 or PID2?
If so these code may not be enough to make NetBSD's mm happy.

Quoted 31 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Liu Yu-B13201
Sent: Monday, April 27, 2009 2:59 PM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH 0/3] kvm/e500: Add shadow id mappings

Although these patches are still needed some cleanup, I'd like to send them for review.

patch 1: remove shadow TLB array. so that we won't suffer coherence issue
when apply shadow id mappings.
patch 2: add shadow id mappings
patch 3: add tlb0 entry invalidate.
Although it was fine without it, it's a bug we
didn't add it before.

The code is simply tested on MPC8572(duel core)
by startup 3 VM simultaneous.

Havent done any performance test.

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Liu Yu

Liu, Only PID0 is being used, PID1 and PID2 are unused

Quoted 45 lines

-----Original Message-----
From: Liu Yu-B13201 [mailto:[email protected]]
Sent: Monday, April 27, 2009 12:20 AM
To: Liu Yu-B13201; [email protected]
Cc: [email protected]; Rahul Kulkarni
Subject: RE: [PATCH 0/3] kvm/e500: Add shadow id mappings

Rahul,

I wonder if NetBSD use E500's PID1 or PID2?
If so these code may not be enough to make NetBSD's mm happy.

Quoted 31 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Liu Yu-B13201
Sent: Monday, April 27, 2009 2:59 PM
To: [email protected]
Cc: [email protected]; [email protected]
Subject: [PATCH 0/3] kvm/e500: Add shadow id mappings

Although these patches are still needed some cleanup, I'd like to send them for review.

patch 1: remove shadow TLB array. so that we won't suffer coherence issue
when apply shadow id mappings.
patch 2: add shadow id mappings
patch 3: add tlb0 entry invalidate.
Although it was fine without it, it's a bug we
didn't add it before.

The code is simply tested on MPC8572(duel core)
by startup 3 VM simultaneous.

Havent done any performance test.

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html