[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190320234858.GA5304@infradead.org>
Date: Wed, 20 Mar 2019 16:48:58 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Alistair Francis <Alistair.Francis@....com>
Cc: "palmer@...ive.com" <palmer@...ive.com>,
"alistair23@...il.com" <alistair23@...il.com>,
"linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] irqchip: plic: Fix priority base offset
On Wed, Mar 20, 2019 at 10:39:52PM +0000, Alistair Francis wrote:
> According to the FU540 and E31 manuals the PLIC source priority
> address starts at an offset of 0x04 and not 0x00. To aviod confusion
> update the address and source offset to match the documentation. This
> causes no difference in functionality.
Well, it starts at 0x00, but the first one is reserved. If you think
that is too confusing I'd rather throw in a comment explaining this
fact rather than making the calculating more complicated.
Powered by blists - more mailing lists