[SPARC64]: Don't use ASI_QUAD_LDD_PHYS on SUN4V.
Need to use ASI_QUAD_LDD_PHYS_4V instead. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -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:
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user