[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <15CDAC06-1E2B-4545-93E8-CBB4B47E2707@kylinos.com.cn>
Date: Tue, 27 Jan 2015 19:15:16 +0800
From: Chen Baozi <chenbaozi@...inos.com.cn>
To: 陈鲍孜 <baozich@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Marc Zyngier <marc.zyngier@....com>
Subject: Re: [PATCH] irqchip: GICv3: ITS: Allocate enough memory for the full range of DeviceID
On Jan 27, 2015, at 11:06, Chen Baozi <baozich@...il.com> wrote:
>
> The ITS table allocator is only allocating a single page per table.
> This works fine for most things, but leads to silent lack of
> interrupt delivery if we end-up with a device that has an ID that is
> out of the range defined by a single page of memory. Even worse, depending
> on the page size, behaviour changes, which is not a very good experience.
>
> A solution is actually to allocate memory for the full range of ID that
> the ITS supports. A massive waste memory wise, but at least a safe bet.
>
> This patch has been tested on the Phytium SoC.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@....com>
Failed to clarify that Marc is the author of this patch.
Sorry for the mistake.
Cheers,
Baozi.
Download attachment "signature.asc" of type "application/pgp-signature" (843 bytes)
Powered by blists - more mailing lists