From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795971566; b=XClqlqgQHH/IN3Z/wT2J98B/3Dju0vwGHV/5OOg76mI7ZihqeuzbmWXbCAQu+W//8O51 yraNxDXIK8dUSFY6oLLY59foOovsySJF++/POQPWFTC8Y+BUB/3uX+PK3+O6in+E8fXW5 rbde5Fpldpbp4tl0cFg7tI14w9GBNZIG7S6ZWYuVzuxk4LGMEzmwgarQvcg3dv4ypznRs 7IBxtU2hrpvOjekK6t/1E4wqEoa4USWaI51qZqxriimIpqm8VuV7hY9e9jzjfFhrd3f0+ AmFrNwKqRjM/fIsSuFjquDOmVmanT6ogmWMnSsWtt3d21447PUWkbD3YzxAxsEyOCXQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795971566; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=PjSaEau4aTFHLbwbU25WOuukALaxcYgaY/Df+TcIZaM=; b=QHcPVmgd5yrK0jC29+9pjyzt0ngtt963PuCmMTkIhMS0bCDqlFa7y8DanfNmfXVOq9ow L+wPjOzOqRuc1mYDLXLg3j2BcSgY9U9XwbToXp306gRDwpnaSVZdZdt7YTA1687z5vdud IwY6JeSuNXWgCYZcdLzT5tyDbBwkuD0mnduhsj7WTdeBJWxI0WEl2GP8l/2UPDCILZR8I HKD/y6814AZeXjyCYBWzkQx/6+QAU/zWlErzU2G8E7NPAkDihCpJO+sNoUp3tsiHysr2V ubax1RvZ3jFP+WDqNOK3tsJNzBWQtXv3anX/+Yujv0wRqNKKlVaQSLv58ql1IWZYnxQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JW983KHc; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3EE9B606A31C for ; Sun, 29 Nov 2026 16:59:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JW983KHc Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE2EC1F00896; Sun, 29 Nov 2026 16:59:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795971566; bh=PjSaEau4aTFHLbwbU25WOuukALaxcYgaY/Df+TcIZaM=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=JW983KHc4Gn0DnLytIBsNgTSSs40P7IGcb7mCHW1zxiNFs21l8pqCg+VUjab7JHRp CFSDFdCqWoza3tRC4tG/zoFpNv/+mZdUTGmMZahuvoiUA2LvuQJMVqTGgQNbiO5tGY k3t1J4dOgINPWat4aeGKH751O/7BM57m19uoorE7wWkEwiSwSwUrmAMAwKEd5Eo+S0 bP8Kl1kSK2WitJnPYEGixB2gCtKO17BVWauEbZNYfXs4uWhIq8Lf+MKcVPPreNEiRd V7actGguSGWTzZzSTdVqtWZj/LTkzG9iclxa0IwiXJoJEXGxRoOX0nnTULahNew562 YcH61cOnTbo4g== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] s390/mm: Skip holes in identity mapping in set_memory() Reply-To: sashiko-reviews@lists.linux.dev To: "Heiko Carstens" Cc: linux-s390@vger.kernel.org, "Vasily Gorbik" , "Alexander Gordeev" , "Christian Borntraeger" In-Reply-To: <20261129165327.1188117-1-hca@linux.ibm.com> References: <20261129165327.1188117-1-hca@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 29 Nov 2026 16:59:25 +0000 X-Mailing-List: linux-s390@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 > s390/mm: Skip holes in identity mapping in set_memory() > > With debug_pagealloc=3Don, 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 [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()") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261129165327.1188= 117-1-hca@linux.ibm.com?part=3D1