From patchwork Thu Sep 28 12:58:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 819585 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3y2vrv11Hvz9t66 for ; Thu, 28 Sep 2017 22:58:55 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753127AbdI1M6w (ORCPT ); Thu, 28 Sep 2017 08:58:52 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:44126 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752987AbdI1M6v (ORCPT ); Thu, 28 Sep 2017 08:58:51 -0400 Received: by mail.free-electrons.com (Postfix, from userid 110) id C1F3A2095E; Thu, 28 Sep 2017 14:58:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 9954820880; Thu, 28 Sep 2017 14:58:39 +0200 (CEST) From: Thomas Petazzoni To: Bjorn Helgaas , linux-pci@vger.kernel.org Cc: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Nadav Haklai , Hanna Hawa , Yehuda Yitschak , linux-arm-kernel@lists.infradead.org, Antoine Tenart , =?utf-8?q?Miqu=C3=A8l_Raynal?= , Thomas Petazzoni Subject: [PATCH v2 0/7] PCI: aardvark: improve compatibility with PCI devices Date: Thu, 28 Sep 2017 14:58:31 +0200 Message-Id: <20170928125838.11887-1-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.13.5 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Hello, This patch series brings a number of fixes to the pci-aardvark driver that allows a much larger number of PCIe devices to be used. It fixes kernel bug https://bugzilla.kernel.org/show_bug.cgi?id=196339, and has been tested with an IGB NIC and a Marvell SATA PCIe card, which were not working previously. They should be taken for the 4.14 cycle, as they are all bug fixes. Changes since v1: - Rebased on top of v4.14-rc2, in order to resolve a minor conflict with another patch merged in the mean time. Thanks a lot! Thomas Evan Wang (1): PCI: aardvark: fix PCIe max read request size setting Thomas Petazzoni (1): PCI: aardvark: define IRQ related hooks in pci_host_bridge Victor Gu (5): PCI: aardvark: fix logic in PCI configuration read/write functions PCI: aardvark: set PIO_ADDR_LS correctly in advk_pcie_rd_conf() PCI: aardvark: set host and device to the same MAX payload size PCI: aardvark: use isr1 instead of isr0 interrupt in legacy irq mode PCI: aardvark: disable LOS state by default drivers/pci/host/pci-aardvark.c | 116 +++++++++++++++++++++++++++++++--------- 1 file changed, 92 insertions(+), 24 deletions(-)