IRQ affinity support in PLIC driver
Status from this message: Applied to irqchip-next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest4 patches 1 replyApplied
- v55 patches 4 repliesSuperseded
- v45 patches 10 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 6 patches | 14 replies | Superseded | |
| v2 | 4 patches | 9 replies | Superseded | |
| v1 | 4 patches | 4 replies | Superseded |
Changes in v6 from the cover letter
- Dropped PATCH2 based on discussion with Christoph
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | irqchip: sifive-plic: Pre-compute context hart base and enable basedrivers/ | +21 | 0 replies | |
| 2/4 | irqchip: sifive-plic: Add warning in plic_init() if handler already presentdrivers/ | +5 | 0 replies | |
| 3/4 | irqchip: sifive-plic: Differentiate between PLIC handler and contextdrivers/ | +8 | 0 replies | |
| 4/4 | irqchip: sifive-plic: Implement irq_set_affinity() for SMP hostdrivers/ | +39 | 0 replies |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/4] IRQ affinity support in PLIC driver
This patchset primarily adds IRQ affinity support in PLIC driver and other improvements.
It gives mechanism for explicitly route external interrupts to particular CPUs using smp_affinity attribute of each Linux IRQs. Also, we can now use IRQ balancer from kernel-space or user-space.
The patchset is tested on QEMU virt machine. It is based on Linux-5.0-rc6 and can be found at riscv_plic_irq_affinity_v6 branch of:
https://github.com/avpatel/linux.git
Changes since v5:
- Dropped PATCH2 based on discussion with Christoph
Changes since v4:
- Use "if (force)" instead of "if (!force)" in PATCH5
Changes since v3:
- Dropped PATCH2
- Added PATCH to not inline plic_toggle() and plic_irq_toggle()
- Moved PATCH3 changes to PATCH6
- Used WARN_ON_ONCE() instead of WARN_ON() in PATCH5
Changes since v2:
- Fixed incorrect address of enable registers using sizeof(u32) in PATCH1
- Retained comment about need for locking in PATCH1
- Split PATCH2 into two patches
- Split PATCH3 into two patches
- Minor fix in commit description of PATCH4
Changes since v1:
- Removed few whitspace changes from PATCH1
- Keep use of DEFINE_PER_CPU() as it is
Anup Patel (4):
irqchip: sifive-plic: Pre-compute context hart base and enable base
irqchip: sifive-plic: Add warning in plic_init() if handler already
present
irqchip: sifive-plic: Differentiate between PLIC handler and context
irqchip: sifive-plic: Implement irq_set_affinity() for SMP host
drivers/irqchip/irq-sifive-plic.c | 111 +++++++++++++++++++----------- 1 file changed, 72 insertions(+), 39 deletions(-)
Signature · 1 line
2.17.1