imx8ulp: Set DCNANO read QoS on NIC_LPAV to highest
authorYe Li <ye.li@nxp.com>
Fri, 29 Oct 2021 01:46:22 +0000 (09:46 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:38 +0000 (13:38 +0100)
To avoid DCNANO underrun issue on high loading test, set its
read Qos on NIC_LPAV to highest

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8ulp/soc.c

index 427b5e4..0cf4765 100644 (file)
@@ -485,6 +485,9 @@ void lpav_configure(void)
        writel(0x1f, SIM_SEC_BASE_ADDR + 0x50);
        writel(0xffffffff, SIM_SEC_BASE_ADDR + 0x54);
        writel(0x003fffff, SIM_SEC_BASE_ADDR + 0x58);
+
+       /* Set read QoS of dcnano on LPAV NIC */
+       writel(0xf, 0x2e447100);
 }
 
 int arch_cpu_init(void)