Skip to contentSkip to conversation

PCI: endpoint: Fix use after free in pci_epf_remove_cfs()

PATCH In review Shunsuke Mie 4 participants 6 messages Jun 21, 2021 – Dec 10, 2021

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

PATCH 1/1 PCI: endpoint: Fix use after free in pci_epf_remove_cfs()

All of entries are freed in a loop, however, the freed entry is accessed by list_del() after the loop.

When epf driver that includes pci-epf-test unload, the pci_epf_remove_cfs() is called, and occurred the use after free. Therefore, kernel panics randomly after or while the module unloading.

I tested this patch with r8a77951-Salvator-xs boards.

Fixes ef1433f ("PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry")
---
 drivers/pci/endpoint/pci-epf-core.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/pci/endpoint/pci-epf-core.c +3 -1
index e9289d10f822..538e902b0ba6 100644
@@ -202,8 +202,10 @@ static void pci_epf_remove_cfs(struct pci_epf_driver *driver)
 		return;
 
 	mutex_lock(&pci_epf_mutex);
-	list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry)
+	list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry) {
+		list_del(&group->group_entry);
 		pci_ep_cfs_remove_epf_group(group);
+	}
 	list_del(&driver->epf_group);
 	mutex_unlock(&pci_epf_mutex);
 }
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 7 lines · Shunsuke Mie

All of entries are freed in a loop, however, the freed entry is accessed by list_del() after the loop.

When epf driver that includes pci-epf-test unload, the pci_epf_remove_cfs() is called, and occurred the use after free. Therefore, kernel panics randomly after or while the module unloading.

Quoted 7 lines

I tested this patch with r8a77951-Salvator-xs boards.

Fixes ef1433f ("PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry")
---
 drivers/pci/endpoint/pci-epf-core.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

<formletter>

This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>

#2 lore raw
In reply to Shunsuke Mie

[dropped stable, erroneously added to the CC list]

Quoted 7 lines · Shunsuke Mie

All of entries are freed in a loop, however, the freed entry is accessed by list_del() after the loop.

When epf driver that includes pci-epf-test unload, the pci_epf_remove_cfs() is called, and occurred the use after free. Therefore, kernel panics randomly after or while the module unloading.

Quoted 7 lines

I tested this patch with r8a77951-Salvator-xs boards.

Fixes ef1433f ("PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry")
---
 drivers/pci/endpoint/pci-epf-core.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Kishon, please review this patch, thanks.

Lorenzo

Quoted 20 lines
drivers/pci/endpoint/pci-epf-core.c +3 -1
index e9289d10f822..538e902b0ba6 100644
@@ -202,8 +202,10 @@ static void pci_epf_remove_cfs(struct pci_epf_driver *driver)
 		return;
 
 	mutex_lock(&pci_epf_mutex);
-	list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry)
+	list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry) {
+		list_del(&group->group_entry);
 		pci_ep_cfs_remove_epf_group(group);
+	}
 	list_del(&driver->epf_group);
 	mutex_unlock(&pci_epf_mutex);
 }
Signature · 1 line
2.17.1
#3 lore raw
In reply to Shunsuke Mie

Hi Shunsuke,

Quoted 8 lines · Shunsuke Mie

All of entries are freed in a loop, however, the freed entry is accessed by list_del() after the loop.

When epf driver that includes pci-epf-test unload, the pci_epf_remove_cfs() is called, and occurred the use after free. Therefore, kernel panics randomly after or while the module unloading.

I tested this patch with r8a77951-Salvator-xs boards.

Can you provide the crash dump?

Quoted 12 lines
Fixes ef1433f ("PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry")
---
 drivers/pci/endpoint/pci-epf-core.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/pci/endpoint/pci-epf-core.c +0 -0
index e9289d10f822..538e902b0ba6 100644

drivers/pci/endpoint/pci-epf-core.c static void pci_epf_remove_cfs(struct pci_epf_driver *driver) · line 206

Quoted 6 lines
drivers/pci/endpoint/pci-epf-core.c +2 -1
@@ -202,8 +202,10 @@ static void pci_epf_remove_cfs(struct pci_epf_driver *driver)
 		return;
 
 	mutex_lock(&pci_epf_mutex);
-	list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry)
+	list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry) {
+		list_del(&group->group_entry);

Need full crash dump to see if this is really required or not. Ideally this should be handled by configfs (or a configfs API could be used).

Thanks,
Kishon

#4 lore raw

Hi Kishon,

2021年12月7日(火) 16:26 Kishon Vijay Abraham I <[email protected]>:

Quoted 7 lines

Hi Shunsuke,

Quoted 3 lines · Shunsuke Mie

All of entries are freed in a loop, however, the freed entry is accessed by list_del() after the loop.

Quoted 7 lines
Quoted 5 lines

When epf driver that includes pci-epf-test unload, the pci_epf_remove_cfs() is called, and occurred the use after free. Therefore, kernel panics randomly after or while the module unloading.

I tested this patch with r8a77951-Salvator-xs boards.

Can you provide the crash dump?

Ok. However, that is use-after-free bug. so, the crash log is changed randomly. I'll send some crash dumps.

Quoted 24 lines
Quoted 12 lines
Fixes ef1433f ("PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry")
---
 drivers/pci/endpoint/pci-epf-core.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/pci/endpoint/pci-epf-core.c +0 -0
index e9289d10f822..538e902b0ba6 100644

drivers/pci/endpoint/pci-epf-core.c static void pci_epf_remove_cfs(struct pci_epf_driver *driver) · line 206

Quoted 6 lines
drivers/pci/endpoint/pci-epf-core.c +2 -1
@@ -202,8 +202,10 @@ static void pci_epf_remove_cfs(struct pci_epf_driver *driver)
              return;
 
      mutex_lock(&pci_epf_mutex);
-     list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry)
+     list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry) {
+             list_del(&group->group_entry);

Need full crash dump to see if this is really required or not. Ideally this should be handled by configfs (or a configfs API could be used).

Thanks,
Kishon

#5 lore raw

Hi Kishon,

This is the crash log. I think you can reproduce this problem by loading and unloading the pci-epf-test modules some times, but I don't think you'll see similar logs in your environment.

The pci_ep_cfs_remove_epf_group function calls kfree for the group, however a member of group, `group_entry``, is accessed by a list_del() after the loop. The patch changes to remove list entries to prevent the accessing after freed object.

Thanks,
Shunsuke

2021年12月7日(火) 16:44 Shunsuke Mie <[email protected]>:

Quoted 15 lines

Hi Kishon,

2021年12月7日(火) 16:26 Kishon Vijay Abraham I <[email protected]>:

Quoted 11 lines

Hi Shunsuke,

Quoted 7 lines · Shunsuke Mie

All of entries are freed in a loop, however, the freed entry is accessed by list_del() after the loop.

When epf driver that includes pci-epf-test unload, the pci_epf_remove_cfs() is called, and occurred the use after free. Therefore, kernel panics randomly after or while the module unloading.

Quoted 29 lines
Quoted 3 lines
Quoted 1 line

I tested this patch with r8a77951-Salvator-xs boards.

Can you provide the crash dump?

Ok. However, that is use-after-free bug. so, the crash log is changed randomly. I'll send some crash dumps.

Quoted 24 lines
Quoted 12 lines
Fixes ef1433f ("PCI: endpoint: Create configfs entry for each pci_epf_device_id table entry")
---
 drivers/pci/endpoint/pci-epf-core.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/pci/endpoint/pci-epf-core.c +0 -0
index e9289d10f822..538e902b0ba6 100644

drivers/pci/endpoint/pci-epf-core.c static void pci_epf_remove_cfs(struct pci_epf_driver *driver) · line 206

Quoted 6 lines
drivers/pci/endpoint/pci-epf-core.c +2 -1
@@ -202,8 +202,10 @@ static void pci_epf_remove_cfs(struct pci_epf_driver *driver)
              return;
 
      mutex_lock(&pci_epf_mutex);
-     list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry)
+     list_for_each_entry_safe(group, tmp, &driver->epf_group, group_entry) {
+             list_del(&group->group_entry);

Need full crash dump to see if this is really required or not. Ideally this should be handled by configfs (or a configfs API could be used).

Thanks,
Kishon

dmesg

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd073]
[    0.000000] Linux version 5.15.0-rc6-00857-gb5b5de386df9 (mie@tyrell) (aarch64-poky-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #49 SMP PREEMPT Mon Nov 22 19:42:56 JST 2021
[    0.000000] Machine model: Renesas Salvator-X 2nd version board based on r8a77951
[    0.000000] printk: debug: ignoring loglevel setting.
[    0.000000] efi: UEFI not found.
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000048000000-0x000000077fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x77efcbc00-0x77efcdfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000048000000-0x000000007fffffff]
[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000077fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000048000000-0x00000000bfffffff]
[    0.000000]   node   0: [mem 0x0000000500000000-0x000000057fffffff]
[    0.000000]   node   0: [mem 0x0000000600000000-0x000000067fffffff]
[    0.000000]   node   0: [mem 0x0000000700000000-0x000000077fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000048000000-0x000000077fffffff]
[    0.000000] cma: Reserved 32 MiB at 0x000000007e000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS resident on physical CPU 0x0
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 19 pages/cpu s37592 r8192 d32040 u77824
[    0.000000] pcpu-alloc: s37592 r8192 d32040 u77824 alloc=19*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v2
[    0.000000] CPU features: detected: Spectre-v3a
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2032128
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: rw root=/dev/nfs nfsroot=192.168.0.1:/srv/nfs/root,nfsvers=3 ip=192.168.0.21:255.255.255.0 ignore_loglevel panic=10
[    0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x000000007a000000-0x000000007e000000] (64MB)
[    0.000000] Memory: 7965188K/8257536K available (15296K kernel code, 3374K rwdata, 8732K rodata, 6656K init, 499K bss, 259580K reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, 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=8.
[    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=8
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] random: get_random_bytes called from start_kernel+0x478/0x664 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 8.32MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1eb398c07, max_idle_ns: 440795202503 ns
[    0.000000] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255503ns
[    0.000183] Console: colour dummy device 80x25
[    0.000369] printk: console [tty0] enabled
[    0.000444] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.64 BogoMIPS (lpj=33280)
[    0.000459] pid_max: default: 32768 minimum: 301
[    0.000506] LSM: Security Framework initializing
[    0.000587] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000641] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.001967] rcu: Hierarchical SRCU implementation.
[    0.003830] Detected Renesas R-Car Gen3 r8a7795 ES3.0
[    0.005482] EFI services will not be available.
[    0.005817] smp: Bringing up secondary CPUs ...
[    0.006265] Detected PIPT I-cache on CPU1
[    0.006319] CPU1: Booted secondary processor 0x0000000001 [0x411fd073]
[    0.006769] Detected PIPT I-cache on CPU2
[    0.006799] CPU2: Booted secondary processor 0x0000000002 [0x411fd073]
[    0.007187] Detected PIPT I-cache on CPU3
[    0.007211] CPU3: Booted secondary processor 0x0000000003 [0x411fd073]
[    0.007640] CPU features: detected: ARM erratum 845719
[    0.007653] Detected VIPT I-cache on CPU4
[    0.007702] CPU4: Booted secondary processor 0x0000000100 [0x410fd034]
[    0.008177] Detected VIPT I-cache on CPU5
[    0.008205] CPU5: Booted secondary processor 0x0000000101 [0x410fd034]
[    0.008618] Detected VIPT I-cache on CPU6
[    0.008646] CPU6: Booted secondary processor 0x0000000102 [0x410fd034]
[    0.009077] Detected VIPT I-cache on CPU7
[    0.009106] CPU7: Booted secondary processor 0x0000000103 [0x410fd034]
[    0.009185] smp: Brought up 1 node, 8 CPUs
[    0.009249] SMP: Total of 8 processors activated.
[    0.009257] CPU features: detected: 32-bit EL0 Support
[    0.009262] CPU features: detected: CRC32 instructions
[    0.020812] CPU: All CPU(s) started at EL1
[    0.020855] alternatives: patching kernel code
[    0.022119] devtmpfs: initialized
[    0.027634] KASLR disabled due to lack of seed
[    0.027772] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.027792] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.028540] pinctrl core: initialized pinctrl subsystem
[    0.029201] DMI not present or invalid.
[    0.029561] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.030662] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.030865] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.031114] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.031193] audit: initializing netlink subsys (disabled)
[    0.031336] audit: type=2000 audit(0.028:1): state=initialized audit_enabled=0 res=1
[    0.032408] thermal_sys: Registered thermal governor 'step_wise'
[    0.032413] thermal_sys: Registered thermal governor 'power_allocator'
[    0.032801] cpuidle: using governor menu
[    0.032952] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.033080] ASID allocator initialised with 65536 entries
[    0.034192] Serial: AMBA PL011 UART driver
[    0.043756] sh-pfc e6060000.pinctrl: r8a77951_pfc support registered
[    0.064774] platform fea80000.csi2: Fixing up cyclic dependency with e6ef7000.video
[    0.064821] platform fea80000.csi2: Fixing up cyclic dependency with e6ef6000.video
[    0.064856] platform fea80000.csi2: Fixing up cyclic dependency with e6ef5000.video
[    0.064893] platform fea80000.csi2: Fixing up cyclic dependency with e6ef4000.video
[    0.064927] platform fea80000.csi2: Fixing up cyclic dependency with e6ef3000.video
[    0.064958] platform fea80000.csi2: Fixing up cyclic dependency with e6ef2000.video
[    0.064988] platform fea80000.csi2: Fixing up cyclic dependency with e6ef1000.video
[    0.065020] platform fea80000.csi2: Fixing up cyclic dependency with e6ef0000.video
[    0.065402] platform feaa0000.csi2: Fixing up cyclic dependency with e6ef3000.video
[    0.065435] platform feaa0000.csi2: Fixing up cyclic dependency with e6ef2000.video
[    0.065471] platform feaa0000.csi2: Fixing up cyclic dependency with e6ef1000.video
[    0.065504] platform feaa0000.csi2: Fixing up cyclic dependency with e6ef0000.video
[    0.065780] platform fead0000.hdmi: Fixing up cyclic dependency with ec500000.sound
[    0.066056] platform feae0000.hdmi: Fixing up cyclic dependency with ec500000.sound
[    0.066410] platform feb00000.display: Fixing up cyclic dependency with feae0000.hdmi
[    0.066442] platform feb00000.display: Fixing up cyclic dependency with fead0000.hdmi
[    0.067687] platform hdmi0-out: Fixing up cyclic dependency with fead0000.hdmi
[    0.067910] platform hdmi1-out: Fixing up cyclic dependency with feae0000.hdmi
[    0.070013] platform vga-encoder: Fixing up cyclic dependency with vga
[    0.070049] platform vga-encoder: Fixing up cyclic dependency with feb00000.display
[    0.074996] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.075011] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.075019] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.075027] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.075993] cryptd: max_cpu_qlen set to 1000
[    0.077952] ACPI: Interpreter disabled.
[    0.082452] iommu: Default domain type: Translated 
[    0.082466] iommu: DMA domain TLB invalidation policy: strict mode 
[    0.082758] vgaarb: loaded
[    0.082949] SCSI subsystem initialized
[    0.083046] libata version 3.00 loaded.
[    0.083183] usbcore: registered new interface driver usbfs
[    0.083209] usbcore: registered new interface driver hub
[    0.083236] usbcore: registered new device driver usb
[    0.084469] i2c-sh_mobile e60b0000.i2c: I2C adapter 7, bus speed 400000 Hz
[    0.084945] pps_core: LinuxPPS API ver. 1 registered
[    0.084954] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.084968] PTP clock support registered
[    0.085115] EDAC MC: Ver: 3.0.0
[    0.087054] FPGA manager framework
[    0.087111] Advanced Linux Sound Architecture Driver Initialized.
[    0.087771] clocksource: Switched to clocksource arch_sys_counter
[    0.087895] VFS: Disk quotas dquot_6.6.0
[    0.087938] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.088069] pnp: PnP ACPI: disabled
[    0.092032] NET: Registered PF_INET protocol family
[    0.092411] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.094689] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.094792] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.095075] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[    0.095664] TCP: Hash tables configured (established 65536 bind 65536)
[    0.095813] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.095936] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.096158] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.096512] RPC: Registered named UNIX socket transport module.
[    0.096525] RPC: Registered udp transport module.
[    0.096531] RPC: Registered tcp transport module.
[    0.096536] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.096548] PCI: CLS 0 bytes, default 64
[    0.097365] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.097641] hw perfevents: enabled with armv8_cortex_a57 PMU driver, 7 counters available
[    0.100851] Initialise system trusted keyrings
[    0.100967] workingset: timestamp_bits=42 max_order=21 bucket_order=0
[    0.104200] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.104564] NFS: Registering the id_resolver key type
[    0.104588] Key type id_resolver registered
[    0.104596] Key type id_legacy registered
[    0.104642] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.104651] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.104741] 9p: Installing v9fs 9p2000 file system support
[    0.130600] Key type asymmetric registered
[    0.130614] Asymmetric key parser 'x509' registered
[    0.130667] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.130678] io scheduler mq-deadline registered
[    0.130685] io scheduler kyber registered
[    0.144598] gpio_rcar e6050000.gpio: driving 16 GPIOs
[    0.144821] gpio_rcar e6051000.gpio: driving 29 GPIOs
[    0.145008] gpio_rcar e6052000.gpio: driving 15 GPIOs
[    0.145201] gpio_rcar e6053000.gpio: driving 16 GPIOs
[    0.145389] gpio_rcar e6054000.gpio: driving 18 GPIOs
[    0.145604] gpio_rcar e6055000.gpio: driving 26 GPIOs
[    0.145794] gpio_rcar e6055400.gpio: driving 32 GPIOs
[    0.145981] gpio_rcar e6055800.gpio: driving 4 GPIOs
[    0.147669] rcar-pcie fe000000.pcie: host bridge /soc/pcie@fe000000 ranges:
[    0.147702] rcar-pcie fe000000.pcie:       IO 0x00fe100000..0x00fe1fffff -> 0x0000000000
[    0.147726] rcar-pcie fe000000.pcie:      MEM 0x00fe200000..0x00fe3fffff -> 0x00fe200000
[    0.147745] rcar-pcie fe000000.pcie:      MEM 0x0030000000..0x0037ffffff -> 0x0030000000
[    0.147782] rcar-pcie fe000000.pcie:      MEM 0x0038000000..0x003fffffff -> 0x0038000000
[    0.147804] rcar-pcie fe000000.pcie:   IB MEM 0x0040000000..0x007fffffff -> 0x0040000000
[    0.307773] rcar-pcie fe000000.pcie: PCIe link down
[    0.307933] rcar-pcie ee800000.pcie: host bridge /soc/pcie@ee800000 ranges:
[    0.307961] rcar-pcie ee800000.pcie:       IO 0x00ee900000..0x00ee9fffff -> 0x0000000000
[    0.307982] rcar-pcie ee800000.pcie:      MEM 0x00eea00000..0x00eebfffff -> 0x00eea00000
[    0.308000] rcar-pcie ee800000.pcie:      MEM 0x00c0000000..0x00c7ffffff -> 0x00c0000000
[    0.308014] rcar-pcie ee800000.pcie:      MEM 0x00c8000000..0x00cfffffff -> 0x00c8000000
[    0.308030] rcar-pcie ee800000.pcie:   IB MEM 0x0040000000..0x007fffffff -> 0x0040000000
[    0.467772] rcar-pcie ee800000.pcie: PCIe link down
[    0.469939] EINJ: ACPI disabled.
[    0.488254] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.490614] SuperH (H)SCI(F) driver initialized
[    0.491005] e6550000.serial: ttySC1 at MMIO 0xe6550000 (irq = 42, base_baud = 0) is a hscif
[    0.491507] e6e88000.serial: ttySC0 at MMIO 0xe6e88000 (irq = 128, base_baud = 0) is a scif
[    1.749114] printk: console [ttySC0] enabled
[    1.754212] msm_serial: driver initialized
[    1.765369] loop: module loaded
[    1.769885] megasas: 07.717.02.00-rc1
[    1.778419] libphy: Fixed MDIO Bus: probed
[    1.783614] tun: Universal TUN/TAP device driver, 1.6
[    1.789568] thunder_xcv, ver 1.0
[    1.792827] thunder_bgx, ver 1.0
[    1.796078] nicpf, ver 1.0
[    1.800180] hclge is initializing
[    1.803507] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.810735] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.816076] e1000: Intel(R) PRO/1000 Network Driver
[    1.820958] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.826729] e1000e: Intel(R) PRO/1000 Network Driver
[    1.831717] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.837660] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.843064] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.848653] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.854922] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.861212] sky2: driver version 1.30
[    1.866514] VFIO - User Level meta-driver version: 0.3
[    1.873815] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.880404] ehci-pci: EHCI PCI platform driver
[    1.884873] ehci-platform: EHCI generic platform driver
[    1.890424] ehci-platform ee0a0100.usb: EHCI Host Controller
[    1.896108] ehci-platform ee0a0100.usb: new USB bus registered, assigned bus number 1
[    1.904041] ehci-platform ee0a0100.usb: irq 174, io mem 0xee0a0100
[    1.923777] ehci-platform ee0a0100.usb: USB 2.0 started, EHCI 1.10
[    1.930348] hub 1-0:1.0: USB hub found
[    1.934123] hub 1-0:1.0: 1 port detected
[    1.938460] ehci-platform ee0c0100.usb: EHCI Host Controller
[    1.944138] ehci-platform ee0c0100.usb: new USB bus registered, assigned bus number 2
[    1.952026] ehci-platform ee0c0100.usb: irq 175, io mem 0xee0c0100
[    1.971775] ehci-platform ee0c0100.usb: USB 2.0 started, EHCI 1.10
[    1.978282] hub 2-0:1.0: USB hub found
[    1.982075] hub 2-0:1.0: 1 port detected
[    2.011818] ehci-platform ee0e0100.usb: EHCI Host Controller
[    2.017496] ehci-platform ee0e0100.usb: new USB bus registered, assigned bus number 3
[    2.025387] ehci-platform ee0e0100.usb: irq 176, io mem 0xee0e0100
[    2.043775] ehci-platform ee0e0100.usb: USB 2.0 started, EHCI 1.10
[    2.050263] hub 3-0:1.0: USB hub found
[    2.054032] hub 3-0:1.0: 1 port detected
[    2.058243] ehci-orion: EHCI orion driver
[    2.062504] ehci-exynos: EHCI Exynos driver
[    2.066793] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.072984] ohci-pci: OHCI PCI platform driver
[    2.077469] ohci-platform: OHCI generic platform driver
[    2.082911] ohci-platform ee0a0000.usb: Generic Platform OHCI controller
[    2.089625] ohci-platform ee0a0000.usb: new USB bus registered, assigned bus number 4
[    2.097506] ohci-platform ee0a0000.usb: irq 174, io mem 0xee0a0000
[    2.190111] hub 4-0:1.0: USB hub found
[    2.193881] hub 4-0:1.0: 1 port detected
[    2.198076] ohci-platform ee0c0000.usb: Generic Platform OHCI controller
[    2.204791] ohci-platform ee0c0000.usb: new USB bus registered, assigned bus number 5
[    2.212657] ohci-platform ee0c0000.usb: irq 175, io mem 0xee0c0000
[    2.306112] hub 5-0:1.0: USB hub found
[    2.309881] hub 5-0:1.0: 1 port detected
[    2.314073] ohci-platform ee0e0000.usb: Generic Platform OHCI controller
[    2.320787] ohci-platform ee0e0000.usb: new USB bus registered, assigned bus number 6
[    2.328652] ohci-platform ee0e0000.usb: irq 176, io mem 0xee0e0000
[    2.422098] hub 6-0:1.0: USB hub found
[    2.425871] hub 6-0:1.0: 1 port detected
[    2.430041] ohci-exynos: OHCI Exynos driver
[    2.434823] xhci-hcd ee000000.usb: xHCI Host Controller
[    2.440066] xhci-hcd ee000000.usb: new USB bus registered, assigned bus number 7
[    2.448471] xhci-hcd ee000000.usb: can't setup: -110
[    2.453440] xhci-hcd ee000000.usb: USB bus 7 deregistered
[    2.458861] xhci-hcd: probe of ee000000.usb failed with error -110
[    2.465570] usbcore: registered new interface driver usb-storage
[    2.474467] i2c_dev: i2c /dev entries driver
[    2.481001] i2c 2-0010: Fixing up cyclic dependency with ec500000.sound
[    2.494049] cs2000-cp 2-004f: revision - C1
[    2.498293] i2c-rcar e6510000.i2c: probed
[    2.502849] pca953x 4-0020: supply vcc not found, using dummy regulator
[    2.509555] pca953x 4-0020: using no AI
[    2.514138] gpio-355 (PCIE/SATA switch): hogged as output/low
[    2.520179] i2c 4-0070: Fixing up cyclic dependency with fea80000.csi2
[    2.526745] i2c 4-0070: Fixing up cyclic dependency with feaa0000.csi2
[    2.533311] i2c 4-0070: Fixing up cyclic dependency with hdmi-in
[    2.539351] i2c 4-0070: Fixing up cyclic dependency with cvbs-in
[    2.551193] random: fast init done
[    2.554896] i2c-rcar e66d8000.i2c: probed
[    2.565957] rcar_gen3_thermal e6198000.thermal: TSC0: Loaded 1 trip points
[    2.577000] rcar_gen3_thermal e6198000.thermal: TSC1: Loaded 1 trip points
[    2.588014] rcar_gen3_thermal e6198000.thermal: TSC2: Loaded 2 trip points
[    2.599362] sdhci: Secure Digital Host Controller Interface driver
[    2.605568] sdhci: Copyright(c) Pierre Ossman
[    2.610674] Synopsys Designware Multimedia Card Interface Driver
[    2.617813] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.626047] ledtrig-cpu: registered to indicate activity on CPUs
[    2.633856] usbcore: registered new interface driver usbhid
[    2.639438] usbhid: USB HID core driver
[    2.649435] NET: Registered PF_INET6 protocol family
[    2.655197] Segment Routing with IPv6
[    2.658890] In-situ OAM (IOAM) with IPv6
[    2.663134] NET: Registered PF_PACKET protocol family
[    2.668284] 9pnet: Installing 9P2000 support
[    2.672596] Key type dns_resolver registered
[    2.677182] registered taskstats version 1
[    2.681294] Loading compiled-in X.509 certificates
[    2.695874] renesas_irqc e61c0000.interrupt-controller: driving 6 irqs
[    2.755917] ehci-platform ee080100.usb: EHCI Host Controller
[    2.761653] ehci-platform ee080100.usb: new USB bus registered, assigned bus number 7
[    2.769609] ehci-platform ee080100.usb: irq 173, io mem 0xee080100
[    2.791781] ehci-platform ee080100.usb: USB 2.0 started, EHCI 1.10
[    2.798653] hub 7-0:1.0: USB hub found
[    2.802444] hub 7-0:1.0: 1 port detected
[    2.808942] ohci-platform ee080000.usb: Generic Platform OHCI controller
[    2.815707] ohci-platform ee080000.usb: new USB bus registered, assigned bus number 8
[    2.823685] ohci-platform ee080000.usb: irq 173, io mem 0xee080000
[    2.918360] hub 8-0:1.0: USB hub found
[    2.922142] hub 8-0:1.0: 1 port detected
[    2.929779] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1497600 KHz, changing to: 1500000 KHz
[    2.940699] cpu cpu0: EM: created perf domain
[    2.945621] cpufreq: cpufreq_online: CPU4: Running at unlisted initial frequency: 1198080 KHz, changing to: 1200000 KHz
[    2.956485] cpu cpu4: EM: created perf domain
[    2.972017] rcar-dmac e6700000.dma-controller: deferred probe timeout, ignoring dependency
[    2.972753] renesas_sdhi_internal_dmac ee160000.mmc: deferred probe timeout, ignoring dependency
[    2.972766] renesas_sdhi_internal_dmac ee100000.mmc: deferred probe timeout, ignoring dependency
[    2.973167] renesas_sdhi_internal_dmac ee100000.mmc: Got CD GPIO
[    2.973206] renesas_sdhi_internal_dmac ee100000.mmc: Got WP GPIO
[    2.984268] rcar-dmac e7300000.dma-controller: deferred probe timeout, ignoring dependency
[    2.989243] renesas_sdhi_internal_dmac ee160000.mmc: Got CD GPIO
[    3.001389] rcar-dmac e7310000.dma-controller: deferred probe timeout, ignoring dependency
[    3.003923] renesas_sdhi_internal_dmac ee160000.mmc: Got WP GPIO
[    3.015719] rcar-dmac ec700000.dma-controller: deferred probe timeout, ignoring dependency
[    3.021190] renesas_sdhi_internal_dmac ee100000.mmc: mmc1 base at 0x00000000ee100000, max clock rate 200 MHz
[    3.028589] rcar-dmac ec720000.dma-controller: deferred probe timeout, ignoring dependency
[    3.067230] renesas_sdhi_internal_dmac ee160000.mmc: mmc2 base at 0x00000000ee160000, max clock rate 200 MHz
[    3.070232] sata_rcar ee300000.sata: deferred probe timeout, ignoring dependency
[    3.085478] scsi host0: sata_rcar
[    3.088961] ata1: SATA max UDMA/133 irq 180
[    3.095887] ravb e6800000.ethernet: deferred probe timeout, ignoring dependency
[    3.097426] renesas_sdhi_internal_dmac ee140000.mmc: deferred probe timeout, ignoring dependency
[    3.103987] libphy: ravb_mii: probed
[    3.117170] ravb e6800000.ethernet eth0: Base address at 0xe6800000, 2e:09:0a:02:ee:6a, IRQ 125.
[    3.127975] input: keys as /devices/platform/keys/input/input0
[    3.161791] renesas_sdhi_internal_dmac ee140000.mmc: mmc0 base at 0x00000000ee140000, max clock rate 200 MHz
[    3.244152] mmc0: new HS400 MMC card at address 0001
[    3.250033] mmcblk0: mmc0:0001 BGSD3R 29.1 GiB 
[    3.257553]  mmcblk0: p1
[    3.260792] mmcblk0boot0: mmc0:0001 BGSD3R 16.0 MiB 
[    3.267123] mmcblk0boot1: mmc0:0001 BGSD3R 16.0 MiB 
[    3.273576] mmcblk0rpmb: mmc0:0001 BGSD3R 4.00 MiB, chardev (234:0)
[    3.507815] ata1: link resume succeeded after 1 retries
[    3.619546] ata1: SATA link down (SStatus 0 SControl 300)
[    3.695164] Micrel KSZ9031 Gigabit PHY e6800000.ethernet-ffffffff:00: attached PHY driver (mii_bus:phy_addr=e6800000.ethernet-ffffffff:00, irq=185)
[    6.876420] ravb e6800000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    6.887910] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.907815] IP-Config: Guessing netmask 255.255.255.0
[    6.912901] IP-Config: Complete:
[    6.916149]      device=eth0, hwaddr=2e:09:0a:02:ee:6a, ipaddr=192.168.0.21, mask=255.255.255.0, gw=255.255.255.255
[    6.926615]      host=192.168.0.21, domain=, nis-domain=(none)
[    6.932467]      bootserver=255.255.255.0, rootserver=192.168.0.1, rootpath=
[    6.933043] ALSA device list:
[    6.943088]   No soundcards found.
[    6.966863] VFS: Mounted root (nfs filesystem) on device 0:20.
[    6.974063] devtmpfs: mounted
[    6.979186] Freeing unused kernel memory: 6656K
[    6.995878] Run /sbin/init as init process
[    6.999993]   with arguments:
[    7.002962]     /sbin/init
[    7.005681]   with environment:
[    7.008832]     HOME=/
[    7.011191]     TERM=linux
[    7.230734] systemd[1]: System time before build time, advancing clock.
[    7.264708] systemd[1]: systemd 244.3+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    7.287294] systemd[1]: Detected architecture arm64.
[    7.348031] systemd[1]: Set hostname to <salvator-x>.
[    8.451986] random: systemd: uninitialized urandom read (16 bytes read)
[    8.459011] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    8.471437] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    8.483302] systemd[1]: Created slice system-getty.slice.
[    8.504050] random: systemd: uninitialized urandom read (16 bytes read)
[    8.512541] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    8.536020] random: systemd: uninitialized urandom read (16 bytes read)
[    8.544227] systemd[1]: Created slice User and Session Slice.
[    8.568435] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    8.596242] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.620149] systemd[1]: Reached target Paths.
[    8.639972] systemd[1]: Reached target Remote File Systems.
[    8.659954] systemd[1]: Reached target Slices.
[    8.679977] systemd[1]: Reached target Swap.
[    8.703570] systemd[1]: Listening on RPCbind Server Activation Socket.
[    8.728099] systemd[1]: Reached target RPC Port Mapper.
[    8.754785] systemd[1]: Listening on Syslog Socket.
[    8.776584] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.802409] systemd[1]: Listening on Journal Audit Socket.
[    8.824693] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.848703] systemd[1]: Listening on Journal Socket.
[    8.870366] systemd[1]: Listening on Network Service Netlink Socket.
[    8.895160] systemd[1]: Listening on udev Control Socket.
[    8.916515] systemd[1]: Listening on udev Kernel Socket.
[    8.941826] systemd[1]: Mounting Huge Pages File System...
[    8.965640] systemd[1]: Mounting POSIX Message Queue File System...
[    8.993106] systemd[1]: Mounting Kernel Debug File System...
[    9.021546] systemd[1]: Mounting Temporary Directory (/tmp)...
[    9.054599] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    9.085294] systemd[1]: Starting Start psplash boot splash screen...
[    9.119813] systemd[1]: Starting RPC Bind...
[    9.136931] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    9.154655] systemd[1]: Starting Journal Service...
[    9.182041] systemd[1]: Starting Load Kernel Modules...
[    9.205219] systemd[1]: Starting Remount Root and Kernel File Systems...
[    9.232592] systemd[1]: Starting udev Coldplug all Devices...
[    9.258646] systemd[1]: Started RPC Bind.
[    9.280881] systemd[1]: Started Journal Service.
[    9.581930] systemd-journald[273]: Received client request to flush runtime journal.
[   10.252984] random: crng init done
[   10.256410] random: 7 urandom warning(s) missed due to ratelimiting
[   10.263393] at24 7-0050: supply vcc not found, using dummy regulator
[   10.270834] at24 7-0050: 128 byte br24t01 EEPROM, writable, 8 bytes/write
[   10.331034] renesas_usbhs e6590000.usb: host probed
[   10.336606] renesas_usbhs e6590000.usb: no transceiver found
[   10.349512] renesas_usbhs e6590000.usb: gadget probed
[   10.355068] renesas_usbhs e6590000.usb: probed
[   10.377310] mc: Linux media interface: v0.10
[   10.385689] renesas_usbhs e659c000.usb: host probed
[   10.391127] renesas_usbhs e659c000.usb: no transceiver found
[   10.399334] renesas_usbhs e659c000.usb: gadget probed
[   10.404929] renesas_usbhs e659c000.usb: probed
[   10.434459] renesas_usb3 ee020000.usb: probed with phy
[   10.492197] rcar_sound ec500000.sound: probed
[   10.507054] videodev: Linux video capture interface: v2.00
[   10.535367] rcar-fcp fe950000.fcp: deferred probe timeout, ignoring dependency
[   10.546736] rcar-fcp fe951000.fcp: deferred probe timeout, ignoring dependency
[   10.548607] ccree e6601000.crypto: ARM CryptoCell 630P Driver: HW version 0xAF400001/0xDCC63000, Driver version 5.0
[   10.558910] rcar-fcp fe96f000.fcp: deferred probe timeout, ignoring dependency
[   10.571603] ccree e6601000.crypto: ARM ccree device initialized
[   10.574500] rcar-fcp fe92f000.fcp: deferred probe timeout, ignoring dependency
[   10.587657] rcar-fcp fe9af000.fcp: deferred probe timeout, ignoring dependency
[   10.597107] rcar-fcp fe9bf000.fcp: deferred probe timeout, ignoring dependency
[   10.605965] rcar-fcp fea27000.fcp: deferred probe timeout, ignoring dependency
[   10.606974] rcar-csi2 fea80000.csi2: 1 lanes found
[   10.614458] rcar-fcp fea2f000.fcp: deferred probe timeout, ignoring dependency
[   10.628000] rcar-csi2 feaa0000.csi2: 4 lanes found
[   10.632467] rcar-fcp fea37000.fcp: deferred probe timeout, ignoring dependency
[   10.645647] rcar-csi2 feaa0000.csi2: Consider updating driver rcar-csi2 to match on endpoints
[   10.654303] rcar-csi2 fea80000.csi2: Consider updating driver rcar-csi2 to match on endpoints
[   10.703344] rcar_fdp1 fe940000.fdp1: Device registered as /dev/video0
[   10.713121] rcar_fdp1 fe944000.fdp1: Device registered as /dev/video1
[   10.783374] rcar-dw-hdmi fead0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY)
[   10.794050] rcar-dw-hdmi fead0000.hdmi: registered DesignWare HDMI I2C bus driver
[   10.856647] rcar-dw-hdmi feae0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (DWC HDMI 2.0 TX PHY)
[   10.895092] rcar-dw-hdmi feae0000.hdmi: registered DesignWare HDMI I2C bus driver
[   10.937677] hdmi-audio-codec hdmi-audio-codec.7.auto: ASoC: sink widget TX overwritten
[   10.945765] hdmi-audio-codec hdmi-audio-codec.7.auto: ASoC: sink widget Capture overwritten
[   10.954235] hdmi-audio-codec hdmi-audio-codec.7.auto: ASoC: source widget RX overwritten
[   11.000081] [drm] Initialized rcar-du 1.0.0 20130110 for feb00000.display on minor 0
[   11.013377] [drm] Device feb00000.display probed
[   11.063848] Console: switching to colour frame buffer device 128x48
[   11.090470] rcar-du feb00000.display: [drm] fb0: rcar-du frame buffer device
[   11.130234] rcar_sound ec500000.sound: Can't update kctrl when idle
[   11.431564] Bluetooth: Core ver 2.22
[   11.435749] NET: Registered PF_BLUETOOTH protocol family
[   11.441359] Bluetooth: HCI device and connection manager initialized
[   11.447985] Bluetooth: HCI socket layer initialized
[   11.453043] Bluetooth: L2CAP socket layer initialized
[   11.458378] Bluetooth: SCO socket layer initialized
[   11.668248] rcar_sound ec500000.sound: Can't update kctrl when idle
[   17.889238] audit: type=1006 audit(1601631601.656:2): pid=497 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[   17.902132] audit: type=1300 audit(1601631601.656:2): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=fffffcbee0d0 a2=1 a3=ffff9ec71a20 items=0 ppid=1 pid=497 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
[   17.929147] audit: type=1327 audit(1601631601.656:2): proctitle="(systemd)"
[   37.481372] audit: type=1006 audit(1601631621.248:3): pid=512 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=2 res=1
[   37.493967] audit: type=1300 audit(1601631621.248:3): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=fffffcbee0d0 a2=1 a3=ffff9ec71a20 items=0 ppid=1 pid=512 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
[   37.520755] audit: type=1327 audit(1601631621.248:3): proctitle="(systemd)"
[   37.859849] SDHI0 Vcc: disabling
[   37.863233] SDHI3 Vcc: disabling
[   37.866612] SDHI0 VccQ: disabling
[   37.870115] SDHI3 VccQ: disabling
[   60.014808] Unable to handle kernel paging request at virtual address ffff81ed00000001
[   60.022918] Mem abort info:
[   60.025805]   ESR = 0x96000004
[   60.028943]   EC = 0x25: DABT (current EL), IL = 32 bits
[   60.034366]   SET = 0, FnV = 0
[   60.037499]   EA = 0, S1PTW = 0
[   60.040681]   FSC = 0x04: level 0 translation fault
[   60.045613] Data abort info:
[   60.048531]   ISV = 0, ISS = 0x00000004
[   60.052412]   CM = 0, WnR = 0
[   60.055401] swapper pgtable: 4k pages, 48-bit VAs, pgdp=000000004998c000
[   60.062170] [ffff81ed00000001] pgd=0000000000000000, p4d=0000000000000000
[   60.069034] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[   60.074650] Modules linked in: pci_epf_test(-) bluetooth ecdh_generic ecc rfkill rcar_du_drm rcar_lvds snd_soc_hdmi_codec dw_hdmi_i2s_audio dw_hdmi_cec rcar_dw_hdmi dw_hdmi cec vsp1 simple_bridge snd_soc_audio_graph_card rcar_fdp1 crct10dif_ce snd_soc_simple_card_utils v4l2_mem2mem drm_kms_helper videobuf2_vmalloc rcar_vin rcar_csi2 videobuf2_dma_contig v4l2_fwnode videobuf2_memops v4l2_async videobuf2_v4l2 rcar_cmm ccree videobuf2_common rcar_fcp display_connector videodev drm snd_soc_rcar renesas_usb3 authenc mc snd_soc_ak4613 max9611 libdes renesas_usbhs pwm_rcar gpio_bd9571mwv at24 phy_rcar_gen3_usb3 usb_dmac pwm_bl [last unloaded: pci_epf_test]
[   60.132694] CPU: 2 PID: 539 Comm: modprobe Not tainted 5.15.0-rc6-00857-gb5b5de386df9 #49
[   60.141953] Hardware name: Renesas Salvator-X 2nd version board based on r8a77951 (DT)
[   60.149927] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   60.156941] pc : pci_epf_remove_cfs+0x4c/0xa8
[   60.161341] lr : pci_epf_remove_cfs+0x4c/0xa8
[   60.165730] sp : ffff800012833d40
[   60.169065] x29: ffff800012833d40 x28: ffff0004c3353800 x27: 0000000000000000
[   60.176257] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000
[   60.183447] x23: 0000000060000000 x22: ffff800011f428d0 x21: ffff80000905a048
[   60.190638] x20: ffff80000905a0f8 x19: ffff81ecffffff89 x18: 0000000000000000
[   60.197828] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[   60.205018] x14: 00000000000003a0 x13: 0000000000000001 x12: 0000000000000000
[   60.212208] x11: 0000000000000001 x10: 00000000000009b0 x9 : ffff800012833b70
[   60.219398] x8 : ffff0004c3354210 x7 : ffff0004c606d000 x6 : 000000000000027b
[   60.226588] x5 : 0000000000000001 x4 : 000000000000001f x3 : ffff80072d671000
[   60.233778] x2 : 0000000100000000 x1 : 0000000000000000 x0 : 0000000100000000
[   60.240969] Call trace:
[   60.245507]  pci_epf_remove_cfs+0x4c/0xa8
[   60.252517]  pci_epf_unregister_driver+0x18/0x30
[   60.260112]  pci_epf_test_exit+0x2c/0xb80 [pci_epf_test]
[   60.268411]  __arm64_sys_delete_module+0x180/0x250
[   60.276180]  invoke_syscall+0x44/0x108
[   60.281778]  el0_svc_common.constprop.0+0xcc/0xf0
[   60.288281]  do_el0_svc+0x24/0x88
[   60.293362]  el0_svc+0x20/0x60
[   60.298154]  el0t_64_sync_handler+0xb0/0xb8
[   60.304097]  el0t_64_sync+0x1a0/0x1a4
[   60.309522] Code: 54000160 d101e273 d503201f 97fff920 (f9403e62) 
[   60.317427] ---[ end trace c7d2f677c8783ff2 ]---

root@salvator-x:~#