Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-27 Thread Jason Wang
On Mon, May 27, 2024 at 2:50 PM Michael S. Tsirkin wrote: > > On Mon, May 27, 2024 at 06:44:58AM +, Duan, Zhenzhong wrote: > > Hi Jason, > > > > >-Original Message- > > >From: Duan, Zhenzhong > > >Subject: RE: [PATCH] intel_iommu: Use

Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-27 Thread Michael S. Tsirkin
On Mon, May 27, 2024 at 06:44:58AM +, Duan, Zhenzhong wrote: > Hi Jason, > > >-Original Message- > >From: Duan, Zhenzhong > >Subject: RE: [PATCH] intel_iommu: Use the latest fault reasons defined by > >spec > > > > > > > >>---

Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-27 Thread Michael S. Tsirkin
On Mon, May 27, 2024 at 02:32:46PM +0800, Yi Liu wrote: > Folks, looks like it's not necessary to be aligned with spec version. > e.g. I can see something like below. This is an old machine which is > not possible to be built according to vt-d spec 4.0. Let me check more > machines as well to

RE: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-27 Thread Duan, Zhenzhong
Hi Jason, >-Original Message- >From: Duan, Zhenzhong >Subject: RE: [PATCH] intel_iommu: Use the latest fault reasons defined by >spec > > > >>-Original Message- >>From: Jason Wang >>Subject: Re: [PATCH] intel_iommu: Use the latest fault rea

Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-27 Thread Michael S. Tsirkin
On Mon, May 27, 2024 at 06:04:42AM +, Duan, Zhenzhong wrote: > But I'm not sure if there is a real scenario migrating to old qemu, > why not just update qemu on destination? Because you can not just update a huge cluster atomically. -- MST

Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-27 Thread Yi Liu
On 2024/5/27 14:04, Duan, Zhenzhong wrote: -Original Message- From: Jason Wang Subject: Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec On Fri, May 24, 2024 at 4:41 PM Duan, Zhenzhong wrote: -Original Message- From: Jason Wang Subject: Re: [PATCH

RE: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-27 Thread Duan, Zhenzhong
>-Original Message- >From: Jason Wang >Subject: Re: [PATCH] intel_iommu: Use the latest fault reasons defined by >spec > >On Fri, May 24, 2024 at 4:41 PM Duan, Zhenzhong > wrote: >> >> >> >> >-Original Message----- >> >Fr

Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-26 Thread Jason Wang
On Fri, May 24, 2024 at 4:41 PM Duan, Zhenzhong wrote: > > > > >-Original Message- > >From: Jason Wang > >Subject: Re: [PATCH] intel_iommu: Use the latest fault reasons defined by > >spec > > > >On Tue, May 21, 2024 at 6:25 PM Duan, Zhenzhong

RE: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-24 Thread Duan, Zhenzhong
>-Original Message- >From: Jason Wang >Subject: Re: [PATCH] intel_iommu: Use the latest fault reasons defined by >spec > >On Tue, May 21, 2024 at 6:25 PM Duan, Zhenzhong > wrote: >> >> >> >> >-Original Message----- >> >Fr

Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-22 Thread Jason Wang
On Tue, May 21, 2024 at 6:25 PM Duan, Zhenzhong wrote: > > > > >-Original Message- > >From: Jason Wang > >Subject: Re: [PATCH] intel_iommu: Use the latest fault reasons defined by > >spec > > > >On Mon, May 20, 2024 at 12:15 PM Liu, Y

RE: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-21 Thread Duan, Zhenzhong
>-Original Message- >From: Jason Wang >Subject: Re: [PATCH] intel_iommu: Use the latest fault reasons defined by >spec > >On Mon, May 20, 2024 at 12:15 PM Liu, Yi L wrote: >> >> > From: Duan, Zhenzhong >> > Sent: Monday, May 20, 2024 11:41 AM

Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-20 Thread Jason Wang
t; >To: Duan, Zhenzhong > > >Cc: qemu-devel@nongnu.org; Liu, Yi L ; Peng, Chao P > > >; Yu Zhang ; Michael > > >S. Tsirkin ; Paolo Bonzini ; > > >Richard Henderson ; Eduardo Habkost > > >; Marcel Apfelbaum > > >Subject: Re: [PATCH] intel_iom

RE: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-20 Thread Duan, Zhenzhong
>-Original Message- >From: Liu, Yi L >Subject: RE: [PATCH] intel_iommu: Use the latest fault reasons defined by >spec > >> From: Duan, Zhenzhong >> Sent: Monday, May 20, 2024 11:41 AM >> >> >> >> >-Original Message- >&g

RE: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-19 Thread Liu, Yi L
;; Yu Zhang ; Michael > >S. Tsirkin ; Paolo Bonzini ; > >Richard Henderson ; Eduardo Habkost > >; Marcel Apfelbaum > >Subject: Re: [PATCH] intel_iommu: Use the latest fault reasons defined by > >spec > > > >On Fri, May 17, 2024 at 6:26 PM Zhenzhong Duan > &g

RE: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-19 Thread Duan, Zhenzhong
lbaum >Subject: Re: [PATCH] intel_iommu: Use the latest fault reasons defined by >spec > >On Fri, May 17, 2024 at 6:26 PM Zhenzhong Duan > wrote: >> >> From: Yu Zhang >> >> Currently we use only VTD_FR_PASID_TABLE_INV as fault reason. >> Update with more d

RE: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-19 Thread Duan, Zhenzhong
>-Original Message- >From: Liu, Yi L >Subject: RE: [PATCH] intel_iommu: Use the latest fault reasons defined by >spec > >> From: CLEMENT MATHIEU--DRIF >> Sent: Friday, May 17, 2024 9:13 PM >> >> Hi Zhenzhong >> >> On 17/05/2024 12:23,

Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-19 Thread Jason Wang
On Fri, May 17, 2024 at 6:26 PM Zhenzhong Duan wrote: > > From: Yu Zhang > > Currently we use only VTD_FR_PASID_TABLE_INV as fault reason. > Update with more detailed fault reasons listed in VT-d spec 7.2.3. > > Signed-off-by: Yu Zhang > Signed-off-by: Zhenzhong Duan > --- I wonder if this

Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-19 Thread CLEMENT MATHIEU--DRIF
> From: CLEMENT MATHIEU--DRIF > Sent: Friday, May 17, 2024 9:13 PM > > Hi Zhenzhong > > On 17/05/2024 12:23, Zhenzhong Duan wrote: > > Caution: External email. Do not open attachments or click links, unless > > this email > comes from a known sender and you know the content is safe. > > > > > >

RE: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-18 Thread Liu, Yi L
> From: CLEMENT MATHIEU--DRIF > Sent: Friday, May 17, 2024 9:13 PM > > Hi Zhenzhong > > On 17/05/2024 12:23, Zhenzhong Duan wrote: > > Caution: External email. Do not open attachments or click links, unless > > this email > comes from a known sender and you know the content is safe. > > > > >

Re: [PATCH] intel_iommu: Use the latest fault reasons defined by spec

2024-05-17 Thread CLEMENT MATHIEU--DRIF
Hi Zhenzhong On 17/05/2024 12:23, Zhenzhong Duan wrote: > Caution: External email. Do not open attachments or click links, unless this > email comes from a known sender and you know the content is safe. > > > From: Yu Zhang > > Currently we use only VTD_FR_PASID_TABLE_INV as fault reason. >