public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: mika.penttila@nextfour.com (Mika Penttilä)
To: linux-arm-kernel@lists.infradead.org
Subject: arm: set_memory_xx fixes patch missing?
Date: Mon, 22 Feb 2016 17:34:07 +0200	[thread overview]
Message-ID: <56CB2A6F.5060006@nextfour.com> (raw)
In-Reply-To: <20160222150911.GA25429@luxor.wired.org>

On 22.02.2016 17:09, Paolo Pisati wrote:
> What's happened to the arm side of this patch:
>
> http://lkml.iu.edu/hypermail/linux/kernel/1601.2/04934.html
>
> the arm64 code is already in Linus's tree, while it seems like the arm part was
> lost and forgotten, and i don't see it in rmk's patch queue.

Hi,

Yes, it for sure should go in, please apply:

----------------------------------------------------
From: Mika Penttil? <mika.penttila@nextfour.com>

Allow zero size updates. This makes set_memory_xx() consistent with x86, s390 and arm64.

Signed-off-by: Mika Penttil? mika.penttila at nextfour.com

---
 arch/arm/mm/pageattr.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mm/pageattr.c b/arch/arm/mm/pageattr.c
index be7fe4b..9edf6b0 100644
--- a/arch/arm/mm/pageattr.c
+++ b/arch/arm/mm/pageattr.c
@@ -49,6 +49,9 @@ static int change_memory_common(unsigned long addr, int numpages,
 		WARN_ON_ONCE(1);
 	}
 
+	if (!numpages)
+		return 0;
+
 	if (start < MODULES_VADDR || start >= MODULES_END)
 		return -EINVAL;
 
-- 1.9.1

  reply	other threads:[~2016-02-22 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-22 15:09 arm: set_memory_xx fixes patch missing? Paolo Pisati
2016-02-22 15:34 ` Mika Penttilä [this message]
2016-02-22 17:00 ` Mika Penttilä

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=56CB2A6F.5060006@nextfour.com \
    --to=mika.penttila@nextfour.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox