aboutsummaryrefslogtreecommitdiff
path: root/include/pcmcia
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-01-26 18:48:16 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2007-01-26 18:56:01 -0800
commit86d43258bcad2068744c85181b97bb35ab27a74d (patch)
tree3f74294f516eeae1fd307b5e67b0dced85ee9968 /include/pcmcia
parentc229ec5dae58b218cab0bc1b36a7647b0ec4900f (diff)
[SPARC64]: Set g4/g5 properly in sun4v dtlb-prot handling.
Mirror the logic in the sun4u handler, we have to update both registers even when we branch out to window fault fixup handling. The way it works is that if we are in etrap processing a fault already, g4/g5 holds the original fault information. If we take a window spill fault while doing etrap, then we put the window spill fault info into g4/g5 and this is what the top-level fault handler ends up processing first. Then we retry the originally faulting instruction, and process the original fault at that time. This is all necessary because of how constrained the trap registers are in these code paths. These cases trigger very rarely, so even if there is some performance implication it's doesn't happen very often. In fact the rarity is why it took so long to trigger and find this particular bug. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions