mirror of
				https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
				synced 2025-11-04 08:34:47 +10:00 
			
		
		
		
	pci-v6.1-fixes-2
-----BEGIN PGP SIGNATURE----- iQJIBAABCgAyFiEEgMe7l+5h9hnxdsnuWYigwDrT+vwFAmNTCwIUHGJoZWxnYWFz QGdvb2dsZS5jb20ACgkQWYigwDrT+vy0ABAAltWCeaI31solG+0Nng1vi8MpNG+G wNd73u2J3rCUq6l+vyukAoHOV+gVIMpN18J+Qj/dqU7Uwaj4PSkXL0lXFPoQurIQ n5f5Qi9viMPpQnIx1Alf7sKMxTmfGs2QfJ2i7owFg66C5OowZZZoNxO0OLx2IWP3 Cl9U5SDfVXT32eNdLe0kqNIw0UJT5C/WoHD3koFjp2Ic3ad/zQOYOSjXvTt5CRKq 2ae1EbZ9diPsiLxBDWaskYYVJvX9haAYVUdHAQ/aI3yyabiWUKsN1BCoVbAS/fBc tV0hEYQYwNhMtpBOn2eJd06gPfiZ9eWeVYri1DOxC/qAK/iIqxPiX088/ms0R3qj SM2ANn0XJRsEd4vW65JHxz4xtkBKnJ1mQUSqhp9OB9edquyWp6DDvCxWJ0Ee5ta2 Uoop4HnUbwiRLZRBMPNQ6unFQlcQ5H2eOUMiGjqPRCZTzkdzms++PLIk8Xy9U46i RRaear6KjIfYK2CsW2HJGWHcM/rjVFjAuZd4e3PjR7xu/qagPqfKbKeVBdWRXvN9 C+kPL90Xw4YT97RcBL1beuZaoX6dBrez2OaS3emeIoJ1urHbXH7tMp1eHHBIzTBE iJriaj/qUWdUcs9APBdMp9QXojgAeK8kQa+Qqu+1Xqdiczg9V3emFBmqDj0gpJ82 O9jyhr25FuiOnvs= =osgb -----END PGP SIGNATURE----- Merge tag 'pci-v6.1-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci Pull pci fixes from Bjorn Helgaas: - Revert a simplification that broke pci-tegra due to a masking error - Update MAINTAINERS for Kishon's email address change and TI DRA7XX/J721E maintainer change * tag 'pci-v6.1-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: MAINTAINERS: Update Kishon's email address in PCI endpoint subsystem MAINTAINERS: Add Vignesh Raghavendra as maintainer of TI DRA7XX/J721E PCI driver Revert "PCI: tegra: Use PCI_CONF1_EXT_ADDRESS() macro"
This commit is contained in:
		
						commit
						fd79882ff2
					
				@ -15849,7 +15849,7 @@ F:	Documentation/devicetree/bindings/pci/snps,dw-pcie-ep.yaml
 | 
			
		||||
F:	drivers/pci/controller/dwc/*designware*
 | 
			
		||||
 | 
			
		||||
PCI DRIVER FOR TI DRA7XX/J721E
 | 
			
		||||
M:	Kishon Vijay Abraham I <kishon@ti.com>
 | 
			
		||||
M:	Vignesh Raghavendra <vigneshr@ti.com>
 | 
			
		||||
L:	linux-omap@vger.kernel.org
 | 
			
		||||
L:	linux-pci@vger.kernel.org
 | 
			
		||||
L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
 | 
			
		||||
@ -15866,10 +15866,10 @@ F:	Documentation/devicetree/bindings/pci/v3-v360epc-pci.txt
 | 
			
		||||
F:	drivers/pci/controller/pci-v3-semi.c
 | 
			
		||||
 | 
			
		||||
PCI ENDPOINT SUBSYSTEM
 | 
			
		||||
M:	Kishon Vijay Abraham I <kishon@ti.com>
 | 
			
		||||
M:	Lorenzo Pieralisi <lpieralisi@kernel.org>
 | 
			
		||||
R:	Krzysztof Wilczyński <kw@linux.com>
 | 
			
		||||
R:	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
 | 
			
		||||
R:	Kishon Vijay Abraham I <kishon@kernel.org>
 | 
			
		||||
L:	linux-pci@vger.kernel.org
 | 
			
		||||
S:	Supported
 | 
			
		||||
Q:	https://patchwork.kernel.org/project/linux-pci/list/
 | 
			
		||||
 | 
			
		||||
@ -415,6 +415,13 @@ static inline u32 pads_readl(struct tegra_pcie *pcie, unsigned long offset)
 | 
			
		||||
 * address (access to which generates correct config transaction) falls in
 | 
			
		||||
 * this 4 KiB region.
 | 
			
		||||
 */
 | 
			
		||||
static unsigned int tegra_pcie_conf_offset(u8 bus, unsigned int devfn,
 | 
			
		||||
					   unsigned int where)
 | 
			
		||||
{
 | 
			
		||||
	return ((where & 0xf00) << 16) | (bus << 16) | (PCI_SLOT(devfn) << 11) |
 | 
			
		||||
	       (PCI_FUNC(devfn) << 8) | (where & 0xff);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void __iomem *tegra_pcie_map_bus(struct pci_bus *bus,
 | 
			
		||||
					unsigned int devfn,
 | 
			
		||||
					int where)
 | 
			
		||||
@ -436,9 +443,7 @@ static void __iomem *tegra_pcie_map_bus(struct pci_bus *bus,
 | 
			
		||||
		unsigned int offset;
 | 
			
		||||
		u32 base;
 | 
			
		||||
 | 
			
		||||
		offset = PCI_CONF1_EXT_ADDRESS(bus->number, PCI_SLOT(devfn),
 | 
			
		||||
					       PCI_FUNC(devfn), where) &
 | 
			
		||||
			 ~PCI_CONF1_ENABLE;
 | 
			
		||||
		offset = tegra_pcie_conf_offset(bus->number, devfn, where);
 | 
			
		||||
 | 
			
		||||
		/* move 4 KiB window to offset within the FPCI region */
 | 
			
		||||
		base = 0xfe100000 + ((offset & ~(SZ_4K - 1)) >> 8);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user