Unable to pass MSI while booting as XEN dom0

Hello,

I am trying boot Hikey960 with XEN (version 4.12) and dom0 linux kernel (version number 5.2).

I have connected NVME to PCIe M.2 connection.
In normal Linux kernel boot, I am able to detect and access NVME. However, during XEN boot I am facing issue while detecting NVME.

I am attaching the log below. If anyone knows please help me.

Xen 4.12.0-rc
(XEN) Xen version 4.12.0-rc (sshivamurthy@) (aarch64-linux-gnu-gcc (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1) 7.4.0) debug=n Wed Jul 31 16:50:27 CEST 2019
(XEN) Latest ChangeSet: Mon Apr 15 16:43:28 2019 +0200 git:0348c8d1640f-dirty
(XEN) Processor: 410fd034: “ARM Limited”, variant: 0x0, part 0xd03, rev 0x4
(XEN) 64-bit Execution:
(XEN) Processor Features: 0000000000002222 0000000000000000
(XEN) Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32
(XEN) Extensions: FloatingPoint AdvancedSIMD
(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: 00000131:00011011
(XEN) Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle
(XEN) Extensions: GenericTimer Security
(XEN) Debug Features: 03010066
(XEN) Auxiliary Features: 00000000
(XEN) Memory Model Features: 10201105 40000000 01260000 02102211
(XEN) ISA Features: 02101110 13112111 21232042 01112131 00011142 00011121
(XEN) Using SMC Calling Convention v1.1
(XEN) Using PSCI v1.1
(XEN) SMP: Allowing 8 CPUs
(XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 1920 KHz
(XEN) GICv2 initialization:
(XEN) gic_dist_addr=00000000e82b1000
(XEN) gic_cpu_addr=00000000e82b2000
(XEN) gic_hyp_addr=00000000e82b4000
(XEN) gic_vcpu_addr=00000000e82b6000
(XEN) gic_maintenance_irq=25
(XEN) GICv2: 384 lines, 8 cpus, secure (IID 0200143b).
(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) Adding cpu 0 to runqueue 0
(XEN) First cpu on runqueue, activating
(XEN) Allocated console ring of 64 KiB.
(XEN) Bringing up CPU1
(XEN) Adding cpu 1 to runqueue 0
(XEN) CPU 1 booted.
(XEN) Bringing up CPU2
(XEN) Adding cpu 2 to runqueue 0
(XEN) CPU 2 booted.
(XEN) Bringing up CPU3
(XEN) Adding cpu 3 to runqueue 0
(XEN) CPU 3 booted.
(XEN) Bringing up CPU4
WARNING: BL31: cortex_a73: CPU workaround for 855423 was missing!
INFO: BL31: cortex_a73: CPU workaround for cve_2017_5715 was applied
INFO: BL31: cortex_a73: CPU workaround for cve_2018_3639 was applied
(XEN) Adding cpu 4 to runqueue 0
(XEN) CPU 4 booted.
(XEN) Bringing up CPU5
(XEN) Adding cpu 5 to runqueue 0
(XEN) CPU 5 booted.
(XEN) Bringing up CPU6
(XEN) Adding cpu 6 to runqueue 0
(XEN) CPU 6 booted.
(XEN) Bringing up CPU7
(XEN) Adding cpu 7 to runqueue 0
(XEN) CPU 7 booted.
(XEN) Brought up 8 CPUs
(XEN) P2M: 40-bit IPA with 40-bit PA and 8-bit VMID
(XEN) P2M: 3 levels with order-1 root, VTCR 0x80023558
(XEN) I/O virtualisation disabled
(XEN) build-id: 5589f388a82fe6d4fcf6491ec9dbb875ce5a2d2a
(XEN) alternatives: Patching with alt table 0000000000293ab0 -> 0000000000294104
(XEN) CPU7 will call ARM_SMCCC_ARCH_WORKAROUND_1 on exception entry
(XEN) CPU5 will call ARM_SMCCC_ARCH_WORKAROUND_1 on exception entry
(XEN) CPU4 will call ARM_SMCCC_ARCH_WORKAROUND_1 on exception entry
(XEN) CPU6 will call ARM_SMCCC_ARCH_WORKAROUND_1 on exception entry
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Loading Domd0 kernel from boot module @ 00000000b857d000
(XEN) Loading ramdisk from boot module @ 00000000b49ef000
(XEN) Allocating 1:1 mappings totalling 512MB for dom0:
(XEN) BANK[0] 0x000000c0000000-0x000000e0000000 (512MB)
(XEN) Grant table range: 0x000000b48dc000-0x000000b491c000
(XEN) Allocating PPI 16 for event channel interrupt
(XEN) Loading zImage from 00000000b857d000 to 00000000c0080000-00000000c1458a00
(XEN) Loading dom0 initrd from 00000000b49ef000 to 0x00000000c8200000-0x00000000cbd8ca00
(XEN) Loading dom0 DTB to 0x00000000c8000000-0x00000000c800769e
(XEN) Initial low memory virq threshold set at 0x4000 pages.
(XEN) Scrubbing Free RAM in background
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) ***************************************************
(XEN) WARNING: HMP COMPUTING HAS BEEN ENABLED.
(XEN) It has implications on the security and stability of the system,
(XEN) unless the cpu affinity of all domains is specified.
(XEN) ***************************************************
(XEN) PLEASE SPECIFY dom0_mem PARAMETER - USING 512M FOR NOW
(XEN) ***************************************************
(XEN) 3… 2… 1…
(XEN) *** Serial input to DOM0 (type ‘CTRL-a’ three times to switch input)
(XEN) Freed 340kB init memory.
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER4
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER8
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER12
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER16
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER20
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER24
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER28
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER32
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER36
(XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER40
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.2.0-00001-gb071f664cc61 (sshivamurthy@micronsw) (gcc version 7.4.0 (Ubuntu/Linaro 7.4.0-1ubuntu1~18.04.1)) #2 SMP PREEMPT Wed Jul 31 17:34:05 CEST 2019
[ 0.000000] Machine model: HiKey960
[ 0.000000] Xen 4.12 support found
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 32 MiB at 0x00000000de000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x00000000c0000000-0x00000000dfffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xdded8840-0xdded9fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x00000000c0000000-0x00000000dfffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000dfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000dfffffff]
[ 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 23 pages/cpu s54872 r8192 d31144 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129024
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: placeholder root=UUID=2f19046a-ce92-488d-9ffe-bf2f637bf3f9 ro console=tty0 console=hvc0 efi=noruntime
[ 0.000000] Memory: 390212K/524288K available (11260K kernel code, 1762K rwdata, 5804K rodata, 1408K init, 445K bss, 101308K reserved, 32768K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] random: get_random_bytes called from start_kernel+0x2c0/0x474 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 1.92MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1c570327e, max_idle_ns: 1763180809505 ns
[ 0.000003] sched_clock: 56 bits at 1920kHz, resolution 520ns, wraps every 4398046510977ns
[ 0.000100] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58334160866034 ns
[ 0.000532] Console: colour dummy device 80x25
[ 0.000752] printk: console [tty0] enabled
[ 0.270564] printk: console [hvc0] enabled
[ 0.274797] Calibrating delay loop (skipped), value calculated using timer frequency… 3.84 BogoMIPS (lpj=7680)
[ 0.284880] pid_max: default: 32768 minimum: 301
[ 0.289607] LSM: Security Framework initializing
[ 0.294394] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.301333] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.308227] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.314883] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.346104] ASID allocator initialised with 32768 entries
[ 0.351877] xen:grant_table: Grant tables using version 1 layout
[ 0.357809] Grant table initialized
[ 0.361367] xen:events: Using FIFO-based ABI
[ 0.365728] Xen: initializing cpu0
[ 0.373706] rcu: Hierarchical SRCU implementation.
[ 0.387418] EFI services will not be available.
[ 0.399882] smp: Bringing up secondary CPUs …
[ 0.436496] Detected VIPT I-cache on CPU1
[ 0.436585] Xen: initializing cpu1
[ 0.436607] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.468533] Detected VIPT I-cache on CPU2
[ 0.468582] Xen: initializing cpu2
[ 0.468597] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.500595] Detected VIPT I-cache on CPU3
[ 0.500638] Xen: initializing cpu3
[ 0.500652] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.532676] CPU features: detected: ARM erratum 858921
[ 0.532688] Detected VIPT I-cache on CPU4
[ 0.532695] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU4: 0x00000000101122
[ 0.532703] CPU features: Unsupported CPU feature variation detected.
[ 0.532741] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.532756] arch_timer: CPU4: Trapping CNTVCT access
[ 0.532759] Xen: initializing cpu4
[ 0.532781] CPU4: Booted secondary processor 0x0000000004 [0x410fd091]
[ 0.564748] Detected VIPT I-cache on CPU5
[ 0.564753] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU5: 0x00000000101122
[ 0.564790] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.564801] arch_timer: CPU5: Trapping CNTVCT access
[ 0.564803] Xen: initializing cpu5
[ 0.564819] CPU5: Booted secondary processor 0x0000000005 [0x410fd091]
[ 0.596827] Detected VIPT I-cache on CPU6
[ 0.596832] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU6: 0x00000000101122
[ 0.596869] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.596879] arch_timer: CPU6: Trapping CNTVCT access
[ 0.596882] Xen: initializing cpu6
[ 0.596898] CPU6: Booted secondary processor 0x0000000006 [0x410fd091]
[ 0.628906] Detected VIPT I-cache on CPU7
[ 0.628911] CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU7: 0x00000000101122
[ 0.628948] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.628958] arch_timer: CPU7: Trapping CNTVCT access
[ 0.628961] Xen: initializing cpu7
[ 0.628978] CPU7: Booted secondary processor 0x0000000007 [0x410fd091]
[ 0.629069] smp: Brought up 1 node, 8 CPUs
[ 0.840169] SMP: Total of 8 processors activated.
[ 0.844934] CPU features: detected: 32-bit EL0 Support
[ 0.850146] CPU features: detected: CRC32 instructions
[ 0.855740] CPU: All CPU(s) started at EL1
[ 0.859804] alternatives: patching kernel code
[ 0.865388] devtmpfs: initialized
[ 0.872372] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.882083] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 0.889348] pinctrl core: initialized pinctrl subsystem
[ 0.895501] DMI not present or invalid.
[ 0.899576] NET: Registered protocol family 16
[ 0.904477] audit: initializing netlink subsys (disabled)
[ 0.910008] audit: type=2000 audit(0.640:1): state=initialized audit_enabled=0 res=1
[ 0.918438] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.937194] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.943276] xen:swiotlb_xen: Warning: only able to allocate 4 MB for software IO TLB
[ 0.951452] software IO TLB: mapped [mem 0xdbc00000-0xdc000000] (4MB)
[ 0.958619] Serial: AMBA PL011 UART driver
[ 0.993879] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 1.000497] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 1.007251] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 1.014011] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 1.023013] cryptd: max_cpu_qlen set to 1000
[ 1.030942] ACPI: Interpreter disabled.
[ 1.035029] xen:balloon: Initialising balloon driver
[ 1.040599] vgaarb: loaded
[ 1.043393] SCSI subsystem initialized
[ 1.047431] usbcore: registered new interface driver usbfs
[ 1.052858] usbcore: registered new interface driver hub
[ 1.058296] usbcore: registered new device driver usb
[ 1.063771] pps_core: LinuxPPS API ver. 1 registered
[ 1.068638] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 1.077844] PTP clock support registered
[ 1.081885] EDAC MC: Ver: 3.0.0
[ 1.085763] FPGA manager framework
[ 1.089125] Advanced Linux Sound Architecture Driver Initialized.
[ 1.095886] clocksource: Switched to clocksource arch_sys_counter

