From: Pawel Dembicki Date: Fri, 28 Apr 2023 07:24:24 +0000 (+0200) Subject: layerscape: kernel: enable MC userspace support X-Git-Tag: v23.05.0-rc1~15 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3d05d54679b9503baab31635507d3374239d6bfe;p=openwrt%2Fstaging%2Fpepe2k.git layerscape: kernel: enable MC userspace support Management Complex (MC) userspace support is required for userspace helpers working with DPAA2 objects exported by the Management Complex BUS. Without it, there is the error: ``` root@OpenWrt:/# ls-addni dpmac.1 error: Did not find a device file Restool wrapper scripts only support the latest major MC version that currently is MC10.x. Use with caution. error: Did not find a device file ``` This patch fixes it. Suggested-by: Alexandra Alth Signed-off-by: Pawel Dembicki (cherry picked from commit d04d6a82da70f6b691409972ffd4503f339105b7) --- diff --git a/target/linux/layerscape/armv8_64b/config-5.15 b/target/linux/layerscape/armv8_64b/config-5.15 index df0a3fd849..b4510b7d34 100644 --- a/target/linux/layerscape/armv8_64b/config-5.15 +++ b/target/linux/layerscape/armv8_64b/config-5.15 @@ -291,7 +291,7 @@ CONFIG_FSL_GUTS=y CONFIG_FSL_IFC=y CONFIG_FSL_MC_BUS=y CONFIG_FSL_MC_DPIO=y -# CONFIG_FSL_MC_UAPI_SUPPORT is not set +CONFIG_FSL_MC_UAPI_SUPPORT=y # CONFIG_FSL_PPFE is not set # CONFIG_FSL_PPFE_UTIL_DISABLED is not set # CONFIG_FSL_QMAN_TEST is not set