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

Re: [XEN PATCH v1] xen/arm : Add support for SMMUv3 driver


  • To: Rahul Singh <rahul.singh@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • Date: Fri, 30 Oct 2020 10:44:19 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.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=2pz5dJh1rAxRDvqVzFIxUhHYsVolUz0ych1nLMqlMy8=; b=XckW6um94k0vhFxRCV8Oi4cs/snz1AjAest/ODZzcNVEhUfYMceERdoWLE+miExPUD5boIsdFBfHMwSd6gG1N/fjiU2yWU2JEt+w5sSqPsD1nSlucbrUispWcBX5pTOIwT/9bmVYJCV2OuEvRonBAB8JMdA029ctlQrk+QVf42YU8jrHjUhW3IbkiaTu1qNyEgL8Wot8p1IRLhA0Ybz+roJNTvvj76QHkylQaMW8p2QC45wu82Hb1ianIh4kk8CG2JLU6sxHyEUqJp0B0YY9LVqbSxg+5eSBdsx84sW9ZVYjRcvyhN5hvF0evdYOyYO3e+87272IV0p3ZIiDDl9x/A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HCmtxJflP5+9G5A98x2q7p+bAfpmwsD8dSVk0T4VouBdr3uqCn9p1zkbt5RZrlEmC4u61SIYs3pC2nWj6Zs21hYVqaFSGgR9Yy7mfLnmqJkQ9G92sz41J5uTW1BIuiL2mEH7E5gr/GPoMM5NFhNIewOwkpDN6k1wUDD7c4fz4mODqrQauFdwkGAQKXGWLHoK6AOLwQQZJcT2Eolz5yc+XggmbKZP60Kl3iTsEERa93w+F0skBBGk53KxgkFuQH8K623FjeliQpqkR23cQHHFWbj6ruSK0lFgOBKTyrgFMV+cfhtUycZBzF50DneD85D2RJyBccjl9m4/UYv62azJvA==
  • Authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=epam.com;
  • Cc: "bertrand.marquis@xxxxxxx" <bertrand.marquis@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Fri, 30 Oct 2020 10:44:51 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHWrqmeCV4SGlhADU2GY14D47cn7w==
  • Thread-topic: [XEN PATCH v1] xen/arm : Add support for SMMUv3 driver

Hi, Rahul!

On 10/20/20 6:25 PM, Rahul Singh wrote:
> Add support for ARM architected SMMUv3 implementations. It is based on
> the Linux SMMUv3 driver.
>
> Major differences between the Linux driver are as follows:
> 1. Only Stage-2 translation is supported as compared to the Linux driver
>     that supports both Stage-1 and Stage-2 translations.

First of all thank you for the efforts!

I tried the patch with QEMU and would like to know if my understanding correct

that this combination will not work as of now:

(XEN) SMMUv3: /smmuv3@9050000: SMMUv3: DT value = eventq
(XEN) Data Abort Trap. Syndrome=0x1940010
(XEN) Walking Hypervisor VA 0x40031000 on CPU0 via TTBR 0x00000000b8469000
(XEN) 0TH[0x0] = 0x00000000b8468f7f

[snip]

If this is expected then is there any plan to make QEMU work as well?

I see [1] says that "Only stage 1 and AArch64 PTW are supported." on QEMU side.


We are interested in QEMU/SMMUv3 as a flexible platform for PCI passthrough

implementation, so it could allow testing different setups and configurations 
with QEMU.


Thank you in advance,

Oleksandr

[1] 
https://patchwork.ozlabs.org/project/qemu-devel/cover/1524665762-31355-1-git-send-email-eric.auger@xxxxxxxxxx/

 


Rackspace

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