From patchwork Mon Mar 14 10:14:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 12780005 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54B88C433F5 for ; Mon, 14 Mar 2022 10:14:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238417AbiCNKPn (ORCPT ); Mon, 14 Mar 2022 06:15:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233973AbiCNKPm (ORCPT ); Mon, 14 Mar 2022 06:15:42 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CBBB3CA6E; Mon, 14 Mar 2022 03:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647252873; x=1678788873; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=kEi2YCOItoIkSZkuO9gZz1rnqanJo3k0G0pB4pKk1zM=; b=i/CwRXDCoCYJFU70NQYik/ovwnMOETW/HPXt8OpudhlNDRLJTaAEWqSC 5DHRxevEowz6Do+oST/V0URoIiMUnWnbvy6RMkVH4KTal7a7ZIUvof0kB nmeaGRxRKrO+7jsMtbpwlQmZQCPZ5WO81uGEqgwXvbJpWyM/GeKIEn7cS JWDTzROu7q4OjVlaMJfWaR+Y4Cl1Rxte2hDPlpXOONrjNtj0G1EbCUyxX Hith+2CQCYWVwbnU9wgypQk5nyDsz0WCNULjeble1S7lFwM1bDbMvk8Na c3yOLEMDR0G3EbvwlMzGXJxnNJEihXlqv1m5SR8IFyUaolTFVIhpO13rL g==; X-IronPort-AV: E=McAfee;i="6200,9189,10285"; a="236590076" X-IronPort-AV: E=Sophos;i="5.90,180,1643702400"; d="scan'208";a="236590076" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2022 03:14:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,180,1643702400"; d="scan'208";a="818829898" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga005.fm.intel.com with ESMTP; 14 Mar 2022 03:14:31 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 271AF150; Mon, 14 Mar 2022 12:14:50 +0200 (EET) From: Andy Shevchenko To: Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andy Shevchenko , micklorain@protonmail.com Subject: [PATCH v1 1/1] PCI: Enable INTx quirk for ATI PCIe-USB adapter Date: Mon, 14 Mar 2022 12:14:48 +0200 Message-Id: <20220314101448.90074-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org ATI PCIe-USB adapter advertises MSI, but it doesn't work if INTx is disabled. Enable the respective quirk as it's done for other ATI devices on this chipset, Fixes: 306c54d0edb6 ("usb: hcd: Try MSI interrupts on PCI devices") BugLink: https://lore.kernel.org/all/20200702143045.23429-1-andriy.shevchenko@linux.intel.com/ Reported-by: micklorain@protonmail.com Tested-by: micklorain@protonmail.com Signed-off-by: Andy Shevchenko --- drivers/pci/quirks.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 65f7f6b0576c..cc6a87a32b62 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3041,6 +3041,13 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_TIGON3_5715S, quirk_msi_intx_disable_bug); +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x4386, quirk_msi_intx_disable_bug); +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x4387, quirk_msi_intx_disable_bug); +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x4388, quirk_msi_intx_disable_bug); +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x4389, quirk_msi_intx_disable_bug); +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x438a, quirk_msi_intx_disable_bug); +DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x438b, quirk_msi_intx_disable_bug); + DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x4390, quirk_msi_intx_disable_ati_bug); DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x4391,