lkml.org 
[lkml]   [2015]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] irqchip: GICv3: ITS: Allocate enough memory for the full range of DeviceID
From
Date
On Jan 27, 2015, at 11:06, Chen Baozi <baozich@gmail.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@arm.com>

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

Sorry for the mistake.

Cheers,

Baozi.

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-01-27 12:41    [W:0.041 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site