Bug 187961 - PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers
Summary: PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers
Status: RESOLVED DOCUMENTED
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: ARM (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: linux-arm-kernel@lists.arm.linux.org.uk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-17 12:06 UTC by Dongdong Liu
Modified: 2017-03-03 02:53 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.9-rc1
Tree: Mainline
Regression: No


Attachments

Description Dongdong Liu 2016-11-17 12:06:29 UTC
This is a HiSilicon D03 board start log.HiSilicon D03 board is an ARM64 platform.

root@(none)$ dmesg
[    0.000000] Booting Linux on physical CPU 0x10000
[    0.000000] Linux version 4.9.0-rc1-gf827c14-dirty (l00290354@linux-ioko) (gcc version 4.9.3 20150211 (prerelease) (20150316) ) #228 SMP PREEMPT Thu Nov 17 18:20:40 CST 2016
[    0.000000] Boot CPU: AArch64 Processor [411fd071]
[    0.000000] earlycon: hisilpcuart0 at MMIO 0x00000000a01b0000 (options '0,0x2f8')
[    0.000000] bootconsole [hisilpcuart0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.60 by EDK II
[    0.000000] efi:  SMBIOS=0x3f110000  SMBIOS 3.0=0x39ce0000  ACPI=0x39db0000  ACPI 2.0=0x39db0014  MEMATTR=0x3c944018 
[    0.000000] cma: Reserved 16 MiB at 0x000000003e000000
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x0000000039DB0014 000024 (v02 HISI  )
[    0.000000] ACPI: XSDT 0x0000000039DA00E8 00004C (v01 HISI   HIP06    00000000      01000013)
[    0.000000] ACPI: FACP 0x0000000039CA0000 00010C (v05 HISI   HIP06    00000000 INTL 20151124)
[    0.000000] ACPI: DSDT 0x0000000039C60000 0038A8 (v01 HISI   HIP06    00000000 INTL 20150619)
[    0.000000] ACPI: MCFG 0x0000000039CC0000 00005C (v01 HISI   HIP06    00000000 INTL 20151124)
[    0.000000] ACPI: GTDT 0x0000000039C90000 000098 (v02 HISI   HIP06    00000000 INTL 20151124)
[    0.000000] ACPI: APIC 0x0000000039C80000 000518 (v01 HISI   HIP06    00000000 INTL 20151124)
[    0.000000] ACPI: IORT 0x0000000039C70000 0002E8 (v00 HISI   HIP06    00000000 INTL 20150619)
[    0.000000] ACPI: NUMA: Failed to initialise from firmware
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000027ffffffff]
[    0.000000] NUMA: Adding memblock [0x0 - 0x257ff] on node 0
[    0.000000] NUMA: Adding memblock [0x25800 - 0x319fffff] on node 0
[    0.000000] NUMA: Adding memblock [0x31a00000 - 0x31a6ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x31a70000 - 0x31b5ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x31b60000 - 0x31b6ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x31b70000 - 0x31b7dfff] on node 0
[    0.000000] NUMA: Adding memblock [0x31b7e000 - 0x31b81fff] on node 0
[    0.000000] NUMA: Adding memblock [0x31b82000 - 0x39c0ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x39c10000 - 0x3a11ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x3a120000 - 0x3f10ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x3f110000 - 0x3f13ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x3f140000 - 0x3fbfffff] on node 0
[    0.000000] NUMA: Adding memblock [0x2040000000 - 0x27ffffffff] on node 0
[    0.000000] NUMA: Initmem setup node 0 [mem 0x00000000-0x27ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x27fffef500-0x27ffff0fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000027ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000000024fff]
[    0.000000]   node   0: [mem 0x0000000000026000-0x00000000319fffff]
[    0.000000]   node   0: [mem 0x0000000031a00000-0x0000000031a6ffff]
[    0.000000]   node   0: [mem 0x0000000031a70000-0x0000000031b5ffff]
[    0.000000]   node   0: [mem 0x0000000031b60000-0x0000000031b6ffff]
[    0.000000]   node   0: [mem 0x0000000031b70000-0x0000000031b7dfff]
[    0.000000]   node   0: [mem 0x0000000031b7e000-0x0000000031b81fff]
[    0.000000]   node   0: [mem 0x0000000031b82000-0x0000000039c0ffff]
[    0.000000]   node   0: [mem 0x0000000039c10000-0x000000003a11ffff]
[    0.000000]   node   0: [mem 0x000000003a120000-0x000000003f10ffff]
[    0.000000]   node   0: [mem 0x000000003f110000-0x000000003f13ffff]
[    0.000000]   node   0: [mem 0x000000003f140000-0x000000003fbfffff]
[    0.000000]   node   0: [mem 0x0000002040000000-0x00000027ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000027ffffffff]
[    0.000000] On node 0 totalpages: 8387583
[    0.000000]   DMA zone: 4080 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 261119 pages, LIFO batch:31
[    0.000000]   Normal zone: 126976 pages used for memmap
[    0.000000]   Normal zone: 8126464 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from ACPI.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 21 pages/cpu @ffff8027ffe6c000 s48000 r8192 d29824 u86016
[    0.000000] pcpu-alloc: s48000 r8192 d29824 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [0] 04 [0] 05 [0] 06 [0] 07 
[    0.000000] pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [0] 12 [0] 13 [0] 14 [0] 15 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 832075
[    0.000000] CPU features: enabling workaround for ARM erratum 834220
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 8256527
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: earlycon=hisilpcuart,mmio,0xa01b0000,0,0x2f8 console=ttyS0,115200 initrd=filesystem.cpio.gz acpi=force pcie_aspm=off pci=pcie_bus_perf
[    0.000000] PCIe ASPM is disabled
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 61440 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 131072 bytes
[    0.000000] early log buf free: 10696(65%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] software IO TLB [mem 0x35c10000-0x39c10000] (64MB) mapped at [ffff800035c10000-ffff800039c0ffff]
[    0.000000] Memory: 32893516K/33550332K available (8764K kernel code, 866K rwdata, 3788K rodata, 1024K init, 293K bss, 640432K reserved, 16384K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008910000   (  8768 KB)
[    0.000000]     .rodata : 0xffff000008910000 - 0xffff000008cd0000   (  3840 KB)
[    0.000000]       .init : 0xffff000008cd0000 - 0xffff000008dd0000   (  1024 KB)
[    0.000000]       .data : 0xffff000008dd0000 - 0xffff000008ea8a00   (   867 KB)
[    0.000000]        .bss : 0xffff000008ea8a00 - 0xffff000008ef21c0   (   294 KB)
[    0.000000]     fixed   : 0xffff7dfffe7fd000 - 0xffff7dfffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000000000 - 0xffff7e00a0000000   (  2560 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff802800000000   (163840 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=16.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=16
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] ITS [mem 0xc6000000-0xc601ffff]
[    0.000000] ITS@0x00000000c6000000: allocated 524288 Devices @27df400000 (flat, esz 8, psz 16K, shr 1)
[    0.000000] ITS@0x00000000c6000000: allocated 2048 Virtual CPUs @27df814000 (flat, esz 8, psz 4K, shr 1)
[    0.000000] ITS@0x00000000c6000000: allocated 512 Interrupt Collections @27df811000 (flat, esz 8, psz 4K, shr 1)
[    0.000000] GIC: using LPI property table @0x00000027df830000
[    0.000000] ITS: Allocated 1792 chunks for LPIs
[    0.000000] GICv3: CPU0: found redistributor 10000 region 0:0x000000004d100000
[    0.000000] CPU0: using LPI pending table @0x00000027df840000
[    0.000000] arch_timer: cp15 timer(s) running at 50.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
[    0.000002] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
[    0.009144] Console: colour dummy device 80x25
[    0.014176] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000)
[    0.025935] pid_max: default: 32768 minimum: 301
[    0.031180] ACPI: Core revision 20160831
[    0.036653] ACPI: 1 ACPI AML tables successfully acquired and loaded

[    0.045592] Security Framework initialized
[    0.054607] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes)
[    0.075868] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.089567] Mount-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.097431] Mountpoint-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.106566] ASID allocator initialised with 65536 entries
[    0.144738] PCI/MSI: ITS@0xc6000000 domain created
[    0.150186] Platform MSI: ITS@0xc6000000 domain created
[    0.156153] Remapping and enabling EFI services.
[    0.161389]   EFI remap 0x0000000031a00000 => 0000000020000000
[    0.167982]   EFI remap 0x0000000031b60000 => 0000000020070000
[    0.174573]   EFI remap 0x0000000039c10000 => 0000000020080000
[    0.181164]   EFI remap 0x0000000039c50000 => 00000000200c0000
[    0.187756]   EFI remap 0x0000000039cd0000 => 00000000200d0000
[    0.194347]   EFI remap 0x0000000039d50000 => 0000000020150000
[    0.200937]   EFI remap 0x0000000039dc0000 => 00000000201a0000
[    0.207534]   EFI remap 0x0000000039e10000 => 00000000201f0000
[    0.214125]   EFI remap 0x0000000039f20000 => 0000000020300000
[    0.220717]   EFI remap 0x0000000039f90000 => 0000000020370000
[    0.227310]   EFI remap 0x0000000039fe0000 => 00000000203c0000
[    0.233902]   EFI remap 0x000000003a030000 => 0000000020410000
[    0.240493]   EFI remap 0x000000003a080000 => 0000000020460000
[    0.247085]   EFI remap 0x000000003a0d0000 => 00000000204b0000
[    0.253676]   EFI remap 0x000000003f110000 => 0000000020500000
[    0.260267]   EFI remap 0x0000000078000000 => 0000000020530000
[    0.266858]   EFI remap 0x00000000a4000000 => 0000000020600000
[    0.273484]   EFI remap 0x00000000a6000000 => 0000000021600000
[    0.280074]   EFI remap 0x00000000d00e0000 => 0000000021610000
[    0.387132] Detected PIPT I-cache on CPU1
[    0.387146] GICv3: CPU1: found redistributor 10001 region 1:0x000000004d130000
[    0.387175] CPU1: using LPI pending table @0x00000027dc300000
[    0.387190] CPU1: Booted secondary processor [411fd071]
[    0.467840] Detected PIPT I-cache on CPU2
[    0.467848] GICv3: CPU2: found redistributor 10002 region 2:0x000000004d160000
[    0.467878] CPU2: using LPI pending table @0x00000027dc330000
[    0.467889] CPU2: Booted secondary processor [411fd071]
[    0.548539] Detected PIPT I-cache on CPU3
[    0.548546] GICv3: CPU3: found redistributor 10003 region 3:0x000000004d190000
[    0.548576] CPU3: using LPI pending table @0x00000027dc370000
[    0.548586] CPU3: Booted secondary processor [411fd071]
[    0.629200] Detected PIPT I-cache on CPU4
[    0.629211] GICv3: CPU4: found redistributor 10100 region 4:0x000000004d1c0000
[    0.629242] CPU4: using LPI pending table @0x00000027dc3a0000
[    0.629256] CPU4: Booted secondary processor [411fd071]
[    0.709909] Detected PIPT I-cache on CPU5
[    0.709916] GICv3: CPU5: found redistributor 10101 region 5:0x000000004d1f0000
[    0.709946] CPU5: using LPI pending table @0x00000027dc3d0000
[    0.709956] CPU5: Booted secondary processor [411fd071]
[    0.790620] Detected PIPT I-cache on CPU6
[    0.790627] GICv3: CPU6: found redistributor 10102 region 6:0x000000004d220000
[    0.790657] CPU6: using LPI pending table @0x00000027dbc20000
[    0.790667] CPU6: Booted secondary processor [411fd071]
[    0.871305] Detected PIPT I-cache on CPU7
[    0.871312] GICv3: CPU7: found redistributor 10103 region 7:0x000000004d250000
[    0.871341] CPU7: using LPI pending table @0x00000027dbc50000
[    0.871351] CPU7: Booted secondary processor [411fd071]
[    0.952104] Detected PIPT I-cache on CPU8
[    0.952117] GICv3: CPU8: found redistributor 10200 region 8:0x000000004d280000
[    0.952148] CPU8: using LPI pending table @0x00000027dbc80000
[    0.952162] CPU8: Booted secondary processor [411fd071]
[    1.032830] Detected PIPT I-cache on CPU9
[    1.032838] GICv3: CPU9: found redistributor 10201 region 9:0x000000004d2b0000
[    1.032868] CPU9: using LPI pending table @0x00000027dbcc0000
[    1.032878] CPU9: Booted secondary processor [411fd071]
[    1.113543] Detected PIPT I-cache on CPU10
[    1.113551] GICv3: CPU10: found redistributor 10202 region 10:0x000000004d2e0000
[    1.113581] CPU10: using LPI pending table @0x00000027dbcf0000
[    1.113591] CPU10: Booted secondary processor [411fd071]
[    1.194263] Detected PIPT I-cache on CPU11
[    1.194271] GICv3: CPU11: found redistributor 10203 region 11:0x000000004d310000
[    1.194302] CPU11: using LPI pending table @0x00000027dbd30000
[    1.194312] CPU11: Booted secondary processor [411fd071]
[    1.274990] Detected PIPT I-cache on CPU12
[    1.275003] GICv3: CPU12: found redistributor 10300 region 12:0x000000004d340000
[    1.275034] CPU12: using LPI pending table @0x00000027dbd60000
[    1.275047] CPU12: Booted secondary processor [411fd071]
[    1.355655] Detected PIPT I-cache on CPU13
[    1.355663] GICv3: CPU13: found redistributor 10301 region 13:0x000000004d370000
[    1.355693] CPU13: using LPI pending table @0x00000027dbdb0000
[    1.355703] CPU13: Booted secondary processor [411fd071]
[    1.436378] Detected PIPT I-cache on CPU14
[    1.436387] GICv3: CPU14: found redistributor 10302 region 14:0x000000004d3a0000
[    1.436417] CPU14: using LPI pending table @0x00000027dbde0000
[    1.436428] CPU14: Booted secondary processor [411fd071]
[    1.517084] Detected PIPT I-cache on CPU15
[    1.517093] GICv3: CPU15: found redistributor 10303 region 15:0x000000004d3d0000
[    1.517122] CPU15: using LPI pending table @0x00000027dbe10000
[    1.517132] CPU15: Booted secondary processor [411fd071]
[    1.517173] Brought up 16 CPUs
[    1.899660] SMP: Total of 16 processors activated.
[    1.905072] CPU features: detected feature: GIC system register CPU interface
[    1.913135] CPU features: detected feature: 32-bit EL0 Support
[    1.919785] CPU: All CPU(s) started at EL2
[    1.924462] alternatives: patching kernel code
[    1.934502] devtmpfs: initialized
[    1.938616] SMBIOS 3.0.0 present.
[    1.942482] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    1.953778] pinctrl core: initialized pinctrl subsystem
[    1.960142] NET: Registered protocol family 16
[    1.982261] cpuidle: using governor menu
[    1.986788] vdso: 2 pages (1 code @ ffff000008917000, 1 data @ ffff000008dd4000)
[    1.995217] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    2.003480] DMA: preallocated 256 KiB pool for atomic allocations
[    2.010532] ACPI: bus type PCI registered
[    2.015147] Serial: AMBA PL011 UART driver
[    2.044048] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    2.051900] ACPI: Added _OSI(Module Device)
[    2.056670] ACPI: Added _OSI(Processor Device)
[    2.061727] ACPI: Added _OSI(3.0 _SCP Extensions)
[    2.067076] ACPI: Added _OSI(Processor Aggregator Device)
[    2.075107] ACPI: Interpreter enabled
[    2.079279] ACPI: Using GIC for interrupt routing
[    2.084672] ACPI: MCFG table detected, 3 entries
[    2.107670] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-1f])
[    2.114733] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig Segments MSI]
[    2.122782] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    2.130339] acpi PNP0A08:00: MCFG quirk: ECAM at [mem 0xb0000000-0xb1ffffff] for [bus 00-1f] with hisi_pcie_ops
[    2.142072] acpi PNP0A08:00: ECAM at [mem 0xb0000000-0xb1ffffff] for [bus 00-1f]
[    2.150527] Remapped I/O 0x00000000b7ff0000 to [io  0x0000-0xffff window]
[    2.158429] PCI host bridge to bus 0000:00
[    2.163150] pci_bus 0000:00: root bus resource [mem 0xb2000000-0xb7feffff window]
[    2.171770] pci_bus 0000:00: root bus resource [io  0x0000-0xffff window]
[    2.179602] pci_bus 0000:00: root bus resource [bus 00-1f]
[    2.185939] pci 0000:00:00.0: [19e5:1610] type 01 class 0x060400
[    2.185949] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    2.185987] pci 0000:00:00.0: supports D1 D2
[    2.185989] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.237338] pci 0000:00:00.0: BAR 0: assigned [mem 0xb2000000-0xb200ffff]
[    2.245177] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.250911] pci 0000:00:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    2.260686] ACPI: PCI Root Bridge [PCI1] (domain 0001 [bus e0-ff])
[    2.267826] acpi PNP0A08:01: _OSC: OS supports [ExtendedConfig Segments MSI]
[    2.275960] acpi PNP0A08:01: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    2.283604] acpi PNP0A08:01: MCFG quirk: ECAM at [mem 0xbe000000-0xbfffffff] for [bus e0-ff] with hisi_pcie_ops
[    2.295475] acpi PNP0A08:01: ECAM at [mem 0xbe000000-0xbfffffff] for [bus e0-ff]
[    2.304034] Remapped I/O 0x00000000bdff0000 to [io  0x10000-0x1ffff window]
[    2.312120] PCI host bridge to bus 0001:e0
[    2.316840] pci_bus 0001:e0: root bus resource [mem 0xb8000000-0xbdfeffff window]
[    2.325462] pci_bus 0001:e0: root bus resource [io  0x10000-0x1ffff window] (bus address [0x0000-0xffff])
[    2.336520] pci_bus 0001:e0: root bus resource [bus e0-ff]
[    2.342856] pci 0001:e0:00.0: [19e5:1610] type 01 class 0x060400
[    2.342864] pci 0001:e0:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    2.342872] pci 0001:e0:00.0: reg 0x38: [mem 0xfffe0000-0xffffffff pref]
[    2.342898] pci 0001:e0:00.0: supports D1 D2
[    2.342900] pci 0001:e0:00.0: PME# supported from D0 D1 D3hot
[    2.343028] pci 0001:e1:00.0: [1000:005d] type 00 class 0x010400
[    2.343037] pci 0001:e1:00.0: reg 0x10: [io  0x10000-0x100ff]
[    2.343044] pci 0001:e1:00.0: reg 0x14: [mem 0xb8100000-0xb810ffff 64bit]
[    2.343051] pci 0001:e1:00.0: reg 0x1c: [mem 0xb8000000-0xb80fffff 64bit]
[    2.343059] pci 0001:e1:00.0: reg 0x30: [mem 0xfff00000-0xffffffff pref]
[    2.343109] pci 0001:e1:00.0: supports D1 D2
[    2.343191] pci 0001:e0:00.0: BAR 14: assigned [mem 0xb8000000-0xb82fffff]
[    2.351122] pci 0001:e0:00.0: BAR 6: assigned [mem 0xb8300000-0xb831ffff pref]
[    2.359468] pci 0001:e0:00.0: BAR 0: assigned [mem 0xb8320000-0xb8320fff]
[    2.367299] pci 0001:e0:00.0: BAR 13: assigned [io  0x10000-0x10fff]
[    2.374633] pci 0001:e1:00.0: BAR 3: assigned [mem 0xb8000000-0xb80fffff 64bit]
[    2.383052] pci 0001:e1:00.0: BAR 6: assigned [mem 0xb8100000-0xb81fffff pref]
[    2.391378] pci 0001:e1:00.0: BAR 1: assigned [mem 0xb8200000-0xb820ffff 64bit]
[    2.399803] pci 0001:e1:00.0: BAR 0: assigned [io  0x10000-0x100ff]
[    2.407026] pci 0001:e0:00.0: PCI bridge to [bus e1]
[    2.412746] pci 0001:e0:00.0:   bridge window [io  0x10000-0x10fff]
[    2.419968] pci 0001:e0:00.0:   bridge window [mem 0xb8000000-0xb82fffff]
[    2.427799] pci 0001:e0:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    2.437528] pci 0001:e1:00.0: Max Payload Size set to  512/4096 (was  128), Max Read Rq  512
[    2.447300] ACPI: PCI Root Bridge [PCI2] (domain 0002 [bus 80-9f])
[    2.454434] acpi PNP0A08:02: _OSC: OS supports [ExtendedConfig Segments MSI]
[    2.462556] acpi PNP0A08:02: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    2.470178] acpi PNP0A08:02: MCFG quirk: ECAM at [mem 0xa8000000-0xa9ffffff] for [bus 80-9f] with hisi_pcie_ops
[    2.482056] acpi PNP0A08:02: ECAM at [mem 0xa8000000-0xa9ffffff] for [bus 80-9f]
[    2.490607] Remapped I/O 0x00000000afff0000 to [io  0x20000-0x2ffff window]
[    2.498694] PCI host bridge to bus 0002:80
[    2.503418] pci_bus 0002:80: root bus resource [mem 0xaa000000-0xaffeffff window]
[    2.512051] pci_bus 0002:80: root bus resource [io  0x20000-0x2ffff window] (bus address [0x0000-0xffff])
[    2.523090] pci_bus 0002:80: root bus resource [bus 80-9f]
[    2.529427] pci 0002:80:00.0: [19e5:1610] type 01 class 0x060400
[    2.529435] pci 0002:80:00.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    2.529464] pci 0002:80:00.0: supports D1 D2
[    2.529466] pci 0002:80:00.0: PME# supported from D0 D1 D3hot
[    2.529594] pci 0002:81:00.0: [10b5:8725] type 01 class 0x060400
[    2.529605] pci 0002:81:00.0: reg 0x10: [mem 0xaa200000-0xaa23ffff]
[    2.529677] pci 0002:81:00.0: PME# supported from D0 D3hot D3cold
[    2.529826] pci 0002:82:00.0: [10b5:8725] type 01 class 0x060400
[    2.529909] pci 0002:82:00.0: PME# supported from D0 D3hot D3cold
[    2.530006] pci 0002:82:01.0: [10b5:8725] type 01 class 0x060400
[    2.530087] pci 0002:82:01.0: PME# supported from D0 D3hot D3cold
[    2.530182] pci 0002:82:02.0: [10b5:8725] type 01 class 0x060400
[    2.530263] pci 0002:82:02.0: PME# supported from D0 D3hot D3cold
[    2.530366] pci 0002:82:08.0: [10b5:8725] type 01 class 0x060400
[    2.530447] pci 0002:82:08.0: PME# supported from D0 D3hot D3cold
[    2.530668] pci 0002:84:00.0: [19e5:1711] type 00 class 0x030000
[    2.530686] pci 0002:84:00.0: reg 0x10: [mem 0xac000000-0xadffffff pref]
[    2.530696] pci 0002:84:00.0: reg 0x14: [mem 0xaa000000-0xaa1fffff]
[    2.530796] pci 0002:84:00.0: supports D1
[    2.530798] pci 0002:84:00.0: PME# supported from D0 D1 D3hot
[    2.531026] pci 0002:80:00.0: BAR 14: assigned [mem 0xaa000000-0xae7fffff]
[    2.538962] pci 0002:80:00.0: BAR 15: assigned [mem 0xae800000-0xaebfffff 64bit pref]
[    2.548002] pci 0002:80:00.0: BAR 0: assigned [mem 0xaec00000-0xaec0ffff]
[    2.555829] pci 0002:80:00.0: BAR 13: assigned [io  0x20000-0x21fff]
[    2.563161] pci 0002:81:00.0: BAR 14: assigned [mem 0xaa000000-0xadffffff]
[    2.571089] pci 0002:81:00.0: BAR 15: assigned [mem 0xae800000-0xaebfffff 64bit pref]
[    2.580107] pci 0002:81:00.0: BAR 0: assigned [mem 0xae000000-0xae03ffff]
[    2.587940] pci 0002:81:00.0: BAR 13: assigned [io  0x20000-0x21fff]
[    2.595259] pci 0002:82:01.0: BAR 14: assigned [mem 0xaa000000-0xacffffff]
[    2.603179] pci 0002:82:00.0: BAR 14: assigned [mem 0xad000000-0xad1fffff]
[    2.611111] pci 0002:82:00.0: BAR 15: assigned [mem 0xae800000-0xae9fffff 64bit pref]
[    2.620134] pci 0002:82:01.0: BAR 15: assigned [mem 0xaea00000-0xaebfffff 64bit pref]
[    2.629165] pci 0002:82:00.0: BAR 13: assigned [io  0x20000-0x20fff]
[    2.636502] pci 0002:82:01.0: BAR 13: assigned [io  0x21000-0x21fff]
[    2.643829] pci 0002:82:00.0: PCI bridge to [bus 83]
[    2.649560] pci 0002:82:00.0:   bridge window [io  0x20000-0x20fff]
[    2.656784] pci 0002:82:00.0:   bridge window [mem 0xad000000-0xad1fffff]
[    2.664623] pci 0002:82:00.0:   bridge window [mem 0xae800000-0xae9fffff 64bit pref]
[    2.673542] pci 0002:84:00.0: BAR 0: assigned [mem 0xaa000000-0xabffffff pref]
[    2.681874] pci 0002:84:00.0: BAR 1: assigned [mem 0xac000000-0xac1fffff]
[    2.689695] pci 0002:82:01.0: PCI bridge to [bus 84]
[    2.695432] pci 0002:82:01.0:   bridge window [io  0x21000-0x21fff]
[    2.702660] pci 0002:82:01.0:   bridge window [mem 0xaa000000-0xacffffff]
[    2.710492] pci 0002:82:01.0:   bridge window [mem 0xaea00000-0xaebfffff 64bit pref]
[    2.719419] pci 0002:82:02.0: PCI bridge to [bus 85]
[    2.725148] pci 0002:82:08.0: PCI bridge to [bus 86]
[    2.730880] pci 0002:81:00.0: PCI bridge to [bus 82-86]
[    2.736902] pci 0002:81:00.0:   bridge window [io  0x20000-0x21fff]
[    2.744130] pci 0002:81:00.0:   bridge window [mem 0xaa000000-0xadffffff]
[    2.751949] pci 0002:81:00.0:   bridge window [mem 0xae800000-0xaebfffff 64bit pref]
[    2.760872] pci 0002:80:00.0: PCI bridge to [bus 81-86]
[    2.766884] pci 0002:80:00.0:   bridge window [io  0x20000-0x21fff]
[    2.774115] pci 0002:80:00.0:   bridge window [mem 0xaa000000-0xae7fffff]
[    2.781944] pci 0002:80:00.0:   bridge window [mem 0xae800000-0xaebfffff 64bit pref]
[    2.790880] pci 0002:80:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    2.800617] pci 0002:81:00.0: Max Payload Size set to  512/1024 (was  128), Max Read Rq  128
[    2.810332] pci 0002:82:00.0: Max Payload Size set to  512/1024 (was  128), Max Read Rq  128
[    2.820067] pci 0002:82:01.0: Max Payload Size set to  512/1024 (was  128), Max Read Rq  128
[    2.829809] pci 0002:84:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    2.839545] pci 0002:82:02.0: Max Payload Size set to  512/1024 (was  128), Max Read Rq  128
[    2.849281] pci 0002:82:08.0: Max Payload Size set to  512/1024 (was  128), Max Read Rq  128
[    2.859445] vgaarb: device added: PCI:0002:84:00.0,decodes=io+mem,owns=none,locks=none
[    2.868450] vgaarb: loaded
[    2.871515] vgaarb: bridge control possible 0002:84:00.0
[    2.877654] SCSI subsystem initialized
[    2.881985] libata version 3.00 loaded.
[    2.882060] ACPI: bus type USB registered
[    2.886642] usbcore: registered new interface driver usbfs
[    2.892895] usbcore: registered new interface driver hub
[    2.898980] usbcore: registered new device driver usb
[    2.904827] pps_core: LinuxPPS API ver. 1 registered
[    2.910456] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.920828] PTP clock support registered
[    2.925343] Registered efivars operations
[    2.930071] Advanced Linux Sound Architecture Driver Initialized.
[    2.937312] clocksource: Switched to clocksource arch_sys_counter
[    2.944267] VFS: Disk quotas dquot_6.6.0
[    2.948728] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.956608] pnp: PnP ACPI init
[    2.960240] system 00:00: [mem 0xa0090000-0xa009ffff] has been reserved
[    2.967719] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    2.967783] system 00:01: [mem 0xa0200000-0xa020ffff] has been reserved
[    2.975260] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    2.975322] system 00:02: [mem 0xa00a0000-0xa00affff] has been reserved
[    2.982798] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active)
[    2.982805] pnp: PnP ACPI: found 3 devices
[    2.990306] NET: Registered protocol family 2
[    2.995753] TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
[    3.004929] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    3.012892] TCP: Hash tables configured (established 262144 bind 65536)
[    3.020518] UDP hash table entries: 16384 (order: 7, 524288 bytes)
[    3.027758] UDP-Lite hash table entries: 16384 (order: 7, 524288 bytes)
[    3.035501] NET: Registered protocol family 1
[    3.040641] RPC: Registered named UNIX socket transport module.
[    3.047335] RPC: Registered udp transport module.
[    3.052655] RPC: Registered tcp transport module.
[    3.057969] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.065267] pci 0001:e1:00.0: [Firmware Bug]: VPD access disabled
[    3.072170] PCI: CLS 0 bytes, default 128
[    3.072260] Unpacking initramfs...
[    3.457859] Freeing initrd memory: 27492K (ffff80001e520000 - ffff80001fff9000)
[    3.466428] kvm [1]: 8-bit VMID
[    3.469996] kvm [1]: IDMAP page: 8f8000
[    3.474344] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    3.481499] kvm [1]: Hyp mode initialized successfully
[    3.487351] kvm [1]: vgic-v2@fe020000
[    3.491532] kvm [1]: GIC system register CPU interface enabled
[    3.498336] kvm [1]: vgic interrupt IRQ1
[    3.502881] kvm [1]: virtual timer IRQ4
[    3.508923] futex hash table entries: 4096 (order: 7, 524288 bytes)
[    3.516160] audit: initializing netlink subsys (disabled)
[    3.522327] audit: type=2000 audit(2.876:1): initialized
[    3.528590] workingset: timestamp_bits=44 max_order=23 bucket_order=0
[    3.539940] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.546932] NFS: Registering the id_resolver key type
[    3.552687] Key type id_resolver registered
[    3.557434] Key type id_legacy registered
[    3.561978] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.569663] 9p: Installing v9fs 9p2000 file system support
[    3.576953] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    3.585315] io scheduler noop registered
[    3.589809] io scheduler cfq registered (default)
[    3.595457] libphy: mdio_driver_register: phy-bcm-ns2-pci
[    3.602309] pcieport 0000:00:00.0: can't derive routing for PCI INT A
[    3.609613] pcieport 0000:00:00.0: PCI INT A: no GSI
[    3.615309] pcieport 0001:e0:00.0: can't derive routing for PCI INT A
[    3.622623] pcieport 0001:e0:00.0: PCI INT A: no GSI
[    3.628303] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.635611] pcieport 0002:80:00.0: PCI INT A: no GSI
[    3.641265] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.648583] pcieport 0002:81:00.0: PCI INT A: no GSI
[    3.654415] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.661740] pcieport 0002:82:00.0: PCI INT A: no GSI
[    3.667541] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.674846] pcieport 0002:82:01.0: PCI INT A: no GSI
[    3.680656] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.687965] pcieport 0002:82:02.0: PCI INT A: no GSI
[    3.693760] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.701081] pcieport 0002:82:08.0: PCI INT A: no GSI
[    3.707354] ipmi message handler version 39.2
[    3.712317] ipmi device interface
[    3.716147] IPMI System Interface driver.
[    3.720763] ipmi_si: probing via SMBIOS
[    3.725126] ipmi_si: SMBIOS: io 0xe4 regsize 1 spacing 1 irq 0
[    3.731745] ipmi_si: Adding SMBIOS-specified bt state machine
[    3.738287] ipmi_si: Trying SMBIOS-specified bt state machine at i/o address 0xe4, slave address 0x0, irq 0
[    3.809357] IPMI BT: using default values
[    3.813911] IPMI BT: req2rsp=5 secs retries=2
[    4.017446] ipmi_si ipmi_si.0: Found new BMC (man_id: 0x0007db, prod_id: 0x0001, dev_id: 0x01)
[    4.027282] ipmi_si ipmi_si.0: IPMI bt interface initialized
[    4.034581] xenfs: not registering filesystem on non-xen platform
[    4.042888] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.050688] console [ttyS0] disabled
[    4.076104] serial8250.10: ttyS0 at I/O 0x2f8 (irq = 0, base_baud = 115200) is a 16550A
[    4.085230] console [ttyS0] enabled
[    4.092669] bootconsole [hisilpcuart0] disabled
[    4.102525] SuperH (H)SCI(F) driver initialized
[    4.107130] msm_serial: driver initialized
[    4.111462] Failed to find cpu0 device node
[    4.115646] Unable to detect cache hierarchy from DT for CPU 0
[    4.124499] loop: module loaded
[    4.127821] megasas: 06.811.02.00-rc1
[    4.131521] pcieport 0001:e0:00.0: can't derive routing for PCI INT A
[    4.137953] megaraid_sas 0001:e1:00.0: PCI INT A: no GSI
[    4.143265] megaraid_sas 0001:e1:00.0: enabling device (0000 -> 0002)
[    4.150488] megaraid_sas 0001:e1:00.0: Waiting for FW to come to ready state
[    4.921312] megaraid_sas 0001:e1:00.0: FW now in Ready state
[    4.927338] megaraid_sas 0001:e1:00.0: firmware supports msix	: (96)
[    4.933685] megaraid_sas 0001:e1:00.0: current msix/online cpus	: (16/16)
[    4.940458] megaraid_sas 0001:e1:00.0: RDPQ mode	: (disabled)
[    4.946506] megaraid_sas 0001:e1:00.0: Current firmware maximum commands: 928	 LDIO threshold: 0
[    4.985322] megaraid_sas 0001:e1:00.0: Init cmd success
[    5.017316] megaraid_sas 0001:e1:00.0: firmware type	: Extended VD(240 VD)firmware
[    5.024871] megaraid_sas 0001:e1:00.0: controller type	: MR(1024MB)
[    5.031124] megaraid_sas 0001:e1:00.0: Online Controller Reset(OCR)	: Enabled
[    5.038244] megaraid_sas 0001:e1:00.0: Secure JBOD support	: Yes
[    5.073755] megaraid_sas 0001:e1:00.0: INIT adapter done
[    5.079066] megaraid_sas 0001:e1:00.0: Jbod map is not supported megasas_setup_jbod_map 4967
[    5.087578] megaraid_sas 0001:e1:00.0: pci id		: (0x1000)/(0x005d)/(0x19e5)/(0xd207)
[    5.095318] megaraid_sas 0001:e1:00.0: unevenspan support	: no
[    5.101145] megaraid_sas 0001:e1:00.0: firmware crash dump	: yes
[    5.107141] megaraid_sas 0001:e1:00.0: jbod sync map		: no
[    5.112622] scsi host0: Avago SAS based MegaRAID driver
[    5.145674] scsi 0:2:0:0: Direct-Access     LSI      LSI              4.27 PQ: 0 ANSI: 5
[    5.236783] random: fast init done
[    5.241640] mpt3sas version 13.100.00.00 loaded
[    5.246487] hisi_sas: driver version v1.6
[    5.246546] sd 0:2:0:0: [sda] 3734372352 512-byte logical blocks: (1.91 TB/1.74 TiB)
[    5.246549] sd 0:2:0:0: [sda] 4096-byte physical blocks
[    5.246604] sd 0:2:0:0: [sda] Write Protect is off
[    5.246607] sd 0:2:0:0: [sda] Mode Sense: 1f 00 00 08
[    5.246643] sd 0:2:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.247400] sd 0:2:0:0: [sda] Attached SCSI disk
[    5.417863] scsi host1: hisi_sas
[    5.553861] scsi host2: hisi_sas
[    5.689899] scsi host3: hisi_sas
[    5.694658] libphy: Fixed MDIO Bus: probed
[    5.698914] tun: Universal TUN/TAP device driver, 1.6
[    5.703960] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    5.789319] libphy: Hisilicon MII Bus: probed
[    6.669404] netif_napi_add() called with weight 256 on device eth%d
[    6.765932] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    6.771761] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    6.777709] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    6.784658] igb: Copyright (c) 2007-2014 Intel Corporation.
[    6.790245] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    6.798055] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    6.803988] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 4.4.0-k
[    6.811625] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[    6.817439] sky2: driver version 1.30
[    6.821291] VFIO - User Level meta-driver version: 0.3
[    6.827207] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.833728] ehci-pci: EHCI PCI platform driver
[    6.838195] ehci-platform: EHCI generic platform driver
[    6.843470] ehci-platform PNP0D20:00: EHCI Host Controller
[    6.848959] ehci-platform PNP0D20:00: new USB bus registered, assigned bus number 1
[    6.856702] ehci-platform PNP0D20:00: irq 6, io mem 0xa7020000
[    6.877318] ehci-platform PNP0D20:00: USB 2.0 started, EHCI 1.00
[    6.883602] hub 1-0:1.0: USB hub found
[    6.887364] hub 1-0:1.0: 2 ports detected
[    6.891608] ehci-exynos: EHCI EXYNOS driver
[    6.895820] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    6.901407] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.907584] ohci-pci: OHCI PCI platform driver
[    6.912050] ohci-platform: OHCI generic platform driver
[    6.917293] ohci-exynos: OHCI EXYNOS driver
[    6.921589] usbcore: registered new interface driver usb-storage
[    6.927864] mousedev: PS/2 mouse device common for all mice
[    7.059570] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
[    7.065809] i2c /dev entries driver
[    7.069767] sdhci: Secure Digital Host Controller Interface driver
[    7.075934] sdhci: Copyright(c) Pierre Ossman
[    7.080345] Synopsys Designware Multimedia Card Interface Driver
[    7.086417] sdhci-pltfm: SDHCI platform and OF driver helper
[    7.092358] ledtrig-cpu: registered to indicate activity on CPUs
[    7.098690] usbcore: registered new interface driver usbhid
[    7.104258] usbhid: USB HID core driver
[    7.108579] NET: Registered protocol family 17
[    7.113071] 9pnet: Installing 9P2000 support
[    7.117373] Key type dns_resolver registered
[    7.121900] registered taskstats version 1
[    7.189143] rtc-efi rtc-efi: setting system clock to 2016-11-17 18:33:45 UTC (1479407625)
[    7.197355] ALSA device list:
[    7.200324]   No soundcards found.
[    7.204389] Freeing unused kernel memory: 1024K (ffff800000cd0000 - ffff800000dd0000)
[    7.281319] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.433970] hub 1-1:1.0: USB hub found
[    7.437789] hub 1-1:1.0: 4 ports detected
[    7.561314] usb 1-2: new high-speed USB device number 3 using ehci-platform
[    7.713966] hub 1-2:1.0: USB hub found
[    7.717789] hub 1-2:1.0: 4 ports detected
[    8.009314] usb 1-2.1: new full-speed USB device number 4 using ehci-platform
[    8.125990] input: Keyboard/Mouse KVM 1.1.0 as /devices/platform/PNP0D20:00/usb1/1-2/1-2.1/1-2.1:1.0/0003:12D1:0003.0001/input/input0
[    8.197551] hid-generic 0003:12D1:0003.0001: input: USB HID v1.10 Keyboard [Keyboard/Mouse KVM 1.1.0] on usb-PNP0D20:00-2.1/input0
[    8.210584] input: Keyboard/Mouse KVM 1.1.0 as /devices/platform/PNP0D20:00/usb1/1-2/1-2.1/1-2.1:1.1/0003:12D1:0003.0002/input/input1
[    8.222641] hid-generic 0003:12D1:0003.0002: input: USB HID v1.10 Mouse [Keyboard/Mouse KVM 1.1.0] on usb-PNP0D20:00-2.1/input1
root@(none)$ cat /proc/iomem 
00000000-00024fff : reserved
00026000-319fffff : System RAM
  00080000-00ccffff : Kernel code
  00dd0000-00ef8fff : Kernel data
