Skip to contentSkip to conversation

clk: zynqmp: Work around broken DT GPU node

PATCH In review Marek Vasut 3 participants 10 messages Oct 31, 2024 – Nov 28, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: zynqmp: Work around broken DT GPU node

The ZynqMP DT GPU node clock description is wrong and does not represent the hardware correctly, it only describes BUS and PP0 clock, while it is missing PP1 clock. That means PP1 clock can never be enabled when the GPU should be used, which leads to expected GPU hang even with simple basic tests like kmscube.

Since Xilinx does use generated DTs on ZynqMP, the current broken DT implementation has to be supported. Add a workaround for this breakage into the clock driver, in case of PP0 enablement attempt, enable PP1 as well and vice versa. This way, the GPU does work and does not hang because one of its pixel pipeline clock are not enabled.

---
Cc: Michael Turquette <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: [email protected]
Cc: [email protected]

---
 drivers/clk/zynqmp/clk-gate-zynqmp.c | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
drivers/clk/zynqmp/clk-gate-zynqmp.c +15 -2
index b89e557371984..b013aa33e7abb 100644
@@ -7,6 +7,7 @@
  * Gated clock implementation
  */
 
+#include <dt-bindings/clock/xlnx-zynqmp-clk.h>
 #include <linux/clk-provider.h>
 #include <linux/slab.h>
 #include "clk-zynqmp.h"
@@ -38,7 +39,13 @@ static int zynqmp_clk_gate_enable(struct clk_hw *hw)
 	u32 clk_id = gate->clk_id;
 	int ret;
 
-	ret = zynqmp_pm_clock_enable(clk_id);
+	if (clk_id == GPU_PP0_REF || clk_id == GPU_PP1_REF) {
+		ret = zynqmp_pm_clock_enable(GPU_PP0_REF);
+		if (!ret)
+			ret = zynqmp_pm_clock_enable(GPU_PP1_REF);
+	} else {
+		ret = zynqmp_pm_clock_enable(clk_id);
+	}
 
 	if (ret)
 		pr_debug("%s() clock enable failed for %s (id %d), ret = %d\n",
@@ -58,7 +65,13 @@ static void zynqmp_clk_gate_disable(struct clk_hw *hw)
 	u32 clk_id = gate->clk_id;
 	int ret;
 
-	ret = zynqmp_pm_clock_disable(clk_id);
+	if (clk_id == GPU_PP0_REF || clk_id == GPU_PP1_REF) {
+		ret = zynqmp_pm_clock_disable(GPU_PP1_REF);
+		if (!ret)
+			ret = zynqmp_pm_clock_disable(GPU_PP0_REF);
+	} else {
+		ret = zynqmp_pm_clock_disable(clk_id);
+	}
 
 	if (ret)
 		pr_debug("%s() clock disable failed for %s (id %d), ret = %d\n",
Signature · 1 line
2.45.2
#1 lore raw

Hi Marek,

Thanks for sharing this patch.

Quoted 5 lines · Marek Vasut

The ZynqMP DT GPU node clock description is wrong and does not represent the hardware correctly, it only describes BUS and PP0 clock, while it is missing PP1 clock. That means PP1 clock can never be enabled when the GPU should be used, which leads to expected GPU hang even with simple basic tests like kmscube.

Could you please share how you tested this? Please share the dt node too.
We will also check at our end and revert for this.

Quoted 50 lines

Since Xilinx does use generated DTs on ZynqMP, the current broken DT implementation has to be supported. Add a workaround for this breakage into the clock driver, in case of PP0 enablement attempt, enable PP1 as well and vice versa. This way, the GPU does work and does not hang because one of its pixel pipeline clock are not enabled.

---
Cc: Michael Turquette <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: [email protected]
Cc: [email protected]

---
  drivers/clk/zynqmp/clk-gate-zynqmp.c | 17 +++++++++++++++--
  1 file changed, 15 insertions(+), 2 deletions(-)
drivers/clk/zynqmp/clk-gate-zynqmp.c +8 -2
index b89e557371984..b013aa33e7abb 100644
@@ -7,6 +7,7 @@
   * Gated clock implementation
   */
 
+#include <dt-bindings/clock/xlnx-zynqmp-clk.h>
  #include <linux/clk-provider.h>
  #include <linux/slab.h>
  #include "clk-zynqmp.h"
@@ -38,7 +39,13 @@ static int zynqmp_clk_gate_enable(struct clk_hw *hw)
  	u32 clk_id = gate->clk_id;
  	int ret;
 
-	ret = zynqmp_pm_clock_enable(clk_id);
+	if (clk_id == GPU_PP0_REF || clk_id == GPU_PP1_REF) {
+		ret = zynqmp_pm_clock_enable(GPU_PP0_REF);
+		if (!ret)
+			ret = zynqmp_pm_clock_enable(GPU_PP1_REF);
+	} else {
+		ret = zynqmp_pm_clock_enable(clk_id);
+	}
 
  	if (ret)
  		pr_debug("%s() clock enable failed for %s (id %d), ret = %d\n",
@@ -58,7 +65,13 @@ static void zynqmp_clk_gate_disable(struct clk_hw *hw)
  	u32 clk_id = gate->clk_id;
  	int ret;
 
-	ret = zynqmp_pm_clock_disable(clk_id);

drivers/clk/zynqmp/clk-gate-zynqmp.c static void zynqmp_clk_gate_disable(struct clk_hw *hw) · line 77

Quoted 10 lines
drivers/clk/zynqmp/clk-gate-zynqmp.c +7 -0
+	if (clk_id == GPU_PP0_REF || clk_id == GPU_PP1_REF) {
+		ret = zynqmp_pm_clock_disable(GPU_PP1_REF);
+		if (!ret)
+			ret = zynqmp_pm_clock_disable(GPU_PP0_REF);
+	} else {
+		ret = zynqmp_pm_clock_disable(clk_id);
+	}
 
  	if (ret)
  		pr_debug("%s() clock disable failed for %s (id %d), ret = %d\n",

Regards
Vishal Sagar

#2 lore raw
Quoted 4 lines · Vishal

Hi Marek,

Thanks for sharing this patch.

Quoted 8 lines
Quoted 5 lines · Marek Vasut

The ZynqMP DT GPU node clock description is wrong and does not represent the hardware correctly, it only describes BUS and PP0 clock, while it is missing PP1 clock. That means PP1 clock can never be enabled when the GPU should be used, which leads to expected GPU hang even with simple basic tests like kmscube.

Could you please share how you tested this?

I tested this by running kmscube, see one line above.

Quoted 1 line

Please share the dt node too.

The GPU DT node is already in arch/arm64/boot/dts/xilinx/zynqmp.dtsi .

Quoted 1 line

We will also check at our end and revert for this.

I do not understand this statement . Revert what ?

#3 lore raw

Hi Marek,

We tried running glmark2-es2-wayland application with mali and lima driver and didn’t observed any hang. We will also check with kmscube application.

Attaching logs for clock summary.

Did you try with mali or lima driver?

Regards,
Parth

-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Monday, November 11, 2024 9:55 PM
To: Sagar, Vishal <[email protected]>; [email protected]
Cc: Michael Turquette <[email protected]>; Simek, Michal <[email protected]>; Stephen Boyd <[email protected]>; [email protected]; Gajjar, Parth <[email protected]>; Allagadapa, Varunkumar <[email protected]>
Subject: Re: [PATCH] clk: zynqmp: Work around broken DT GPU node

Quoted 4 lines · Vishal

Hi Marek,

Thanks for sharing this patch.

Quoted 8 lines
Quoted 5 lines · Marek Vasut

The ZynqMP DT GPU node clock description is wrong and does not represent the hardware correctly, it only describes BUS and PP0 clock, while it is missing PP1 clock. That means PP1 clock can never be enabled when the GPU should be used, which leads to expected GPU hang even with simple basic tests like kmscube.

Could you please share how you tested this?

I tested this by running kmscube, see one line above.

Quoted 1 line

Please share the dt node too.

The GPU DT node is already in arch/arm64/boot/dts/xilinx/zynqmp.dtsi .

Quoted 1 line

We will also check at our end and revert for this.

I do not understand this statement . Revert what ?

xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#

xilinx-zcu106-20242:/home/petalinux# cat /sys/kernel/debug/clk/clk_summary | grep gpu
                   gpu_ref_mux       0       0        0        499950000   0          0     50000      Y                     deviceless                      no_connection_id
                      gpu_ref_div1   0       0        0        499950000   0          0     50000      Y                        deviceless                      no_connection_id
                         gpu_ref     0       0        0        499950000   0          0     50000      N                           fd4b0000.gpu                    bus
                            gpu_pp1_ref 0       0        0        499950000   0          0     50000      N                              deviceless                      no_connection_id
                            gpu_pp0_ref 0       0        0        499950000   0          0     50000      N                              fd4b0000.gpu                    core
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux# glmark2-es2-wayland &
[1] 973
xilinx-zcu106-20242:/home/petalinux# =======================================================
    glmark2 2023.01
=======================================================
    OpenGL Information
    GL_VENDOR:      Mesa
    GL_RENDERER:    Mali400
    GL_VERSION:     OpenGL ES 2.0 Mesa 24.0.7
    Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
    Surface Size:   800x600 windowed
=======================================================
[build] use-vbo=false: FPS: 653 FrameTime: 1.531 ms
[build] use-vbo=true: FPS: 693 FrameTime: 1.444 ms
[texture] texture-filter=nearest: FPS: 715 FrameTime: 1.400 ms
[texture] texture-filter=linear: FPS: 691 FrameTime: 1.448 ms
[texture] texture-filter=mipmap: FPS: 671 FrameTime: 1.492 ms
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux# cat /sys/kernel/debug/clk/clk_summary | grep gpu
                   gpu_ref_mux       1       1        1        499950000   0          0     50000      Y                     deviceless                      no_connection_id
                      gpu_ref_div1   1       1        1        499950000   0          0     50000      Y                        deviceless                      no_connection_id
                         gpu_ref     2       2        2        499950000   0          0     50000      Y                           fd4b0000.gpu                    bus
                            gpu_pp1_ref 0       0        0        499950000   0          0     50000      Y                              deviceless                      no_connection_id
                            gpu_pp0_ref 1       1        0        499950000   0          0     50000      Y                              fd4b0000.gpu                    core
xilinx-zcu106-20242:/home/petalinux#  
#4 lore raw
Quoted 1 line · Parth

Hi Marek,

Hello everyone,

Quoted 5 lines

We tried running glmark2-es2-wayland application with mali and lima driver and didn’t observed any hang. We will also check with kmscube application.

Attaching logs for clock summary.

Did you try with mali or lima driver?

I only use lima driver.

Can you share full boot log of this machine , including the firmware blob versions ? Is it maybe possible some newer blob(s) enable both PP0 and PP1 internally to work around this clocking issue in Linux ?

Signature · 2 lines
Best regards,
Marek Vasut
#5 lore raw

Hi Marek,

We tried running kmscube application with lima driver and it is working fine. Attaching application logs and boot logs.

We are using our 6.6 kernel.
Meanwhile we will also check with upstream kernel.

Which kernel version are you using?

Regards,
Parth

-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Wednesday, November 13, 2024 1:31 AM
To: Gajjar, Parth <[email protected]>; Sagar, Vishal <[email protected]>; [email protected]
Cc: Michael Turquette <[email protected]>; Simek, Michal <[email protected]>; Stephen Boyd <[email protected]>; [email protected]; Allagadapa, Varunkumar <[email protected]>
Subject: Re: [PATCH] clk: zynqmp: Work around broken DT GPU node

Quoted 1 line · Parth

Hi Marek,

Hello everyone,

Quoted 5 lines

We tried running glmark2-es2-wayland application with mali and lima driver and didn’t observed any hang. We will also check with kmscube application.

Attaching logs for clock summary.

Did you try with mali or lima driver?

I only use lima driver.

Can you share full boot log of this machine , including the firmware blob versions ? Is it maybe possible some newer blob(s) enable both PP0 and PP1 internally to work around this clocking issue in Linux ?

--
Best regards,
Marek Vasut

Zynq MP First Stage Boot Loader
Release 2024.2 Nov 5 2024 - 07:20:48

NOTICE:  BL31: Non secure code at 0x8000000
NOTICE:  BL31: v2.10.0  (release):xlnx_rebase_v2.10_2024.1-27-g14cea4616-dirty
NOTICE:  BL31: Built : 04:42:28, Sep 19 2024

U-Boot 2024.01 (Oct 24 2024 - 10:42:51 +0000)

CPU:   ZynqMP
Silicon: v3
Chip:  zu7e
Model: ZynqMP ZCU106 RevA
Board: Xilinx ZynqMP
DRAM:  2 GiB (effective 4 GiB)
PMUFW:  v1.1
Xilinx I2C Legacy format at nvmem0:
 Board name:    zcu106
 Board rev:     1.0
 Board SN:      921735311847-96378
EL Level:       EL2
Secure Boot:    not authenticated, not encrypted
Core:  70 devices, 31 uclasses, devicetree: board
NAND:  0 MiB
MMC:   mmc@ff170000: 0

Loading Environment from FAT... *** Error - No Valid Environment Area found *** Warning - bad env area, using default environment

In:    serial
Out:   serial,vidconsole
Err:   serial,vidconsole
Bootmode: LVL_SHFT_SD_MODE1
Reset reason:   EXTERNAL 

Net:
ZYNQ GEM: ff0e0000, mdio bus ff0e0000, phyaddr 12, interface rgmii-id

Warning: ethernet@ff0e0000 (eth0) using random MAC address - fe:8b:b3:d3:47:3a
eth0: ethernet@ff0e0000
scanning bus for devices...
SATA link 0 timeout.
SATA link 1 timeout.
AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst starting USB...
Bus usb@fe200000: Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@fe200000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3833 bytes read in 16 ms (233.4 KiB/s)
## Executing script at 20000000
Trying to load boot images from mmc0
25020928 bytes read in 1855 ms (12.9 MiB/s)
75090 bytes read in 24 ms (3 MiB/s)
135432320 bytes read in 9988 ms (12.9 MiB/s)
## Loading init Ramdisk from Legacy Image at 04000000 ...

   Image Name:   petalinux-image-minimal-xlnx-zyn
   Created:      2011-04-05  23:00:00 UTC
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    135432256 Bytes = 129.2 MiB

Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 00100000
Booting using the fdt blob at 0x100000
Working FDT set to 100000
Host not halted after 16000 microseconds.
Loading Ramdisk to 6faaf000, end 77bd7840 ... OK
Loading Device Tree to 000000006fa99000, end 000000006faae551 ... OK
Working FDT set to 6fa99000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.6.40-xilinx-g2b7f6f70a62a (oe-user@oe-host) (aarch64-xilinx-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP Tue Oct 29 11:52:30 UTC 2024
[    0.000000] KASLR disabled due to lack of seed
[    0.000000] Machine model: ZynqMP ZCU106 RevA
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] printk: bootconsole [cdns0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000087fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fefffff]
[    0.000000]   node   0: [mem 0x0000000800000000-0x000000087fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000087fffffff]
[    0.000000] On node 0, zone Normal: 256 pages in unavailable ranges
[    0.000000] cma: Reserved 1000 MiB at 0x0000000031200000 on node -1
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    0.000000] percpu: Embedded 19 pages/cpu s37864 r8192 d31768 u77824
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: earlycon console=ttyPS0,115200 root=/dev/ram0 rw init_fatal_sh=1 cma=1000M
[    0.000000] Unknown kernel command line parameters "init_fatal_sh=1", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1031940
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x000000007bf00000-0x000000007ff00000] (64MB)
[    0.000000] Memory: 2865152K/4193280K available (15680K kernel code, 1074K rwdata, 4580K rodata, 2944K init, 467K bss, 304128K reserved, 1024000K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 99.99MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0x1ffffffffffffff max_cycles: 0x170f8de2d3, max_idle_ns: 440795206112 ns
[    0.000000] sched_clock: 57 bits at 100MHz, resolution 10ns, wraps every 4398046511101ns
[    0.008368] Console: colour dummy device 80x25
[    0.012557] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.98 BogoMIPS (lpj=399960)
[    0.022974] pid_max: default: 32768 minimum: 301
[    0.027689] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.034991] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.044234] rcu: Hierarchical SRCU implementation.
[    0.047601] rcu:     Max phase no-delay instances is 1000.
[    0.053183] EFI services will not be available.
[    0.057531] smp: Bringing up secondary CPUs ...
[    0.062280] Detected VIPT I-cache on CPU1
[    0.062345] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.062782] Detected VIPT I-cache on CPU2
[    0.062829] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.063230] Detected VIPT I-cache on CPU3
[    0.063276] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.063329] smp: Brought up 1 node, 4 CPUs
[    0.097539] SMP: Total of 4 processors activated.
[    0.102238] CPU features: detected: 32-bit EL0 Support
[    0.107372] CPU features: detected: CRC32 instructions
[    0.112563] CPU: All CPU(s) started at EL2
[    0.116598] alternatives: applying system-wide alternatives
[    0.123864] devtmpfs: initialized
[    0.133916] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.138048] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.164880] pinctrl core: initialized pinctrl subsystem
[    0.165361] DMI not present or invalid.
[    0.168685] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.174893] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.181363] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.189211] audit: initializing netlink subsys (disabled)
[    0.194682] audit: type=2000 audit(0.128:1): state=initialized audit_enabled=0 res=1
[    0.195119] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.209172] ASID allocator initialised with 65536 entries
[    0.214652] Serial: AMBA PL011 UART driver
[    0.225833] platform axi: Fixed dependency cycle(s) with /axi/interrupt-controller@f9010000
[    0.238397] Modules: 26528 pages in range for non-PLT usage
[    0.238404] Modules: 518048 pages in range for PLT usage
[    0.239006] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.250431] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.256697] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.263482] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.269748] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.276533] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.282799] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.289584] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.363919] raid6: neonx8   gen()  2267 MB/s
[    0.431975] raid6: neonx4   gen()  2214 MB/s
[    0.500042] raid6: neonx2   gen()  2122 MB/s
[    0.568110] raid6: neonx1   gen()  1816 MB/s
[    0.636169] raid6: int64x8  gen()  1414 MB/s
[    0.704239] raid6: int64x4  gen()  1562 MB/s
[    0.772307] raid6: int64x2  gen()  1401 MB/s
[    0.840375] raid6: int64x1  gen()  1027 MB/s
[    0.840415] raid6: using algorithm neonx8 gen() 2267 MB/s
[    0.912447] raid6: .... xor() 1656 MB/s, rmw enabled
[    0.912492] raid6: using neon recovery algorithm
[    0.916959] iommu: Default domain type: Translated
[    0.921167] iommu: DMA domain TLB invalidation policy: strict mode
[    0.927566] SCSI subsystem initialized
[    0.931245] usbcore: registered new interface driver usbfs
[    0.936589] usbcore: registered new interface driver hub
[    0.941905] usbcore: registered new device driver usb
[    0.947014] mc: Linux media interface: v0.10
[    0.951211] videodev: Linux video capture interface: v2.00
[    0.956695] pps_core: LinuxPPS API ver. 1 registered
[    0.961623] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.970768] PTP clock support registered
[    0.974697] EDAC MC: Ver: 3.0.0
[    0.978022] scmi_core: SCMI protocol bus registered
[    0.982827] zynqmp-ipi-mbox mailbox@ff9905c0: Registered ZynqMP IPI mbox with TX/RX channels.
[    0.991618] FPGA manager framework
[    0.994749] Advanced Linux Sound Architecture Driver Initialized.
[    1.001129] Bluetooth: Core ver 2.22
[    1.004269] NET: Registered PF_BLUETOOTH protocol family
[    1.009568] Bluetooth: HCI device and connection manager initialized
[    1.015921] Bluetooth: HCI socket layer initialized
[    1.020791] Bluetooth: L2CAP socket layer initialized
[    1.025843] Bluetooth: SCO socket layer initialized
[    1.031071] clocksource: Switched to clocksource arch_sys_counter
[    1.036957] VFS: Disk quotas dquot_6.6.0
[    1.040744] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.053190] NET: Registered PF_INET protocol family
[    1.053383] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    1.062575] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.068412] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.076134] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.084248] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    1.092192] TCP: Hash tables configured (established 32768 bind 32768)
[    1.098035] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.104737] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.111944] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.117787] RPC: Registered named UNIX socket transport module.
[    1.123381] RPC: Registered udp transport module.
[    1.128072] RPC: Registered tcp transport module.
[    1.132770] RPC: Registered tcp-with-tls transport module.
[    1.138251] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.144697] PCI: CLS 0 bytes, default 64
[    1.148867] Trying to unpack rootfs image as initramfs...
[    1.155315] Initialise system trusted keyrings
[    1.158566] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    1.165463] NFS: Registering the id_resolver key type
[    1.169946] Key type id_resolver registered
[    1.174099] Key type id_legacy registered
[    1.178130] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.184803] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.192480] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.232580] NET: Registered PF_ALG protocol family
[    1.232649] xor: measuring software checksum speed
[    1.240430]    8regs           :  2523 MB/sec
[    1.244773]    32regs          :  2523 MB/sec
[    1.249397]    arm64_neon      :  2358 MB/sec
[    1.249573] xor: using function: 32regs (2523 MB/sec)
[    1.254639] Key type asymmetric registered
[    1.258715] Asymmetric key parser 'x509' registered
[    1.263659] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    1.270987] io scheduler mq-deadline registered
[    1.275508] io scheduler kyber registered
[    1.279553] io scheduler bfq registered
[    1.322086] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.324499] Serial: AMBA driver
[    1.332974] brd: module loaded
[    1.336536] loop: module loaded
[    1.341411] CAN device driver interface
[    1.342462] usbcore: registered new interface driver asix
[    1.345025] usbcore: registered new interface driver ax88179_178a
[    1.351120] usbcore: registered new interface driver cdc_ether
[    1.356948] usbcore: registered new interface driver net1080
[    1.362603] usbcore: registered new interface driver cdc_subset
[    1.368514] usbcore: registered new interface driver zaurus
[    1.374099] usbcore: registered new interface driver cdc_ncm
[    1.379739] usbcore: registered new interface driver r8153_ecm
[    1.386068] VFIO - User Level meta-driver version: 0.3
[    1.391561] usbcore: registered new interface driver uas
[    1.396017] usbcore: registered new interface driver usb-storage
[    1.402010] usbcore: registered new device driver onboard-usb-dev
[    1.409636] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    1.413320] rtc_zynqmp ffa60000.rtc: setting system clock to 2024-11-13T13:21:15 UTC (1731504075)
[    1.422338] i2c_dev: i2c /dev entries driver
[    1.428989] usbcore: registered new interface driver uvcvideo
[    1.433179] Bluetooth: HCI UART driver ver 2.3
[    1.436624] Bluetooth: HCI UART protocol H4 registered
[    1.441754] Bluetooth: HCI UART protocol BCSP registered
[    1.447104] Bluetooth: HCI UART protocol LL registered
[    1.452196] Bluetooth: HCI UART protocol ATH3K registered
[    1.457614] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.463986] Bluetooth: HCI UART protocol Intel registered
[    1.469268] Bluetooth: HCI UART protocol QCA registered
[    1.474502] usbcore: registered new interface driver bcm203x
[    1.480162] usbcore: registered new interface driver bpa10x
[    1.485716] usbcore: registered new interface driver bfusb
[    1.491223] usbcore: registered new interface driver btusb
[    1.496719] usbcore: registered new interface driver ath3k
[    1.502376] EDAC MC: ECC not enabled
[    1.506363] sdhci: Secure Digital Host Controller Interface driver
[    1.511886] sdhci: Copyright(c) Pierre Ossman
[    1.516234] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.522827] ledtrig-cpu: registered to indicate activity on CPUs
[    1.528173] SMCCC: SOC_ID: ID = jep106:0049:0000 Revision = 0x14730093
[    1.534529] zynqmp_firmware_probe Platform Management API v1.1
[    1.540284] zynqmp_firmware_probe Trustzone version v1.0
[    1.577560] securefw securefw: securefw probed
[    1.577775] xilinx_ecdsa xilinx_ecdsa.0: ECDSA is not supported on the platform
[    1.584194] zynqmp-aes zynqmp-aes.0: will run requests pump with realtime priority
[    1.592187] usbcore: registered new interface driver usbhid
[    1.596930] usbhid: USB HID core driver
[    1.604960] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    1.609790] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    1.615504] usbcore: registered new interface driver snd-usb-audio
[    1.622271] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    1.632196] Initializing XFRM netlink socket
[    1.632970] NET: Registered PF_INET6 protocol family
[    1.638641] Segment Routing with IPv6
[    1.641578] In-situ OAM (IOAM) with IPv6
[    1.645556] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.651829] NET: Registered PF_PACKET protocol family
[    1.656435] NET: Registered PF_KEY protocol family
[    1.661232] can: controller area network core
[    1.665591] NET: Registered PF_CAN protocol family
[    1.670348] can: raw protocol
[    1.673307] can: broadcast manager protocol
[    1.677488] can: netlink gateway - max_hops=1
[    1.682034] Bluetooth: RFCOMM TTY layer initialized
[    1.686721] Bluetooth: RFCOMM socket layer initialized
[    1.691860] Bluetooth: RFCOMM ver 1.11
[    1.695586] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.700884] Bluetooth: BNEP filters: protocol multicast
[    1.706114] Bluetooth: BNEP socket layer initialized
[    1.711066] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.716987] Bluetooth: HIDP socket layer initialized
[    1.721982] 8021q: 802.1Q VLAN Support v1.8
[    1.726482] 9pnet: Installing 9P2000 support
[    1.730415] Key type dns_resolver registered
[    1.734808] NET: Registered PF_VSOCK protocol family
[    1.747937] registered taskstats version 1
[    1.747988] Loading compiled-in X.509 certificates
[    1.759645] Btrfs loaded, zoned=no, fsverity=no
[    1.759878] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    7.078252] Freeing initrd memory: 132256K
[    7.735355] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 22, base_baud = 6249375) is a xuartps
[    7.744434] printk: console [ttyPS0] enabled
[    7.744434] printk: console [ttyPS0] enabled
[    7.748732] printk: bootconsole [cdns0] disabled
[    7.748732] printk: bootconsole [cdns0] disabled
[    7.758602] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 23, base_baud = 6249375) is a xuartps
[    7.771526] of-fpga-region fpga-region: FPGA Region probed
[    7.783198] xilinx-zynqmp-dpdma fd4c0000.dma-controller: Xilinx DPDMA engine is probed
[    7.791855] spi-nor spi0.0: found mt25qu512a, expected m25p80
[    7.797928] spi-nor spi0.0: mt25qu512a (131072 Kbytes)
[    7.803196] 3 fixed-partitions partitions found on MTD device spi0.0
[    7.809549] Creating 3 MTD partitions on "spi0.0":
[    7.814339] 0x000000000000-0x000001e00000 : "qspi-boot"
[    7.820496] 0x000001e00000-0x000001e40000 : "qspi-bootenv"
[    7.826765] 0x000001e40000-0x000005a40000 : "qspi-kernel"
[    7.860328] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    7.866946] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    7.873457] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    7.879977] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    7.887260] i2c i2c-0: using pinctrl states for GPIO recovery
[    7.893226] i2c i2c-0: using generic GPIOs for recovery
[    7.898862] pca953x 0-0020: supply vcc not found, using dummy regulator
[    7.905589] pca953x 0-0020: using no AI
[    7.910244] pca953x 0-0021: supply vcc not found, using dummy regulator
[    7.916924] pca953x 0-0021: using no AI
[    7.921558] pca954x 0-0075: supply vdd not found, using dummy regulator
[    7.936076] i2c i2c-0: Added multiplexed i2c bus 2
[    7.947053] i2c i2c-0: Added multiplexed i2c bus 3
[    7.997135] i2c i2c-0: Added multiplexed i2c bus 4
[    8.002080] i2c i2c-0: Added multiplexed i2c bus 5
[    8.006873] pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544
[    8.014233] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 47
[    8.021282] i2c i2c-1: using pinctrl states for GPIO recovery
[    8.027227] i2c i2c-1: using generic GPIOs for recovery
[    8.032849] pca954x 1-0074: supply vdd not found, using dummy regulator
[    8.039916] at24 6-0054: supply vcc not found, using dummy regulator
[    8.046811] at24 6-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    8.053551] i2c i2c-1: Added multiplexed i2c bus 6
[    8.058917] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    8.066238] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    8.073545] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    8.080852] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    8.088158] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    8.095463] si5341 7-0036: no regulator set, defaulting vdd_sel to 2.5V for out
[    8.103504] si5341 7-0036: Chip: 5341 Grade: 1 Rev: 1
[    8.131556] i2c i2c-1: Added multiplexed i2c bus 7
[    8.138567] si570 8-005d: registered, current frequency 300000000 Hz
[    8.144959] i2c i2c-1: Added multiplexed i2c bus 8
[    8.151934] si570 9-005d: registered, current frequency 156250000 Hz
[    8.158329] i2c i2c-1: Added multiplexed i2c bus 9
[    8.163358] si5324 10-0069: si5328 probed
[    8.228834] si5324 10-0069: si5328 probe successful
[    8.233752] i2c i2c-1: Added multiplexed i2c bus 10
[    8.239475] i2c i2c-1: Added multiplexed i2c bus 11
[    8.244497] i2c i2c-1: Added multiplexed i2c bus 12
[    8.249523] i2c i2c-1: Added multiplexed i2c bus 13
[    8.254408] pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548
[    8.262146] pca954x 1-0075: supply vdd not found, using dummy regulator
[    8.269077] i2c i2c-1: Added multiplexed i2c bus 14
[    8.274111] i2c i2c-1: Added multiplexed i2c bus 15
[    8.279151] i2c i2c-1: Added multiplexed i2c bus 16
[    8.284187] i2c i2c-1: Added multiplexed i2c bus 17
[    8.289232] i2c i2c-1: Added multiplexed i2c bus 18
[    8.294264] i2c i2c-1: Added multiplexed i2c bus 19
[    8.299302] i2c i2c-1: Added multiplexed i2c bus 20
[    8.304336] i2c i2c-1: Added multiplexed i2c bus 21
[    8.309226] pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548
[    8.316828] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 48
[    8.327051] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60s
[    8.334582] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10s
[    8.342244] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1199880 KHz, changing to: 1199999 KHz
[    8.354832] zynqmp-display fd4a0000.display: vtc bridge property not present
[    8.387073] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[    8.749597] xilinx-dp-snd-codec fd4a0000.display:zynqmp-dp-snd-codec0: Xilinx DisplayPort Sound Codec probed
[    8.749997] mmc0: new high speed SDHC card at address aaaa
[    8.759721] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PCM probed
[    8.765284] mmcblk0: mmc0:aaaa SB16G 14.8 GiB
[    8.772993] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PCM probed
[    8.786087] xilinx-dp-snd-card fd4a0000.display:zynqmp-dp-snd-card: Xilinx DisplayPort Sound Card probed
[    8.790363]  mmcblk0: p1 p2
[    8.796042] xlnx-drm xlnx-drm.0: bound fd4a0000.display (ops 0xffff800081040e58)
[    9.090496] Console: switching to colour frame buffer device 480x135
[    9.130165] zynqmp-display fd4a0000.display: [drm] fb0: xlnxdrmfb frame buffer device
[    9.138312] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.display on minor 0
[    9.145825] zynqmp-display fd4a0000.display: ZynqMP DisplayPort Subsystem driver probed
[    9.154165] ahci-ceva fd0c0000.ahci: supply ahci not found, using dummy regulator
[    9.161740] ahci-ceva fd0c0000.ahci: supply phy not found, using dummy regulator
[    9.169209] ahci-ceva fd0c0000.ahci: supply target not found, using dummy regulator
[    9.177134] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    9.186093] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst 
[    9.196628] scsi host0: ahci-ceva
[    9.200260] scsi host1: ahci-ceva
[    9.203698] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 53
[    9.211615] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 53
[    9.228778] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 44 (fe:8b:b3:d3:47:3a)
[    9.264829] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    9.270347] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    9.278109] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000008002000810
[    9.287536] xhci-hcd xhci-hcd.1.auto: irq 54, io mem 0xfe200000
[    9.293563] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    9.299055] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    9.306727] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    9.313401] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    9.321667] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.328884] usb usb1: Product: xHCI Host Controller
[    9.333753] usb usb1: Manufacturer: Linux 6.6.40-xilinx-g2b7f6f70a62a xhci-hcd
[    9.340966] usb usb1: SerialNumber: xhci-hcd.1.auto
[    9.346224] hub 1-0:1.0: USB hub found
[    9.349999] hub 1-0:1.0: 1 port detected
[    9.354258] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.06
[    9.362525] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    9.369744] usb usb2: Product: xHCI Host Controller
[    9.374614] usb usb2: Manufacturer: Linux 6.6.40-xilinx-g2b7f6f70a62a xhci-hcd
[    9.381832] usb usb2: SerialNumber: xhci-hcd.1.auto
[    9.387003] hub 2-0:1.0: USB hub found
[    9.390765] hub 2-0:1.0: 1 port detected
[    9.397976] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    9.405056] of_cfs_init
[    9.407523] of_cfs_init: OK
[    9.410377] clk: Disabling unused clocks
[    9.416226] ALSA device list:
[    9.419200]   #0: DP mon
[    9.537337] ata2: SATA link down (SStatus 0 SControl 330)
[    9.542766] ata1: SATA link down (SStatus 0 SControl 330)
[    9.548948] Freeing unused kernel memory: 2944K
[    9.553554] Run /init as init process
[    9.578007] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS +OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LI
BCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    9.609936] systemd[1]: Detected architecture arm64.

