Messages in this thread | | | Date | Tue, 24 Feb 2015 10:07:43 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 2/3 v3] resource: Add new flag IORESOURCE_MEM_WARN |
| |
* Boaz Harrosh <boaz@plexistor.com> wrote:
> --- a/kernel/resource.c > +++ b/kernel/resource.c > @@ -1075,8 +1075,13 @@ struct resource * __request_region(struct resource *parent, > break; > if (conflict != parent) { > parent = conflict; > - if (!(conflict->flags & IORESOURCE_BUSY)) > + if (!(conflict->flags & IORESOURCE_BUSY)) { > + if (conflict->flags & IORESOURCE_MEM_WARN) > + pr_warn("request unknown region [mem %#010llx-%#010llx] %s\n", > + conflict->start, conflict->end, > + conflict->name);
Maybe:
'request region with unknown memory type [mem ...]'?
The driver (we hope!) very well knows about the region so it's not totally unknown.
Thanks,
Ingo
| |