On Thu, 15 Sep 2022, Juergen Gross wrote:
> On 15.09.22 03:18, Stefano Stabellini wrote:
> > On Wed, 14 Sep 2022, Jan Beulich wrote:
> > > On 14.09.2022 01:31, Stefano Stabellini wrote:
> > > > The problem is that drivers/xen/privcmd.c:privcmd_mmap sets VM_IO |
> > > > VM_PFNMAP, and either flag wo
On 15.09.2022 03:18, Stefano Stabellini wrote:
> On Wed, 14 Sep 2022, Jan Beulich wrote:
>> I did look some at the specific use by the TEE subsystem, and it looks
>> to me as if their "shared memory" machinery simply isn't meant to be
>> used with non-local memory.
>
> Any more info?
I guess that
On 15.09.22 03:18, Stefano Stabellini wrote:
On Wed, 14 Sep 2022, Jan Beulich wrote:
On 14.09.2022 01:31, Stefano Stabellini wrote:
The problem is that drivers/xen/privcmd.c:privcmd_mmap sets VM_IO |
VM_PFNMAP, and either flag would cause check_vma_flags to return
-EFAULT.
Do you know if it wo
On Wed, 14 Sep 2022, Jan Beulich wrote:
> On 14.09.2022 01:31, Stefano Stabellini wrote:
> > The problem is that drivers/xen/privcmd.c:privcmd_mmap sets VM_IO |
> > VM_PFNMAP, and either flag would cause check_vma_flags to return
> > -EFAULT.
> >
> > Do you know if it works if you remove VM_IO | V
On 14.09.2022 01:31, Stefano Stabellini wrote:
> The problem is that drivers/xen/privcmd.c:privcmd_mmap sets VM_IO |
> VM_PFNMAP, and either flag would cause check_vma_flags to return
> -EFAULT.
>
> Do you know if it works if you remove VM_IO | VM_PFNMAP from
> privcmd_mmap?
My Linux MM knowledge
jo-john ;
jgr...@suse.com
Subject: RE: Linux pin_user_pages_fast fails on Xen
The problem is that drivers/xen/privcmd.c:privcmd_mmap sets VM_IO | VM_PFNMAP,
and either flag would cause check_vma_flags to return -EFAULT.
Do you know if it works if you remove VM_IO | VM_PFNMAP from privcmd_mmap?
Juergen
gt; Devaraj ; Pandeshwara krishna, Mythri
> ; SK, SivaSangeetha (Siva Sangeetha)
> ; Thomas, Rijo-john ;
> jgr...@suse.com
> Subject: RE: Linux pin_user_pages_fast fails on Xen
>
> [AMD Official Use Only - General]
>
> Hi Stefano,
>
> https://elixir.boo
om
Subject: RE: Linux pin_user_pages_fast fails on Xen
[AMD Official Use Only - General]
Hi Stefano,
https://elixir.bootlin.com/linux/v5.16/source/mm/gup.c#L975 is the -EFAULT
returning for our current use case.
access_ok is fine.
Regards,
Jeshwanth
-Original Message-
From: Stefano
Subject: Re: Linux pin_user_pages_fast fails on Xen
On Sat, 10 Sep 2022, Juergen Gross wrote:
> On 09.09.22 22:25, Stefano Stabellini wrote:
> > On Fri, 9 Sep 2022, Juergen Gross wrote:
> > > On 09.09.22 04:11, Stefano Stabellini wrote:
> > > > Adding more people in CC
On Sat, 10 Sep 2022, Juergen Gross wrote:
> On 09.09.22 22:25, Stefano Stabellini wrote:
> > On Fri, 9 Sep 2022, Juergen Gross wrote:
> > > On 09.09.22 04:11, Stefano Stabellini wrote:
> > > > Adding more people in CC
> > > >
> > > > On Thu, 8 Sep 2022, Stefano Stabellini wrote:
> > > > > Hi Juerg
On 09.09.22 22:25, Stefano Stabellini wrote:
On Fri, 9 Sep 2022, Juergen Gross wrote:
On 09.09.22 04:11, Stefano Stabellini wrote:
Adding more people in CC
On Thu, 8 Sep 2022, Stefano Stabellini wrote:
Hi Juergen,
A colleague is seeing a failure on x86 in Linux Dom0. The failure is
pin_user_
On Fri, 9 Sep 2022, Juergen Gross wrote:
> On 09.09.22 04:11, Stefano Stabellini wrote:
> > Adding more people in CC
> >
> > On Thu, 8 Sep 2022, Stefano Stabellini wrote:
> > > Hi Juergen,
> > >
> > > A colleague is seeing a failure on x86 in Linux Dom0. The failure is
> > > pin_user_pages_fast w
On 09.09.22 04:11, Stefano Stabellini wrote:
Adding more people in CC
On Thu, 8 Sep 2022, Stefano Stabellini wrote:
Hi Juergen,
A colleague is seeing a failure on x86 in Linux Dom0. The failure is
pin_user_pages_fast with addresses that correspond to foreign memory
pages:
- QEMU maps a domU a
Adding more people in CC
On Thu, 8 Sep 2022, Stefano Stabellini wrote:
> Hi Juergen,
>
> A colleague is seeing a failure on x86 in Linux Dom0. The failure is
> pin_user_pages_fast with addresses that correspond to foreign memory
> pages:
>
> - QEMU maps a domU address using dma_memory_map (xen_m
14 matches
Mail list logo