]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: ipu6: Remove workaround for Meteor Lake ES2
authorHao Yao <hao.yao@intel.com>
Tue, 11 Mar 2025 08:41:55 +0000 (16:41 +0800)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 25 Apr 2025 08:15:12 +0000 (10:15 +0200)
There was a hardware bug which need IPU6 driver to disable the ATS. This
workaround is not needed anymore as the bug was fixed in hardware level.

Additionally, Arrow Lake has the same IPU6 PCI ID and x86 stepping but
does not have the bug. Removing the Meteor Lake workaround is also
required for the driver to function on Arrow Lake.

Signed-off-by: Hao Yao <hao.yao@intel.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Fixes: 25fedc021985 ("media: intel/ipu6: add Intel IPU6 PCI device driver")
Cc: stable@vger.kernel.org
[Sakari Ailus: Added tags and explanation of what is fixed.]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/pci/intel/ipu6/ipu6.c

index 277af7cda8eec198408ab566ca522902db824af8..b00d0705fefa867cdce0a6a90e074ede77a2f1d4 100644 (file)
@@ -464,11 +464,6 @@ static int ipu6_pci_config_setup(struct pci_dev *dev, u8 hw_ver)
 {
        int ret;
 
-       /* disable IPU6 PCI ATS on mtl ES2 */
-       if (is_ipu6ep_mtl(hw_ver) && boot_cpu_data.x86_stepping == 0x2 &&
-           pci_ats_supported(dev))
-               pci_disable_ats(dev);
-
        /* No PCI msi capability for IPU6EP */
        if (is_ipu6ep(hw_ver) || is_ipu6ep_mtl(hw_ver)) {
                /* likely do nothing as msi not enabled by default */