All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <marc.zyngier@arm.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Ley Foon Tan <lftan@altera.com>, Rob Herring <robh@kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Russell King <linux@arm.linux.org.uk>,
	Dinh Nguyen <dinguyen@opensource.altera.com>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	"Kumar Gala" <galak@codeaurora.org>,
	Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Subject: Re: [PATCH v7 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding
Date: Sat, 3 Oct 2015 14:10:37 +0100	[thread overview]
Message-ID: <20151003141037.140fcbc3@arm.com> (raw)
In-Reply-To: <6497772.rqSurELzER@wuerfel>

On Fri, 2 Oct 2015 23:56:37 +0200
Arnd Bergmann <arnd@arndb.de> wrote:

> On Friday 02 October 2015 15:53:44 Ley Foon Tan wrote:
> > > Strictly speaking, if you have undocumented bindings downstream that
> > > is your problem and we don't have to accept them as-is upstream. I'm
> > > not going to worry about that here.
> > >
> > >>> txs contains the config space?
> > >> It is not the config space, but a memory slave port.
> > >
> > > Then where is the config space? It should not be part of "ranges" is
> > > all I care about.
> > The config space is not part of "ranges". Our IP uses TLP packet to
> > access config space.
> > 
> 
> It took me a bit to figure out what you mean here. To save others
> from reading the source, here is what I found:
> 
> * The config space is accessed indirectly through registers from the
>   "cra" register range, which is the right approach according to the
>   point that Rob made.
> * hardware-wise this basically looks like bit-banged PCIe, which is
>   both awesome and scary ;-)

drivers/pcie/host/pcie-host-gpio.c anyone? ;-)

	M.
-- 
Jazz is not dead. It just smells funny.

WARNING: multiple messages have this Message-ID (diff)
From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding
Date: Sat, 3 Oct 2015 14:10:37 +0100	[thread overview]
Message-ID: <20151003141037.140fcbc3@arm.com> (raw)
In-Reply-To: <6497772.rqSurELzER@wuerfel>

On Fri, 2 Oct 2015 23:56:37 +0200
Arnd Bergmann <arnd@arndb.de> wrote:

> On Friday 02 October 2015 15:53:44 Ley Foon Tan wrote:
> > > Strictly speaking, if you have undocumented bindings downstream that
> > > is your problem and we don't have to accept them as-is upstream. I'm
> > > not going to worry about that here.
> > >
> > >>> txs contains the config space?
> > >> It is not the config space, but a memory slave port.
> > >
> > > Then where is the config space? It should not be part of "ranges" is
> > > all I care about.
> > The config space is not part of "ranges". Our IP uses TLP packet to
> > access config space.
> > 
> 
> It took me a bit to figure out what you mean here. To save others
> from reading the source, here is what I found:
> 
> * The config space is accessed indirectly through registers from the
>   "cra" register range, which is the right approach according to the
>   point that Rob made.
> * hardware-wise this basically looks like bit-banged PCIe, which is
>   both awesome and scary ;-)

drivers/pcie/host/pcie-host-gpio.c anyone? ;-)

	M.
-- 
Jazz is not dead. It just smells funny.

  reply	other threads:[~2015-10-03 13:10 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-21  2:13 [PATCH v7 0/6] Altera PCIe host controller driver with MSI support Ley Foon Tan
2015-09-21  2:13 ` Ley Foon Tan
2015-09-21  2:13 ` Ley Foon Tan
2015-09-21  2:13 ` [PATCH v7 1/6] arm: add msi.h to Kbuild Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-22 18:23   ` Marc Zyngier
2015-09-22 18:23     ` Marc Zyngier
2015-09-22 18:23     ` Marc Zyngier
2015-09-21  2:13 ` [PATCH v7 2/6] pci: add Altera PCI vendor ID Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-21  2:13 ` [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-22 18:33   ` Marc Zyngier
2015-09-22 18:33     ` Marc Zyngier
2015-09-22 18:33     ` Marc Zyngier
2015-09-23  9:33     ` Ley Foon Tan
2015-09-23  9:33       ` Ley Foon Tan
2015-09-23 15:15       ` Marc Zyngier
2015-09-23 15:15         ` Marc Zyngier
2015-09-23 15:15         ` Marc Zyngier
2015-09-21  2:13 ` [PATCH v7 4/6] pci: altera: Add Altera PCIe MSI driver Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-21  2:13 ` [PATCH v7 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-26  3:55   ` Rob Herring
2015-09-26  3:55     ` Rob Herring
2015-09-28  5:38     ` Ley Foon Tan
2015-09-28  5:38       ` Ley Foon Tan
2015-09-28  5:38       ` Ley Foon Tan
2015-09-28 17:31       ` Rob Herring
2015-09-28 17:31         ` Rob Herring
2015-09-28 19:38         ` Arnd Bergmann
2015-09-28 19:38           ` Arnd Bergmann
2015-10-02  7:56           ` Ley Foon Tan
2015-10-02  7:56             ` Ley Foon Tan
2015-10-02  7:56             ` Ley Foon Tan
2015-10-02  7:53         ` Ley Foon Tan
2015-10-02  7:53           ` Ley Foon Tan
2015-10-02 21:56           ` Arnd Bergmann
2015-10-02 21:56             ` Arnd Bergmann
2015-10-03 13:10             ` Marc Zyngier [this message]
2015-10-03 13:10               ` Marc Zyngier
2015-10-05  3:14             ` Ley Foon Tan
2015-10-05  3:14               ` Ley Foon Tan
2015-09-21  2:13 ` [PATCH v7 6/6] MAINTAINERS: Add Altera PCIe and MSI drivers maintainer Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan
2015-09-21  2:13   ` Ley Foon Tan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151003141037.140fcbc3@arm.com \
    --to=marc.zyngier@arm.com \
    --cc=arnd@arndb.de \
    --cc=bhelgaas@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@opensource.altera.com \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=lftan@altera.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.