31a00000-31a6ffff : reserved
31a70000-31b5ffff : System RAM
31b60000-31b6ffff : reserved
31b70000-31b7dfff : System RAM
31b7e000-31b81fff : reserved
31b82000-39c0ffff : System RAM
39c10000-3a11ffff : reserved
3a120000-3f10ffff : System RAM
3f110000-3f13ffff : reserved
3f140000-3fbfffff : System RAM
603c0000-603cffff : HISI0141:00
  603c0000-603cffff : HISI0141:00
a0080000-a008ffff : HISI0152:02
  a0080000-a008ffff : HISI0152:01
    a0080000-a008ffff : HISI0152:00
a0090000-a009ffff : pnp 00:00
a00a0000-a00affff : pnp 00:02
a01b0000-a01b0fff : HISI0191:00
  a01b0000-a01b0fff : HISI0191:00
a0200000-a020ffff : pnp 00:01
a2000000-a200ffff : HISI0162:01
  a2000000-a200ffff : HISI0162:01
a3000000-a300ffff : HISI0162:02
  a3000000-a300ffff : HISI0162:02
a7020000-a702ffff : PNP0D20:00
  a7020000-a702ffff : PNP0D20:00
a8000000-a9ffffff : PCI ECAM
aa000000-affeffff : PCI Bus 0002:80
  aa000000-ae7fffff : PCI Bus 0002:81
    aa000000-adffffff : PCI Bus 0002:82
      aa000000-acffffff : PCI Bus 0002:84
        aa000000-abffffff : 0002:84:00.0
        ac000000-ac1fffff : 0002:84:00.0
      ad000000-ad1fffff : PCI Bus 0002:83
    ae000000-ae03ffff : 0002:81:00.0
  ae800000-aebfffff : PCI Bus 0002:81
    ae800000-aebfffff : PCI Bus 0002:82
      ae800000-ae9fffff : PCI Bus 0002:83
      aea00000-aebfffff : PCI Bus 0002:84
  aec00000-aec0ffff : 0002:80:00.0
