Re: [Intel-gfx] [PATCH v6 09/10] vfio/pci: Extend VFIO_DEVICE_GET_PCI_HOT_RESET_INFO for vfio device cdev

2023-05-25 Thread Baolu Lu
On 5/25/23 9:02 PM, Liu, Yi L wrote: It's possible that requirement might be relaxed in the new DMA ownership model, but as it is right now, the code enforces that requirement and any new discussion about what makes hot-reset available should note both the ownership and dev_set requirement. Th

Re: [Intel-gfx] [core-for-CI][PATCH] iommu: Remove iova cpu hotplugging flushing

2022-11-02 Thread Baolu Lu
On 2022/9/22 18:10, Janusz Krzysztofik wrote: From: Chris Wilson Manual revert of commit f598a497bc7d ("iova: Add CPU hotplug handler to flush rcaches"). It is trying to instantiate a cpuhp notifier from inside a cpuhp callback. That code replaced intel_iommu implementation of flushing per-IOV

Re: [Intel-gfx] [core-for-CI][PATCH] iommu: Remove iova cpu hotplugging flushing

2022-11-02 Thread Baolu Lu
On 2022/11/2 19:17, Baolu Lu wrote: On 2022/9/22 18:10, Janusz Krzysztofik wrote: From: Chris Wilson Manual revert of commit f598a497bc7d ("iova: Add CPU hotplug handler to flush rcaches").  It is trying to instantiate a cpuhp notifier from inside a cpuhp callback.  That cod

Re: [PATCH v2 1/1] iommu/vt-d: Remove INTEL_IOMMU_BROKEN_GFX_WA

2024-01-29 Thread Baolu Lu
On 2024/1/30 14:24, Tian, Kevin wrote: From: Lu Baolu Sent: Tuesday, January 30, 2024 2:08 PM Commit 62edf5dc4a524 ("intel-iommu: Restore DMAR_BROKEN_GFX_WA option for broken graphics drivers") was introduced 24 years ago as a temporary workaround for graphics drivers that used physical address

Re: [PATCH v2 1/1] iommu/vt-d: Remove INTEL_IOMMU_BROKEN_GFX_WA

2024-02-25 Thread Baolu Lu
On 1/30/24 2:08 PM, Lu Baolu wrote: Commit 62edf5dc4a524 ("intel-iommu: Restore DMAR_BROKEN_GFX_WA option for broken graphics drivers") was introduced 24 years ago as a temporary workaround for graphics drivers that used physical addresses for DMA and avoided DMA APIs. This workaround was disable

Re: [PATCH 1/1] iommu/vt-d: Decouple igfx_off from graphic identity mapping

2024-04-28 Thread Baolu Lu
On 2024/4/28 14:45, Tian, Kevin wrote: From: Lu Baolu Sent: Sunday, April 28, 2024 11:20 AM A kernel command called igfx_off was introduced in commit ("Intel IOMMU: Intel IOMMU driver"). This command allows the user to disable the IOMMU dedicated to SOC-integrated graphic devices. Commit <9452

Re: [RFC PATCH] iommu: intel: apply quirk_iommu_igfx for 8086:0044 (QM57/QS57)

2024-11-10 Thread Baolu Lu
On 11/8/24 20:08, Mingcong Bai wrote: (I'm not very confident about the approach of this patch but I failed to find a better way to address the issue I have on hand, so please consider this patch as an RFC...) On the Lenovo ThinkPad X201, when Intel VT-d is enabled in the BIOS, the kernel boots

Re: Regression on drm-tip

2025-03-16 Thread Baolu Lu
On 3/16/25 15:27, Borah, Chaitanya Kumar wrote: -Original Message- From: Baolu Lu Sent: Sunday, March 16, 2025 8:04 AM To: Borah, Chaitanya Kumar Cc:intel-gfx@lists.freedesktop.org;intel...@lists.freedesktop.org; io...@lists.linux.dev Subject: Re: Regression on drm-tip On 3/14/25 17

Re: Regression on drm-tip

2025-03-16 Thread Baolu Lu
On 3/16/25 18:01, Borah, Chaitanya Kumar wrote: -Original Message- From: Baolu Lu Sent: Sunday, March 16, 2025 1:33 PM To: Borah, Chaitanya Kumar Cc:intel-gfx@lists.freedesktop.org;intel...@lists.freedesktop.org; io...@lists.linux.dev; Kurmi, Suresh Kumar ; Saarinen, Jani; De Marchi

Re: Regression on drm-tip

2025-03-15 Thread Baolu Lu
On 3/14/25 17:04, Borah, Chaitanya Kumar wrote: -Original Message- From: Baolu Lu Sent: Thursday, March 13, 2025 7:53 PM To: Borah, Chaitanya Kumar Cc: baolu...@linux.intel.com; intel-gfx@lists.freedesktop.org; intel- x...@lists.freedesktop.org; io...@lists.linux.dev Subject: Re

Re: [RFC PATCH RESEND] iommu: intel: apply quirk_iommu_igfx for 8086:0044 (QM57/QS57)

2025-04-18 Thread Baolu Lu
On 4/18/25 11:07, Baolu Lu wrote: On 1/20/25 17:35, Mingcong Bai wrote: (I'm not very confident about the approach of this patch but I failed to find a better way to address the issue I have on hand, so please consider this patch as an RFC...) On the Lenovo ThinkPad X201, when Intel VT

Re: [RFC PATCH RESEND] iommu: intel: apply quirk_iommu_igfx for 8086:0044 (QM57/QS57)

2025-04-17 Thread Baolu Lu
On 1/20/25 17:35, Mingcong Bai wrote: (I'm not very confident about the approach of this patch but I failed to find a better way to address the issue I have on hand, so please consider this patch as an RFC...) On the Lenovo ThinkPad X201, when Intel VT-d is enabled in the BIOS, the kernel boots

Re: [PATCH] iommu: intel: apply quirk_iommu_igfx for 8086:0044 (QM57/QS57)

2025-04-18 Thread Baolu Lu
On 4/15/25 21:33, Mingcong Bai wrote: On the Lenovo ThinkPad X201, when Intel VT-d is enabled in the BIOS, the kernel boots with errors related to DMAR, the graphical interface appeared quite choppy, and the system resets erratically within a minute after it booted: DMAR: DRHD: handling fault st

Re: Regression on drm-tip

2025-03-13 Thread Baolu Lu
On 2025/3/13 16:51, Borah, Chaitanya Kumar wrote: Hello Lu, Hope you are doing well. I am Chaitanya from the linux graphics team in Intel. This mail is regarding a regression we are seeing in our CI runs[1] on drm-tip repository. ```

Re: Regression on drm-tip

2025-03-13 Thread Baolu Lu
On 2025/3/13 16:51, Borah, Chaitanya Kumar wrote: Hello Lu, Hope you are doing well. I am Chaitanya from the linux graphics team in Intel. This mail is regarding a regression we are seeing in our CI runs[1] on drm-tip repository. ```