linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -v3 0/3] resource: Fix region_intersects() vs add_memory_driver_managed()
@ 2024-09-06  3:07 Huang Ying
  2024-09-06  3:07 ` [PATCH -v3 1/3] " Huang Ying
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Huang Ying @ 2024-09-06  3:07 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-mm, linux-kernel, linux-cxl, Huang, Ying, Dan Williams,
	David Hildenbrand, Davidlohr Bueso, Jonathan Cameron, Dave Jiang,
	Alison Schofield, Vishal Verma, Ira Weiny, Alistair Popple,
	Andy Shevchenko, Bjorn Helgaas, Baoquan He

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/20240819023413.1109779-1-ying.huang@intel.com/

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/20240816020723.771196-1-ying.huang@intel.com/

Best Regards,
Huang, Ying


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-09-30 17:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-06  3:07 [PATCH -v3 0/3] resource: Fix region_intersects() vs add_memory_driver_managed() Huang Ying
2024-09-06  3:07 ` [PATCH -v3 1/3] " Huang Ying
2024-09-08  3:24   ` Andrew Morton
2024-09-09  0:57     ` Huang, Ying
2024-09-06  3:07 ` [PATCH -v3 2/3] resource: Make alloc_free_mem_region() works for iomem_resource Huang Ying
2024-09-09  7:04   ` David Hildenbrand
2024-09-09  7:07     ` Huang, Ying
2024-09-09  8:04       ` David Hildenbrand
2024-09-06  3:07 ` [PATCH -v3 3/3] resource, kunit: Add test case for region_intersects() Huang Ying
2024-09-29 19:45   ` Kees Bakker
2024-09-30  0:53     ` Huang, Ying
2024-09-30 17:36       ` Kees Bakker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox