[PATCH 0/2] soc: hisilicon: Add power control support for kunpeng HBM

From: Zhang Zekun
Date: Fri Dec 06 2024 - 06:34:39 EST


Add power control support for High Bandwidth Memory (HBM) for Kunpeng SoC
platform. HBM devices on Kunpeng SoC can provide higher bandwidth at the
cost of higher power consumption. Providing power control methods can help
reducing the power when the workload does not need use HBM.

Zhang Zekun (2):
soc: hisilicon: kunpeng_hbmdev: Add support for controling the power
of hbm memory
soc: hisilicon: kunpeng_hbmcache: Add support for online and offline
the hbm cache

MAINTAINERS | 7 +
drivers/soc/hisilicon/Kconfig | 23 +++
drivers/soc/hisilicon/Makefile | 2 +
drivers/soc/hisilicon/kunpeng_hbm.h | 31 ++++
drivers/soc/hisilicon/kunpeng_hbmcache.c | 136 +++++++++++++++
drivers/soc/hisilicon/kunpeng_hbmdev.c | 210 +++++++++++++++++++++++
6 files changed, 409 insertions(+)
create mode 100644 drivers/soc/hisilicon/kunpeng_hbm.h
create mode 100644 drivers/soc/hisilicon/kunpeng_hbmcache.c
create mode 100644 drivers/soc/hisilicon/kunpeng_hbmdev.c

--
2.17.1