Re: [PATCH v4 05/11] iommu/sva: Assign a PASID to mm on PASID allocation and free it on mm exit
From: Fenghua Yu
Date: Fri Apr 15 2022 - 15:07:19 EST
Hi, Zhangfei,
On Fri, Apr 15, 2022 at 07:52:03PM +0800, zhangfei.gao@xxxxxxxxxxx wrote:
> > On my X86 machine, nginx doesn't trigger the kernel sva binding function
> > to allocate ioasid. I tried pre- nstalled nginx/openssl and also tried my built
> > a few versions of nginx/openssl. nginx does call OPENSSL_init_ssl() but
> > doesn't go to the binding function. Don't know if it's my configuration issue.
> > Maybe you can give me some advice?
> I am using openssl engine, which use crypto driver and using sva via uacce.
> nginx -> openssl -> openssl engine -> sva related.
uacce is not used on X86. That's why I cannot test IOASID/PASID by nginx
on X86.
I only can test the RFC patch by other test tools via IDXD driver which uses
PASID on X86.
Thanks.
-Fenghua