Welcome to PetaLinux 2024.2+release-S11061705 (scarthgap)!

[    9.631227] systemd[1]: Hostname set to <xilinx-zcu106-20242>.
[    9.637181] systemd[1]: Initializing machine ID from random generator.
[    9.957149] systemd[1]: Queued start job for default target Graphical Interface.
[    9.994089] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[   10.016304] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[   10.040287] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[   10.063939] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   10.087342] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[   10.111273] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   10.135308] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[   10.151165] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   10.171159] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[   10.187190] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[   10.203679] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   10.227169] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[   10.247570] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   10.263372] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   10.287833] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   10.311489] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   10.335570] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   10.351664] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   10.375575] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   10.395433] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   10.415457] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[   10.463317] systemd[1]: Mounting Huge Pages File System...
         Mounting Huge Pages File System...
[   10.481691] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   10.535355] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   10.555501] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[   10.570781] systemd[1]: Mounting Temporary Directory /tmp...
         Mounting Temporary Directory /tmp...
[   10.590438] systemd[1]: Starting Create List of Static Device Nodes...
         Starting Create List of Static Device Nodes...
[   10.614394] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   10.638363] systemd[1]: Starting Load Kernel Module dm_mod...
         Starting Load Kernel Module dm_mod...
[   10.658388] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   10.682385] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   10.706375] systemd[1]: Starting Load Kernel Module loop...
         Starting Load Kernel Module loop...
