Skip to content

RISC-V: ACPI improvements

Sunil V L linux-acpi linux-riscv lkml 3 versions – Applied

Status from this message: This series was applied to riscv/linux.git (for-next)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 1 replyApplied 4/4
  2. v33 patches 5 repliesSuperseded
  3. v24 patches 12 repliesApplied

Changes in v4 from the cover letter

1) Added new patch to update return value of acpi_get_rhct() as suggested by Drew.
2) Formatting fixes as suggested by Drew.
3) Updated tags.

Patches in v4 All 4 applied

#Subject and filesSizeRepliesApplied
1/4RISC-V: ACPI: Enhance acpi_os_ioremap with MMIO remappingarch/riscv/Kconfig arch/riscv/kernel/acpi.c+86 -20 repliesApplied
2/4RISC-V: ACPI: Update the return value of acpi_get_rhct()drivers/acpi/riscv/rhct.c+3 -31 replyApplied
3/4RISC-V: ACPI: RHCT: Add function to get CBO block sizesarch/riscv/include/asm/acpi.h drivers/acpi/riscv/rhct.c+93 -00 repliesApplied
4/4RISC-V: cacheflush: Initialize CBO variables on ACPI systemsarch/riscv/mm/cacheflush.c+19 -60 repliesApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAndrew JonesAlexandre GhitiConor DooleySamuel Holland
1/4R-b R-b A-b
2/4R-b
3/4R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 -next 0/4] RISC-V: ACPI improvements

This series is a set of patches which were originally part of RFC v1 series
[1] to add ACPI support in RISC-V interrupt controllers. Since these patches are independent of the interrupt controllers, creating this new series which helps to merge instead of waiting for big series.

This set of patches primarily adds support below ECR [2] which is approved by the ASWG and adds below features.

- Get CBO block sizes from RHCT on ACPI based systems.

Additionally, the series contains a patch to improve acpi_os_ioremap().

[1] - https://lore.kernel.org/lkml/[email protected]/
[2] - https://drive.google.com/file/d/1sKbOa8m1UZw1JkquZYe3F1zQBN1xXsaf/view?usp=sharing

Changes since v3:
1) Added new patch to update return value of acpi_get_rhct() as suggested by Drew.
2) Formatting fixes as suggested by Drew.
3) Updated tags.

Changes since v2:
1) Modified acpi_get_cbo_block_size() not to take cpu parameter but follow same pattern as DT (Feedback from Samuel and Drew)
2) Dropped timer patch from the series since it is already applied.
3) Selected ARCH_KEEP_MEMBLOCK only if ACPI (Feedback from Alex).
4) Added RB tags received so far except RHCT patch which has changed quite significantly from previous version.

Changes since RFC v1:
1) Separated the patches from interrupt controller support series.
2) Addressed feedback from Andy and Drew.
3) Rebased to Palmer's for-next tree.
4) Added RB tags received on RFC v1.

Sunil V L (4):
RISC-V: ACPI: Enhance acpi_os_ioremap with MMIO remapping
RISC-V: ACPI: Update the return value of acpi_get_rhct()
RISC-V: ACPI: RHCT: Add function to get CBO block sizes
RISC-V: cacheflush: Initialize CBO variables on ACPI systems

 arch/riscv/Kconfig            |  1 +
 arch/riscv/include/asm/acpi.h |  6 +++
 arch/riscv/kernel/acpi.c      | 87 +++++++++++++++++++++++++++++++-
 arch/riscv/mm/cacheflush.c    | 25 +++++++---
 drivers/acpi/riscv/rhct.c     | 93 +++++++++++++++++++++++++++++++++--
 5 files changed, 201 insertions(+), 11 deletions(-)
Signature · 1 line
2.39.2