summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorToshi Kani <toshi.kani@hpe.com>2016-03-09 12:47:03 -0700
committerDan Williams <dan.j.williams@intel.com>2016-03-09 11:07:20 -0800
commit4e0d8f7eff3fbfa3e3ac5782669c078f590dc9e2 (patch)
treed6f1888adf4cff37a905c974d16fc80b260cd0da /MAINTAINERS
parent45f68802f2542a6ad1550dab9c07004de6e0df40 (diff)
downloadlinux-stable-4e0d8f7eff3fbfa3e3ac5782669c078f590dc9e2.tar.gz
linux-stable-4e0d8f7eff3fbfa3e3ac5782669c078f590dc9e2.tar.bz2
linux-stable-4e0d8f7eff3fbfa3e3ac5782669c078f590dc9e2.zip
resource: Change __request_region to inherit from immediate parent
__request_region() sets 'flags' of a new resource from @parent as it inherits the parent's attribute. When a target resource has a conflict, this function inserts the new resource entry under the conflicted entry by updating @parent. In this case, the new resource entry needs to inherit attribute from the updated parent. This conflict is a typical case since __request_region() is used to allocate a new resource from a specific resource range. For instance, request_mem_region() calls __request_region() with @parent set to &iomem_resource, which is the root entry of the whole iomem range. When this request results in inserting a new entry "DEV-A" under "BUS-1", "DEV-A" needs to inherit from the immediate parent "BUS-1" as it holds specific attribute for the range. root (&iomem_resource) : + "BUS-1" + "DEV-A" Change __request_region() to set 'flags' and 'desc' of a new entry from the immediate parent. Signed-off-by: Toshi Kani <toshi.kani@hpe.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Borislav Petkov <bp@suse.de> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions