From dee3783d79c40d6a9e986e2d032ae0afad3064ff Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Thu, 7 May 2020 10:17:08 +1000 Subject: [PATCH] MMU: Remove software-loaded dTLB mode This removes the hack where the tlbie instruction could be used to load entries directly into the dTLB, because we don't report the correct DSISR values for accesses that hit software-loaded dTLB entries and have privilege or permission errors. Signed-off-by: Paul Mackerras --- dcache.vhdl | 2 -- 1 file changed, 2 deletions(-) diff --git a/dcache.vhdl b/dcache.vhdl index ed593e8..b75d91f 100644 --- a/dcache.vhdl +++ b/dcache.vhdl @@ -586,8 +586,6 @@ begin if r0_valid = '1' and r0.tlbie = '1' then if r0.req.addr(11 downto 10) /= "00" then tlbia := '1'; - elsif r0.req.addr(9) = '1' then - tlbwe := '1'; else tlbie := '1'; end if;