Mailing List Archive

[ARM PCI] Rockchip PCI devices not recognized in Dom0
Not sure if this is a bug, or me not understanding the new ARM PCI passthrough so I am posting to xen-users first.

Xen version: Xen version 4.16.1 (buildozer@) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219) debug=n Sun Jun 19 11:00:34 UTC 2022
Specific device: FriendlyElec Nanopi R4S (RK3399 SOC)
Linux Kernel: Custom kernel on 5.18.0.0
What did I expect: I compiled the Linux kernel with the options below so I expected the second ethernet port (PCI) should be made available to Dom0:

CONFIG_XEN_DOM0=y
CONFIG_XEN=y
CONFIG_NET_9P_XEN=m
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_SCSI_FRONTEND=m
CONFIG_NETXEN_NIC=y
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
CONFIG_HVC_XEN_FRONTEND=y
CONFIG_TCG_XEN=m
CONFIG_XEN_WDT=m
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_USB_XEN_HCD=m
CONFIG_MMC_SDHCI_XENON=y
# Xen driver support
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES_DEFAULT=y
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_XENBUS_FRONTEND=y
CONFIG_XEN_GNTDEV=m
CONFIG_XEN_GNTDEV_DMABUF=y
CONFIG_XEN_GRANT_DEV_ALLOC=m
CONFIG_XEN_GRANT_DMA_ALLOC=y
CONFIG_SWIOTLB_XEN=y
CONFIG_XEN_PCI_STUB=y
CONFIG_XEN_PCIDEV_STUB=y
CONFIG_XEN_PVCALLS_FRONTEND=m
CONFIG_XEN_PVCALLS_BACKEND=y
CONFIG_XEN_SCSI_BACKEND=y
CONFIG_XEN_PRIVCMD=y
CONFIG_XEN_EFI=y
CONFIG_XEN_AUTO_XLATE=y
# end of Xen driver support

What did I test: Both ethernet ports work as expected under Linux without Xen. In dom0 lspci -vvv outputs nothing, under Linux it outputs the following:

00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3399 PCI Express Root Port (prog-if 00 [Normal decode])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 82
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: fa000000-fa0fffff [size=1M] [32-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [80] Power Management version 3
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable+ 64bit+
Address: 00000000fee30040 Data: 0000
Masking: 00000000 Pending: 00000000
Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
Vector table: BAR=0 offset=00000000
PBA: BAR=0 offset=00000008
Capabilities: [c0] Express (v2) Root Port (Slot+), MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L1, Exit Latency L1 <8us
ClockPM- Surprise- LLActRep- BwNot+ ASPMOptComp+
LnkCtl: ASPM L1 Enabled; RCB 128 bytes, Disabled- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt+ AutBWInt+
LnkSta: Speed 2.5GT/s, Width x1
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
Slot #0, PowerLimit 0W; Interlock- NoCompl-
SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
Control: AttnInd Off, PwrInd Off, Power+ Interlock-
SltSta: Status: AttnBtn- PowerFlt- MRL+ CmdCplt- PresDet- Interlock-
Changed: MRL- PresDet- LinkState-
RootCap: CRSVisible-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
DevCap2: Completion Timeout: Range B, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- LN System CLS Not Supported, TPHComp+ ExtTPHComp- ARIFwd+
AtomicOpsCap: Routing+ 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ 10BitTagReq- OBFF Disabled, ARIFwd-
AtomicOpsCtl: ReqEn- EgressBlck-
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
RootCmd: CERptEn- NFERptEn- FERptEn-
RootSta: CERcvd- MultCERcvd- UERcvd- MultUERcvd-
FirstFatal- NonFatalMsg- FatalMsg- IntMsg 0
ErrorSrc: ERR_COR: 0000 ERR_FATAL/NONFATAL: 0000
Capabilities: [274 v1] Transaction Processing Hints
Interrupt vector mode supported
Device specific mode supported
Steering table in TPH capability structure
Kernel driver in use: pcieport

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 81
Region 2: Memory at fa004000 (64-bit, non-prefetchable) [size=4K]
Region 4: Memory at fa000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express (v2) Endpoint, MSI 01
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 4096 bytes
DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us
ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1
TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
10BitTagComp- 10BitTagReq- OBFF Via message/WAKE#, ExtFmt- EETLPPrefix-
EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
FRS- TPHComp- ExtTPHComp-
AtomicOpsCap: 32bit- 64bit- 128bitCAS-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ 10BitTagReq- OBFF Disabled,
AtomicOpsCtl: ReqEn-
LnkCap2: Supported Link Speeds: 2.5GT/s, Crosslink- Retimer- 2Retimers- DRS-
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
Retimer- 2Retimers- CrosslinkRes: unsupported
Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
Vector table: BAR=4 offset=00000000
PBA: BAR=4 offset=00000800
Capabilities: [100 v2] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
HeaderLog: 00000000 00000000 00000000 00000000
Capabilities: [140 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [160 v1] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [170 v1] Latency Tolerance Reporting
Max snoop latency: 0ns
Max no snoop latency: 0ns
Capabilities: [178 v1] L1 PM Substates
L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
T_CommonMode=0us LTR1.2_Threshold=0ns
L1SubCtl2: T_PwrOn=10us
Kernel driver in use: r8169

Diagnostics: xen dmesg, dom0 dmesg, and plain Linux dmesg (the latter shows the port working):

## hypervisor.log ##

(XEN) Checking for initrd in /chosen
(XEN) RAM: 0000000000200000 - 00000000080ecfff
(XEN) RAM: 0000000008113000 - 00000000b5b66fff
(XEN) RAM: 00000000b5b67000 - 00000000b5b79fff
(XEN) RAM: 00000000b5b7a000 - 00000000b5caafff
(XEN) RAM: 00000000b5cbb000 - 00000000b7bb3fff
(XEN) RAM: 00000000b7bb4000 - 00000000f4ee2fff
(XEN) RAM: 00000000f4ee3000 - 00000000f4ee3fff
(XEN) RAM: 00000000f4ee6000 - 00000000f4ee9fff
(XEN) RAM: 00000000f4eea000 - 00000000f4f0dfff
(XEN) RAM: 00000000f4f15000 - 00000000f4f15fff
(XEN) RAM: 00000000f4f1a000 - 00000000f4f1afff
(XEN) RAM: 00000000f4f20000 - 00000000f4f20fff
(XEN) RAM: 00000000f4f22000 - 00000000f4f22fff
(XEN) RAM: 00000000f4f24000 - 00000000f4f25fff
(XEN) RAM: 00000000f4f27000 - 00000000f4f28fff
(XEN) RAM: 00000000f4f29000 - 00000000f7f3ffff
(XEN) RAM: 00000000f7f50000 - 00000000f7ffffff
(XEN)
(XEN) MODULE[0]: 00000000b5b7a000 - 00000000b5caa0c8 Xen
(XEN) MODULE[1]: 00000000b5b68000 - 00000000b5b79000 Device Tree
(XEN) MODULE[2]: 00000000b6102000 - 00000000b7ac7200 Kernel
(XEN) MODULE[3]: 00000000b5cbb000 - 00000000b610022a Ramdisk
(XEN)
(XEN) CMDLINE[00000000b6102000]:chosen modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage noquiet ro loglevel=8 clk_ignore_unused console=hvc0 earlycon=xen earlyprintk=xen
(XEN)
(XEN) Command line: console=dtuart dtuart=serial2 loglvl=all guest_loglvl=all dom0_mem=1G dom0_vpcus=1
(XEN) parameter "dom0_vpcus" unknown!
(XEN) Domain heap initialised
(XEN) Booting using Device Tree
(XEN) Platform: Generic System
(XEN) Looking for dtuart at "serial2", options ""
Xen 4.16.1
(XEN) Xen version 4.16.1 (buildozer@) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219) debug=n Sun Jun 19 11:00:34 UTC 2022
(XEN) Latest ChangeSet:
(XEN) build-id: 4c54d9e5fbc8757e64760c02bfa793523d3c6b08
(XEN) Processor: 00000000410fd034: "ARM Limited", variant: 0x0, part 0xd03,rev 0x4
(XEN) 64-bit Execution:
(XEN) Processor Features: 0000000001002222 0000000000000000
(XEN) Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32
(XEN) Extensions: FloatingPoint AdvancedSIMD GICv3-SysReg
(XEN) Debug Features: 0000000010305106 0000000000000000
(XEN) Auxiliary Features: 0000000000000000 0000000000000000
(XEN) Memory Model Features: 0000000000001122 0000000000000000
(XEN) ISA Features: 0000000000011120 0000000000000000
(XEN) 32-bit Execution:
(XEN) Processor Features: 0000000000000131:0000000010011011
(XEN) Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle
(XEN) Extensions: GenericTimer Security
(XEN) Debug Features: 0000000003010066
(XEN) Auxiliary Features: 0000000000000000
(XEN) Memory Model Features: 0000000010201105 0000000040000000
(XEN) 0000000001260000 0000000002102211
(XEN) ISA Features: 0000000002101110 0000000013112111 0000000021232042
(XEN) 0000000001112131 0000000000011142 0000000000011121
(XEN) Using SMC Calling Convention v1.2
(XEN) Using PSCI v1.1
(XEN) SMP: Allowing 6 CPUs
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 24000 KHz
(XEN) GICv3 initialization:
(XEN) gic_dist_addr=0x000000fee00000
(XEN) gic_maintenance_irq=25
(XEN) gic_rdist_stride=0
(XEN) gic_rdist_regions=1
(XEN) redistributor regions:
(XEN) - region 0: 0x000000fef00000 - 0x000000fefc0000
(XEN) GICv3 compatible with GICv2 cbase 0x000000fff00000 vbase 0x000000fff20000
(XEN) GICv3: 288 lines, (IID 0001143b).
(XEN) GICv3: CPU0: Found redistributor in region 0 @000000004001c000
(XEN) XSM Framework v1.0.1 initialized
(XEN) Initialising XSM SILO mode
(XEN) Using scheduler: SMP Credit Scheduler rev2 (credit2)
(XEN) Initializing Credit2 scheduler
(XEN) load_precision_shift: 18
(XEN) load_window_shift: 30
(XEN) underload_balance_tolerance: 0
(XEN) overload_balance_tolerance: -3
(XEN) runqueues arrangement: socket
(XEN) cap enforcement granularity: 10ms
(XEN) load tracking window length 1073741824 ns
(XEN) Allocated console ring of 64 KiB.
(XEN) CPU0: Guest atomics will try 6 times before pausing the domain
(XEN) Bringing up CPU1
(XEN) GICv3: CPU1: Found redistributor in region 0 @000000004003c000
(XEN) CPU1: Guest atomics will try 10 times before pausing the domain
(XEN) CPU 1 booted.
(XEN) Bringing up CPU2
(XEN) GICv3: CPU2: Found redistributor in region 0 @000000004005c000
(XEN) CPU2: Guest atomics will try 10 times before pausing the domain
(XEN) CPU 2 booted.
(XEN) Bringing up CPU3
(XEN) GICv3: CPU3: Found redistributor in region 0 @000000004007c000
(XEN) CPU3: Guest atomics will try 9 times before pausing the domain
(XEN) CPU 3 booted.
(XEN) Bringing up CPU4
(XEN) CPU4 MIDR (0x00000000410fd082) does not match boot CPU MIDR (0x00000000410fd034),
(XEN) disable cpu (see big.LITTLE.txt under docs/).
(XEN) CPU4 never came online
(XEN) Failed to bring up CPU 4 (error -5)
(XEN) Bringing up CPU5
(XEN) CPU5 MIDR (0x00000000410fd082) does not match boot CPU MIDR (0x00000000410fd034),
(XEN) disable cpu (see big.LITTLE.txt under docs/).
(XEN) CPU5 never came online
(XEN) Failed to bring up CPU 5 (error -5)
(XEN) Brought up 4 CPUs
(XEN) I/O virtualisation disabled
(XEN) P2M: 40-bit IPA with 40-bit PA and 8-bit VMID
(XEN) P2M: 3 levels with order-1 root, VTCR 0x0000000080023558
(XEN) Scheduling granularity: cpu, 1 CPU per sched-resource
(XEN) Adding cpu 0 to runqueue 0
(XEN) First cpu on runqueue, activating
(XEN) Adding cpu 1 to runqueue 0
(XEN) Adding cpu 2 to runqueue 0
(XEN) Adding cpu 3 to runqueue 0
(XEN) alternatives: Patching with alt table 00000000002bcc60 -> 00000000002bd4b8
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Loading d0 kernel from boot module @ 00000000b6102000
(XEN) Loading ramdisk from boot module @ 00000000b5cbb000
(XEN) Allocating 1:1 mappings totalling 1024MB for dom0:
(XEN) BANK[0] 0x00000040000000-0x00000080000000 (1024MB)
(XEN) Grant table range: 0x000000b5b7a000-0x000000b5bba000
(XEN) /pinctrl/pcie: Missing device_type
(XEN) /pinctrl/pcie: Missing device_type
(XEN) Allocating PPI 16 for event channel interrupt
(XEN) Extended region 0: 0x200000->0x8000000
(XEN) Extended region 1: 0x8200000->0x40000000
(XEN) Extended region 2: 0x80000000->0xb5a00000
(XEN) Extended region 3: 0xb5e00000->0xf4e00000
(XEN) Loading zImage from 00000000b6102000 to 0000000040000000-00000000419c5200
(XEN) Loading d0 initrd from 00000000b5cbb000 to 0x0000000048200000-0x000000004864522a
(XEN) Loading d0 DTB to 0x0000000048000000-0x000000004800db77
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Scrubbing Free RAM in background
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input to DOM0 (type 'CTRL-a' three times to switch input)
(XEN) Freed 344kB init memory.
(XEN) d0v0 Unhandled SMC/HVC: 0x84000050
(XEN) d0v0 Unhandled SMC/HVC: 0x8600ff01
(XEN) d0v0: vGICD: RAZ on reserved register offset 0x00000c
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER4
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER8
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER12
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER16
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER20
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER24
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER28
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER32
(XEN) d0v0: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
(XEN) d0v0 Unhandled SMC/HVC: 0x82000008
(XEN) d0v1: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
(XEN) d0v2: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
(XEN) d0v3: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0

## dom0.log ##

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.18.0-0-nanopi-r4s (bob@alpine-dev) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, GNU ld (GNU Binutils) 2.38) #1-Alpine SMP PREEMPT Wed, 29 Jun 2022 05:35:43 +0000
[ 0.000000] Machine model: FriendlyElec NanoPi R4S
[ 0.000000] Xen 4.16 support found
[ 0.000000] efi: UEFI not found.
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-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 0x0000000040000000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] cma: Reserved 16 MiB at 0x000000007dc00000
[ 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 migration not required
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 28 pages/cpu s77368 r8192 d29128 u114688
[ 0.000000] pcpu-alloc: s77368 r8192 d29128 u114688 alloc=28*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: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048
[ 0.000000] Kernel command line: modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage noquiet ro loglevel=8 clk_ignore_unused console=hvc0 earlycon=xen earlyprintk=xen
[ 0.000000] Unknown kernel command line parameters "noquiet modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage earlyprintk=xen", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 979800K/1048576K available (14272K kernel code, 2772K rwdata, 4132K rodata, 5120K init, 779K bss, 52392K reserved, 16384K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 44736 entries in 175 pages
[ 0.000000] ftrace: allocated 175 pages with 6 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude 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] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[ 0.000000] random: get_random_bytes called from start_kernel+0x4ec/0x6d8 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 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.001293] Console: colour dummy device 80x25
[ 0.002637] printk: console [hvc0] enabled
[ 0.002723] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.002778] pid_max: default: 32768 minimum: 301
[ 0.002961] LSM: Security Framework initializing
[ 0.003147] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.003208] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.006199] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.006253] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.006466] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.006674] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.007550] xen:grant_table: Grant tables using version 1 layout
[ 0.007723] Grant table initialized
[ 0.007787] xen:events: Using FIFO-based ABI
[ 0.007885] Xen: initializing cpu0
[ 0.008180] rcu: Hierarchical SRCU implementation.
[ 0.009914] EFI services will not be available.
[ 0.010770] smp: Bringing up secondary CPUs ...
[ 0.012104] Detected VIPT I-cache on CPU1
[ 0.012172] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[ 0.012307] Xen: initializing cpu1
[ 0.012396] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.013800] Detected VIPT I-cache on CPU2
[ 0.013859] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[ 0.013963] Xen: initializing cpu2
[ 0.014044] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.015448] Detected VIPT I-cache on CPU3
[ 0.015509] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[ 0.015611] Xen: initializing cpu3
[ 0.015693] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.016075] smp: Brought up 1 node, 4 CPUs
[ 0.016370] SMP: Total of 4 processors activated.
[ 0.016399] CPU features: detected: 32-bit EL0 Support
[ 0.016428] CPU features: detected: CRC32 instructions
[ 0.017502] CPU: All CPU(s) started at EL1
[ 0.017609] alternatives: patching kernel code
[ 0.019627] devtmpfs: initialized
[ 0.040207] Registered cp15_barrier emulation handler
[ 0.040322] Registered setend emulation handler
[ 0.040695] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.040768] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.041829] pinctrl core: initialized pinctrl subsystem
[ 0.043052] DMI not present or invalid.
[ 0.043885] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.047588] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.047889] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.048271] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.048431] audit: initializing netlink subsys (disabled)
[ 0.048861] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[ 0.051601] thermal_sys: Registered thermal governor 'fair_share'
[ 0.051615] thermal_sys: Registered thermal governor 'step_wise'
[ 0.051915] OF: /thermal-zones/cpu-thermal/cooling-maps/map0: could not find phandle 6
[ 0.052043] thermal_sys: Add a cooling_device property with at least one device
[ 0.052079] thermal_sys: failed to build thermal zone cpu-thermal: -2
[ 0.052743] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.053220] ASID allocator initialised with 65536 entries
[ 0.053329] xen:swiotlb_xen: Warning: only able to allocate 4 MB for software IO TLB
[ 0.054503] software IO TLB: mapped [mem 0x0000000042800000-0x0000000042c00000] (4MB)
[ 0.057221] ------------[ cut here ]------------
[ 0.057256] WARNING: CPU: 0 PID: 1 at drivers/irqchip/irq-gic-v3.c:1555 gic_irq_domain_select+0x134/0x19c
[ 0.057332] Modules linked in:
[ 0.057362] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.18.0-0-nanopi-r4s #1-Alpine
[ 0.057414] Hardware name: FriendlyElec NanoPi R4S (DT)
[ 0.057442] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.057480] pc : gic_irq_domain_select+0x134/0x19c
[ 0.057527] lr : gic_irq_domain_select+0xac/0x19c
[ 0.057563] sp : ffffffc009aab910
[ 0.057584] x29: ffffffc009aab910 x28: 0000000000000000 x27: ffffff8001e54880
[ 0.057650] x26: ffffffc009aaba18 x25: ffffff803fdb5438 x24: 0000000000000001
[ 0.057702] x23: ffffff803fdb5420 x22: ffffffc008f3e600 x21: 0000000000000000
[ 0.057766] x20: ffffff8001c14300 x19: ffffffc009aaba18 x18: ffffffffffffffff
[ 0.057818] x17: 3030306332343030 x16: 0000000000000014 x15: ffffff800243c303
[ 0.057870] x14: 0000000000000000 x13: 0000000000000030 x12: 0101010101010101
[ 0.057934] x11: 0000000000000040 x10: 000000000005d9f8 x9 : ffffffc0086ec310
[ 0.057985] x8 : ffffffc009aabb38 x7 : 0000000000000000 x6 : 070f1900f2f2f5f0
[ 0.058049] x5 : ffffffc008f3e600 x4 : 00000000a110c8ee x3 : ffffffc009aab94c
[ 0.058100] x2 : ffffffc009aab950 x1 : ffffffc009aaba18 x0 : 00000000ffffffea
[ 0.058165] Call trace:
[ 0.058183] gic_irq_domain_select+0x134/0x19c
[ 0.058218] irq_find_matching_fwspec+0x84/0x120
[ 0.058268] irq_create_fwspec_mapping+0x48/0x32c
[ 0.058305] irq_create_of_mapping+0x70/0xa0
[ 0.058339] of_irq_get+0x98/0xe0
[ 0.058385] of_irq_to_resource+0x40/0x110
[ 0.058417] of_irq_to_resource_table+0x5c/0x84
[ 0.058451] of_device_alloc+0x10c/0x200
[ 0.058491] of_platform_device_create_pdata+0x64/0x104
[ 0.058524] of_platform_bus_create+0x1bc/0x4cc
[ 0.058555] of_platform_populate+0x6c/0x144
[ 0.058586] of_platform_default_populate_init+0xf0/0x110
[ 0.058636] do_one_initcall+0x50/0x29c
[ 0.058667] kernel_init_freeable+0x22c/0x2b4
[ 0.058700] kernel_init+0x30/0x140
[ 0.058742] ret_from_fork+0x10/0x20
[ 0.058772] ---[ end trace 0000000000000000 ]---
[ 0.058866] irq: no irq domain found for interrupt-controller !
[ 0.090309] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
[ 0.107181] platform ff940000.hdmi: Fixing up cyclic dependency with ff8f0000.vop
[ 0.107368] platform ff940000.hdmi: Fixing up cyclic dependency with ff900000.vop
[ 0.108136] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
[ 0.123334] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
[ 0.124840] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
[ 0.126129] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[ 0.127489] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
[ 0.128782] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[ 0.157329] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.157406] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.157441] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.157475] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.158443] cryptd: max_cpu_qlen set to 1000
[ 0.160218] xen:balloon: Initialising balloon driver
[ 0.162960] iommu: Default domain type: Translated
[ 0.163022] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.163567] SCSI subsystem initialized
[ 0.163979] libata version 3.00 loaded.
[ 0.164371] usbcore: registered new interface driver usbfs
[ 0.164485] usbcore: registered new interface driver hub
[ 0.164583] usbcore: registered new device driver usb
[ 0.164763] pps_core: LinuxPPS API ver. 1 registered
[ 0.164794] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.164913] PTP clock support registered
[ 0.167479] Bluetooth: Core ver 2.22
[ 0.167577] NET: Registered PF_BLUETOOTH protocol family
[ 0.167608] Bluetooth: HCI device and connection manager initialized
[ 0.167650] Bluetooth: HCI socket layer initialized
[ 0.167698] Bluetooth: L2CAP socket layer initialized
[ 0.167760] Bluetooth: SCO socket layer initialized
[ 0.167825] NetLabel: Initializing
[ 0.167849] NetLabel: domain hash size = 128
[ 0.167875] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.168023] NetLabel: unlabeled traffic allowed by default
[ 0.169303] clocksource: Switched to clocksource arch_sys_counter
[ 0.275604] VFS: Disk quotas dquot_6.6.0
[ 0.275769] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.276044] FS-Cache: Loaded
[ 0.295227] NET: Registered PF_INET protocol family
[ 0.295510] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.297002] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[ 0.297212] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.297426] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.297813] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.298038] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
[ 0.298155] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
[ 0.298560] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.299630] RPC: Registered named UNIX socket transport module.
[ 0.299669] RPC: Registered udp transport module.
[ 0.299709] RPC: Registered tcp transport module.
[ 0.299736] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.299774] PCI: CLS 0 bytes, default 64
[ 0.300269] Trying to unpack rootfs image as initramfs...
[ 0.651975] Freeing initrd memory: 4372K
[ 1.857240] Initialise system trusted keyrings
[ 1.857941] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 1.869039] zbud: loaded
[ 1.873406] NFS: Registering the id_resolver key type
[ 1.873500] Key type id_resolver registered
[ 1.873527] Key type id_legacy registered
[ 1.873691] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.873740] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.874169] fuse: init (API version 7.36)
[ 1.949267] Key type asymmetric registered
[ 1.949338] Asymmetric key parser 'x509' registered
[ 1.949446] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 1.949829] io scheduler mq-deadline registered
[ 1.949864] io scheduler kyber registered
[ 1.968979] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
[ 1.970812] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.970877] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 1.971178] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
[ 1.973736] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.973795] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.976151] xen:xen_evtchn: Event-channel device installed
[ 1.979931] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 1.989095] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 1.997616] brd: module loaded
[ 2.009643] loop: module loaded
[ 2.010996] zram: Added device: zram0
[ 2.013937] Rounding down aligned max_sectors from 4294967295 to 4294967288
[ 2.014322] db_root: cannot open: /etc/target
[ 2.017096] QLogic/NetXen Network Driver v4.0.82
[ 2.019040] PPP generic driver version 2.4.2
[ 2.019407] xen_netfront: Initialising Xen virtual ethernet driver
[ 2.019681] usbcore: registered new interface driver asix
[ 2.019767] usbcore: registered new interface driver ax88179_178a
[ 2.019854] usbcore: registered new interface driver cdc_ether
[ 2.019941] usbcore: registered new interface driver qmi_wwan
[ 2.019974] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.020025] ehci-pci: EHCI PCI platform driver
[ 2.020107] ehci-platform: EHCI generic platform driver
[ 2.022709] ehci-platform fe380000.usb: EHCI Host Controller
[ 2.022774] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[ 2.023093] ehci-platform fe380000.usb: irq 18, io mem 0xfe380000
[ 2.037344] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[ 2.037775] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[ 2.037825] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.037874] usb usb1: Product: EHCI Host Controller
[ 2.037905] usb usb1: Manufacturer: Linux 5.18.0-0-nanopi-r4s ehci_hcd
[ 2.037939] usb usb1: SerialNumber: fe380000.usb
[ 2.038900] hub 1-0:1.0: USB hub found
[ 2.038985] hub 1-0:1.0: 1 port detected
[ 2.039995] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[ 2.040049] ehci-platform fe3c0000.usb: EHCI Host Controller
[ 2.040104] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[ 2.040369] ehci-platform fe3c0000.usb: irq 20, io mem 0xfe3c0000
[ 2.053351] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[ 2.053769] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[ 2.053819] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.053860] usb usb2: Product: EHCI Host Controller
[ 2.053892] usb usb2: Manufacturer: Linux 5.18.0-0-nanopi-r4s ehci_hcd
[ 2.053926] usb usb2: SerialNumber: fe3c0000.usb
[ 2.054819] hub 2-0:1.0: USB hub found
[ 2.054894] hub 2-0:1.0: 1 port detected
[ 2.056080] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.056140] ohci-platform: OHCI generic platform driver
[ 2.056617] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[ 2.056676] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[ 2.056946] ohci-platform fe3a0000.usb: irq 19, io mem 0xfe3a0000
[ 2.117626] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
[ 2.117691] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.117732] usb usb3: Product: Generic Platform OHCI controller
[ 2.117766] usb usb3: Manufacturer: Linux 5.18.0-0-nanopi-r4s ohci_hcd
[ 2.117806] usb usb3: SerialNumber: fe3a0000.usb
[ 2.118725] hub 3-0:1.0: USB hub found
[ 2.118808] hub 3-0:1.0: 1 port detected
[ 2.119715] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[ 2.119761] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[ 2.119816] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[ 2.120121] ohci-platform fe3e0000.usb: irq 21, io mem 0xfe3e0000
[ 2.181635] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
[ 2.181699] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.181740] usb usb4: Product: Generic Platform OHCI controller
[ 2.181774] usb usb4: Manufacturer: Linux 5.18.0-0-nanopi-r4s ohci_hcd
[ 2.181815] usb usb4: SerialNumber: fe3e0000.usb
[ 2.182739] hub 4-0:1.0: USB hub found
[ 2.182825] hub 4-0:1.0: 1 port detected
[ 2.185024] usbcore: registered new interface driver cdc_acm
[ 2.185064] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.185169] usbcore: registered new interface driver cdc_wdm
[ 2.185724] usbcore: registered new interface driver uas
[ 2.185899] usbcore: registered new interface driver usb-storage
[ 2.186068] usbcore: registered new interface driver usbserial_generic
[ 2.186141] usbserial: USB Serial support registered for generic
[ 2.186244] usbcore: registered new interface driver ch341
[ 2.186305] usbserial: USB Serial support registered for ch341-uart
[ 2.186413] usbcore: registered new interface driver cp210x
[ 2.186473] usbserial: USB Serial support registered for cp210x
[ 2.186603] usbcore: registered new interface driver ftdi_sio
[ 2.186666] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.186902] usbcore: registered new interface driver option
[ 2.186962] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.187275] usbcore: registered new interface driver pl2303
[ 2.187336] usbserial: USB Serial support registered for pl2303
[ 2.187451] usbcore: registered new interface driver qcserial
[ 2.187513] usbserial: USB Serial support registered for Qualcomm USB modem
[ 2.188215] mousedev: PS/2 mouse device common for all mice
[ 2.189723] i2c_dev: i2c /dev entries driver
[ 2.202378] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.202457] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 2.203743] dw_wdt ff848000.watchdog: No valid TOPs array specified
[ 2.204803] device-mapper: uevent: version 1.0.3
[ 2.205322] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com
[ 2.205958] cpu cpu0: OPP table can't be empty
[ 2.207519] sdhci: Secure Digital Host Controller Interface driver
[ 2.207567] sdhci: Copyright(c) Pierre Ossman
[ 2.207592] Synopsys Designware Multimedia Card Interface Driver
[ 2.208437] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.211742] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.212877] hid: raw HID events driver (C) Jiri Kosina
[ 2.213517] usbcore: registered new interface driver usbhid
[ 2.213565] usbhid: USB HID core driver
[ 2.216375] Initializing XFRM netlink socket
[ 2.217116] NET: Registered PF_INET6 protocol family
[ 2.219076] Segment Routing with IPv6
[ 2.219161] In-situ OAM (IOAM) with IPv6
[ 2.221203] bpfilter: Loaded bpfilter_umh pid 82
[ 2.221706] NET: Registered PF_PACKET protocol family
[ 2.222094] Bluetooth: RFCOMM TTY layer initialized
[ 2.222142] Bluetooth: RFCOMM socket layer initialized
[ 2.222206] Bluetooth: RFCOMM ver 1.11
[ 2.222250] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.222292] Bluetooth: HIDP socket layer initialized
[ 2.222436] Key type dns_resolver registered
[ 2.223096] registered taskstats version 1
[ 2.223138] Loading compiled-in X.509 certificates
[ 2.226531] zswap: loaded using pool zstd/zsmalloc
[ 2.227414] Key type ._fscrypt registered
[ 2.227460] Key type .fscrypt registered
[ 2.227483] Key type fscrypt-provisioning registered
[ 2.337680] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.337762] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 2.342794] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[ 2.346737] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[ 2.350818] rk808 0-001b: chip id: 0x0
[ 2.358082] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 2.358185] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 2.378462] random: fast init done
[ 2.380095] rk808-rtc rk808-rtc: registered as rtc0
[ 2.380928] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:19 UTC (1358499019)
[ 2.382632] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.382693] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 2.385935] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[ 2.386038] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[ 2.386080] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[ 2.386248] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 17,32 bit host data width,256 deep fifo
[ 2.387075] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[ 2.387479] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[ 2.387580] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[ 2.387646] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[ 2.388651] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[ 2.400524] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 2.848086] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[ 2.850516] dwmmc_rockchip fe320000.mmc: All phases bad!
[ 2.850565] mmc1: tuning execution failed: -5
[ 2.850600] mmc1: error -5 whilst initialising SD card
[ 2.864875] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[ 2.889715] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 2.889827] rockchip-pcie: probe of f8000000.pcie failed with error -110
[ 2.894694] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[ 2.894770] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[ 2.895020] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[ 2.895362] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[ 2.895408] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[ 2.895446] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[ 2.895499] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[ 2.895629] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[ 2.895683] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[ 2.900741] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[ 2.901232] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 2.901386] rk_gmac-dwmac fe300000.ethernet: DWMAC1000
[ 2.901429] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[ 2.901469] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[ 2.901506] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[ 2.901539] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[ 2.901575] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[ 2.901708] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[ 2.901745] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[ 2.901781] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 2.901829] rk_gmac-dwmac fe300000.ethernet: device MAC address c6:c9:ef:e1:46:36
[ 2.964231] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[ 3.017176] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 3.017254] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 3.020672] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 3.020744] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 3.022248] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 3.022310] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 3.026048] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 3.027072] clk: Not disabling unused clocks
[ 3.028136] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 3.028200] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 3.033549] Freeing unused kernel memory: 5120K
[ 3.041372] Run /init as init process
[ 3.041415] with arguments:
[ 3.041440] /init
[ 3.041460] noquiet
[ 3.041481] with environment:
[ 3.041503] HOME=/
[ 3.041522] TERM=linux
[ 3.041542] modloop=/modloop-nanopi-r4s
[ 3.041566] modules=loop,squashfs,usb-storage
[ 3.041593] earlyprintk=xen
[ 3.114817] Alpine Init 3.6.1-r3
[ 3.116627] Loading boot drivers...
[ 3.118011] dwmmc_rockchip fe320000.mmc: Successfully tuned phase to 169
[ 3.118105] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[ 3.119383] mmcblk1: mmc1:aaaa SD32G 29.7 GiB
[ 3.133396] mmcblk1: p1 p2 p3
[ 3.136245] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 3.136258] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 3.136346] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 3.139119] Loading boot drivers: ok.
[ 3.148728] Mounting boot media...
[ 3.815270] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.859698] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 3.981891] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 4.164749] Mounting boot media: ok.
[ 4.174951] Loading user settings from /media/mmcblk1p2/pbp.apkovl.tar.gz...
[ 4.250086] Loading user settings from /media/mmcblk1p2/pbp.apkovl.tar.gz: ok.
[ 4.372282] Installing packages to root filesystem...
[ 15.709423] Installing packages to root filesystem: ok.
[ 17.290261] loop0: detected capacity change from 0 to 28456
[ 17.320036] FAT-fs (loop0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 17.323098] exFAT-fs (loop0): invalid boot record signature
[ 17.323122] exFAT-fs (loop0): failed to read boot sector
[ 17.323133] exFAT-fs (loop0): failed to recognize exfat type
[ 17.328719] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0xcf480ed2)
[ 17.328753] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock
[ 17.328921] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x6ca73354)
[ 17.328939] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock
[ 17.377429] overlayfs: "xino" feature enabled using 3 upper inode bits.
[ 33.757410] vbus_typec: disabling
[ 33.757469] vcca0v9_s3: disabling
[ 34.293755] xen_wdt xen_wdt: initialized (timeout=60s, nowayout=0)
[ 34.295414] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 34.295447] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 34.326128] tun: Universal TUN/TAP device driver, 1.6
[ 34.855031] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
[ 35.986977] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=61)
[ 36.029528] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 36.030832] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[ 36.030859] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[ 36.032557] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[ 36.262219] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 36.280653] xenbr0: port 1(eth0) entered blocking state
[ 36.280718] xenbr0: port 1(eth0) entered disabled state
[ 36.281117] device eth0 entered promiscuous mode
[ 38.265560] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 38.265628] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 38.265879] xenbr0: port 1(eth0) entered blocking state
[ 38.265901] xenbr0: port 1(eth0) entered forwarding state
[ 38.266050] IPv6: ADDRCONF(NETDEV_CHANGE): xenbr0: link becomes ready
[ 46.437334] random: crng init done

