[openwrt/openwrt] layerscape: kernel: enable MC userspace support

LEDE Commits lede-commits at lists.infradead.org
Mon May 29 05:18:30 PDT 2023


chunkeey pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/3d05d54679b9503baab31635507d3374239d6bfe

commit 3d05d54679b9503baab31635507d3374239d6bfe
Author: Pawel Dembicki <paweldembicki at gmail.com>
AuthorDate: Fri Apr 28 09:24:24 2023 +0200

    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 at 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 <alexandra at alth.de>
    Signed-off-by: Pawel Dembicki <paweldembicki at gmail.com>
    (cherry picked from commit d04d6a82da70f6b691409972ffd4503f339105b7)
---
 target/linux/layerscape/armv8_64b/config-5.15 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the lede-commits mailing list