… (snipped)

[ 1.775771] kirin-pcie f4000000.pcie: host bridge /soc/pcie@f4000000 ranges:
[ 1.782746] kirin-pcie f4000000.pcie: MEM 0xf6000000…0xf7ffffff -> 0x00000000
[ 1.795454] kirin-pcie f4000000.pcie: PCI host bridge to bus 0000:00
[ 1.801718] pci_bus 0000:00: root bus resource [bus 00-01]
[ 1.807261] pci_bus 0000:00: root bus resource [mem 0xf6000000-0xf7ffffff] (bus address [0x00000000-0x01ffffff])
[ 1.817529] pci 0000:00:00.0: [19e5:3660] type 01 class 0x060400
[ 1.823610] pci 0000:00:00.0: reg 0x10: [mem 0xf6000000-0xf6ffffff 64bit]
[ 1.830542] pci 0000:00:00.0: supports D1 D2
[ 1.834749] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
[ 1.840966] pci 0000:00:00.0: Failed to add - passthrough or MSI/MSI-X might fail!
[ 1.849547] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-01] (conflicts with (null) [bus 00-01])
[ 1.860495] pci 0000:01:00.0: [1344:2263] type 00 class 0x010802
[ 1.866958] pci 0000:01:00.0: reg 0x10: [mem 0xf6000000-0xf6003fff 64bit]
[ 1.876328] pci 0000:01:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5 GT/s x1 link at 0000:00:00.0 (capable of 15.752 Gb/s with 8 GT/s x2 link)
[ 1.890050] pci 0000:01:00.0: Failed to add - passthrough or MSI/MSI-X might fail!
[ 1.909114] pci 0000:00:00.0: BAR 0: assigned [mem 0xf6000000-0xf6ffffff 64bit]
[ 1.916339] pci 0000:00:00.0: BAR 14: assigned [mem 0xf7000000-0xf70fffff]
[ 1.923267] pci 0000:01:00.0: BAR 0: assigned [mem 0xf7000000-0xf7003fff 64bit]
[ 1.930811] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 1.935949] pci 0000:00:00.0: bridge window [mem 0xf7000000-0xf70fffff]
[ 1.943116] pcieport 0000:00:00.0: PME: Signaling with IRQ 53
[ 1.948996] pcieport 0000:00:00.0: AER: enabled with IRQ 53
[ 1.955308] EINJ: ACPI disabled.
[ 1.960344] k3-dma fdf30000.dma: dma-channel-mask doesn’t exist, considering all as available.
[ 1.969861] k3-dma fdf30000.dma: initialized
[ 1.975864] xen:xen_evtchn: Event-channel device installed
[ 1.985081] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.992964] SuperH (H)SCI(F) driver initialized
[ 1.997695] msm_serial: driver initialized
[ 2.002294] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.013937] loop: module loaded
[ 2.019481] ufshcd-hisi ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[ 2.030018] ufshcd-hisi ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
[ 2.040316] ufshcd-hisi ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
[ 2.050720] ufshcd-hisi ff3b0000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
[ 2.088409] scsi host0: ufshcd
[ 2.102367] libphy: Fixed MDIO Bus: probed
[ 2.106567] tun: Universal TUN/TAP device driver, 1.6
[ 2.112052] thunder_xcv, ver 1.0
[ 2.115202] thunder_bgx, ver 1.0
[ 2.118503] nicpf, ver 1.0
[ 2.121563] hclge is initializing
[ 2.124785] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 2.132068] hns3: Copyright © 2017 Huawei Corporation.
[ 2.137483] e1000e: Intel® PRO/1000 Network Driver - 3.2.6-k
[ 2.143340] e1000e: Copyright© 1999 - 2015 Intel Corporation.
[ 2.149350] igb: Intel® Gigabit Ethernet Network Driver - version 5.6.0-k
[ 2.156353] igb: Copyright © 2007-2014 Intel Corporation.
[ 2.162011] igbvf: Intel® Gigabit Virtual Function Network Driver - version 2.4.0-k
[ 2.169878] igbvf: Copyright © 2009 - 2012 Intel Corporation.
[ 2.176052] sky2: driver version 1.30
[ 2.180088] VFIO - User Level meta-driver version: 0.3
[ 2.186082] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 2.192528] ehci-pci: EHCI PCI platform driver
[ 2.197045] ehci-platform: EHCI generic platform driver
[ 2.202393] ehci-orion: EHCI orion driver
[ 2.206448] ehci-exynos: EHCI EXYNOS driver
[ 2.207803] ufshcd-hisi ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
[ 2.210683] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 2.229383] ohci-pci: OHCI PCI platform driver
[ 2.233903] ohci-platform: OHCI generic platform driver
[ 2.239227] ohci-exynos: OHCI EXYNOS driver
[ 2.243683] usbcore: registered new interface driver usb-storage
[ 2.251064] rtc-pl031 fff04000.rtc: registered as rtc0
[ 2.256520] i2c /dev entries driver
[ 2.261846] hisi_thermal fff30000.tsensor: failed to register sensor id 1: -19
[ 2.268984] hisi_thermal fff30000.tsensor: failed to register thermal sensor: -19
[ 2.276995] sp805-wdt e8a06000.watchdog: registration successful
[ 2.283036] sp805-wdt e8a07000.watchdog: registration successful
[ 2.289866] cpu cpu0: failed to get clock: -2
[ 2.294145] cpufreq-dt: probe of cpufreq-dt failed with error -2
[ 2.300539] sdhci: Secure Digital Host Controller Interface driver
[ 2.306623] sdhci: Copyright© Pierre Ossman
[ 2.311251] Synopsys Designware Multimedia Card Interface Driver
[ 2.317578] dwmmc_k3 ff37f000.dwmmc1: fifo-depth property not found, using value of FIFOTH register as default
[ 2.329803] dwmmc_k3 ff37f000.dwmmc1: IDMAC supports 64-bit address mode.
[ 2.331082] ufshcd-hisi ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
[ 2.336673] dwmmc_k3 ff37f000.dwmmc1: Using internal DMA controller.
[ 2.349741] ufshcd-hisi ff3b0000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
[ 2.354710] dwmmc_k3 ff37f000.dwmmc1: Version ID is 270a
[ 2.354778] dwmmc_k3 ff37f000.dwmmc1: DW MMC controller at irq 47,32 bit host data width,256 deep fifo
[ 2.367431] scsi 0:0:0:49488: Well-known LUN SAMSUNG KLUDG8V1EE-B0C1 0200 PQ: 0 ANSI: 6
[ 2.371546] dwmmc_k3 ff37f000.dwmmc1: Got CD GPIO
[ 2.384975] scsi 0:0:0:49476: Well-known LUN SAMSUNG KLUDG8V1EE-B0C1 0200 PQ: 0 ANSI: 6
[ 2.403028] scsi 0:0:0:49456: Well-known LUN SAMSUNG KLUDG8V1EE-B0C1 0200 PQ: 0 ANSI: 6
[ 2.403994] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 2.414232] scsi 0:0:0:0: Direct-Access SAMSUNG KLUDG8V1EE-B0C1 0200 PQ: 0 ANSI: 6
[ 2.429170] sd 0:0:0:0: Power-on or device reset occurred
[ 2.433759] dwmmc_k3 ff3ff000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default
[ 2.437277] scsi 0:0:0:1: Direct-Access SAMSUNG KLUDG8V1EE-B0C1 0200 PQ: 0 ANSI: 6
[ 2.440094] sd 0:0:0:0: [sda] 1024 4096-byte logical blocks: (4.19 MB/4.00 MiB)
[ 2.441427] sd 0:0:0:0: [sda] Write Protect is off
[ 2.442817] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 2.442871] sd 0:0:0:0: [sda] Optimal transfer size 8192 bytes
[ 2.446819] dwmmc_k3 ff3ff000.dwmmc2: IDMAC supports 64-bit address mode.
[ 2.458254] scsi 0:0:0:2: Direct-Access SAMSUNG KLUDG8V1EE-B0C1 0200 PQ: 0 ANSI: 6
[ 2.459640] sd 0:0:0:1: Power-on or device reset occurred
[ 2.460092] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.466316] sd 0:0:0:1: [sdb] 1024 4096-byte logical blocks: (4.19 MB/4.00 MiB)
[ 2.469164] scsi 0:0:0:3: Direct-Access SAMSUNG KLUDG8V1EE-B0C1 0200 PQ: 0 ANSI: 6
[ 2.470469] sd 0:0:0:2: Power-on or device reset occurred
[ 2.473508] sd 0:0:0:3: Power-on or device reset occurred
[ 2.531058] sd 0:0:0:1: [sdb] Write Protect is off
[ 2.532500] dwmmc_k3 ff3ff000.dwmmc2: Using internal DMA controller.
[ 2.535170] sd 0:0:0:2: [sdc] 2048 4096-byte logical blocks: (8.39 MB/8.00 MiB)
[ 2.535867] sd 0:0:0:2: [sdc] Write Protect is off
[ 2.537317] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 2.538653] sd 0:0:0:3: [sdd] 31232000 4096-byte logical blocks: (128 GB/119 GiB)
[ 2.538665] sd 0:0:0:2: [sdc] Optimal transfer size 8192 bytes
[ 2.540034] sd 0:0:0:3: [sdd] Write Protect is off
[ 2.541472] sd 0:0:0:3: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 2.542275] dwmmc_k3 ff3ff000.dwmmc2: Version ID is 270a
[ 2.542295] sd 0:0:0:3: [sdd] Optimal transfer size 8192 bytes
[ 2.551064] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA
[ 2.554549] dwmmc_k3 ff3ff000.dwmmc2: DW MMC controller at irq 48,32 bit host data width,256 deep fifo
[ 2.563112] Alternate GPT is invalid, using primary GPT.
[ 2.563147] sd 0:0:0:1: [sdb] Optimal transfer size 8192 bytes
[ 2.567276] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 2.567279] GPT:7805956 != 31231999
[ 2.567280] GPT:Alternate GPT header not at the end of the disk.
[ 2.567281] GPT:7805956 != 31231999
[ 2.567283] GPT: Use GNU Parted to correct GPT errors.
[ 2.567304] sdd: sdd1 sdd2 sdd3 sdd4 sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 sdd11 sdd12 sdd13
[ 2.571382] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.576526] sdc: sdc1
[ 2.577913] sd 0:0:0:3: [sdd] Attached SCSI disk
[ 2.585564] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 2.590035] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.591353] random: fast init done
[ 2.599582] sd 0:0:0:2: [sdc] Attached SCSI disk
[ 2.602096] usbcore: registered new interface driver usbhid
[ 2.701651] usbhid: USB HID core driver
[ 2.707826] NET: Registered protocol family 17
[ 2.712325] 9pnet: Installing 9P2000 support
[ 2.716556] Key type dns_resolver registered
[ 2.721360] registered taskstats version 1
[ 2.725375] Loading compiled-in X.509 certificates
[ 2.736982] ffd74000.serial: ttyAMA3 at MMIO 0xffd74000 (irq = 10, base_baud = 0) is a PL011 rev2
[ 2.746205] fdf01000.serial: ttyAMA4 at MMIO 0xfdf01000 (irq = 11, base_baud = 0) is a PL011 rev2
[ 2.755060] serial serial0: tty port ttyAMA4 registered
[ 2.760865] ssp-pl022 ffd68000.spi: ARM PL022 driver, device ID: 0x00041022
[ 2.767778] ssp-pl022 ffd68000.spi: mapped registers from 0x00000000ffd68000 to (ptrval)
[ 2.776656] ssp-pl022 ffd68000.spi: setup for DMA on RX dma0chan0, TX dma0chan1
[ 2.784215] ssp-pl022 ff3b3000.spi: ARM PL022 driver, device ID: 0x00041022
[ 2.791128] ssp-pl022 ff3b3000.spi: mapped registers from 0x00000000ff3b3000 to (ptrval)
[ 2.799970] ssp-pl022 ff3b3000.spi: setup for DMA on RX dma0chan2, TX dma0chan3
[ 2.810696] dwmmc_k3 ff3ff000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default
[ 2.822873] dwmmc_k3 ff3ff000.dwmmc2: IDMAC supports 64-bit address mode.
[ 2.829787] dwmmc_k3 ff3ff000.dwmmc2: Using internal DMA controller.
[ 2.836051] dwmmc_k3 ff3ff000.dwmmc2: Version ID is 270a
[ 2.841461] dwmmc_k3 ff3ff000.dwmmc2: DW MMC controller at irq 48,32 bit host data width,128 deep fifo
[ 2.850922] mmc_host mmc1: card is non-removable.
[ 2.946560] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 2.968989] input: keys as /devices/platform/keys/input/input0
[ 2.975082] rtc-pl031 fff04000.rtc: setting system clock to 1970-01-01T00:00:21 UTC (21)
[ 2.979097] dwmmc_k3 ff3ff000.dwmmc2: card claims to support voltages below defined range
[ 2.983550] ALSA device list:
[ 2.994344] No soundcards found.
[ 2.998416] Freeing unused kernel memory: 1408K
[ 3.010936] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
[ 3.023356] mmc1: new SDIO card at address 0001
[ 3.027925] Run /init as init process
Loading, please wait…
starting version 232
[ 3.052492] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 3.053996] random: udevadm: uninitialized urandom read (16 bytes read)
[ 3.059814] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 3.150328] nvme nvme0: pci function 0000:01:00.0
[ 3.155083] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[ 3.274056] nvme nvme0: missing or invalid SUBNQN field.
[ 3.282695] alloc_contig_range: [de500, de900) PFNs busy
[ 3.288157] alloc_contig_range: [de600, dea00) PFNs busy
[ 3.293574] alloc_contig_range: [de700, deb00) PFNs busy
[ 3.298952] alloc_contig_range: [de800, dec00) PFNs busy
[ 3.304350] alloc_contig_range: [de900, ded00) PFNs busy
[ 3.309766] alloc_contig_range: [dea00, dee00) PFNs busy
[ 3.315180] alloc_contig_range: [deb00, def00) PFNs busy
[ 3.320561] alloc_contig_range: [dec00, df000) PFNs busy
[ 3.325955] alloc_contig_range: [ded00, df100) PFNs busy
[ 3.331374] alloc_contig_range: [dee00, df200) PFNs busy
[ 3.387638] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
[ 3.396351] Mem abort info:
[ 3.399193] ESR = 0x96000044
[ 3.402317] Exception class = DABT (current EL), IL = 32 bits
[ 3.408301] SET = 0, FnV = 0
[ 3.411420] EA = 0, S1PTW = 0
[ 3.414629] Data abort info:
[ 3.417577] ISV = 0, ISS = 0x00000044
[ 3.421482] CM = 0, WnR = 1
[ 3.424519] user pgtable: 4k pages, 48-bit VAs, pgdp=00000000cb521000
[ 3.431025] [0000000000000008] pgd=0000000000000000
[ 3.435966] Internal error: Oops: 96000044 [#1] PREEMPT SMP
[ 3.441604] Modules linked in: nvme nvme_core
[ 3.446030] CPU: 0 PID: 68 Comm: kworker/u16:1 Tainted: G S 5.2.0-00001-gb071f664cc61 #2
[ 3.455478] Hardware name: HiKey960 (DT)
[ 3.459486] Workqueue: nvme-reset-wq nvme_reset_work [nvme]
[ 3.465103] pstate: 60000085 (nZCv daIf -PAN -UAO)
[ 3.469970] pc : steal_suitable_fallback+0xdc/0x248
[ 3.474902] lr : steal_suitable_fallback+0x1d8/0x248
[ 3.479929] sp : ffff00001184b880
[ 3.483310] x29: ffff00001184b880 x28: ffff00001184bac0
[ 3.488688] x27: 0000000000000000 x26: ffff80001ded8840
[ 3.494064] x25: ffff80001ded8840 x24: ffff80001ded8d10
[ 3.499441] x23: 0000000000000000 x22: ffff80001ded8840
[ 3.504818] x21: ffff0000112a9000 x20: 0000000000000000
[ 3.510194] x19: ffff7e00005e0000 x18: ffffffffffffffff
[ 3.515570] x17: 0000000000000001 x16: 0000000000000000
[ 3.520950] x15: ffff0000112a96c8 x14: 00007fffe2127700
[ 3.526323] x13: 000000000000000a x12: ffff80001ded8d10
[ 3.531703] x11: ffffffffffffff00 x10: ffff80001ded8d20
[ 3.537077] x9 : 00007fffe2127700 x8 : 0000000020000000
[ 3.542454] x7 : 0000000000000018 x6 : ffff0000114969f8
[ 3.547830] x5 : 0000000000000000 x4 : 0000000000000000
[ 3.553206] x3 : 0000000000000000 x2 : 00000000000000c0
[ 3.558583] x1 : 0000000000000000 x0 : 0000000000000000
[ 3.563962] Call trace:
[ 3.566477] steal_suitable_fallback+0xdc/0x248
[ 3.571075] get_page_from_freelist+0xc48/0x1120
[ 3.575755] __alloc_pages_nodemask+0x124/0xbc8
[ 3.580354] __dma_direct_alloc_pages+0xc8/0x218
[ 3.585035] arch_dma_alloc+0xf8/0x1c8
[ 3.588848] dma_direct_alloc+0x20/0x28
[ 3.592755] xen_swiotlb_alloc_coherent+0x60/0x178
[ 3.597608] dma_alloc_attrs+0xd0/0xe8
[ 3.601429] nvme_reset_work+0xfb0/0x1210 [nvme]
[ 3.606112] process_one_work+0x1e0/0x320
[ 3.610182] worker_thread+0x228/0x450
[ 3.614000] kthread+0x124/0x128
[ 3.617296] ret_from_fork+0x10/0x18
[ 3.620941] Code: d2801802 8b010861 8b34d042 8b000af7 (f90004a4)
[ 3.627096] —[ end trace 5bfa5217520770d6 ]—
[ 3.631827] note: kworker/u16:1[68] exited with preempt_count 1

Thanks,
Shiva

Please close this topic, as I solved this issue.