## standard linux dmesg ##

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.18.0-0-nanopi-r4s (bob@alpine-dev) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, GNU ld (GNU Binutils) 2.38) #1-Alpine SMP PREEMPT Wed, 29 Jun 2022 05:35:43 +0000
[ 0.000000] Machine model: FriendlyElec NanoPi R4S
[ 0.000000] efi: EFI v2.80 by Das U-Boot
[ 0.000000] efi: RTPROP=0xf4f17040 SMBIOS=0xf4f16000 MEMRESERVE=0xb475b040
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000200000-0x00000000f7ffffff]
[ 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 0x0000000000200000-0x00000000f4ee5fff]
[ 0.000000] node 0: [mem 0x00000000f4ee6000-0x00000000f4ee7fff]
[ 0.000000] node 0: [mem 0x00000000f4ee8000-0x00000000f4f0dfff]
[ 0.000000] node 0: [mem 0x00000000f4f0e000-0x00000000f4f14fff]
[ 0.000000] node 0: [mem 0x00000000f4f15000-0x00000000f4f15fff]
[ 0.000000] node 0: [mem 0x00000000f4f16000-0x00000000f4f19fff]
[ 0.000000] node 0: [mem 0x00000000f4f1a000-0x00000000f4f1afff]
[ 0.000000] node 0: [mem 0x00000000f4f1b000-0x00000000f4f1ffff]
[ 0.000000] node 0: [mem 0x00000000f4f20000-0x00000000f4f20fff]
[ 0.000000] node 0: [mem 0x00000000f4f21000-0x00000000f4f21fff]
[ 0.000000] node 0: [mem 0x00000000f4f22000-0x00000000f4f22fff]
[ 0.000000] node 0: [mem 0x00000000f4f23000-0x00000000f4f23fff]
[ 0.000000] node 0: [mem 0x00000000f4f24000-0x00000000f4f25fff]
[ 0.000000] node 0: [mem 0x00000000f4f26000-0x00000000f4f26fff]
[ 0.000000] node 0: [mem 0x00000000f4f27000-0x00000000f7f3ffff]
[ 0.000000] node 0: [mem 0x00000000f7f40000-0x00000000f7f4ffff]
[ 0.000000] node 0: [mem 0x00000000f7f50000-0x00000000f7ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[ 0.000000] cma: Reserved 16 MiB at 0x00000000f6400000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 28 pages/cpu s77368 r8192 d29128 u114688
[ 0.000000] pcpu-alloc: s77368 r8192 d29128 u114688 alloc=28*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 999432
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-nanopi-r4s modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage noquiet ro loglevel=8 clk_ignore_unused console=ttyS2,1500000
[ 0.000000] Unknown kernel command line parameters "noquiet BOOT_IMAGE=/vmlinuz-nanopi-r4s modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 3934244K/4061184K available (14272K kernel code, 2772K rwdata, 4132K rodata, 5120K init, 779K bss, 110556K reserved, 16384K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[ 0.000000] ftrace: allocating 44736 entries in 175 pages
[ 0.000000] ftrace: allocated 175 pages with 6 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude 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=6
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[ 0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[ 0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @580000 (flat, esz 8, psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GICv3: using LPI property table @0x0000000000600000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000610000
[ 0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[ 0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[ 0.000000] random: get_random_bytes called from start_kernel+0x4ec/0x6d8 with crng_init=0
[ 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.001175] Console: colour dummy device 80x25
[ 0.001250] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.001276] pid_max: default: 32768 minimum: 301
[ 0.001413] LSM: Security Framework initializing
[ 0.001565] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.001605] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.004689] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.004716] cblist_init_generic: Setting shift to 3 and lim to 1.
[ 0.004877] cblist_init_generic: Setting shift to 3 and lim to 1.
[ 0.005040] cblist_init_generic: Setting shift to 3 and lim to 1.
[ 0.005406] rcu: Hierarchical SRCU implementation.
[ 0.006452] Platform MSI: interrupt-controller@fee20000 domain created
[ 0.006885] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[ 0.007111] Remapping and enabling EFI services.
[ 0.008076] smp: Bringing up secondary CPUs ...
[ 0.009089] Detected VIPT I-cache on CPU1
[ 0.009140] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[ 0.009164] GICv3: CPU1: using allocated LPI pending table @0x0000000000620000
[ 0.009236] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.010356] Detected VIPT I-cache on CPU2
[ 0.010397] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[ 0.010417] GICv3: CPU2: using allocated LPI pending table @0x0000000000630000
[ 0.010466] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.011560] Detected VIPT I-cache on CPU3
[ 0.011599] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[ 0.011619] GICv3: CPU3: using allocated LPI pending table @0x0000000000640000
[ 0.011668] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.012772] CPU features: detected: Spectre-v2
[ 0.012789] CPU features: detected: Spectre-BHB
[ 0.012800] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.012807] Detected PIPT I-cache on CPU4
[ 0.012843] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[ 0.012862] GICv3: CPU4: using allocated LPI pending table @0x0000000000650000
[ 0.012910] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[ 0.014005] Detected PIPT I-cache on CPU5
[ 0.014039] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[ 0.014056] GICv3: CPU5: using allocated LPI pending table @0x0000000000660000
[ 0.014094] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[ 0.014290] smp: Brought up 1 node, 6 CPUs
[ 0.014399] SMP: Total of 6 processors activated.
[ 0.014413] CPU features: detected: 32-bit EL0 Support
[ 0.014426] CPU features: detected: CRC32 instructions
[ 0.015552] CPU: All CPU(s) started at EL2
[ 0.015616] alternatives: patching kernel code
[ 0.018014] devtmpfs: initialized
[ 0.029610] Registered cp15_barrier emulation handler
[ 0.029640] Registered setend emulation handler
[ 0.029853] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.029878] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 0.030500] pinctrl core: initialized pinctrl subsystem
[ 0.031214] SMBIOS 3.0 present.
[ 0.031241] DMI: Unknown Unknown Product/Unknown Product, BIOS 2021.07-g886a84ea 07/02/2022
[ 0.031734] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.034377] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.034655] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.035056] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.035157] audit: initializing netlink subsys (disabled)
[ 0.035426] audit: type=2000 audit(0.032:1): state=initialized audit_enabled=0 res=1
[ 0.036516] thermal_sys: Registered thermal governor 'fair_share'
[ 0.036527] thermal_sys: Registered thermal governor 'step_wise'
[ 0.037022] cpuidle: using governor ladder
[ 0.037060] cpuidle: using governor menu
[ 0.037229] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.037463] ASID allocator initialised with 65536 entries
[ 0.070660] platform ff940000.hdmi: Fixing up cyclic dependency with ff8f0000.vop
[ 0.070735] platform ff940000.hdmi: Fixing up cyclic dependency with ff900000.vop
[ 0.081496] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
[ 0.082340] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
[ 0.083124] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[ 0.083946] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
[ 0.084705] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[ 0.102301] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.102321] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.102333] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.102344] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.102928] cryptd: max_cpu_qlen set to 1000
[ 0.105304] iommu: Default domain type: Translated
[ 0.105318] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.105644] SCSI subsystem initialized
[ 0.105858] libata version 3.00 loaded.
[ 0.106057] usbcore: registered new interface driver usbfs
[ 0.106106] usbcore: registered new interface driver hub
[ 0.106154] usbcore: registered new device driver usb
[ 0.106232] pps_core: LinuxPPS API ver. 1 registered
[ 0.106242] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.106261] PTP clock support registered
[ 0.106784] Registered efivars operations
[ 0.107785] Bluetooth: Core ver 2.22
[ 0.107829] NET: Registered PF_BLUETOOTH protocol family
[ 0.107838] Bluetooth: HCI device and connection manager initialized
[ 0.107854] Bluetooth: HCI socket layer initialized
[ 0.107872] Bluetooth: L2CAP socket layer initialized
[ 0.107898] Bluetooth: SCO socket layer initialized
[ 0.107921] NetLabel: Initializing
[ 0.107929] NetLabel: domain hash size = 128
[ 0.107937] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.108003] NetLabel: unlabeled traffic allowed by default
[ 0.108573] clocksource: Switched to clocksource arch_sys_counter
[ 0.175093] VFS: Disk quotas dquot_6.6.0
[ 0.175165] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.175519] FS-Cache: Loaded
[ 0.187423] NET: Registered PF_INET protocol family
[ 0.187671] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.191058] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 81920 bytes, linear)
[ 0.191219] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.191580] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.192418] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.192622] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 0.192831] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear)
[ 0.193228] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.193798] RPC: Registered named UNIX socket transport module.
[ 0.193813] RPC: Registered udp transport module.
[ 0.193822] RPC: Registered tcp transport module.
[ 0.193830] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.193845] PCI: CLS 0 bytes, default 64
[ 0.194230] Trying to unpack rootfs image as initramfs...
[ 0.205430] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.205921] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.487021] Freeing initrd memory: 4372K
[ 1.266650] Initialise system trusted keyrings
[ 1.266988] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 1.273704] zbud: loaded
[ 1.276410] NFS: Registering the id_resolver key type
[ 1.276445] Key type id_resolver registered
[ 1.276456] Key type id_legacy registered
[ 1.276581] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.276602] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.276840] fuse: init (API version 7.36)
[ 1.342333] Key type asymmetric registered
[ 1.342347] Asymmetric key parser 'x509' registered
[ 1.342406] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 1.342610] io scheduler mq-deadline registered
[ 1.342623] io scheduler kyber registered
[ 1.356282] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.356306] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 1.358102] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.358120] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.359388] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 1.361383] printk: console [ttyS2] disabled
[ 1.361463] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 41, base_baud = 1500000) is a 16550A
[ 1.478953] printk: console [ttyS2] enabled
[ 1.484041] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 1.489983] brd: module loaded
[ 1.498362] loop: module loaded
[ 1.499260] zram: Added device: zram0
[ 1.501432] Rounding down aligned max_sectors from 4294967295 to 4294967288
[ 1.502268] db_root: cannot open: /etc/target
[ 1.504317] QLogic/NetXen Network Driver v4.0.82
[ 1.505834] PPP generic driver version 2.4.2
[ 1.506427] usbcore: registered new interface driver asix
[ 1.506962] usbcore: registered new interface driver ax88179_178a
[ 1.507529] usbcore: registered new interface driver cdc_ether
[ 1.508078] usbcore: registered new interface driver qmi_wwan
[ 1.508639] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.509233] ehci-pci: EHCI PCI platform driver
[ 1.509664] ehci-platform: EHCI generic platform driver
[ 1.512535] ehci-platform fe380000.usb: EHCI Host Controller
[ 1.513089] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[ 1.513911] ehci-platform fe380000.usb: irq 33, io mem 0xfe380000
[ 1.528588] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[ 1.529399] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[ 1.530135] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.530775] usb usb1: Product: EHCI Host Controller
[ 1.531211] usb usb1: Manufacturer: Linux 5.18.0-0-nanopi-r4s ehci_hcd
[ 1.531788] usb usb1: SerialNumber: fe380000.usb
[ 1.532821] hub 1-0:1.0: USB hub found
[ 1.533201] hub 1-0:1.0: 1 port detected
[ 1.534177] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[ 1.534866] ehci-platform fe3c0000.usb: EHCI Host Controller
[ 1.535381] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[ 1.536201] ehci-platform fe3c0000.usb: irq 35, io mem 0xfe3c0000
[ 1.552598] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[ 1.553392] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[ 1.554127] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.554767] usb usb2: Product: EHCI Host Controller
[ 1.555201] usb usb2: Manufacturer: Linux 5.18.0-0-nanopi-r4s ehci_hcd
[ 1.555779] usb usb2: SerialNumber: fe3c0000.usb
[ 1.556789] hub 2-0:1.0: USB hub found
[ 1.557161] hub 2-0:1.0: 1 port detected
[ 1.558222] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.558785] ohci-platform: OHCI generic platform driver
[ 1.559541] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[ 1.560153] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[ 1.560982] ohci-platform fe3a0000.usb: irq 34, io mem 0xfe3a0000
[ 1.624772] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
[ 1.625509] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.626149] usb usb3: Product: Generic Platform OHCI controller
[ 1.626674] usb usb3: Manufacturer: Linux 5.18.0-0-nanopi-r4s ohci_hcd
[ 1.627252] usb usb3: SerialNumber: fe3a0000.usb
[ 1.628217] hub 3-0:1.0: USB hub found
[ 1.628614] hub 3-0:1.0: 1 port detected
[ 1.629531] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[ 1.630220] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[ 1.630823] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[ 1.631627] ohci-platform fe3e0000.usb: irq 36, io mem 0xfe3e0000
[ 1.692778] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
[ 1.693513] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.694153] usb usb4: Product: Generic Platform OHCI controller
[ 1.694676] usb usb4: Manufacturer: Linux 5.18.0-0-nanopi-r4s ohci_hcd
[ 1.695253] usb usb4: SerialNumber: fe3e0000.usb
[ 1.696217] hub 4-0:1.0: USB hub found
[ 1.696610] hub 4-0:1.0: 1 port detected
[ 1.698199] usbcore: registered new interface driver cdc_acm
[ 1.698703] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.699446] usbcore: registered new interface driver cdc_wdm
[ 1.700217] usbcore: registered new interface driver uas
[ 1.700804] usbcore: registered new interface driver usb-storage
[ 1.701424] usbcore: registered new interface driver usbserial_generic
[ 1.702018] usbserial: USB Serial support registered for generic
[ 1.702596] usbcore: registered new interface driver ch341
[ 1.703097] usbserial: USB Serial support registered for ch341-uart
[ 1.703701] usbcore: registered new interface driver cp210x
[ 1.704210] usbserial: USB Serial support registered for cp210x
[ 1.704830] usbcore: registered new interface driver ftdi_sio
[ 1.705357] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.706116] usbcore: registered new interface driver option
[ 1.706626] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.707392] usbcore: registered new interface driver pl2303
[ 1.707902] usbserial: USB Serial support registered for pl2303
[ 1.708474] usbcore: registered new interface driver qcserial
[ 1.709023] usbserial: USB Serial support registered for Qualcomm USB modem
[ 1.710048] mousedev: PS/2 mouse device common for all mice
[ 1.711394] i2c_dev: i2c /dev entries driver
[ 1.721141] dw_wdt ff848000.watchdog: No valid TOPs array specified
[ 1.722328] device-mapper: uevent: version 1.0.3
[ 1.723041] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com
[ 1.726235] sdhci: Secure Digital Host Controller Interface driver
[ 1.726786] sdhci: Copyright(c) Pierre Ossman
[ 1.727173] Synopsys Designware Multimedia Card Interface Driver
[ 1.728216] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.730807] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.731979] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 1.732635] hid: raw HID events driver (C) Jiri Kosina
[ 1.733417] usbcore: registered new interface driver usbhid
[ 1.733913] usbhid: USB HID core driver
[ 1.736129] Initializing XFRM netlink socket
[ 1.737012] NET: Registered PF_INET6 protocol family
[ 1.738726] Segment Routing with IPv6
[ 1.739097] In-situ OAM (IOAM) with IPv6
[ 1.741360] bpfilter: Loaded bpfilter_umh pid 90
[ 1.742121] NET: Registered PF_PACKET protocol family
[ 1.743059] Bluetooth: RFCOMM TTY layer initialized
[ 1.743502] Bluetooth: RFCOMM socket layer initialized
[ 1.743975] Bluetooth: RFCOMM ver 1.11
[ 1.744329] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.744931] Bluetooth: HIDP socket layer initialized
[ 1.745458] Key type dns_resolver registered
[ 1.746375] registered taskstats version 1
[ 1.746753] Loading compiled-in X.509 certificates
[ 1.752475] zswap: loaded using pool zstd/zsmalloc
[ 1.754575] Key type ._fscrypt registered
[ 1.754946] Key type .fscrypt registered
[ 1.755297] Key type fscrypt-provisioning registered
[ 1.838983] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[ 1.845867] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[ 1.853499] rk808 0-001b: chip id: 0x0
[ 1.865124] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 1.865706] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 1.895536] random: fast init done
[ 1.898548] rk808-rtc rk808-rtc: registered as rtc0
[ 1.900845] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:18 UTC (1358499018)
[ 1.909084] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[ 1.909743] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[ 1.910336] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[ 1.910892] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[ 1.912321] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[ 1.912541] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[ 1.913426] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[ 1.914168] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[ 1.915171] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[ 1.925976] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 1.944776] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[ 1.945387] pci_bus 0000:00: root bus resource [bus 00-1f]
[ 1.945887] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[ 1.946508] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[ 1.947415] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[ 1.948154] pci 0000:00:00.0: supports D1
[ 1.948523] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.954207] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 1.955071] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[ 1.955657] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[ 1.956275] pci 0000:01:00.0: reg 0x10: [io size 0x0100]
[ 1.956831] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
[ 1.957471] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[ 1.958110] pci 0000:01:00.0: Upstream bridge's Max Payload Size set to 128 (was 256, max 256)
[ 1.958874] pci 0000:01:00.0: Max Payload Size set to 128 (was 128, max 128)
[ 1.959829] pci 0000:01:00.0: supports D1 D2
[ 1.960206] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 1.976935] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
[ 1.977565] pci 0000:00:00.0: BAR 8: assigned [mem 0xfa000000-0xfa0fffff]
[ 1.978179] pci 0000:01:00.0: BAR 4: assigned [mem 0xfa000000-0xfa003fff 64bit]
[ 1.978872] pci 0000:01:00.0: BAR 2: assigned [mem 0xfa004000-0xfa004fff 64bit]
[ 1.979559] pci 0000:01:00.0: BAR 0: no space for [io size 0x0100]
[ 1.980116] pci 0000:01:00.0: BAR 0: failed to assign [io size 0x0100]
[ 1.980722] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 1.981173] pci 0000:00:00.0: bridge window [mem 0xfa000000-0xfa0fffff]
[ 1.982076] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 1.982974] pcieport 0000:00:00.0: PME: Signaling with IRQ 82
[ 1.989691] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[ 1.990277] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[ 1.990880] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[ 1.991487] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[ 1.992104] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[ 1.992612] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[ 1.993111] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[ 1.993672] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[ 1.994278] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[ 1.999815] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[ 2.000046] mmc1: error -123 whilst initialising SD card
[ 2.000884] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 2.001511] rk_gmac-dwmac fe300000.ethernet: DWMAC1000
[ 2.001971] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[ 2.002624] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[ 2.003276] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[ 2.003735] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[ 2.004350] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[ 2.004953] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[ 2.005471] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[ 2.005980] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 2.006682] rk_gmac-dwmac fe300000.ethernet: device MAC address 66:c3:c0:41:3d:ff
[ 2.014806] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[ 2.045042] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[ 2.076950] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[ 2.126874] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 2.128198] clk: Not disabling unused clocks
[ 2.128905] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[ 2.135593] Freeing unused kernel memory: 5120K
[ 2.136083] Run /init as init process
[ 2.136412] with arguments:
[ 2.136866] /init
[ 2.137115] noquiet
[ 2.137431] with environment:
[ 2.137716] HOME=/
[ 2.137932] TERM=linux
[ 2.138217] BOOT_IMAGE=/vmlinuz-nanopi-r4s
[ 2.138615] modloop=/modloop-nanopi-r4s
[ 2.139018] modules=loop,squashfs,usb-storage
[ 2.181654] Alpine Init 3.6.1-r3
[ 2.182766] Loading boot drivers...
[ 2.194307] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.197626] Loading boot drivers: ok.
[ 2.205063] Mounting boot media...
[ 2.630008] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 2.892730] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[ 2.911773] dwmmc_rockchip fe320000.mmc: Successfully tuned phase to 168
[ 2.912408] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[ 2.913980] mmcblk1: mmc1:aaaa SD32G 29.7 GiB
[ 2.926426] mmcblk1: p1 p2 p3
[ 3.026963] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 3.073954] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.125432] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.133567] Mounting boot media: ok.
[ 3.140260] Loading user settings from /media/mmcblk1p2/pbp.apkovl.tar.gz...
[ 3.185302] Loading user settings from /media/mmcblk1p2/pbp.apkovl.tar.gz: ok.
[ 3.260366] Installing packages to root filesystem...
[ 7.607151] Installing packages to root filesystem: ok.
[ 8.608835] loop0: detected capacity change from 0 to 28456
[ 8.655642] FAT-fs (loop0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 8.657964] exFAT-fs (loop0): invalid boot record signature
[ 8.657986] exFAT-fs (loop0): failed to read boot sector
[ 8.657994] exFAT-fs (loop0): failed to recognize exfat type
[ 8.662400] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0xcf480ed2)
[ 8.662428] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock
[ 8.662584] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x6ca73354)
[ 8.662596] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock
[ 8.696592] overlayfs: "xino" feature enabled using 3 upper inode bits.
[ 12.550860] r8169 0000:01:00.0: enabling device (0000 -> 0002)
[ 12.565274] r8169 0000:01:00.0: can't read MAC address, setting random one
[ 12.581212] r8169 0000:01:00.0 eth1: RTL8168h/8111h, ea:99:a9:6d:c6:77, XID 541, IRQ 85
[ 12.581237] r8169 0000:01:00.0 eth1: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 13.486229] tun: Universal TUN/TAP device driver, 1.6
[ 13.813082] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
[ 14.574554] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=83)
[ 14.621325] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 14.622911] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[ 14.622943] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[ 14.623999] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[ 14.738749] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 14.742630] xenbr0: port 1(eth0) entered blocking state
[ 14.742701] xenbr0: port 1(eth0) entered disabled state
[ 14.742941] device eth0 entered promiscuous mode
[ 16.999475] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 16.999551] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.000023] xenbr0: port 1(eth0) entered blocking state
[ 17.000047] xenbr0: port 1(eth0) entered forwarding state
[ 17.000195] IPv6: ADDRCONF(NETDEV_CHANGE): xenbr0: link becomes ready
[ 18.988886] random: crng init done
[ 19.827757] r8169 0000:01:00.0: Direct firmware load for rtl_nic/rtl8168h-2.fw failed with error -2
[ 19.827784] r8169 0000:01:00.0: Falling back to sysfs fallback for: rtl_nic/rtl8168h-2.fw
[ 19.845415] r8169 0000:01:00.0: Unable to load firmware rtl_nic/rtl8168h-2.fw (-2)
[ 19.873036] Generic FE-GE Realtek PHY r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[ 19.997375] r8169 0000:01:00.0 eth1: Link is Down
[ 23.004855] r8169 0000:01:00.0 eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 23.004942] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 33.756993] vbus_typec: disabling
Re: [ARM PCI] Rockchip PCI devices not recognized in Dom0 [ In reply to ]
Hi,