[   10.730208] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[   10.747442] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[   10.760376] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   10.773276] systemd[1]: systemd-journald.service: (This warning is only shown for the first unit using IP firewalling.)
[   10.786935] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   10.810526] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   10.830128] systemd[1]: Starting Generate network units from Kernel command line...
         Starting Generate network units from Kernel com[   10.842494] dmaproxy: loading out-of-tree module taints kernel.
mand line...
[   10.853968] openvswitch: Open vSwitch switching datapath
[   10.871842] systemd[1]: Starting Remount Root and Kernel File Systems...
[   10.878195] systemd-journald[219]: Collecting audit messages is enabled.
         Starting Remount Root and Kernel File Systems   10.888635] systemd[1]: Starting Coldplug All udev Devices...
0m...
         Starting Coldplug All udev Devices...
[   10.912029] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[   10.944510] systemd[1]: Mounted Huge Pages File System.
[  OK  ] Mounted Huge Pages File System.
[   10.971708] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   10.999654] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Temporary Directory /tmp.
[  OK  ] Finished Create List of Static Device Nodes.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module dm_mod.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module loop.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Generate network units from Kernel command line.
[  OK  ] Finished Remount Root and Kernel File Systems.
[  OK  ] Reached target Preparation for Network.
         Mounting NFSD configuration filesystem...
         Mounting Kernel Configuration File System...
         Starting Flush Journal to Persistent Storage...
         Starting Apply Kernel Variables...
[   11.330260] systemd-journald[219]: Received client request to flush runtime journal.
         Starting Create Static Device Nodes in /dev gracefully...
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create Static Device Nodes in /dev gracefully.
         Starting Create System Users...
         Starting User Database Manager...
[  OK  ] Started User Database Manager.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.

Mounting /var/volatile...
Starting Rule-based Manager for Device Events and Files...
[ OK ] Mounted /var/volatile.
Starting Load/Save OS Random Seed...
[ OK ] Reached target Local File Systems.
Starting Rebuild Dynamic Linker Cache... Starting Create Volatile Files and Directories...
[ OK ] Started Rule-based Manager for Device Events and Files.
Starting Network Configuration...

[  OK  ] Finished Rebuild Dynamic Linker Cache.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Rebuild Journal Catalog...
         Starting Network Name Resolution...
[   12.246534] macb ff0e0000.ethernet end0: renamed from eth0
         Starting Network Time Synchronization...
         Starting Record System Boot/Shutdown in UTMP...
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Finished Rebuild Journal Catalog.
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[   12.860397] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   12.899109] random: crng init done
[  OK  ] Finished Load/Save OS Random Seed.
[  OK  ] Started Network Time Synchronization.
[   12.974757] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   12.988530] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[   12.997911] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   13.006590] cfg80211: failed to load regulatory.db
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Network Configuration.
[   13.089118] lima fd4b0000.gpu: gp - mali400 version major 1 minor 1
[   13.095478] lima fd4b0000.gpu: pp0 - mali400 version major 1 minor 1
[   13.101902] lima fd4b0000.gpu: pp1 - mali400 version major 1 minor 1
[   13.108295] lima fd4b0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[   13.134861] lima fd4b0000.gpu: bus rate = 499950000
[   13.139769] lima fd4b0000.gpu: mod rate = 499950000
[   13.162960] [drm] Initialized lima 1.1.0 20191231 for fd4b0000.gpu on minor 1
[   13.824074] macb ff0e0000.ethernet end0: PHY [ff0e0000.ethernet-ffffffff:0c] driver [TI DP83867] (irq=POLL)
[   13.833874] macb ff0e0000.ethernet end0: configuring for phy/rgmii-id link mode
[   13.844412] pps pps0: new PPS source ptp0
[   13.848644] macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
[  OK  ] Created slice Slice /system/systemd-fsck.
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Reached target System Time Set.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Starting Load Kernel Module dm_mod...
         Starting Load Kernel Module fuse...
         Starting Load Kernel Module loop...
         Starting File System Check on /dev/mmcblk0p1...
         Starting File System Check on /dev/mmcblk0p2...
         Starting Update is Completed...
         Starting Virtual Console Setup...
