[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] x86/pv: Inject #UD for missing SYSCALL callbacks


  • To: Manuel Bouyer <bouyer@xxxxxxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Wed, 14 Oct 2020 15:26:11 +0100
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Wei Liu <wl@xxxxxxx>, Andy Lutomirski <luto@xxxxxxxxxx>
  • Delivery-date: Wed, 14 Oct 2020 14:34:09 +0000
  • Ironport-sdr: 0Ji6ZduMgnMoiynENHP8+q0RW58zkiP4zEmlnRX3nw4pQ63S2du3y8HHwNfRMigfY6yQqZQdDD tr4vC21AkwlZugpEWtAYqeEJf84gxJBXnOS1IfrB2ell/GVSjcMHx750F8GTbKKBkq+FLhb5nV UpcNQVmFjfUAkHKwBxF7z7UHhUHMAcn03axz6R2baYJSpOFmzSQCO697tNOfkKVS5PVUTaaScS GPRxHAylAEgF5lSx/g3ddA1TrjPApJZ9gRoY0og4SzONzHYYbgugp4Yp3w+oaDhu4w69vq4rk0 l4Q=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 14/10/2020 15:20, Manuel Bouyer wrote:
> On Wed, Oct 14, 2020 at 04:16:20PM +0200, Roger Pau Monné wrote:
>> [...]
>> Would this result in a regression for NetBSD then? Is it fine to see
>> #UD regardless of the platform? It's not clear to me from the text
>> above whether this change will cause issues with NetBSD.
> AFAIK this should not cause any issue. If I understand it properly,
> SYSCALL in a 32bit context would not work in any case on Intel CPUs.
> The patch just makes if fail on AMD cpus the same way it fails on Intel.

Correct.

~Andrew



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.