Commit c7f81d42 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Don't use ASI_QUAD_LDD_PHYS on SUN4V.

Need to use ASI_QUAD_LDD_PHYS_4V instead.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a7b31bac
...@@ -57,7 +57,7 @@ sun4v_itlb_miss: ...@@ -57,7 +57,7 @@ sun4v_itlb_miss:
COMPUTE_TSB_PTR(%g1, %g4, %g3, %g7) COMPUTE_TSB_PTR(%g1, %g4, %g3, %g7)
/* Load TSB tag/pte into %g2/%g3 and compare the tag. */ /* Load TSB tag/pte into %g2/%g3 and compare the tag. */
ldda [%g1] ASI_QUAD_LDD_PHYS, %g2 ldda [%g1] ASI_QUAD_LDD_PHYS_4V, %g2
cmp %g2, %g6 cmp %g2, %g6
sethi %hi(PAGE_EXEC), %g7 sethi %hi(PAGE_EXEC), %g7
ldx [%g7 + %lo(PAGE_EXEC)], %g7 ldx [%g7 + %lo(PAGE_EXEC)], %g7
...@@ -104,7 +104,7 @@ sun4v_dtlb_miss: ...@@ -104,7 +104,7 @@ sun4v_dtlb_miss:
COMPUTE_TSB_PTR(%g1, %g4, %g3, %g7) COMPUTE_TSB_PTR(%g1, %g4, %g3, %g7)
/* Load TSB tag/pte into %g2/%g3 and compare the tag. */ /* Load TSB tag/pte into %g2/%g3 and compare the tag. */
ldda [%g1] ASI_QUAD_LDD_PHYS, %g2 ldda [%g1] ASI_QUAD_LDD_PHYS_4V, %g2
cmp %g2, %g6 cmp %g2, %g6
bne,a,pn %xcc, tsb_miss_page_table_walk bne,a,pn %xcc, tsb_miss_page_table_walk
mov FAULT_CODE_ITLB, %g3 mov FAULT_CODE_ITLB, %g3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment