Thread (13 messages) 13 messages, 2 authors, 2015-01-31

[PATCH 1/5] irqchip: gicv3-its: allocate proper size for DT

From: Yun Wu Abel <hidden>
Date: 2015-01-31 01:57:15
Also in: lkml

On 2015/1/31 3:10, Marc Zyngier wrote:
On 30/01/15 07:46, Yun Wu wrote:
quoted
A hardware implementation may be designed to search the device
table (DT) using a direct mapping between device ID and memory
address, and in this scenario a single page, currently allocated
for DT in ITS driver, will be probably not enough.

This patch will try best to get this addressed by enlarging DT
size with a limitation of MAX_ORDER pages.

Signed-off-by: Yun Wu <redacted>
A similar patch has been posted already (and is already in my queue):

https://git.kernel.org/cgit/linux/kernel/git/maz/arm-platforms.git/commit/?h=irq/gic-fixes&id=4be3de2af2a58476f84d678f3e8a3596f23f80d5
Oh, now I see it. How about allocating a order of MAX_ORDER pages and
throwing out a warning if the number of device id bits exceeds maximum
order kernel supports, instead of letting the ITS fail in probing.

Thanks,
	Abel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help