resource: introduce union(), intersection() API
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest7 patches 3 repliesIn review
- v57 patches 1 replySuperseded
- v46 patches 6 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 6 patches | 1 reply | Superseded | |
| v1 | 7 patches | 16 replies | Superseded |
Changes in v6 from the cover letter
- added missed tags
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | resource: Simplify region_intersects() by reducing conditionalskernel/ | +5 | 0 replies | |
| 2/7 | resource: Group resource_overlaps() with other inline helpersinclude/ | +5 | 0 replies | |
| 3/7 | resource: Introduce resource_union() for overlapping resourcesinclude/ | +12 | 0 replies | |
| 4/7 | resource: Introduce resource_intersection() for overlapping resourcesinclude/ | +10 | 0 replies | |
| 5/7 | resource: Add test cases for new resource APIkernel/ kernel/ lib/ | +162 | 0 replies | |
| 6/7 | PCI/ACPI: Replace open coded variant of resource_union()drivers/ | +1 | 0 replies | |
| 7/7 | ACPI: watchdog: Replace open coded variant of resource_union()drivers/ | +1 | 0 replies |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Hanjun Guo | Rafael J. Wysocki | Kuppuswamy Sathyanarayanan | Mika Westerberg |
|---|---|---|---|---|
| 1/7 | R-b T-b | R-b | ||
| 2/7 | R-b T-b | R-b | ||
| 3/7 | R-b T-b | R-b | ||
| 4/7 | R-b | R-b | ||
| 5/7 | ||||
| 6/7 | R-b T-b | R-b | R-b | |
| 7/7 | R-b T-b | R-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.
Cover letter [PATCH v6 0/7] resource: introduce union(), intersection() API
Some users may want to use resource library to manage their own resources, besides existing users that open code union() and intersection() implementations.
Provide a generic API for wider use.
Changelog v6:
- added missed tags
Changelog v5:
- added test cases (Greg)
Changelog v4:
- added Rb tag (Rafael)
- Cc'ed to LKML and Greg (Rafael)
Changelog v3:
- rebased on top of v5.10-rc1
- dropped upstreamed dependencies
- added Rb tag to the last patch (Mika)
Andy Shevchenko (7):
resource: Simplify region_intersects() by reducing conditionals
resource: Group resource_overlaps() with other inline helpers
resource: Introduce resource_union() for overlapping resources
resource: Introduce resource_intersection() for overlapping resources
resource: Add test cases for new resource API
PCI/ACPI: Replace open coded variant of resource_union()
ACPI: watchdog: Replace open coded variant of resource_union()
drivers/acpi/acpi_watchdog.c | 6 +- drivers/acpi/pci_root.c | 4 +- include/linux/ioport.h | 34 ++++++-- kernel/Makefile | 1 + kernel/resource.c | 10 +-- kernel/resource_kunit.c | 150 +++++++++++++++++++++++++++++++++++ lib/Kconfig.debug | 11 +++ 7 files changed, 196 insertions(+), 20 deletions(-) create mode 100644 kernel/resource_kunit.c
Signature · 1 line
2.28.0