From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934350AbaLKJpA (ORCPT ); Thu, 11 Dec 2014 04:45:00 -0500 Received: from mail-gw3-out.broadcom.com ([216.31.210.64]:8993 "EHLO mail-gw3-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934317AbaLKJof (ORCPT ); Thu, 11 Dec 2014 04:44:35 -0500 X-IronPort-AV: E=Sophos;i="5.07,556,1413270000"; d="scan'208";a="52646053" Message-ID: <5489677E.3000607@broadcom.com> Date: Thu, 11 Dec 2014 10:44:30 +0100 From: Arend van Spriel User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.24) Gecko/20111103 Lightning/1.0b2 Thunderbird/3.1.16 MIME-Version: 1.0 To: Florian Fainelli CC: Scott Branden , Arnd Bergmann , Ray Jui , Bjorn Helgaas , "Rob Herring" , Pawel Moll , Mark Rutland , Ian Campbell , "Kumar Gala" , Grant Likely , Christian Daudt , Matt Porter , Russell King , , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , bcm-kernel-feedback-list , "devicetree@vger.kernel.org" , Hauke Mehrtens , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Subject: Re: [PATCH 2/4] PCI: iproc: Add Broadcom iProc PCIe driver References: <1418169871-19232-3-git-send-email-rjui@broadcom.com> <9707535.Y78sV0TgX4@wuerfel> <54887901.8070501@broadcom.com> In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org + Rafal On 12/10/14 19:46, Florian Fainelli wrote: > 2014-12-10 8:46 GMT-08:00 Scott Branden: >> On 14-12-10 03:31 AM, Arnd Bergmann wrote: >>> >>> On Tuesday 09 December 2014 16:04:29 Ray Jui wrote: >>>> >>>> Add initial version of the Broadcom iProc PCIe driver. This driver >>>> has been tested on NSP and Cygnus and is expected to work on all iProc >>>> family of SoCs that deploys the same PCIe host controller >>>> >>>> The driver also supports MSI >>>> >>>> Signed-off-by: Ray Jui >>>> Reviewed-by: Scott Branden >>> >>> >>> The driver looks suspiciously like the one that Hauke already submitted a >>> while ago for bcm53xx. Please come up with a merged driver that works for >>> both. >> >> Could you please be a little more specific. What driver did "Hauke already >> submitted"? I do not see any driver in the kernel you are talking about. > > https://www.marc.info/?l=linux-pci&m=141547043110684&w=2 > >>> >>> >>> Are you sure that iProc isn't based on the BCMA bus infrastructure after >>> all? Even the physical address of your PCI host falls into the address >>> range that is used for the internal BCMA bus on the other chips! >> >> BCMA seems to be for MIPS architectures. It seems to be quite specific to >> those architectures using BCMA. I see no use of it in bcm53xx code? > > BCMA lives in its own directory in drivers/bcma/ and is not specific > to MIPS actually. Older BCM47xx/BCM53xx MIPS-based SoCs traditionally > started with a discoverable Silicon Sonics Backplane (drivers/ssb) and > progressively migrated to BCMA (drivers/bcma), both subsystems offer a > very similar bus/device/driver abstraction and discovery mechanism. BCMA core is the bus driver for discoverable ARM AXI interconnect. Apart from that it also provides drivers for some cores. For the chips to be discoverable it needs additional IP logic. If that is not used in the iProc family devices, it can not use the BCMA-based PCIe controller driver that Hauke submitted unless BCMA would provide an API to provide the chips' core information statically either per core or a full list. Regards, Arend