summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-08-20 21:11:14 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-08-21 16:00:17 +0200
commit7617cc05df28dcae967cca109de74084321eaa62 (patch)
tree68094f6d28badafd3972f0bfb35702479876c451 /scripts/lib
parentdc948f8b384a516ac5c471eb9382959f838e02f4 (diff)
downloadlinux-7617cc05df28dcae967cca109de74084321eaa62.tar.gz
linux-7617cc05df28dcae967cca109de74084321eaa62.zip
ACPI: scan: Do not combine resources that overlap completely
Commit f234fdaae1ca ("ACPI: scan: Avoid registering platform devices with resource overlaps") attempted to avoid platform device registration errors due to overlaps of resources of the same type returned by the same _CRS object in the ACPI tables. It did that by combining two or more overlapping resources into one, but it went too far and also caused resources that overlap completely to be combined which broke the arm-cmn driver that expects two MMIO resources to be present for each device it binds to and it expects those two resources to overlap completely. Address this issue by adding checks for completely overlapping resources to acpi_platform_adjust_resources() and add a comment explaining what is done there. Fixes: f234fdaae1ca ("ACPI: scan: Avoid registering platform devices with resource overlaps") Reported-by: Nathan Chancellor <nathan@kernel.org> Tested-by: Nathan Chancellor <nathan@kernel.org> Closes: https://lore.kernel.org/linux-acpi/20260819003752.GA3063251@ax162/ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Link: https://patch.msgid.link/12955564.O9o76ZdvQC@rafael.j.wysocki
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions