From: Ingo Molnar <mingo@kernel.org>
To: Jan Beulich <jbeulich@suse.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
the arch/x86 maintainers <x86@kernel.org>,
Andy Lutomirski <luto@kernel.org>
Subject: Re: [Xen-devel] [PATCH v3] x86/stackframe/32: repair 32-bit Xen PV
Date: Tue, 19 Nov 2019 09:03:00 +0100 [thread overview]
Message-ID: <20191119080300.GA56452@gmail.com> (raw)
In-Reply-To: <0fad341f-b7f5-f859-d55d-f0084ee7087e@suse.com>
* Jan Beulich <jbeulich@suse.com> wrote:
> Once again RPL checks have been introduced which don't account for a
> 32-bit kernel living in ring 1 when running in a PV Xen domain. The
> case in FIXUP_FRAME has been preventing boot. Adjust BUG_IF_WRONG_CR3
> as well to guard against future uses of the macro on a code path
> reachable when running in PV mode under Xen; I have to admit that I
> stopped at a certain point trying to figure out whether there are
> present ones.
>
> Fixes: 3c88c692c287 ("x86/stackframe/32: Provide consistent pt_regs")
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> ---
> v3: Move USER_SEGMENT_RPL_MASK definition to segment.h. Further explain
> the BUG_IF_WRONG_CR3 adjustment.
> v2: Avoid #ifdef and alter comment along the lines of Andy's suggestion.
Since the breakage was introduced in v5.3, I've added a Cc: stable line.
Thanks,
Ingo
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2019-11-19 8:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-18 15:21 [Xen-devel] [PATCH v3] x86/stackframe/32: repair 32-bit Xen PV Jan Beulich
2019-11-19 8:03 ` Ingo Molnar [this message]
2019-11-19 21:01 ` [tip: x86/urgent] x86/stackframe/32: Repair " tip-bot2 for Jan Beulich
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=20191119080300.GA56452@gmail.com \
--to=mingo@kernel.org \
--cc=jbeulich@suse.com \
--cc=luto@kernel.org \
--cc=peterz@infradead.org \
--cc=x86@kernel.org \
--cc=xen-devel@lists.xenproject.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 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.