> On 3 Jul 2022, at 3:16 pm, pogduhog <pogduhog@protonmail.com> wrote:
>
> Not sure if this is a bug, or me not understanding the new ARM PCI passthrough so I am posting to xen-users first.
>
> Xen version: Xen version 4.16.1 (buildozer@) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219) debug=n Sun Jun 19 11:00:34 UTC 2022
> Specific device: FriendlyElec Nanopi R4S (RK3399 SOC)
> Linux Kernel: Custom kernel on 5.18.0.0
> What did I expect: I compiled the Linux kernel with the options below so I expected the second ethernet port (PCI) should be made available to Dom0:
>
> CONFIG_XEN_DOM0=y
> CONFIG_XEN=y
> CONFIG_NET_9P_XEN=m
> CONFIG_XEN_BLKDEV_FRONTEND=y
> CONFIG_XEN_BLKDEV_BACKEND=y
> CONFIG_XEN_SCSI_FRONTEND=m
> CONFIG_NETXEN_NIC=y
> CONFIG_XEN_NETDEV_FRONTEND=y
> CONFIG_XEN_NETDEV_BACKEND=y
> CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
> CONFIG_HVC_XEN=y
> CONFIG_HVC_XEN_FRONTEND=y
> CONFIG_TCG_XEN=m
> CONFIG_XEN_WDT=m
> CONFIG_XEN_FBDEV_FRONTEND=y
> CONFIG_USB_XEN_HCD=m
> CONFIG_MMC_SDHCI_XENON=y
> # Xen driver support
> CONFIG_XEN_BALLOON=y
> CONFIG_XEN_SCRUB_PAGES_DEFAULT=y
> CONFIG_XEN_DEV_EVTCHN=y
> CONFIG_XEN_BACKEND=y
> CONFIG_XENFS=y
> CONFIG_XEN_COMPAT_XENFS=y
> CONFIG_XEN_SYS_HYPERVISOR=y
> CONFIG_XEN_XENBUS_FRONTEND=y
> CONFIG_XEN_GNTDEV=m
> CONFIG_XEN_GNTDEV_DMABUF=y
> CONFIG_XEN_GRANT_DEV_ALLOC=m
> CONFIG_XEN_GRANT_DMA_ALLOC=y
> CONFIG_SWIOTLB_XEN=y
> CONFIG_XEN_PCI_STUB=y
> CONFIG_XEN_PCIDEV_STUB=y
> CONFIG_XEN_PVCALLS_FRONTEND=m
> CONFIG_XEN_PVCALLS_BACKEND=y
> CONFIG_XEN_SCSI_BACKEND=y
> CONFIG_XEN_PRIVCMD=y
> CONFIG_XEN_EFI=y
> CONFIG_XEN_AUTO_XLATE=y
> # end of Xen driver support
>
> What did I test: Both ethernet ports work as expected under Linux without Xen. In dom0 lspci -vvv outputs nothing, under Linux it outputs the following:
>
> 00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3399 PCI Express Root Port (prog-if 00 [Normal decode])
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
> Latency: 0
> Interrupt: pin A routed to IRQ 82
> Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
> Memory behind bridge: fa000000-fa0fffff [size=1M] [32-bit]
> Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
> BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
> PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
> Capabilities: [80] Power Management version 3
> Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
> Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
> Capabilities: [90] MSI: Enable+ Count=1/1 Maskable+ 64bit+
> Address: 00000000fee30040 Data: 0000
> Masking: 00000000 Pending: 00000000
> Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
> Vector table: BAR=0 offset=00000000
> PBA: BAR=0 offset=00000008
> Capabilities: [c0] Express (v2) Root Port (Slot+), MSI 00
> DevCap: MaxPayload 256 bytes, PhantFunc 0
> ExtTag- RBE+
> DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
> RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
> MaxPayload 128 bytes, MaxReadReq 512 bytes
> DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L1, Exit Latency L1 <8us
> ClockPM- Surprise- LLActRep- BwNot+ ASPMOptComp+
> LnkCtl: ASPM L1 Enabled; RCB 128 bytes, Disabled- CommClk+
> ExtSynch- ClockPM- AutWidDis- BWInt+ AutBWInt+
> LnkSta: Speed 2.5GT/s, Width x1
> TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
> SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
> Slot #0, PowerLimit 0W; Interlock- NoCompl-
> SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
> Control: AttnInd Off, PwrInd Off, Power+ Interlock-
> SltSta: Status: AttnBtn- PowerFlt- MRL+ CmdCplt- PresDet- Interlock-
> Changed: MRL- PresDet- LinkState-
> RootCap: CRSVisible-
> RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
> RootSta: PME ReqID 0000, PMEStatus- PMEPending-
> DevCap2: Completion Timeout: Range B, TimeoutDis+ NROPrPrP- LTR+
> 10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix-
> EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
> FRS- LN System CLS Not Supported, TPHComp+ ExtTPHComp- ARIFwd+
> AtomicOpsCap: Routing+ 32bit- 64bit- 128bitCAS-
> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ 10BitTagReq- OBFF Disabled, ARIFwd-
> AtomicOpsCtl: ReqEn- EgressBlck-
> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
> Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
> Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
> EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
> Retimer- 2Retimers- CrosslinkRes: unsupported
> Capabilities: [100 v2] Advanced Error Reporting
> UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
> UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
> UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
> CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
> CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
> AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
> MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
> HeaderLog: 00000000 00000000 00000000 00000000
> RootCmd: CERptEn- NFERptEn- FERptEn-
> RootSta: CERcvd- MultCERcvd- UERcvd- MultUERcvd-
> FirstFatal- NonFatalMsg- FatalMsg- IntMsg 0
> ErrorSrc: ERR_COR: 0000 ERR_FATAL/NONFATAL: 0000
> Capabilities: [274 v1] Transaction Processing Hints
> Interrupt vector mode supported
> Device specific mode supported
> Steering table in TPH capability structure
> Kernel driver in use: pcieport
>
> 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
> Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller
> Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
> Latency: 0, Cache Line Size: 64 bytes
> Interrupt: pin A routed to IRQ 81
> Region 2: Memory at fa004000 (64-bit, non-prefetchable) [size=4K]
> Region 4: Memory at fa000000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [40] Power Management version 3
> Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
> Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
> Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
> Address: 0000000000000000 Data: 0000
> Capabilities: [70] Express (v2) Endpoint, MSI 01
> DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
> ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W
> DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
> RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
> MaxPayload 128 bytes, MaxReadReq 4096 bytes
> DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
> LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us
> ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
> LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+
> ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
> LnkSta: Speed 2.5GT/s, Width x1
> TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
> DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
> 10BitTagComp- 10BitTagReq- OBFF Via message/WAKE#, ExtFmt- EETLPPrefix-
> EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
> FRS- TPHComp- ExtTPHComp-
> AtomicOpsCap: 32bit- 64bit- 128bitCAS-
> DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ 10BitTagReq- OBFF Disabled,
> AtomicOpsCtl: ReqEn-
> LnkCap2: Supported Link Speeds: 2.5GT/s, Crosslink- Retimer- 2Retimers- DRS-
> LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
> Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
> Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
> LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
> EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
> Retimer- 2Retimers- CrosslinkRes: unsupported
> Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
> Vector table: BAR=4 offset=00000000
> PBA: BAR=4 offset=00000800
> Capabilities: [100 v2] Advanced Error Reporting
> UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
> UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
> UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
> CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
> CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
> AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
> MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
> HeaderLog: 00000000 00000000 00000000 00000000
> Capabilities: [140 v1] Virtual Channel
> Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
> Arb: Fixed- WRR32- WRR64- WRR128-
> Ctrl: ArbSelect=Fixed
> Status: InProgress-
> VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
> Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
> Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
> Status: NegoPending- InProgress-
> Capabilities: [160 v1] Device Serial Number 00-00-00-00-00-00-00-00
> Capabilities: [170 v1] Latency Tolerance Reporting
> Max snoop latency: 0ns
> Max no snoop latency: 0ns
> Capabilities: [178 v1] L1 PM Substates
> L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
> PortCommonModeRestoreTime=150us PortTPowerOnTime=150us
> L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
> T_CommonMode=0us LTR1.2_Threshold=0ns
> L1SubCtl2: T_PwrOn=10us
> Kernel driver in use: r8169
>
> Diagnostics: xen dmesg, dom0 dmesg, and plain Linux dmesg (the latter shows the port working):
>
> ## hypervisor.log ##
>
> (XEN) Checking for initrd in /chosen
> (XEN) RAM: 0000000000200000 - 00000000080ecfff
> (XEN) RAM: 0000000008113000 - 00000000b5b66fff
> (XEN) RAM: 00000000b5b67000 - 00000000b5b79fff
> (XEN) RAM: 00000000b5b7a000 - 00000000b5caafff
> (XEN) RAM: 00000000b5cbb000 - 00000000b7bb3fff
> (XEN) RAM: 00000000b7bb4000 - 00000000f4ee2fff
> (XEN) RAM: 00000000f4ee3000 - 00000000f4ee3fff
> (XEN) RAM: 00000000f4ee6000 - 00000000f4ee9fff
> (XEN) RAM: 00000000f4eea000 - 00000000f4f0dfff
> (XEN) RAM: 00000000f4f15000 - 00000000f4f15fff
> (XEN) RAM: 00000000f4f1a000 - 00000000f4f1afff
> (XEN) RAM: 00000000f4f20000 - 00000000f4f20fff
> (XEN) RAM: 00000000f4f22000 - 00000000f4f22fff
> (XEN) RAM: 00000000f4f24000 - 00000000f4f25fff
> (XEN) RAM: 00000000f4f27000 - 00000000f4f28fff
> (XEN) RAM: 00000000f4f29000 - 00000000f7f3ffff
> (XEN) RAM: 00000000f7f50000 - 00000000f7ffffff
> (XEN)
> (XEN) MODULE[0]: 00000000b5b7a000 - 00000000b5caa0c8 Xen
> (XEN) MODULE[1]: 00000000b5b68000 - 00000000b5b79000 Device Tree
> (XEN) MODULE[2]: 00000000b6102000 - 00000000b7ac7200 Kernel
> (XEN) MODULE[3]: 00000000b5cbb000 - 00000000b610022a Ramdisk
> (XEN)
> (XEN) CMDLINE[00000000b6102000]:chosen modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage noquiet ro loglevel=8 clk_ignore_unused console=hvc0 earlycon=xen earlyprintk=xen
> (XEN)
> (XEN) Command line: console=dtuart dtuart=serial2 loglvl=all guest_loglvl=all dom0_mem=1G dom0_vpcus=1
> (XEN) parameter "dom0_vpcus" unknown!
> (XEN) Domain heap initialised
> (XEN) Booting using Device Tree
> (XEN) Platform: Generic System
> (XEN) Looking for dtuart at "serial2", options ""
> Xen 4.16.1
> (XEN) Xen version 4.16.1 (buildozer@) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219) debug=n Sun Jun 19 11:00:34 UTC 2022
> (XEN) Latest ChangeSet:
> (XEN) build-id: 4c54d9e5fbc8757e64760c02bfa793523d3c6b08
> (XEN) Processor: 00000000410fd034: "ARM Limited", variant: 0x0, part 0xd03,rev 0x4
> (XEN) 64-bit Execution:
> (XEN) Processor Features: 0000000001002222 0000000000000000
> (XEN) Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32
> (XEN) Extensions: FloatingPoint AdvancedSIMD GICv3-SysReg
> (XEN) Debug Features: 0000000010305106 0000000000000000
> (XEN) Auxiliary Features: 0000000000000000 0000000000000000
> (XEN) Memory Model Features: 0000000000001122 0000000000000000
> (XEN) ISA Features: 0000000000011120 0000000000000000
> (XEN) 32-bit Execution:
> (XEN) Processor Features: 0000000000000131:0000000010011011
> (XEN) Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle
> (XEN) Extensions: GenericTimer Security
> (XEN) Debug Features: 0000000003010066
> (XEN) Auxiliary Features: 0000000000000000
> (XEN) Memory Model Features: 0000000010201105 0000000040000000
> (XEN) 0000000001260000 0000000002102211
> (XEN) ISA Features: 0000000002101110 0000000013112111 0000000021232042
> (XEN) 0000000001112131 0000000000011142 0000000000011121
> (XEN) Using SMC Calling Convention v1.2
> (XEN) Using PSCI v1.1
> (XEN) SMP: Allowing 6 CPUs
> (XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 24000 KHz
> (XEN) GICv3 initialization:
> (XEN) gic_dist_addr=0x000000fee00000
> (XEN) gic_maintenance_irq=25
> (XEN) gic_rdist_stride=0
> (XEN) gic_rdist_regions=1
> (XEN) redistributor regions:
> (XEN) - region 0: 0x000000fef00000 - 0x000000fefc0000
> (XEN) GICv3 compatible with GICv2 cbase 0x000000fff00000 vbase 0x000000fff20000
> (XEN) GICv3: 288 lines, (IID 0001143b).
> (XEN) GICv3: CPU0: Found redistributor in region 0 @000000004001c000
> (XEN) XSM Framework v1.0.1 initialized
> (XEN) Initialising XSM SILO mode
> (XEN) Using scheduler: SMP Credit Scheduler rev2 (credit2)
> (XEN) Initializing Credit2 scheduler
> (XEN) load_precision_shift: 18
> (XEN) load_window_shift: 30
> (XEN) underload_balance_tolerance: 0
> (XEN) overload_balance_tolerance: -3
> (XEN) runqueues arrangement: socket
> (XEN) cap enforcement granularity: 10ms
> (XEN) load tracking window length 1073741824 ns
> (XEN) Allocated console ring of 64 KiB.
> (XEN) CPU0: Guest atomics will try 6 times before pausing the domain
> (XEN) Bringing up CPU1
> (XEN) GICv3: CPU1: Found redistributor in region 0 @000000004003c000
> (XEN) CPU1: Guest atomics will try 10 times before pausing the domain
> (XEN) CPU 1 booted.
> (XEN) Bringing up CPU2
> (XEN) GICv3: CPU2: Found redistributor in region 0 @000000004005c000
> (XEN) CPU2: Guest atomics will try 10 times before pausing the domain
> (XEN) CPU 2 booted.
> (XEN) Bringing up CPU3
> (XEN) GICv3: CPU3: Found redistributor in region 0 @000000004007c000
> (XEN) CPU3: Guest atomics will try 9 times before pausing the domain
> (XEN) CPU 3 booted.
> (XEN) Bringing up CPU4
> (XEN) CPU4 MIDR (0x00000000410fd082) does not match boot CPU MIDR (0x00000000410fd034),
> (XEN) disable cpu (see big.LITTLE.txt under docs/).
> (XEN) CPU4 never came online
> (XEN) Failed to bring up CPU 4 (error -5)
> (XEN) Bringing up CPU5
> (XEN) CPU5 MIDR (0x00000000410fd082) does not match boot CPU MIDR (0x00000000410fd034),
> (XEN) disable cpu (see big.LITTLE.txt under docs/).
> (XEN) CPU5 never came online
> (XEN) Failed to bring up CPU 5 (error -5)
> (XEN) Brought up 4 CPUs
> (XEN) I/O virtualisation disabled
> (XEN) P2M: 40-bit IPA with 40-bit PA and 8-bit VMID
> (XEN) P2M: 3 levels with order-1 root, VTCR 0x0000000080023558
> (XEN) Scheduling granularity: cpu, 1 CPU per sched-resource
> (XEN) Adding cpu 0 to runqueue 0
> (XEN) First cpu on runqueue, activating
> (XEN) Adding cpu 1 to runqueue 0
> (XEN) Adding cpu 2 to runqueue 0
> (XEN) Adding cpu 3 to runqueue 0
> (XEN) alternatives: Patching with alt table 00000000002bcc60 -> 00000000002bd4b8
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Loading d0 kernel from boot module @ 00000000b6102000
> (XEN) Loading ramdisk from boot module @ 00000000b5cbb000
> (XEN) Allocating 1:1 mappings totalling 1024MB for dom0:
> (XEN) BANK[0] 0x00000040000000-0x00000080000000 (1024MB)
> (XEN) Grant table range: 0x000000b5b7a000-0x000000b5bba000
> (XEN) /pinctrl/pcie: Missing device_type
> (XEN) /pinctrl/pcie: Missing device_type
> (XEN) Allocating PPI 16 for event channel interrupt
> (XEN) Extended region 0: 0x200000->0x8000000
> (XEN) Extended region 1: 0x8200000->0x40000000
> (XEN) Extended region 2: 0x80000000->0xb5a00000
> (XEN) Extended region 3: 0xb5e00000->0xf4e00000
> (XEN) Loading zImage from 00000000b6102000 to 0000000040000000-00000000419c5200
> (XEN) Loading d0 initrd from 00000000b5cbb000 to 0x0000000048200000-0x000000004864522a
> (XEN) Loading d0 DTB to 0x0000000048000000-0x000000004800db77
> (XEN) Initial low memory virq threshold set at 0x4000 pages.
> (XEN) Scrubbing Free RAM in background
> (XEN) Std. Loglevel: All
> (XEN) Guest Loglevel: All
> (XEN) *** Serial input to DOM0 (type 'CTRL-a' three times to switch input)
> (XEN) Freed 344kB init memory.
> (XEN) d0v0 Unhandled SMC/HVC: 0x84000050
> (XEN) d0v0 Unhandled SMC/HVC: 0x8600ff01
> (XEN) d0v0: vGICD: RAZ on reserved register offset 0x00000c
> (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER4
> (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER8
> (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER12
> (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER16
> (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER20
> (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER24
> (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER28
> (XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER32
> (XEN) d0v0: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
> (XEN) d0v0 Unhandled SMC/HVC: 0x82000008
> (XEN) d0v1: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
> (XEN) d0v2: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
> (XEN) d0v3: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
>
> ## dom0.log ##
>
> [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
> [ 0.000000] Linux version 5.18.0-0-nanopi-r4s (bob@alpine-dev) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, GNU ld (GNU Binutils) 2.38) #1-Alpine SMP PREEMPT Wed, 29 Jun 2022 05:35:43 +0000
> [ 0.000000] Machine model: FriendlyElec NanoPi R4S
> [ 0.000000] Xen 4.16 support found
> [ 0.000000] efi: UEFI not found.
> [ 0.000000] Zone ranges:
> [ 0.000000] DMA [mem 0x0000000040000000-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 0x0000000040000000-0x000000007fffffff]
> [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
> [ 0.000000] cma: Reserved 16 MiB at 0x000000007dc00000
> [ 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 migration not required
> [ 0.000000] psci: SMC Calling Convention v1.1
> [ 0.000000] percpu: Embedded 28 pages/cpu s77368 r8192 d29128 u114688
> [ 0.000000] pcpu-alloc: s77368 r8192 d29128 u114688 alloc=28*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: detected: GIC system register CPU interface
> [ 0.000000] CPU features: detected: ARM erratum 845719
> [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048
> [ 0.000000] Kernel command line: modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage noquiet ro loglevel=8 clk_ignore_unused console=hvc0 earlycon=xen earlyprintk=xen
> [ 0.000000] Unknown kernel command line parameters "noquiet modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage earlyprintk=xen", will be passed to user space.
> [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
> [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
> [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
> [ 0.000000] Memory: 979800K/1048576K available (14272K kernel code, 2772K rwdata, 4132K rodata, 5120K init, 779K bss, 52392K reserved, 16384K cma-reserved)
> [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
> [ 0.000000] ftrace: allocating 44736 entries in 175 pages
> [ 0.000000] ftrace: allocated 175 pages with 6 groups
> [ 0.000000] trace event string verifier disabled
> [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
> [ 0.000000] rcu: RCU event tracing is enabled.
> [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
> [ 0.000000] Trampoline variant of Tasks RCU enabled.
> [ 0.000000] Rude 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] GICv3: 256 SPIs implemented
> [ 0.000000] GICv3: 0 Extended SPIs implemented
> [ 0.000000] GICv3: Distributor has no Range Selector support
> [ 0.000000] Root IRQ handler: gic_handle_irq
> [ 0.000000] GICv3: 16 PPIs implemented
> [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
> [ 0.000000] random: get_random_bytes called from start_kernel+0x4ec/0x6d8 with crng_init=0
> [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
> [ 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.001293] Console: colour dummy device 80x25
> [ 0.002637] printk: console [hvc0] enabled
> [ 0.002723] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
> [ 0.002778] pid_max: default: 32768 minimum: 301
> [ 0.002961] LSM: Security Framework initializing
> [ 0.003147] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
> [ 0.003208] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
> [ 0.006199] cblist_init_generic: Setting adjustable number of callback queues.
> [ 0.006253] cblist_init_generic: Setting shift to 2 and lim to 1.
> [ 0.006466] cblist_init_generic: Setting shift to 2 and lim to 1.
> [ 0.006674] cblist_init_generic: Setting shift to 2 and lim to 1.
> [ 0.007550] xen:grant_table: Grant tables using version 1 layout
> [ 0.007723] Grant table initialized
> [ 0.007787] xen:events: Using FIFO-based ABI
> [ 0.007885] Xen: initializing cpu0
> [ 0.008180] rcu: Hierarchical SRCU implementation.
> [ 0.009914] EFI services will not be available.
> [ 0.010770] smp: Bringing up secondary CPUs ...
> [ 0.012104] Detected VIPT I-cache on CPU1
> [ 0.012172] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
> [ 0.012307] Xen: initializing cpu1
> [ 0.012396] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
> [ 0.013800] Detected VIPT I-cache on CPU2
> [ 0.013859] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
> [ 0.013963] Xen: initializing cpu2
> [ 0.014044] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
> [ 0.015448] Detected VIPT I-cache on CPU3
> [ 0.015509] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
> [ 0.015611] Xen: initializing cpu3
> [ 0.015693] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
> [ 0.016075] smp: Brought up 1 node, 4 CPUs
> [ 0.016370] SMP: Total of 4 processors activated.
> [ 0.016399] CPU features: detected: 32-bit EL0 Support
> [ 0.016428] CPU features: detected: CRC32 instructions
> [ 0.017502] CPU: All CPU(s) started at EL1
> [ 0.017609] alternatives: patching kernel code
> [ 0.019627] devtmpfs: initialized
> [ 0.040207] Registered cp15_barrier emulation handler
> [ 0.040322] Registered setend emulation handler
> [ 0.040695] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
> [ 0.040768] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
> [ 0.041829] pinctrl core: initialized pinctrl subsystem
> [ 0.043052] DMI not present or invalid.
> [ 0.043885] NET: Registered PF_NETLINK/PF_ROUTE protocol family
> [ 0.047588] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
> [ 0.047889] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
> [ 0.048271] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
> [ 0.048431] audit: initializing netlink subsys (disabled)
> [ 0.048861] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
> [ 0.051601] thermal_sys: Registered thermal governor 'fair_share'
> [ 0.051615] thermal_sys: Registered thermal governor 'step_wise'
> [ 0.051915] OF: /thermal-zones/cpu-thermal/cooling-maps/map0: could not find phandle 6
> [ 0.052043] thermal_sys: Add a cooling_device property with at least one device
> [ 0.052079] thermal_sys: failed to build thermal zone cpu-thermal: -2
> [ 0.052743] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
> [ 0.053220] ASID allocator initialised with 65536 entries
> [ 0.053329] xen:swiotlb_xen: Warning: only able to allocate 4 MB for software IO TLB
> [ 0.054503] software IO TLB: mapped [mem 0x0000000042800000-0x0000000042c00000] (4MB)
> [ 0.057221] ------------[ cut here ]------------
> [ 0.057256] WARNING: CPU: 0 PID: 1 at drivers/irqchip/irq-gic-v3.c:1555 gic_irq_domain_select+0x134/0x19c
> [ 0.057332] Modules linked in:
> [ 0.057362] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.18.0-0-nanopi-r4s #1-Alpine
> [ 0.057414] Hardware name: FriendlyElec NanoPi R4S (DT)
> [ 0.057442] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
> [ 0.057480] pc : gic_irq_domain_select+0x134/0x19c
> [ 0.057527] lr : gic_irq_domain_select+0xac/0x19c
> [ 0.057563] sp : ffffffc009aab910
> [ 0.057584] x29: ffffffc009aab910 x28: 0000000000000000 x27: ffffff8001e54880
> [ 0.057650] x26: ffffffc009aaba18 x25: ffffff803fdb5438 x24: 0000000000000001
> [ 0.057702] x23: ffffff803fdb5420 x22: ffffffc008f3e600 x21: 0000000000000000
> [ 0.057766] x20: ffffff8001c14300 x19: ffffffc009aaba18 x18: ffffffffffffffff
> [ 0.057818] x17: 3030306332343030 x16: 0000000000000014 x15: ffffff800243c303
> [ 0.057870] x14: 0000000000000000 x13: 0000000000000030 x12: 0101010101010101
> [ 0.057934] x11: 0000000000000040 x10: 000000000005d9f8 x9 : ffffffc0086ec310
> [ 0.057985] x8 : ffffffc009aabb38 x7 : 0000000000000000 x6 : 070f1900f2f2f5f0
> [ 0.058049] x5 : ffffffc008f3e600 x4 : 00000000a110c8ee x3 : ffffffc009aab94c
> [ 0.058100] x2 : ffffffc009aab950 x1 : ffffffc009aaba18 x0 : 00000000ffffffea
> [ 0.058165] Call trace:
> [ 0.058183] gic_irq_domain_select+0x134/0x19c
> [ 0.058218] irq_find_matching_fwspec+0x84/0x120
> [ 0.058268] irq_create_fwspec_mapping+0x48/0x32c
> [ 0.058305] irq_create_of_mapping+0x70/0xa0
> [ 0.058339] of_irq_get+0x98/0xe0
> [ 0.058385] of_irq_to_resource+0x40/0x110
> [ 0.058417] of_irq_to_resource_table+0x5c/0x84
> [ 0.058451] of_device_alloc+0x10c/0x200
> [ 0.058491] of_platform_device_create_pdata+0x64/0x104
> [ 0.058524] of_platform_bus_create+0x1bc/0x4cc
> [ 0.058555] of_platform_populate+0x6c/0x144
> [ 0.058586] of_platform_default_populate_init+0xf0/0x110
> [ 0.058636] do_one_initcall+0x50/0x29c
> [ 0.058667] kernel_init_freeable+0x22c/0x2b4
> [ 0.058700] kernel_init+0x30/0x140
> [ 0.058742] ret_from_fork+0x10/0x20
> [ 0.058772] ---[ end trace 0000000000000000 ]---
> [ 0.058866] irq: no irq domain found for interrupt-controller !

IRQ related failure here..
> [ 0.090309] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
> [ 0.107181] platform ff940000.hdmi: Fixing up cyclic dependency with ff8f0000.vop
> [ 0.107368] platform ff940000.hdmi: Fixing up cyclic dependency with ff900000.vop
> [ 0.108136] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
> [ 0.123334] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
> [ 0.124840] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
> [ 0.126129] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
> [ 0.127489] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
> [ 0.128782] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
> [ 0.157329] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
> [ 0.157406] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
> [ 0.157441] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
> [ 0.157475] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
> [ 0.158443] cryptd: max_cpu_qlen set to 1000
> [ 0.160218] xen:balloon: Initialising balloon driver
> [ 0.162960] iommu: Default domain type: Translated
> [ 0.163022] iommu: DMA domain TLB invalidation policy: strict mode
> [ 0.163567] SCSI subsystem initialized
> [ 0.163979] libata version 3.00 loaded.
> [ 0.164371] usbcore: registered new interface driver usbfs
> [ 0.164485] usbcore: registered new interface driver hub
> [ 0.164583] usbcore: registered new device driver usb
> [ 0.164763] pps_core: LinuxPPS API ver. 1 registered
> [ 0.164794] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
> [ 0.164913] PTP clock support registered
> [ 0.167479] Bluetooth: Core ver 2.22
> [ 0.167577] NET: Registered PF_BLUETOOTH protocol family
> [ 0.167608] Bluetooth: HCI device and connection manager initialized
> [ 0.167650] Bluetooth: HCI socket layer initialized
> [ 0.167698] Bluetooth: L2CAP socket layer initialized
> [ 0.167760] Bluetooth: SCO socket layer initialized
> [ 0.167825] NetLabel: Initializing
> [ 0.167849] NetLabel: domain hash size = 128
> [ 0.167875] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
> [ 0.168023] NetLabel: unlabeled traffic allowed by default
> [ 0.169303] clocksource: Switched to clocksource arch_sys_counter
> [ 0.275604] VFS: Disk quotas dquot_6.6.0
> [ 0.275769] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> [ 0.276044] FS-Cache: Loaded
> [ 0.295227] NET: Registered PF_INET protocol family
> [ 0.295510] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
> [ 0.297002] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
> [ 0.297212] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
> [ 0.297426] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
> [ 0.297813] TCP: Hash tables configured (established 8192 bind 8192)
> [ 0.298038] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
> [ 0.298155] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
> [ 0.298560] NET: Registered PF_UNIX/PF_LOCAL protocol family
> [ 0.299630] RPC: Registered named UNIX socket transport module.
> [ 0.299669] RPC: Registered udp transport module.
> [ 0.299709] RPC: Registered tcp transport module.
> [ 0.299736] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [ 0.299774] PCI: CLS 0 bytes, default 64
> [ 0.300269] Trying to unpack rootfs image as initramfs...
> [ 0.651975] Freeing initrd memory: 4372K
> [ 1.857240] Initialise system trusted keyrings
> [ 1.857941] workingset: timestamp_bits=46 max_order=18 bucket_order=0
> [ 1.869039] zbud: loaded
> [ 1.873406] NFS: Registering the id_resolver key type
> [ 1.873500] Key type id_resolver registered
> [ 1.873527] Key type id_legacy registered
> [ 1.873691] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
> [ 1.873740] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
> [ 1.874169] fuse: init (API version 7.36)
> [ 1.949267] Key type asymmetric registered
> [ 1.949338] Asymmetric key parser 'x509' registered
> [ 1.949446] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
> [ 1.949829] io scheduler mq-deadline registered
> [ 1.949864] io scheduler kyber registered
> [ 1.968979] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
> [ 1.970812] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
> [ 1.970877] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
> [ 1.971178] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
> [ 1.973736] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
> [ 1.973795] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
> [ 1.976151] xen:xen_evtchn: Event-channel device installed
> [ 1.979931] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
> [ 1.989095] cacheinfo: Unable to detect cache hierarchy for CPU 0
> [ 1.997616] brd: module loaded
> [ 2.009643] loop: module loaded
> [ 2.010996] zram: Added device: zram0
> [ 2.013937] Rounding down aligned max_sectors from 4294967295 to 4294967288
> [ 2.014322] db_root: cannot open: /etc/target
> [ 2.017096] QLogic/NetXen Network Driver v4.0.82
> [ 2.019040] PPP generic driver version 2.4.2
> [ 2.019407] xen_netfront: Initialising Xen virtual ethernet driver
> [ 2.019681] usbcore: registered new interface driver asix
> [ 2.019767] usbcore: registered new interface driver ax88179_178a
> [ 2.019854] usbcore: registered new interface driver cdc_ether
> [ 2.019941] usbcore: registered new interface driver qmi_wwan
> [ 2.019974] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [ 2.020025] ehci-pci: EHCI PCI platform driver
> [ 2.020107] ehci-platform: EHCI generic platform driver
> [ 2.022709] ehci-platform fe380000.usb: EHCI Host Controller
> [ 2.022774] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
> [ 2.023093] ehci-platform fe380000.usb: irq 18, io mem 0xfe380000
> [ 2.037344] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
> [ 2.037775] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
> [ 2.037825] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [ 2.037874] usb usb1: Product: EHCI Host Controller
> [ 2.037905] usb usb1: Manufacturer: Linux 5.18.0-0-nanopi-r4s ehci_hcd
> [ 2.037939] usb usb1: SerialNumber: fe380000.usb
> [ 2.038900] hub 1-0:1.0: USB hub found
> [ 2.038985] hub 1-0:1.0: 1 port detected
> [ 2.039995] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
> [ 2.040049] ehci-platform fe3c0000.usb: EHCI Host Controller
> [ 2.040104] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
> [ 2.040369] ehci-platform fe3c0000.usb: irq 20, io mem 0xfe3c0000
> [ 2.053351] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
> [ 2.053769] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
> [ 2.053819] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [ 2.053860] usb usb2: Product: EHCI Host Controller
> [ 2.053892] usb usb2: Manufacturer: Linux 5.18.0-0-nanopi-r4s ehci_hcd
> [ 2.053926] usb usb2: SerialNumber: fe3c0000.usb
> [ 2.054819] hub 2-0:1.0: USB hub found
> [ 2.054894] hub 2-0:1.0: 1 port detected
> [ 2.056080] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [ 2.056140] ohci-platform: OHCI generic platform driver
> [ 2.056617] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
> [ 2.056676] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
> [ 2.056946] ohci-platform fe3a0000.usb: irq 19, io mem 0xfe3a0000
> [ 2.117626] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
> [ 2.117691] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [ 2.117732] usb usb3: Product: Generic Platform OHCI controller
> [ 2.117766] usb usb3: Manufacturer: Linux 5.18.0-0-nanopi-r4s ohci_hcd
> [ 2.117806] usb usb3: SerialNumber: fe3a0000.usb
> [ 2.118725] hub 3-0:1.0: USB hub found
> [ 2.118808] hub 3-0:1.0: 1 port detected
> [ 2.119715] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
> [ 2.119761] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
> [ 2.119816] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
> [ 2.120121] ohci-platform fe3e0000.usb: irq 21, io mem 0xfe3e0000
> [ 2.181635] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
> [ 2.181699] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [ 2.181740] usb usb4: Product: Generic Platform OHCI controller
> [ 2.181774] usb usb4: Manufacturer: Linux 5.18.0-0-nanopi-r4s ohci_hcd
> [ 2.181815] usb usb4: SerialNumber: fe3e0000.usb
> [ 2.182739] hub 4-0:1.0: USB hub found
> [ 2.182825] hub 4-0:1.0: 1 port detected
> [ 2.185024] usbcore: registered new interface driver cdc_acm
> [ 2.185064] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
> [ 2.185169] usbcore: registered new interface driver cdc_wdm
> [ 2.185724] usbcore: registered new interface driver uas
> [ 2.185899] usbcore: registered new interface driver usb-storage
> [ 2.186068] usbcore: registered new interface driver usbserial_generic
> [ 2.186141] usbserial: USB Serial support registered for generic
> [ 2.186244] usbcore: registered new interface driver ch341
> [ 2.186305] usbserial: USB Serial support registered for ch341-uart
> [ 2.186413] usbcore: registered new interface driver cp210x
> [ 2.186473] usbserial: USB Serial support registered for cp210x
> [ 2.186603] usbcore: registered new interface driver ftdi_sio
> [ 2.186666] usbserial: USB Serial support registered for FTDI USB Serial Device
> [ 2.186902] usbcore: registered new interface driver option
> [ 2.186962] usbserial: USB Serial support registered for GSM modem (1-port)
> [ 2.187275] usbcore: registered new interface driver pl2303
> [ 2.187336] usbserial: USB Serial support registered for pl2303
> [ 2.187451] usbcore: registered new interface driver qcserial
> [ 2.187513] usbserial: USB Serial support registered for Qualcomm USB modem
> [ 2.188215] mousedev: PS/2 mouse device common for all mice
> [ 2.189723] i2c_dev: i2c /dev entries driver
> [ 2.202378] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
> [ 2.202457] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
> [ 2.203743] dw_wdt ff848000.watchdog: No valid TOPs array specified
> [ 2.204803] device-mapper: uevent: version 1.0.3
> [ 2.205322] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com
> [ 2.205958] cpu cpu0: OPP table can't be empty
> [ 2.207519] sdhci: Secure Digital Host Controller Interface driver
> [ 2.207567] sdhci: Copyright(c) Pierre Ossman
> [ 2.207592] Synopsys Designware Multimedia Card Interface Driver
> [ 2.208437] sdhci-pltfm: SDHCI platform and OF driver helper
> [ 2.211742] ledtrig-cpu: registered to indicate activity on CPUs
> [ 2.212877] hid: raw HID events driver (C) Jiri Kosina
> [ 2.213517] usbcore: registered new interface driver usbhid
> [ 2.213565] usbhid: USB HID core driver
> [ 2.216375] Initializing XFRM netlink socket
> [ 2.217116] NET: Registered PF_INET6 protocol family
> [ 2.219076] Segment Routing with IPv6
> [ 2.219161] In-situ OAM (IOAM) with IPv6
> [ 2.221203] bpfilter: Loaded bpfilter_umh pid 82
> [ 2.221706] NET: Registered PF_PACKET protocol family
> [ 2.222094] Bluetooth: RFCOMM TTY layer initialized
> [ 2.222142] Bluetooth: RFCOMM socket layer initialized
> [ 2.222206] Bluetooth: RFCOMM ver 1.11
> [ 2.222250] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
> [ 2.222292] Bluetooth: HIDP socket layer initialized
> [ 2.222436] Key type dns_resolver registered
> [ 2.223096] registered taskstats version 1
> [ 2.223138] Loading compiled-in X.509 certificates
> [ 2.226531] zswap: loaded using pool zstd/zsmalloc
> [ 2.227414] Key type ._fscrypt registered
> [ 2.227460] Key type .fscrypt registered
> [ 2.227483] Key type fscrypt-provisioning registered
> [ 2.337680] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
> [ 2.337762] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
> [ 2.342794] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
> [ 2.346737] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
> [ 2.350818] rk808 0-001b: chip id: 0x0
> [ 2.358082] rk808-regulator rk808-regulator: there is no dvs0 gpio
> [ 2.358185] rk808-regulator rk808-regulator: there is no dvs1 gpio
> [ 2.378462] random: fast init done
> [ 2.380095] rk808-rtc rk808-rtc: registered as rtc0
> [ 2.380928] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:19 UTC (1358499019)
> [ 2.382632] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
> [ 2.382693] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
> [ 2.385935] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
> [ 2.386038] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
> [ 2.386080] dwmmc_rockchip fe320000.mmc: Version ID is 270a
> [ 2.386248] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 17,32 bit host data width,256 deep fifo
> [ 2.387075] dwmmc_rockchip fe320000.mmc: Got CD GPIO
> [ 2.387479] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
> [ 2.387580] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
> [ 2.387646] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
> [ 2.388651] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
> [ 2.400524] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
> [ 2.848086] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
> [ 2.850516] dwmmc_rockchip fe320000.mmc: All phases bad!
> [ 2.850565] mmc1: tuning execution failed: -5
> [ 2.850600] mmc1: error -5 whilst initialising SD card
> [ 2.864875] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
> [ 2.889715] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
> [ 2.889827] rockchip-pcie: probe of f8000000.pcie failed with error -110

PCIe bus init failed here because of that none of the PCI device recognized. As there is IRQ related failure in logs above
maybe something related to PCI legacy interrupt causing the failure here.

The only difference I can see between the native Linux logs and dom0 logs is that PCI devices use MSI/MSI-X interrupt in
native Linux. Could you try to enable ITS in XEN and try again if PCI devices are recognized?

You can enable ITS in XEN via CONFIG_HAS_ITS.

diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
index be9eff0141..88f3837d80 100644
--- a/xen/arch/arm/Kconfig
+++ b/xen/arch/arm/Kconfig
@@ -17,6 +17,7 @@ config ARM
select HAS_PDX
select HAS_PMAP
select IOMMU_FORCE_PT_SHARE
+ select HAS_ITS

config ARCH_DEFCONFIG
string

Regards,
Rahul

> [ 2.894694] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
> [ 2.894770] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
> [ 2.895020] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
> [ 2.895362] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
> [ 2.895408] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
> [ 2.895446] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
> [ 2.895499] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
> [ 2.895629] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
> [ 2.895683] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
> [ 2.900741] rk_gmac-dwmac fe300000.ethernet: init for RGMII
> [ 2.901232] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
> [ 2.901386] rk_gmac-dwmac fe300000.ethernet: DWMAC1000
> [ 2.901429] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
> [ 2.901469] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
> [ 2.901506] rk_gmac-dwmac fe300000.ethernet: COE Type 2
> [ 2.901539] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
> [ 2.901575] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
> [ 2.901708] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
> [ 2.901745] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
> [ 2.901781] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
> [ 2.901829] rk_gmac-dwmac fe300000.ethernet: device MAC address c6:c9:ef:e1:46:36
> [ 2.964231] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
> [ 3.017176] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
> [ 3.017254] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
> [ 3.020672] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
> [ 3.020744] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
> [ 3.022248] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
> [ 3.022310] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
> [ 3.026048] input: gpio-keys as /devices/platform/gpio-keys/input/input0
> [ 3.027072] clk: Not disabling unused clocks
> [ 3.028136] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
> [ 3.028200] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
> [ 3.033549] Freeing unused kernel memory: 5120K
> [ 3.041372] Run /init as init process
> [ 3.041415] with arguments:
> [ 3.041440] /init
> [ 3.041460] noquiet
> [ 3.041481] with environment:
> [ 3.041503] HOME=/
> [ 3.041522] TERM=linux
> [ 3.041542] modloop=/modloop-nanopi-r4s
> [ 3.041566] modules=loop,squashfs,usb-storage
> [ 3.041593] earlyprintk=xen
> [ 3.114817] Alpine Init 3.6.1-r3
> [ 3.116627] Loading boot drivers...
> [ 3.118011] dwmmc_rockchip fe320000.mmc: Successfully tuned phase to 169
> [ 3.118105] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
> [ 3.119383] mmcblk1: mmc1:aaaa SD32G 29.7 GiB
> [ 3.133396] mmcblk1: p1 p2 p3
> [ 3.136245] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [ 3.136258] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
> [ 3.136346] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
> [ 3.139119] Loading boot drivers: ok.
> [ 3.148728] Mounting boot media...
> [ 3.815270] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Quota mode: none.
> [ 3.859698] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
> [ 3.981891] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
> [ 4.164749] Mounting boot media: ok.
> [ 4.174951] Loading user settings from /media/mmcblk1p2/pbp.apkovl.tar.gz...
> [ 4.250086] Loading user settings from /media/mmcblk1p2/pbp.apkovl.tar.gz: ok.
> [ 4.372282] Installing packages to root filesystem...
> [ 15.709423] Installing packages to root filesystem: ok.
> [ 17.290261] loop0: detected capacity change from 0 to 28456
> [ 17.320036] FAT-fs (loop0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
> [ 17.323098] exFAT-fs (loop0): invalid boot record signature
> [ 17.323122] exFAT-fs (loop0): failed to read boot sector
> [ 17.323133] exFAT-fs (loop0): failed to recognize exfat type
> [ 17.328719] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0xcf480ed2)
> [ 17.328753] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock
> [ 17.328921] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x6ca73354)
> [ 17.328939] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock
> [ 17.377429] overlayfs: "xino" feature enabled using 3 upper inode bits.
> [ 33.757410] vbus_typec: disabling
> [ 33.757469] vcca0v9_s3: disabling
> [ 34.293755] xen_wdt xen_wdt: initialized (timeout=60s, nowayout=0)
> [ 34.295414] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
> [ 34.295447] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
> [ 34.326128] tun: Universal TUN/TAP device driver, 1.6
> [ 34.855031] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
> [ 35.986977] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=61)
> [ 36.029528] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> [ 36.030832] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
> [ 36.030859] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
> [ 36.032557] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
> [ 36.262219] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
> [ 36.280653] xenbr0: port 1(eth0) entered blocking state
> [ 36.280718] xenbr0: port 1(eth0) entered disabled state
> [ 36.281117] device eth0 entered promiscuous mode
> [ 38.265560] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
> [ 38.265628] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [ 38.265879] xenbr0: port 1(eth0) entered blocking state
> [ 38.265901] xenbr0: port 1(eth0) entered forwarding state
> [ 38.266050] IPv6: ADDRCONF(NETDEV_CHANGE): xenbr0: link becomes ready
> [ 46.437334] random: crng init done
>
> ## standard linux dmesg ##
>
> [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
> [ 0.000000] Linux version 5.18.0-0-nanopi-r4s (bob@alpine-dev) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, GNU ld (GNU Binutils) 2.38) #1-Alpine SMP PREEMPT Wed, 29 Jun 2022 05:35:43 +0000
> [ 0.000000] Machine model: FriendlyElec NanoPi R4S
> [ 0.000000] efi: EFI v2.80 by Das U-Boot
> [ 0.000000] efi: RTPROP=0xf4f17040 SMBIOS=0xf4f16000 MEMRESERVE=0xb475b040
> [ 0.000000] Zone ranges:
> [ 0.000000] DMA [mem 0x0000000000200000-0x00000000f7ffffff]
> [ 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 0x0000000000200000-0x00000000f4ee5fff]
> [ 0.000000] node 0: [mem 0x00000000f4ee6000-0x00000000f4ee7fff]
> [ 0.000000] node 0: [mem 0x00000000f4ee8000-0x00000000f4f0dfff]
> [ 0.000000] node 0: [mem 0x00000000f4f0e000-0x00000000f4f14fff]
> [ 0.000000] node 0: [mem 0x00000000f4f15000-0x00000000f4f15fff]
> [ 0.000000] node 0: [mem 0x00000000f4f16000-0x00000000f4f19fff]
> [ 0.000000] node 0: [mem 0x00000000f4f1a000-0x00000000f4f1afff]
> [ 0.000000] node 0: [mem 0x00000000f4f1b000-0x00000000f4f1ffff]
> [ 0.000000] node 0: [mem 0x00000000f4f20000-0x00000000f4f20fff]
> [ 0.000000] node 0: [mem 0x00000000f4f21000-0x00000000f4f21fff]
> [ 0.000000] node 0: [mem 0x00000000f4f22000-0x00000000f4f22fff]
> [ 0.000000] node 0: [mem 0x00000000f4f23000-0x00000000f4f23fff]
> [ 0.000000] node 0: [mem 0x00000000f4f24000-0x00000000f4f25fff]
> [ 0.000000] node 0: [mem 0x00000000f4f26000-0x00000000f4f26fff]
> [ 0.000000] node 0: [mem 0x00000000f4f27000-0x00000000f7f3ffff]
> [ 0.000000] node 0: [mem 0x00000000f7f40000-0x00000000f7f4ffff]
> [ 0.000000] node 0: [mem 0x00000000f7f50000-0x00000000f7ffffff]
> [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
> [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
> [ 0.000000] cma: Reserved 16 MiB at 0x00000000f6400000
> [ 0.000000] psci: probing for conduit method from DT.
> [ 0.000000] psci: PSCIv1.1 detected in firmware.
> [ 0.000000] psci: Using standard PSCI v0.2 function IDs
> [ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
> [ 0.000000] psci: SMC Calling Convention v1.2
> [ 0.000000] percpu: Embedded 28 pages/cpu s77368 r8192 d29128 u114688
> [ 0.000000] pcpu-alloc: s77368 r8192 d29128 u114688 alloc=28*4096
> [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
> [ 0.000000] Detected VIPT I-cache on CPU0
> [ 0.000000] CPU features: detected: GIC system register CPU interface
> [ 0.000000] CPU features: detected: ARM erratum 845719
> [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 999432
> [ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-nanopi-r4s modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage noquiet ro loglevel=8 clk_ignore_unused console=ttyS2,1500000
> [ 0.000000] Unknown kernel command line parameters "noquiet BOOT_IMAGE=/vmlinuz-nanopi-r4s modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage", will be passed to user space.
> [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
> [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
> [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
> [ 0.000000] Memory: 3934244K/4061184K available (14272K kernel code, 2772K rwdata, 4132K rodata, 5120K init, 779K bss, 110556K reserved, 16384K cma-reserved)
> [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
> [ 0.000000] ftrace: allocating 44736 entries in 175 pages
> [ 0.000000] ftrace: allocated 175 pages with 6 groups
> [ 0.000000] trace event string verifier disabled
> [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
> [ 0.000000] rcu: RCU event tracing is enabled.
> [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
> [ 0.000000] Trampoline variant of Tasks RCU enabled.
> [ 0.000000] Rude 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=6
> [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
> [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
> [ 0.000000] GICv3: 256 SPIs implemented
> [ 0.000000] GICv3: 0 Extended SPIs implemented
> [ 0.000000] GICv3: Distributor has no Range Selector support
> [ 0.000000] Root IRQ handler: gic_handle_irq
> [ 0.000000] GICv3: 16 PPIs implemented
> [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
> [ 0.000000] ITS [mem 0xfee20000-0xfee3ffff]
> [ 0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @580000 (flat, esz 8, psz 64K, shr 0)
> [ 0.000000] ITS: using cache flushing for cmd queue
> [ 0.000000] GICv3: using LPI property table @0x0000000000600000
> [ 0.000000] GIC: using cache flushing for LPI property table
> [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000610000
> [ 0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
> [ 0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
> [ 0.000000] random: get_random_bytes called from start_kernel+0x4ec/0x6d8 with crng_init=0
> [ 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.001175] Console: colour dummy device 80x25
> [ 0.001250] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
> [ 0.001276] pid_max: default: 32768 minimum: 301
> [ 0.001413] LSM: Security Framework initializing
> [ 0.001565] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
> [ 0.001605] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
> [ 0.004689] cblist_init_generic: Setting adjustable number of callback queues.
> [ 0.004716] cblist_init_generic: Setting shift to 3 and lim to 1.
> [ 0.004877] cblist_init_generic: Setting shift to 3 and lim to 1.
> [ 0.005040] cblist_init_generic: Setting shift to 3 and lim to 1.
> [ 0.005406] rcu: Hierarchical SRCU implementation.
> [ 0.006452] Platform MSI: interrupt-controller@fee20000 domain created
> [ 0.006885] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
> [ 0.007111] Remapping and enabling EFI services.
> [ 0.008076] smp: Bringing up secondary CPUs ...
> [ 0.009089] Detected VIPT I-cache on CPU1
> [ 0.009140] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
> [ 0.009164] GICv3: CPU1: using allocated LPI pending table @0x0000000000620000
> [ 0.009236] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
> [ 0.010356] Detected VIPT I-cache on CPU2
> [ 0.010397] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
> [ 0.010417] GICv3: CPU2: using allocated LPI pending table @0x0000000000630000
> [ 0.010466] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
> [ 0.011560] Detected VIPT I-cache on CPU3
> [ 0.011599] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
> [ 0.011619] GICv3: CPU3: using allocated LPI pending table @0x0000000000640000
> [ 0.011668] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
> [ 0.012772] CPU features: detected: Spectre-v2
> [ 0.012789] CPU features: detected: Spectre-BHB
> [ 0.012800] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
> [ 0.012807] Detected PIPT I-cache on CPU4
> [ 0.012843] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
> [ 0.012862] GICv3: CPU4: using allocated LPI pending table @0x0000000000650000
> [ 0.012910] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
> [ 0.014005] Detected PIPT I-cache on CPU5
> [ 0.014039] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
> [ 0.014056] GICv3: CPU5: using allocated LPI pending table @0x0000000000660000
> [ 0.014094] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
> [ 0.014290] smp: Brought up 1 node, 6 CPUs
> [ 0.014399] SMP: Total of 6 processors activated.
> [ 0.014413] CPU features: detected: 32-bit EL0 Support
> [ 0.014426] CPU features: detected: CRC32 instructions
> [ 0.015552] CPU: All CPU(s) started at EL2
> [ 0.015616] alternatives: patching kernel code
> [ 0.018014] devtmpfs: initialized
> [ 0.029610] Registered cp15_barrier emulation handler
> [ 0.029640] Registered setend emulation handler
> [ 0.029853] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
> [ 0.029878] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
> [ 0.030500] pinctrl core: initialized pinctrl subsystem
> [ 0.031214] SMBIOS 3.0 present.
> [ 0.031241] DMI: Unknown Unknown Product/Unknown Product, BIOS 2021.07-g886a84ea 07/02/2022
> [ 0.031734] NET: Registered PF_NETLINK/PF_ROUTE protocol family
> [ 0.034377] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
> [ 0.034655] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
> [ 0.035056] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
> [ 0.035157] audit: initializing netlink subsys (disabled)
> [ 0.035426] audit: type=2000 audit(0.032:1): state=initialized audit_enabled=0 res=1
> [ 0.036516] thermal_sys: Registered thermal governor 'fair_share'
> [ 0.036527] thermal_sys: Registered thermal governor 'step_wise'
> [ 0.037022] cpuidle: using governor ladder
> [ 0.037060] cpuidle: using governor menu
> [ 0.037229] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
> [ 0.037463] ASID allocator initialised with 65536 entries
> [ 0.070660] platform ff940000.hdmi: Fixing up cyclic dependency with ff8f0000.vop
> [ 0.070735] platform ff940000.hdmi: Fixing up cyclic dependency with ff900000.vop
> [ 0.081496] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
> [ 0.082340] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
> [ 0.083124] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
> [ 0.083946] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
> [ 0.084705] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
> [ 0.102301] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
> [ 0.102321] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
> [ 0.102333] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
> [ 0.102344] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
> [ 0.102928] cryptd: max_cpu_qlen set to 1000
> [ 0.105304] iommu: Default domain type: Translated
> [ 0.105318] iommu: DMA domain TLB invalidation policy: strict mode
> [ 0.105644] SCSI subsystem initialized
> [ 0.105858] libata version 3.00 loaded.
> [ 0.106057] usbcore: registered new interface driver usbfs
> [ 0.106106] usbcore: registered new interface driver hub
> [ 0.106154] usbcore: registered new device driver usb
> [ 0.106232] pps_core: LinuxPPS API ver. 1 registered
> [ 0.106242] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
> [ 0.106261] PTP clock support registered
> [ 0.106784] Registered efivars operations
> [ 0.107785] Bluetooth: Core ver 2.22
> [ 0.107829] NET: Registered PF_BLUETOOTH protocol family
> [ 0.107838] Bluetooth: HCI device and connection manager initialized
> [ 0.107854] Bluetooth: HCI socket layer initialized
> [ 0.107872] Bluetooth: L2CAP socket layer initialized
> [ 0.107898] Bluetooth: SCO socket layer initialized
> [ 0.107921] NetLabel: Initializing
> [ 0.107929] NetLabel: domain hash size = 128
> [ 0.107937] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
> [ 0.108003] NetLabel: unlabeled traffic allowed by default
> [ 0.108573] clocksource: Switched to clocksource arch_sys_counter
> [ 0.175093] VFS: Disk quotas dquot_6.6.0
> [ 0.175165] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> [ 0.175519] FS-Cache: Loaded
> [ 0.187423] NET: Registered PF_INET protocol family
> [ 0.187671] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
> [ 0.191058] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 81920 bytes, linear)
> [ 0.191219] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
> [ 0.191580] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
> [ 0.192418] TCP: Hash tables configured (established 32768 bind 32768)
> [ 0.192622] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear)
> [ 0.192831] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear)
> [ 0.193228] NET: Registered PF_UNIX/PF_LOCAL protocol family
> [ 0.193798] RPC: Registered named UNIX socket transport module.
> [ 0.193813] RPC: Registered udp transport module.
> [ 0.193822] RPC: Registered tcp transport module.
> [ 0.193830] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [ 0.193845] PCI: CLS 0 bytes, default 64
> [ 0.194230] Trying to unpack rootfs image as initramfs...
> [ 0.205430] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
> [ 0.205921] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
> [ 0.487021] Freeing initrd memory: 4372K
> [ 1.266650] Initialise system trusted keyrings
> [ 1.266988] workingset: timestamp_bits=46 max_order=20 bucket_order=0
> [ 1.273704] zbud: loaded
> [ 1.276410] NFS: Registering the id_resolver key type
> [ 1.276445] Key type id_resolver registered
> [ 1.276456] Key type id_legacy registered
> [ 1.276581] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
> [ 1.276602] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
> [ 1.276840] fuse: init (API version 7.36)
> [ 1.342333] Key type asymmetric registered
> [ 1.342347] Asymmetric key parser 'x509' registered
> [ 1.342406] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
> [ 1.342610] io scheduler mq-deadline registered
> [ 1.342623] io scheduler kyber registered
> [ 1.356282] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
> [ 1.356306] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
> [ 1.358102] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
> [ 1.358120] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
> [ 1.359388] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
> [ 1.361383] printk: console [ttyS2] disabled
> [ 1.361463] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 41, base_baud = 1500000) is a 16550A
> [ 1.478953] printk: console [ttyS2] enabled
> [ 1.484041] cacheinfo: Unable to detect cache hierarchy for CPU 0
> [ 1.489983] brd: module loaded
> [ 1.498362] loop: module loaded
> [ 1.499260] zram: Added device: zram0
> [ 1.501432] Rounding down aligned max_sectors from 4294967295 to 4294967288
> [ 1.502268] db_root: cannot open: /etc/target
> [ 1.504317] QLogic/NetXen Network Driver v4.0.82
> [ 1.505834] PPP generic driver version 2.4.2
> [ 1.506427] usbcore: registered new interface driver asix
> [ 1.506962] usbcore: registered new interface driver ax88179_178a
> [ 1.507529] usbcore: registered new interface driver cdc_ether
> [ 1.508078] usbcore: registered new interface driver qmi_wwan
> [ 1.508639] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [ 1.509233] ehci-pci: EHCI PCI platform driver
> [ 1.509664] ehci-platform: EHCI generic platform driver
> [ 1.512535] ehci-platform fe380000.usb: EHCI Host Controller
> [ 1.513089] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
> [ 1.513911] ehci-platform fe380000.usb: irq 33, io mem 0xfe380000
> [ 1.528588] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
> [ 1.529399] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
> [ 1.530135] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [ 1.530775] usb usb1: Product: EHCI Host Controller
> [ 1.531211] usb usb1: Manufacturer: Linux 5.18.0-0-nanopi-r4s ehci_hcd
> [ 1.531788] usb usb1: SerialNumber: fe380000.usb
> [ 1.532821] hub 1-0:1.0: USB hub found
> [ 1.533201] hub 1-0:1.0: 1 port detected
> [ 1.534177] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
> [ 1.534866] ehci-platform fe3c0000.usb: EHCI Host Controller
> [ 1.535381] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
> [ 1.536201] ehci-platform fe3c0000.usb: irq 35, io mem 0xfe3c0000
> [ 1.552598] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
> [ 1.553392] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
> [ 1.554127] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [ 1.554767] usb usb2: Product: EHCI Host Controller
> [ 1.555201] usb usb2: Manufacturer: Linux 5.18.0-0-nanopi-r4s ehci_hcd
> [ 1.555779] usb usb2: SerialNumber: fe3c0000.usb
> [ 1.556789] hub 2-0:1.0: USB hub found
> [ 1.557161] hub 2-0:1.0: 1 port detected
> [ 1.558222] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [ 1.558785] ohci-platform: OHCI generic platform driver
> [ 1.559541] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
> [ 1.560153] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
> [ 1.560982] ohci-platform fe3a0000.usb: irq 34, io mem 0xfe3a0000
> [ 1.624772] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
> [ 1.625509] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [ 1.626149] usb usb3: Product: Generic Platform OHCI controller
> [ 1.626674] usb usb3: Manufacturer: Linux 5.18.0-0-nanopi-r4s ohci_hcd
> [ 1.627252] usb usb3: SerialNumber: fe3a0000.usb
> [ 1.628217] hub 3-0:1.0: USB hub found
> [ 1.628614] hub 3-0:1.0: 1 port detected
> [ 1.629531] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
> [ 1.630220] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
> [ 1.630823] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
> [ 1.631627] ohci-platform fe3e0000.usb: irq 36, io mem 0xfe3e0000
> [ 1.692778] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
> [ 1.693513] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
> [ 1.694153] usb usb4: Product: Generic Platform OHCI controller
> [ 1.694676] usb usb4: Manufacturer: Linux 5.18.0-0-nanopi-r4s ohci_hcd
> [ 1.695253] usb usb4: SerialNumber: fe3e0000.usb
> [ 1.696217] hub 4-0:1.0: USB hub found
> [ 1.696610] hub 4-0:1.0: 1 port detected
> [ 1.698199] usbcore: registered new interface driver cdc_acm
> [ 1.698703] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
> [ 1.699446] usbcore: registered new interface driver cdc_wdm
> [ 1.700217] usbcore: registered new interface driver uas
> [ 1.700804] usbcore: registered new interface driver usb-storage
> [ 1.701424] usbcore: registered new interface driver usbserial_generic
> [ 1.702018] usbserial: USB Serial support registered for generic
> [ 1.702596] usbcore: registered new interface driver ch341
> [ 1.703097] usbserial: USB Serial support registered for ch341-uart
> [ 1.703701] usbcore: registered new interface driver cp210x
> [ 1.704210] usbserial: USB Serial support registered for cp210x
> [ 1.704830] usbcore: registered new interface driver ftdi_sio
> [ 1.705357] usbserial: USB Serial support registered for FTDI USB Serial Device
> [ 1.706116] usbcore: registered new interface driver option
> [ 1.706626] usbserial: USB Serial support registered for GSM modem (1-port)
> [ 1.707392] usbcore: registered new interface driver pl2303
> [ 1.707902] usbserial: USB Serial support registered for pl2303
> [ 1.708474] usbcore: registered new interface driver qcserial
> [ 1.709023] usbserial: USB Serial support registered for Qualcomm USB modem
> [ 1.710048] mousedev: PS/2 mouse device common for all mice
> [ 1.711394] i2c_dev: i2c /dev entries driver
> [ 1.721141] dw_wdt ff848000.watchdog: No valid TOPs array specified
> [ 1.722328] device-mapper: uevent: version 1.0.3
> [ 1.723041] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com
> [ 1.726235] sdhci: Secure Digital Host Controller Interface driver
> [ 1.726786] sdhci: Copyright(c) Pierre Ossman
> [ 1.727173] Synopsys Designware Multimedia Card Interface Driver
> [ 1.728216] sdhci-pltfm: SDHCI platform and OF driver helper
> [ 1.730807] ledtrig-cpu: registered to indicate activity on CPUs
> [ 1.731979] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
> [ 1.732635] hid: raw HID events driver (C) Jiri Kosina
> [ 1.733417] usbcore: registered new interface driver usbhid
> [ 1.733913] usbhid: USB HID core driver
> [ 1.736129] Initializing XFRM netlink socket
> [ 1.737012] NET: Registered PF_INET6 protocol family
> [ 1.738726] Segment Routing with IPv6
> [ 1.739097] In-situ OAM (IOAM) with IPv6
> [ 1.741360] bpfilter: Loaded bpfilter_umh pid 90
> [ 1.742121] NET: Registered PF_PACKET protocol family
> [ 1.743059] Bluetooth: RFCOMM TTY layer initialized
> [ 1.743502] Bluetooth: RFCOMM socket layer initialized
> [ 1.743975] Bluetooth: RFCOMM ver 1.11
> [ 1.744329] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
> [ 1.744931] Bluetooth: HIDP socket layer initialized
> [ 1.745458] Key type dns_resolver registered
> [ 1.746375] registered taskstats version 1
> [ 1.746753] Loading compiled-in X.509 certificates
> [ 1.752475] zswap: loaded using pool zstd/zsmalloc
> [ 1.754575] Key type ._fscrypt registered
> [ 1.754946] Key type .fscrypt registered
> [ 1.755297] Key type fscrypt-provisioning registered
> [ 1.838983] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
> [ 1.845867] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
> [ 1.853499] rk808 0-001b: chip id: 0x0
> [ 1.865124] rk808-regulator rk808-regulator: there is no dvs0 gpio
> [ 1.865706] rk808-regulator rk808-regulator: there is no dvs1 gpio
> [ 1.895536] random: fast init done
> [ 1.898548] rk808-rtc rk808-rtc: registered as rtc0
> [ 1.900845] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:18 UTC (1358499018)
> [ 1.909084] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
> [ 1.909743] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
> [ 1.910336] dwmmc_rockchip fe320000.mmc: Version ID is 270a
> [ 1.910892] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
> [ 1.912321] dwmmc_rockchip fe320000.mmc: Got CD GPIO
> [ 1.912541] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
> [ 1.913426] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
> [ 1.914168] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
> [ 1.915171] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
> [ 1.925976] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
> [ 1.944776] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
> [ 1.945387] pci_bus 0000:00: root bus resource [bus 00-1f]
> [ 1.945887] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
> [ 1.946508] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
> [ 1.947415] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
> [ 1.948154] pci 0000:00:00.0: supports D1
> [ 1.948523] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
> [ 1.954207] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
> [ 1.955071] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
> [ 1.955657] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
> [ 1.956275] pci 0000:01:00.0: reg 0x10: [io size 0x0100]
> [ 1.956831] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00000fff 64bit]
> [ 1.957471] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
> [ 1.958110] pci 0000:01:00.0: Upstream bridge's Max Payload Size set to 128 (was 256, max 256)
> [ 1.958874] pci 0000:01:00.0: Max Payload Size set to 128 (was 128, max 128)
> [ 1.959829] pci 0000:01:00.0: supports D1 D2
> [ 1.960206] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
> [ 1.976935] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
> [ 1.977565] pci 0000:00:00.0: BAR 8: assigned [mem 0xfa000000-0xfa0fffff]
> [ 1.978179] pci 0000:01:00.0: BAR 4: assigned [mem 0xfa000000-0xfa003fff 64bit]
> [ 1.978872] pci 0000:01:00.0: BAR 2: assigned [mem 0xfa004000-0xfa004fff 64bit]
> [ 1.979559] pci 0000:01:00.0: BAR 0: no space for [io size 0x0100]
> [ 1.980116] pci 0000:01:00.0: BAR 0: failed to assign [io size 0x0100]
> [ 1.980722] pci 0000:00:00.0: PCI bridge to [bus 01]
> [ 1.981173] pci 0000:00:00.0: bridge window [mem 0xfa000000-0xfa0fffff]
> [ 1.982076] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
> [ 1.982974] pcieport 0000:00:00.0: PME: Signaling with IRQ 82
> [ 1.989691] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
> [ 1.990277] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
> [ 1.990880] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
> [ 1.991487] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
> [ 1.992104] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
> [ 1.992612] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
> [ 1.993111] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
> [ 1.993672] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
> [ 1.994278] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
> [ 1.999815] rk_gmac-dwmac fe300000.ethernet: init for RGMII
> [ 2.000046] mmc1: error -123 whilst initialising SD card
> [ 2.000884] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
> [ 2.001511] rk_gmac-dwmac fe300000.ethernet: DWMAC1000
> [ 2.001971] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
> [ 2.002624] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
> [ 2.003276] rk_gmac-dwmac fe300000.ethernet: COE Type 2
> [ 2.003735] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
> [ 2.004350] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
> [ 2.004953] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
> [ 2.005471] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
> [ 2.005980] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
> [ 2.006682] rk_gmac-dwmac fe300000.ethernet: device MAC address 66:c3:c0:41:3d:ff
> [ 2.014806] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
> [ 2.045042] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
> [ 2.076950] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
> [ 2.126874] input: gpio-keys as /devices/platform/gpio-keys/input/input0
> [ 2.128198] clk: Not disabling unused clocks
> [ 2.128905] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
> [ 2.135593] Freeing unused kernel memory: 5120K
> [ 2.136083] Run /init as init process
> [ 2.136412] with arguments:
> [ 2.136866] /init
> [ 2.137115] noquiet
> [ 2.137431] with environment:
> [ 2.137716] HOME=/
> [ 2.137932] TERM=linux
> [ 2.138217] BOOT_IMAGE=/vmlinuz-nanopi-r4s
> [ 2.138615] modloop=/modloop-nanopi-r4s
> [ 2.139018] modules=loop,squashfs,usb-storage
> [ 2.181654] Alpine Init 3.6.1-r3
> [ 2.182766] Loading boot drivers...
> [ 2.194307] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [ 2.197626] Loading boot drivers: ok.
> [ 2.205063] Mounting boot media...
> [ 2.630008] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
> [ 2.892730] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
> [ 2.911773] dwmmc_rockchip fe320000.mmc: Successfully tuned phase to 168
> [ 2.912408] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
> [ 2.913980] mmcblk1: mmc1:aaaa SD32G 29.7 GiB
> [ 2.926426] mmcblk1: p1 p2 p3
> [ 3.026963] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
> [ 3.073954] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
> [ 3.125432] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Quota mode: none.
> [ 3.133567] Mounting boot media: ok.
> [ 3.140260] Loading user settings from /media/mmcblk1p2/pbp.apkovl.tar.gz...
> [ 3.185302] Loading user settings from /media/mmcblk1p2/pbp.apkovl.tar.gz: ok.
> [ 3.260366] Installing packages to root filesystem...
> [ 7.607151] Installing packages to root filesystem: ok.
> [ 8.608835] loop0: detected capacity change from 0 to 28456
> [ 8.655642] FAT-fs (loop0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
> [ 8.657964] exFAT-fs (loop0): invalid boot record signature
> [ 8.657986] exFAT-fs (loop0): failed to read boot sector
> [ 8.657994] exFAT-fs (loop0): failed to recognize exfat type
> [ 8.662400] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0xcf480ed2)
> [ 8.662428] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock
> [ 8.662584] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x6ca73354)
> [ 8.662596] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock
> [ 8.696592] overlayfs: "xino" feature enabled using 3 upper inode bits.
> [ 12.550860] r8169 0000:01:00.0: enabling device (0000 -> 0002)
> [ 12.565274] r8169 0000:01:00.0: can't read MAC address, setting random one
> [ 12.581212] r8169 0000:01:00.0 eth1: RTL8168h/8111h, ea:99:a9:6d:c6:77, XID 541, IRQ 85
> [ 12.581237] r8169 0000:01:00.0 eth1: jumbo features [frames: 9194 bytes, tx checksumming: ko]
> [ 13.486229] tun: Universal TUN/TAP device driver, 1.6
> [ 13.813082] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
> [ 14.574554] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=83)
> [ 14.621325] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
> [ 14.622911] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
> [ 14.622943] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
> [ 14.623999] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
> [ 14.738749] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
> [ 14.742630] xenbr0: port 1(eth0) entered blocking state
> [ 14.742701] xenbr0: port 1(eth0) entered disabled state
> [ 14.742941] device eth0 entered promiscuous mode
> [ 16.999475] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
> [ 16.999551] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [ 17.000023] xenbr0: port 1(eth0) entered blocking state
> [ 17.000047] xenbr0: port 1(eth0) entered forwarding state
> [ 17.000195] IPv6: ADDRCONF(NETDEV_CHANGE): xenbr0: link becomes ready
> [ 18.988886] random: crng init done
> [ 19.827757] r8169 0000:01:00.0: Direct firmware load for rtl_nic/rtl8168h-2.fw failed with error -2
> [ 19.827784] r8169 0000:01:00.0: Falling back to sysfs fallback for: rtl_nic/rtl8168h-2.fw
> [ 19.845415] r8169 0000:01:00.0: Unable to load firmware rtl_nic/rtl8168h-2.fw (-2)
> [ 19.873036] Generic FE-GE Realtek PHY r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
> [ 19.997375] r8169 0000:01:00.0 eth1: Link is Down
> [ 23.004855] r8169 0000:01:00.0 eth1: Link is Up - 1Gbps/Full - flow control rx/tx
> [ 23.004942] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
> [ 33.756993] vbus_typec: disabling
>
Re: [ARM PCI] Rockchip PCI devices not recognized in Dom0 [ In reply to ]
Hi Rahul,

> IRQ related failure here..
>> [ 0.090309] irq: type mismatch, failed to map hwirq-32 for
>> interrupt-controller!
>> [ 0.107181] platform ff940000.hdmi: Fixing up cyclic dependency with
>> ff8f0000.vop
>> [ 0.107368] platform ff940000.hdmi: Fixing up cyclic dependency with
>> ff900000.vop
>> [ 0.108136] irq: type mismatch, failed to map hwirq-32 for
>> interrupt-controller!

> PCIe bus init failed here because of that none of the PCI device recognized. As there is IRQ related failure in logs above
> maybe something related to PCI legacy interrupt causing the failure here.
>
> The only difference I can see between the native Linux logs and dom0 logs is that PCI devices use MSI/MSI-X interrupt in
> native Linux. Could you try to enable ITS in XEN and try again if PCI devices are recognized?
>
> You can enable ITS in XEN via CONFIG_HAS_ITS.
>
> diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
> index be9eff0141..88f3837d80 100644
> --- a/xen/arch/arm/Kconfig
> +++ b/xen/arch/arm/Kconfig
> @@ -17,6 +17,7 @@ config ARM
> select HAS_PDX
> select HAS_PMAP
> select IOMMU_FORCE_PT_SHARE
> + select HAS_ITS
>
> config ARCH_DEFCONFIG
> string
>
> Regards,
> Rahul
>

I recompiled the hypervisor with CONFIG_HAS_ITS as requested but problem persists. Please see new hypervisor and dom0 log below.

# hypervisor.log #

(XEN) Checking for initrd in /chosen
(XEN) RAM: 0000000000200000 - 00000000080ecfff
(XEN) RAM: 0000000008113000 - 00000000b5b67fff
(XEN) RAM: 00000000b5b68000 - 00000000b5b7afff
(XEN) RAM: 00000000b5b7b000 - 00000000b5cabfff
(XEN) RAM: 00000000b5cbc000 - 00000000b7bb3fff
(XEN) RAM: 00000000b7bb4000 - 00000000f4ee2fff
(XEN) RAM: 00000000f4ee3000 - 00000000f4ee3fff
(XEN) RAM: 00000000f4ee6000 - 00000000f4ee9fff
(XEN) RAM: 00000000f4eea000 - 00000000f4f0dfff
(XEN) RAM: 00000000f4f15000 - 00000000f4f15fff
(XEN) RAM: 00000000f4f1a000 - 00000000f4f1afff
(XEN) RAM: 00000000f4f20000 - 00000000f4f20fff
(XEN) RAM: 00000000f4f22000 - 00000000f4f22fff
(XEN) RAM: 00000000f4f24000 - 00000000f4f25fff
(XEN) RAM: 00000000f4f27000 - 00000000f4f28fff
(XEN) RAM: 00000000f4f29000 - 00000000f7f3ffff
(XEN) RAM: 00000000f7f50000 - 00000000f7ffffff
(XEN)
(XEN) MODULE[0]: 00000000b5b7b000 - 00000000b5cab0c8 Xen
(XEN) MODULE[1]: 00000000b5b69000 - 00000000b5b7a000 Device Tree
(XEN) MODULE[2]: 00000000b6102000 - 00000000b7ac7200 Kernel
(XEN) MODULE[3]: 00000000b5cbc000 - 00000000b6100721 Ramdisk
(XEN)
(XEN) CMDLINE[00000000b6102000]:chosen modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage noquiet ro loglevel=8 clk_ignore_unused console=hvc0 earlycon=xen earlyprintk=xen
(XEN)
(XEN) Command line: console=dtuart dtuart=serial2 loglvl=all guest_loglvl=all dom0_mem=1G dom0_vpcus=1
(XEN) parameter "dom0_vpcus" unknown!
(XEN) Domain heap initialised
(XEN) Booting using Device Tree
(XEN) Platform: Generic System
(XEN) Looking for dtuart at "serial2", options ""
Xen 4.16.1
(XEN) Xen version 4.16.1 (bob@my.domain) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219) debug=n Tue Jul 5 16:01:55 BST 2022
(XEN) Latest ChangeSet:
(XEN) build-id: 07222392a56897d1ce72b6465c15c0c8d7c58398
(XEN) Processor: 00000000410fd034: "ARM Limited", variant: 0x0, part 0xd03,rev 0x4
(XEN) 64-bit Execution:
(XEN) Processor Features: 0000000001002222 0000000000000000
(XEN) Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32
(XEN) Extensions: FloatingPoint AdvancedSIMD GICv3-SysReg
(XEN) Debug Features: 0000000010305106 0000000000000000
(XEN) Auxiliary Features: 0000000000000000 0000000000000000
(XEN) Memory Model Features: 0000000000001122 0000000000000000
(XEN) ISA Features: 0000000000011120 0000000000000000
(XEN) 32-bit Execution:
(XEN) Processor Features: 0000000000000131:0000000010011011
(XEN) Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle
(XEN) Extensions: GenericTimer Security
(XEN) Debug Features: 0000000003010066
(XEN) Auxiliary Features: 0000000000000000
(XEN) Memory Model Features: 0000000010201105 0000000040000000
(XEN) 0000000001260000 0000000002102211
(XEN) ISA Features: 0000000002101110 0000000013112111 0000000021232042
(XEN) 0000000001112131 0000000000011142 0000000000011121
(XEN) Using SMC Calling Convention v1.2
(XEN) Using PSCI v1.1
(XEN) SMP: Allowing 6 CPUs
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 24000 KHz
(XEN) GICv3 initialization:
(XEN) gic_dist_addr=0x000000fee00000
(XEN) gic_maintenance_irq=25
(XEN) gic_rdist_stride=0
(XEN) gic_rdist_regions=1
(XEN) redistributor regions:
(XEN) - region 0: 0x000000fef00000 - 0x000000fefc0000
(XEN) GICv3 compatible with GICv2 cbase 0x000000fff00000 vbase 0x000000fff20000
(XEN) GICv3: using at most 57344 LPIs on the host.
(XEN) GICv3: 288 lines, (IID 0001143b).
(XEN) GICv3: Found ITS @0xfee20000
(XEN) using non-cacheable ITS command queue
(XEN) GICv3: CPU0: Found redistributor in region 0 @000000004001c000
(XEN) XSM Framework v1.0.1 initialized
(XEN) Initialising XSM SILO mode
(XEN) Using scheduler: SMP Credit Scheduler rev2 (credit2)
(XEN) Initializing Credit2 scheduler
(XEN) load_precision_shift: 18
(XEN) load_window_shift: 30
(XEN) underload_balance_tolerance: 0
(XEN) overload_balance_tolerance: -3
(XEN) runqueues arrangement: socket
(XEN) cap enforcement granularity: 10ms
(XEN) load tracking window length 1073741824 ns
(XEN) Allocated console ring of 64 KiB.
(XEN) CPU0: Guest atomics will try 7 times before pausing the domain
(XEN) Bringing up CPU1
(XEN) GICv3: CPU1: Found redistributor in region 0 @000000004003c000
(XEN) CPU1: Guest atomics will try 9 times before pausing the domain
(XEN) CPU 1 booted.
(XEN) Bringing up CPU2
(XEN) GICv3: CPU2: Found redistributor in region 0 @000000004005c000
(XEN) CPU2: Guest atomics will try 8 times before pausing the domain
(XEN) CPU 2 booted.
(XEN) Bringing up CPU3
(XEN) GICv3: CPU3: Found redistributor in region 0 @000000004007c000
(XEN) CPU3: Guest atomics will try 10 times before pausing the domain
(XEN) CPU 3 booted.
(XEN) Bringing up CPU4
(XEN) CPU4 MIDR (0x00000000410fd082) does not match boot CPU MIDR (0x00000000410fd034),
(XEN) disable cpu (see big.LITTLE.txt under docs/).
(XEN) CPU4 never came online
(XEN) Failed to bring up CPU 4 (error -5)
(XEN) Bringing up CPU5
(XEN) CPU5 MIDR (0x00000000410fd082) does not match boot CPU MIDR (0x00000000410fd034),
(XEN) disable cpu (see big.LITTLE.txt under docs/).
(XEN) CPU5 never came online
(XEN) Failed to bring up CPU 5 (error -5)
(XEN) Brought up 4 CPUs
(XEN) I/O virtualisation disabled
(XEN) P2M: 40-bit IPA with 40-bit PA and 8-bit VMID
(XEN) P2M: 3 levels with order-1 root, VTCR 0x0000000080023558
(XEN) Scheduling granularity: cpu, 1 CPU per sched-resource
(XEN) Adding cpu 0 to runqueue 0
(XEN) First cpu on runqueue, activating
(XEN) Adding cpu 1 to runqueue 0
(XEN) Adding cpu 2 to runqueue 0
(XEN) Adding cpu 3 to runqueue 0
(XEN) alternatives: Patching with alt table 00000000002bcc88 -> 00000000002bd594
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Loading d0 kernel from boot module @ 00000000b6102000
(XEN) Loading ramdisk from boot module @ 00000000b5cbc000
(XEN) Allocating 1:1 mappings totalling 1024MB for dom0:
(XEN) BANK[0] 0x00000040000000-0x00000080000000 (1024MB)
(XEN) Grant table range: 0x000000b5b7b000-0x000000b5bbb000
(XEN) /pinctrl/pcie: Missing device_type
(XEN) /pinctrl/pcie: Missing device_type
(XEN) Allocating PPI 16 for event channel interrupt
(XEN) Extended region 0: 0x200000->0x8000000
(XEN) Extended region 1: 0x8200000->0x40000000
(XEN) Extended region 2: 0x80000000->0xb5a00000
(XEN) Extended region 3: 0xb5e00000->0xf4e00000
(XEN) Loading zImage from 00000000b6102000 to 0000000040000000-00000000419c5200
(XEN) Loading d0 initrd from 00000000b5cbc000 to 0x0000000048200000-0x0000000048644721
(XEN) Loading d0 DTB to 0x0000000048000000-0x000000004800dc06
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Scrubbing Free RAM in background
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input to DOM0 (type 'CTRL-a' three times to switch input)
(XEN) Freed 328kB init memory.
(XEN) d0v0 Unhandled SMC/HVC: 0x84000050
(XEN) d0v0 Unhandled SMC/HVC: 0x8600ff01
(XEN) d0v0: vGICD: RAZ on reserved register offset 0x00000c
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER4
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER8
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER12
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER16
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER20
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER24
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER28
(XEN) d0v0: vGICD: unhandled word write 0x000000ffffffff to ICACTIVER32
(XEN) d0v0: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
(XEN) d0v0 Unhandled SMC/HVC: 0x82000008
(XEN) d0v1: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
(XEN) d0v2: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0
(XEN) d0v3: vGICR: SGI: unhandled word write 0x000000ffffffff to ICACTIVER0

# dom0.log #

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.18.0-0-nanopi-r4s (bob@alpine-dev) (gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, GNU ld (GNU Binutils) 2.38) #1-Alpine SMP PREEMPT Wed, 29 Jun 2022 05:35:43 +0000
[ 0.000000] Machine model: FriendlyElec NanoPi R4S
[ 0.000000] Xen 4.16 support found
[ 0.000000] efi: UEFI not found.
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-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 0x0000000040000000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] cma: Reserved 16 MiB at 0x000000007dc00000
[ 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 migration not required
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 28 pages/cpu s77368 r8192 d29128 u114688
[ 0.000000] pcpu-alloc: s77368 r8192 d29128 u114688 alloc=28*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: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 258048
[ 0.000000] Kernel command line: modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage noquiet ro loglevel=8 clk_ignore_unused console=hvc0 earlycon=xen earlyprintk=xen
[ 0.000000] Unknown kernel command line parameters "noquiet modloop=/modloop-nanopi-r4s modules=loop,squashfs,usb-storage earlyprintk=xen", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 979800K/1048576K available (14272K kernel code, 2772K rwdata, 4132K rodata, 5120K init, 779K bss, 52392K reserved, 16384K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 44736 entries in 175 pages
[ 0.000000] ftrace: allocated 175 pages with 6 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude 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] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[ 0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[ 0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @41d80000 (flat, esz 8, psz 64K, shr 1)
[ 0.000000] ITS@0x00000000fee20000: allocated 32768 Interrupt Collections @41e00000 (flat, esz 2, psz 64K, shr 1)
[ 0.000000] GICv3: using LPI property table @0x0000000041e10000
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000041e20000
[ 0.000000] random: get_random_bytes called from start_kernel+0x4ec/0x6d8 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 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.001275] Console: colour dummy device 80x25
[ 0.002745] printk: console [hvc0] enabled
[ 0.002830] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.002884] pid_max: default: 32768 minimum: 301
[ 0.003068] LSM: Security Framework initializing
[ 0.003245] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.003307] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.006319] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.006386] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.006580] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.006790] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.007741] xen:grant_table: Grant tables using version 1 layout
[ 0.007834] Grant table initialized
[ 0.007897] xen:events: Using FIFO-based ABI
[ 0.007995] Xen: initializing cpu0
[ 0.008310] rcu: Hierarchical SRCU implementation.
[ 0.009518] Platform MSI: interrupt-controller domain created
[ 0.010022] PCI/MSI: /interrupt-controller/interrupt-controller domain created
[ 0.010295] EFI services will not be available.
[ 0.011112] smp: Bringing up secondary CPUs ...
[ 0.012450] Detected VIPT I-cache on CPU1
[ 0.012519] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[ 0.012628] GICv3: CPU1: using allocated LPI pending table @0x0000000041e30000
[ 0.012730] Xen: initializing cpu1
[ 0.012822] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.014251] Detected VIPT I-cache on CPU2
[ 0.014312] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[ 0.014399] GICv3: CPU2: using allocated LPI pending table @0x0000000041e40000
[ 0.014479] Xen: initializing cpu2
[ 0.014558] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.016055] Detected VIPT I-cache on CPU3
[ 0.016120] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[ 0.016209] GICv3: CPU3: using allocated LPI pending table @0x0000000041e50000
[ 0.016294] Xen: initializing cpu3
[ 0.016376] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.016652] smp: Brought up 1 node, 4 CPUs
[ 0.017021] SMP: Total of 4 processors activated.
[ 0.017050] CPU features: detected: 32-bit EL0 Support
[ 0.017091] CPU features: detected: CRC32 instructions
[ 0.018166] CPU: All CPU(s) started at EL1
[ 0.018268] alternatives: patching kernel code
[ 0.020236] devtmpfs: initialized
[ 0.022652] Duplicate name in interrupt-controller, renamed to "interrupt-controller#1"
[ 0.040898] Registered cp15_barrier emulation handler
[ 0.041009] Registered setend emulation handler
[ 0.041390] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.041464] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.042520] pinctrl core: initialized pinctrl subsystem
[ 0.043690] DMI not present or invalid.
[ 0.044672] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.048329] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.048650] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.048991] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.049137] audit: initializing netlink subsys (disabled)
[ 0.049558] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[ 0.052352] thermal_sys: Registered thermal governor 'fair_share'
[ 0.052367] thermal_sys: Registered thermal governor 'step_wise'
[ 0.052664] OF: /thermal-zones/cpu-thermal/cooling-maps/map0: could not find phandle 6
[ 0.052792] thermal_sys: Add a cooling_device property with at least one device
[ 0.052839] thermal_sys: failed to build thermal zone cpu-thermal: -2
[ 0.053435] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.053916] ASID allocator initialised with 65536 entries
[ 0.054023] xen:swiotlb_xen: Warning: only able to allocate 4 MB for software IO TLB
[ 0.055183] software IO TLB: mapped [mem 0x0000000042800000-0x0000000042c00000] (4MB)
[ 0.057927] ------------[ cut here ]------------
[ 0.057964] WARNING: CPU: 0 PID: 1 at drivers/irqchip/irq-gic-v3.c:1555 gic_irq_domain_select+0x134/0x19c
[ 0.058040] Modules linked in:
[ 0.058071] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.18.0-0-nanopi-r4s #1-Alpine
[ 0.058124] Hardware name: FriendlyElec NanoPi R4S (DT)
[ 0.058151] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 0.058190] pc : gic_irq_domain_select+0x134/0x19c
[ 0.058237] lr : gic_irq_domain_select+0xac/0x19c
[ 0.058273] sp : ffffffc009aab910
[ 0.058294] x29: ffffffc009aab910 x28: 0000000000000000 x27: ffffff8001f46a80
[ 0.058360] x26: ffffffc009aaba18 x25: ffffff803fdb50c8 x24: 0000000000000001
[ 0.058412] x23: ffffff803fdb50b0 x22: ffffffc008f3e600 x21: 0000000000000000
[ 0.058476] x20: ffffff8001c14300 x19: ffffffc009aaba18 x18: ffffffffffffffff
[ 0.058529] x17: 3030306332343030 x16: 0000000000000014 x15: ffffff800252de03
[ 0.058592] x14: 0000000000000000 x13: 0000000000000030 x12: 0101010101010101
[ 0.058644] x11: 0000000000000040 x10: 000000000005d9f8 x9 : ffffffc0086ec310
[ 0.058707] x8 : ffffffc009aabb38 x7 : 0000000000000000 x6 : 070f1900f2f2f5f0
[ 0.058758] x5 : ffffffc008f3e600 x4 : 00000000a110c8ee x3 : ffffffc009aab94c
[ 0.058810] x2 : ffffffc009aab950 x1 : ffffffc009aaba18 x0 : 00000000ffffffea
[ 0.058874] Call trace:
[ 0.058892] gic_irq_domain_select+0x134/0x19c
[ 0.058928] irq_find_matching_fwspec+0x84/0x120
[ 0.058977] irq_create_fwspec_mapping+0x48/0x32c
[ 0.059014] irq_create_of_mapping+0x70/0xa0
[ 0.059048] of_irq_get+0x98/0xe0
[ 0.059093] of_irq_to_resource+0x40/0x110
[ 0.059125] of_irq_to_resource_table+0x5c/0x84
[ 0.059159] of_device_alloc+0x10c/0x200
[ 0.059199] of_platform_device_create_pdata+0x64/0x104
[ 0.059233] of_platform_bus_create+0x1bc/0x4cc
[ 0.059264] of_platform_populate+0x6c/0x144
[ 0.059306] of_platform_default_populate_init+0xf0/0x110
[ 0.059344] do_one_initcall+0x50/0x29c
[ 0.059375] kernel_init_freeable+0x22c/0x2b4
[ 0.059408] kernel_init+0x30/0x140
[ 0.059450] ret_from_fork+0x10/0x20
[ 0.059480] ---[ end trace 0000000000000000 ]---
[ 0.059576] irq: no irq domain found for interrupt-controller !
[ 0.091626] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
[ 0.108460] platform ff940000.hdmi: Fixing up cyclic dependency with ff8f0000.vop
[ 0.108647] platform ff940000.hdmi: Fixing up cyclic dependency with ff900000.vop
[ 0.109452] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
[ 0.124634] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
[ 0.126113] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
[ 0.127396] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[ 0.128755] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
[ 0.130051] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[ 0.158741] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.158818] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.158853] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.158887] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.159832] cryptd: max_cpu_qlen set to 1000
[ 0.161674] xen:balloon: Initialising balloon driver
[ 0.164418] iommu: Default domain type: Translated
[ 0.164477] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.165026] SCSI subsystem initialized
[ 0.165505] libata version 3.00 loaded.
[ 0.165912] usbcore: registered new interface driver usbfs
[ 0.166008] usbcore: registered new interface driver hub
[ 0.166110] usbcore: registered new device driver usb
[ 0.166303] pps_core: LinuxPPS API ver. 1 registered
[ 0.166333] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.166404] PTP clock support registered
[ 0.168946] Bluetooth: Core ver 2.22
[ 0.169038] NET: Registered PF_BLUETOOTH protocol family
[ 0.169068] Bluetooth: HCI device and connection manager initialized
[ 0.169110] Bluetooth: HCI socket layer initialized
[ 0.169157] Bluetooth: L2CAP socket layer initialized
[ 0.169218] Bluetooth: SCO socket layer initialized
[ 0.169284] NetLabel: Initializing
[ 0.169307] NetLabel: domain hash size = 128
[ 0.169333] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.169603] NetLabel: unlabeled traffic allowed by default
[ 0.170742] clocksource: Switched to clocksource arch_sys_counter
[ 0.276961] VFS: Disk quotas dquot_6.6.0
[ 0.277106] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.277384] FS-Cache: Loaded
[ 0.296510] NET: Registered PF_INET protocol family
[ 0.296788] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.298288] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[ 0.298508] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.298670] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[ 0.299106] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.299340] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
[ 0.299460] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
[ 0.299864] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.300920] RPC: Registered named UNIX socket transport module.
[ 0.300958] RPC: Registered udp transport module.
[ 0.300996] RPC: Registered tcp transport module.
[ 0.301023] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.301063] PCI: CLS 0 bytes, default 64
[ 0.301562] Trying to unpack rootfs image as initramfs...
[ 0.654177] Freeing initrd memory: 4368K
[ 1.857984] Initialise system trusted keyrings
[ 1.858487] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 1.869803] zbud: loaded
[ 1.874085] NFS: Registering the id_resolver key type
[ 1.874176] Key type id_resolver registered
[ 1.874203] Key type id_legacy registered
[ 1.874366] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.874414] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.874900] fuse: init (API version 7.36)
[ 1.949183] Key type asymmetric registered
[ 1.949234] Asymmetric key parser 'x509' registered
[ 1.949341] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 1.949744] io scheduler mq-deadline registered
[ 1.949778] io scheduler kyber registered
[ 1.968981] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
[ 1.970845] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.970913] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 1.971229] irq: type mismatch, failed to map hwirq-32 for interrupt-controller!
[ 1.973754] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.973812] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.976210] xen:xen_evtchn: Event-channel device installed
[ 1.980110] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 1.989223] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 1.997642] brd: module loaded
[ 2.009739] loop: module loaded
[ 2.011175] zram: Added device: zram0
[ 2.013995] Rounding down aligned max_sectors from 4294967295 to 4294967288
[ 2.014402] db_root: cannot open: /etc/target
[ 2.017304] QLogic/NetXen Network Driver v4.0.82
[ 2.019231] PPP generic driver version 2.4.2
[ 2.019597] xen_netfront: Initialising Xen virtual ethernet driver
[ 2.019861] usbcore: registered new interface driver asix
[ 2.019951] usbcore: registered new interface driver ax88179_178a
[ 2.020040] usbcore: registered new interface driver cdc_ether
[ 2.020125] usbcore: registered new interface driver qmi_wwan
[ 2.020159] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.020210] ehci-pci: EHCI PCI platform driver
[ 2.020296] ehci-platform: EHCI generic platform driver
[ 2.022803] ehci-platform fe380000.usb: EHCI Host Controller
[ 2.022868] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[ 2.023174] ehci-platform fe380000.usb: irq 18, io mem 0xfe380000
[ 2.038775] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[ 2.039205] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[ 2.039255] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.039296] usb usb1: Product: EHCI Host Controller
[ 2.039327] usb usb1: Manufacturer: Linux 5.18.0-0-nanopi-r4s ehci_hcd
[ 2.039361] usb usb1: SerialNumber: fe380000.usb
[ 2.040316] hub 1-0:1.0: USB hub found
[ 2.040393] hub 1-0:1.0: 1 port detected
[ 2.041403] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[ 2.041451] ehci-platform fe3c0000.usb: EHCI Host Controller
[ 2.041505] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[ 2.041806] ehci-platform fe3c0000.usb: irq 20, io mem 0xfe3c0000
[ 2.054790] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[ 2.055206] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[ 2.055256] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.055297] usb usb2: Product: EHCI Host Controller
[ 2.055330] usb usb2: Manufacturer: Linux 5.18.0-0-nanopi-r4s ehci_hcd
[ 2.055365] usb usb2: SerialNumber: fe3c0000.usb
[ 2.056248] hub 2-0:1.0: USB hub found
[ 2.056333] hub 2-0:1.0: 1 port detected
[ 2.057535] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.057598] ohci-platform: OHCI generic platform driver
[ 2.058072] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[ 2.058132] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[ 2.058397] ohci-platform fe3a0000.usb: irq 19, io mem 0xfe3a0000
[ 2.119062] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
[ 2.119127] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.119168] usb usb3: Product: Generic Platform OHCI controller
[ 2.119203] usb usb3: Manufacturer: Linux 5.18.0-0-nanopi-r4s ohci_hcd
[ 2.119245] usb usb3: SerialNumber: fe3a0000.usb
[ 2.120159] hub 3-0:1.0: USB hub found
[ 2.120243] hub 3-0:1.0: 1 port detected
[ 2.121158] rockchip-usb2phy ff770000.syscon:usb2phy@e460: Requested PHY is disabled
[ 2.121205] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[ 2.121260] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[ 2.121558] ohci-platform fe3e0000.usb: irq 21, io mem 0xfe3e0000
[ 2.183072] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
[ 2.183136] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.183177] usb usb4: Product: Generic Platform OHCI controller
[ 2.183212] usb usb4: Manufacturer: Linux 5.18.0-0-nanopi-r4s ohci_hcd
[ 2.183254] usb usb4: SerialNumber: fe3e0000.usb
[ 2.184151] hub 4-0:1.0: USB hub found
[ 2.184228] hub 4-0:1.0: 1 port detected
[ 2.186421] usbcore: registered new interface driver cdc_acm
[ 2.186460] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.186564] usbcore: registered new interface driver cdc_wdm
[ 2.187153] usbcore: registered new interface driver uas
[ 2.187332] usbcore: registered new interface driver usb-storage
[ 2.187513] usbcore: registered new interface driver usbserial_generic
[ 2.187581] usbserial: USB Serial support registered for generic
[ 2.187684] usbcore: registered new interface driver ch341
[ 2.187744] usbserial: USB Serial support registered for ch341-uart
[ 2.187856] usbcore: registered new interface driver cp210x
[ 2.187916] usbserial: USB Serial support registered for cp210x
[ 2.188063] usbcore: registered new interface driver ftdi_sio
[ 2.188127] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.188369] usbcore: registered new interface driver option
[ 2.188436] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.188776] usbcore: registered new interface driver pl2303
[ 2.188838] usbserial: USB Serial support registered for pl2303
[ 2.188953] usbcore: registered new interface driver qcserial
[ 2.189021] usbserial: USB Serial support registered for Qualcomm USB modem
[ 2.189724] mousedev: PS/2 mouse device common for all mice
[ 2.191217] i2c_dev: i2c /dev entries driver
[ 2.203940] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.204017] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 2.205303] dw_wdt ff848000.watchdog: No valid TOPs array specified
[ 2.206362] device-mapper: uevent: version 1.0.3
[ 2.206940] device-mapper: ioctl: 4.46.0-ioctl (2022-02-22) initialised: dm-devel@redhat.com
[ 2.207563] cpu cpu0: OPP table can't be empty
[ 2.209177] sdhci: Secure Digital Host Controller Interface driver
[ 2.209224] sdhci: Copyright(c) Pierre Ossman
[ 2.209250] Synopsys Designware Multimedia Card Interface Driver
[ 2.210112] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.213470] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.214610] hid: raw HID events driver (C) Jiri Kosina
[ 2.215233] usbcore: registered new interface driver usbhid
[ 2.215281] usbhid: USB HID core driver
[ 2.218095] Initializing XFRM netlink socket
[ 2.218927] NET: Registered PF_INET6 protocol family
[ 2.220838] Segment Routing with IPv6
[ 2.220920] In-situ OAM (IOAM) with IPv6
[ 2.223003] bpfilter: Loaded bpfilter_umh pid 82
[ 2.223402] NET: Registered PF_PACKET protocol family
[ 2.223765] Bluetooth: RFCOMM TTY layer initialized
[ 2.223813] Bluetooth: RFCOMM socket layer initialized
[ 2.223869] Bluetooth: RFCOMM ver 1.11
[ 2.223919] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.223970] Bluetooth: HIDP socket layer initialized
[ 2.224111] Key type dns_resolver registered
[ 2.224772] registered taskstats version 1
[ 2.224815] Loading compiled-in X.509 certificates
[ 2.228143] zswap: loaded using pool zstd/zsmalloc
[ 2.229044] Key type ._fscrypt registered
[ 2.229088] Key type .fscrypt registered
[ 2.229113] Key type fscrypt-provisioning registered
[ 2.338938] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.339018] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 2.344059] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[ 2.347978] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[ 2.352009] rk808 0-001b: chip id: 0x0
[ 2.359278] rk808-regulator rk808-regulator: there is no dvs0 gpio
[ 2.359381] rk808-regulator rk808-regulator: there is no dvs1 gpio
[ 2.379611] random: fast init done
[ 2.381238] rk808-rtc rk808-rtc: registered as rtc0
[ 2.382068] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:50:20 UTC (1358499020)
[ 2.383772] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.383833] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 2.387018] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[ 2.387121] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[ 2.387163] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[ 2.387334] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 17,32 bit host data width,256 deep fifo
[ 2.388166] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[ 2.388602] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[ 2.388705] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[ 2.388779] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[ 2.389775] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[ 2.391148] genirq: Setting trigger mode 2 for irq 15 failed (gic_set_type+0x0/0x1b0)
[ 2.391378] irq: no irq domain found for interrupt-controller !
[ 2.391417] rockchip-pcie f8000000.pcie: error -ENXIO: IRQ client not found
[ 2.396400] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[ 2.396475] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[ 2.396728] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[ 2.397045] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[ 2.397091] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[ 2.397128] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[ 2.397174] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[ 2.397299] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[ 2.397336] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[ 2.401498] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 2.402387] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[ 2.402928] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[ 2.403153] rk_gmac-dwmac fe300000.ethernet: DWMAC1000
[ 2.403194] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[ 2.403239] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[ 2.403276] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[ 2.403307] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[ 2.403348] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[ 2.403480] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[ 2.403517] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[ 2.403549] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 2.403603] rk_gmac-dwmac fe300000.ethernet: device MAC address 0e:21:cc:19:21:29
[ 2.510543] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.510623] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 2.514114] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.514190] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 2.515701] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.515763] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 2.519469] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 2.520510] clk: Not disabling unused clocks
[ 2.521558] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.521620] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 2.527507] Freeing unused kernel memory: 5120K
[ 2.534811] Run /init as init process
[ 2.534856] with arguments:
[ 2.534882] /init
[ 2.534902] noquiet
[ 2.534922] with environment:
[ 2.534944] HOME=/
[ 2.534964] TERM=linux
[ 2.534984] modloop=/modloop-nanopi-r4s
[ 2.535007] modules=loop,squashfs,usb-storage
[ 2.535034] earlyprintk=xen
[ 2.607827] Alpine Init 3.6.2-r0
[ 2.609664] Loading boot drivers...
[ 2.628279] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.631141] Loading boot drivers: ok.
[ 2.640816] Mounting boot media...
[ 2.688338] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[ 2.840301] dwmmc_rockchip fe320000.mmc: Successfully tuned phase to 163
[ 2.840419] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[ 2.848645] mmcblk1: mmc1:aaaa SD32G 29.7 GiB
[ 2.862977] mmcblk1: p1 p2 p3
[ 2.865914] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 2.866006] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 3.555908] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 3.604980] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.658851] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. Quota mode: none.
[ 3.667107] Mounting boot media: ok.
[ 3.676783] Loading user settings from /media/mmcblk1p2/boot.apkovl.tar.gz...
[ 3.747007] Loading user settings from /media/mmcblk1p2/boot.apkovl.tar.gz: ok.
[ 3.867666] Installing packages to root filesystem...
[ 15.184165] Installing packages to root filesystem: ok.
[ 16.743889] loop0: detected capacity change from 0 to 28456
[ 16.769173] FAT-fs (loop0): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[ 16.772253] exFAT-fs (loop0): invalid boot record signature
[ 16.772278] exFAT-fs (loop0): failed to read boot sector
[ 16.772289] exFAT-fs (loop0): failed to recognize exfat type
[ 16.777914] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0xcf480ed2)
[ 16.777949] F2FS-fs (loop0): Can't find valid F2FS filesystem in 1th superblock
[ 16.778119] F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x6ca73354)
[ 16.778137] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock
[ 16.824848] overlayfs: "xino" feature enabled using 3 upper inode bits.
[ 33.676227] xen_wdt xen_wdt: initialized (timeout=60s, nowayout=0)
[ 33.677920] rockchip-thermal ff260000.tsadc: failed to register sensor 0: -517
[ 33.677954] rockchip-thermal ff260000.tsadc: failed to register sensor[0] : error = -517
[ 33.705604] tun: Universal TUN/TAP device driver, 1.6
[ 33.762906] vbus_typec: disabling
[ 33.762968] vcca0v9_s3: disabling
[ 34.281799] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
[ 34.430249] /dev/sda1: Can't open blockdev
[ 35.400443] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=61)
[ 35.434964] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 35.436266] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[ 35.436291] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[ 35.437933] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[ 35.659250] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 35.666115] xenbr0: port 1(eth0) entered blocking state
[ 35.666189] xenbr0: port 1(eth0) entered disabled state
[ 35.666577] device eth0 entered promiscuous mode
[ 37.761661] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 37.761728] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 37.761994] xenbr0: port 1(eth0) entered blocking state
[ 37.762015] xenbr0: port 1(eth0) entered forwarding state
[ 37.762160] IPv6: ADDRCONF(NETDEV_CHANGE): xenbr0: link becomes ready
[ 45.470773] random: crng init done