All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: kvm@vger.kernel.org
Subject: [Bug 211467] Regression affecting 32->64 bit SYSENTER on AMD
Date: Fri, 29 Jan 2021 21:47:03 +0000	[thread overview]
Message-ID: <bug-211467-28872-QLgqjl5ugU@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-211467-28872@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=211467

--- Comment #1 from jonny5532 (jonny@magicstring.co.uk) ---
Created attachment 294993
  --> https://bugzilla.kernel.org/attachment.cgi?id=294993&action=edit
Simple patch which appears to fix it

This patch stops my VM crashing without removing the truncation.

It is based on the assumption that a SYSENTER which changes the CS flags to
long mode (if applicable) should also change the ctxt->mode to PROT64. I don't
know if that is correct (or safe) though.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  reply	other threads:[~2021-01-29 21:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-29 20:50 [Bug 211467] New: Regression affecting 32->64 bit SYSENTER on AMD bugzilla-daemon
2021-01-29 21:47 ` bugzilla-daemon [this message]
2021-01-29 23:38 ` [Bug 211467] " bugzilla-daemon
2021-02-01 10:31 ` bugzilla-daemon
2021-02-01 21:16 ` bugzilla-daemon

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=bug-211467-28872-QLgqjl5ugU@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=kvm@vger.kernel.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.