Re: [PATCH 2/3 v3] resource: Add new flag IORESOURCE_MEM_WARN
From: Boaz Harrosh
Date: Tue Feb 24 2015 - 03:44:36 EST
On 02/24/2015 10:39 AM, Boaz Harrosh wrote:
>
> Resource providers set this flag if they want
> that request_region_XXX will print a warning in dmesg
> if this particular resource is locked by a driver.
>
> Thous acting as a Protocol Police about experimental
> devices that did not pass a comity approval.
>
> The Only user of this flag is x86/kernel/e820.c that
> wants to WARN about UNKNOWN memory types.
>
Hi Ingo
So I slept on it and I think this simple version is safe and
does what we need. It is more simple than the wrappers thing
Who can push such a patch, can you push it through your tree or
is there another maintainer that needs to push this?
Who can we ask about the safeness of these flags?
> Signed-off-by: Boaz Harrosh <boaz@xxxxxxxxxxxxx>
<>
Thanks
Boaz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/