[PATCH] RISC-V: Resurrect the MMIO timer implementation for M-mode systems
Damien Le Moal
Damien.LeMoal at wdc.com
Tue Sep 15 03:01:46 EDT 2020
On 2020/09/15 15:51, hch at infradead.org wrote:
> 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.
OK. Thanks. I will keep digging too when I have time.
--
Damien Le Moal
Western Digital Research
More information about the linux-riscv
mailing list