diff options
Diffstat (limited to 'kernel/resource.c')
-rw-r--r-- | kernel/resource.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/resource.c b/kernel/resource.c index ca7ed5158cff..35fe105d581e 100644 --- a/kernel/resource.c +++ b/kernel/resource.c | |||
@@ -1132,6 +1132,15 @@ struct resource * __request_region(struct resource *parent, | |||
1132 | conflict = __request_resource(parent, res); | 1132 | conflict = __request_resource(parent, res); |
1133 | if (!conflict) | 1133 | if (!conflict) |
1134 | break; | 1134 | break; |
1135 | /* | ||
1136 | * mm/hmm.c reserves physical addresses which then | ||
1137 | * become unavailable to other users. Conflicts are | ||
1138 | * not expected. Warn to aid debugging if encountered. | ||
1139 | */ | ||
1140 | if (conflict->desc == IORES_DESC_DEVICE_PRIVATE_MEMORY) { | ||
1141 | pr_warn("Unaddressable device %s %pR conflicts with %pR", | ||
1142 | conflict->name, conflict, res); | ||
1143 | } | ||
1135 | if (conflict != parent) { | 1144 | if (conflict != parent) { |
1136 | if (!(conflict->flags & IORESOURCE_BUSY)) { | 1145 | if (!(conflict->flags & IORESOURCE_BUSY)) { |
1137 | parent = conflict; | 1146 | parent = conflict; |