From: Hendrik Brueckner <brueckner@linux.ibm.com>
To: Steffen Eiden <seiden@linux.ibm.com>
Cc: linux-s390@vger.kernel.org, kvm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Christian Borntraeger <borntraeger@linux.ibm.com>,
Janosch Frank <frankja@linux.ibm.com>,
Claudio Imbrenda <imbrenda@linux.ibm.com>,
Andreas Grapentin <gra@linux.ibm.com>,
Hendrik Brueckner <brueckner@linux.ibm.com>
Subject: Re: [PATCH v1 1/1] KVM: s390: Increase permitted SE header size to 1 MiB
Date: Tue, 10 Feb 2026 15:07:41 +0100 [thread overview]
Message-ID: <aYs7raKCpf0YG4GO@linux.ibm.com> (raw)
In-Reply-To: <20260209152925.578872-1-seiden@linux.ibm.com>
On Mon, Feb 09, 2026 at 04:29:25PM +0100, Steffen Eiden wrote:
> Relax the maximum allowed Secure Execution (SE) header size from
> 8 KiB to 1 MiB. This allows individual secure guest images to run on a
> wider range of physical machines.
>
> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
> ---
> arch/s390/kvm/kvm-s390.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
> index 56a50524b3ee..3428a8d427b2 100644
> --- a/arch/s390/kvm/kvm-s390.c
> +++ b/arch/s390/kvm/kvm-s390.c
> @@ -2744,9 +2744,9 @@ static int kvm_s390_handle_pv(struct kvm *kvm, struct kvm_pv_cmd *cmd)
> if (copy_from_user(&parms, argp, sizeof(parms)))
> break;
>
> - /* Currently restricted to 8KB */
> + /* Currently restricted to 1MiB */
> r = -EINVAL;
> - if (parms.length > PAGE_SIZE * 2)
> + if (parms.length > SZ_1M)
> break;
>
> r = -ENOMEM;
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
prev parent reply other threads:[~2026-02-10 14:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-09 15:29 [PATCH v1 1/1] KVM: s390: Increase permitted SE header size to 1 MiB Steffen Eiden
2026-02-09 17:16 ` Claudio Imbrenda
2026-02-10 9:45 ` Janosch Frank
2026-02-10 14:07 ` Hendrik Brueckner [this message]
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=aYs7raKCpf0YG4GO@linux.ibm.com \
--to=brueckner@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=frankja@linux.ibm.com \
--cc=gra@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=seiden@linux.ibm.com \
/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