mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 03:40:52 +07:00
821b67fa46
SMCCC v1.2 adds a new optional function SMCCC_ARCH_SOC_ID to obtain a SiP defined SoC identification value. Add support for the same. Also using the SoC bus infrastructure, let us expose the platform specific SoC atrributes under sysfs. There are various ways in which it can be represented in shortened form for efficiency and ease of parsing for userspace. The chosen form is described in the ABI document. Link: https://lore.kernel.org/r/20200625095939.50861-1-sudeep.holla@arm.com Cc: Etienne Carriere <etienne.carriere@st.com> Reviewed-by: Steven Price <steven.price@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
5 lines
130 B
Makefile
5 lines
130 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
obj-$(CONFIG_HAVE_ARM_SMCCC_DISCOVERY) += smccc.o
|
|
obj-$(CONFIG_ARM_SMCCC_SOC_ID) += soc_id.o
|