Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751671AbdL0BAH (ORCPT ); Tue, 26 Dec 2017 20:00:07 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:46018 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751266AbdL0BAE (ORCPT ); Tue, 26 Dec 2017 20:00:04 -0500 X-UUID: 43c2d5c6b2d34f738a94c8c9edd368d3-20171227 From: To: , , , , , , , , , , CC: , , , , , , Subject: [PATCH v5 0/2] PCI: mediatek: Fixups for the IRQ handle routine and MT7622's class code Date: Wed, 27 Dec 2017 08:59:52 +0800 Message-ID: <1514336394-17747-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: 1162 Lines: 35 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 v4: - Only setup vendor ID for MT7622, igorning the device ID since mediatek's host bridge driver does not cares about the device ID. 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 | 2 ++ 2 files changed, 20 insertions(+), 5 deletions(-) -- 2.6.4