b0000000-b1ffffff : PCI ECAM
b2000000-b7feffff : PCI Bus 0000:00
  b2000000-b200ffff : 0000:00:00.0
b8000000-bdfeffff : PCI Bus 0001:e0
  b8000000-b82fffff : PCI Bus 0001:e1
    b8000000-b80fffff : 0001:e1:00.0
    b8100000-b81fffff : 0001:e1:00.0
    b8200000-b820ffff : 0001:e1:00.0
      b8200000-b820ffff : megasas: LSI
  b8300000-b831ffff : 0001:e0:00.0
  b8320000-b8320fff : 0001:e0:00.0
be000000-bfffffff : PCI ECAM
c0080000-c008ffff : HISI0152:05
  c0080000-c008ffff : HISI0152:04
    c0080000-c008ffff : HISI0152:03
c3000000-c300ffff : HISI0162:00
  c3000000-c300ffff : HISI0162:00
c4000000-c40fffff : HISI00D1:00
c5000000-c588ffff : HISI00B2:00
  c5000000-c588ffff : HISI00B2:00
c7000000-c705ffff : HISI00B2:00
  c7000000-c705ffff : HISI00B2:00
2040000000-27ffffffff : System RAM
Comment 1 Dongdong Liu 2016-11-17 12:13:25 UTC
The Mcfg Table

[000h 0000   4]                    Signature : "MCFG"    [Memory Mapped Configuration table]
[004h 0004   4]                 Table Length : 0000005C
[008h 0008   1]                     Revision : 01
[009h 0009   1]                     Checksum : B1
[00Ah 0010   6]                       Oem ID : "HISI  "
[010h 0016   8]                 Oem Table ID : "HIP06   "
[018h 0024   4]                 Oem Revision : 00000000
[01Ch 0028   4]              Asl Compiler ID : "INTL"
[020h 0032   4]        Asl Compiler Revision : 20151124

[024h 0036   8]                     Reserved : 0000000000000000

[02Ch 0044   8]                 Base Address : 00000000B0000000
[034h 0052   2]         Segment Group Number : 0000
[036h 0054   1]             Start Bus Number : 00
[037h 0055   1]               End Bus Number : 1F
[038h 0056   4]                     Reserved : 00000000

[03Ch 0060   8]                 Base Address : 00000000B0000000
[044h 0068   2]         Segment Group Number : 0001
[046h 0070   1]             Start Bus Number : E0
[047h 0071   1]               End Bus Number : FF
[048h 0072   4]                     Reserved : 00000000

[04Ch 0076   8]                 Base Address : 00000000A0000000
[054h 0084   2]         Segment Group Number : 0002
[056h 0086   1]             Start Bus Number : 80
[057h 0087   1]               End Bus Number : 9F
[058h 0088   4]                     Reserved : 00000000
Comment 2 Dongdong Liu 2016-11-17 12:14:14 UTC
The PCI DSDT table 
Scope (_SB)
    {
        Device (PCI0)
        {
            Name (_HID, "PNP0A08" /* PCI Express Bus */)  // _HID: Hardware ID
            Name (_CID, "PNP0A03" /* PCI Bus */)  // _CID: Compatible ID
            Name (_SEG, Zero)  // _SEG: PCI Segment
            Name (_BBN, Zero)  // _BBN: BIOS Bus Number
            Name (_CCA, One)  // _CCA: Cache Coherency Attribute
            Method (_CRS, 0, Serialized)  // _CRS: Current Resource Settings
            {
                Name (RBUF, ResourceTemplate ()
                {
                    WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
                        0x0000,             // Granularity
                        0x0000,             // Range Minimum
                        0x001F,             // Range Maximum
                        0x0000,             // Translation Offset
                        0x0020,             // Length
                        ,, )
                    QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                        0x0000000000000000, // Granularity
                        0x00000000B2000000, // Range Minimum
                        0x00000000B7FEFFFF, // Range Maximum
                        0x0000000000000000, // Translation Offset
                        0x0000000005FF0000, // Length
                        ,, , AddressRangeMemory, TypeStatic)
                    QWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                        0x0000000000000000, // Granularity
                        0x0000000000000000, // Range Minimum
                        0x000000000000FFFF, // Range Maximum
                        0x00000000B7FF0000, // Translation Offset
                        0x0000000000010000, // Length
                        ,, , TypeStatic)
                })
                Return (RBUF) /* \_SB_.PCI0._CRS.RBUF */
            }
        }

        Device (RES0)
        {
            Name (_HID, "HISI0081")  // _HID: Hardware ID
            Name (_CID, "PNP0C02" /* PNP Motherboard Resources */)  // _CID: Compatible ID
            Name (_UID, Zero)  // _UID: Unique ID
            Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
            {
                Memory32Fixed (ReadWrite,
                    0xA0090000,         // Address Base
                    0x00010000,         // Address Length
                    )
            })
        }

        Device (PCI1)
        {
            Name (_HID, "PNP0A08" /* PCI Express Bus */)  // _HID: Hardware ID
            Name (_CID, "PNP0A03" /* PCI Bus */)  // _CID: Compatible ID
            Name (_SEG, One)  // _SEG: PCI Segment
            Name (_BBN, 0xE0)  // _BBN: BIOS Bus Number
            Name (_CCA, One)  // _CCA: Cache Coherency Attribute
            Method (_CRS, 0, Serialized)  // _CRS: Current Resource Settings
            {
                Name (RBUF, ResourceTemplate ()
                {
                    WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
                        0x0000,             // Granularity
                        0x00E0,             // Range Minimum
                        0x00FF,             // Range Maximum
                        0x0000,             // Translation Offset
                        0x0020,             // Length
                        ,, )
                    QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                        0x0000000000000000, // Granularity
                        0x00000000B8000000, // Range Minimum
                        0x00000000BDFEFFFF, // Range Maximum
                        0x0000000000000000, // Translation Offset
                        0x0000000005FF0000, // Length
                        ,, , AddressRangeMemory, TypeStatic)
                    QWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                        0x0000000000000000, // Granularity
                        0x0000000000000000, // Range Minimum
                        0x000000000000FFFF, // Range Maximum
                        0x00000000BDFF0000, // Translation Offset
                        0x0000000000010000, // Length
                        ,, , TypeStatic)
                })
                Return (RBUF) /* \_SB_.PCI1._CRS.RBUF */
            }
        }

        Device (RES1)
        {
            Name (_HID, "HISI0081")  // _HID: Hardware ID
            Name (_CID, "PNP0C02" /* PNP Motherboard Resources */)  // _CID: Compatible ID
            Name (_UID, One)  // _UID: Unique ID
            Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
            {
                Memory32Fixed (ReadWrite,
                    0xA0200000,         // Address Base
                    0x00010000,         // Address Length
                    )
            })
        }

        Device (PCI2)
        {
            Name (_HID, "PNP0A08" /* PCI Express Bus */)  // _HID: Hardware ID
            Name (_CID, "PNP0A03" /* PCI Bus */)  // _CID: Compatible ID
            Name (_SEG, 0x02)  // _SEG: PCI Segment
            Name (_BBN, 0x80)  // _BBN: BIOS Bus Number
            Name (_CCA, One)  // _CCA: Cache Coherency Attribute
            Method (_CRS, 0, Serialized)  // _CRS: Current Resource Settings
            {
                Name (RBUF, ResourceTemplate ()
                {
                    WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
                        0x0000,             // Granularity
                        0x0080,             // Range Minimum
                        0x009F,             // Range Maximum
                        0x0000,             // Translation Offset
                        0x0020,             // Length
                        ,, )
                    QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                        0x0000000000000000, // Granularity
                        0x00000000AA000000, // Range Minimum
                        0x00000000AFFEFFFF, // Range Maximum
                        0x0000000000000000, // Translation Offset
                        0x0000000005FF0000, // Length
                        ,, , AddressRangeMemory, TypeStatic)
                    QWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                        0x0000000000000000, // Granularity
                        0x0000000000000000, // Range Minimum
                        0x000000000000FFFF, // Range Maximum
                        0x00000000AFFF0000, // Translation Offset
                        0x0000000000010000, // Length
                        ,, , TypeStatic)
                })
                Return (RBUF) /* \_SB_.PCI2._CRS.RBUF */
            }
        }

        Device (RES2)
        {
            Name (_HID, "HISI0081")  // _HID: Hardware ID
            Name (_CID, "PNP0C02" /* PNP Motherboard Resources */)  // _CID: Compatible ID
            Name (_UID, 0x02)  // _UID: Unique ID
            Name (_CRS, ResourceTemplate ()  // _CRS: Current Resource Settings
            {
                Memory32Fixed (ReadWrite,
                    0xA00A0000,         // Address Base
                    0x00010000,         // Address Length
                    )
            })
        }
    }
Comment 3 Bjorn Helgaas 2016-11-18 17:19:01 UTC
Thank you!  The MCFG looks perfect, and it looks like the MCFG quirks are doing exactly what you want them to.

The HISI0081/PNP0C02 devices should also contain the ECAM space in their _CRS methods.  For example, the RES0 _CRS should contain both of these:

  [mem 0xa0090000-0xa009ffff]   # host bridge register space
  [mem 0xb0000000-0xb1ffffff]   # ECAM space for [bus 00-1f]
Comment 4 Dongdong Liu 2016-11-22 12:12:33 UTC
The HISI0081/PNP0C02 devices contain the ECAM space in their _CRS methods and update the dmesg

root@(none)$ dmesg
[    0.000000] Booting Linux on physical CPU 0x10000
[    0.000000] Linux version 4.9.0-rc1-gfacaf79-dirty (l00290354@linux-ioko) (gcc version 4.9.3 20150211 (prerelease) (20150316) ) #245 SMP PREEMPT Tue Nov 22 20:11:41 CST 2016
[    0.000000] Boot CPU: AArch64 Processor [411fd071]
[    0.000000] earlycon: hisilpcuart0 at MMIO 0x00000000a01b0000 (options '0,0x2f8')
[    0.000000] bootconsole [hisilpcuart0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.60 by EDK II
[    0.000000] efi:  SMBIOS=0x3f110000  SMBIOS 3.0=0x39ce0000  ACPI=0x39db0000  ACPI 2.0=0x39db0014  MEMATTR=0x3c93d018 
[    0.000000] cma: Reserved 16 MiB at 0x000000003e000000
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x0000000039DB0014 000024 (v02 HISI  )
[    0.000000] ACPI: XSDT 0x0000000039DA00E8 00004C (v01 HISI   HIP06    00000000      01000013)
[    0.000000] ACPI: FACP 0x0000000039CA0000 00010C (v05 HISI   HIP06    00000000 INTL 20151124)
[    0.000000] ACPI: DSDT 0x0000000039C60000 0038CE (v01 HISI   HIP06    00000000 INTL 20150619)
[    0.000000] ACPI: MCFG 0x0000000039CC0000 00005C (v01 HISI   HIP06    00000000 INTL 20151124)
[    0.000000] ACPI: GTDT 0x0000000039C90000 000098 (v02 HISI   HIP06    00000000 INTL 20151124)
[    0.000000] ACPI: APIC 0x0000000039C80000 000518 (v01 HISI   HIP06    00000000 INTL 20151124)
[    0.000000] ACPI: IORT 0x0000000039C70000 0002E8 (v00 HISI   HIP06    00000000 INTL 20150619)
[    0.000000] ACPI: NUMA: Failed to initialise from firmware
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000027ffffffff]
[    0.000000] NUMA: Adding memblock [0x0 - 0x257ff] on node 0
[    0.000000] NUMA: Adding memblock [0x25800 - 0x319fffff] on node 0
[    0.000000] NUMA: Adding memblock [0x31a00000 - 0x31a6ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x31a70000 - 0x31b5ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x31b60000 - 0x31b6ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x31b70000 - 0x31b7dfff] on node 0
[    0.000000] NUMA: Adding memblock [0x31b7e000 - 0x31b81fff] on node 0
[    0.000000] NUMA: Adding memblock [0x31b82000 - 0x39c0ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x39c10000 - 0x3a11ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x3a120000 - 0x3f10ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x3f110000 - 0x3f13ffff] on node 0
[    0.000000] NUMA: Adding memblock [0x3f140000 - 0x3fbfffff] on node 0
[    0.000000] NUMA: Adding memblock [0x2040000000 - 0x27ffffffff] on node 0
[    0.000000] NUMA: Initmem setup node 0 [mem 0x00000000-0x27ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x27fffef500-0x27ffff0fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000027ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000000024fff]
[    0.000000]   node   0: [mem 0x0000000000026000-0x00000000319fffff]
[    0.000000]   node   0: [mem 0x0000000031a00000-0x0000000031a6ffff]
[    0.000000]   node   0: [mem 0x0000000031a70000-0x0000000031b5ffff]
[    0.000000]   node   0: [mem 0x0000000031b60000-0x0000000031b6ffff]
[    0.000000]   node   0: [mem 0x0000000031b70000-0x0000000031b7dfff]
[    0.000000]   node   0: [mem 0x0000000031b7e000-0x0000000031b81fff]
[    0.000000]   node   0: [mem 0x0000000031b82000-0x0000000039c0ffff]
[    0.000000]   node   0: [mem 0x0000000039c10000-0x000000003a11ffff]
[    0.000000]   node   0: [mem 0x000000003a120000-0x000000003f10ffff]
[    0.000000]   node   0: [mem 0x000000003f110000-0x000000003f13ffff]
[    0.000000]   node   0: [mem 0x000000003f140000-0x000000003fbfffff]
[    0.000000]   node   0: [mem 0x0000002040000000-0x00000027ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000027ffffffff]
[    0.000000] On node 0 totalpages: 8387583
[    0.000000]   DMA zone: 4080 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 261119 pages, LIFO batch:31
[    0.000000]   Normal zone: 126976 pages used for memmap
[    0.000000]   Normal zone: 8126464 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from ACPI.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 21 pages/cpu @ffff8027ffe6c000 s48000 r8192 d29824 u86016
[    0.000000] pcpu-alloc: s48000 r8192 d29824 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [0] 04 [0] 05 [0] 06 [0] 07 
[    0.000000] pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [0] 12 [0] 13 [0] 14 [0] 15 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 832075
[    0.000000] CPU features: enabling workaround for ARM erratum 834220
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 8256527
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: earlycon=hisilpcuart,mmio,0xa01b0000,0,0x2f8 console=ttyS0,115200 initrd=filesystem.cpio.gz acpi=force pcie_aspm=off pci=pcie_bus_perf
[    0.000000] PCIe ASPM is disabled
[    0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 61440 bytes
[    0.000000] log_buf_len min size: 16384 bytes
[    0.000000] log_buf_len: 131072 bytes
[    0.000000] early log buf free: 10696(65%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] software IO TLB [mem 0x35c10000-0x39c10000] (64MB) mapped at [ffff800035c10000-ffff800039c0ffff]
[    0.000000] Memory: 32893776K/33550332K available (8572K kernel code, 864K rwdata, 3752K rodata, 1024K init, 295K bss, 640172K reserved, 16384K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff0000088e0000   (  8576 KB)
[    0.000000]     .rodata : 0xffff0000088e0000 - 0xffff000008c90000   (  3776 KB)
[    0.000000]       .init : 0xffff000008c90000 - 0xffff000008d90000   (  1024 KB)
[    0.000000]       .data : 0xffff000008d90000 - 0xffff000008e68200   (   865 KB)
[    0.000000]        .bss : 0xffff000008e68200 - 0xffff000008eb1f40   (   296 KB)
[    0.000000]     fixed   : 0xffff7dfffe7fd000 - 0xffff7dfffec00000   (  4108 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000000000 - 0xffff7e00a0000000   (  2560 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff802800000000   (163840 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 64.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=16.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=16
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] ITS [mem 0xc6000000-0xc601ffff]
[    0.000000] ITS@0x00000000c6000000: allocated 524288 Devices @27df400000 (flat, esz 8, psz 16K, shr 1)
[    0.000000] ITS@0x00000000c6000000: allocated 2048 Virtual CPUs @27df814000 (flat, esz 8, psz 4K, shr 1)
[    0.000000] ITS@0x00000000c6000000: allocated 512 Interrupt Collections @27df811000 (flat, esz 8, psz 4K, shr 1)
[    0.000000] GIC: using LPI property table @0x00000027df830000
[    0.000000] ITS: Allocated 1792 chunks for LPIs
[    0.000000] GICv3: CPU0: found redistributor 10000 region 0:0x000000004d100000
[    0.000000] CPU0: using LPI pending table @0x00000027df840000
[    0.000000] arch_timer: cp15 timer(s) running at 50.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
[    0.000001] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
[    0.009149] Console: colour dummy device 80x25
[    0.014182] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000)
[    0.025942] pid_max: default: 32768 minimum: 301
[    0.031187] ACPI: Core revision 20160831
[    0.036700] ACPI: 1 ACPI AML tables successfully acquired and loaded

[    0.045647] Security Framework initialized
[    0.054660] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes)
[    0.075970] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes)
[    0.089699] Mount-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.097589] Mountpoint-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.106743] ASID allocator initialised with 65536 entries
[    0.144938] PCI/MSI: ITS@0xc6000000 domain created
[    0.150403] Platform MSI: ITS@0xc6000000 domain created
[    0.156388] Remapping and enabling EFI services.
[    0.161628]   EFI remap 0x0000000031a00000 => 0000000020000000
[    0.168222]   EFI remap 0x0000000031b60000 => 0000000020070000
[    0.174816]   EFI remap 0x0000000039c10000 => 0000000020080000
[    0.181409]   EFI remap 0x0000000039c50000 => 00000000200c0000
[    0.188006]   EFI remap 0x0000000039cd0000 => 00000000200d0000
[    0.194601]   EFI remap 0x0000000039d50000 => 0000000020150000
[    0.201197]   EFI remap 0x0000000039dc0000 => 00000000201a0000
[    0.207794]   EFI remap 0x0000000039e10000 => 00000000201f0000
[    0.214388]   EFI remap 0x0000000039f20000 => 0000000020300000
[    0.220984]   EFI remap 0x0000000039f90000 => 0000000020370000
[    0.227582]   EFI remap 0x0000000039fe0000 => 00000000203c0000
[    0.234176]   EFI remap 0x000000003a030000 => 0000000020410000
[    0.240769]   EFI remap 0x000000003a080000 => 0000000020460000
[    0.247364]   EFI remap 0x000000003a0d0000 => 00000000204b0000
[    0.253958]   EFI remap 0x000000003f110000 => 0000000020500000
[    0.260553]   EFI remap 0x0000000078000000 => 0000000020530000
[    0.267150]   EFI remap 0x00000000a4000000 => 0000000020600000
[    0.273789]   EFI remap 0x00000000a6000000 => 0000000021600000
[    0.280385]   EFI remap 0x00000000d00e0000 => 0000000021610000
[    0.387452] Detected PIPT I-cache on CPU1
[    0.387467] GICv3: CPU1: found redistributor 10001 region 1:0x000000004d130000
[    0.387496] CPU1: using LPI pending table @0x00000027dc300000
[    0.387511] CPU1: Booted secondary processor [411fd071]
[    0.468154] Detected PIPT I-cache on CPU2
[    0.468161] GICv3: CPU2: found redistributor 10002 region 2:0x000000004d160000
[    0.468191] CPU2: using LPI pending table @0x00000027dc330000
[    0.468202] CPU2: Booted secondary processor [411fd071]
[    0.548861] Detected PIPT I-cache on CPU3
[    0.548869] GICv3: CPU3: found redistributor 10003 region 3:0x000000004d190000
[    0.548898] CPU3: using LPI pending table @0x00000027dc370000
[    0.548908] CPU3: Booted secondary processor [411fd071]
[    0.629541] Detected PIPT I-cache on CPU4
[    0.629553] GICv3: CPU4: found redistributor 10100 region 4:0x000000004d1c0000
[    0.629584] CPU4: using LPI pending table @0x00000027dc3a0000
[    0.629598] CPU4: Booted secondary processor [411fd071]
[    0.710256] Detected PIPT I-cache on CPU5
[    0.710263] GICv3: CPU5: found redistributor 10101 region 5:0x000000004d1f0000
[    0.710292] CPU5: using LPI pending table @0x00000027dc3d0000
[    0.710302] CPU5: Booted secondary processor [411fd071]
[    0.790984] Detected PIPT I-cache on CPU6
[    0.790992] GICv3: CPU6: found redistributor 10102 region 6:0x000000004d220000
[    0.791021] CPU6: using LPI pending table @0x00000027dbc20000
[    0.791031] CPU6: Booted secondary processor [411fd071]
[    0.871694] Detected PIPT I-cache on CPU7
[    0.871702] GICv3: CPU7: found redistributor 10103 region 7:0x000000004d250000
[    0.871732] CPU7: using LPI pending table @0x00000027dbc50000
[    0.871742] CPU7: Booted secondary processor [411fd071]
[    0.952512] Detected PIPT I-cache on CPU8
[    0.952524] GICv3: CPU8: found redistributor 10200 region 8:0x000000004d280000
[    0.952555] CPU8: using LPI pending table @0x00000027dbc80000
[    0.952568] CPU8: Booted secondary processor [411fd071]
[    1.033256] Detected PIPT I-cache on CPU9
[    1.033264] GICv3: CPU9: found redistributor 10201 region 9:0x000000004d2b0000
[    1.033294] CPU9: using LPI pending table @0x00000027dbcc0000
[    1.033304] CPU9: Booted secondary processor [411fd071]
[    1.113975] Detected PIPT I-cache on CPU10
[    1.113984] GICv3: CPU10: found redistributor 10202 region 10:0x000000004d2e0000
[    1.114013] CPU10: using LPI pending table @0x00000027dbcf0000
[    1.114023] CPU10: Booted secondary processor [411fd071]
[    1.194669] Detected PIPT I-cache on CPU11
[    1.194677] GICv3: CPU11: found redistributor 10203 region 11:0x000000004d310000
[    1.194708] CPU11: using LPI pending table @0x00000027dbd30000
[    1.194718] CPU11: Booted secondary processor [411fd071]
[    1.275417] Detected PIPT I-cache on CPU12
[    1.275430] GICv3: CPU12: found redistributor 10300 region 12:0x000000004d340000
[    1.275461] CPU12: using LPI pending table @0x00000027dbd60000
[    1.275474] CPU12: Booted secondary processor [411fd071]
[    1.356133] Detected PIPT I-cache on CPU13
[    1.356142] GICv3: CPU13: found redistributor 10301 region 13:0x000000004d370000
[    1.356171] CPU13: using LPI pending table @0x00000027dbdb0000
[    1.356182] CPU13: Booted secondary processor [411fd071]
[    1.436828] Detected PIPT I-cache on CPU14
[    1.436837] GICv3: CPU14: found redistributor 10302 region 14:0x000000004d3a0000
[    1.436867] CPU14: using LPI pending table @0x00000027dbde0000
[    1.436877] CPU14: Booted secondary processor [411fd071]
[    1.517530] Detected PIPT I-cache on CPU15
[    1.517539] GICv3: CPU15: found redistributor 10303 region 15:0x000000004d3d0000
[    1.517569] CPU15: using LPI pending table @0x00000027dbe10000
[    1.517579] CPU15: Booted secondary processor [411fd071]
[    1.517619] Brought up 16 CPUs
[    1.902649] SMP: Total of 16 processors activated.
[    1.908091] CPU features: detected feature: GIC system register CPU interface
[    1.916208] CPU features: detected feature: 32-bit EL0 Support
[    1.922900] CPU: All CPU(s) started at EL2
[    1.927565] alternatives: patching kernel code
[    1.937538] devtmpfs: initialized
[    1.941676] SMBIOS 3.0.0 present.
[    1.945563] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    1.956933] pinctrl core: initialized pinctrl subsystem
[    1.963328] NET: Registered protocol family 16
[    2.057322] cpuidle: using governor menu
[    2.061912] vdso: 2 pages (1 code @ ffff0000088e7000, 1 data @ ffff000008d94000)
[    2.070409] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    2.078739] DMA: preallocated 256 KiB pool for atomic allocations
[    2.085773] ACPI: bus type PCI registered
[    2.090388] Serial: AMBA PL011 UART driver
[    2.111287] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    2.119056] ACPI: Added _OSI(Module Device)
[    2.123825] ACPI: Added _OSI(Processor Device)
[    2.128879] ACPI: Added _OSI(3.0 _SCP Extensions)
[    2.134246] ACPI: Added _OSI(Processor Aggregator Device)
[    2.142307] ACPI: Interpreter enabled
[    2.146508] ACPI: Using GIC for interrupt routing
[    2.151849] ACPI: MCFG table detected, 3 entries
[    2.174769] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-1f])
[    2.181905] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig Segments MSI]
[    2.190020] acpi PNP0A08:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    2.197590] acpi PNP0A08:00: MCFG quirk: ECAM at [mem 0xb0000000-0xb1ffffff] for [bus 00-1f] with hisi_pcie_ops
[    2.209381] acpi PNP0A08:00: ECAM at [mem 0xb0000000-0xb1ffffff] for [bus 00-1f]
[    2.217840] Remapped I/O 0x00000000b7ff0000 to [io  0x0000-0xffff window]
[    2.225640] PCI host bridge to bus 0000:00
[    2.230314] pci_bus 0000:00: root bus resource [mem 0xb2000000-0xb7feffff window]
[    2.238845] pci_bus 0000:00: root bus resource [io  0x0000-0xffff window]
[    2.246570] pci_bus 0000:00: root bus resource [bus 00-1f]
[    2.252836] pci 0000:00:00.0: [19e5:1610] type 01 class 0x060400
[    2.252846] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    2.252884] pci 0000:00:00.0: supports D1 D2
[    2.252886] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.304242] pci 0000:00:00.0: BAR 0: assigned [mem 0xb2000000-0xb200ffff]
[    2.311977] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.317649] pci 0000:00:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    2.327302] ACPI: PCI Root Bridge [PCI1] (domain 0001 [bus e0-ff])
[    2.334343] acpi PNP0A08:01: _OSC: OS supports [ExtendedConfig Segments MSI]
[    2.342378] acpi PNP0A08:01: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    2.349921] acpi PNP0A08:01: MCFG quirk: ECAM at [mem 0xbe000000-0xbfffffff] for [bus e0-ff] with hisi_pcie_ops
[    2.361655] acpi PNP0A08:01: ECAM at [mem 0xbe000000-0xbfffffff] for [bus e0-ff]
[    2.370104] Remapped I/O 0x00000000bdff0000 to [io  0x10000-0x1ffff window]
[    2.378096] PCI host bridge to bus 0001:e0
[    2.382758] pci_bus 0001:e0: root bus resource [mem 0xb8000000-0xbdfeffff window]
[    2.391280] pci_bus 0001:e0: root bus resource [io  0x10000-0x1ffff window] (bus address [0x0000-0xffff])
[    2.402194] pci_bus 0001:e0: root bus resource [bus e0-ff]
[    2.408456] pci 0001:e0:00.0: [19e5:1610] type 01 class 0x060400
[    2.408464] pci 0001:e0:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    2.408471] pci 0001:e0:00.0: reg 0x38: [mem 0xfffe0000-0xffffffff pref]
[    2.408499] pci 0001:e0:00.0: supports D1 D2
[    2.408501] pci 0001:e0:00.0: PME# supported from D0 D1 D3hot
[    2.408633] pci 0001:e1:00.0: [1000:005d] type 00 class 0x010400
[    2.408642] pci 0001:e1:00.0: reg 0x10: [io  0x10000-0x100ff]
[    2.408649] pci 0001:e1:00.0: reg 0x14: [mem 0xb8100000-0xb810ffff 64bit]
[    2.408656] pci 0001:e1:00.0: reg 0x1c: [mem 0xb8000000-0xb80fffff 64bit]
[    2.408664] pci 0001:e1:00.0: reg 0x30: [mem 0xfff00000-0xffffffff pref]
[    2.408714] pci 0001:e1:00.0: supports D1 D2
[    2.408798] pci 0001:e0:00.0: BAR 14: assigned [mem 0xb8000000-0xb82fffff]
[    2.416639] pci 0001:e0:00.0: BAR 6: assigned [mem 0xb8300000-0xb831ffff pref]
[    2.424867] pci 0001:e0:00.0: BAR 0: assigned [mem 0xb8320000-0xb8320fff]
[    2.432602] pci 0001:e0:00.0: BAR 13: assigned [io  0x10000-0x10fff]
[    2.439840] pci 0001:e1:00.0: BAR 3: assigned [mem 0xb8000000-0xb80fffff 64bit]
[    2.448172] pci 0001:e1:00.0: BAR 6: assigned [mem 0xb8100000-0xb81fffff pref]
[    2.456394] pci 0001:e1:00.0: BAR 1: assigned [mem 0xb8200000-0xb820ffff 64bit]
[    2.464719] pci 0001:e1:00.0: BAR 0: assigned [io  0x10000-0x100ff]
[    2.471846] pci 0001:e0:00.0: PCI bridge to [bus e1]
[    2.477497] pci 0001:e0:00.0:   bridge window [io  0x10000-0x10fff]
[    2.484639] pci 0001:e0:00.0:   bridge window [mem 0xb8000000-0xb82fffff]
[    2.492375] pci 0001:e0:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    2.501981] pci 0001:e1:00.0: Max Payload Size set to  512/4096 (was  128), Max Read Rq  512
[    2.511634] ACPI: PCI Root Bridge [PCI2] (domain 0002 [bus 80-9f])
[    2.518679] acpi PNP0A08:02: _OSC: OS supports [ExtendedConfig Segments MSI]
[    2.526717] acpi PNP0A08:02: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    2.534257] acpi PNP0A08:02: MCFG quirk: ECAM at [mem 0xa8000000-0xa9ffffff] for [bus 80-9f] with hisi_pcie_ops
[    2.545992] acpi PNP0A08:02: ECAM at [mem 0xa8000000-0xa9ffffff] for [bus 80-9f]
[    2.554434] Remapped I/O 0x00000000afff0000 to [io  0x20000-0x2ffff window]
[    2.562424] PCI host bridge to bus 0002:80
[    2.567093] pci_bus 0002:80: root bus resource [mem 0xaa000000-0xaffeffff window]
[    2.575617] pci_bus 0002:80: root bus resource [io  0x20000-0x2ffff window] (bus address [0x0000-0xffff])
[    2.586512] pci_bus 0002:80: root bus resource [bus 80-9f]
[    2.592769] pci 0002:80:00.0: [19e5:1610] type 01 class 0x060400
[    2.592777] pci 0002:80:00.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    2.592806] pci 0002:80:00.0: supports D1 D2
[    2.592808] pci 0002:80:00.0: PME# supported from D0 D1 D3hot
[    2.592938] pci 0002:81:00.0: [10b5:8725] type 01 class 0x060400
[    2.592949] pci 0002:81:00.0: reg 0x10: [mem 0xaa200000-0xaa23ffff]
[    2.593020] pci 0002:81:00.0: PME# supported from D0 D3hot D3cold
[    2.593173] pci 0002:82:00.0: [10b5:8725] type 01 class 0x060400
[    2.593255] pci 0002:82:00.0: PME# supported from D0 D3hot D3cold
[    2.593353] pci 0002:82:01.0: [10b5:8725] type 01 class 0x060400
[    2.593435] pci 0002:82:01.0: PME# supported from D0 D3hot D3cold
[    2.593532] pci 0002:82:02.0: [10b5:8725] type 01 class 0x060400
[    2.593613] pci 0002:82:02.0: PME# supported from D0 D3hot D3cold
[    2.593715] pci 0002:82:08.0: [10b5:8725] type 01 class 0x060400
[    2.593797] pci 0002:82:08.0: PME# supported from D0 D3hot D3cold
[    2.594017] pci 0002:84:00.0: [19e5:1711] type 00 class 0x030000
[    2.594035] pci 0002:84:00.0: reg 0x10: [mem 0xac000000-0xadffffff pref]
[    2.594045] pci 0002:84:00.0: reg 0x14: [mem 0xaa000000-0xaa1fffff]
[    2.594145] pci 0002:84:00.0: supports D1
[    2.594147] pci 0002:84:00.0: PME# supported from D0 D1 D3hot
[    2.594371] pci 0002:80:00.0: BAR 14: assigned [mem 0xaa000000-0xae7fffff]
[    2.602214] pci 0002:80:00.0: BAR 15: assigned [mem 0xae800000-0xaebfffff 64bit pref]
[    2.611132] pci 0002:80:00.0: BAR 0: assigned [mem 0xaec00000-0xaec0ffff]
[    2.618861] pci 0002:80:00.0: BAR 13: assigned [io  0x20000-0x21fff]
[    2.626103] pci 0002:81:00.0: BAR 14: assigned [mem 0xaa000000-0xadffffff]
[    2.633940] pci 0002:81:00.0: BAR 15: assigned [mem 0xae800000-0xaebfffff 64bit pref]
[    2.642875] pci 0002:81:00.0: BAR 0: assigned [mem 0xae000000-0xae03ffff]
[    2.650602] pci 0002:81:00.0: BAR 13: assigned [io  0x20000-0x21fff]
[    2.657852] pci 0002:82:01.0: BAR 14: assigned [mem 0xaa000000-0xacffffff]
[    2.665686] pci 0002:82:00.0: BAR 14: assigned [mem 0xad000000-0xad1fffff]
[    2.673508] pci 0002:82:00.0: BAR 15: assigned [mem 0xae800000-0xae9fffff 64bit pref]
[    2.682421] pci 0002:82:01.0: BAR 15: assigned [mem 0xaea00000-0xaebfffff 64bit pref]
[    2.691349] pci 0002:82:00.0: BAR 13: assigned [io  0x20000-0x20fff]
[    2.698589] pci 0002:82:01.0: BAR 13: assigned [io  0x21000-0x21fff]
[    2.705835] pci 0002:82:00.0: PCI bridge to [bus 83]
[    2.711492] pci 0002:82:00.0:   bridge window [io  0x20000-0x20fff]
[    2.718644] pci 0002:82:00.0:   bridge window [mem 0xad000000-0xad1fffff]
[    2.726375] pci 0002:82:00.0:   bridge window [mem 0xae800000-0xae9fffff 64bit pref]
[    2.735196] pci 0002:84:00.0: BAR 0: assigned [mem 0xaa000000-0xabffffff pref]
[    2.743438] pci 0002:84:00.0: BAR 1: assigned [mem 0xac000000-0xac1fffff]
[    2.751178] pci 0002:82:01.0: PCI bridge to [bus 84]
[    2.756845] pci 0002:82:01.0:   bridge window [io  0x21000-0x21fff]
[    2.763978] pci 0002:82:01.0:   bridge window [mem 0xaa000000-0xacffffff]
[    2.771712] pci 0002:82:01.0:   bridge window [mem 0xaea00000-0xaebfffff 64bit pref]
[    2.780528] pci 0002:82:02.0: PCI bridge to [bus 85]
[    2.786193] pci 0002:82:08.0: PCI bridge to [bus 86]
[    2.791855] pci 0002:81:00.0: PCI bridge to [bus 82-86]
[    2.797806] pci 0002:81:00.0:   bridge window [io  0x20000-0x21fff]
[    2.804945] pci 0002:81:00.0:   bridge window [mem 0xaa000000-0xadffffff]
[    2.812683] pci 0002:81:00.0:   bridge window [mem 0xae800000-0xaebfffff 64bit pref]
[    2.821506] pci 0002:80:00.0: PCI bridge to [bus 81-86]
[    2.827457] pci 0002:80:00.0:   bridge window [io  0x20000-0x21fff]
[    2.834589] pci 0002:80:00.0:   bridge window [mem 0xaa000000-0xae7fffff]
[    2.842317] pci 0002:80:00.0:   bridge window [mem 0xae800000-0xaebfffff 64bit pref]
[    2.851158] pci 0002:80:00.0: Max Payload Size set to  512/ 512 (was  128), Max Read Rq  512
[    2.860783] pci 0002:81:00.0: Max Payload Size set to  512/1024 (was  128), Max Read Rq  128
[    2.870394] pci 0002:82:00.0: Max Payload Size set to  512/1024 (was  128), Max Read Rq  128
[    2.880010] pci 0002:82:01.0: Max Payload Size set to  512/1024 (was  128), Max Read Rq  128
[    2.889624] pci 0002:84:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    2.899239] pci 0002:82:02.0: Max Payload Size set to  512/1024 (was  128), Max Read Rq  128
[    2.908853] pci 0002:82:08.0: Max Payload Size set to  512/1024 (was  128), Max Read Rq  128
[    2.918896] vgaarb: device added: PCI:0002:84:00.0,decodes=io+mem,owns=none,locks=none
[    2.927843] vgaarb: loaded
[    2.930895] vgaarb: bridge control possible 0002:84:00.0
[    2.937030] SCSI subsystem initialized
[    2.941355] libata version 3.00 loaded.
[    2.941434] ACPI: bus type USB registered
[    2.946012] usbcore: registered new interface driver usbfs
[    2.952230] usbcore: registered new interface driver hub
[    2.958282] usbcore: registered new device driver usb
[    2.964108] pps_core: LinuxPPS API ver. 1 registered
[    2.969716] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.980039] PTP clock support registered
[    2.984543] Registered efivars operations
[    2.989265] Advanced Linux Sound Architecture Driver Initialized.
[    2.996504] clocksource: Switched to clocksource arch_sys_counter
[    3.003460] VFS: Disk quotas dquot_6.6.0
[    3.007919] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    3.015797] pnp: PnP ACPI init
[    3.019438] system 00:00: [mem 0xa0090000-0xa009ffff] has been reserved
[    3.026915] system 00:00: [mem 0xb0000000-0xb01fffff] could not be reserved
[    3.034782] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active)
[    3.034845] system 00:01: [mem 0xa0200000-0xa020ffff] has been reserved
[    3.042319] system 00:01: [mem 0xbe000000-0xbe1fffff] could not be reserved
[    3.050185] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    3.050248] system 00:02: [mem 0xa00a0000-0xa00affff] has been reserved
[    3.057720] system 00:02: [mem 0xa8000000-0xa81fffff] could not be reserved
[    3.065587] system 00:02: Plug and Play ACPI device, IDs PNP0c02 (active)
[    3.065595] pnp: PnP ACPI: found 3 devices
[    3.073054] NET: Registered protocol family 2
[    3.078496] TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
[    3.087694] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    3.095632] TCP: Hash tables configured (established 262144 bind 65536)
[    3.103232] UDP hash table entries: 16384 (order: 7, 524288 bytes)
[    3.110441] UDP-Lite hash table entries: 16384 (order: 7, 524288 bytes)
[    3.118182] NET: Registered protocol family 1
[    3.123285] RPC: Registered named UNIX socket transport module.
[    3.129975] RPC: Registered udp transport module.
[    3.135286] RPC: Registered tcp transport module.
[    3.140597] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.147892] pci 0001:e1:00.0: [Firmware Bug]: VPD access disabled
[    3.154795] PCI: CLS 0 bytes, default 128
[    3.154885] Unpacking initramfs...
[    3.540477] Freeing initrd memory: 27492K (ffff80001e520000 - ffff80001fff9000)
[    3.549017] kvm [1]: 8-bit VMID
[    3.552571] kvm [1]: IDMAP page: 8d2000
[    3.556904] kvm [1]: HYP VA range: 800000000000:ffffffffffff
[    3.564013] kvm [1]: Hyp mode initialized successfully
[    3.569844] kvm [1]: vgic-v2@fe020000
[    3.574007] kvm [1]: GIC system register CPU interface enabled
[    3.580843] kvm [1]: vgic interrupt IRQ1
[    3.585325] kvm [1]: virtual timer IRQ4
[    3.591231] futex hash table entries: 4096 (order: 7, 524288 bytes)
[    3.598465] audit: initializing netlink subsys (disabled)
[    3.604613] audit: type=2000 audit(2.956:1): initialized
[    3.610879] workingset: timestamp_bits=44 max_order=23 bucket_order=0
[    3.622159] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.629157] NFS: Registering the id_resolver key type
[    3.634895] Key type id_resolver registered
[    3.639638] Key type id_legacy registered
[    3.644189] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.651857] 9p: Installing v9fs 9p2000 file system support
[    3.659285] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    3.667694] io scheduler noop registered
[    3.672197] io scheduler cfq registered (default)
[    3.677768] libphy: mdio_driver_register: phy-bcm-ns2-pci
[    3.684271] pcieport 0000:00:00.0: can't derive routing for PCI INT A
[    3.691582] pcieport 0000:00:00.0: PCI INT A: no GSI
[    3.697275] pcieport 0001:e0:00.0: can't derive routing for PCI INT A
[    3.704597] pcieport 0001:e0:00.0: PCI INT A: no GSI
[    3.710279] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.717569] pcieport 0002:80:00.0: PCI INT A: no GSI
[    3.723208] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.730483] pcieport 0002:81:00.0: PCI INT A: no GSI
[    3.736275] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.743552] pcieport 0002:82:00.0: PCI INT A: no GSI
[    3.749309] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.756586] pcieport 0002:82:01.0: PCI INT A: no GSI
[    3.762344] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.769620] pcieport 0002:82:02.0: PCI INT A: no GSI
[    3.775374] pcieport 0002:80:00.0: can't derive routing for PCI INT A
[    3.782651] pcieport 0002:82:08.0: PCI INT A: no GSI
[    3.788636] ipmi message handler version 39.2
[    3.793599] ipmi device interface
[    3.797407] IPMI System Interface driver.
[    3.802011] ipmi_si: probing via SMBIOS
[    3.806369] ipmi_si: SMBIOS: io 0xe4 regsize 1 spacing 1 irq 0
[    3.812991] ipmi_si: Adding SMBIOS-specified bt state machine
[    3.819526] ipmi_si: Trying SMBIOS-specified bt state machine at i/o address 0xe4, slave address 0x0, irq 0
[    3.888549] IPMI BT: using default values
[    3.893093] IPMI BT: req2rsp=5 secs retries=2
[    4.096647] ipmi_si ipmi_si.0: Found new BMC (man_id: 0x0007db, prod_id: 0x0001, dev_id: 0x01)
[    4.106499] ipmi_si ipmi_si.0: IPMI bt interface initialized
[    4.113789] xenfs: not registering filesystem on non-xen platform
[    4.122058] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    4.129828] console [ttyS0] disabled
[    4.155226] serial8250.10: ttyS0 at I/O 0x2f8 (irq = 0, base_baud = 115200) is a 16550A
[    4.164310] console [ttyS0] enabled
[    4.171731] bootconsole [hisilpcuart0] disabled
[    4.181547] SuperH (H)SCI(F) driver initialized
[    4.186151] msm_serial: driver initialized
[    4.190473] Failed to find cpu0 device node
[    4.194659] Unable to detect cache hierarchy from DT for CPU 0
[    4.203525] loop: module loaded
[    4.206847] megasas: 06.811.02.00-rc1
[    4.210539] pcieport 0001:e0:00.0: can't derive routing for PCI INT A
[    4.216970] megaraid_sas 0001:e1:00.0: PCI INT A: no GSI
[    4.222280] megaraid_sas 0001:e1:00.0: enabling device (0000 -> 0002)
[    4.229506] megaraid_sas 0001:e1:00.0: Waiting for FW to come to ready state
[    4.992505] megaraid_sas 0001:e1:00.0: FW now in Ready state
[    4.998551] megaraid_sas 0001:e1:00.0: firmware supports msix	: (96)
[    5.004895] megaraid_sas 0001:e1:00.0: current msix/online cpus	: (16/16)
[    5.011668] megaraid_sas 0001:e1:00.0: RDPQ mode	: (disabled)
[    5.017723] megaraid_sas 0001:e1:00.0: Current firmware maximum commands: 928	 LDIO threshold: 0
[    5.056513] megaraid_sas 0001:e1:00.0: Init cmd success
[    5.088508] megaraid_sas 0001:e1:00.0: firmware type	: Extended VD(240 VD)firmware
[    5.096058] megaraid_sas 0001:e1:00.0: controller type	: MR(1024MB)
[    5.102316] megaraid_sas 0001:e1:00.0: Online Controller Reset(OCR)	: Enabled
[    5.109432] megaraid_sas 0001:e1:00.0: Secure JBOD support	: Yes
[    5.144946] megaraid_sas 0001:e1:00.0: INIT adapter done
[    5.150257] megaraid_sas 0001:e1:00.0: Jbod map is not supported megasas_setup_jbod_map 4967
[    5.158773] megaraid_sas 0001:e1:00.0: pci id		: (0x1000)/(0x005d)/(0x19e5)/(0xd207)
[    5.166509] megaraid_sas 0001:e1:00.0: unevenspan support	: no
[    5.172332] megaraid_sas 0001:e1:00.0: firmware crash dump	: yes
[    5.178328] megaraid_sas 0001:e1:00.0: jbod sync map		: no
[    5.183804] scsi host0: Avago SAS based MegaRAID driver
[    5.216762] scsi 0:2:0:0: Direct-Access     LSI      LSI              4.27 PQ: 0 ANSI: 5
[    5.308293] random: fast init done
[    5.313141] mpt3sas version 13.100.00.00 loaded
[    5.318274] hisi_sas: driver version v1.6
[    5.318338] sd 0:2:0:0: [sda] 3734372352 512-byte logical blocks: (1.91 TB/1.74 TiB)
[    5.318341] sd 0:2:0:0: [sda] 4096-byte physical blocks
[    5.318412] sd 0:2:0:0: [sda] Write Protect is off
[    5.318415] sd 0:2:0:0: [sda] Mode Sense: 1f 00 00 08
[    5.318463] sd 0:2:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.319342] sd 0:2:0:0: [sda] Attached SCSI disk
[    5.489072] scsi host1: hisi_sas
[    5.625055] scsi host2: hisi_sas
[    5.761078] scsi host3: hisi_sas
[    5.765808] libphy: Fixed MDIO Bus: probed
[    5.770051] tun: Universal TUN/TAP device driver, 1.6
[    5.775100] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    5.860511] libphy: Hisilicon MII Bus: probed
[    6.740592] netif_napi_add() called with weight 256 on device eth%d
[    6.836995] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    6.842825] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    6.848778] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    6.855725] igb: Copyright (c) 2007-2014 Intel Corporation.
[    6.861314] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    6.869123] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    6.875053] sky2: driver version 1.30
[    6.878930] VFIO - User Level meta-driver version: 0.3
[    6.884827] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.891347] ehci-pci: EHCI PCI platform driver
[    6.895809] ehci-platform: EHCI generic platform driver
[    6.901073] ehci-platform PNP0D20:00: EHCI Host Controller
[    6.906562] ehci-platform PNP0D20:00: new USB bus registered, assigned bus number 1
[    6.914303] ehci-platform PNP0D20:00: irq 6, io mem 0xa7020000
[    6.932510] ehci-platform PNP0D20:00: USB 2.0 started, EHCI 1.00
[    6.938799] hub 1-0:1.0: USB hub found
[    6.942560] hub 1-0:1.0: 2 ports detected
[    6.946793] ehci-exynos: EHCI EXYNOS driver
[    6.951007] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    6.956598] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.962786] ohci-pci: OHCI PCI platform driver
[    6.967255] ohci-platform: OHCI generic platform driver
[    6.972496] ohci-exynos: OHCI EXYNOS driver
[    6.976794] usbcore: registered new interface driver usb-storage
[    6.983063] mousedev: PS/2 mouse device common for all mice
[    7.114799] rtc-efi rtc-efi: rtc core: registered rtc-efi as rtc0
[    7.121028] i2c /dev entries driver
[    7.124992] sdhci: Secure Digital Host Controller Interface driver
[    7.131162] sdhci: Copyright(c) Pierre Ossman
[    7.135575] Synopsys Designware Multimedia Card Interface Driver
[    7.141648] sdhci-pltfm: SDHCI platform and OF driver helper
[    7.147593] ledtrig-cpu: registered to indicate activity on CPUs
[    7.153909] usbcore: registered new interface driver usbhid
[    7.159478] usbhid: USB HID core driver
[    7.163834] NET: Registered protocol family 17
[    7.168324] 9pnet: Installing 9P2000 support
[    7.172629] Key type dns_resolver registered
[    7.177165] registered taskstats version 1
[    7.244394] rtc-efi rtc-efi: setting system clock to 2016-11-22 20:03:08 UTC (1479844988)
[    7.252606] ALSA device list:
[    7.255572]   No soundcards found.
[    7.259625] Freeing unused kernel memory: 1024K (ffff800000c90000 - ffff800000d90000)
[    7.272508] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.425195] hub 1-1:1.0: USB hub found
[    7.429015] hub 1-1:1.0: 4 ports detected
[    7.552508] usb 1-2: new high-speed USB device number 3 using ehci-platform
[    7.705189] hub 1-2:1.0: USB hub found
[    7.709015] hub 1-2:1.0: 4 ports detected
[    8.000506] usb 1-2.1: new full-speed USB device number 4 using ehci-platform
[    8.116980] input: Keyboard/Mouse KVM 1.1.0 as /devices/platform/PNP0D20:00/usb1/1-2/1-2.1/1-2.1:1.0/0003:12D1:0003.0001/input/input0
[    8.188742] hid-generic 0003:12D1:0003.0001: input: USB HID v1.10 Keyboard [Keyboard/Mouse KVM 1.1.0] on usb-PNP0D20:00-2.1/input0
[    8.201566] input: Keyboard/Mouse KVM 1.1.0 as /devices/platform/PNP0D20:00/usb1/1-2/1-2.1/1-2.1:1.1/0003:12D1:0003.0002/input/input1
[    8.213622] hid-generic 0003:12D1:0003.0002: input: USB HID v1.10 Mouse [Keyboard/Mouse KVM 1.1.0] on usb-PNP0D20:00-2.1/input1
root@(none)$ cat /proc/io
iomem    ioports  
root@(none)$ cat /proc/iomem 
00000000-00024fff : reserved
00026000-319fffff : System RAM
  00080000-00c8ffff : Kernel code
  00d90000-00eb7fff : Kernel data
31a00000-31a6ffff : reserved
31a70000-31b5ffff : System RAM
31b60000-31b6ffff : reserved
31b70000-31b7dfff : System RAM
31b7e000-31b81fff : reserved
31b82000-39c0ffff : System RAM
39c10000-3a11ffff : reserved
3a120000-3f10ffff : System RAM
3f110000-3f13ffff : reserved
3f140000-3fbfffff : System RAM
603c0000-603cffff : HISI0141:00
  603c0000-603cffff : HISI0141:00
a0080000-a008ffff : HISI0152:02
  a0080000-a008ffff : HISI0152:01
    a0080000-a008ffff : HISI0152:00
a0090000-a009ffff : pnp 00:00
a00a0000-a00affff : pnp 00:02
a01b0000-a01b0fff : HISI0191:00
  a01b0000-a01b0fff : HISI0191:00
a0200000-a020ffff : pnp 00:01
a2000000-a200ffff : HISI0162:01
  a2000000-a200ffff : HISI0162:01
a3000000-a300ffff : HISI0162:02
  a3000000-a300ffff : HISI0162:02
a7020000-a702ffff : PNP0D20:00
  a7020000-a702ffff : PNP0D20:00
a8000000-a9ffffff : PCI ECAM
aa000000-affeffff : PCI Bus 0002:80
  aa000000-ae7fffff : PCI Bus 0002:81
    aa000000-adffffff : PCI Bus 0002:82
      aa000000-acffffff : PCI Bus 0002:84
        aa000000-abffffff : 0002:84:00.0
        ac000000-ac1fffff : 0002:84:00.0
      ad000000-ad1fffff : PCI Bus 0002:83
    ae000000-ae03ffff : 0002:81:00.0
  ae800000-aebfffff : PCI Bus 0002:81
    ae800000-aebfffff : PCI Bus 0002:82
      ae800000-ae9fffff : PCI Bus 0002:83
      aea00000-aebfffff : PCI Bus 0002:84
  aec00000-aec0ffff : 0002:80:00.0
