From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030867AbdEWSax (ORCPT ); Tue, 23 May 2017 14:30:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:59588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751023AbdEWSaw (ORCPT ); Tue, 23 May 2017 14:30:52 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 994BE23900 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Date: Tue, 23 May 2017 13:30:50 -0500 From: Bjorn Helgaas To: Mason Cc: Marc Gonzalez , Marc Zyngier , Thomas Gleixner , Robin Murphy , Lorenzo Pieralisi , Liviu Dudau , David Laight , linux-pci , Linux ARM , Thibaud Cornic , Phuong Nguyen , LKML Subject: Re: [PATCH v4 0/2] Tango PCIe controller support Message-ID: <20170523183050.GA2637@bhelgaas-glaptop.roam.corp.google.com> References: <20170523171758.GC24431@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 23, 2017 at 08:07:53PM +0200, Mason wrote: > On 23/05/2017 19:17, Bjorn Helgaas wrote: > > > > On Thu, Apr 20, 2017 at 04:24:39PM +0200, Marc Gonzalez wrote: > > > >> This patch was split in two, to ease review of two orthogonal > >> parts (MSI controller and host bridge). NB: the patch is > >> just split in two where host bridge support starts. > > > > The split is backwards. The first patch should add basic host bridge > > support that is functional, though lacking MSI support. The second should > > add the MSI support. > > OK, I'll invert the patches. > > Note: the bridge does not support legacy interrupts. > Without MSI support, EPs can't interrupt the host. > Is that still considered functional? Yes. The driver can at least claim the host bridge and enumerate PCI devices. If you add the MSI support first, that code is completely dead and can never be called until the second patch is merged. Bjorn