<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/pci, branch v2021.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/pci?h=v2021.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/pci?h=v2021.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-12-28T08:42:06Z</updated>
<entry>
<title>Revert "arm64: a37xx: pci: Assert PERST# signal when unloading driver"</title>
<updated>2020-12-28T08:42:06Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2020-12-23T15:07:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0eb0eb4ab225fd0ffb3f63429dba8d4fb82cb71c'/>
<id>urn:sha1:0eb0eb4ab225fd0ffb3f63429dba8d4fb82cb71c</id>
<content type='text'>
This reverts commit 828d32621686aec593076d16445d39b9b8d49c05.

This change revers code which asserting PERST# signal when unloading
driver. Driver's remove callback is still there as it is used for other
functionality.

Asserting PERST# signal prior booting kernel is causing that A3720 boards
(Turris MOX and Espressobin) with stable Linux kernel versions 4.14 and
4.19 are not able to detect some PCIe cards (e.g. Compex WLE200 and WLE900)
and anymore. When PERST# signal is not asserted these cards are detected
correctly. As this is regression for existing stable Linux kernel versions
revert this problematic change in U-Boot.

To make cards working with OpenWRT 4.14 kernel it is needed to disable link
training prior booting kernel, which is already done in driver's remove
callback.

Described issue is in Linux kernel pci aardvark driver which is (hopefully)
fixed in latest upstream versions. Latest upstream versions should be able
to initialize PCIe bus and detects cards independently of the link training
and PERST# signal state.

So with this change, U-Boot on A3720 boards should be able to boot OpenWRT
4.14 kernel, stable 4.14 and 4.19 kernels and also latest mainline kernels.

Signed-off-by: Pali Rohár &lt;pali@kernel.org&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>pci: layerscape: fix a dead loop issue</title>
<updated>2020-12-10T08:26:39Z</updated>
<author>
<name>Hou Zhiqiang</name>
<email>Zhiqiang.Hou@nxp.com</email>
</author>
<published>2020-10-26T03:57:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ee7c1225e3d8b3871833f4cbd80e122cb5fa52d2'/>
<id>urn:sha1:ee7c1225e3d8b3871833f4cbd80e122cb5fa52d2</id>
<content type='text'>
Fixes: commit 8ec619f8fd84 ("pci: layerscape: Fixup PCIe EP
	mode DT nodes for LX2160A rev2")

This added the PCIe EP nodes fixup of LX2160A, but it
didn't update the condition value when there isn't a
property 'apio-wins'.

Signed-off-by: Hou Zhiqiang &lt;Zhiqiang.Hou@nxp.com&gt;
[Fixed checkpatch error]
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>armv8: lx2162a: Add Soc changes to support LX2162A</title>
<updated>2020-12-10T08:26:39Z</updated>
<author>
<name>Meenakshi Aggarwal</name>
<email>meenakshi.aggarwal@nxp.com</email>
</author>
<published>2020-10-29T13:46:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3a187cff7ac95887917bcf25f3f575bb677a361e'/>
<id>urn:sha1:3a187cff7ac95887917bcf25f3f575bb677a361e</id>
<content type='text'>
LX2162 is LX2160 based SoC, it has same die as of LX2160
with different packaging.

LX2162A support 64-bit 2.9GT/s DDR4 memory, i2c, micro-click module,
microSD card, eMMC support, serial console, qspi nor flash, qsgmii,
sgmii, 25g, 40g, 50g network interface, one usb 3.0 and serdes
interface to support three PCIe gen3 interface.

Signed-off-by: Meenakshi Aggarwal &lt;meenakshi.aggarwal@nxp.com&gt;
[Fixed whitespace errors]
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>pci: ls_pcie_g4: Add size check for config resource</title>
<updated>2020-12-10T08:26:39Z</updated>
<author>
<name>Wasim Khan</name>
<email>wasim.khan@nxp.com</email>
</author>
<published>2020-09-28T10:56:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1255f8bc36101400fd16fc4898f9dd9fdccbbc2e'/>
<id>urn:sha1:1255f8bc36101400fd16fc4898f9dd9fdccbbc2e</id>
<content type='text'>
resource "config" is required to have minimum 4KB space
to access all config space of PCI Express EP.

Signed-off-by: Wasim Khan &lt;wasim.khan@nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>pci: layerscape: Add size check for config resource</title>
<updated>2020-12-10T08:26:39Z</updated>
<author>
<name>Wasim Khan</name>
<email>wasim.khan@nxp.com</email>
</author>
<published>2020-09-28T10:56:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=49df7c90867c0a991222f6a4eac8e42879880c23'/>
<id>urn:sha1:49df7c90867c0a991222f6a4eac8e42879880c23</id>
<content type='text'>
resource "config" is required to have minimum 8KB space
as per hardware documentation.

Signed-off-by: Hou Zhiqiang &lt;Zhiqiang.Hou@nxp.com&gt;
Signed-off-by: Wasim Khan &lt;wasim.khan@nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>pci: ls_pcie_g4: Print pcie controller number starting from 1</title>
<updated>2020-12-10T08:26:38Z</updated>
<author>
<name>Wasim Khan</name>
<email>wasim.khan@nxp.com</email>
</author>
<published>2020-09-28T10:56:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eac364416c62ea1f49934f762e184616a04adede'/>
<id>urn:sha1:eac364416c62ea1f49934f762e184616a04adede</id>
<content type='text'>
Print pcie controller number starting from 1

Signed-off-by: Wasim Khan &lt;wasim.khan@nxp.com&gt;
</content>
</entry>
<entry>
<title>pci: layerscape: Update print of pcie controller</title>
<updated>2020-12-10T08:26:38Z</updated>
<author>
<name>Wasim Khan</name>
<email>wasim.khan@nxp.com</email>
</author>
<published>2020-09-28T10:56:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b6c6a245bfe0c7d76fa5bb6d079ef5b85e14e835'/>
<id>urn:sha1:b6c6a245bfe0c7d76fa5bb6d079ef5b85e14e835</id>
<content type='text'>
Print pcie controller number starting from 1

Signed-off-by: Wasim Khan &lt;wasim.khan@nxp.com&gt;
[Trimmed subject]
Signed-off-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>dm: pci: fsl: Correct the workaround of erratum A-007815</title>
<updated>2020-10-23T11:22:09Z</updated>
<author>
<name>Hou Zhiqiang</name>
<email>Zhiqiang.Hou@nxp.com</email>
</author>
<published>2020-10-15T06:54:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0205beb15612a63c365f7729af92fa32e6281987'/>
<id>urn:sha1:0205beb15612a63c365f7729af92fa32e6281987</id>
<content type='text'>
The register to enable/disable the write-permission of DBI RO
registers should be accessed via the CFG_ADDR/CFG_DATA registers
instead of accessing directly.

Signed-off-by: Hou Zhiqiang &lt;Zhiqiang.Hou@nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>pci: layerscape: add a way of specifying additional iommu mappings</title>
<updated>2020-10-23T11:22:09Z</updated>
<author>
<name>Laurentiu Tudor</name>
<email>laurentiu.tudor@nxp.com</email>
</author>
<published>2020-09-10T09:42:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2a5bbb13cc39102a68fcc31056925427ab44b591'/>
<id>urn:sha1:2a5bbb13cc39102a68fcc31056925427ab44b591</id>
<content type='text'>
In the current implementation, u-boot creates iommu mappings only
for PCI devices enumarated at boot time thus does not take into
account more dynamic scenarios such as SR-IOV or PCI hot-plug.
Add an u-boot env var and a device tree property (to be used for
example in more static scenarios such as hardwired PCI endpoints
that get initialized later in the system setup) that would allow
two things:
 - for a SRIOV capable PCI EP identified by its B.D.F specify
   the maximum number of VFs that will ever be created for it
 - for hot-plug case, specify the B.D.F with which the device
   will show up on the PCI bus
More details can be found in the included documentation:
  arch/arm/cpu/armv8/fsl-layerscape/doc/README.pci_iommu_extra

Signed-off-by: Laurentiu Tudor &lt;laurentiu.tudor@nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
<entry>
<title>pci: layerscape: move pci node search in a common function</title>
<updated>2020-10-23T11:22:09Z</updated>
<author>
<name>Laurentiu Tudor</name>
<email>laurentiu.tudor@nxp.com</email>
</author>
<published>2020-09-10T09:42:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f4cd963325d2ed73a928ddf096da2471fdceeb55'/>
<id>urn:sha1:f4cd963325d2ed73a928ddf096da2471fdceeb55</id>
<content type='text'>
Fix duplication of this code by placing it in a common function.
Furthermore, the resulting function will be re-used in upcoming
patches.

Signed-off-by: Laurentiu Tudor &lt;laurentiu.tudor@nxp.com&gt;
Reviewed-by: Priyanka Jain &lt;priyanka.jain@nxp.com&gt;
</content>
</entry>
</feed>