[  OK  ] Finished Load Kernel Module dm_mod.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module loop.
[  OK  ] Finished Update is Completed.
[  OK  ] Finished Virtual Console Setup.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting sshd.socket...
         Starting Weston socket...
[  OK  ] Listening on sshd.socket.
[  OK  ] Listening on Weston socket.
[  OK  ] Reached target Socket Units.
[  OK  ] Reached target Basic System.
         Starting Save/Restore Sound Card State...
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
         Starting D-Bus System Message Bus...
         Starting dfx-mgrd Dynamic Function eXchange...
         Starting User Login Management...
         Starting Permit User Sessions...
         Starting Target Communication Framework agent...
         Starting OpenSSH Key Generation...
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Target Communication Framework agent.
[  OK  ] Reached target Sound Card.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyPS0.
[  OK  ] Started Serial Getty on ttyPS1.
[  OK  ] Reached target Login Prompts.

Starting Weston, a Wayland compositor, as a system service...
[FAILED] Failed to start Weston, a Wayland compositor, as a system service. See 'systemctl status weston.service' for details.
[ OK ] Started User Login Management.

[   15.401453] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-region/firmware-name
[   15.412767] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/clocking3
[   15.422744] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/clocking2
[   15.432687] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/clocking1
[   15.442628] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/clocking0
[   15.452566] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/afi0
[   15.462073] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/misc_clk_2
[   15.472099] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/misc_clk_1
[   15.482127] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/misc_clk_0
[   15.492150] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/mpsoc_ss_axi_intc_0
[   15.502953] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/v_frmbuf_rd_0
[   15.513240] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/v_frmbuf_wr_0
[   15.523530] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/vcu_0
[   15.533116] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/encoder
[   15.542892] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/decoder
[   15.552648] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/vcu_ddr4_controller_0
[   15.894942] irq-xilinx: /axi/interrupt-controller@80000000: num_irq=1, edge=0x1
[   15.903519] xilinx-frmbuf a00f0000.v_frmbuf_rd: Xilinx AXI frmbuf DMA_MEM_TO_DEV
[   15.911142] xilinx-frmbuf a00f0000.v_frmbuf_rd: Xilinx AXI FrameBuffer Engine Driver Probed!!
[   15.923459] xilinx-frmbuf a0200000.v_frmbuf_wr: Xilinx AXI frmbuf DMA_DEV_TO_MEM
[   15.931016] xilinx-frmbuf a0200000.v_frmbuf_wr: Xilinx AXI FrameBuffer Engine Driver Probed!!
[   15.940495] platform a0140000.vcu: Fixed dependency cycle(s) with /axi/vcu@a0100000
[   15.950117] xilinx-vcu a0140000.vcu: could not find xlnx,vcu-settings: trying direct register access
[  OK  ] Started dfx-mgrd Dynamic Function eXchange.
[  OK  ] Reached target Multi-User System.
[   15.992656] al5e a0100000.al5e: l2 prefetch size:17530880 (bits), l2 color bitdepth:10
2m  OK  ] Reached target Graphical Interface.
[   16.012711] al5d a0120000.al5d: l2 prefetch size:17530880 (bits), l2 color bitdepth:10
         Starting Record Runlevel Change in UTMP...
[  OK  ] Finished Record Runlevel Change in UTMP.
[  OK  ] Finished File System Check on /dev/mmcblk0p2.
         Mounting /run/media/writable-mmcblk0p2...
[   16.591192] EXT4-fs (mmcblk0p2): mounted filesystem 4861f050-23ab-4953-9cc1-28ed491cd8b3 r/w with ordered data mode. Quota mode: none.
[  OK  ] Mounted /run/media/writable-mmcblk0p2.
[   16.908510] macb ff0e0000.ethernet end0: unable to generate target frequency: 25000000 Hz
[   16.916810] macb ff0e0000.ethernet end0: Link is Up - 100Mbps/Full - flow control tx
[  OK  ] Finished OpenSSH Key Generation.
[  OK  ] Finished File System Check on /dev/mmcblk0p1.

Mounting /run/media/system-boot-mmcblk0p1...
[ OK ] Mounted /run/media/system-boot-mmcblk0p1.

********************************************************************************************
The PetaLinux source code and images provided/generated are for demonstration purposes only.
Please refer to https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/2741928025/Moving+from+PetaLinux+to+Production+Deployment
for more details.
********************************************************************************************
PetaLinux 2024.2+release-S11061705 xilinx-zcu106-20242 ttyPS0

xilinx-zcu106-20242 login: petalinux
You are required to change your password immediately (administrator enforced). New password:
Retype new password:

[   48.499139] audit: type=1006 audit(1731504122.579:2): pid=795 uid=0 old-auid=4294967295 auid=1001 tty=(none) old-ses=4294967295 ses=1 res=1
[   48.511704] audit: type=1300 audit(1731504122.579:2): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffd9e6f6b0 a2=4 a3=1 items=0 ppid=1 pid=795 auid=1001 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=
0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
[   48.538440] audit: type=1327 audit(1731504122.579:2): proctitle="(systemd)"
[   48.617191] systemd-journald[219]: Time jumped backwards, rotating.
xilinx-zcu106-20242:~$ 
xilinx-zcu106-20242:~$ sudo su

We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

For security reasons, the password you type will not be visible.

Password:
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#

xilinx-zcu106-20242:/home/petalinux# systemctl restart weston
[   68.593944] audit: type=1006 audit(1731504141.676:3): pid=819 uid=0 old-auid=4294967295 auid=1001 tty=tty7 old-ses=4294967295 ses=2 res=1
[   68.606412] audit: type=1300 audit(1731504141.676:3): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe5844930 a2=4 a3=1 items=0 ppid=1 pid=819 auid=1001 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=
0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" key=(null)
[   68.632918] audit: type=1327 audit(1731504141.676:3): proctitle="(weston)"
[   68.749790] weston[819]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
xilinx-zcu106-20242:/home/petalinux# 

====================================
Before running application
====================================
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#

xilinx-zcu106-20242:/home/petalinux# cat /sys/kernel/debug/clk/clk_summary | grep gpu
                   gpu_ref_mux       0       0        0        499950000   0          0     50000      Y                     deviceless                      no_connection_id
                      gpu_ref_div1   0       0        0        499950000   0          0     50000      Y                        deviceless                      no_connection_id
                         gpu_ref     0       0        0        499950000   0          0     50000      N                           fd4b0000.gpu                    bus
                            gpu_pp1_ref 0       0        0        499950000   0          0     50000      N                              deviceless                      no_connection_id
                            gpu_pp0_ref 0       0        0        499950000   0          0     50000      N                              fd4b0000.gpu                    core
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#

====================================
While running application
====================================
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#

xilinx-zcu106-20242:/home/petalinux# cat /sys/kernel/debug/clk/clk_summary | grep gpu
                   gpu_ref_mux       1       1        1        499950000   0          0     50000      Y                     deviceless                      no_connection_id
                      gpu_ref_div1   1       1        1        499950000   0          0     50000      Y                        deviceless                      no_connection_id
                         gpu_ref     2       2        2        499950000   0          0     50000      Y                           fd4b0000.gpu                    bus
                            gpu_pp1_ref 0       0        0        499950000   0          0     50000      Y                              deviceless                      no_connection_id
                            gpu_pp0_ref 1       1        0        499950000   0          0     50000      Y                              fd4b0000.gpu                    core
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux#
xilinx-zcu106-20242:/home/petalinux# cat /proc/interrupts | grep pp0
 56:      53251          0          0          0     GICv2 164 Level     gpmmu, ppmmu0, ppmmu1, gp, pp0, pp1
xilinx-zcu106-20242:/home/petalinux# cat /proc/interrupts | grep pp0
 56:      53413          0          0          0     GICv2 164 Level     gpmmu, ppmmu0, ppmmu1, gp, pp0, pp1
xilinx-zcu106-20242:/home/petalinux# cat /proc/interrupts | grep pp0
 56:      53495          0          0          0     GICv2 164 Level     gpmmu, ppmmu0, ppmmu1, gp, pp0, pp1
xilinx-zcu106-20242:/home/petalinux#

====================================
kmscube logs
====================================
xilinx-zcu106-20242:/home/petalinux#

