From: Paul Mackerras Date: Thu, 7 May 2020 00:17:08 +0000 (+1000) Subject: MMU: Remove software-loaded dTLB mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dee3783d79c40d6a9e986e2d032ae0afad3064ff;p=microwatt.git 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 --- 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;