AMD-Vi: Event logged [IO_PAGE_FAULT device=42:00.0 domain=0x005e address=0xfffffffdf8030000 flags=0x0008]

2020-12-02 Thread Marc Smith
Hi, First, I must preface this email by apologizing in advance for asking about a distro kernel (RHEL in this case); so not truly reporting this problem and requesting a fix here (I know this should be taken up with the vendor), rather hoping someone can give me a few hints/pointers on where to lo

Re: [RESEND PATCH v3 0/4] iommu/iova: Solve longterm IOVA issue

2020-12-02 Thread Dmitry Safonov
On Tue, 1 Dec 2020 at 21:50, Will Deacon wrote: > > On Tue, 17 Nov 2020 18:25:30 +0800, John Garry wrote: > > This series contains a patch to solve the longterm IOVA issue which > > leizhen originally tried to address at [0]. > > > > A sieved kernel log is at the following, showing periodic dumps

[PATCH v7] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-12-02 Thread Ashish Kalra
From: Ashish Kalra For SEV, all DMA to and from guest has to use shared (un-encrypted) pages. SEV uses SWIOTLB to make this happen without requiring changes to device drivers. However, depending on workload being run, the default 64MB of SWIOTLB might not be enough and SWIOTLB may run out of buf

Re: [PATCH v3 1/1] vfio/type1: Add vfio_group_domain()

2020-12-02 Thread Alex Williamson
On Tue, 1 Dec 2020 09:23:28 +0800 Lu Baolu wrote: > Add the API for getting the domain from a vfio group. This could be used > by the physical device drivers which rely on the vfio/mdev framework for > mediated device user level access. The typical use case like below: > > unsigned int pa

Re: [RESEND PATCH v3 0/4] iommu/iova: Solve longterm IOVA issue

2020-12-02 Thread John Garry
On 01/12/2020 21:02, Will Deacon wrote: cc'ing some more people who have touched iova code recently On Tue, Dec 01, 2020 at 03:35:02PM +, John Garry wrote: On 17/11/2020 10:25, John Garry wrote: Is there any chance that we can get these picked up for 5.11? We've seen this issue solved here

Re: [PATCH v13 07/15] iommu/smmuv3: Allow stage 1 invalidation with unmanaged ASIDs

2020-12-02 Thread Wang Xingang
Thanks for your reply. We are testing vSVA, and will let you know if other problems are found. On 2020/12/1 21:58, Auger Eric wrote: Hi Xingang, On 12/1/20 2:33 PM, Xingang Wang wrote: Hi Eric On Wed, 18 Nov 2020 12:21:43, Eric Auger wrote: @@ -1710,7 +1710,11 @@ static void arm_smmu_tlb_in

Re: [PATCH] iommu: arm-smmu-impl: add NXP hook to preserve bootmappings

2020-12-02 Thread Laurentiu Tudor
Hi Robin, Sorry for the late reply, we had a few days of over here. Comments inline. On 11/25/2020 8:10 PM, Robin Murphy wrote: > On 2020-11-25 15:50, laurentiu.tu...@nxp.com wrote: >> From: Laurentiu Tudor >> >> Add a NXP specific hook to preserve SMMU mappings present at >> boot time (created