All of lore.kernel.org
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: kernel: do not mark reserved memory regions as IORESOURCE_BUSY
Date: Tue, 24 Jan 2017 18:01:09 +0000	[thread overview]
Message-ID: <20170124180109.GK1728@arm.com> (raw)
In-Reply-To: <1485277900-22730-1-git-send-email-ard.biesheuvel@linaro.org>

On Tue, Jan 24, 2017 at 05:11:40PM +0000, Ard Biesheuvel wrote:
> Memory regions marked as NOMAP should not be used for general allocation
> by the kernel, and should not even be covered by the linear mapping
> (hence the name). However, drivers or other subsystems (such as ACPI)
> that access the firmware directly may legally access them, which means
> it is also reasonable for such drivers to claim them by invoking
> request_resource(). Currently, this is prevented by the fact that arm64's
> request_standard_resources() marks reserved regions as IORESOURCE_BUSY.
> 
> So drop the IORESOURCE_BUSY flag from these requests.
> 
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
>  arch/arm64/kernel/setup.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Did you find this my inspection, or has somebody reported a problem?

Will

  reply	other threads:[~2017-01-24 18:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-24 17:11 [PATCH] arm64: kernel: do not mark reserved memory regions as IORESOURCE_BUSY Ard Biesheuvel
2017-01-24 18:01 ` Will Deacon [this message]
2017-01-24 18:13   ` Ard Biesheuvel
2017-01-25  4:26     ` Hanjun Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170124180109.GK1728@arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.