From: rrichter@cavium.com (Robert Richter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] irqchip/gic-v3-its: Use CMA for its table allocation
Date: Thu, 15 Nov 2018 21:50:57 +0000 [thread overview]
Message-ID: <20181115215012.23922-1-rrichter@cavium.com> (raw)
The gicv3-its device table may have a size of up to 16MB (Cavium
ThunderX). With 4k pagesize the maximum size of memory allocation is
4MB. This series implements the use of CMA for allocation of large its
tables. To achieve this we need to make an its node a kernel device
(patch #1) and rework the its table allocation code (patch #2). Both
can only be done after the arch_initcall and thus this patch series
bases on my previous series that implements late its initialization:
https://patchwork.kernel.org/cover/10673117/
Using its nodes as kernel devices has the side effect to ease the
release of resources (devres used) and device based messages (dev_*
printk variants used).
The new its table allocator still uses the old scheme for small tables
to allow a further rework that supports NUMA-aware its tables.
Robert Richter (2):
irqchip/gic-v3-its: Handle its nodes as kernel devices
irqchip/gic-v3-its: Use CMA for allocation of large device tables
drivers/irqchip/irq-gic-v3-its.c | 224 +++++++++++++++++++++++----------------
1 file changed, 135 insertions(+), 89 deletions(-)
--
2.11.0
next reply other threads:[~2018-11-15 21:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-15 21:50 Robert Richter [this message]
2018-11-15 21:51 ` [PATCH 1/2] irqchip/gic-v3-its: Handle its nodes as kernel devices Robert Richter
2018-11-15 21:51 ` [PATCH 2/2] irqchip/gic-v3-its: Use CMA for allocation of large device tables Robert Richter
2018-11-28 14:47 ` [PATCH 0/2] irqchip/gic-v3-its: Use CMA for its table allocation Richter, Robert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181115215012.23922-1-rrichter@cavium.com \
--to=rrichter@cavium.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox