biriscv icon indicating copy to clipboard operation
biriscv copied to clipboard

Bug: 'csr_swap' type operations on SATP register do not work

Open ultraembedded opened this issue 4 years ago • 0 comments

Issue: Reading and writing (i.e. csr_swap) the CSR SATP register in the same operation will result in a 0 being returned regardless of the current SATP register contents. Normally just writing the register, or just reading the register is fine.

This occurs due to the pipeline flush caused by this event which assumes it can squash the writeback result.

This is a fairly low priority issue as RISC-V Linux port does not try to do this operation.

ultraembedded avatar Mar 14 '20 15:03 ultraembedded