target/hppa: Only use EXCP_DTLB_MISS
Unknown why this works, but if we return EXCP_ITLB_MISS we will triple-fault the first userland instruction fetch. Is it something to do with having a combined I/DTLB? Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
43e056522f
commit
46559e8184
@ -96,7 +96,9 @@ int hppa_get_physical_address(CPUHPPAState *env, vaddr addr, int mmu_idx,
|
|||||||
if (ent == NULL || !ent->entry_valid) {
|
if (ent == NULL || !ent->entry_valid) {
|
||||||
phys = 0;
|
phys = 0;
|
||||||
prot = 0;
|
prot = 0;
|
||||||
ret = (type & PAGE_EXEC ? EXCP_ITLB_MISS : EXCP_DTLB_MISS);
|
/* ??? Unconditionally report data tlb miss,
|
||||||
|
even if this is an instruction fetch. */
|
||||||
|
ret = EXCP_DTLB_MISS;
|
||||||
goto egress;
|
goto egress;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user