xilinx-zcu106-20242:/home/petalinux# kmscube
Using display 0xaaaaecf14d50 with EGL version 1.4
===================================
EGL information:
  version: "1.4"
  vendor: "Mesa Project"
  client extensions: "EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless"
  display extensions: "EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_partial_update EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_gl_interop EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display "
===================================
OpenGL ES 2.x information:
  version: "OpenGL ES 2.0 Mesa 24.0.7"
  shading language version: "OpenGL ES GLSL ES 1.0.16"
  vendor: "Mesa"
  renderer: "Mali400"
  extensions: "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_NV_texture_barrier GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_APPLE_sync GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB GL_NV_pixel_buffer_object GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_debug_label GL_EXT_separate_shader_objects GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_EXT_blend_func_extended GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_texture_compression_s3tc_srgb GL_EXT_clip_control GL_KHR_parallel_shader_compile GL_MESA_sampler_objects GL_MESA_bgra "
===================================
Rendered 60 frames in 2.001299 sec (29.980525 fps)
Rendered 120 frames in 4.002624 sec (29.980335 fps)
Rendered 180 frames in 6.003956 sec (29.980231 fps)
Rendered 240 frames in 8.005281 sec (29.980210 fps)
Rendered 300 frames in 10.006600 sec (29.980214 fps)
Rendered 360 frames in 12.007930 sec (29.980189 fps)
Rendered 420 frames in 14.009258 sec (29.980175 fps)
Rendered 480 frames in 16.010584 sec (29.980169 fps)
Rendered 540 frames in 18.011923 sec (29.980142 fps)
Rendered 600 frames in 20.013232 sec (29.980165 fps)
Rendered 660 frames in 22.014557 sec (29.980163 fps)
Rendered 720 frames in 24.015895 sec (29.980145 fps)
Rendered 780 frames in 26.017208 sec (29.980157 fps)
Rendered 840 frames in 28.018530 sec (29.980160 fps)
Rendered 900 frames in 30.019857 sec (29.980157 fps)
Rendered 960 frames in 32.021181 sec (29.980156 fps)
#6 lore raw
Quoted 1 line · Parth

Hi Marek,

Hi,

Quoted 5 lines

We tried running kmscube application with lima driver and it is working fine. Attaching application logs and boot logs.

We are using our 6.6 kernel.
Meanwhile we will also check with upstream kernel.

Is this the heavily patched kernel version from
https://github.com/Xilinx/linux-xlnx branch xlnx/xlnx_rebase_v6.6_LTS with

 865 files changed, 216895 insertions(+), 8276 deletions(-)

or an actual stock 6.6.40 ?

Quoted 1 line

Is it maybe possible some newer blob(s) enable both PP0 and PP1 internally to work around this clocking issue in Linux ?

The blobs I use are 2019.1 , so what about this question ^ ?

#7 lore raw

Hi Marek,

Yes we are using https://github.com/Xilinx/linux-xlnx/tree/xlnx_rebase_v6.6_LTS. We are also checking with upstream kernel. Will update you on that.

Can you share please your artifacts.

The blobs I use are 2019.1
[Parth]: You are using 2019.1 BOOT.bin and rootfs and upstream kernel Image right? Also I don't think any changes with respect to this. Let me also double check once.

Regards,
Parth

-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Thursday, November 14, 2024 1:26 AM
To: Gajjar, Parth <[email protected]>; Sagar, Vishal <[email protected]>; [email protected]
Cc: Michael Turquette <[email protected]>; Simek, Michal <[email protected]>; Stephen Boyd <[email protected]>; [email protected]; Allagadapa, Varunkumar <[email protected]>
Subject: Re: [PATCH] clk: zynqmp: Work around broken DT GPU node

Quoted 1 line · Parth

Hi Marek,

Hi,

Quoted 5 lines

We tried running kmscube application with lima driver and it is working fine. Attaching application logs and boot logs.

We are using our 6.6 kernel.
Meanwhile we will also check with upstream kernel.

Is this the heavily patched kernel version from https://github.com/Xilinx/linux-xlnx branch xlnx/xlnx_rebase_v6.6_LTS with

  865 files changed, 216895 insertions(+), 8276 deletions(-) or an actual stock 6.6.40 ?
Quoted 1 line

Is it maybe possible some newer blob(s) enable both PP0 and PP1 internally to work around this clocking issue in Linux ?

The blobs I use are 2019.1 , so what about this question ^ ?

#8 lore raw
Quoted 1 line · Parth

Hi Marek,

Hi,

Quoted 1 line

Yes we are using https://github.com/Xilinx/linux-xlnx/tree/xlnx_rebase_v6.6_LTS. We are also checking with upstream kernel. Will update you on that.

Please do test mainline Linux (currently 6.12 or next), not some downstream fork. Downstream forks tests have no relevance in mainline Linux testing.

Quoted 4 lines

Can you share please your artifacts.

The blobs I use are 2019.1
[Parth]: You are using 2019.1 BOOT.bin and rootfs and upstream kernel Image right?

FSBL and PMUFW are built from embedded-sw 2019.1 , rootfs is currently debian unstable or OE scarthgap based .

Quoted 1 line

Also I don't think any changes with respect to this. Let me also double check once.

I'll wait for this.

#9 lore raw

Hi Marek,

We have tested with upstream kernel without your patch and were able to run kmscube application without any issue.

Kernel: upstream kernel v6.12-971-g158f238aa69d
BOOT.bin tried: 2024.1 and 2019.1
Rootfs: 2024.1 petalinux

I have used upstream dtb and dts files attached are generated on boot. Attaching logs for more details.

Can you please share what exact issue were you facing and your boot and run logs?

Regards,
Parth

-----Original Message-----
From: Marek Vasut <[email protected]>
Sent: Tuesday, November 26, 2024 9:49 PM
To: Gajjar, Parth <[email protected]>; Sagar, Vishal <[email protected]>; [email protected]
Cc: Michael Turquette <[email protected]>; Simek, Michal <[email protected]>; Stephen Boyd <[email protected]>; [email protected]; Allagadapa, Varunkumar <[email protected]>
Subject: Re: [PATCH] clk: zynqmp: Work around broken DT GPU node

Quoted 1 line · Parth

Hi Marek,

Hi,

Quoted 1 line

Yes we are using https://github.com/Xilinx/linux-xlnx/tree/xlnx_rebase_v6.6_LTS. We are also checking with upstream kernel. Will update you on that.

Please do test mainline Linux (currently 6.12 or next), not some downstream fork. Downstream forks tests have no relevance in mainline Linux testing.

Quoted 4 lines

Can you share please your artifacts.

The blobs I use are 2019.1
[Parth]: You are using 2019.1 BOOT.bin and rootfs and upstream kernel Image right?

FSBL and PMUFW are built from embedded-sw 2019.1 , rootfs is currently debian unstable or OE scarthgap based .

Quoted 1 line

Also I don't think any changes with respect to this. Let me also double check once.

I'll wait for this.