Received: by 10.223.176.5 with SMTP id f5csp588122wra; Fri, 9 Feb 2018 04:05:26 -0800 (PST) X-Google-Smtp-Source: AH8x2263ZIicnpFHZy4JEjOKI83fyqhZSi8KP0NldqezJPpZQP/jon1OREaHvMB26e1wVaNajt/X X-Received: by 10.98.20.77 with SMTP id 74mr2682321pfu.45.1518177926362; Fri, 09 Feb 2018 04:05:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518177926; cv=none; d=google.com; s=arc-20160816; b=kKHp9jFjNWuIFS13Cx8e2h0uwXXzJ8KgFec6ZHwyPE/K7hygjTRn2A+jXKb/4oJEno F3uyFznINsfkc6ztAGLoQG10FPBSHSVTYJfrrDoOqBO+fAp7i5GOnMK5ey8AGfOzE8yz ahXbpTJ+YfZZr5yk6RLQXeXWg81hF1kKanScKq28EH6ntQiv8+/uhilM5zz9XwAgukKu H5LdTNTUvobYec7cZhoWV64qxS5DgJDqiEZbV/pKyfuTIVvcU/UX/wOBF7YJ4FXecHxk WFzgMoRhCu6owxKwhgfC7plTCEGhdC5sxYa1FNEVftRtxE6pxEQ4u320XP5TSyoGmKg3 KNXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=5FJTGBSl/tjoU8ZL3yQy0Tf2TGT3coAqRvkxnduGoAk=; b=OlBwTT4lNX21rcMRyRRaTvKnVv4y2D7mMiN1qLfwrKPfZqt1cNAexCe39Srd0Enj/B xZjRGdmJnZEvnEkoCc7pUFSjb43OBTgOv8jRBYPL9nsqfKZ1unvnLIdokcaV+WfAXxE9 5mlnHWeCiJHT0e5VKGZOkB/9WR4c6IzYyPw2ELrot4lVToK387T/8PxHOS7VzhIP7qdV jx7FtBmRv41AoECx4UojCa10dEBMEjklTVj/I5ybi0rDg1IWpCjzfKM7K86Z8B/mfltC +bdSQ5aIEJU3kr8h1psKEJMYZhBAle1Uu7sp+ZZ6pasAocfbgStxN5ZxVo5LpYwnKRCT bGyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YXmfqBAg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si1295779pgu.831.2018.02.09.04.05.10; Fri, 09 Feb 2018 04:05:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YXmfqBAg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752100AbeBIMEU (ORCPT + 99 others); Fri, 9 Feb 2018 07:04:20 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:43020 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbeBIMEB (ORCPT ); Fri, 9 Feb 2018 07:04:01 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w19C3fPo006590; Fri, 9 Feb 2018 06:03:41 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1518177821; bh=wOeWpigNzGpwy8UrgTCll4RidpETniNgheqW+nKfaxQ=; h=From:To:CC:Subject:Date; b=YXmfqBAgE/tEQf8iQGeeMiXaxV8XhiHV3saJArwgARcVaycK+nWwtt3G5R6gj1zXp aoc6jANjJ/IQ1u17d3Iiv02lucwKANKTlul1A26VsB6dZzrsQQAxRDDSKrwQFReXOH AvpYMMKoQfaJAHhNgJPseqvIX4a92EclmAVAfQ6Y= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w19C3fV5022902; Fri, 9 Feb 2018 06:03:41 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Fri, 9 Feb 2018 06:03:40 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Fri, 9 Feb 2018 06:03:40 -0600 Received: from a0132425.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w19C3bko017802; Fri, 9 Feb 2018 06:03:38 -0600 From: Vignesh R To: Lorenzo Pieralisi , Jingoo Han , Joao Pinto CC: Kishon Vijay Abraham I , Bjorn Helgaas , Niklas Cassel , , , , Vignesh R Subject: [PATCH 0/3] dra7xx: PCIe IRQ handling rework Date: Fri, 9 Feb 2018 17:34:12 +0530 Message-ID: <20180209120415.17590-1-vigneshr@ti.com> X-Mailer: git-send-email 2.16.1 MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series re-works dra7xx MSI IRQ handler to avoid issues of missing of MSI IRQs and Legacy IRQs. Tested on AM572 EVM with TUSB PCIe USB card and Intel PCIe WiFi cards. Vignesh R (3): Revert "PCI: dwc: Clear MSI interrupt status after it is handled, not before" PCI: dwc: pci-dra7xx: Improve MSI IRQ handling PCI: dwc: pci-dra7xx: Handle legacy and MSI IRQs together drivers/pci/dwc/pci-dra7xx.c | 32 +++++++++++++++++++++----------- drivers/pci/dwc/pcie-designware-host.c | 2 +- 2 files changed, 22 insertions(+), 12 deletions(-) -- 2.16.1