All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: daire.mcnamara@microchip.com
Cc: aou@eecs.berkeley.edu, bhelgaas@google.com,
	conor.dooley@microchip.com, devicetree@vger.kernel.org,
	krzysztof.kozlowski+dt@linaro.org, kw@linux.com,
	linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org,
	lpieralisi@kernel.org, palmer@dabbelt.com,
	paul.walmsley@sifive.com, cyril.jean@microchip.com,
	padmarao.begari@microchip.com, heinrich.schuchardt@canonical.com,
	david.abdurachmanov@gmail.com
Subject: Re: [PATCH v1 4/4] of: PCI: tidy up logging of ranges containing configuration space type
Date: Thu, 8 Sep 2022 15:59:57 -0500	[thread overview]
Message-ID: <20220908205957.GB3240357-robh@kernel.org> (raw)
In-Reply-To: <20220902142202.2437658-5-daire.mcnamara@microchip.com>

On Fri, Sep 02, 2022 at 03:22:02PM +0100, daire.mcnamara@microchip.com wrote:
> From: Daire McNamara <daire.mcnamara@microchip.com>
> 
> PCI ranges can contain addresses where phys.high part can have a type
> of 0, signifying 'configuration space'.  Change
> devm_of_pci_get_host_bridge_resources() to print 'CFG' instead of 'err'
> for a PCI range containing such a 'configuration space' type.

Generally, putting config space into ranges is wrong. It should be in 
'reg'

Rob

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: daire.mcnamara@microchip.com
Cc: aou@eecs.berkeley.edu, bhelgaas@google.com,
	conor.dooley@microchip.com, devicetree@vger.kernel.org,
	krzysztof.kozlowski+dt@linaro.org, kw@linux.com,
	linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org,
	lpieralisi@kernel.org, palmer@dabbelt.com,
	paul.walmsley@sifive.com, cyril.jean@microchip.com,
	padmarao.begari@microchip.com, heinrich.schuchardt@canonical.com,
	david.abdurachmanov@gmail.com
Subject: Re: [PATCH v1 4/4] of: PCI: tidy up logging of ranges containing configuration space type
Date: Thu, 8 Sep 2022 15:59:57 -0500	[thread overview]
Message-ID: <20220908205957.GB3240357-robh@kernel.org> (raw)
In-Reply-To: <20220902142202.2437658-5-daire.mcnamara@microchip.com>

On Fri, Sep 02, 2022 at 03:22:02PM +0100, daire.mcnamara@microchip.com wrote:
> From: Daire McNamara <daire.mcnamara@microchip.com>
> 
> PCI ranges can contain addresses where phys.high part can have a type
> of 0, signifying 'configuration space'.  Change
> devm_of_pci_get_host_bridge_resources() to print 'CFG' instead of 'err'
> for a PCI range containing such a 'configuration space' type.

Generally, putting config space into ranges is wrong. It should be in 
'reg'

Rob

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  reply	other threads:[~2022-09-08 21:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-02 14:21 [PATCH v1 0/4] PCI: microchip: apportion address translation between rootport and FPGA daire.mcnamara
2022-09-02 14:21 ` daire.mcnamara
2022-09-02 14:21 ` [PATCH v1 1/4] dt-bindings: PCI: microchip: add fabric address translation properties daire.mcnamara
2022-09-02 14:21   ` daire.mcnamara
2022-09-02 16:28   ` Rob Herring
2022-09-02 16:28     ` Rob Herring
2022-09-02 16:51     ` Daire.McNamara
2022-09-02 16:51       ` Daire.McNamara
2022-09-05 14:54     ` Daire.McNamara
2022-09-05 14:54       ` Daire.McNamara
2022-09-08 20:57       ` Rob Herring
2022-09-08 20:57         ` Rob Herring
2022-09-02 14:22 ` [PATCH v1 2/4] riscv: dts: " daire.mcnamara
2022-09-02 14:22   ` daire.mcnamara
2022-09-02 14:29   ` Conor.Dooley
2022-09-02 14:29     ` Conor.Dooley
2022-09-02 14:22 ` [PATCH v1 3/4] PCI: " daire.mcnamara
2022-09-02 14:22   ` daire.mcnamara
2022-09-02 16:49   ` Bjorn Helgaas
2022-09-02 16:49     ` Bjorn Helgaas
2022-09-02 16:54     ` Daire.McNamara
2022-09-02 16:54       ` Daire.McNamara
2022-09-02 14:22 ` [PATCH v1 4/4] of: PCI: tidy up logging of ranges containing configuration space type daire.mcnamara
2022-09-02 14:22   ` daire.mcnamara
2022-09-08 20:59   ` Rob Herring [this message]
2022-09-08 20:59     ` Rob Herring

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=20220908205957.GB3240357-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=aou@eecs.berkeley.edu \
    --cc=bhelgaas@google.com \
    --cc=conor.dooley@microchip.com \
    --cc=cyril.jean@microchip.com \
    --cc=daire.mcnamara@microchip.com \
    --cc=david.abdurachmanov@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=heinrich.schuchardt@canonical.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kw@linux.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=lpieralisi@kernel.org \
    --cc=padmarao.begari@microchip.com \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    /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.