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

Re: [for-4.18][PATCH 2/2] xen/public: arch-arm: Update list of supported hypercalls


  • To: Julien Grall <julien@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Fri, 6 Oct 2023 12:20:12 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=xen.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pf9spSzX6T7isr+gGgZ8ccmitmtEI00f1YcZrkWAlxY=; b=l6CRlBRKiAuyU+vZipn6SRilp7dkAobQUhR44gBuG8YsCHyKQytRSwtlc1HwTLY11BDM9EGa9TmTYg55JciwlJkRNuV5p+JRhPAzT85JFLq74heduP4qYxbLeBPcHuw2Vz6bN/sXIxBZZpntt4s1x2ZiVghAgkhyblITVU3CMNEk3t0eYhC173WP2FHFFSTctHrPk7N01633YnmMRFfn3K0Yc99OB4xpFNuwVv5KpoBL6DzQzdqIvVfCvu6ZoNbOFsNihe7qtWBeYwH09x8ew1QVu2B0fiNlbRmUTFQbz17/zOSDw7NlPSqslVgtbtEuhQXvIbDmFtXjCVOgDJRvwQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nDq1IIisU52E8tYJ+jVRzEcUImEO+6hcwk0Dj4AS1fSrfDu4kNlsxeM5RSTQwJTim+OPX93+ZlzpkGVaXu33o0GVUCqfjM7ECIB1cJd6glOzQVpGRH40rnb0s90m0N0wY/5RtOo9CrmegUVaGmSrnvuS/vbjY/T2OtPRF9SFt98f+QizaYfeXDUv+oUMmg52i/RgK2wgtzgMaXKr3khtmogENdiS7oUQk6Iagag/PITLGviSxAQrkkMqDtroS0nCyJ/nKu6HTrsFcW1PqFeLonbudAbaldDweoBERzDF8NOBCv0U4EYSh6PSzCQp1exLy15q87hKQDBhCBS60jLdxg==
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, <Henry.Wang@xxxxxxx>
  • Delivery-date: Fri, 06 Oct 2023 10:20:49 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Julien,

On 06/10/2023 12:11, Julien Grall wrote:
> 
> 
> Hi Michal,
> 
> On 06/10/2023 08:51, Michal Orzel wrote:
>> The list is out of date and does not specify all the hypercalls/sub-ops
>> we support, so update it.
>>
>> Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
>> ---
>>   xen/include/public/arch-arm.h | 21 +++++++++++++++++++++
>>   1 file changed, 21 insertions(+)
>>
>> diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h
>> index 6a4467e8f5d1..263b1e182eb3 100644
>> --- a/xen/include/public/arch-arm.h
>> +++ b/xen/include/public/arch-arm.h
>> @@ -104,6 +104,7 @@
>>    *   Exactly these sub-operations are supported:
>>    *    * HVMOP_set_param
>>    *    * HVMOP_get_param
>> + *    * HVMOP_guest_request_vm_event
>>    *
>>    *  HYPERVISOR_grant_table_op
>>    *   All generic sub-operations
>> @@ -116,6 +117,26 @@
>>    *  HYPERVISOR_argo_op
>>    *   All generic sub-operations
>>    *
>> + *  HYPERVISOR_hypfs_op
>> + *   All generic sub-operations
>> + *
>> + *  HYPERVISOR_platform_op
>> + *   Exactly these sub-operations are supported:
>> + *    * XENPF_settime64
>> + *
>> + *  HYPERVISOR_vm_assist
>> + *   All generic sub-operations
>> + *
>> + *  HYPERVISOR_dm_op
>> + *   All ioreq server sub-operations are supported as well as:
> 
> I interpret this sentence as all the hypercall with 'ioreq' in their
> name is supported. But, for Arm, we at least don't support
> XEN_DMOP_map_mem_type_to_ioreq_server.
What I meant is that we support all sub-ops from ioreq_server_dm_op (ioreq.c).
XEN_DMOP_map_mem_type_to_ioreq_server is only accessible on x86 and not part of 
ioreq.c

~Michal



 


Rackspace

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