lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <170477219183.2607205.10766546617113088833.robh@kernel.org>
Date: Mon, 8 Jan 2024 20:49:52 -0700
From: Rob Herring <robh@...nel.org>
To: Frank Li <Frank.Li@....com>
Cc: s.hauer@...gutronix.de, hongxing.zhu@....com, helgaas@...nel.org, manivannan.sadhasivam@...aro.org, shawnguo@...nel.org, kw@...ux.com, linux-imx@....com, krzysztof.kozlowski+dt@...aro.org, devicetree@...r.kernel.org, imx@...ts.linux.dev, krzysztof.kozlowski@...aro.org, bhelgaas@...gle.com, conor+dt@...nel.org, linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, l.stach@...gutronix.de, linux-pci@...r.kernel.org, festevam@...il.com, lpieralisi@...nel.org, kernel@...gutronix.de
Subject: Re: [PATCH v7 04/16] dt-bindings: imx6q-pcie: Add linux,pci-domain
 as required for iMX8MQ


On Wed, 27 Dec 2023 13:27:15 -0500, Frank Li wrote:
> iMX8MQ have two pci controllers. Adds "linux,pci-domain" as required
> proptery for iMX8MQ to indicate pci controller index.
> 
> This adjustment paves the way for eliminating the hardcoded check on the
> base register for acquiring the controller_id.
> 
> 	...
> 	if (dbi_base->start == IMX8MQ_PCIE2_BASE_ADDR)
> 		imx6_pcie->controller_id = 1;
> 	...
> 
> The controller_id is crucial and utilized for certain register bit
> positions. It must align precisely with the controller index in the SoC.
> An auto-incremented ID don't fit this case. The DTS or fuse configurations
> may deactivate specific PCI controllers.
> 
> Signed-off-by: Frank Li <Frank.Li@....com>
> ---
> 
> Notes:
>     Change from v5 to v6
>     - rework commit message to explain why need required and why auto increase
>     id not work
> 
>     Change from v4 to v5
>     - new patch at v5
> 
>  .../bindings/pci/fsl,imx6q-pcie-common.yaml           | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 

Reviewed-by: Rob Herring <robh@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