Merge pull request #326 from antonblanchard/dcache-nc-fix

dcache: Loads from non-cacheable PTEs load entire 64 bits
orange-crab-freq
Paul Mackerras 3 years ago committed by GitHub
commit 77d9891d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1363,7 +1363,7 @@ begin
req.data := d_in.data; req.data := d_in.data;
end if; end if;
-- Select all bytes for dcbz and for cacheable loads -- Select all bytes for dcbz and for cacheable loads
if r0.req.dcbz = '1' or (r0.req.load = '1' and r0.req.nc = '0') then if r0.req.dcbz = '1' or (r0.req.load = '1' and r0.req.nc = '0' and perm_attr.nocache = '0') then
req.byte_sel := (others => '1'); req.byte_sel := (others => '1');
else else
req.byte_sel := r0.req.byte_sel; req.byte_sel := r0.req.byte_sel;

Loading…
Cancel
Save