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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240815182420.58821-1-Frank.Li@nxp.com>
Date: Thu, 15 Aug 2024 14:24:20 -0400
From: Frank Li <Frank.Li@....com>
To: manivannan.sadhasivam@...aro.org
Cc: Frank.Li@....com,
	Zhiqiang.Hou@....com,
	bhelgaas@...gle.com,
	conor+dt@...nel.org,
	devicetree@...r.kernel.org,
	imx@...ts.linux.dev,
	krzk+dt@...nel.org,
	kw@...ux.com,
	linux-kernel@...r.kernel.org,
	linux-pci@...r.kernel.org,
	lpieralisi@...nel.org,
	robh@...nel.org
Subject: [PATCH v2 1/1] PCI: mobivel: Mark layerscape gen4 support as Obsolete

Only lx2160 rev1 use mobiveil PCIe controller. Rev2 switch to designware
PCIe controller. Rev2 is mass production chip and Rev1 will be not
supported. So mark it as Obsolete at MAINTAINERS and add depericated
information in Kconfig. Only allow COMPILE_TEST can choose it to make
impact more visible.

Signed-off-by: Frank Li <Frank.Li@....com>
---
Change v1 to v2
- make as Obsolete and deprecated instead of delete these directly. If no
one complain for some time, then clean up related code.

v1: https://lore.kernel.org/imx/20240808-mobivel_cleanup-v1-0-f4f6ea5b16de@nxp.com/T/#t
---
 MAINTAINERS                             | 2 +-
 drivers/pci/controller/mobiveil/Kconfig | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 42decde383206..c97ca861abae9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -17497,7 +17497,7 @@ PCI DRIVER FOR NXP LAYERSCAPE GEN4 CONTROLLER
 M:	Hou Zhiqiang <Zhiqiang.Hou@....com>
 L:	linux-pci@...r.kernel.org
 L:	linux-arm-kernel@...ts.infradead.org (moderated for non-subscribers)
-S:	Maintained
+S:	Obsolete
 F:	Documentation/devicetree/bindings/pci/layerscape-pcie-gen4.txt
 F:	drivers/pci/controller/mobiveil/pcie-layerscape-gen4.c
 
diff --git a/drivers/pci/controller/mobiveil/Kconfig b/drivers/pci/controller/mobiveil/Kconfig
index 58ce034f701ab..8f95fc831c3fe 100644
--- a/drivers/pci/controller/mobiveil/Kconfig
+++ b/drivers/pci/controller/mobiveil/Kconfig
@@ -12,13 +12,14 @@ config PCIE_MOBIVEIL_HOST
 	select PCIE_MOBIVEIL
 
 config PCIE_LAYERSCAPE_GEN4
-	bool "Freescale Layerscape Gen4 PCIe controller"
+	bool "Freescale Layerscape Gen4 PCIe controller (Deprecated)" if COMPILE_TEST
 	depends on ARCH_LAYERSCAPE || COMPILE_TEST
 	depends on PCI_MSI
 	select PCIE_MOBIVEIL_HOST
 	help
 	  Say Y here if you want PCIe Gen4 controller support on
-	  Layerscape SoCs.
+	  Layerscape SoCs. It is only used at lx2160a rev1 chip, which is
+	  not mass production. lx2160a rev2 switch to designware version.
 
 config PCIE_MOBIVEIL_PLAT
 	bool "Mobiveil AXI PCIe controller"
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