resource: Fix region_intersects() vs add_memory_driver_managed()
Status from this message: [merged mm-stable] resource-kunit-add-test-case-for-region_intersects.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first
v3 from the cover letter
- Revise the patch subject, description and comments, Thanks Bjorn, Andy, David, and Dan!
- Added a kunit test case.
- Fixed several coding style issues, Thanks Andy!
- Link to v2: https://lore.kernel.org/linux-mm/[email protected]/
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | resource: Fix region_intersects() vs add_memory_driver_managed()kernel/ | +50 | 2 replies | Applied |
| 2/3 | resource: Make alloc_free_mem_region() works for iomem_resourcekernel/ | +1 | 3 replies | Applied |
| 3/3 | resource, kunit: Add test case for region_intersects()kernel/ kernel/ lib/ | +158 | 3 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -v3 0/3] resource: Fix region_intersects() vs add_memory_driver_managed()
The patchset fixes a bug of region_intersects() for systems with CXL memory. The details of the bug can be found in [1/3]. To avoid similar bugs in the future. A kunit test case for region_intersects() is added in [3/3]. [2/3] is a preparation patch for [3/3].
Changelogs:
v3:
- Revise the patch subject, description and comments, Thanks Bjorn, Andy, David, and Dan!
- Added a kunit test case.
- Fixed several coding style issues, Thanks Andy!
- Link to v2: https://lore.kernel.org/linux-mm/[email protected]/
v2:
- Fix a bug which occurs when descendant of a matched resource matches.
- Revise the patch description and comments to make the algorithm clearer. Thanks Dan and David's comments!
- Link to v1: https://lore.kernel.org/linux-mm/[email protected]/
Best Regards,
Huang, Ying