b0000000-b1ffffff : PCI ECAM
b2000000-b7feffff : PCI Bus 0000:00
  b2000000-b200ffff : 0000:00:00.0
b8000000-bdfeffff : PCI Bus 0001:e0
  b8000000-b82fffff : PCI Bus 0001:e1
    b8000000-b80fffff : 0001:e1:00.0
    b8100000-b81fffff : 0001:e1:00.0
    b8200000-b820ffff : 0001:e1:00.0
      b8200000-b820ffff : megasas: LSI
  b8300000-b831ffff : 0001:e0:00.0
  b8320000-b8320fff : 0001:e0:00.0
be000000-bfffffff : PCI ECAM
c0080000-c008ffff : HISI0152:05
  c0080000-c008ffff : HISI0152:04
    c0080000-c008ffff : HISI0152:03
c3000000-c300ffff : HISI0162:00
  c3000000-c300ffff : HISI0162:00
c4000000-c40fffff : HISI00D1:00
c5000000-c588ffff : HISI00B2:00
  c5000000-c588ffff : HISI00B2:00
c7000000-c705ffff : HISI00B2:00
  c7000000-c705ffff : HISI00B2:00
2040000000-27ffffffff : System RAM
Comment 5 Dongdong Liu 2016-11-22 12:19:56 UTC
Update the PCI DSDT table for HISI0081/PNP0C02 devices contain the ECAM space in their _CRS methods 
Scope(_SB)
{
  // PCIe Root bus
  Device (PCI0)
  {
    Name (_HID, "PNP0A08") // PCI Express Root Bridge
    Name (_CID, "PNP0A03") // Compatible PCI Root Bridge
    Name(_SEG, 0) // Segment of this Root complex
    Name(_BBN, 0) // Base Bus Number
    Name(_CCA, 1)
    Method (_CRS, 0, Serialized) { // Root complex resources
      Name (RBUF, ResourceTemplate () {
        WordBusNumber ( // Bus numbers assigned to this root
          ResourceProducer, MinFixed, MaxFixed, PosDecode,
          0, // AddressGranularity
          0x0, // AddressMinimum - Minimum Bus Number
          0x1f, // AddressMaximum - Maximum Bus Number
          0, // AddressTranslation - Set to 0
          0x20 // RangeLength - Number of Busses
        )
        QWordMemory ( // 64-bit BAR Windows
          ResourceProducer,
          PosDecode,
          MinFixed,
          MaxFixed,
          Cacheable,
          ReadWrite,
          0x0, // Granularity
          0xb2000000, // Min Base Address pci address
          0xb7feffff, // Max Base Address
          0x0, // Translate
          0x5ff0000 // Length
        )
        QWordIO (
          ResourceProducer,
          MinFixed,
          MaxFixed,
          PosDecode,
          EntireRange,
          0x0, // Granularity
          0x0, // Min Base Address
          0xffff, // Max Base Address
          0xb7ff0000, // Translate
          0x10000 // Length
        )
      }) // Name(RBUF)
      Return (RBUF)
    } // Method(_CRS)

  } // Device(PCI0)

  Device (RES0)
  {
      Name (_HID, "HISI0081") // HiSi PCIe RC config base address
      Name (_CID, "PNP0C02") // Motherboard reserved resource
      Name (_UID, 0x0)  //  Unique ID
      Name (_CRS, ResourceTemplate (){
        Memory32Fixed (ReadWrite, 0xa0090000 , 0x10000) // host bridge register space
	Memory32Fixed (ReadWrite, 0xb0000000 , 0x200000) //ECAM space for [bus 00-1f]
      })
  }
  // PCIe Root bus
  Device (PCI1)
  {
    Name (_HID, "PNP0A08") // PCI Express Root Bridge
    Name (_CID, "PNP0A03") // Compatible PCI Root Bridge
    Name(_SEG, 1) // Segment of this Root complex
    Name(_BBN, 0xe0) // Base Bus Number
    Name(_CCA, 1)
    Method (_CRS, 0, Serialized) { // Root complex resources
      Name (RBUF, ResourceTemplate () {
        WordBusNumber ( // Bus numbers assigned to this root
          ResourceProducer, MinFixed, MaxFixed, PosDecode,
          0, // AddressGranularity
          0xe0, // AddressMinimum - Minimum Bus Number
          0xff, // AddressMaximum - Maximum Bus Number
          0,   // AddressTranslation - Set to 0
          0x20 // RangeLength - Number of Busses
        )
        QWordMemory ( // 64-bit BAR Windows
          ResourceProducer,
          PosDecode,
          MinFixed,
          MaxFixed,
          Cacheable,
          ReadWrite,
          0x0, // Granularity
          0xb8000000, // Min Base Address pci address
          0xbdfeffff, // Max Base Address
          0x0, // Translate
          0x5ff0000 // Length
        )
        QWordIO (
          ResourceProducer,
          MinFixed,
          MaxFixed,
          PosDecode,
          EntireRange,
          0x0, // Granularity
          0x0, // Min Base Address
          0xffff, // Max Base Address
          0xbdff0000, // Translate
          0x10000 // Length
        )
      }) // Name(RBUF)
      Return (RBUF)
    } // Method(_CRS)
  } // Device(PCI1)
  
    Device (RES1)
    {
      Name (_HID, "HISI0081") // HiSi PCIe RC config base address
      Name (_CID, "PNP0C02") // Motherboard reserved resource
      Name (_UID, 0x1)  //  Unique ID
      Name (_CRS, ResourceTemplate (){
        Memory32Fixed (ReadWrite, 0xa0200000 , 0x10000)// host bridge register space

	Memory32Fixed (ReadWrite, 0xbe000000 , 0x200000)
      })
    }
  // PCIe Root bus
  Device (PCI2)
  {
    Name (_HID, "PNP0A08") // PCI Express Root Bridge
    Name (_CID, "PNP0A03") // Compatible PCI Root Bridge
    Name(_SEG, 2) // Segment of this Root complex
    Name(_BBN, 0x80) // Base Bus Number
    Name(_CCA, 1)
    Method (_CRS, 0, Serialized) { // Root complex resources
      Name (RBUF, ResourceTemplate () {
        WordBusNumber ( // Bus numbers assigned to this root
          ResourceProducer, MinFixed, MaxFixed, PosDecode,
          0, // AddressGranularity
          0x80, // AddressMinimum - Minimum Bus Number
          0x9f, // AddressMaximum - Maximum Bus Number
          0, // AddressTranslation - Set to 0
          0x20 // RangeLength - Number of Busses
        )
        QWordMemory ( // 64-bit BAR Windows
          ResourceProducer,
          PosDecode,
          MinFixed,
          MaxFixed,
          Cacheable,
          ReadWrite,
          0x0, // Granularity
          0xaa000000, // Min Base Address
          0xaffeffff, // Max Base Address
          0x0, // Translate
          0x5ff0000 // Length
        )
        QWordIO (
          ResourceProducer,
          MinFixed,
          MaxFixed,
          PosDecode,
          EntireRange,
          0x0, // Granularity
          0x0, // Min Base Address
          0xffff, // Max Base Address
          0xafff0000, // Translate
          0x10000 // Length
        )
      }) // Name(RBUF)
      Return (RBUF)
    } // Method(_CRS)

  } // Device(PCI2)
   Device (RES2)
   {
      Name (_HID, "HISI0081") // HiSi PCIe RC config base address
      Name (_CID, "PNP0C02") // Motherboard reserved resource
      Name (_UID, 0x2)  // Unique ID
      Name (_CRS, ResourceTemplate (){
        Memory32Fixed (ReadWrite, 0xa00a0000, 0x10000)// host bridge register space

	Memory32Fixed (ReadWrite, 0xa8000000 , 0x200000)
      })
   }
}
Comment 6 Bjorn Helgaas 2017-03-03 02:53:08 UTC
This is background info related to (I think)
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5f00f1a0178c, which appeared in v4.10.

Closing because this is just for documentation; there's nothing to fix here.

Note You need to log in before you can comment on or make changes to this bug.