Re: [PATCH] irqchip: GICv3: ITS: Allocate enough memory for the full range of DeviceID

From: Chen Baozi
Date: Tue Jan 27 2015 - 06:27:45 EST


On Jan 27, 2015, at 11:06, Chen Baozi <baozich@xxxxxxxxx> 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@xxxxxxx>

Failed to clarify that Marc is the author of this patch.

Sorry for the mistake.

Cheers,

Baozi.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail