Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751756AbdLVFj4 (ORCPT ); Fri, 22 Dec 2017 00:39:56 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:30302 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751200AbdLVFjy (ORCPT ); Fri, 22 Dec 2017 00:39:54 -0500 X-UUID: b0d5dd38ca774186a9b2a66d28b30b93-20171222 From: To: , , , , , , , , , , CC: , , , , , , Subject: [PATCH v4 0/2] PCI: mediatek: Fixups for the IRQ handle routine and MT7622's class code Date: Fri, 22 Dec 2017 13:39:36 +0800 Message-ID: <1513921178-16148-1-git-send-email-honghui.zhang@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1011 Lines: 31 From: Honghui Zhang Two fixups for mediatek's host bridge: The first patch fixup the IRQ handle routine to avoid IRQ reentry which may exist for both MT2712 and MT7622. The second patch fixup class type for MT7622. Change since v3: - Setup the class type and vendor ID at the beginning of startup instead of in a quirk. - Add mediatek's vendor ID, it could be found in: https://pcisig.com/membership/member-companies?combine=&page=4 Change since v2: - Move the initialize of the iterate before the loop to fix an INTx IRQ issue in the first patch Change since v1: - Add the second patch. - Make the first patch's commit message more standard. Honghui Zhang (2): PCI: mediatek: Clear IRQ status after IRQ dispatched to avoid reentry PCI: mediatek: Set up class type and vendor ID for MT7622 drivers/pci/host/pcie-mediatek.c | 23 ++++++++++++++++++----- include/linux/pci_ids.h | 3 +++ 2 files changed, 21 insertions(+), 5 deletions(-) -- 2.6.4