All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Heiko Carstens" <hca@linux.ibm.com>
Cc: linux-s390@vger.kernel.org, "Vasily Gorbik" <gor@linux.ibm.com>,
	"Alexander Gordeev" <agordeev@linux.ibm.com>,
	"Christian Borntraeger" <borntraeger@linux.ibm.com>
Subject: Re: [PATCH] s390/mm: Skip holes in identity mapping in set_memory()
Date: Sun, 29 Nov 2026 16:59:25 +0000	[thread overview]
Message-ID: <sashiko-outbox-239818@kernel.org> (raw)
In-Reply-To: <20261129165327.1188117-1-hca@linux.ibm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] s390/mm: malformed Fixes: trailer with trailing [1] footnote
  marker
--

commit 2f3a9264d9b84b1e4a21e89ed758296d9558f69a
Author: Heiko Carstens <hca@linux.ibm.com>

> s390/mm: Skip holes in identity mapping in set_memory()
>
> With debug_pagealloc=on, vmem_map_init() panics with "Failed to set
> kernel mapping permissions" if the identity mapping contains holes, e.g.
> standby memory. __set_memory_4k() is called for [0, ident_map_size),
> which may include holes, and change_page_attr() returns -EINVAL for the
> first empty page table entry, which was silently ignored before [1].
>
> Fix this by skipping empty entries if the range is within the identity
> mapping, similar to x86.
>
> Note: the fixes tag points to the commit which reveals this bug, but it
> exists since much longer. Nobody noticed so far, since hardly anybody
> uses debug_pagealloc, and also hardly anybody has configurations with
> holes within the identity mapping.
>
> Fixes: 4634f260683b ("s390/mm: Add error handling to vmem_map_init()") [1]
> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>

[Severity: Low]
The trailing "[1]" footnote marker on the Fixes: line breaks commit-parsing
and stable-backport tools that expect the canonical trailer format.  Please
drop the marker from the trailer line:

  Fixes: 4634f260683b ("s390/mm: Add error handling to vmem_map_init()")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261129165327.1188117-1-hca@linux.ibm.com?part=1

  reply	other threads:[~2026-11-29 16:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 16:53 [PATCH] s390/mm: Skip holes in identity mapping in set_memory() Heiko Carstens
2026-11-29 16:59 ` sashiko-bot [this message]
2026-12-01 11:02 ` Mike Rapoport
2026-12-01 12:41 ` Alexander Gordeev

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=sashiko-outbox-239818@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=agordeev@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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.