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

Re: [Xen-devel] [PATCH V8 2/4] x86/altp2m: Add hypercall to set a range of sve bits


  • To: Alexandru Stefan ISAILA <aisaila@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Petre Ovidiu PIRCALABU <ppircalabu@xxxxxxxxxxxxxxx>
  • Date: Tue, 21 Jan 2020 12:57:08 +0000
  • Accept-language: ro-RO, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bitdefender.com; dmarc=pass action=none header.from=bitdefender.com; dkim=pass header.d=bitdefender.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Qo0s+13vf+oqJ7dsept0Uw0JsLbutmnrgqW/FrJUY8s=; b=jx/bX7zL2K0vX66/LGDrWm8LvI+IwU8LwvnijpxHmaIwL/NUlH+2HWOMeEN0GeBG/KRaGjwmtG5icVnSwAADHQBDpHZitEQfALHfeSkjlPHZgfMO7/nrZpKqH7lU9BjZIaOp1pnaYmadNnmOMi3+o1aMuXQIQXVB8I2mXjpHCcdy+lwUxpcMJExtAXZK/8dAgD5WyInlcR2sEEhsXgFQK6TsY/hknU/JfhucDDwhQGrhR75oIwpMg+VDcwovqi653/r8bPWVRVIzNtsi8sOKYHMpy8+onyfGbNkTVw31s9A5W94UEQd06VTgEhd+dn0r7PSpIBUH6poVlMIObsjhqg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HDiI7Q1SNnbuq1dqkl7sBn6UgrIlYzyHd44sPaAi+oSo7xlNuNloqj3uS/N0idXgEB6M/d7Qa7mOmKrhug7vLjTf+9br0+rkjK+/nHIs5ogygeRct9OzHR7t32eAklAviqV8Il1HcCLeHxDTcJhRKBNGVEJP6F6DxODP1bn6irZ+Na5CNTve75FSm4EOK01odigTaoFwmL/wa7hSbV6TqJ46C86gTHKD4GZNLKL5WPg2REUFAev2KNGhjXHH/YQUvRt+GhVZ7ODhnvlPcB2YstNIRFndKd+6lkcWrfYAbTZGouv9kHu5Ia/VLNnGPkt/zecycEQEJHDRpOyy00F4BA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=ppircalabu@xxxxxxxxxxxxxxx;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Razvan COJOCARU <rcojocaru@xxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, Tamas K Lengyel <tamas@xxxxxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Tue, 21 Jan 2020 12:57:19 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVzTptMPE/AtSUUU2wUupLHavs1af1GhwA
  • Thread-topic: [PATCH V8 2/4] x86/altp2m: Add hypercall to set a range of sve bits

On Fri, 2020-01-17 at 15:31 +0200, Alexandru Stefan ISAILA wrote:
> By default the sve bits are not set.
> This patch adds a new hypercall, xc_altp2m_set_supress_ve_multi(),
> to set a range of sve bits.
> The core function, p2m_set_suppress_ve_multi(), does not break in
> case
> of a error and it is doing a best effort for setting the bits in the
> given range. A check for continuation is made in order to have
> preemption on large ranges.
> The gfn of the first error is stored in
> xen_hvm_altp2m_suppress_ve_multi.first_error_gfn and the error code
> is
> stored in xen_hvm_altp2m_suppress_ve_multi.first_error.
> If no error occurred the values will be 0.
> 
> Signed-off-by: Alexandru Isaila <aisaila@xxxxxxxxxxxxxxx>
> 
Reviewed-by: Petre Pircalabu <ppircalabu@xxxxxxxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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