[PATCH] RISC-V: Resurrect the MMIO timer implementation for M-mode systems

hch at infradead.org hch at infradead.org
Tue Sep 15 02:51:38 EDT 2020


On Tue, Sep 15, 2020 at 06:50:24AM +0000, Damien Le Moal wrote:
> On 2020/09/15 14:47, Christoph Hellwig wrote:
> > I won't have time to set up the K210, but this fixes the timer issues
> > on older Qemu versions that don't implement the time CSR.  Although I
> > also need to revert the binfmt_flat patch to actually get to userspace.
> 
> So revert is needed ? Digging in the flatbin format, I do not see why the offset
> you removed would be needed, and it does not seem to affect other arch anyway.
> So I am really suspecting a problem with riscv uclibcb or elf2flt, but can't
> quite yet figure out what may be wrong there.

I did not have time to find out if what we did in RISC-V nommu was
correct or wrong.  But to get my existing userspace to work I had to
revert the revert.  I'll try to find some time to dig into the binfmt
flat issue and elf2flt soon.



More information about the linux-riscv mailing list