* [PATCH 2/4] arm: let set_memory_xx(addr, 0) succeed. [not found] ` <1453561543-14756-3-git-send-email-mika.penttila@nextfour.com> @ 2016-01-25 18:41 ` Laura Abbott 0 siblings, 0 replies; 3+ messages in thread From: Laura Abbott @ 2016-01-25 18:41 UTC (permalink / raw) To: linux-arm-kernel On 01/23/2016 07:05 AM, mika.penttila at nextfour.com wrote: > From: Mika Penttil? <mika.penttila@nextfour.com> > > This makes set_memory_xx() consistent with x86. > > 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; > > Reviewed-by: Laura Abbott <labbott@redhat.com> ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <1453561543-14756-4-git-send-email-mika.penttila@nextfour.com>]
* [PATCH 3/4] arm64: let set_memory_xx(addr, 0) succeed. [not found] ` <1453561543-14756-4-git-send-email-mika.penttila@nextfour.com> @ 2016-01-25 18:44 ` Laura Abbott 2016-01-26 2:34 ` David Rientjes 0 siblings, 1 reply; 3+ messages in thread From: Laura Abbott @ 2016-01-25 18:44 UTC (permalink / raw) To: linux-arm-kernel On 01/23/2016 07:05 AM, mika.penttila at nextfour.com wrote: > From: Mika Penttil? <mika.penttila@nextfour.com> > > This makes set_memory_xx() consistent with x86. > > Signed-off-by: Mika Penttil? mika.penttila at nextfour.com > > --- > arch/arm64/mm/pageattr.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm64/mm/pageattr.c b/arch/arm64/mm/pageattr.c > index 3571c73..52220dd 100644 > --- a/arch/arm64/mm/pageattr.c > +++ b/arch/arm64/mm/pageattr.c > @@ -51,6 +51,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; > > I think this is going to conflict with Ard's patch lkml.kernel.org/g/<1453125665-26627-1-git-send-email-ard.biesheuvel@linaro.org> Can you rebase on top of that? Thanks, Laura ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 3/4] arm64: let set_memory_xx(addr, 0) succeed. 2016-01-25 18:44 ` [PATCH 3/4] arm64: " Laura Abbott @ 2016-01-26 2:34 ` David Rientjes 0 siblings, 0 replies; 3+ messages in thread From: David Rientjes @ 2016-01-26 2:34 UTC (permalink / raw) To: linux-arm-kernel On Mon, 25 Jan 2016, Laura Abbott wrote: > On 01/23/2016 07:05 AM, mika.penttila at nextfour.com wrote: > > From: Mika Penttil? <mika.penttila@nextfour.com> > > > > This makes set_memory_xx() consistent with x86. > > > > Signed-off-by: Mika Penttil? mika.penttila at nextfour.com > > > > --- > > arch/arm64/mm/pageattr.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/arch/arm64/mm/pageattr.c b/arch/arm64/mm/pageattr.c > > index 3571c73..52220dd 100644 > > --- a/arch/arm64/mm/pageattr.c > > +++ b/arch/arm64/mm/pageattr.c > > @@ -51,6 +51,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; > > > > > > I think this is going to conflict with Ard's patch > lkml.kernel.org/g/<1453125665-26627-1-git-send-email-ard.biesheuvel@linaro.org> > > Can you rebase on top of that? > Also, I think patch 2 and 3 can be folded together since the change is the same to both functions. I think the changelog should be expanded to explain that charge_memory_common() with numpages == 0 should be a no-op. When both of those are done, and it's rebased as requested, feel free to add my: Acked-by: David Rientjes <rientjes@google.com> ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-26 2:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1453561543-14756-1-git-send-email-mika.penttila@nextfour.com>
[not found] ` <1453561543-14756-3-git-send-email-mika.penttila@nextfour.com>
2016-01-25 18:41 ` [PATCH 2/4] arm: let set_memory_xx(addr, 0) succeed Laura Abbott
[not found] ` <1453561543-14756-4-git-send-email-mika.penttila@nextfour.com>
2016-01-25 18:44 ` [PATCH 3/4] arm64: " Laura Abbott
2016-01-26 2:34 ` David Rientjes
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).