linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
@ 2022-07-07 10:14 Jerome Brunet
  2022-07-13  9:24 ` Da Xue
  2022-08-26  9:51 ` Heiner Kallweit
  0 siblings, 2 replies; 12+ messages in thread
From: Jerome Brunet @ 2022-07-07 10:14 UTC (permalink / raw)
  To: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu, Erico Nunes
  Cc: Jerome Brunet, netdev, linux-amlogic, Kevin Hilman,
	Neil Armstrong, Vyacheslav, Heiner Kallweit, Da Xue, Qi Duan

For some reason, poking MAC_CTRL_REG a second time, even with the same
value, causes problem on a dwmac 3.70a.

This problem happens on all the Amlogic SoCs, on link up, when the RMII
10/100 internal interface is used. The problem does not happen on boards
using the external RGMII 10/100/1000 interface. Initially we suspected the
PHY to be the problem but after a lot of testing, the problem seems to be
coming from the MAC controller.

> meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
> meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
> meson8b-dwmac c9410000.ethernet: PTP uses main clock
> meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
> meson8b-dwmac c9410000.ethernet: 	DWMAC1000
> meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
> meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
> meson8b-dwmac c9410000.ethernet: COE Type 2
> meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
> meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
> meson8b-dwmac c9410000.ethernet: Normal descriptors
> meson8b-dwmac c9410000.ethernet: Ring mode enabled
> meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer

The problem is not systematic. Its occurence is very random from 1/50 to
1/2. It is fairly easy to detect by setting the kernel to boot over NFS and
possibly setting it to reboot automatically when reaching the prompt.

When problem happens, the link is reported up by the PHY but no packet are
actually going out. DHCP requests eventually times out and the kernel reset
the interface. It may take several attempts but it will eventually work.

> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> Sending DHCP requests ...... timed out!
> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
> IP-Config: Retrying forever (NFS root)...
> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> Sending DHCP requests ...... timed out!
> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
> IP-Config: Retrying forever (NFS root)...
> [...] 5 retries ...
> IP-Config: Retrying forever (NFS root)...
> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> Sending DHCP requests ., OK
> IP-Config: Got DHCP answer from 10.1.1.1, my address is 10.1.3.229

Of course the same problem happens when not using NFS and it fairly
difficult for IoT products to detect this situation and recover.

The call to stmmac_mac_set() should be no-op in our case, the bits it sets
have already been set by an earlier call to stmmac_mac_set(). However
removing this call solves the problem. We have no idea why or what is the
actual problem.

Even weirder, keeping the call to stmmac_mac_set() but inserting a
udelay(1) between writel() and stmmac_mac_set() solves the problem too.

Suggested-by: Qi Duan <qi.duan@amlogic.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---

 Hi,

 There is no intention to get this patch merged as it is.
 It is sent with the hope to get a better understanding of the issue
 and more testing.

 The discussion on this issue initially started on this thread
 https://lore.kernel.org/all/CAK4VdL3-BEBzgVXTMejrAmDjOorvoGDBZ14UFrDrKxVEMD2Zjg@mail.gmail.com/

 The patches previously proposed in this thread have not solved the
 problem.

 The line removed in this patch should be a no-op when it comes to the
 value of MAC_CTRL_REG. So the change should make not a difference but
 it does. Testing result have been very good so far so there must be an
 unexpected consequence on the HW. I hope that someone with more
 knowledge on this controller will be able to shine some light on this.

 Cheers
 Jerome

 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
index d1a7cf4567bc..3dca3cc61f39 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -1072,7 +1072,6 @@ static void stmmac_mac_link_up(struct phylink_config *config,
 
 	writel(ctrl, priv->ioaddr + MAC_CTRL_REG);
 
-	stmmac_mac_set(priv, priv->ioaddr, true);
 	if (phy && priv->dma_cap.eee) {
 		priv->eee_active = phy_init_eee(phy, 1) >= 0;
 		priv->eee_enabled = stmmac_eee_init(priv);
-- 
2.36.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-07-07 10:14 [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up Jerome Brunet
@ 2022-07-13  9:24 ` Da Xue
  2022-07-15  6:58   ` Da Xue
  2022-08-26  9:51 ` Heiner Kallweit
  1 sibling, 1 reply; 12+ messages in thread
From: Da Xue @ 2022-07-13  9:24 UTC (permalink / raw)
  To: Jerome Brunet
  Cc: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu, Erico Nunes,
	netdev, linux-amlogic, Kevin Hilman, Neil Armstrong, Vyacheslav,
	Heiner Kallweit, Qi Duan

[-- Attachment #1: Type: text/plain, Size: 6454 bytes --]

On Thu, Jul 7, 2022 at 6:14 AM Jerome Brunet <jbrunet@baylibre.com> wrote:
>
> For some reason, poking MAC_CTRL_REG a second time, even with the same
> value, causes problem on a dwmac 3.70a.
>
> This problem happens on all the Amlogic SoCs, on link up, when the RMII
> 10/100 internal interface is used. The problem does not happen on boards
> using the external RGMII 10/100/1000 interface. Initially we suspected the
> PHY to be the problem but after a lot of testing, the problem seems to be
> coming from the MAC controller.
>
> > meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
> > meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
> > meson8b-dwmac c9410000.ethernet: PTP uses main clock
> > meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
> > meson8b-dwmac c9410000.ethernet:      DWMAC1000
> > meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
> > meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
> > meson8b-dwmac c9410000.ethernet: COE Type 2
> > meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
> > meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
> > meson8b-dwmac c9410000.ethernet: Normal descriptors
> > meson8b-dwmac c9410000.ethernet: Ring mode enabled
> > meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
>
> The problem is not systematic. Its occurence is very random from 1/50 to
> 1/2. It is fairly easy to detect by setting the kernel to boot over NFS and
> possibly setting it to reboot automatically when reaching the prompt.
>
> When problem happens, the link is reported up by the PHY but no packet are
> actually going out. DHCP requests eventually times out and the kernel reset
> the interface. It may take several attempts but it will eventually work.
>
> > meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> > Sending DHCP requests ...... timed out!
> > meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
> > IP-Config: Retrying forever (NFS root)...
> > meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
> > meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> > meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
> > meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
> > meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
> > meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> > Sending DHCP requests ...... timed out!
> > meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
> > IP-Config: Retrying forever (NFS root)...
> > [...] 5 retries ...
> > IP-Config: Retrying forever (NFS root)...
> > meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
> > meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> > meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
> > meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
> > meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
> > meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> > Sending DHCP requests ., OK
> > IP-Config: Got DHCP answer from 10.1.1.1, my address is 10.1.3.229
>
> Of course the same problem happens when not using NFS and it fairly
> difficult for IoT products to detect this situation and recover.
>
> The call to stmmac_mac_set() should be no-op in our case, the bits it sets
> have already been set by an earlier call to stmmac_mac_set(). However
> removing this call solves the problem. We have no idea why or what is the
> actual problem.
>
> Even weirder, keeping the call to stmmac_mac_set() but inserting a
> udelay(1) between writel() and stmmac_mac_set() solves the problem too.
>
> Suggested-by: Qi Duan <qi.duan@amlogic.com>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
>
>  Hi,
>
>  There is no intention to get this patch merged as it is.
>  It is sent with the hope to get a better understanding of the issue
>  and more testing.
>
>  The discussion on this issue initially started on this thread
>  https://lore.kernel.org/all/CAK4VdL3-BEBzgVXTMejrAmDjOorvoGDBZ14UFrDrKxVEMD2Zjg@mail.gmail.com/
>
>  The patches previously proposed in this thread have not solved the
>  problem.
>
>  The line removed in this patch should be a no-op when it comes to the
>  value of MAC_CTRL_REG. So the change should make not a difference but
>  it does. Testing result have been very good so far so there must be an
>  unexpected consequence on the HW. I hope that someone with more
>  knowledge on this controller will be able to shine some light on this.
>
>  Cheers
>  Jerome
>
>  drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> index d1a7cf4567bc..3dca3cc61f39 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> @@ -1072,7 +1072,6 @@ static void stmmac_mac_link_up(struct phylink_config *config,
>
>         writel(ctrl, priv->ioaddr + MAC_CTRL_REG);
>
> -       stmmac_mac_set(priv, priv->ioaddr, true);
>         if (phy && priv->dma_cap.eee) {
>                 priv->eee_active = phy_init_eee(phy, 1) >= 0;
>                 priv->eee_enabled = stmmac_eee_init(priv);
> --
> 2.36.1
>

We had a problem with GXL (S805X/S905X) where the ethernet interface
would sometimes not come up. Before the 5.10 LTS, it was just a matter
of bringing down and up (ip link set) the interface to fix the issue.
With 5.15, 5.18, and 5.19, we would get "meson8b-dwmac
c9410000.ethernet eth0: Reset adapter." No amount of link down ups can
fix it anymore.

When we get the "meson8b-dwmac c9410000.ethernet eth0: Reset
adapter.", it affects traffic on the network switch. I have a ping
going from two different devices on a GS108PP PoE network switch and
it would go through the roof. When I remove the GXL board, everything
comes back to normal.

We would get randomized corruption when ethernet is brought up
(successfully or not) about half the time. If it boots up without a
problem, it remains super stable. I would run benchmarks for CPU, 3D,
and ethernet for days without that glitch ever appearing. It seems to
be determined at startup.

[-- Attachment #2: 1-bad-page-state-good-eth0.txt --]
[-- Type: text/plain, Size: 30945 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.19.0-rc5-00193-g399248d17579 (dxue@build-server) (aarch64-linux-gnu-gcc (Linaro GCC 7.3-2018.05) 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f9197772
[    0.000000] Machine model: Libre Computer AML-S905X-CC
[    0.000000] efi: EFI v2.90 by Das U-Boot
[    0.000000] efi: RTPROP=0x7af33040 SMBIOS=0x7af2f000 RNG=0x55c96040 MEMRESERVE=0x55c95040 
[    0.000000] efi: seeding entropy pool
[    0.000000] random: crng init done
[    0.000000] Reserved memory: created CMA memory pool at 0x000000006ac00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7f3ddb40-0x7f3dffff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000000ffffff]
[    0.000000]   node   0: [mem 0x0000000001000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000005000000-0x00000000052fffff]
[    0.000000]   node   0: [mem 0x0000000005300000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000010000000-0x00000000101fffff]
[    0.000000]   node   0: [mem 0x0000000010200000-0x0000000055c95fff]
[    0.000000]   node   0: [mem 0x0000000055c96000-0x0000000055c96fff]
[    0.000000]   node   0: [mem 0x0000000055c97000-0x000000007af2efff]
[    0.000000]   node   0: [mem 0x000000007af2f000-0x000000007af2ffff]
[    0.000000]   node   0: [mem 0x000000007af30000-0x000000007af32fff]
[    0.000000]   node   0: [mem 0x000000007af33000-0x000000007af35fff]
[    0.000000]   node   0: [mem 0x000000007af36000-0x000000007af36fff]
[    0.000000]   node   0: [mem 0x000000007af37000-0x000000007af3afff]
[    0.000000]   node   0: [mem 0x000000007af3b000-0x000000007df4ffff]
[    0.000000]   node   0: [mem 0x000000007df50000-0x000000007df5ffff]
[    0.000000]   node   0: [mem 0x000000007df60000-0x000000007f806fff]
[    0.000000]   node   0: [mem 0x000000007f807000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 20 pages/cpu s44520 r8192 d29208 u81920
[    0.000000] pcpu-alloc: s44520 r8192 d29208 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.19.0-rc5-00193-g399248d17579 root=UUID=09799e9f-8009-4b0c-84bc-9761d73d9670 ro noquiet splash vt.handoff=7
[    0.000000] Unknown kernel command line parameters "noquiet splash BOOT_IMAGE=/boot/vmlinuz-5.19.0-rc5-00193-g399248d17579", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1691080K/2097152K available (16000K kernel code, 3394K rwdata, 9060K rodata, 6976K init, 586K bss, 143928K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    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] 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 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001309] Console: colour dummy device 80x25
[    0.001863] printk: console [tty0] enabled
[    0.001950] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001976] pid_max: default: 32768 minimum: 301
[    0.002043] LSM: Security Framework initializing
[    0.002151] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.002178] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.003426] cblist_init_generic: Setting adjustable number of callback queues.
[    0.003469] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.003538] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.003670] rcu: Hierarchical SRCU implementation.
[    0.006248] Remapping and enabling EFI services.
[    0.006629] smp: Bringing up secondary CPUs ...
[    0.007144] Detected VIPT I-cache on CPU1
[    0.007216] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.007797] Detected VIPT I-cache on CPU2
[    0.007854] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.008453] Detected VIPT I-cache on CPU3
[    0.008513] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.008591] smp: Brought up 1 node, 4 CPUs
[    0.008660] SMP: Total of 4 processors activated.
[    0.008672] CPU features: detected: 32-bit EL0 Support
[    0.008683] CPU features: detected: 32-bit EL1 Support
[    0.008695] CPU features: detected: CRC32 instructions
[    0.009114] CPU: All CPU(s) started at EL2
[    0.009148] alternatives: patching kernel code
[    0.010685] devtmpfs: initialized
[    0.016654] KASLR enabled
[    0.016859] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.016895] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.023264] pinctrl core: initialized pinctrl subsystem
[    0.024325] SMBIOS 3.0 present.
[    0.024370] DMI: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[    0.024922] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.026153] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.026446] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.026614] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.026749] audit: initializing netlink subsys (disabled)
[    0.026967] audit: type=2000 audit(0.024:1): state=initialized audit_enabled=0 res=1
[    0.028358] thermal_sys: Registered thermal governor 'step_wise'
[    0.028375] thermal_sys: Registered thermal governor 'power_allocator'
[    0.028646] cpuidle: using governor menu
[    0.028955] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.029067] ASID allocator initialised with 32768 entries
[    0.029084] HugeTLB: can optimize 4095 vmemmap pages for hugepages-1048576kB
[    0.029098] HugeTLB: can optimize 127 vmemmap pages for hugepages-32768kB
[    0.029111] HugeTLB: can optimize 7 vmemmap pages for hugepages-2048kB
[    0.029123] HugeTLB: can optimize 0 vmemmap pages for hugepages-64kB
[    0.030845] Serial: AMBA PL011 UART driver
[    0.049838] platform c883a000.hdmi-tx: Fixing up cyclic dependency with d0100000.vpu
[    0.052097] platform cvbs-connector: Fixing up cyclic dependency with d0100000.vpu
[    0.052959] platform hdmi-connector: Fixing up cyclic dependency with c883a000.hdmi-tx
[    0.064956] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.064994] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.065008] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.065021] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.066450] ACPI: Interpreter disabled.
[    0.069416] iommu: Default domain type: Translated 
[    0.069453] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.069754] SCSI subsystem initialized
[    0.069925] libata version 3.00 loaded.
[    0.070145] usbcore: registered new interface driver usbfs
[    0.070192] usbcore: registered new interface driver hub
[    0.070229] usbcore: registered new device driver usb
[    0.071316] pps_core: LinuxPPS API ver. 1 registered
[    0.071335] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.071366] PTP clock support registered
[    0.071497] EDAC MC: Ver: 3.0.0
[    0.072615] Registered efivars operations
[    0.073702] FPGA manager framework
[    0.073829] Advanced Linux Sound Architecture Driver Initialized.
[    0.074588] vgaarb: loaded
[    0.075068] clocksource: Switched to clocksource arch_sys_counter
[    0.075303] VFS: Disk quotas dquot_6.6.0
[    0.075358] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.075546] pnp: PnP ACPI: disabled
[    0.080928] NET: Registered PF_INET protocol family
[    0.081118] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.082647] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.082740] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.082767] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.082888] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.083132] TCP: Hash tables configured (established 16384 bind 16384)
[    0.083269] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.083330] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.083504] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.083908] RPC: Registered named UNIX socket transport module.
[    0.083938] RPC: Registered udp transport module.
[    0.083948] RPC: Registered tcp transport module.
[    0.083959] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.083976] PCI: CLS 0 bytes, default 64
[    0.084184] Unpacking initramfs...
[    0.095852] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.096439] kvm [1]: IPA Size Limit: 40 bits
[    0.098322] kvm [1]: vgic interrupt IRQ9
[    0.098455] kvm [1]: Hyp mode initialized successfully
[    0.100048] Initialise system trusted keyrings
[    0.100346] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.106776] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.107663] NFS: Registering the id_resolver key type
[    0.107729] Key type id_resolver registered
[    0.107744] Key type id_legacy registered
[    0.107866] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.107886] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.108120] 9p: Installing v9fs 9p2000 file system support
[    0.145164] Key type asymmetric registered
[    0.145211] Asymmetric key parser 'x509' registered
[    0.145331] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.145359] io scheduler mq-deadline registered
[    0.145372] io scheduler kyber registered
[    0.148544] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized
[    0.167162] EINJ: ACPI disabled.
[    0.194089] soc soc0: Amlogic Meson GXL (S905X) Revision 21:d (84:2) Detected
[    0.205319] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.210391] SuperH (H)SCI(F) driver initialized
[    0.211715] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 18, base_baud = 1500000) is a meson_uart
[    0.468197] Freeing initrd memory: 37316K
[    0.473432] printk: console [ttyAML0] enabled
[    1.307956] msm_serial: driver initialized
[    1.319226] loop: module loaded
[    1.320668] megasas: 07.719.03.00-rc1
[    1.328473] tun: Universal TUN/TAP device driver, 1.6
[    1.329732] thunder_xcv, ver 1.0
[    1.331168] thunder_bgx, ver 1.0
[    1.334319] nicpf, ver 1.0
[    1.338784] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.344141] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.349478] hclge is initializing
[    1.352682] e1000: Intel(R) PRO/1000 Network Driver
[    1.357490] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.363220] e1000e: Intel(R) PRO/1000 Network Driver
[    1.368107] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.373998] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.379312] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.384866] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.391042] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.397521] sky2: driver version 1.30
[    1.402089] VFIO - User Level meta-driver version: 0.3
[    1.408853] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.412117] ehci-pci: EHCI PCI platform driver
[    1.416539] ehci-platform: EHCI generic platform driver
[    1.421877] ehci-orion: EHCI orion driver
[    1.425816] ehci-exynos: EHCI Exynos driver
[    1.429929] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.435949] ohci-pci: OHCI PCI platform driver
[    1.440352] ohci-platform: OHCI generic platform driver
[    1.445666] ohci-exynos: OHCI Exynos driver
[    1.450456] usbcore: registered new interface driver usb-storage
[    1.459614] i2c_dev: i2c /dev entries driver
[    1.469920] sdhci: Secure Digital Host Controller Interface driver
[    1.470481] sdhci: Copyright(c) Pierre Ossman
[    1.476007] Synopsys Designware Multimedia Card Interface Driver
[    1.482434] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.482620] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    1.492016] ledtrig-cpu: registered to indicate activity on CPUs
[    1.499409] efifb: probing for efifb
[    1.501485] efifb: framebuffer at 0x7f807000, using 8100k, total 8100k
[    1.507838] efifb: mode is 1920x1080x32, linelength=7680, pages=1
[    1.513864] efifb: scrolling: redraw
[    1.517397] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.529734] meson-gx-mmc d0074000.mmc: no support for card's volts
[    1.529750] mmc0: error -22 whilst initialising SDIO card
[    1.533383] Console: switching to colour frame buffer device 240x67
[    1.554396] fb0: EFI VGA frame buffer device
[    1.559307] meson-sm: secure-monitor enabled
[    1.564655] usbcore: registered new interface driver usbhid
[    1.568419] usbhid: USB HID core driver
[    1.573761] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[    1.588807] NET: Registered PF_PACKET protocol family
[    1.589118] 9pnet: Installing 9P2000 support
[    1.592595] Key type dns_resolver registered
[    1.597193] registered taskstats version 1
[    1.600831] Loading compiled-in X.509 certificates
[    1.628893] dwc3-meson-g12a d0078080.usb: USB2 ports: 2
[    1.628997] dwc3-meson-g12a d0078080.usb: USB3 ports: 0
[    2.145294] dwc2 c9100000.usb: supply vusb_d not found, using dummy regulator
[    2.147021] dwc2 c9100000.usb: supply vusb_a not found, using dummy regulator
[    2.154272] dwc2 c9100000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[    2.164234] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.166366] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    2.174123] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
[    2.179902] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010
[    2.189267] xhci-hcd xhci-hcd.0.auto: irq 25, io mem 0xc9000000
[    2.195851] hub 1-0:1.0: USB hub found
[    2.198796] hub 1-0:1.0: 2 ports detected
[    2.208058] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
[    2.208568] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    2.234900] ALSA device list:
[    2.234973]   No soundcards found.
[    2.243831] Freeing unused kernel memory: 6976K
[    2.247173] Run /init as init process
[    2.247236]   with arguments:
[    2.247240]     /init
[    2.247243]     noquiet
[    2.247247]     splash
[    2.247250]   with environment:
[    2.247253]     HOME=/
[    2.247256]     TERM=linux
[    2.247259]     BOOT_IMAGE=/boot/vmlinuz-5.19.0-rc5-00193-g399248d17579
[    2.282757] mmc1: new high speed SDHC card at address aaaa
[    2.283733] mmcblk1: mmc1:aaaa SP32G 29.7 GiB 
[    2.289276]  mmcblk1: p1 p2
[    2.455129] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.643738] hub 1-1:1.0: USB hub found
[    2.644156] hub 1-1:1.0: 4 ports detected
[    2.651558] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    2.999107] usb 1-1.2: new full-speed USB device number 3 using xhci-hcd
[    3.016192] meson-drm d0100000.vpu: Queued 2 outputs on vpu
[    3.029127] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    3.033393] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[    3.038530] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    3.046516] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[    3.048220] lima d00c0000.gpu: gp - mali450 version major 0 minor 0
[    3.060764] meson8b-dwmac c9410000.ethernet:         DWMAC1000
[    3.062144] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
[    3.062812] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    3.062825] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    3.062829] meson8b-dwmac c9410000.ethernet: COE Type 2
[    3.062835] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    3.075378] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
[    3.076688] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    3.086231] lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0
[    3.087198] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    3.094097] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[    3.100334] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    3.106755] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[    3.112935] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.165543] Console: switching to colour dummy device 80x25
[    3.175028] lima d00c0000.gpu: bus rate = 166666667
[    3.175135] lima d00c0000.gpu: mod rate = 24000000
[    3.180535] lima d00c0000.gpu: error -ENODEV: dev_pm_opp_set_regulators: no regulator (mali) found
[    3.191591] lima d00c0000.gpu: Failed to register cooling device
[    3.199250] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    3.212756] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 0
[    3.221503] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    3.224643] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi])
[    3.238035] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 1
[    3.269908] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.0/0003:17EF:6047.0001/input/input0
[    3.343926] hid-generic 0003:17EF:6047.0001: input: USB HID v1.00 Keyboard [Lenovo ThinkPad Compact USB Keyboard with TrackPoint] on usb-xhci-hcd.0.auto-1.2/input0
[    3.359129] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint Mouse as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input1
[    3.371888] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint Consumer Control as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/2
[    3.447616] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input3
[    3.459854] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input4
[    3.477180] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input5
[    3.494415] hid-generic 0003:17EF:6047.0002: input: USB HID v1.00 Mouse [Lenovo ThinkPad Compact USB Keyboard with TrackPoint] on usb-xhci-hcd.0.auto-1.2/input1
[    3.868709] Console: switching to colour frame buffer device 240x67
[    3.960242] meson-drm d0100000.vpu: [drm] fb0: mesondrmfb frame buffer device
[    4.267504] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com
[    4.491092] raid6: neonx8   gen()  2598 MB/s
[    4.559068] raid6: neonx4   gen()  2290 MB/s
[    4.627069] raid6: neonx2   gen()  2580 MB/s
[    4.695066] raid6: neonx1   gen()  1991 MB/s
[    4.763069] raid6: int64x8  gen()  1433 MB/s
[    4.831059] raid6: int64x4  gen()  1995 MB/s
[    4.899059] raid6: int64x2  gen()  1671 MB/s
[    4.967069] raid6: int64x1  gen()  1247 MB/s
[    4.967135] raid6: using algorithm neonx8 gen() 2598 MB/s
[    5.039063] raid6: .... xor() 1951 MB/s, rmw enabled
[    5.039137] raid6: using neon recovery algorithm
[    5.044407] xor: measuring software checksum speed
[    5.050806]    8regs           :  3309 MB/sec
[    5.055049]    32regs          :  3309 MB/sec
[    5.059746]    arm64_neon      :  2925 MB/sec
[    5.060685] xor: using function: 32regs (3309 MB/sec)
[    5.088207] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    5.393070] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[    6.321566] systemd[1]: System time before build time, advancing clock.
[    6.467883] NET: Registered PF_INET6 protocol family
[    6.469848] Segment Routing with IPv6
[    6.470958] In-situ OAM (IOAM) with IPv6
[    6.541466] systemd[1]: systemd 249.11-0ubuntu3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS -OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN +IPTC +KMOD )
[    6.568772] systemd[1]: Detected architecture arm64.
[    6.582247] systemd[1]: Hostname set to <dxue-test>.
[    7.812937] systemd[1]: Condition check resulted in Root Slice being skipped.
[    7.813369] systemd[1]: Condition check resulted in System Slice being skipped.
[    7.828196] systemd[1]: Queued start job for default target Graphical Interface.
[    7.835542] systemd[1]: Created slice Slice /system/modprobe.
[    7.838025] systemd[1]: Created slice Slice /system/serial-getty.
[    7.844366] systemd[1]: Created slice Slice /system/systemd-fsck.
[    7.850711] systemd[1]: Created slice Slice /system/systemd-growfs.
[    7.856580] systemd[1]: Created slice User and Session Slice.
[    7.861798] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.869619] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    7.881275] systemd[1]: Reached target Remote File Systems.
[    7.886523] systemd[1]: Reached target Slice Units.
[    7.891675] systemd[1]: Reached target Local Verity Protected Volumes.
[    7.898675] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    7.905575] systemd[1]: Listening on LVM2 poll daemon socket.
[    7.911643] systemd[1]: Listening on Syslog Socket.
[    7.922908] systemd[1]: Listening on fsck to fsckd communication Socket.
[    7.936635] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    7.951823] systemd[1]: Listening on Journal Audit Socket.
[    7.964302] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.977891] systemd[1]: Listening on Journal Socket.
[    7.989735] systemd[1]: Listening on udev Control Socket.
[    8.001528] systemd[1]: Listening on udev Kernel Socket.
[    8.016849] systemd[1]: Mounting Huge Pages File System...
[    8.029059] systemd[1]: Mounting POSIX Message Queue File System...
[    8.042563] systemd[1]: Mounting Kernel Debug File System...
[    8.051998] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    8.068896] systemd[1]: Starting Journal Service...
[    8.078253] systemd[1]: Finished Availability of block devices.
[    8.096229] systemd[1]: Starting Set the console keyboard layout...
[    8.113367] systemd[1]: Starting Create List of Static Device Nodes...
[    8.126816] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    8.144800] systemd[1]: Starting Load Kernel Module configfs...
[    8.159550] systemd[1]: Starting Load Kernel Module drm...
[    8.174990] systemd[1]: Starting Load Kernel Module fuse...
[    8.185711] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.206912] systemd[1]: Starting Load Kernel Modules...
[    8.211332] fuse: init (API version 7.36)
[    8.226426] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.240148] systemd[1]: Starting Coldplug All udev Devices...
[    8.257142] systemd[1]: Started Journal Service.
[    8.266851] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
[    8.301991] IPMI message handler: version 39.2
[    8.315579] ipmi device interface
[    8.400997] EXT4-fs (mmcblk1p2): resizing filesystem from 7725947 to 7725947 blocks
[    8.411606] systemd-journald[333]: Received client request to flush runtime journal.
[    8.468388] systemd-journald[333]: File /var/log/journal/7d8f4469c59d439dab26064fd9ac120f/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    8.940506] loop0: detected capacity change from 0 to 8
[    8.949449] loop1: detected capacity change from 0 to 117656
[    8.954741] loop2: detected capacity change from 0 to 302096
[    8.964388] loop3: detected capacity change from 0 to 467720
[    8.975861] loop4: detected capacity change from 0 to 166424
[    8.985221] loop5: detected capacity change from 0 to 90688
[    8.993472] loop6: detected capacity change from 0 to 77328
[    9.003788] loop7: detected capacity change from 0 to 544
[   10.700093] Registered IR keymap rc-empty
[   10.705196] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0
[   10.708008] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[   10.708345] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[   10.757379] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input7
[   10.772950] meson-ir c8100580.ir: receiver initialized
[   12.055697] Adding 1048572k swap on /swapfile.  Priority:-2 extents:5 across:4145148k SS
[   16.642126] loop8: detected capacity change from 0 to 8
[   16.666537] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=38)
[   16.673520] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   16.683513] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   16.683544] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   16.689126] BUG: Bad page state in process systemd  pfn:059e6
[   16.690154] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   16.691865] page:0000000080f9048b refcount:-65536 mapcount:253167 mapping:000000009e13d325 index:0x0 pfn:0x59e6
[   16.691914] memcg:f5d5278875bf1000
[   16.691923] invalid mapping:0101a8c093971b34
[   16.691927] flags: 0x5d482220489ac0f2(waiters|referenced|lru|active|workingset|private_2|writeback|mappedtodisk|swapbacked|unevictable|arch_2|node=5|zone=3|lastcpupid=0x5208)
[   16.691947] raw: 5d482220489ac0f2 dead000000000100 dead000000000122 0101a8c093971b36
[   16.691954] raw: 0000000000000000 0000000000000000 ffff00000003dcee f5d5278875bf1000
[   16.691959] page dumped because: page still charged to cgroup
[   16.691964] Modules linked in: rfkill snd_soc_meson_aiu meson_rng rng_core snd_soc_meson_codec_glue snd_soc_hdmi_codec amlogic_gxl_crypto meson_ir rc_core crypto_engine meson_gxbb_wdt snd_soc_meson_t9015 sndm
[   16.692138] CPU: 0 PID: 1 Comm: systemd Not tainted 5.19.0-rc5-00193-g399248d17579 #1
[   16.692149] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[   16.692155] Call trace:
[   16.692159]  dump_backtrace.part.6+0xdc/0xe8
[   16.692180]  show_stack+0x18/0x68
[   16.692188]  dump_stack_lvl+0x68/0x84
[   16.692199]  dump_stack+0x18/0x34
[   16.692206]  bad_page+0xd4/0x128
[   16.692214]  check_new_page_bad+0x84/0xa0
[   16.692221]  rmqueue_bulk+0x2c0/0x770
[   16.692228]  get_page_from_freelist+0xe18/0x1010
[   16.692236]  __alloc_pages+0x150/0x2e8
[   16.692243]  alloc_pages+0xa8/0x158
[   16.692252]  new_slab+0x2c0/0x340
[   16.692260]  ___slab_alloc+0x550/0x618
[   16.692268]  __slab_alloc.isra.99+0x30/0x68
[   16.692276]  kmem_cache_alloc+0x248/0x270
[   16.692284]  __alloc_file+0x2c/0xe8
[   16.692291]  alloc_empty_file+0x64/0x100
[   16.692298]  path_openat+0x4c/0x1010
[   16.692305]  do_filp_open+0x88/0x110
[   16.692312]  do_sys_openat2+0x238/0x320
[   16.692321]  do_sys_open+0x64/0xa0
[   16.692329]  __arm64_sys_openat+0x24/0x30
[   16.692337]  invoke_syscall+0x44/0x100
[   16.692346]  el0_svc_common.constprop.3+0x6c/0xf0
[   16.692354]  do_el0_svc+0x2c/0xb8
[   16.692362]  el0_svc+0x20/0x60
[   16.692370]  el0t_64_sync_handler+0x98/0xc0
[   16.692377]  el0t_64_sync+0x170/0x174
[   16.692386] Disabling lock debugging due to kernel taint
[   18.260753] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   18.260836] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.320346] audit: type=1326 audit(1657320455.765:2): auid=1000 uid=1000 gid=1000 ses=2 pid=1013 comm="snapd-desktop-i" exe="/snap/snapd-desktop-integration/11/bin/snapd-desktop-integration" sig=0 arch=c00000
[   36.155307] rfkill: input handler disabled


[-- Attachment #3: Screenshot from 2022-07-13 01-10-58.png --]
[-- Type: image/png, Size: 350774 bytes --]

[-- Attachment #4: 2-bad-eth0.txt --]
[-- Type: text/plain, Size: 41174 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.19.0-rc5-00193-g399248d17579 (dxue@build-server) (aarch64-linux-gnu-gcc (Linaro GCC 7.3-2018.05) 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701], GNU ld (Linaro_Binutils-2018.05) 2.28.2.20170706) #1 SMP PREEMPT Fri Jul 8 18:37:51 EDT 2022
[    0.000000] Machine model: Libre Computer AML-S905X-CC
[    0.000000] efi: EFI v2.90 by Das U-Boot
[    0.000000] efi: RTPROP=0x7af33040 SMBIOS=0x7af2f000 RNG=0x55c96040 MEMRESERVE=0x55c95040 
[    0.000000] efi: seeding entropy pool
[    0.000000] random: crng init done
[    0.000000] Reserved memory: created CMA memory pool at 0x000000006ac00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7f3dfb40-0x7f3e1fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000000ffffff]
[    0.000000]   node   0: [mem 0x0000000001000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000005000000-0x00000000052fffff]
[    0.000000]   node   0: [mem 0x0000000005300000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000010000000-0x00000000101fffff]
[    0.000000]   node   0: [mem 0x0000000010200000-0x0000000055c95fff]
[    0.000000]   node   0: [mem 0x0000000055c96000-0x0000000055c96fff]
[    0.000000]   node   0: [mem 0x0000000055c97000-0x000000007af2efff]
[    0.000000]   node   0: [mem 0x000000007af2f000-0x000000007af2ffff]
[    0.000000]   node   0: [mem 0x000000007af30000-0x000000007af32fff]
[    0.000000]   node   0: [mem 0x000000007af33000-0x000000007af35fff]
[    0.000000]   node   0: [mem 0x000000007af36000-0x000000007af36fff]
[    0.000000]   node   0: [mem 0x000000007af37000-0x000000007af3afff]
[    0.000000]   node   0: [mem 0x000000007af3b000-0x000000007df4ffff]
[    0.000000]   node   0: [mem 0x000000007df50000-0x000000007df5ffff]
[    0.000000]   node   0: [mem 0x000000007df60000-0x000000007f806fff]
[    0.000000]   node   0: [mem 0x000000007f807000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 20 pages/cpu s44520 r8192 d29208 u81920
[    0.000000] pcpu-alloc: s44520 r8192 d29208 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.19.0-rc5-00193-g399248d17579 root=UUID=09799e9f-8009-4b0c-84bc-9761d73d9670 ro noquiet splash vt.handoff=7
[    0.000000] Unknown kernel command line parameters "noquiet splash BOOT_IMAGE=/boot/vmlinuz-5.19.0-rc5-00193-g399248d17579", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1691088K/2097152K available (16000K kernel code, 3394K rwdata, 9060K rodata, 6976K init, 586K bss, 143920K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    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] 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 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001309] Console: colour dummy device 80x25
[    0.001865] printk: console [tty0] enabled
[    0.001951] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001977] pid_max: default: 32768 minimum: 301
[    0.002046] LSM: Security Framework initializing
[    0.002153] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.002181] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.003430] cblist_init_generic: Setting adjustable number of callback queues.
[    0.003472] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.003542] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.003672] rcu: Hierarchical SRCU implementation.
[    0.006255] Remapping and enabling EFI services.
[    0.006634] smp: Bringing up secondary CPUs ...
[    0.007140] Detected VIPT I-cache on CPU1
[    0.007212] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.007792] Detected VIPT I-cache on CPU2
[    0.007851] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.008440] Detected VIPT I-cache on CPU3
[    0.008500] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.008579] smp: Brought up 1 node, 4 CPUs
[    0.008647] SMP: Total of 4 processors activated.
[    0.008659] CPU features: detected: 32-bit EL0 Support
[    0.008669] CPU features: detected: 32-bit EL1 Support
[    0.008682] CPU features: detected: CRC32 instructions
[    0.009100] CPU: All CPU(s) started at EL2
[    0.009134] alternatives: patching kernel code
[    0.010638] devtmpfs: initialized
[    0.016609] KASLR enabled
[    0.016815] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.016851] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.023222] pinctrl core: initialized pinctrl subsystem
[    0.024284] SMBIOS 3.0 present.
[    0.024332] DMI: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[    0.024886] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.026184] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.026384] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.026533] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.026622] audit: initializing netlink subsys (disabled)
[    0.026826] audit: type=2000 audit(0.024:1): state=initialized audit_enabled=0 res=1
[    0.028141] thermal_sys: Registered thermal governor 'step_wise'
[    0.028156] thermal_sys: Registered thermal governor 'power_allocator'
[    0.028457] cpuidle: using governor menu
[    0.028771] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.028888] ASID allocator initialised with 32768 entries
[    0.028904] HugeTLB: can optimize 4095 vmemmap pages for hugepages-1048576kB
[    0.028918] HugeTLB: can optimize 127 vmemmap pages for hugepages-32768kB
[    0.028931] HugeTLB: can optimize 7 vmemmap pages for hugepages-2048kB
[    0.028944] HugeTLB: can optimize 0 vmemmap pages for hugepages-64kB
[    0.030668] Serial: AMBA PL011 UART driver
[    0.049851] platform c883a000.hdmi-tx: Fixing up cyclic dependency with d0100000.vpu
[    0.052100] platform cvbs-connector: Fixing up cyclic dependency with d0100000.vpu
[    0.052980] platform hdmi-connector: Fixing up cyclic dependency with c883a000.hdmi-tx
[    0.064927] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.064964] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.064978] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.064992] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.066395] ACPI: Interpreter disabled.
[    0.069386] iommu: Default domain type: Translated 
[    0.069420] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.069714] SCSI subsystem initialized
[    0.069875] libata version 3.00 loaded.
[    0.070110] usbcore: registered new interface driver usbfs
[    0.070161] usbcore: registered new interface driver hub
[    0.070200] usbcore: registered new device driver usb
[    0.071277] pps_core: LinuxPPS API ver. 1 registered
[    0.071295] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.071321] PTP clock support registered
[    0.071449] EDAC MC: Ver: 3.0.0
[    0.072466] Registered efivars operations
[    0.073650] FPGA manager framework
[    0.073773] Advanced Linux Sound Architecture Driver Initialized.
[    0.074522] vgaarb: loaded
[    0.075010] clocksource: Switched to clocksource arch_sys_counter
[    0.075243] VFS: Disk quotas dquot_6.6.0
[    0.075299] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.075477] pnp: PnP ACPI: disabled
[    0.080823] NET: Registered PF_INET protocol family
[    0.081007] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.082534] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.082637] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.082665] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.082786] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.082994] TCP: Hash tables configured (established 16384 bind 16384)
[    0.083166] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.083225] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.083395] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.083780] RPC: Registered named UNIX socket transport module.
[    0.083807] RPC: Registered udp transport module.
[    0.083818] RPC: Registered tcp transport module.
[    0.083828] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.083845] PCI: CLS 0 bytes, default 64
[    0.084057] Unpacking initramfs...
[    0.095771] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.096343] kvm [1]: IPA Size Limit: 40 bits
[    0.098219] kvm [1]: vgic interrupt IRQ9
[    0.098355] kvm [1]: Hyp mode initialized successfully
[    0.099873] Initialise system trusted keyrings
[    0.100159] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.106567] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.107439] NFS: Registering the id_resolver key type
[    0.107503] Key type id_resolver registered
[    0.107516] Key type id_legacy registered
[    0.107650] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.107672] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.107883] 9p: Installing v9fs 9p2000 file system support
[    0.144174] Key type asymmetric registered
[    0.144219] Asymmetric key parser 'x509' registered
[    0.144328] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.144355] io scheduler mq-deadline registered
[    0.144367] io scheduler kyber registered
[    0.147677] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized
[    0.166065] EINJ: ACPI disabled.
[    0.192981] soc soc0: Amlogic Meson GXL (S905X) Revision 21:d (84:2) Detected
[    0.204162] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.209012] SuperH (H)SCI(F) driver initialized
[    0.210213] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 18, base_baud = 1500000) is a meson_uart
[    0.466901] Freeing initrd memory: 37316K
[    0.471924] printk: console [ttyAML0] enabled
[    0.472991] msm_serial: driver initialized
[    1.317808] loop: module loaded
[    1.319295] megasas: 07.719.03.00-rc1
[    1.327079] tun: Universal TUN/TAP device driver, 1.6
[    1.328342] thunder_xcv, ver 1.0
[    1.329740] thunder_bgx, ver 1.0
[    1.332951] nicpf, ver 1.0
[    1.337393] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.342752] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.348079] hclge is initializing
[    1.351294] e1000: Intel(R) PRO/1000 Network Driver
[    1.356097] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.361831] e1000e: Intel(R) PRO/1000 Network Driver
[    1.366705] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.372613] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.377918] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.383467] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.389648] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.396101] sky2: driver version 1.30
[    1.400689] VFIO - User Level meta-driver version: 0.3
[    1.407429] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.410697] ehci-pci: EHCI PCI platform driver
[    1.415153] ehci-platform: EHCI generic platform driver
[    1.420478] ehci-orion: EHCI orion driver
[    1.424405] ehci-exynos: EHCI Exynos driver
[    1.428529] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.434533] ohci-pci: OHCI PCI platform driver
[    1.438945] ohci-platform: OHCI generic platform driver
[    1.444276] ohci-exynos: OHCI Exynos driver
[    1.449039] usbcore: registered new interface driver usb-storage
[    1.458138] i2c_dev: i2c /dev entries driver
[    1.468347] sdhci: Secure Digital Host Controller Interface driver
[    1.468906] sdhci: Copyright(c) Pierre Ossman
[    1.474358] Synopsys Designware Multimedia Card Interface Driver
[    1.480850] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.480984] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    1.490380] ledtrig-cpu: registered to indicate activity on CPUs
[    1.497753] efifb: probing for efifb
[    1.499973] efifb: framebuffer at 0x7f807000, using 8100k, total 8100k
[    1.506257] efifb: mode is 1920x1080x32, linelength=7680, pages=1
[    1.512289] efifb: scrolling: redraw
[    1.515822] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.528116] meson-gx-mmc d0074000.mmc: no support for card's volts
[    1.528132] mmc0: error -22 whilst initialising SDIO card
[    1.531798] Console: switching to colour frame buffer device 240x67
[    1.552797] fb0: EFI VGA frame buffer device
[    1.557688] meson-sm: secure-monitor enabled
[    1.563057] usbcore: registered new interface driver usbhid
[    1.566768] usbhid: USB HID core driver
[    1.572110] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[    1.586978] NET: Registered PF_PACKET protocol family
[    1.587328] 9pnet: Installing 9P2000 support
[    1.590772] Key type dns_resolver registered
[    1.595432] registered taskstats version 1
[    1.599056] Loading compiled-in X.509 certificates
[    1.626835] dwc3-meson-g12a d0078080.usb: USB2 ports: 2
[    1.626939] dwc3-meson-g12a d0078080.usb: USB3 ports: 0
[    2.145112] dwc2 c9100000.usb: supply vusb_d not found, using dummy regulator
[    2.146831] dwc2 c9100000.usb: supply vusb_a not found, using dummy regulator
[    2.154089] dwc2 c9100000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[    2.164052] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.166180] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    2.173929] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
[    2.179710] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010
[    2.189084] xhci-hcd xhci-hcd.0.auto: irq 25, io mem 0xc9000000
[    2.195666] hub 1-0:1.0: USB hub found
[    2.198608] hub 1-0:1.0: 2 ports detected
[    2.207851] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
[    2.208359] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    2.236215] ALSA device list:
[    2.236296]   No soundcards found.
[    2.246867] Freeing unused kernel memory: 6976K
[    2.247071] Run /init as init process
[    2.249485]   with arguments:
[    2.249489]     /init
[    2.249492]     noquiet
[    2.249496]     splash
[    2.249499]   with environment:
[    2.249502]     HOME=/
[    2.249505]     TERM=linux
[    2.249508]     BOOT_IMAGE=/boot/vmlinuz-5.19.0-rc5-00193-g399248d17579
[    2.286515] mmc1: new high speed SDHC card at address aaaa
[    2.287419] mmcblk1: mmc1:aaaa SP32G 29.7 GiB 
[    2.292860]  mmcblk1: p1 p2
[    2.455149] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.583484] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    2.680809] hub 1-1:1.0: USB hub found
[    2.681249] hub 1-1:1.0: 4 ports detected
[    3.010736] lima d00c0000.gpu: gp - mali450 version major 0 minor 0
[    3.011331] meson-drm d0100000.vpu: Queued 2 outputs on vpu
[    3.011639] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
[    3.027082] usb 1-1.2: new full-speed USB device number 3 using xhci-hcd
[    3.028688] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
[    3.042543] lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0
[    3.042613] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[    3.042626] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[    3.042769] Console: switching to colour dummy device 80x25
[    3.043929] lima d00c0000.gpu: bus rate = 166666667
[    3.061295] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    3.065495] lima d00c0000.gpu: mod rate = 24000000
[    3.065620] lima d00c0000.gpu: error -ENODEV: dev_pm_opp_set_regulators: no regulator (mali) found
[    3.076420] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[    3.083196] lima d00c0000.gpu: Failed to register cooling device
[    3.091348] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    3.099904] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 0
[    3.108339] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[    3.123098] meson8b-dwmac c9410000.ethernet: 	DWMAC1000
[    3.127968] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    3.135307] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    3.142701] meson8b-dwmac c9410000.ethernet: COE Type 2
[    3.147929] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    3.154934] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    3.156483] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    3.161424] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    3.176900] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    3.177491] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    3.182757] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.192253] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi])
[    3.215095] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 1
[    3.288117] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.0/0003:17EF:6047.0001/input/input0
[    3.363853] hid-generic 0003:17EF:6047.0001: input: USB HID v1.00 Keyboard [Lenovo ThinkPad Compact USB Keyboard with TrackPoint] on usb-xhci-hcd.0.auto-1.2/input0
[    3.379952] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint Mouse as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input1
[    3.392923] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint Consumer Control as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input2
[    3.471664] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input3
[    3.484024] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input4
[    3.501360] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input5
[    3.518572] hid-generic 0003:17EF:6047.0002: input: USB HID v1.00 Mouse [Lenovo ThinkPad Compact USB Keyboard with TrackPoint] on usb-xhci-hcd.0.auto-1.2/input1
[    3.856626] Console: switching to colour frame buffer device 240x67
[    3.951195] meson-drm d0100000.vpu: [drm] fb0: mesondrmfb frame buffer device
[    4.316646] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com
[    4.551006] raid6: neonx8   gen()  2601 MB/s
[    4.619008] raid6: neonx4   gen()  2642 MB/s
[    4.687010] raid6: neonx2   gen()  2576 MB/s
[    4.755008] raid6: neonx1   gen()  1999 MB/s
[    4.823047] raid6: int64x8  gen()  1433 MB/s
[    4.891028] raid6: int64x4  gen()  1693 MB/s
[    4.959010] raid6: int64x2  gen()  1419 MB/s
[    5.027010] raid6: int64x1  gen()  1247 MB/s
[    5.027076] raid6: using algorithm neonx4 gen() 2642 MB/s
[    5.099006] raid6: .... xor() 1890 MB/s, rmw enabled
[    5.099080] raid6: using neon recovery algorithm
[    5.104320] xor: measuring software checksum speed
[    5.110721]    8regs           :  3309 MB/sec
[    5.114981]    32regs          :  3309 MB/sec
[    5.119691]    arm64_neon      :  2925 MB/sec
[    5.120623] xor: using function: 32regs (3309 MB/sec)
[    5.148087] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    5.437480] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[    6.384223] systemd[1]: System time before build time, advancing clock.
[    6.517822] NET: Registered PF_INET6 protocol family
[    6.519874] Segment Routing with IPv6
[    6.520906] In-situ OAM (IOAM) with IPv6
[    6.594472] systemd[1]: systemd 249.11-0ubuntu3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS -OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP -LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    6.621837] systemd[1]: Detected architecture arm64.
[    6.634255] systemd[1]: Hostname set to <dxue-test>.
[    7.810598] systemd[1]: Queued start job for default target Graphical Interface.
[    7.817849] systemd[1]: Created slice Slice /system/modprobe.
[    7.820382] systemd[1]: Created slice Slice /system/serial-getty.
[    7.826606] systemd[1]: Created slice Slice /system/systemd-fsck.
[    7.832888] systemd[1]: Created slice Slice /system/systemd-growfs.
[    7.838730] systemd[1]: Created slice User and Session Slice.
[    7.844022] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.851873] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    7.863466] systemd[1]: Reached target Remote File Systems.
[    7.868738] systemd[1]: Reached target Slice Units.
[    7.873909] systemd[1]: Reached target Local Verity Protected Volumes.
[    7.880994] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    7.887885] systemd[1]: Listening on LVM2 poll daemon socket.
[    7.893916] systemd[1]: Listening on Syslog Socket.
[    7.898845] systemd[1]: Listening on fsck to fsckd communication Socket.
[    7.911921] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    7.926005] systemd[1]: Listening on Journal Audit Socket.
[    7.938300] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.950836] systemd[1]: Listening on Journal Socket.
[    7.962692] systemd[1]: Listening on udev Control Socket.
[    7.974395] systemd[1]: Listening on udev Kernel Socket.
[    7.989554] systemd[1]: Mounting Huge Pages File System...
[    8.001655] systemd[1]: Mounting POSIX Message Queue File System...
[    8.015082] systemd[1]: Mounting Kernel Debug File System...
[    8.024469] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    8.041357] systemd[1]: Starting Journal Service...
[    8.050600] systemd[1]: Finished Availability of block devices.
[    8.068682] systemd[1]: Starting Set the console keyboard layout...
[    8.085341] systemd[1]: Starting Create List of Static Device Nodes...
[    8.099566] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    8.116943] systemd[1]: Starting Load Kernel Module configfs...
[    8.133055] systemd[1]: Starting Load Kernel Module drm...
[    8.148390] systemd[1]: Starting Load Kernel Module fuse...
[    8.159191] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.168120] systemd[1]: Starting Load Kernel Modules...
[    8.189076] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.197126] fuse: init (API version 7.36)
[    8.211966] systemd[1]: Starting Coldplug All udev Devices...
[    8.229363] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
[    8.229776] IPMI message handler: version 39.2
[    8.232156] systemd[1]: Started Journal Service.
[    8.269822] ipmi device interface
[    8.371168] EXT4-fs (mmcblk1p2): resizing filesystem from 7725947 to 7725947 blocks
[    8.378373] systemd-journald[331]: Received client request to flush runtime journal.
[    8.426463] systemd-journald[331]: File /var/log/journal/7d8f4469c59d439dab26064fd9ac120f/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    8.855621] loop0: detected capacity change from 0 to 8
[    8.859520] loop1: detected capacity change from 0 to 117656
[    8.868227] loop2: detected capacity change from 0 to 302096
[    8.877566] loop3: detected capacity change from 0 to 467720
[    8.888587] loop4: detected capacity change from 0 to 166424
[    8.894285] loop5: detected capacity change from 0 to 90688
[    8.904400] loop6: detected capacity change from 0 to 77328
[    8.909766] loop7: detected capacity change from 0 to 544
[   10.559117] Registered IR keymap rc-empty
[   10.559259] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0
[   10.560864] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[   10.570065] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[   10.581440] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input7
[   10.582348] meson-ir c8100580.ir: receiver initialized
[   11.860794] Adding 1048572k swap on /swapfile.  Priority:-2 extents:5 across:4145148k SS
[   16.180977] BUG: Bad page state in process snapd  pfn:059e6
[   16.184722] page:000000001d5e5131 refcount:-65536 mapcount:253039 mapping:00000000f5af2067 index:0xa8c02220489ac0f2 pfn:0x59e6
[   16.184774] memcg:d3c785b775bf1000
[   16.184786] invalid mapping:0101a8c093971b34
[   16.184794] flags: 0x5d482220489ac0f2(waiters|referenced|lru|active|workingset|private_2|writeback|mappedtodisk|swapbacked|unevictable|arch_2|node=5|zone=3|lastcpupid=0x5208)
[   16.184818] raw: 5d482220489ac0f2 0100060893971b36 5d48010004060008 0101a8c093971b36
[   16.184829] raw: a8c02220489ac0f2 b101a8c0aaa69a01 ffff00000003dc6e d3c785b775bf1000
[   16.184835] page dumped because: page still charged to cgroup
[   16.184841] Modules linked in: rfkill snd_soc_meson_gx_sound_card snd_soc_meson_card_utils meson_rng rng_core snd_soc_meson_aiu meson_gxbb_wdt snd_soc_hdmi_codec snd_soc_meson_codec_glue meson_ir rc_core amlogic_gxl_crypto crypto_engine snd_soc_meson_t9015 snd_soc_simple_amplifier nvmem_meson_efuse ipmi_devintf ipmi_msghandler fuse ip_tables x_tables ipv6 btrfs blake2b_generic libcrc32c xor xor_neon raid6_pq zstd_compress dm_mirror dm_region_hash dm_log dm_mod dw_hdmi_i2s_audio meson_gxl dwmac_generic dwmac_meson8b meson_drm crct10dif_ce lima drm_shmem_helper meson_canvas drm_cma_helper stmmac_platform gpu_sched meson_dw_hdmi dw_hdmi cec stmmac drm_display_helper pcs_xpcs display_connector drm_kms_helper drm
[   16.185053] CPU: 2 PID: 622 Comm: snapd Not tainted 5.19.0-rc5-00193-g399248d17579 #1
[   16.185066] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[   16.185072] Call trace:
[   16.185076]  dump_backtrace.part.6+0xdc/0xe8
[   16.185096]  show_stack+0x18/0x68
[   16.185105]  dump_stack_lvl+0x68/0x84
[   16.185114]  dump_stack+0x18/0x34
[   16.185121]  bad_page+0xd4/0x128
[   16.185130]  check_new_page_bad+0x84/0xa0
[   16.185137]  rmqueue_bulk+0x2c0/0x770
[   16.185144]  get_page_from_freelist+0xe18/0x1010
[   16.185152]  __alloc_pages+0x150/0x2e8
[   16.185160]  alloc_pages+0xa8/0x158
[   16.185169]  mm_get_huge_zero_page+0x11c/0x270
[   16.185179]  do_huge_pmd_anonymous_page+0x4f4/0x920
[   16.185188]  __handle_mm_fault+0x590/0xe58
[   16.185195]  handle_mm_fault+0xe8/0x238
[   16.185201]  do_page_fault+0x194/0x410
[   16.185211]  do_translation_fault+0x58/0x68
[   16.185219]  do_mem_abort+0x40/0x90
[   16.185226]  el0_da+0x24/0x60
[   16.185234]  el0t_64_sync_handler+0x68/0xc0
[   16.185241]  el0t_64_sync+0x170/0x174
[   16.185250] Disabling lock debugging due to kernel taint
[   16.550805] loop8: detected capacity change from 0 to 8
[   16.559771] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   16.570988] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   16.579081] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   16.579112] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   16.607099] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   18.157358] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   18.157425] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   24.035006] ------------[ cut here ]------------
[   24.035025] NETDEV WATCHDOG: eth0 (meson8b-dwmac): transmit queue 0 timed out
[   24.035090] WARNING: CPU: 3 PID: 0 at net/sched/sch_generic.c:530 dev_watchdog+0x204/0x210
[   24.035117] Modules linked in: rfkill snd_soc_meson_gx_sound_card snd_soc_meson_card_utils meson_rng rng_core snd_soc_meson_aiu meson_gxbb_wdt snd_soc_hdmi_codec snd_soc_meson_codec_glue meson_ir rc_core amlogic_gxl_crypto crypto_engine snd_soc_meson_t9015 snd_soc_simple_amplifier nvmem_meson_efuse ipmi_devintf ipmi_msghandler fuse ip_tables x_tables ipv6 btrfs blake2b_generic libcrc32c xor xor_neon raid6_pq zstd_compress dm_mirror dm_region_hash dm_log dm_mod dw_hdmi_i2s_audio meson_gxl dwmac_generic dwmac_meson8b meson_drm crct10dif_ce lima drm_shmem_helper meson_canvas drm_cma_helper stmmac_platform gpu_sched meson_dw_hdmi dw_hdmi cec stmmac drm_display_helper pcs_xpcs display_connector drm_kms_helper drm
[   24.035353] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G    B             5.19.0-rc5-00193-g399248d17579 #1
[   24.035367] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[   24.035375] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   24.035387] pc : dev_watchdog+0x204/0x210
[   24.035400] lr : dev_watchdog+0x204/0x210
[   24.035410] sp : ffff8000080abaa0
[   24.035415] x29: ffff8000080abaa0 x28: 0000000000000010 x27: 0000000000000007
[   24.035433] x26: ffffd5cff3e3da38 x25: 0000000000000000 x24: dead000000000122
[   24.035450] x23: ffffd5cff4f37000 x22: 0000000000000000 x21: ffff6ae581b9839c
[   24.035467] x20: ffff6ae581b98000 x19: ffff6ae581b98448 x18: ffffffffffffffff
[   24.035484] x17: 756f2064656d6974 x16: 2030206575657571 x15: 00000000000001bf
[   24.035501] x14: ffff8000080ab850 x13: 00000000ffffffea x12: ffffd5cff4fc2c88
[   24.035518] x11: 0000000000000001 x10: 0000000000000001 x9 : ffffd5cff4faaca0
[   24.035535] x8 : c0000000ffffefff x7 : 0000000000017fe8 x6 : ffffd5cff4faac48
[   24.035552] x5 : ffff6ae5ff3b8a08 x4 : 0000000000000000 x3 : 0000000000000027
[   24.035569] x2 : 0000000000000023 x1 : 81b21f387ba73600 x0 : 0000000000000000
[   24.035586] Call trace:
[   24.035592]  dev_watchdog+0x204/0x210
[   24.035604]  call_timer_fn.isra.30+0x24/0x80
[   24.035618]  run_timer_softirq+0x3c0/0x408
[   24.035628]  __do_softirq+0x11c/0x284
[   24.035638]  irq_exit_rcu+0xe8/0x108
[   24.035651]  el1_interrupt+0x3c/0x70
[   24.035662]  el1h_64_irq_handler+0x18/0x28
[   24.035672]  el1h_64_irq+0x64/0x68
[   24.035681]  arch_cpu_idle+0x18/0x28
[   24.035691]  default_idle_call+0x24/0x5c
[   24.035704]  do_idle+0x1e0/0x278
[   24.035715]  cpu_startup_entry+0x24/0x30
[   24.035725]  secondary_start_kernel+0x198/0x1c8
[   24.035737]  __secondary_switched+0xa0/0xa4
[   24.035749] ---[ end trace 0000000000000000 ]---
[   24.035816] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   24.114813] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   24.117216] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   24.127092] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   24.127126] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   24.127147] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   25.715119] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   25.715175] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   28.518142] audit: type=1326 audit(1657320815.752:2): auid=1000 uid=1000 gid=1000 ses=2 pid=997 comm="snapd-desktop-i" exe="/snap/snapd-desktop-integration/11/bin/snapd-desktop-integration" sig=0 arch=c00000b7 syscall=274 compat=0 ip=0xffffa9a71684 code=0x50000
[   30.943173] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   31.026751] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   31.028667] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   31.039308] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   31.039338] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   31.039354] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   32.637736] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   32.637804] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   36.332294] rfkill: input handler disabled
[   37.855138] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   37.942790] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   37.945284] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   37.955085] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   37.955116] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   37.955136] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   39.543372] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   39.543433] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.023077] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   45.127475] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   45.134280] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   45.144929] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   45.144957] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   45.144974] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   46.963781] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   46.963844] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   57.055083] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   57.130772] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   57.132802] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   57.143578] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   57.143620] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   57.143648] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   58.744248] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   58.744300] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   63.971082] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   64.051455] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   64.054090] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   64.063129] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   64.063179] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   64.063211] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   65.682764] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   65.682815] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   70.879456] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   70.971211] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   70.973467] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   70.983137] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   70.983189] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   70.983224] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   72.589875] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   72.589923] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   78.047393] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   78.135411] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   78.137976] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   78.148854] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   78.148896] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   78.148930] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   79.732485] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   79.732534] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   84.959389] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   85.047213] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   85.050168] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   85.061681] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   85.061733] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   85.061766] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   86.705355] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   86.705405] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   91.871414] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   91.951400] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=40)
[   91.953102] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   91.963988] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   91.964036] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   91.964071] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   93.565435] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   93.565486] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[-- Attachment #5: 3-bad-eth0.txt --]
[-- Type: text/plain, Size: 50817 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.19.0-rc5-00193-g399248d17579 (dxue@build-server) (aarch64-linux-gnu-gcc (Linaro GCC 7.3-2018.05) 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701], GNU ld (Linaro_Binutils-2018.05) 2.28.2.20170706) #1 SMP PREEMPT Fri Jul 8 18:37:51 EDT 2022
[    0.000000] Machine model: Libre Computer AML-S905X-CC
[    0.000000] efi: EFI v2.90 by Das U-Boot
[    0.000000] efi: RTPROP=0x7af33040 SMBIOS=0x7af2f000 RNG=0x55c96040 MEMRESERVE=0x55c95040 
[    0.000000] efi: seeding entropy pool
[    0.000000] random: crng init done
[    0.000000] Reserved memory: created CMA memory pool at 0x000000006ac00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7f3dfb40-0x7f3e1fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000000ffffff]
[    0.000000]   node   0: [mem 0x0000000001000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000005000000-0x00000000052fffff]
[    0.000000]   node   0: [mem 0x0000000005300000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000010000000-0x00000000101fffff]
[    0.000000]   node   0: [mem 0x0000000010200000-0x0000000055c95fff]
[    0.000000]   node   0: [mem 0x0000000055c96000-0x0000000055c96fff]
[    0.000000]   node   0: [mem 0x0000000055c97000-0x000000007af2efff]
[    0.000000]   node   0: [mem 0x000000007af2f000-0x000000007af2ffff]
[    0.000000]   node   0: [mem 0x000000007af30000-0x000000007af32fff]
[    0.000000]   node   0: [mem 0x000000007af33000-0x000000007af35fff]
[    0.000000]   node   0: [mem 0x000000007af36000-0x000000007af36fff]
[    0.000000]   node   0: [mem 0x000000007af37000-0x000000007af3afff]
[    0.000000]   node   0: [mem 0x000000007af3b000-0x000000007df4ffff]
[    0.000000]   node   0: [mem 0x000000007df50000-0x000000007df5ffff]
[    0.000000]   node   0: [mem 0x000000007df60000-0x000000007f806fff]
[    0.000000]   node   0: [mem 0x000000007f807000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 20 pages/cpu s44520 r8192 d29208 u81920
[    0.000000] pcpu-alloc: s44520 r8192 d29208 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.19.0-rc5-00193-g399248d17579 root=UUID=09799e9f-8009-4b0c-84bc-9761d73d9670 ro noquiet splash vt.handoff=7
[    0.000000] Unknown kernel command line parameters "noquiet splash BOOT_IMAGE=/boot/vmlinuz-5.19.0-rc5-00193-g399248d17579", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1691088K/2097152K available (16000K kernel code, 3394K rwdata, 9060K rodata, 6976K init, 586K bss, 143920K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    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] 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 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001308] Console: colour dummy device 80x25
[    0.001865] printk: console [tty0] enabled
[    0.001954] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001979] pid_max: default: 32768 minimum: 301
[    0.002048] LSM: Security Framework initializing
[    0.002156] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.002183] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.003434] cblist_init_generic: Setting adjustable number of callback queues.
[    0.003475] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.003546] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.003675] rcu: Hierarchical SRCU implementation.
[    0.006255] Remapping and enabling EFI services.
[    0.006631] smp: Bringing up secondary CPUs ...
[    0.007145] Detected VIPT I-cache on CPU1
[    0.007216] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.007800] Detected VIPT I-cache on CPU2
[    0.007858] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.008457] Detected VIPT I-cache on CPU3
[    0.008518] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.008595] smp: Brought up 1 node, 4 CPUs
[    0.008665] SMP: Total of 4 processors activated.
[    0.008676] CPU features: detected: 32-bit EL0 Support
[    0.008686] CPU features: detected: 32-bit EL1 Support
[    0.008699] CPU features: detected: CRC32 instructions
[    0.009118] CPU: All CPU(s) started at EL2
[    0.009152] alternatives: patching kernel code
[    0.010668] devtmpfs: initialized
[    0.016619] KASLR enabled
[    0.016827] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.016863] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.023218] pinctrl core: initialized pinctrl subsystem
[    0.024270] SMBIOS 3.0 present.
[    0.024317] DMI: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[    0.024876] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.026180] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.026383] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.026533] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.026622] audit: initializing netlink subsys (disabled)
[    0.026823] audit: type=2000 audit(0.024:1): state=initialized audit_enabled=0 res=1
[    0.028155] thermal_sys: Registered thermal governor 'step_wise'
[    0.028171] thermal_sys: Registered thermal governor 'power_allocator'
[    0.028473] cpuidle: using governor menu
[    0.028785] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.028902] ASID allocator initialised with 32768 entries
[    0.028919] HugeTLB: can optimize 4095 vmemmap pages for hugepages-1048576kB
[    0.028933] HugeTLB: can optimize 127 vmemmap pages for hugepages-32768kB
[    0.028946] HugeTLB: can optimize 7 vmemmap pages for hugepages-2048kB
[    0.028959] HugeTLB: can optimize 0 vmemmap pages for hugepages-64kB
[    0.030701] Serial: AMBA PL011 UART driver
[    0.049822] platform c883a000.hdmi-tx: Fixing up cyclic dependency with d0100000.vpu
[    0.052094] platform cvbs-connector: Fixing up cyclic dependency with d0100000.vpu
[    0.052975] platform hdmi-connector: Fixing up cyclic dependency with c883a000.hdmi-tx
[    0.064870] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.064908] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.064922] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.064936] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.066343] ACPI: Interpreter disabled.
[    0.069318] iommu: Default domain type: Translated 
[    0.069355] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.069650] SCSI subsystem initialized
[    0.069806] libata version 3.00 loaded.
[    0.070041] usbcore: registered new interface driver usbfs
[    0.070092] usbcore: registered new interface driver hub
[    0.070130] usbcore: registered new device driver usb
[    0.071203] pps_core: LinuxPPS API ver. 1 registered
[    0.071221] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.071246] PTP clock support registered
[    0.071372] EDAC MC: Ver: 3.0.0
[    0.072397] Registered efivars operations
[    0.073581] FPGA manager framework
[    0.073704] Advanced Linux Sound Architecture Driver Initialized.
[    0.074454] vgaarb: loaded
[    0.074938] clocksource: Switched to clocksource arch_sys_counter
[    0.075173] VFS: Disk quotas dquot_6.6.0
[    0.075227] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.075404] pnp: PnP ACPI: disabled
[    0.080727] NET: Registered PF_INET protocol family
[    0.080910] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.082444] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.082546] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.082573] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.082694] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.082902] TCP: Hash tables configured (established 16384 bind 16384)
[    0.083068] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.083130] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.083306] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.083694] RPC: Registered named UNIX socket transport module.
[    0.083722] RPC: Registered udp transport module.
[    0.083732] RPC: Registered tcp transport module.
[    0.083742] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.083759] PCI: CLS 0 bytes, default 64
[    0.083972] Unpacking initramfs...
[    0.095702] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.096289] kvm [1]: IPA Size Limit: 40 bits
[    0.098169] kvm [1]: vgic interrupt IRQ9
[    0.098305] kvm [1]: Hyp mode initialized successfully
[    0.099822] Initialise system trusted keyrings
[    0.100120] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.106534] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.107441] NFS: Registering the id_resolver key type
[    0.107506] Key type id_resolver registered
[    0.107519] Key type id_legacy registered
[    0.107660] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.107685] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.107909] 9p: Installing v9fs 9p2000 file system support
[    0.143651] Key type asymmetric registered
[    0.143700] Asymmetric key parser 'x509' registered
[    0.143814] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.143846] io scheduler mq-deadline registered
[    0.143858] io scheduler kyber registered
[    0.147218] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized
[    0.166048] EINJ: ACPI disabled.
[    0.193080] soc soc0: Amlogic Meson GXL (S905X) Revision 21:d (84:2) Detected
[    0.204350] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.209337] SuperH (H)SCI(F) driver initialized
[    0.210549] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 18, base_baud = 1500000) is a meson_uart
[    0.467900] Freeing initrd memory: 37316K
[    0.472272] printk: console [ttyAML0] enabled
[    1.306836] msm_serial: driver initialized
[    1.317940] loop: module loaded
[    1.319436] megasas: 07.719.03.00-rc1
[    1.327260] tun: Universal TUN/TAP device driver, 1.6
[    1.328510] thunder_xcv, ver 1.0
[    1.329925] thunder_bgx, ver 1.0
[    1.333143] nicpf, ver 1.0
[    1.337534] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.342939] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.348264] hclge is initializing
[    1.351472] e1000: Intel(R) PRO/1000 Network Driver
[    1.356281] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.362010] e1000e: Intel(R) PRO/1000 Network Driver
[    1.366897] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.372789] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.378102] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.383651] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.389832] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.396271] sky2: driver version 1.30
[    1.400906] VFIO - User Level meta-driver version: 0.3
[    1.407601] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.410881] ehci-pci: EHCI PCI platform driver
[    1.415339] ehci-platform: EHCI generic platform driver
[    1.420671] ehci-orion: EHCI orion driver
[    1.424602] ehci-exynos: EHCI Exynos driver
[    1.428717] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.434717] ohci-pci: OHCI PCI platform driver
[    1.439134] ohci-platform: OHCI generic platform driver
[    1.444446] ohci-exynos: OHCI Exynos driver
[    1.449223] usbcore: registered new interface driver usb-storage
[    1.458361] i2c_dev: i2c /dev entries driver
[    1.468491] sdhci: Secure Digital Host Controller Interface driver
[    1.469056] sdhci: Copyright(c) Pierre Ossman
[    1.474501] Synopsys Designware Multimedia Card Interface Driver
[    1.480978] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.481146] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    1.490528] ledtrig-cpu: registered to indicate activity on CPUs
[    1.497937] efifb: probing for efifb
[    1.500099] efifb: framebuffer at 0x7f807000, using 8100k, total 8100k
[    1.506406] efifb: mode is 1920x1080x32, linelength=7680, pages=1
[    1.512438] efifb: scrolling: redraw
[    1.515971] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.528257] meson-gx-mmc d0074000.mmc: no support for card's volts
[    1.528273] mmc0: error -22 whilst initialising SDIO card
[    1.531985] Console: switching to colour frame buffer device 240x67
[    1.552981] fb0: EFI VGA frame buffer device
[    1.557823] meson-sm: secure-monitor enabled
[    1.563232] usbcore: registered new interface driver usbhid
[    1.566953] usbhid: USB HID core driver
[    1.572270] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[    1.587300] NET: Registered PF_PACKET protocol family
[    1.587601] 9pnet: Installing 9P2000 support
[    1.591082] Key type dns_resolver registered
[    1.595693] registered taskstats version 1
[    1.599343] Loading compiled-in X.509 certificates
[    1.627271] dwc3-meson-g12a d0078080.usb: USB2 ports: 2
[    1.627375] dwc3-meson-g12a d0078080.usb: USB3 ports: 0
[    2.145046] dwc2 c9100000.usb: supply vusb_d not found, using dummy regulator
[    2.146754] dwc2 c9100000.usb: supply vusb_a not found, using dummy regulator
[    2.154021] dwc2 c9100000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[    2.163983] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.166114] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    2.173862] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
[    2.179645] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010
[    2.189018] xhci-hcd xhci-hcd.0.auto: irq 25, io mem 0xc9000000
[    2.195599] hub 1-0:1.0: USB hub found
[    2.198540] hub 1-0:1.0: 2 ports detected
[    2.207768] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
[    2.208266] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    2.236153] ALSA device list:
[    2.236234]   No soundcards found.
[    2.245666] Freeing unused kernel memory: 6976K
[    2.245827] Run /init as init process
[    2.248263]   with arguments:
[    2.248267]     /init
[    2.248271]     noquiet
[    2.248274]     splash
[    2.248277]   with environment:
[    2.248280]     HOME=/
[    2.248284]     TERM=linux
[    2.248287]     BOOT_IMAGE=/boot/vmlinuz-5.19.0-rc5-00193-g399248d17579
[    2.282366] mmc1: new high speed SDHC card at address aaaa
[    2.283218] mmcblk1: mmc1:aaaa SP32G 29.7 GiB 
[    2.288536]  mmcblk1: p1 p2
[    2.454999] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.627428] mmc0: Card stuck being busy! __mmc_poll_for_busy
[    2.643604] hub 1-1:1.0: USB hub found
[    2.644044] hub 1-1:1.0: 4 ports detected
[    2.978117] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    2.981148] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[    2.987663] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    2.993979] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[    2.995049] usb 1-1.2: new full-speed USB device number 3 using xhci-hcd
[    2.998368] meson8b-dwmac c9410000.ethernet: 	DWMAC1000
[    3.016244] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    3.020151] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    3.027703] meson8b-dwmac c9410000.ethernet: COE Type 2
[    3.027766] lima d00c0000.gpu: gp - mali450 version major 0 minor 0
[    3.030823] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    3.038496] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
[    3.043996] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    3.061026] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
[    3.065812] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    3.071648] lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0
[    3.073320] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    3.075449] meson-drm d0100000.vpu: Queued 2 outputs on vpu
[    3.077034] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[    3.081428] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.087095] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[    3.130966] Console: switching to colour dummy device 80x25
[    3.134471] lima d00c0000.gpu: bus rate = 166666667
[    3.136973] lima d00c0000.gpu: mod rate = 24000000
[    3.141559] lima d00c0000.gpu: error -ENODEV: dev_pm_opp_set_regulators: no regulator (mali) found
[    3.152133] lima d00c0000.gpu: Failed to register cooling device
[    3.161753] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 0
[    3.167061] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    3.175838] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    3.182663] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi])
[    3.201843] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 1
[    3.254643] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.0/0003:17EF:6047.0001/input/input0
[    3.323595] hid-generic 0003:17EF:6047.0001: input: USB HID v1.00 Keyboard [Lenovo ThinkPad Compact USB Keyboard with TrackPoint] on usb-xhci-hcd.0.auto-1.2/input0
[    3.339858] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint Mouse as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input1
[    3.352633] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint Consumer Control as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input2
[    3.431708] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input3
[    3.443923] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input4
[    3.461263] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input5
[    3.478508] hid-generic 0003:17EF:6047.0002: input: USB HID v1.00 Mouse [Lenovo ThinkPad Compact USB Keyboard with TrackPoint] on usb-xhci-hcd.0.auto-1.2/input1
[    3.848219] Console: switching to colour frame buffer device 240x67
[    3.943271] meson-drm d0100000.vpu: [drm] fb0: mesondrmfb frame buffer device
[    4.255666] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com
[    4.470958] raid6: neonx8   gen()  2570 MB/s
[    4.538939] raid6: neonx4   gen()  2293 MB/s
[    4.606937] raid6: neonx2   gen()  2572 MB/s
[    4.674931] raid6: neonx1   gen()  1991 MB/s
[    4.742931] raid6: int64x8  gen()  1435 MB/s
[    4.810933] raid6: int64x4  gen()  1991 MB/s
[    4.878949] raid6: int64x2  gen()  1673 MB/s
[    4.946944] raid6: int64x1  gen()  1246 MB/s
[    4.947010] raid6: using algorithm neonx2 gen() 2572 MB/s
[    5.018935] raid6: .... xor() 1757 MB/s, rmw enabled
[    5.019009] raid6: using neon recovery algorithm
[    5.024361] xor: measuring software checksum speed
[    5.030749]    8regs           :  3309 MB/sec
[    5.036230]    32regs          :  2336 MB/sec
[    5.041135]    arm64_neon      :  2065 MB/sec
[    5.041228] xor: using function: 8regs (3309 MB/sec)
[    5.068162] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    5.372627] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[    6.341108] systemd[1]: System time before build time, advancing clock.
[    6.488516] NET: Registered PF_INET6 protocol family
[    6.490454] Segment Routing with IPv6
[    6.491646] In-situ OAM (IOAM) with IPv6
[    6.564403] systemd[1]: systemd 249.11-0ubuntu3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS -OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP -LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    6.591306] systemd[1]: Detected architecture arm64.
[    6.604042] systemd[1]: Hostname set to <dxue-test>.
[    7.789869] systemd[1]: Condition check resulted in System Slice being skipped.
[    7.792394] systemd[1]: Condition check resulted in Root Slice being skipped.
[    7.805340] systemd[1]: Queued start job for default target Graphical Interface.
[    7.812671] systemd[1]: Created slice Slice /system/modprobe.
[    7.815189] systemd[1]: Created slice Slice /system/serial-getty.
[    7.821306] systemd[1]: Created slice Slice /system/systemd-fsck.
[    7.827683] systemd[1]: Created slice Slice /system/systemd-growfs.
[    7.833435] systemd[1]: Created slice User and Session Slice.
[    7.838786] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.846589] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    7.858230] systemd[1]: Reached target Remote File Systems.
[    7.863489] systemd[1]: Reached target Slice Units.
[    7.868705] systemd[1]: Reached target Local Verity Protected Volumes.
[    7.875833] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    7.882695] systemd[1]: Listening on LVM2 poll daemon socket.
[    7.888705] systemd[1]: Listening on Syslog Socket.
[    7.900022] systemd[1]: Listening on fsck to fsckd communication Socket.
[    7.912973] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    7.927630] systemd[1]: Listening on Journal Audit Socket.
[    7.939342] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.952750] systemd[1]: Listening on Journal Socket.
[    7.964560] systemd[1]: Listening on udev Control Socket.
[    7.976224] systemd[1]: Listening on udev Kernel Socket.
[    7.991459] systemd[1]: Mounting Huge Pages File System...
[    8.004464] systemd[1]: Mounting POSIX Message Queue File System...
[    8.017435] systemd[1]: Mounting Kernel Debug File System...
[    8.026778] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    8.043676] systemd[1]: Starting Journal Service...
[    8.052924] systemd[1]: Finished Availability of block devices.
[    8.070920] systemd[1]: Starting Set the console keyboard layout...
[    8.087825] systemd[1]: Starting Create List of Static Device Nodes...
[    8.101551] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    8.119356] systemd[1]: Starting Load Kernel Module configfs...
[    8.137056] systemd[1]: Starting Load Kernel Module drm...
[    8.150299] systemd[1]: Starting Load Kernel Module fuse...
[    8.161642] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.170881] systemd[1]: Starting Load Kernel Modules...
[    8.180229] fuse: init (API version 7.36)
[    8.200909] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.215814] systemd[1]: Starting Coldplug All udev Devices...
[    8.231823] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
[    8.233386] systemd[1]: Started Journal Service.
[    8.272884] IPMI message handler: version 39.2
[    8.284578] ipmi device interface
[    8.368026] systemd-journald[333]: Received client request to flush runtime journal.
[    8.384557] EXT4-fs (mmcblk1p2): resizing filesystem from 7725947 to 7725947 blocks
[    8.407242] systemd-journald[333]: File /var/log/journal/7d8f4469c59d439dab26064fd9ac120f/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    8.928216] loop0: detected capacity change from 0 to 8
[    8.932495] loop1: detected capacity change from 0 to 117656
[    8.946644] loop2: detected capacity change from 0 to 302096
[    8.951464] loop3: detected capacity change from 0 to 467720
[    8.956001] loop4: detected capacity change from 0 to 166424
[    8.964987] loop5: detected capacity change from 0 to 90688
[    8.974439] loop6: detected capacity change from 0 to 77328
[    8.986069] loop7: detected capacity change from 0 to 544
[   10.730420] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[   10.730665] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[   10.869903] Registered IR keymap rc-empty
[   10.870039] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0
[   10.870187] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input7
[   10.874280] meson-ir c8100580.ir: receiver initialized
[   12.048828] Adding 1048572k swap on /swapfile.  Priority:-2 extents:5 across:4145148k SS
[   16.735244] loop8: detected capacity change from 0 to 8
[   16.793518] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   16.820525] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   16.830996] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   16.831028] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   16.862084] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   18.356786] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   18.356843] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   20.301851] BUG: Bad page state in process 5  pfn:059a6
[   20.301910] page:0000000092336eff refcount:-65536 mapcount:253039 mapping:00000000b19ecb31 index:0xa8c02220489ac0f2 pfn:0x59a6
[   20.301942] memcg:ab0fdd4375bf1000
[   20.301955] invalid mapping:0101a8c093971b34
[   20.301962] flags: 0x5d482220489ac0f2(waiters|referenced|lru|active|workingset|private_2|writeback|mappedtodisk|swapbacked|unevictable|arch_2|node=5|zone=3|lastcpupid=0x5208)
[   20.301985] raw: 5d482220489ac0f2 0100060893971b36 5d48010004060008 0101a8c093971b36
[   20.301995] raw: a8c02220489ac0f2 d301a8c0e6de9a01 ffff00000003dc6e ab0fdd4375bf1000
[   20.302002] page dumped because: page still charged to cgroup
[   20.302008] Modules linked in: rfkill meson_ir rc_core meson_gxbb_wdt snd_soc_hdmi_codec snd_soc_meson_aiu snd_soc_meson_codec_glue amlogic_gxl_crypto meson_rng snd_soc_meson_t9015 crypto_engine rng_core snd_soc_meson_gx_sound_card nvmem_meson_efuse snd_soc_simple_amplifier snd_soc_meson_card_utils ipmi_devintf ipmi_msghandler fuse ip_tables x_tables ipv6 btrfs blake2b_generic libcrc32c xor xor_neon raid6_pq zstd_compress dm_mirror dm_region_hash dm_log dm_mod dw_hdmi_i2s_audio dwmac_generic meson_gxl meson_dw_hdmi dw_hdmi meson_drm cec drm_cma_helper dwmac_meson8b lima drm_shmem_helper gpu_sched stmmac_platform meson_canvas stmmac pcs_xpcs drm_display_helper crct10dif_ce display_connector drm_kms_helper drm
[   20.302243] CPU: 2 PID: 793 Comm: 5 Not tainted 5.19.0-rc5-00193-g399248d17579 #1
[   20.302256] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[   20.302264] Call trace:
[   20.302269]  dump_backtrace.part.6+0xdc/0xe8
[   20.302293]  show_stack+0x18/0x68
[   20.302305]  dump_stack_lvl+0x68/0x84
[   20.302318]  dump_stack+0x18/0x34
[   20.302328]  bad_page+0xd4/0x128
[   20.302338]  check_new_page_bad+0x84/0xa0
[   20.302347]  rmqueue_bulk+0x2c0/0x770
[   20.302358]  get_page_from_freelist+0xe18/0x1010
[   20.302368]  __alloc_pages+0x150/0x2e8
[   20.302379]  alloc_pages+0xa8/0x158
[   20.302392]  new_slab+0x2c0/0x340
[   20.302402]  ___slab_alloc+0x550/0x618
[   20.302413]  __slab_alloc.isra.99+0x30/0x68
[   20.302424]  kmem_cache_alloc_lru+0x300/0x380
[   20.302434]  shmem_alloc_inode+0x20/0x38
[   20.302445]  alloc_inode+0x28/0xc8
[   20.302455]  new_inode_pseudo+0x14/0x60
[   20.302465]  new_inode+0x1c/0x40
[   20.302473]  shmem_get_inode+0x5c/0x258
[   20.302483]  shmem_mknod+0x34/0xf8
[   20.302493]  shmem_mkdir+0x2c/0x50
[   20.302502]  vfs_mkdir+0x1c0/0x2b0
[   20.302512]  do_mkdirat+0x94/0x130
[   20.302521]  __arm64_sys_mkdirat+0x34/0x48
[   20.302530]  invoke_syscall+0x44/0x100
[   20.302543]  el0_svc_common.constprop.3+0x6c/0xf0
[   20.302555]  do_el0_svc+0x2c/0xb8
[   20.302565]  el0_svc+0x20/0x60
[   20.302576]  el0t_64_sync_handler+0x98/0xc0
[   20.302586]  el0t_64_sync+0x170/0x174
[   20.302597] Disabling lock debugging due to kernel taint
[   24.030947] ------------[ cut here ]------------
[   24.030994] NETDEV WATCHDOG: eth0 (meson8b-dwmac): transmit queue 0 timed out
[   24.031052] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:530 dev_watchdog+0x204/0x210
[   24.031072] Modules linked in: rfkill meson_ir rc_core meson_gxbb_wdt snd_soc_hdmi_codec snd_soc_meson_aiu snd_soc_meson_codec_glue amlogic_gxl_crypto meson_rng snd_soc_meson_t9015 crypto_engine rng_core snd_soc_meson_gx_sound_card nvmem_meson_efuse snd_soc_simple_amplifier snd_soc_meson_card_utils ipmi_devintf ipmi_msghandler fuse ip_tables x_tables ipv6 btrfs blake2b_generic libcrc32c xor xor_neon raid6_pq zstd_compress dm_mirror dm_region_hash dm_log dm_mod dw_hdmi_i2s_audio dwmac_generic meson_gxl meson_dw_hdmi dw_hdmi meson_drm cec drm_cma_helper dwmac_meson8b lima drm_shmem_helper gpu_sched stmmac_platform meson_canvas stmmac pcs_xpcs drm_display_helper crct10dif_ce display_connector drm_kms_helper drm
[   24.031243] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G    B             5.19.0-rc5-00193-g399248d17579 #1
[   24.031254] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[   24.031260] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   24.031268] pc : dev_watchdog+0x204/0x210
[   24.031277] lr : dev_watchdog+0x204/0x210
[   24.031284] sp : ffff8000080a3aa0
[   24.031288] x29: ffff8000080a3aa0 x28: 0000000000000010 x27: 0000000000000005
[   24.031300] x26: ffffc9200a1eda38 x25: 0000000000000000 x24: dead000000000122
[   24.031313] x23: ffffc9200b2e7000 x22: 0000000000000000 x21: ffff0c1ada15039c
[   24.031324] x20: ffff0c1ada150000 x19: ffff0c1ada150448 x18: ffffffffffffffff
[   24.031336] x17: 756f2064656d6974 x16: 2030206575657571 x15: 00000000000001cb
[   24.031348] x14: ffff8000080a3850 x13: 00000000ffffffea x12: ffffc9200b372c88
[   24.031361] x11: 0000000000000001 x10: 0000000000000001 x9 : ffffc9200b35aca0
[   24.031372] x8 : c0000000ffffefff x7 : 0000000000000003 x6 : 0000000000000000
[   24.031384] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000100
[   24.031396] x2 : 0000000000000100 x1 : 5524c80822d4e900 x0 : 0000000000000000
[   24.031408] Call trace:
[   24.031413]  dev_watchdog+0x204/0x210
[   24.031422]  call_timer_fn.isra.30+0x24/0x80
[   24.031432]  run_timer_softirq+0x3c0/0x408
[   24.031439]  __do_softirq+0x11c/0x284
[   24.031447]  irq_exit_rcu+0xe8/0x108
[   24.031457]  el1_interrupt+0x3c/0x70
[   24.031466]  el1h_64_irq_handler+0x18/0x28
[   24.031473]  el1h_64_irq+0x64/0x68
[   24.031480]  arch_cpu_idle+0x18/0x28
[   24.031487]  default_idle_call+0x24/0x5c
[   24.031496]  do_idle+0x1e0/0x278
[   24.031504]  cpu_startup_entry+0x28/0x30
[   24.031512]  secondary_start_kernel+0x198/0x1c8
[   24.031521]  __secondary_switched+0xa0/0xa4
[   24.031530] ---[ end trace 0000000000000000 ]---
[   24.031590] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   24.122856] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   24.125848] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   24.134985] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   24.135014] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   24.135030] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   25.728915] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   25.728999] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.585181] audit: type=1326 audit(1657321335.476:2): auid=1000 uid=1000 gid=1000 ses=2 pid=992 comm="snapd-desktop-i" exe="/snap/snapd-desktop-integration/11/bin/snapd-desktop-integration" sig=0 arch=c00000b7 syscall=274 compat=0 ip=0xffffa82e1684 code=0x50000
[   30.943010] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   31.022703] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   31.024996] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   31.035702] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   31.035730] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   31.035746] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   32.629590] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   32.629657] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   36.870513] rfkill: input handler disabled
[   37.855117] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   37.941502] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   37.943347] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   37.954048] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   37.954077] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   37.954095] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   39.537222] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   39.537276] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.023162] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   45.133383] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   45.143194] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   45.151009] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   45.151040] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   45.151056] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   46.709510] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   46.709572] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   51.935008] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   52.018710] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   52.020590] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   52.031040] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   52.031070] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   52.031086] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   53.640284] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   53.640341] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   58.847310] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   58.923062] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   58.927656] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   58.939098] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   58.939150] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   58.939184] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   60.533750] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   60.533800] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   70.879271] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   70.975411] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   70.985884] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   70.997423] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   70.997502] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   70.997563] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   72.562787] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   72.562839] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   77.791694] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   77.879391] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   77.881748] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   77.892641] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   77.892711] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   77.892772] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   79.483373] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   79.484774] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   84.959325] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   85.043071] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   85.045249] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   85.056134] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   85.056182] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   85.056217] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   86.639891] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   86.640094] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   91.871554] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   91.955237] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   91.957101] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   91.967997] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   91.968048] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   91.968083] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   93.575256] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   93.575455] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   98.783033] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   98.870701] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[   98.872946] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   98.883029] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   98.883059] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   98.883074] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  100.470500] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  100.470558] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  105.951968] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  106.038650] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  106.040934] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  106.051662] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  106.051702] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  106.051723] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  107.658465] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  107.658522] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  117.983003] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  118.070994] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  118.083454] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  118.092323] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  118.092353] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  118.092370] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  119.675400] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  119.675463] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  124.895007] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  124.983077] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  124.995735] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  125.003046] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  125.003077] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  125.003095] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  126.591418] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  126.591474] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  132.063027] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  132.146732] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  132.149274] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  132.159957] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  132.159987] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  132.160003] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  133.750341] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  133.750711] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  138.975014] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  139.058977] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  139.062098] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  139.071072] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  139.071106] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  139.071127] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  143.151453] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  143.151511] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  148.959026] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  149.014665] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  149.017214] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  149.027010] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  149.027040] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  149.027056] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  150.642356] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  150.642415] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  155.871296] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  155.960185] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  155.964951] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  155.975031] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  155.975114] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  155.975173] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  157.559117] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  157.559167] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  163.039340] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  163.127199] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  163.129034] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  163.138978] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  163.139013] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  163.139047] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  164.794489] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  164.794540] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  169.951297] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  170.039364] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  170.041655] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  170.052438] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  170.052484] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  170.052519] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  171.694600] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  171.694652] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  176.863305] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  176.951359] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  176.953963] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  176.964751] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  176.964793] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  176.964826] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  178.552239] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  178.552290] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  184.031325] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  184.131364] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  184.133069] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  184.142989] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  184.143030] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  184.143065] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  185.726683] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  185.726734] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  190.943374] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[  191.027386] meson8b-dwmac c9410000.ethernet eth0: PHY [mdio_mux-0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=39)
[  191.029066] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  191.039971] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[  191.040023] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[  191.040057] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[  195.130749] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  195.130803] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[-- Attachment #6: 4-bad-page-state-bad-eth0.txt --]
[-- Type: text/plain, Size: 40339 bytes --]

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.53-00134-ge86d6b8820d8 (dxue@build-server) (aarch64-linux-gnu-gcc (Linaro GCC 7.3-2018.05) 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701], GNU ld (Linaro_Binutils-2018.05) 2.28.2.20170706) #1 SMP PREEMPT Fri Jul 8 19:06:49 EDT 2022
[    0.000000] Machine model: Libre Computer AML-S905X-CC
[    0.000000] efi: EFI v2.90 by Das U-Boot
[    0.000000] efi: RTPROP=0x7af33040 SMBIOS=0x7af2f000 RNG=0x562bb040 MEMRESERVE=0x562ba040 
[    0.000000] efi: seeding entropy pool
[    0.000000] random: crng init done
[    0.000000] Reserved memory: created CMA memory pool at 0x000000006ac00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7f3dcc00-0x7f3defff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000000ffffff]
[    0.000000]   node   0: [mem 0x0000000001000000-0x0000000004ffffff]
[    0.000000]   node   0: [mem 0x0000000005000000-0x00000000052fffff]
[    0.000000]   node   0: [mem 0x0000000005300000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000010000000-0x00000000101fffff]
[    0.000000]   node   0: [mem 0x0000000010200000-0x00000000562bafff]
[    0.000000]   node   0: [mem 0x00000000562bb000-0x00000000562bbfff]
[    0.000000]   node   0: [mem 0x00000000562bc000-0x000000007af2efff]
[    0.000000]   node   0: [mem 0x000000007af2f000-0x000000007af2ffff]
[    0.000000]   node   0: [mem 0x000000007af30000-0x000000007af32fff]
[    0.000000]   node   0: [mem 0x000000007af33000-0x000000007af35fff]
[    0.000000]   node   0: [mem 0x000000007af36000-0x000000007af36fff]
[    0.000000]   node   0: [mem 0x000000007af37000-0x000000007af3afff]
[    0.000000]   node   0: [mem 0x000000007af3b000-0x000000007df4ffff]
[    0.000000]   node   0: [mem 0x000000007df50000-0x000000007df5ffff]
[    0.000000]   node   0: [mem 0x000000007df60000-0x000000007f806fff]
[    0.000000]   node   0: [mem 0x000000007f807000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv0.2 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] percpu: Embedded 20 pages/cpu s41368 r8192 d32360 u81920
[    0.000000] pcpu-alloc: s41368 r8192 d32360 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.53-00134-ge86d6b8820d8 root=UUID=09799e9f-8009-4b0c-84bc-9761d73d9670 ro noquiet splash vt.handoff=7
[    0.000000] Unknown kernel command line parameters "noquiet splash BOOT_IMAGE=/boot/vmlinuz-5.15.53-00134-ge86d6b8820d8", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1694624K/2097152K available (15168K kernel code, 3080K rwdata, 8268K rodata, 6208K init, 502K bss, 140384K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    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] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001232] Console: colour dummy device 80x25
[    0.001754] printk: console [tty0] enabled
[    0.001839] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001863] pid_max: default: 32768 minimum: 301
[    0.001931] LSM: Security Framework initializing
[    0.002039] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.002066] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.003415] rcu: Hierarchical SRCU implementation.
[    0.006022] Remapping and enabling EFI services.
[    0.006385] smp: Bringing up secondary CPUs ...
[    0.006897] Detected VIPT I-cache on CPU1
[    0.006966] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.007523] Detected VIPT I-cache on CPU2
[    0.007579] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.008141] Detected VIPT I-cache on CPU3
[    0.008199] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.008279] smp: Brought up 1 node, 4 CPUs
[    0.008345] SMP: Total of 4 processors activated.
[    0.008357] CPU features: detected: 32-bit EL0 Support
[    0.008366] CPU features: detected: 32-bit EL1 Support
[    0.008379] CPU features: detected: CRC32 instructions
[    0.014331] CPU: All CPU(s) started at EL2
[    0.014402] alternatives: patching kernel code
[    0.015894] devtmpfs: initialized
[    0.021482] KASLR enabled
[    0.021673] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.021710] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.028147] pinctrl core: initialized pinctrl subsystem
[    0.029069] SMBIOS 3.0 present.
[    0.029111] DMI: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[    0.029687] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.031123] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.031297] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.031444] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.031551] audit: initializing netlink subsys (disabled)
[    0.031780] audit: type=2000 audit(0.028:1): state=initialized audit_enabled=0 res=1
[    0.033007] thermal_sys: Registered thermal governor 'step_wise'
[    0.033021] thermal_sys: Registered thermal governor 'power_allocator'
[    0.033275] cpuidle: using governor menu
[    0.033551] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.033668] ASID allocator initialised with 32768 entries
[    0.035331] Serial: AMBA PL011 UART driver
[    0.054730] platform c883a000.hdmi-tx: Fixing up cyclic dependency with d0100000.vpu
[    0.057166] platform cvbs-connector: Fixing up cyclic dependency with d0100000.vpu
[    0.057956] platform hdmi-connector: Fixing up cyclic dependency with c883a000.hdmi-tx
[    0.068856] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.068891] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.068905] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.068918] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.069999] cryptd: max_cpu_qlen set to 1000
[    0.072041] ACPI: Interpreter disabled.
[    0.074044] VDDIO_BOOT: supplied by VCC_3V3
[    0.074724] iommu: Default domain type: Translated 
[    0.074755] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.075045] vgaarb: loaded
[    0.075335] SCSI subsystem initialized
[    0.075521] libata version 3.00 loaded.
[    0.075725] usbcore: registered new interface driver usbfs
[    0.075774] usbcore: registered new interface driver hub
[    0.075818] usbcore: registered new device driver usb
[    0.076712] pps_core: LinuxPPS API ver. 1 registered
[    0.076733] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.076759] PTP clock support registered
[    0.076885] EDAC MC: Ver: 3.0.0
[    0.077874] Registered efivars operations
[    0.078982] FPGA manager framework
[    0.079093] Advanced Linux Sound Architecture Driver Initialized.
[    0.080113] clocksource: Switched to clocksource arch_sys_counter
[    0.080320] VFS: Disk quotas dquot_6.6.0
[    0.080396] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.080588] pnp: PnP ACPI: disabled
[    0.085661] NET: Registered PF_INET protocol family
[    0.085828] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.086870] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.086932] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.086956] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.087076] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.087283] TCP: Hash tables configured (established 16384 bind 16384)
[    0.087425] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.087486] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.087644] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.088120] RPC: Registered named UNIX socket transport module.
[    0.088154] RPC: Registered udp transport module.
[    0.088165] RPC: Registered tcp transport module.
[    0.088175] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.088193] PCI: CLS 0 bytes, default 64
[    0.088452] Unpacking initramfs...
[    0.100722] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.101195] kvm [1]: IPA Size Limit: 40 bits
[    0.102748] kvm [1]: vgic interrupt IRQ9
[    0.102932] kvm [1]: Hyp mode initialized successfully
[    0.106783] Initialise system trusted keyrings
[    0.107040] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.112972] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.113770] NFS: Registering the id_resolver key type
[    0.113826] Key type id_resolver registered
[    0.113838] Key type id_legacy registered
[    0.113943] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.113962] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.114194] 9p: Installing v9fs 9p2000 file system support
[    0.151797] Key type asymmetric registered
[    0.151840] Asymmetric key parser 'x509' registered
[    0.151972] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.151999] io scheduler mq-deadline registered
[    0.152012] io scheduler kyber registered
[    0.169984] EINJ: ACPI disabled.
[    0.191224] soc soc0: Amlogic Meson GXL (S905X) Revision 21:d (84:2) Detected
[    0.200895] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.204516] SuperH (H)SCI(F) driver initialized
[    0.205410] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 22, base_baud = 1500000) is a meson_uart
[    0.455353] Freeing initrd memory: 36584K
[    0.460393] printk: console [ttyAML0] enabled
[    0.461423] msm_serial: driver initialized
[    1.259351] loop: module loaded
[    1.260627] megasas: 07.717.02.00-rc1
[    1.267905] tun: Universal TUN/TAP device driver, 1.6
[    1.269149] thunder_xcv, ver 1.0
[    1.270572] thunder_bgx, ver 1.0
[    1.273775] nicpf, ver 1.0
[    1.278051] hclge is initializing
[    1.279688] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.286846] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.292179] e1000: Intel(R) PRO/1000 Network Driver
[    1.296921] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.302644] e1000e: Intel(R) PRO/1000 Network Driver
[    1.307528] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.313433] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.318742] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.324302] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.330471] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.336853] sky2: driver version 1.30
[    1.341366] VFIO - User Level meta-driver version: 0.3
[    1.347763] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.351550] ehci-pci: EHCI PCI platform driver
[    1.355979] ehci-platform: EHCI generic platform driver
[    1.361323] ehci-orion: EHCI orion driver
[    1.365237] ehci-exynos: EHCI Exynos driver
[    1.369353] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.375354] ohci-pci: OHCI PCI platform driver
[    1.379768] ohci-platform: OHCI generic platform driver
[    1.385091] ohci-exynos: OHCI Exynos driver
[    1.389832] usbcore: registered new interface driver usb-storage
[    1.398658] i2c_dev: i2c /dev entries driver
[    1.407535] sdhci: Secure Digital Host Controller Interface driver
[    1.408089] sdhci: Copyright(c) Pierre Ossman
[    1.413482] Synopsys Designware Multimedia Card Interface Driver
[    1.419872] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.420031] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[    1.429591] ledtrig-cpu: registered to indicate activity on CPUs
[    1.436785] efifb: probing for efifb
[    1.439091] efifb: framebuffer at 0x7f807000, using 8100k, total 8100k
[    1.445508] efifb: mode is 1920x1080x32, linelength=7680, pages=1
[    1.451494] efifb: scrolling: redraw
[    1.455017] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.483198] meson-gx-mmc d0074000.mmc: no support for card's volts
[    1.483215] mmc0: error -22 whilst initialising SDIO card
[    1.486043] Console: switching to colour frame buffer device 240x67
[    1.521135] fb0: EFI VGA frame buffer device
[    1.525937] meson-sm: secure-monitor enabled
[    1.531063] usbcore: registered new interface driver usbhid
[    1.535139] usbhid: USB HID core driver
[    1.540179] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[    1.554081] NET: Registered PF_PACKET protocol family
[    1.554372] 9pnet: Installing 9P2000 support
[    1.557910] Key type dns_resolver registered
[    1.562471] Loading compiled-in X.509 certificates
[    1.586673] dwc3-meson-g12a d0078080.usb: USB2 ports: 2
[    1.586833] dwc3-meson-g12a d0078080.usb: USB3 ports: 0
[    2.114094] dwc2 c9100000.usb: supply vusb_d not found, using dummy regulator
[    2.115890] dwc2 c9100000.usb: supply vusb_a not found, using dummy regulator
[    2.123174] dwc2 c9100000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM
[    2.132898] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.135222] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    2.143106] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010
[    2.152306] xhci-hcd xhci-hcd.0.auto: irq 48, io mem 0xc9000000
[    2.158705] hub 1-0:1.0: USB hub found
[    2.161701] hub 1-0:1.0: 2 ports detected
[    2.166104] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.171104] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    2.178807] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    2.185296] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.193783] hub 2-0:1.0: USB hub found
[    2.196963] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    2.208687] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
[    2.209231] meson-gx-mmc d0072000.mmc: Got CD GPIO
[    2.236472] ALSA device list:
[    2.236569]   No soundcards found.
[    2.245008] Freeing unused kernel memory: 6208K
[    2.248202] Run /init as init process
[    2.248315]   with arguments:
[    2.248318]     /init
[    2.248321]     noquiet
[    2.248324]     splash
[    2.248327]   with environment:
[    2.248330]     HOME=/
[    2.248333]     TERM=linux
[    2.248336]     BOOT_IMAGE=/boot/vmlinuz-5.15.53-00134-ge86d6b8820d8
[    2.282991] mmc1: new high speed SDHC card at address aaaa
[    2.283874] mmcblk1: mmc1:aaaa SP32G 29.7 GiB 
[    2.289528]  mmcblk1: p1 p2
[    2.424178] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.633979] hub 1-1:1.0: USB hub found
[    2.638841] hub 1-1:1.0: 4 ports detected
[    2.928008] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
[    2.933963] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
[    2.939621] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[    2.946135] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[    2.952746] meson8b-dwmac c9410000.ethernet: 	DWMAC1000
[    2.957611] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[    2.961368] meson-drm d0100000.vpu: Queued 3 outputs on vpu
[    2.965287] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[    2.979805] meson8b-dwmac c9410000.ethernet: COE Type 2
[    2.984186] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[    2.984205] usb 1-1.2: new full-speed USB device number 3 using xhci-hcd
[    2.989474] checking generic (7f807000 7e9000) vs hw (0 ffffffffffffffff)
[    2.989488] fb0: switching to meson from EFI VGA
[    2.990651] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[    2.990812] meson8b-dwmac c9410000.ethernet: Normal descriptors
[    3.005015] lima d00c0000.gpu: gp - mali450 version major 0 minor 0
[    3.008487] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[    3.017250] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
[    3.020556] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.026306] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
[    3.047028] Console: switching to colour dummy device 80x25
[    3.049040] lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0
[    3.054497] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[    3.062368] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[    3.073315] lima d00c0000.gpu: bus rate = 166666667
[    3.075332] lima d00c0000.gpu: mod rate = 24000000
[    3.080228] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[    3.089981] lima d00c0000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19
[    3.102743] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[    3.109205] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi])
[    3.122345] lima d00c0000.gpu: Failed to register cooling device
[    3.128609] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 1
[    3.140276] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 0
[    3.180895] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.0/0003:17EF:6047.0001/input/input0
[    3.256865] hid-generic 0003:17EF:6047.0001: input: USB HID v1.00 Keyboard [Lenovo ThinkPad Compact USB Keyboard with TrackPoint] on usb-xhci-hcd.0.auto-1.2/input0
[    3.273162] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint Mouse as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input1
[    3.285979] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint Consumer Control as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input2
[    3.318123] [drm] kms: can't enable cloning when we probably wanted to.
[    3.364843] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input3
[    3.365695] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input4
[    3.366246] input: Lenovo ThinkPad Compact USB Keyboard with TrackPoint as /devices/platform/soc/d0078080.usb/c9000000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:17EF:6047.0002/input/input5
[    3.366559] hid-generic 0003:17EF:6047.0002: input: USB HID v1.00 Mouse [Lenovo ThinkPad Compact USB Keyboard with TrackPoint] on usb-xhci-hcd.0.auto-1.2/input1
[    3.484935] Console: switching to colour frame buffer device 240x67
[    3.621024] meson-drm d0100000.vpu: [drm] fb0: mesondrmfb frame buffer device
[    3.938324] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    4.188113] raid6: neonx8   gen()  2557 MB/s
[    4.256105] raid6: neonx8   xor()  1955 MB/s
[    4.324109] raid6: neonx4   gen()  2644 MB/s
[    4.392104] raid6: neonx4   xor()  1889 MB/s
[    4.460109] raid6: neonx2   gen()  2582 MB/s
[    4.528107] raid6: neonx2   xor()  1758 MB/s
[    4.596106] raid6: neonx1   gen()  2005 MB/s
[    4.664110] raid6: neonx1   xor()  1432 MB/s
[    4.732110] raid6: int64x8  gen()  1435 MB/s
[    4.800116] raid6: int64x8  xor()   891 MB/s
[    4.868149] raid6: int64x4  gen()  1999 MB/s
[    4.936139] raid6: int64x4  xor()   847 MB/s
[    5.004112] raid6: int64x2  gen()  1452 MB/s
[    5.072105] raid6: int64x2  xor()   895 MB/s
[    5.140118] raid6: int64x1  gen()  1241 MB/s
[    5.208109] raid6: int64x1  xor()   633 MB/s
[    5.208198] raid6: using algorithm neonx4 gen() 2644 MB/s
[    5.212182] raid6: .... xor() 1889 MB/s, rmw enabled
[    5.217092] raid6: using neon recovery algorithm
[    5.224385] xor: measuring software checksum speed
[    5.229970]    8regs           :  2793 MB/sec
[    5.233584]    32regs          :  3434 MB/sec
[    5.238382]    arm64_neon      :  2931 MB/sec
[    5.239328] xor: using function: 32regs (3434 MB/sec)
[    5.267354] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    5.592174] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    6.536471] systemd[1]: System time before build time, advancing clock.
[    6.699352] NET: Registered PF_INET6 protocol family
[    6.701518] Segment Routing with IPv6
[    6.702557] In-situ OAM (IOAM) with IPv6
[    6.746754] systemd[1]: systemd 249.11-0ubuntu3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS -OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP -LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    6.773212] systemd[1]: Detected architecture arm64.
[    6.786065] systemd[1]: Hostname set to <dxue-test>.
[    7.961256] systemd[1]: Queued start job for default target Graphical Interface.
[    7.968659] systemd[1]: Created slice Slice /system/modprobe.
[    7.970967] systemd[1]: Created slice Slice /system/serial-getty.
[    7.977630] systemd[1]: Created slice Slice /system/systemd-fsck.
[    7.983687] systemd[1]: Created slice Slice /system/systemd-growfs.
[    7.989586] systemd[1]: Created slice User and Session Slice.
[    7.994958] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.002764] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    8.014517] systemd[1]: Reached target Remote File Systems.
[    8.019761] systemd[1]: Reached target Slice Units.
[    8.024918] systemd[1]: Reached target Local Verity Protected Volumes.
[    8.039558] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    8.055229] systemd[1]: Listening on LVM2 poll daemon socket.
[    8.074009] systemd[1]: Listening on Syslog Socket.
[    8.090588] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.107969] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.126234] systemd[1]: Listening on Journal Audit Socket.
[    8.142603] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.159996] systemd[1]: Listening on Journal Socket.
[    8.176777] systemd[1]: Listening on udev Control Socket.
[    8.193282] systemd[1]: Listening on udev Kernel Socket.
[    8.211600] systemd[1]: Mounting Huge Pages File System...
[    8.224038] systemd[1]: Mounting POSIX Message Queue File System...
[    8.237581] systemd[1]: Mounting Kernel Debug File System...
[    8.247226] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    8.248249] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    8.248270] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    8.251519] systemd[1]: Starting Journal Service...
[    8.292434] systemd[1]: Finished Availability of block devices.
[    8.310473] systemd[1]: Starting Set the console keyboard layout...
[    8.324063] systemd[1]: Starting Create List of Static Device Nodes...
[    8.336947] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    8.356008] systemd[1]: Starting Load Kernel Module configfs...
[    8.369877] systemd[1]: Starting Load Kernel Module drm...
[    8.387709] systemd[1]: Starting Load Kernel Module fuse...
[    8.403319] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.419480] fuse: init (API version 7.34)
[    8.430906] systemd[1]: Starting Load Kernel Modules...
[    8.442926] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.457330] systemd[1]: Starting Coldplug All udev Devices...
[    8.472538] systemd[1]: Started Journal Service.
[    8.472790] EXT4-fs (mmcblk1p2): re-mounted. Opts: discard. Quota mode: none.
[    8.490648] IPMI message handler: version 39.2
[    8.502173] ipmi device interface
[    8.627836] systemd-journald[340]: Received client request to flush runtime journal.
[    8.662370] EXT4-fs (mmcblk1p2): resizing filesystem from 7725947 to 7725947 blocks
[    8.681868] systemd-journald[340]: File /var/log/journal/7d8f4469c59d439dab26064fd9ac120f/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    9.141994] loop0: detected capacity change from 0 to 8
[    9.152686] loop1: detected capacity change from 0 to 117656
[    9.161028] loop2: detected capacity change from 0 to 302096
[    9.170691] loop3: detected capacity change from 0 to 467720
[    9.183076] loop4: detected capacity change from 0 to 166424
[    9.195525] loop5: detected capacity change from 0 to 90688
[    9.209187] loop6: detected capacity change from 0 to 77328
[    9.222549] loop7: detected capacity change from 0 to 544
[   10.874150] Registered IR keymap rc-empty
[   10.907022] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0
[   10.946003] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input7
[   10.952294] meson-ir c8100580.ir: receiver initialized
[   10.997727] debugfs: Directory 'c1105400.audio-controller' with parent 'LIBRETECH-CC' already present!
[   11.006182] debugfs: Directory 'c1105400.audio-controller' with parent 'LIBRETECH-CC' already present!
[   11.022571] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[   11.026987] gxl-crypto c883e000.crypto: will run requests pump with realtime priority
[   12.143336] Adding 1048572k swap on /swapfile.  Priority:-2 extents:5 across:4145148k SS
[   13.398139] [drm] kms: can't enable cloning when we probably wanted to.
[   16.732773] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=49)
[   16.741300] loop8: detected capacity change from 0 to 8
[   16.745339] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   16.753193] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   16.753223] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   16.769429] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   18.332187] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   18.332281] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   18.957852] BUG: Bad page state in process systemd  pfn:059a7
[   18.961769] page:000000001b23f36a refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x59a7
[   18.961787] flags: 0x6635333639363237(locked|referenced|uptodate|lru|active|slab|reserved|private|mappedtodisk|reclaim|unevictable|mlocked|node=6|zone=1|lastcpupid=0x8d4c)
[   18.961808] raw: 6635333639363237 dead000000000100 dead000000000122 663544e8663544e8
[   18.961814] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[   18.961818] page dumped because: PAGE_FLAGS_CHECK_AT_PREP flag(s) set
[   18.961822] Modules linked in: rfkill snd_soc_meson_gx_sound_card amlogic_gxl_crypto snd_soc_meson_card_utils crypto_engine meson_rng meson_ir rc_core rng_core snd_soc_meson_aiu snd_soc_hdmi_codec meson_gxbb_wdt snd_soc_meson_codec_glue snd_soc_meson_t9015 snd_soc_simple_amplifier nvmem_meson_efuse ipmi_devintf ipmi_msghandler fuse ip_tables x_tables ipv6 btrfs blake2b_generic libcrc32c xor xor_neon zstd_compress raid6_pq dm_mirror dm_region_hash dm_log dm_mod dw_hdmi_i2s_audio meson_gxl dwmac_generic lima meson_dw_hdmi crct10dif_ce dw_hdmi cec meson_drm gpu_sched dwmac_meson8b stmmac_platform stmmac meson_canvas drm_kms_helper pcs_xpcs display_connector drm
[   18.961967] CPU: 1 PID: 689 Comm: systemd Not tainted 5.15.53-00134-ge86d6b8820d8 #1
[   18.961976] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[   18.961983] Call trace:
[   18.961986]  dump_backtrace+0x0/0x1c0
[   18.962004]  show_stack+0x18/0x68
[   18.962011]  dump_stack_lvl+0x68/0x84
[   18.962021]  dump_stack+0x18/0x34
[   18.962028]  bad_page+0xd4/0x128
[   18.962035]  check_new_page_bad+0x84/0xa0
[   18.962041]  rmqueue_bulk+0x408/0x6f8
[   18.962048]  get_page_from_freelist+0xc80/0xf98
[   18.962056]  __alloc_pages+0x154/0x2f0
[   18.962064]  alloc_pages+0xa8/0x148
[   18.962073]  get_zeroed_page+0x1c/0x48
[   18.962079]  __pud_alloc+0x3c/0x168
[   18.962086]  copy_page_range+0xd1c/0xd88
[   18.962092]  dup_mm+0x3a4/0x550
[   18.962101]  copy_process+0x14b4/0x14f8
[   18.962109]  kernel_clone+0x68/0x408
[   18.962116]  __do_sys_clone+0x70/0x98
[   18.962124]  __arm64_sys_clone+0x20/0x30
[   18.962131]  invoke_syscall+0x44/0x100
[   18.962139]  el0_svc_common.constprop.3+0x6c/0xf0
[   18.962147]  do_el0_svc+0x24/0x88
[   18.962153]  el0_svc+0x20/0x60
[   18.962161]  el0t_64_sync_handler+0x90/0xb8
[   18.962168]  el0t_64_sync+0x180/0x184
[   18.962176] Disabling lock debugging due to kernel taint
[   24.032178] ------------[ cut here ]------------
[   24.032227] NETDEV WATCHDOG: eth0 (meson8b-dwmac): transmit queue 0 timed out
[   24.032451] WARNING: CPU: 3 PID: 0 at net/sched/sch_generic.c:478 dev_watchdog+0x33c/0x348
[   24.032527] Modules linked in: rfkill snd_soc_meson_gx_sound_card amlogic_gxl_crypto snd_soc_meson_card_utils crypto_engine meson_rng meson_ir rc_core rng_core snd_soc_meson_aiu snd_soc_hdmi_codec meson_gxbb_wdt snd_soc_meson_codec_glue snd_soc_meson_t9015 snd_soc_simple_amplifier nvmem_meson_efuse ipmi_devintf ipmi_msghandler fuse ip_tables x_tables ipv6 btrfs blake2b_generic libcrc32c xor xor_neon zstd_compress raid6_pq dm_mirror dm_region_hash dm_log dm_mod dw_hdmi_i2s_audio meson_gxl dwmac_generic lima meson_dw_hdmi crct10dif_ce dw_hdmi cec meson_drm gpu_sched dwmac_meson8b stmmac_platform stmmac meson_canvas drm_kms_helper pcs_xpcs display_connector drm
[   24.033268] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G    B             5.15.53-00134-ge86d6b8820d8 #1
[   24.033309] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 2022.07-rc6-gb960d654 07/01/2022
[   24.033333] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   24.033371] pc : dev_watchdog+0x33c/0x348
[   24.033410] lr : dev_watchdog+0x33c/0x348
[   24.033441] sp : ffff80000801bdb0
[   24.033457] x29: ffff80000801bdb0 x28: ffff545841af1940 x27: 0000000000000004
[   24.033523] x26: 0000000000000140 x25: 00000000ffffffff x24: 0000000000000003
[   24.033583] x23: ffffdb25d7397000 x22: ffff545841d603dc x21: ffff545841d60000
[   24.033645] x20: ffff545841d60480 x19: 0000000000000000 x18: ffffffffffffffff
[   24.033705] x17: 756f2064656d6974 x16: 2030206575657571 x15: 2074696d736e6172
[   24.033767] x14: 00000000000001cc x13: ffff80000801bac0 x12: 00000000ffffffea
[   24.033827] x11: ffffdb25d7422f90 x10: ffffdb25d740af50 x9 : ffffdb25d740afa8
[   24.033889] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001
[   24.033947] x5 : ffff5458bf3b5990 x4 : 0000000000000000 x3 : 0000000000000027
[   24.034004] x2 : 0000000000000023 x1 : 3fd639a372ed0f00 x0 : 0000000000000000
[   24.034065] Call trace:
[   24.034084]  dev_watchdog+0x33c/0x348
[   24.034120]  call_timer_fn.isra.31+0x24/0x80
[   24.034162]  run_timer_softirq+0x3c0/0x408
[   24.034197]  __do_softirq+0x11c/0x284
[   24.034231]  irq_exit+0xe8/0x108
[   24.034269]  handle_domain_irq+0x60/0x90
[   24.034307]  gic_handle_irq+0xb0/0xd0
[   24.034351]  call_on_irq_stack+0x28/0x50
[   24.034387]  do_interrupt_handler+0x58/0x60
[   24.034425]  el1_interrupt+0x30/0x78
[   24.034464]  el1h_64_irq_handler+0x18/0x28
[   24.034503]  el1h_64_irq+0x74/0x78
[   24.034533]  arch_cpu_idle+0x18/0x28
[   24.034569]  default_idle_call+0x24/0x5c
[   24.034605]  do_idle+0x1e0/0x278
[   24.034643]  cpu_startup_entry+0x24/0x70
[   24.034680]  secondary_start_kernel+0x1b8/0x1e8
[   24.034721]  __secondary_switched+0x90/0x94
[   24.034760] ---[ end trace 2940cdfa2dfa66b3 ]---
[   24.034906] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   24.120526] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=49)
[   24.127162] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   24.138708] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   24.138735] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   24.138750] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   25.730171] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   25.730222] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   30.944239] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   31.027862] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=49)
[   31.035440] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   31.045192] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   31.045222] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   31.045239] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   33.760193] VDDIO_BOOT: disabling
[   35.019545] rfkill: input handler disabled
[   35.136067] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   35.136177] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   40.928231] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   41.042689] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=49)
[   41.060966] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   41.068183] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   41.068214] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   41.068230] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   42.629890] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   42.629945] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   47.840213] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   47.936214] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=49)
[   47.938057] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   47.948172] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   47.948201] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   47.948216] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   52.019792] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   52.019849] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   57.056499] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   57.124508] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=49)
[   57.126866] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   57.137771] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   57.137814] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   57.137846] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   58.740002] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   58.740049] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   63.969063] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   64.052670] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=49)
[   64.055353] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   64.066328] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   64.066377] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   64.066410] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   65.660710] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   65.660757] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   70.880473] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   70.968687] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=49)
[   70.970754] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   70.981656] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   70.981701] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   70.981733] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   72.565834] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   72.566027] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   78.048312] meson8b-dwmac c9410000.ethernet eth0: Reset adapter.
[   78.152778] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=49)
[   78.155947] meson8b-dwmac c9410000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   78.166909] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[   78.166973] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[   78.167029] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode
[   79.736004] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   79.736052] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

[-- Attachment #7: Type: text/plain, Size: 167 bytes --]

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-07-13  9:24 ` Da Xue
@ 2022-07-15  6:58   ` Da Xue
  0 siblings, 0 replies; 12+ messages in thread
From: Da Xue @ 2022-07-15  6:58 UTC (permalink / raw)
  To: Jerome Brunet
  Cc: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu, Erico Nunes,
	netdev, linux-amlogic, Kevin Hilman, Neil Armstrong, Vyacheslav,
	Heiner Kallweit, Qi Duan

On Wed, Jul 13, 2022 at 5:24 AM Da Xue <da@lessconfused.com> wrote:
>
> On Thu, Jul 7, 2022 at 6:14 AM Jerome Brunet <jbrunet@baylibre.com> wrote:
> >
> > For some reason, poking MAC_CTRL_REG a second time, even with the same
> > value, causes problem on a dwmac 3.70a.
> >
> > This problem happens on all the Amlogic SoCs, on link up, when the RMII
> > 10/100 internal interface is used. The problem does not happen on boards
> > using the external RGMII 10/100/1000 interface. Initially we suspected the
> > PHY to be the problem but after a lot of testing, the problem seems to be
> > coming from the MAC controller.
> >
> > > meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
> > > meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
> > > meson8b-dwmac c9410000.ethernet: PTP uses main clock
> > > meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
> > > meson8b-dwmac c9410000.ethernet:      DWMAC1000
> > > meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
> > > meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
> > > meson8b-dwmac c9410000.ethernet: COE Type 2
> > > meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
> > > meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
> > > meson8b-dwmac c9410000.ethernet: Normal descriptors
> > > meson8b-dwmac c9410000.ethernet: Ring mode enabled
> > > meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
> >
> > The problem is not systematic. Its occurence is very random from 1/50 to
> > 1/2. It is fairly easy to detect by setting the kernel to boot over NFS and
> > possibly setting it to reboot automatically when reaching the prompt.
> >
> > When problem happens, the link is reported up by the PHY but no packet are
> > actually going out. DHCP requests eventually times out and the kernel reset
> > the interface. It may take several attempts but it will eventually work.
> >
> > > meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> > > Sending DHCP requests ...... timed out!
> > > meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
> > > IP-Config: Retrying forever (NFS root)...
> > > meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
> > > meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> > > meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
> > > meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
> > > meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
> > > meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> > > Sending DHCP requests ...... timed out!
> > > meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
> > > IP-Config: Retrying forever (NFS root)...
> > > [...] 5 retries ...
> > > IP-Config: Retrying forever (NFS root)...
> > > meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
> > > meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> > > meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
> > > meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
> > > meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
> > > meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> > > Sending DHCP requests ., OK
> > > IP-Config: Got DHCP answer from 10.1.1.1, my address is 10.1.3.229
> >
> > Of course the same problem happens when not using NFS and it fairly
> > difficult for IoT products to detect this situation and recover.
> >
> > The call to stmmac_mac_set() should be no-op in our case, the bits it sets
> > have already been set by an earlier call to stmmac_mac_set(). However
> > removing this call solves the problem. We have no idea why or what is the
> > actual problem.
> >
> > Even weirder, keeping the call to stmmac_mac_set() but inserting a
> > udelay(1) between writel() and stmmac_mac_set() solves the problem too.
> >
> > Suggested-by: Qi Duan <qi.duan@amlogic.com>
> > Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> > ---
> >
> >  Hi,
> >
> >  There is no intention to get this patch merged as it is.
> >  It is sent with the hope to get a better understanding of the issue
> >  and more testing.
> >
> >  The discussion on this issue initially started on this thread
> >  https://lore.kernel.org/all/CAK4VdL3-BEBzgVXTMejrAmDjOorvoGDBZ14UFrDrKxVEMD2Zjg@mail.gmail.com/
> >
> >  The patches previously proposed in this thread have not solved the
> >  problem.
> >
> >  The line removed in this patch should be a no-op when it comes to the
> >  value of MAC_CTRL_REG. So the change should make not a difference but
> >  it does. Testing result have been very good so far so there must be an
> >  unexpected consequence on the HW. I hope that someone with more
> >  knowledge on this controller will be able to shine some light on this.
> >
> >  Cheers
> >  Jerome
> >
> >  drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> > index d1a7cf4567bc..3dca3cc61f39 100644
> > --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> > +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> > @@ -1072,7 +1072,6 @@ static void stmmac_mac_link_up(struct phylink_config *config,
> >
> >         writel(ctrl, priv->ioaddr + MAC_CTRL_REG);
> >
> > -       stmmac_mac_set(priv, priv->ioaddr, true);
> >         if (phy && priv->dma_cap.eee) {
> >                 priv->eee_active = phy_init_eee(phy, 1) >= 0;
> >                 priv->eee_enabled = stmmac_eee_init(priv);
> > --
> > 2.36.1
> >
>
> We had a problem with GXL (S805X/S905X) where the ethernet interface
> would sometimes not come up. Before the 5.10 LTS, it was just a matter
> of bringing down and up (ip link set) the interface to fix the issue.
> With 5.15, 5.18, and 5.19, we would get "meson8b-dwmac
> c9410000.ethernet eth0: Reset adapter." No amount of link down ups can
> fix it anymore.

I realized that I did not add the ethernet reset in the device tree
that u-boot was passing to Linux. Sorry about the noise on this.

>
> When we get the "meson8b-dwmac c9410000.ethernet eth0: Reset
> adapter.", it affects traffic on the network switch. I have a ping
> going from two different devices on a GS108PP PoE network switch and
> it would go through the roof. When I remove the GXL board, everything
> comes back to normal.

Given that the reset fixes the ethernet issues, the hardware still
could be causing this but it is no longer long enough to notice.

>
> We would get randomized corruption when ethernet is brought up
> (successfully or not) about half the time. If it boots up without a
> problem, it remains super stable. I would run benchmarks for CPU, 3D,
> and ethernet for days without that glitch ever appearing. It seems to
> be determined at startup.

This is gone with ethernet reset in the device tree and the no
double-poke register change Jerome provided.

Best,
Da

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-07-07 10:14 [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up Jerome Brunet
  2022-07-13  9:24 ` Da Xue
@ 2022-08-26  9:51 ` Heiner Kallweit
  2022-08-26 15:45   ` Da Xue
  1 sibling, 1 reply; 12+ messages in thread
From: Heiner Kallweit @ 2022-08-26  9:51 UTC (permalink / raw)
  To: Jerome Brunet, Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	Erico Nunes
  Cc: netdev, linux-amlogic, Kevin Hilman, Neil Armstrong, Vyacheslav,
	Da Xue, Qi Duan

On 07.07.2022 12:14, Jerome Brunet wrote:
> For some reason, poking MAC_CTRL_REG a second time, even with the same
> value, causes problem on a dwmac 3.70a.
> 
> This problem happens on all the Amlogic SoCs, on link up, when the RMII
> 10/100 internal interface is used. The problem does not happen on boards
> using the external RGMII 10/100/1000 interface. Initially we suspected the
> PHY to be the problem but after a lot of testing, the problem seems to be
> coming from the MAC controller.
> 
>> meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
>> meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
>> meson8b-dwmac c9410000.ethernet: PTP uses main clock
>> meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
>> meson8b-dwmac c9410000.ethernet: 	DWMAC1000
>> meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
>> meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
>> meson8b-dwmac c9410000.ethernet: COE Type 2
>> meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
>> meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
>> meson8b-dwmac c9410000.ethernet: Normal descriptors
>> meson8b-dwmac c9410000.ethernet: Ring mode enabled
>> meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
> 
> The problem is not systematic. Its occurence is very random from 1/50 to
> 1/2. It is fairly easy to detect by setting the kernel to boot over NFS and
> possibly setting it to reboot automatically when reaching the prompt.
> 
> When problem happens, the link is reported up by the PHY but no packet are
> actually going out. DHCP requests eventually times out and the kernel reset
> the interface. It may take several attempts but it will eventually work.
> 
>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>> Sending DHCP requests ...... timed out!
>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
>> IP-Config: Retrying forever (NFS root)...
>> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
>> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
>> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
>> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
>> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>> Sending DHCP requests ...... timed out!
>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
>> IP-Config: Retrying forever (NFS root)...
>> [...] 5 retries ...
>> IP-Config: Retrying forever (NFS root)...
>> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
>> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
>> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
>> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
>> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>> Sending DHCP requests ., OK
>> IP-Config: Got DHCP answer from 10.1.1.1, my address is 10.1.3.229
> 
> Of course the same problem happens when not using NFS and it fairly
> difficult for IoT products to detect this situation and recover.
> 
> The call to stmmac_mac_set() should be no-op in our case, the bits it sets
> have already been set by an earlier call to stmmac_mac_set(). However
> removing this call solves the problem. We have no idea why or what is the
> actual problem.
> 
> Even weirder, keeping the call to stmmac_mac_set() but inserting a
> udelay(1) between writel() and stmmac_mac_set() solves the problem too.
> 
> Suggested-by: Qi Duan <qi.duan@amlogic.com>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
> 
>  Hi,
> 
>  There is no intention to get this patch merged as it is.
>  It is sent with the hope to get a better understanding of the issue
>  and more testing.
> 
>  The discussion on this issue initially started on this thread
>  https://lore.kernel.org/all/CAK4VdL3-BEBzgVXTMejrAmDjOorvoGDBZ14UFrDrKxVEMD2Zjg@mail.gmail.com/
> 
>  The patches previously proposed in this thread have not solved the
>  problem.
> 
>  The line removed in this patch should be a no-op when it comes to the
>  value of MAC_CTRL_REG. So the change should make not a difference but
>  it does. Testing result have been very good so far so there must be an
>  unexpected consequence on the HW. I hope that someone with more
>  knowledge on this controller will be able to shine some light on this.
> 
>  Cheers
>  Jerome
> 
>  drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> index d1a7cf4567bc..3dca3cc61f39 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> @@ -1072,7 +1072,6 @@ static void stmmac_mac_link_up(struct phylink_config *config,
>  
>  	writel(ctrl, priv->ioaddr + MAC_CTRL_REG);
>  
> -	stmmac_mac_set(priv, priv->ioaddr, true);
>  	if (phy && priv->dma_cap.eee) {
>  		priv->eee_active = phy_init_eee(phy, 1) >= 0;
>  		priv->eee_enabled = stmmac_eee_init(priv);

Now that we have a3a57bf07de2 ("net: stmmac: work around sporadic tx issue on link-up")
in linux-next and scheduled for stable:

Jerome, can you confirm that after this commit the following is no longer needed?
2c87c6f9fbdd ("net: phy: meson-gxl: improve link-up behavior")

Then I'd revert it, referencing the successor workaround / fix in stmmac.

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-08-26  9:51 ` Heiner Kallweit
@ 2022-08-26 15:45   ` Da Xue
  2022-08-26 20:36     ` Heiner Kallweit
  0 siblings, 1 reply; 12+ messages in thread
From: Da Xue @ 2022-08-26 15:45 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: Jerome Brunet, Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	Erico Nunes, netdev, linux-amlogic, Kevin Hilman, Neil Armstrong,
	Vyacheslav, Qi Duan

Hi Heiner,

I have been running with the patch reverted for about two weeks now
without issue but I have a modified u-boot with ethernet bringup
disabled.

If u-boot brings up ethernet, all of the GXL boards with more than 1GB
memory experience various bugs. I had to bring the PHY initialization
patch into Linux proper:
https://github.com/libre-computer-project/libretech-linux/commit/1a4004c11877d4239b57b182da1ce69a81c0150c

Hope this helps someone.

Best,

Da

On Fri, Aug 26, 2022 at 5:51 AM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>
> On 07.07.2022 12:14, Jerome Brunet wrote:
> > For some reason, poking MAC_CTRL_REG a second time, even with the same
> > value, causes problem on a dwmac 3.70a.
> >
> > This problem happens on all the Amlogic SoCs, on link up, when the RMII
> > 10/100 internal interface is used. The problem does not happen on boards
> > using the external RGMII 10/100/1000 interface. Initially we suspected the
> > PHY to be the problem but after a lot of testing, the problem seems to be
> > coming from the MAC controller.
> >
> >> meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
> >> meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
> >> meson8b-dwmac c9410000.ethernet: PTP uses main clock
> >> meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
> >> meson8b-dwmac c9410000.ethernet:     DWMAC1000
> >> meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
> >> meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
> >> meson8b-dwmac c9410000.ethernet: COE Type 2
> >> meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
> >> meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
> >> meson8b-dwmac c9410000.ethernet: Normal descriptors
> >> meson8b-dwmac c9410000.ethernet: Ring mode enabled
> >> meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
> >
> > The problem is not systematic. Its occurence is very random from 1/50 to
> > 1/2. It is fairly easy to detect by setting the kernel to boot over NFS and
> > possibly setting it to reboot automatically when reaching the prompt.
> >
> > When problem happens, the link is reported up by the PHY but no packet are
> > actually going out. DHCP requests eventually times out and the kernel reset
> > the interface. It may take several attempts but it will eventually work.
> >
> >> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> >> Sending DHCP requests ...... timed out!
> >> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
> >> IP-Config: Retrying forever (NFS root)...
> >> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
> >> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> >> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
> >> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
> >> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
> >> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> >> Sending DHCP requests ...... timed out!
> >> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
> >> IP-Config: Retrying forever (NFS root)...
> >> [...] 5 retries ...
> >> IP-Config: Retrying forever (NFS root)...
> >> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
> >> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> >> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
> >> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
> >> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
> >> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> >> Sending DHCP requests ., OK
> >> IP-Config: Got DHCP answer from 10.1.1.1, my address is 10.1.3.229
> >
> > Of course the same problem happens when not using NFS and it fairly
> > difficult for IoT products to detect this situation and recover.
> >
> > The call to stmmac_mac_set() should be no-op in our case, the bits it sets
> > have already been set by an earlier call to stmmac_mac_set(). However
> > removing this call solves the problem. We have no idea why or what is the
> > actual problem.
> >
> > Even weirder, keeping the call to stmmac_mac_set() but inserting a
> > udelay(1) between writel() and stmmac_mac_set() solves the problem too.
> >
> > Suggested-by: Qi Duan <qi.duan@amlogic.com>
> > Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> > ---
> >
> >  Hi,
> >
> >  There is no intention to get this patch merged as it is.
> >  It is sent with the hope to get a better understanding of the issue
> >  and more testing.
> >
> >  The discussion on this issue initially started on this thread
> >  https://lore.kernel.org/all/CAK4VdL3-BEBzgVXTMejrAmDjOorvoGDBZ14UFrDrKxVEMD2Zjg@mail.gmail.com/
> >
> >  The patches previously proposed in this thread have not solved the
> >  problem.
> >
> >  The line removed in this patch should be a no-op when it comes to the
> >  value of MAC_CTRL_REG. So the change should make not a difference but
> >  it does. Testing result have been very good so far so there must be an
> >  unexpected consequence on the HW. I hope that someone with more
> >  knowledge on this controller will be able to shine some light on this.
> >
> >  Cheers
> >  Jerome
> >
> >  drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> > index d1a7cf4567bc..3dca3cc61f39 100644
> > --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> > +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> > @@ -1072,7 +1072,6 @@ static void stmmac_mac_link_up(struct phylink_config *config,
> >
> >       writel(ctrl, priv->ioaddr + MAC_CTRL_REG);
> >
> > -     stmmac_mac_set(priv, priv->ioaddr, true);
> >       if (phy && priv->dma_cap.eee) {
> >               priv->eee_active = phy_init_eee(phy, 1) >= 0;
> >               priv->eee_enabled = stmmac_eee_init(priv);
>
> Now that we have a3a57bf07de2 ("net: stmmac: work around sporadic tx issue on link-up")
> in linux-next and scheduled for stable:
>
> Jerome, can you confirm that after this commit the following is no longer needed?
> 2c87c6f9fbdd ("net: phy: meson-gxl: improve link-up behavior")
>
> Then I'd revert it, referencing the successor workaround / fix in stmmac.

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-08-26 15:45   ` Da Xue
@ 2022-08-26 20:36     ` Heiner Kallweit
  2022-08-27 20:23       ` Da Xue
  2022-08-29 10:01       ` Jerome Brunet
  0 siblings, 2 replies; 12+ messages in thread
From: Heiner Kallweit @ 2022-08-26 20:36 UTC (permalink / raw)
  To: Da Xue
  Cc: Jerome Brunet, Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	Erico Nunes, netdev, linux-amlogic, Kevin Hilman, Neil Armstrong,
	Vyacheslav, Qi Duan

On 26.08.2022 17:45, Da Xue wrote:
> Hi Heiner,
> 
> I have been running with the patch reverted for about two weeks now
> without issue but I have a modified u-boot with ethernet bringup
> disabled.
> 
> If u-boot brings up ethernet, all of the GXL boards with more than 1GB
> memory experience various bugs. I had to bring the PHY initialization
> patch into Linux proper:
> https://github.com/libre-computer-project/libretech-linux/commit/1a4004c11877d4239b57b182da1ce69a81c0150c
> 
Thanks for the follow-up. To be acceptable upstream I'm pretty sure that
the maintainer is going to request replacing magic number 0x10110181
with or'ing proper constants for the respective bits and fields.

> Hope this helps someone.
> 
> Best,
> 
> Da
> 
> On Fri, Aug 26, 2022 at 5:51 AM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>>
>> On 07.07.2022 12:14, Jerome Brunet wrote:
>>> For some reason, poking MAC_CTRL_REG a second time, even with the same
>>> value, causes problem on a dwmac 3.70a.
>>>
>>> This problem happens on all the Amlogic SoCs, on link up, when the RMII
>>> 10/100 internal interface is used. The problem does not happen on boards
>>> using the external RGMII 10/100/1000 interface. Initially we suspected the
>>> PHY to be the problem but after a lot of testing, the problem seems to be
>>> coming from the MAC controller.
>>>
>>>> meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
>>>> meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
>>>> meson8b-dwmac c9410000.ethernet: PTP uses main clock
>>>> meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
>>>> meson8b-dwmac c9410000.ethernet:     DWMAC1000
>>>> meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
>>>> meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
>>>> meson8b-dwmac c9410000.ethernet: COE Type 2
>>>> meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
>>>> meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
>>>> meson8b-dwmac c9410000.ethernet: Normal descriptors
>>>> meson8b-dwmac c9410000.ethernet: Ring mode enabled
>>>> meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
>>>
>>> The problem is not systematic. Its occurence is very random from 1/50 to
>>> 1/2. It is fairly easy to detect by setting the kernel to boot over NFS and
>>> possibly setting it to reboot automatically when reaching the prompt.
>>>
>>> When problem happens, the link is reported up by the PHY but no packet are
>>> actually going out. DHCP requests eventually times out and the kernel reset
>>> the interface. It may take several attempts but it will eventually work.
>>>
>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>>>> Sending DHCP requests ...... timed out!
>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
>>>> IP-Config: Retrying forever (NFS root)...
>>>> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
>>>> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
>>>> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
>>>> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
>>>> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>>>> Sending DHCP requests ...... timed out!
>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
>>>> IP-Config: Retrying forever (NFS root)...
>>>> [...] 5 retries ...
>>>> IP-Config: Retrying forever (NFS root)...
>>>> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
>>>> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
>>>> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
>>>> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
>>>> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>>>> Sending DHCP requests ., OK
>>>> IP-Config: Got DHCP answer from 10.1.1.1, my address is 10.1.3.229
>>>
>>> Of course the same problem happens when not using NFS and it fairly
>>> difficult for IoT products to detect this situation and recover.
>>>
>>> The call to stmmac_mac_set() should be no-op in our case, the bits it sets
>>> have already been set by an earlier call to stmmac_mac_set(). However
>>> removing this call solves the problem. We have no idea why or what is the
>>> actual problem.
>>>
>>> Even weirder, keeping the call to stmmac_mac_set() but inserting a
>>> udelay(1) between writel() and stmmac_mac_set() solves the problem too.
>>>
>>> Suggested-by: Qi Duan <qi.duan@amlogic.com>
>>> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
>>> ---
>>>
>>>  Hi,
>>>
>>>  There is no intention to get this patch merged as it is.
>>>  It is sent with the hope to get a better understanding of the issue
>>>  and more testing.
>>>
>>>  The discussion on this issue initially started on this thread
>>>  https://lore.kernel.org/all/CAK4VdL3-BEBzgVXTMejrAmDjOorvoGDBZ14UFrDrKxVEMD2Zjg@mail.gmail.com/
>>>
>>>  The patches previously proposed in this thread have not solved the
>>>  problem.
>>>
>>>  The line removed in this patch should be a no-op when it comes to the
>>>  value of MAC_CTRL_REG. So the change should make not a difference but
>>>  it does. Testing result have been very good so far so there must be an
>>>  unexpected consequence on the HW. I hope that someone with more
>>>  knowledge on this controller will be able to shine some light on this.
>>>
>>>  Cheers
>>>  Jerome
>>>
>>>  drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 -
>>>  1 file changed, 1 deletion(-)
>>>
>>> diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
>>> index d1a7cf4567bc..3dca3cc61f39 100644
>>> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
>>> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
>>> @@ -1072,7 +1072,6 @@ static void stmmac_mac_link_up(struct phylink_config *config,
>>>
>>>       writel(ctrl, priv->ioaddr + MAC_CTRL_REG);
>>>
>>> -     stmmac_mac_set(priv, priv->ioaddr, true);
>>>       if (phy && priv->dma_cap.eee) {
>>>               priv->eee_active = phy_init_eee(phy, 1) >= 0;
>>>               priv->eee_enabled = stmmac_eee_init(priv);
>>
>> Now that we have a3a57bf07de2 ("net: stmmac: work around sporadic tx issue on link-up")
>> in linux-next and scheduled for stable:
>>
>> Jerome, can you confirm that after this commit the following is no longer needed?
>> 2c87c6f9fbdd ("net: phy: meson-gxl: improve link-up behavior")
>>
>> Then I'd revert it, referencing the successor workaround / fix in stmmac.


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-08-26 20:36     ` Heiner Kallweit
@ 2022-08-27 20:23       ` Da Xue
  2022-08-29  7:39         ` Neil Armstrong
  2022-08-29 10:01       ` Jerome Brunet
  1 sibling, 1 reply; 12+ messages in thread
From: Da Xue @ 2022-08-27 20:23 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: Jerome Brunet, Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	Erico Nunes, netdev, linux-amlogic, Kevin Hilman, Neil Armstrong,
	Vyacheslav, Qi Duan

On Fri, Aug 26, 2022 at 4:36 PM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>
> On 26.08.2022 17:45, Da Xue wrote:
> > Hi Heiner,
> >
> > I have been running with the patch reverted for about two weeks now
> > without issue but I have a modified u-boot with ethernet bringup
> > disabled.
> >
> > If u-boot brings up ethernet, all of the GXL boards with more than 1GB
> > memory experience various bugs. I had to bring the PHY initialization
> > patch into Linux proper:
> > https://github.com/libre-computer-project/libretech-linux/commit/1a4004c11877d4239b57b182da1ce69a81c0150c
> >
> Thanks for the follow-up. To be acceptable upstream I'm pretty sure that
> the maintainer is going to request replacing magic number 0x10110181
> with or'ing proper constants for the respective bits and fields.

Yes, it's a 32-bit field with a 32-bit value per the datasheet so a
full write will do without bits and xors. This was just a quick patch
from Duan. The patch as-is is not meant for upstream. I don't have any
ODROID-C2 to test GXBB so can someone please confirm it doesn't blow
anything up there? or maybe this should be a quirk for GXL only.

>
> > Hope this helps someone.
> >
> > Best,
> >
> > Da
> >
> > On Fri, Aug 26, 2022 at 5:51 AM Heiner Kallweit <hkallweit1@gmail.com> wrote:
> >>
> >> On 07.07.2022 12:14, Jerome Brunet wrote:
> >>> For some reason, poking MAC_CTRL_REG a second time, even with the same
> >>> value, causes problem on a dwmac 3.70a.
> >>>
> >>> This problem happens on all the Amlogic SoCs, on link up, when the RMII
> >>> 10/100 internal interface is used. The problem does not happen on boards
> >>> using the external RGMII 10/100/1000 interface. Initially we suspected the
> >>> PHY to be the problem but after a lot of testing, the problem seems to be
> >>> coming from the MAC controller.
> >>>
> >>>> meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
> >>>> meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
> >>>> meson8b-dwmac c9410000.ethernet: PTP uses main clock
> >>>> meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
> >>>> meson8b-dwmac c9410000.ethernet:     DWMAC1000
> >>>> meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
> >>>> meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
> >>>> meson8b-dwmac c9410000.ethernet: COE Type 2
> >>>> meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
> >>>> meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
> >>>> meson8b-dwmac c9410000.ethernet: Normal descriptors
> >>>> meson8b-dwmac c9410000.ethernet: Ring mode enabled
> >>>> meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
> >>>
> >>> The problem is not systematic. Its occurence is very random from 1/50 to
> >>> 1/2. It is fairly easy to detect by setting the kernel to boot over NFS and
> >>> possibly setting it to reboot automatically when reaching the prompt.
> >>>
> >>> When problem happens, the link is reported up by the PHY but no packet are
> >>> actually going out. DHCP requests eventually times out and the kernel reset
> >>> the interface. It may take several attempts but it will eventually work.
> >>>
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> >>>> Sending DHCP requests ...... timed out!
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
> >>>> IP-Config: Retrying forever (NFS root)...
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> >>>> Sending DHCP requests ...... timed out!
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
> >>>> IP-Config: Retrying forever (NFS root)...
> >>>> [...] 5 retries ...
> >>>> IP-Config: Retrying forever (NFS root)...
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
> >>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
> >>>> Sending DHCP requests ., OK
> >>>> IP-Config: Got DHCP answer from 10.1.1.1, my address is 10.1.3.229
> >>>
> >>> Of course the same problem happens when not using NFS and it fairly
> >>> difficult for IoT products to detect this situation and recover.
> >>>
> >>> The call to stmmac_mac_set() should be no-op in our case, the bits it sets
> >>> have already been set by an earlier call to stmmac_mac_set(). However
> >>> removing this call solves the problem. We have no idea why or what is the
> >>> actual problem.
> >>>
> >>> Even weirder, keeping the call to stmmac_mac_set() but inserting a
> >>> udelay(1) between writel() and stmmac_mac_set() solves the problem too.
> >>>
> >>> Suggested-by: Qi Duan <qi.duan@amlogic.com>
> >>> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> >>> ---
> >>>
> >>>  Hi,
> >>>
> >>>  There is no intention to get this patch merged as it is.
> >>>  It is sent with the hope to get a better understanding of the issue
> >>>  and more testing.
> >>>
> >>>  The discussion on this issue initially started on this thread
> >>>  https://lore.kernel.org/all/CAK4VdL3-BEBzgVXTMejrAmDjOorvoGDBZ14UFrDrKxVEMD2Zjg@mail.gmail.com/
> >>>
> >>>  The patches previously proposed in this thread have not solved the
> >>>  problem.
> >>>
> >>>  The line removed in this patch should be a no-op when it comes to the
> >>>  value of MAC_CTRL_REG. So the change should make not a difference but
> >>>  it does. Testing result have been very good so far so there must be an
> >>>  unexpected consequence on the HW. I hope that someone with more
> >>>  knowledge on this controller will be able to shine some light on this.
> >>>
> >>>  Cheers
> >>>  Jerome
> >>>
> >>>  drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 -
> >>>  1 file changed, 1 deletion(-)
> >>>
> >>> diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> >>> index d1a7cf4567bc..3dca3cc61f39 100644
> >>> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> >>> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
> >>> @@ -1072,7 +1072,6 @@ static void stmmac_mac_link_up(struct phylink_config *config,
> >>>
> >>>       writel(ctrl, priv->ioaddr + MAC_CTRL_REG);
> >>>
> >>> -     stmmac_mac_set(priv, priv->ioaddr, true);
> >>>       if (phy && priv->dma_cap.eee) {
> >>>               priv->eee_active = phy_init_eee(phy, 1) >= 0;
> >>>               priv->eee_enabled = stmmac_eee_init(priv);
> >>
> >> Now that we have a3a57bf07de2 ("net: stmmac: work around sporadic tx issue on link-up")
> >> in linux-next and scheduled for stable:
> >>
> >> Jerome, can you confirm that after this commit the following is no longer needed?
> >> 2c87c6f9fbdd ("net: phy: meson-gxl: improve link-up behavior")
> >>
> >> Then I'd revert it, referencing the successor workaround / fix in stmmac.
>

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-08-27 20:23       ` Da Xue
@ 2022-08-29  7:39         ` Neil Armstrong
  0 siblings, 0 replies; 12+ messages in thread
From: Neil Armstrong @ 2022-08-29  7:39 UTC (permalink / raw)
  To: Da Xue, Heiner Kallweit
  Cc: Jerome Brunet, Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu,
	Erico Nunes, netdev, linux-amlogic, Kevin Hilman, Vyacheslav,
	Qi Duan

On 27/08/2022 22:23, Da Xue wrote:
> On Fri, Aug 26, 2022 at 4:36 PM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>>
>> On 26.08.2022 17:45, Da Xue wrote:
>>> Hi Heiner,
>>>
>>> I have been running with the patch reverted for about two weeks now
>>> without issue but I have a modified u-boot with ethernet bringup
>>> disabled.
>>>
>>> If u-boot brings up ethernet, all of the GXL boards with more than 1GB
>>> memory experience various bugs. I had to bring the PHY initialization
>>> patch into Linux proper:
>>> https://github.com/libre-computer-project/libretech-linux/commit/1a4004c11877d4239b57b182da1ce69a81c0150c
>>>
>> Thanks for the follow-up. To be acceptable upstream I'm pretty sure that
>> the maintainer is going to request replacing magic number 0x10110181
>> with or'ing proper constants for the respective bits and fields.
> 
> Yes, it's a 32-bit field with a 32-bit value per the datasheet so a
> full write will do without bits and xors. This was just a quick patch
> from Duan. The patch as-is is not meant for upstream. I don't have any
> ODROID-C2 to test GXBB so can someone please confirm it doesn't blow
> anything up there? or maybe this should be a quirk for GXL only.

This register is only valid on GXL& GXM, and is part of the PHY MUX.

Today we use the MDIO MMIO mux, whoch works but is verly limited, we should
instead have a proper MDIO mux for GXL like we have for G12A.

With such driver we would initialize all PHY MUX registers, including this one.

Neil

> 
>>
>>> Hope this helps someone.
>>>
>>> Best,
>>>
>>> Da
>>>
>>> On Fri, Aug 26, 2022 at 5:51 AM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>>>>
>>>> On 07.07.2022 12:14, Jerome Brunet wrote:
>>>>> For some reason, poking MAC_CTRL_REG a second time, even with the same
>>>>> value, causes problem on a dwmac 3.70a.
>>>>>
>>>>> This problem happens on all the Amlogic SoCs, on link up, when the RMII
>>>>> 10/100 internal interface is used. The problem does not happen on boards
>>>>> using the external RGMII 10/100/1000 interface. Initially we suspected the
>>>>> PHY to be the problem but after a lot of testing, the problem seems to be
>>>>> coming from the MAC controller.
>>>>>
>>>>>> meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
>>>>>> meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
>>>>>> meson8b-dwmac c9410000.ethernet: PTP uses main clock
>>>>>> meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
>>>>>> meson8b-dwmac c9410000.ethernet:     DWMAC1000
>>>>>> meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
>>>>>> meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
>>>>>> meson8b-dwmac c9410000.ethernet: COE Type 2
>>>>>> meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
>>>>>> meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
>>>>>> meson8b-dwmac c9410000.ethernet: Normal descriptors
>>>>>> meson8b-dwmac c9410000.ethernet: Ring mode enabled
>>>>>> meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
>>>>>
>>>>> The problem is not systematic. Its occurence is very random from 1/50 to
>>>>> 1/2. It is fairly easy to detect by setting the kernel to boot over NFS and
>>>>> possibly setting it to reboot automatically when reaching the prompt.
>>>>>
>>>>> When problem happens, the link is reported up by the PHY but no packet are
>>>>> actually going out. DHCP requests eventually times out and the kernel reset
>>>>> the interface. It may take several attempts but it will eventually work.
>>>>>
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>>>>>> Sending DHCP requests ...... timed out!
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
>>>>>> IP-Config: Retrying forever (NFS root)...
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>>>>>> Sending DHCP requests ...... timed out!
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
>>>>>> IP-Config: Retrying forever (NFS root)...
>>>>>> [...] 5 retries ...
>>>>>> IP-Config: Retrying forever (NFS root)...
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
>>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>>>>>> Sending DHCP requests ., OK
>>>>>> IP-Config: Got DHCP answer from 10.1.1.1, my address is 10.1.3.229
>>>>>
>>>>> Of course the same problem happens when not using NFS and it fairly
>>>>> difficult for IoT products to detect this situation and recover.
>>>>>
>>>>> The call to stmmac_mac_set() should be no-op in our case, the bits it sets
>>>>> have already been set by an earlier call to stmmac_mac_set(). However
>>>>> removing this call solves the problem. We have no idea why or what is the
>>>>> actual problem.
>>>>>
>>>>> Even weirder, keeping the call to stmmac_mac_set() but inserting a
>>>>> udelay(1) between writel() and stmmac_mac_set() solves the problem too.
>>>>>
>>>>> Suggested-by: Qi Duan <qi.duan@amlogic.com>
>>>>> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
>>>>> ---
>>>>>
>>>>>   Hi,
>>>>>
>>>>>   There is no intention to get this patch merged as it is.
>>>>>   It is sent with the hope to get a better understanding of the issue
>>>>>   and more testing.
>>>>>
>>>>>   The discussion on this issue initially started on this thread
>>>>>   https://lore.kernel.org/all/CAK4VdL3-BEBzgVXTMejrAmDjOorvoGDBZ14UFrDrKxVEMD2Zjg@mail.gmail.com/
>>>>>
>>>>>   The patches previously proposed in this thread have not solved the
>>>>>   problem.
>>>>>
>>>>>   The line removed in this patch should be a no-op when it comes to the
>>>>>   value of MAC_CTRL_REG. So the change should make not a difference but
>>>>>   it does. Testing result have been very good so far so there must be an
>>>>>   unexpected consequence on the HW. I hope that someone with more
>>>>>   knowledge on this controller will be able to shine some light on this.
>>>>>
>>>>>   Cheers
>>>>>   Jerome
>>>>>
>>>>>   drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 -
>>>>>   1 file changed, 1 deletion(-)
>>>>>
>>>>> diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
>>>>> index d1a7cf4567bc..3dca3cc61f39 100644
>>>>> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
>>>>> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
>>>>> @@ -1072,7 +1072,6 @@ static void stmmac_mac_link_up(struct phylink_config *config,
>>>>>
>>>>>        writel(ctrl, priv->ioaddr + MAC_CTRL_REG);
>>>>>
>>>>> -     stmmac_mac_set(priv, priv->ioaddr, true);
>>>>>        if (phy && priv->dma_cap.eee) {
>>>>>                priv->eee_active = phy_init_eee(phy, 1) >= 0;
>>>>>                priv->eee_enabled = stmmac_eee_init(priv);
>>>>
>>>> Now that we have a3a57bf07de2 ("net: stmmac: work around sporadic tx issue on link-up")
>>>> in linux-next and scheduled for stable:
>>>>
>>>> Jerome, can you confirm that after this commit the following is no longer needed?
>>>> 2c87c6f9fbdd ("net: phy: meson-gxl: improve link-up behavior")
>>>>
>>>> Then I'd revert it, referencing the successor workaround / fix in stmmac.
>>


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-08-26 20:36     ` Heiner Kallweit
  2022-08-27 20:23       ` Da Xue
@ 2022-08-29 10:01       ` Jerome Brunet
  2022-08-29 10:29         ` Erico Nunes
  1 sibling, 1 reply; 12+ messages in thread
From: Jerome Brunet @ 2022-08-29 10:01 UTC (permalink / raw)
  To: Heiner Kallweit, Da Xue
  Cc: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu, Erico Nunes,
	netdev, linux-amlogic, Kevin Hilman, Neil Armstrong, Vyacheslav,
	Qi Duan


On Fri 26 Aug 2022 at 22:36, Heiner Kallweit <hkallweit1@gmail.com> wrote:

> On 26.08.2022 17:45, Da Xue wrote:
>> Hi Heiner,
>> 
>> I have been running with the patch reverted for about two weeks now
>> without issue but I have a modified u-boot with ethernet bringup
>> disabled.
>> 
>> If u-boot brings up ethernet, all of the GXL boards with more than 1GB
>> memory experience various bugs. I had to bring the PHY initialization
>> patch into Linux proper:
>> https://github.com/libre-computer-project/libretech-linux/commit/1a4004c11877d4239b57b182da1ce69a81c0150c
>> 
> Thanks for the follow-up. To be acceptable upstream I'm pretty sure that
> the maintainer is going to request replacing magic number 0x10110181
> with or'ing proper constants for the respective bits and fields.
>
>> Hope this helps someone.
>> 
>> Best,
>> 
>> Da
>> 
>> On Fri, Aug 26, 2022 at 5:51 AM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>>>
>>> On 07.07.2022 12:14, Jerome Brunet wrote:
>>>> For some reason, poking MAC_CTRL_REG a second time, even with the same
>>>> value, causes problem on a dwmac 3.70a.
>>>>
>>>> This problem happens on all the Amlogic SoCs, on link up, when the RMII
>>>> 10/100 internal interface is used. The problem does not happen on boards
>>>> using the external RGMII 10/100/1000 interface. Initially we suspected the
>>>> PHY to be the problem but after a lot of testing, the problem seems to be
>>>> coming from the MAC controller.
>>>>
>>>>> meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found
>>>>> meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found
>>>>> meson8b-dwmac c9410000.ethernet: PTP uses main clock
>>>>> meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
>>>>> meson8b-dwmac c9410000.ethernet:     DWMAC1000
>>>>> meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
>>>>> meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
>>>>> meson8b-dwmac c9410000.ethernet: COE Type 2
>>>>> meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
>>>>> meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
>>>>> meson8b-dwmac c9410000.ethernet: Normal descriptors
>>>>> meson8b-dwmac c9410000.ethernet: Ring mode enabled
>>>>> meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
>>>>
>>>> The problem is not systematic. Its occurence is very random from 1/50 to
>>>> 1/2. It is fairly easy to detect by setting the kernel to boot over NFS and
>>>> possibly setting it to reboot automatically when reaching the prompt.
>>>>
>>>> When problem happens, the link is reported up by the PHY but no packet are
>>>> actually going out. DHCP requests eventually times out and the kernel reset
>>>> the interface. It may take several attempts but it will eventually work.
>>>>
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>>>>> Sending DHCP requests ...... timed out!
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
>>>>> IP-Config: Retrying forever (NFS root)...
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>>>>> Sending DHCP requests ...... timed out!
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Down
>>>>> IP-Config: Retrying forever (NFS root)...
>>>>> [...] 5 retries ...
>>>>> IP-Config: Retrying forever (NFS root)...
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=POLL)
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode
>>>>> meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
>>>>> Sending DHCP requests ., OK
>>>>> IP-Config: Got DHCP answer from 10.1.1.1, my address is 10.1.3.229
>>>>
>>>> Of course the same problem happens when not using NFS and it fairly
>>>> difficult for IoT products to detect this situation and recover.
>>>>
>>>> The call to stmmac_mac_set() should be no-op in our case, the bits it sets
>>>> have already been set by an earlier call to stmmac_mac_set(). However
>>>> removing this call solves the problem. We have no idea why or what is the
>>>> actual problem.
>>>>
>>>> Even weirder, keeping the call to stmmac_mac_set() but inserting a
>>>> udelay(1) between writel() and stmmac_mac_set() solves the problem too.
>>>>
>>>> Suggested-by: Qi Duan <qi.duan@amlogic.com>
>>>> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
>>>> ---
>>>>
>>>>  Hi,
>>>>
>>>>  There is no intention to get this patch merged as it is.
>>>>  It is sent with the hope to get a better understanding of the issue
>>>>  and more testing.
>>>>
>>>>  The discussion on this issue initially started on this thread
>>>>  https://lore.kernel.org/all/CAK4VdL3-BEBzgVXTMejrAmDjOorvoGDBZ14UFrDrKxVEMD2Zjg@mail.gmail.com/
>>>>
>>>>  The patches previously proposed in this thread have not solved the
>>>>  problem.
>>>>
>>>>  The line removed in this patch should be a no-op when it comes to the
>>>>  value of MAC_CTRL_REG. So the change should make not a difference but
>>>>  it does. Testing result have been very good so far so there must be an
>>>>  unexpected consequence on the HW. I hope that someone with more
>>>>  knowledge on this controller will be able to shine some light on this.
>>>>
>>>>  Cheers
>>>>  Jerome
>>>>
>>>>  drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 -
>>>>  1 file changed, 1 deletion(-)
>>>>
>>>> diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
>>>> index d1a7cf4567bc..3dca3cc61f39 100644
>>>> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
>>>> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
>>>> @@ -1072,7 +1072,6 @@ static void stmmac_mac_link_up(struct phylink_config *config,
>>>>
>>>>       writel(ctrl, priv->ioaddr + MAC_CTRL_REG);
>>>>
>>>> -     stmmac_mac_set(priv, priv->ioaddr, true);
>>>>       if (phy && priv->dma_cap.eee) {
>>>>               priv->eee_active = phy_init_eee(phy, 1) >= 0;
>>>>               priv->eee_enabled = stmmac_eee_init(priv);
>>>
>>> Now that we have a3a57bf07de2 ("net: stmmac: work around sporadic tx issue on link-up")
>>> in linux-next and scheduled for stable:

I will

>>>
>>> Jerome, can you confirm that after this commit the following is no longer needed?
>>> 2c87c6f9fbdd ("net: phy: meson-gxl: improve link-up behavior")

This never had any meaningful impact for me. I have already reverted it
for testing.

I'm all for reverting it

>>>
>>> Then I'd revert it, referencing the successor workaround / fix in stmmac.


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-08-29 10:01       ` Jerome Brunet
@ 2022-08-29 10:29         ` Erico Nunes
  2022-08-29 18:25           ` Heiner Kallweit
  0 siblings, 1 reply; 12+ messages in thread
From: Erico Nunes @ 2022-08-29 10:29 UTC (permalink / raw)
  To: Jerome Brunet
  Cc: Heiner Kallweit, Da Xue, Giuseppe Cavallaro, Alexandre Torgue,
	Jose Abreu, netdev, linux-amlogic, Kevin Hilman, Neil Armstrong,
	Vyacheslav, Qi Duan

On Mon, Aug 29, 2022 at 12:02 PM Jerome Brunet <jbrunet@baylibre.com> wrote:
> >>> Jerome, can you confirm that after this commit the following is no longer needed?
> >>> 2c87c6f9fbdd ("net: phy: meson-gxl: improve link-up behavior")
>
> This never had any meaningful impact for me. I have already reverted it
> for testing.
>
> I'm all for reverting it
>
> >>>
> >>> Then I'd revert it, referencing the successor workaround / fix in stmmac.
If we are considering to revert that, I would like to trigger some
tests on my S805X CI board farm as well, to ensure it won't regress
later. That was one of the original reasons for that patch.

Since there are some more changes referenced in this thread, can
someone clarify what is the desired state to test? Just revert
2c87c6f9fbdd on top of linux-next, or also apply some other patch?

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-08-29 10:29         ` Erico Nunes
@ 2022-08-29 18:25           ` Heiner Kallweit
  2022-09-13  7:55             ` Erico Nunes
  0 siblings, 1 reply; 12+ messages in thread
From: Heiner Kallweit @ 2022-08-29 18:25 UTC (permalink / raw)
  To: Erico Nunes, Jerome Brunet
  Cc: Da Xue, Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu, netdev,
	linux-amlogic, Kevin Hilman, Neil Armstrong, Vyacheslav, Qi Duan

On 29.08.2022 12:29, Erico Nunes wrote:
> On Mon, Aug 29, 2022 at 12:02 PM Jerome Brunet <jbrunet@baylibre.com> wrote:
>>>>> Jerome, can you confirm that after this commit the following is no longer needed?
>>>>> 2c87c6f9fbdd ("net: phy: meson-gxl: improve link-up behavior")
>>
>> This never had any meaningful impact for me. I have already reverted it
>> for testing.
>>
>> I'm all for reverting it
>>
>>>>>
>>>>> Then I'd revert it, referencing the successor workaround / fix in stmmac.
> If we are considering to revert that, I would like to trigger some
> tests on my S805X CI board farm as well, to ensure it won't regress
> later. That was one of the original reasons for that patch.
> 
> Since there are some more changes referenced in this thread, can
> someone clarify what is the desired state to test? Just revert
> 2c87c6f9fbdd on top of linux-next, or also apply some other patch?

Yes, just revert 2c87c6f9fbdd on top of linux-next.

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up
  2022-08-29 18:25           ` Heiner Kallweit
@ 2022-09-13  7:55             ` Erico Nunes
  0 siblings, 0 replies; 12+ messages in thread
From: Erico Nunes @ 2022-09-13  7:55 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: Jerome Brunet, Da Xue, Giuseppe Cavallaro, Alexandre Torgue,
	Jose Abreu, netdev, linux-amlogic, Kevin Hilman, Neil Armstrong,
	Vyacheslav, Qi Duan

On Mon, Aug 29, 2022 at 8:25 PM Heiner Kallweit <hkallweit1@gmail.com> wrote:
>
> On 29.08.2022 12:29, Erico Nunes wrote:
> > On Mon, Aug 29, 2022 at 12:02 PM Jerome Brunet <jbrunet@baylibre.com> wrote:
> >>>>> Jerome, can you confirm that after this commit the following is no longer needed?
> >>>>> 2c87c6f9fbdd ("net: phy: meson-gxl: improve link-up behavior")
> >>
> >> This never had any meaningful impact for me. I have already reverted it
> >> for testing.
> >>
> >> I'm all for reverting it
> >>
> >>>>>
> >>>>> Then I'd revert it, referencing the successor workaround / fix in stmmac.
> > If we are considering to revert that, I would like to trigger some
> > tests on my S805X CI board farm as well, to ensure it won't regress
> > later. That was one of the original reasons for that patch.
> >
> > Since there are some more changes referenced in this thread, can
> > someone clarify what is the desired state to test? Just revert
> > 2c87c6f9fbdd on top of linux-next, or also apply some other patch?
>
> Yes, just revert 2c87c6f9fbdd on top of linux-next.

I see that the revert is already applied.
For what it's worth I ran have been running some test jobs on my CI
farm with linux-next and the patch reverted and haven't reproduced the
bug that originally prompted 2c87c6f9fbdd so far. So it seems to me
that that patch is indeed no longer needed.

Thanks

Erico

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-09-13  7:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-07 10:14 [RFC/RFT PATCH] net: stmmac: do not poke MAC_CTRL_REG twice on link up Jerome Brunet
2022-07-13  9:24 ` Da Xue
2022-07-15  6:58   ` Da Xue
2022-08-26  9:51 ` Heiner Kallweit
2022-08-26 15:45   ` Da Xue
2022-08-26 20:36     ` Heiner Kallweit
2022-08-27 20:23       ` Da Xue
2022-08-29  7:39         ` Neil Armstrong
2022-08-29 10:01       ` Jerome Brunet
2022-08-29 10:29         ` Erico Nunes
2022-08-29 18:25           ` Heiner Kallweit
2022-09-13  7:55             ` Erico Nunes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).