Commit 886bdf9c authored by Huisong Li's avatar Huisong Li Committed by Wei Xu
Browse files

soc: hisilicon: Support HCCS driver on Kunpeng SoC



The Huawei Cache Coherence System (HCCS) is a multi-chip interconnection
bus protocol. This driver is aimed to support some features about HCCS on
Kunpeng SoC, like, querying the health status of HCCS.

This patch adds the probing of HCCS driver, and obtains all HCCS port
information by the dimension of chip and die on platform.

Signed-off-by: default avatarHuisong Li <lihuisong@huawei.com>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 06c2afb8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -9307,6 +9307,12 @@ W: https://www.hisilicon.com
F:	Documentation/devicetree/bindings/i2c/hisilicon,ascend910-i2c.yaml
F:	drivers/i2c/busses/i2c-hisi.c
HISILICON KUNPENG SOC HCCS DRIVER
M:	Huisong Li <lihuisong@huawei.com>
S:	Maintained
F:	drivers/soc/hisilicon/kunpeng_hccs.c
F:	drivers/soc/hisilicon/kunpeng_hccs.h
HISILICON LPC BUS DRIVER
M:	Jay Fang <f.fangjian@huawei.com>
S:	Maintained
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ source "drivers/soc/bcm/Kconfig"
source "drivers/soc/canaan/Kconfig"
source "drivers/soc/fsl/Kconfig"
source "drivers/soc/fujitsu/Kconfig"
source "drivers/soc/hisilicon/Kconfig"
source "drivers/soc/imx/Kconfig"
source "drivers/soc/ixp4xx/Kconfig"
source "drivers/soc/litex/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ obj-$(CONFIG_MACH_DOVE) += dove/
obj-y				+= fsl/
obj-y				+= fujitsu/
obj-$(CONFIG_ARCH_GEMINI)	+= gemini/
obj-y				+= hisilicon/
obj-y				+= imx/
obj-y				+= ixp4xx/
obj-$(CONFIG_SOC_XWAY)		+= lantiq/
+20 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only

menu "Hisilicon SoC drivers"
	depends on ARCH_HISI || COMPILE_TEST

config KUNPENG_HCCS
	tristate "HCCS driver on Kunpeng SoC"
	depends on ACPI
	depends on ARM64 || COMPILE_TEST
	help
	  The Huawei Cache Coherence System (HCCS) is a multi-chip
	  interconnection bus protocol.
	  The performance of application may be affected if some HCCS
	  ports are not in full lane status, have a large number of CRC
	  errors and so on.

	  Say M here if you want to include support for querying the
	  health status and port information of HCCS on Kunpeng SoC.

endmenu
+2 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_KUNPENG_HCCS)	+= kunpeng_hccs.o
Loading