Thread (32 messages) 32 messages, 5 authors, 2024-02-13

Re: [PATCH v9 05/16] PCI: imx6: Using "linux,pci-domain" as slot ID

From: Frank Li <Frank.li@nxp.com>
Date: 2024-02-05 17:41:27
Also in: imx, linux-devicetree, linux-pci, lkml

On Fri, Feb 02, 2024 at 07:53:24PM +0100, Lorenzo Pieralisi wrote:
On Fri, Feb 02, 2024 at 08:25:58AM -0500, Frank Li wrote:
quoted
On Fri, Feb 02, 2024 at 01:12:41PM +0100, Lorenzo Pieralisi wrote:
quoted
"PCI: imx6: Use "linux,pci-domain" as slot ID"

On Fri, Jan 19, 2024 at 12:11:11PM -0500, Frank Li wrote:
quoted
Avoid use get slot id by compared with register physical address. If there
are more than 2 slots, compared logic will become complex.

"linux,pci-domain" already exist at dts since commit:
	commit (c0b70f05c87f3b arm64: dts: imx8mq: use_dt_domains for pci node).

So it is safe to remove compare basic address code:
	...
	if (dbi_base->start == IMX8MQ_PCIE2_BASE_ADDR)
		imx6_pcie->controller_id = 1;
No it is not unless you magically update all firmware out
there in the field.
commit c0b70f05c87f3b09b391027c6f056d0facf331ef
Author:     Peng Fan [off-list ref]
AuthorDate: Fri Jan 15 11:26:57 2021 +0800
Commit:     Shawn Guo [off-list ref]
CommitDate: Fri Jan 29 14:46:28 2021 +0800

I am not sure if it is neccesary to compatible with 2 years ago's dts.
I think it may not boot at all with using 2 year agao dtb file directly.

Do you have other comments? I can remove it from this big patch series,
I will have a look at the full series first we can decide whether
to drop it later.

I am travelling so I am not sure I can review it before February
12th, FYI.
Okay, I send v10 at
https://lore.kernel.org/imx/Zb06JL5X8EiHEyFD@lpieralisi/raw (local)
which removed "linux,pci-domain" patches.

If you have more comments, please comment at v10 version.

Frank

Lorenzo
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help