[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200904130044.GA7842@infradead.org>
Date: Fri, 4 Sep 2020 14:00:44 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Qiu Wenbo <qiuwenbo@...inos.com.cn>
Cc: Anup Patel <anup@...infault.org>,
Christoph Hellwig <hch@...radead.org>,
Palmer Dabbelt <palmer@...belt.com>,
linux-riscv <linux-riscv@...ts.infradead.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [GIT PULL] RISC-V Fixes for 5.9-rc2
On Fri, Sep 04, 2020 at 08:58:25PM +0800, Qiu Wenbo wrote:
> I can confirm this patch also breaks K210 support. It seems that
> csr_read(CSR_TIME) will trigger an illegal instruction exception on K210.
CSR_TIME is trapped by just about every implementation I know (which is
explicitly allowed by the spec). That is why we should never use it
from common M-mode code.
Powered by blists - more mailing lists