Re: [PATCH v3] riscv: Using CSR numbers to access CSRs

2019-08-13 Thread Paul Walmsley
On Wed, 7 Aug 2019, Bin Meng wrote: > Since commit a3182c91ef4e ("RISC-V: Access CSRs using CSR numbers"), > we should prefer accessing CSRs using their CSR numbers, but there > are several leftovers like sstatus / sptbr we missed. > > Signed-off-by: Bin Meng > Reviewed-by: Anup Patel Thanks,

Re: [PATCH v3] riscv: Using CSR numbers to access CSRs

2019-08-12 Thread Christoph Hellwig
On Wed, Aug 07, 2019 at 09:13:38AM -0700, Bin Meng wrote: > Since commit a3182c91ef4e ("RISC-V: Access CSRs using CSR numbers"), > we should prefer accessing CSRs using their CSR numbers, but there > are several leftovers like sstatus / sptbr we missed. > > Signed-off-by: Bin Meng > Reviewed-by:

[PATCH v3] riscv: Using CSR numbers to access CSRs

2019-08-07 Thread Bin Meng
Since commit a3182c91ef4e ("RISC-V: Access CSRs using CSR numbers"), we should prefer accessing CSRs using their CSR numbers, but there are several leftovers like sstatus / sptbr we missed. Signed-off-by: Bin Meng Reviewed-by: Anup Patel --- Changes in v3: - remove the SoB tag per request Cha