* [PATCH] hw/arm/virt: Enable HMAT on arm virt machine
@ 2022-01-25 9:15 chenxiang via
2022-01-25 10:26 ` Andrew Jones
0 siblings, 1 reply; 5+ messages in thread
From: chenxiang via @ 2022-01-25 9:15 UTC (permalink / raw)
To: peter.maydell, shannon.zhaosl; +Cc: qemu-arm, qemu-devel, linuxarm, Xiang Chen
From: Xiang Chen <chenxiang66@hisilicon.com>
Since the patchset ("Build ACPI Heterogeneous Memory Attribute Table (HMAT)"),
HMAT is supported, but only x86 is enabled. Enable HMAT on arm virt machine.
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
---
hw/arm/Kconfig | 1 +
hw/arm/virt-acpi-build.c | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 2e0049196d..a3c6099829 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -29,6 +29,7 @@ config ARM_VIRT
select ACPI_APEI
select ACPI_VIOT
select VIRTIO_MEM_SUPPORTED
+ select ACPI_HMAT
config CHEETAH
bool
diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
index 449fab0080..f19b55e486 100644
--- a/hw/arm/virt-acpi-build.c
+++ b/hw/arm/virt-acpi-build.c
@@ -42,6 +42,7 @@
#include "hw/acpi/memory_hotplug.h"
#include "hw/acpi/generic_event_device.h"
#include "hw/acpi/tpm.h"
+#include "hw/acpi/hmat.h"
#include "hw/pci/pcie_host.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_bus.h"
@@ -990,6 +991,12 @@ void virt_acpi_build(VirtMachineState *vms, AcpiBuildTables *tables)
build_slit(tables_blob, tables->linker, ms, vms->oem_id,
vms->oem_table_id);
}
+
+ if (ms->numa_state->hmat_enabled) {
+ acpi_add_table(table_offsets, tables_blob);
+ build_hmat(tables_blob, tables->linker, ms->numa_state,
+ vms->oem_id, vms->oem_table_id);
+ }
}
if (ms->nvdimms_state->is_enabled) {
--
2.33.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] hw/arm/virt: Enable HMAT on arm virt machine
2022-01-25 9:15 [PATCH] hw/arm/virt: Enable HMAT on arm virt machine chenxiang via
@ 2022-01-25 10:26 ` Andrew Jones
2022-01-25 11:46 ` chenxiang (M) via
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Jones @ 2022-01-25 10:26 UTC (permalink / raw)
To: chenxiang via
Cc: peter.maydell, Xiang Chen, linuxarm, shannon.zhaosl, qemu-arm,
imammedo
On Tue, Jan 25, 2022 at 05:15:34PM +0800, chenxiang via wrote:
> From: Xiang Chen <chenxiang66@hisilicon.com>
>
> Since the patchset ("Build ACPI Heterogeneous Memory Attribute Table (HMAT)"),
> HMAT is supported, but only x86 is enabled. Enable HMAT on arm virt machine.
Hi Xiang,
What QEMU commands lines have you tested with which Linux guest kernels?
Thanks,
drew
>
> Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
> ---
> hw/arm/Kconfig | 1 +
> hw/arm/virt-acpi-build.c | 7 +++++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
> index 2e0049196d..a3c6099829 100644
> --- a/hw/arm/Kconfig
> +++ b/hw/arm/Kconfig
> @@ -29,6 +29,7 @@ config ARM_VIRT
> select ACPI_APEI
> select ACPI_VIOT
> select VIRTIO_MEM_SUPPORTED
> + select ACPI_HMAT
>
> config CHEETAH
> bool
> diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
> index 449fab0080..f19b55e486 100644
> --- a/hw/arm/virt-acpi-build.c
> +++ b/hw/arm/virt-acpi-build.c
> @@ -42,6 +42,7 @@
> #include "hw/acpi/memory_hotplug.h"
> #include "hw/acpi/generic_event_device.h"
> #include "hw/acpi/tpm.h"
> +#include "hw/acpi/hmat.h"
> #include "hw/pci/pcie_host.h"
> #include "hw/pci/pci.h"
> #include "hw/pci/pci_bus.h"
> @@ -990,6 +991,12 @@ void virt_acpi_build(VirtMachineState *vms, AcpiBuildTables *tables)
> build_slit(tables_blob, tables->linker, ms, vms->oem_id,
> vms->oem_table_id);
> }
> +
> + if (ms->numa_state->hmat_enabled) {
> + acpi_add_table(table_offsets, tables_blob);
> + build_hmat(tables_blob, tables->linker, ms->numa_state,
> + vms->oem_id, vms->oem_table_id);
> + }
> }
>
> if (ms->nvdimms_state->is_enabled) {
> --
> 2.33.0
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hw/arm/virt: Enable HMAT on arm virt machine
2022-01-25 10:26 ` Andrew Jones
@ 2022-01-25 11:46 ` chenxiang (M) via
2022-01-25 12:46 ` Andrew Jones
0 siblings, 1 reply; 5+ messages in thread
From: chenxiang (M) via @ 2022-01-25 11:46 UTC (permalink / raw)
To: Andrew Jones, chenxiang via
Cc: peter.maydell, shannon.zhaosl, qemu-arm, linuxarm, imammedo
[-- Attachment #1: Type: text/plain, Size: 3271 bytes --]
Hi Andrew,
在 2022/1/25 18:26, Andrew Jones 写道:
> On Tue, Jan 25, 2022 at 05:15:34PM +0800, chenxiang via wrote:
>> From: Xiang Chen <chenxiang66@hisilicon.com>
>>
>> Since the patchset ("Build ACPI Heterogeneous Memory Attribute Table (HMAT)"),
>> HMAT is supported, but only x86 is enabled. Enable HMAT on arm virt machine.
> Hi Xiang,
>
> What QEMU commands lines have you tested with which Linux guest kernels?
I tested it with following commands with guest kernel 5.16-rc1, and the
boot log of guest kernel is as attached:
./qemu-system-aarch64 -m 4G,slots=4,maxmem=8g \
-object memory-backend-ram,size=2G,id=m0 \
-object memory-backend-ram,size=2G,id=m1 \
-numa node,cpus=0-3,nodeid=0,memdev=m0 \
-numa node,nodeid=1,memdev=m1,initiator=0 \
-numa
hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-latency,latency=5
\
-numa
hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-bandwidth,bandwidth=200M
\
-numa
hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-latency,latency=10
\
-numa
hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-bandwidth,bandwidth=100M
\
-numa
hmat-cache,node-id=0,size=16K,level=1,associativity=direct,policy=write-back,line=8
\
-numa
hmat-cache,node-id=1,size=16K,level=1,associativity=direct,policy=write-back,line=8
\
-smp 4 \
-no-reboot \
-nographic \
-cpu host \
-machine virt,accel=kvm,gic-version=3,hmat=on \
-bios /home/cx/QEMU_EFI.fd \
-monitor unix:/home/cx/opt/qmp-test,server,nowait \
-kernel /home/cx/Image \
-device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=4 \
-drive file=/home/cx/opt/boot.img,if=none,id=drive0 \
-append "rdinit=init console=ttyAMA0 root=/dev/vda rootfstype=ext4 rw "
>
> Thanks,
> drew
>
>> Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
>> ---
>> hw/arm/Kconfig | 1 +
>> hw/arm/virt-acpi-build.c | 7 +++++++
>> 2 files changed, 8 insertions(+)
>>
>> diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
>> index 2e0049196d..a3c6099829 100644
>> --- a/hw/arm/Kconfig
>> +++ b/hw/arm/Kconfig
>> @@ -29,6 +29,7 @@ config ARM_VIRT
>> select ACPI_APEI
>> select ACPI_VIOT
>> select VIRTIO_MEM_SUPPORTED
>> + select ACPI_HMAT
>>
>> config CHEETAH
>> bool
>> diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
>> index 449fab0080..f19b55e486 100644
>> --- a/hw/arm/virt-acpi-build.c
>> +++ b/hw/arm/virt-acpi-build.c
>> @@ -42,6 +42,7 @@
>> #include "hw/acpi/memory_hotplug.h"
>> #include "hw/acpi/generic_event_device.h"
>> #include "hw/acpi/tpm.h"
>> +#include "hw/acpi/hmat.h"
>> #include "hw/pci/pcie_host.h"
>> #include "hw/pci/pci.h"
>> #include "hw/pci/pci_bus.h"
>> @@ -990,6 +991,12 @@ void virt_acpi_build(VirtMachineState *vms, AcpiBuildTables *tables)
>> build_slit(tables_blob, tables->linker, ms, vms->oem_id,
>> vms->oem_table_id);
>> }
>> +
>> + if (ms->numa_state->hmat_enabled) {
>> + acpi_add_table(table_offsets, tables_blob);
>> + build_hmat(tables_blob, tables->linker, ms->numa_state,
>> + vms->oem_id, vms->oem_table_id);
>> + }
>> }
>>
>> if (ms->nvdimms_state->is_enabled) {
>> --
>> 2.33.0
>>
>>
> .
>
[-- Attachment #2: qemu_hmat_enabled.txt --]
[-- Type: text/plain, Size: 24137 bytes --]
[root@centos build]# ./qemu-system-aarch64 -m 4G,slots=4,maxmem=8g -object memory-backend-ram,size=2G,id=m0 -object memory-backend-ram,size=2G,id=m1 -numa node,cpus=0-3,nodeid=0,memdev=m0 -numa node,nodeid=1,memdev=m1,initiator=0 -numa hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-latency,latency=5 -numa hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-bandwidth,bandwidth=200M -numa hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-latency,latency=10 -numa hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-bandwidth,bandwidth=100M -numa hmat-cache,node-id=0,size=16K,level=1,associativity=direct,policy=write-back,line=8 -numa hmat-cache,node-id=1,size=16K,level=1,associativity=direct,policy=write-back,line=8 -smp 4 -no-reboot -nographic -cpu host -machine virt,accel=kvm,gic-version=3,hmat=on -bios /home/cx/QEMU_EFI.fd -monitor unix:/home/cx/opt/qmp-test,server,nowait -kernel /home/cx/Image -device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=4 -drive file=/home/cx/opt/boot.img,if=none,id=drive0 -append "rdinit=init console=ttyAMA0 root=/dev/vda rootfstype=ext4 rw "
WARNING: Image format was not specified for '/home/cx/opt/boot.img' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable
EFI stub: Generating empty DTB
EFI stub: Exiting boot services...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x481fd010]
[ 0.000000] Linux version 5.16.0-rc1-15060-g07d132dd883a (chenxiang@plinth) (aarch64-linux-gnu-gcc (Linaro GCC 7.3-2018.05-rc1) 7.3.1 20180425 [linaro-7.3-2018.05-rc1 revision 38aec9a676236eaa42ca03ccb3a6c1dd0182c29f], GNU ld (Linaro_Binutils-2018.05-rc1) 2.28.2.20170706) #313 SMP PREEMPT Mon Jan 24 18:25:06 HKT 2022
[ 0.000000] efi: EFI v2.70 by EDK II
[ 0.000000] efi: SMBIOS 3.0=0xbf8e0000 MEMATTR=0xbc900018 ACPI 2.0=0xbc270000 MEMRESERVE=0xbc503f18
[ 0.000000] ACPI: Early table checksum verification disabled
[ 0.000000] ACPI: RSDP 0x00000000BC270000 000024 (v02 BOCHS )
[ 0.000000] ACPI: XSDT 0x00000000BC260000 000074 (v01 BOCHS BXPC 00000001 01000013)
[ 0.000000] ACPI: FACP 0x00000000BC210000 00010C (v05 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: DSDT 0x00000000BC220000 001A56 (v02 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: APIC 0x00000000BC200000 000198 (v03 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: PPTT 0x00000000BC1F0000 000088 (v02 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: GTDT 0x00000000BC1E0000 000060 (v02 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: MCFG 0x00000000BC1D0000 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: SPCR 0x00000000BC1C0000 000050 (v02 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: DBG2 0x00000000BC1B0000 000057 (v00 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: SRAT 0x00000000BC1A0000 0000F0 (v03 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: HMAT 0x00000000BC190000 000118 (v02 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: IORT 0x00000000BC180000 000080 (v03 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.000000] ACPI: SPCR: console: pl011,mmio,0x9000000,9600
[ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x40000000-0xbfffffff]
[ 0.000000] ACPI: SRAT: Node 1 PXM 1 [mem 0xc0000000-0x13fffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xbfffdb80-0xbfffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0x13f7f9b80-0x13f7fbfff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x000000013fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000bc27ffff]
[ 0.000000] node 0: [mem 0x00000000bc280000-0x00000000bc4fffff]
[ 0.000000] node 0: [mem 0x00000000bc500000-0x00000000bf7dffff]
[ 0.000000] node 0: [mem 0x00000000bf7e0000-0x00000000bf86ffff]
[ 0.000000] node 0: [mem 0x00000000bf870000-0x00000000bf87ffff]
[ 0.000000] node 0: [mem 0x00000000bf880000-0x00000000bf99ffff]
[ 0.000000] node 0: [mem 0x00000000bf9a0000-0x00000000bfffffff]
[ 0.000000] node 1: [mem 0x00000000c0000000-0x000000013fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 1 [mem 0x00000000c0000000-0x000000013fffffff]
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
[ 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: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] smccc: KVM: hypervisor services detected (0x00000000 0x00000000 0x00000000 0x00000003)
[ 0.000000] ACPI: NUMA: SRAT: PXM 0 -> MPIDR 0x0 -> Node 0
[ 0.000000] ACPI: NUMA: SRAT: PXM 0 -> MPIDR 0x1 -> Node 0
[ 0.000000] ACPI: NUMA: SRAT: PXM 0 -> MPIDR 0x2 -> Node 0
[ 0.000000] ACPI: NUMA: SRAT: PXM 0 -> MPIDR 0x3 -> Node 0
[ 0.000000] percpu: Embedded 20 pages/cpu s41304 r8192 d32424 u81920
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Hardware dirty bit management
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] Fallback order for Node 0: 0 1
[ 0.000000] Fallback order for Node 1: 1 0
[ 0.000000] Built 2 zonelists, mobility grouping on. Total pages: 1032192
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: rdinit=init console=ttyAMA0 root=/dev/vda rootfstype=ext4 rw
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
[ 0.000000] Memory: 3981968K/4194304K available (15232K kernel code, 3194K rwdata, 8500K rodata, 6400K init, 510K bss, 179568K reserved, 32768K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=2
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: 256 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000080a0000
[ 0.000000] ITS [mem 0x08080000-0x0809ffff]
[ 0.000000] ITS@0x0000000008080000: allocated 8192 Devices @40040000 (indirect, esz 8, psz 64K, shr 1)
[ 0.000000] ITS@0x0000000008080000: allocated 8192 Interrupt Collections @40050000 (flat, esz 8, psz 64K, shr 1)
[ 0.000000] GICv3: using LPI property table @0x0000000040060000
[ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000040070000
[ 0.000000] random: get_random_bytes called from start_kernel+0x484/0x674 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0x1ffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
[ 0.000000] sched_clock: 57 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
[ 0.000024] arm-pv: using stolen time PV
[ 0.000055] Console: colour dummy device 80x25
[ 0.000078] mempolicy: Enabling automatic NUMA balancing. Configure with numa_balancing= or the kernel.numa_balancing sysctl
[ 0.000089] ACPI: Core revision 20210930
[ 0.000131] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
[ 0.000134] pid_max: default: 32768 minimum: 301
[ 0.000156] LSM: Security Framework initializing
[ 0.002056] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, vmalloc)
[ 0.002296] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, vmalloc)
[ 0.002312] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, vmalloc)
[ 0.002322] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, vmalloc)
[ 0.003387] rcu: Hierarchical SRCU implementation.
[ 0.003430] Platform MSI: ITS@0x8080000 domain created
[ 0.003434] PCI/MSI: ITS@0x8080000 domain created
[ 0.003438] fsl-mc MSI: ITS@0x8080000 domain created
[ 0.003449] Remapping and enabling EFI services.
[ 0.003637] smp: Bringing up secondary CPUs ...
[ 0.035208] Detected VIPT I-cache on CPU1
[ 0.035225] GICv3: CPU1: found redistributor 1 region 0:0x00000000080c0000
[ 0.035284] GICv3: CPU1: using allocated LPI pending table @0x0000000040080000
[ 0.035323] CPU1: Booted secondary processor 0x0000000001 [0x481fd010]
[ 0.066972] Detected VIPT I-cache on CPU2
[ 0.066989] GICv3: CPU2: found redistributor 2 region 0:0x00000000080e0000
[ 0.067043] GICv3: CPU2: using allocated LPI pending table @0x0000000040090000
[ 0.067080] CPU2: Booted secondary processor 0x0000000002 [0x481fd010]
[ 0.098706] Detected VIPT I-cache on CPU3
[ 0.098722] GICv3: CPU3: found redistributor 3 region 0:0x0000000008100000
[ 0.098773] GICv3: CPU3: using allocated LPI pending table @0x00000000400a0000
[ 0.098807] CPU3: Booted secondary processor 0x0000000003 [0x481fd010]
[ 0.098879] smp: Brought up 2 nodes, 4 CPUs
[ 0.098888] SMP: Total of 4 processors activated.
[ 0.098891] CPU features: detected: Common not Private translations
[ 0.098892] CPU features: detected: CRC32 instructions
[ 0.098894] CPU features: detected: LSE atomic instructions
[ 0.098895] CPU features: detected: Privileged Access Never
[ 0.098897] CPU features: detected: RAS Extension Support
[ 0.131862] CPU: All CPU(s) started at EL1
[ 0.131889] alternatives: patching kernel code
[ 0.133273] devtmpfs: initialized
[ 0.134173] KASLR disabled due to lack of seed
[ 0.134215] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.134225] futex hash table entries: 1024 (order: 4, 65536 bytes, vmalloc)
[ 0.134396] pinctrl core: initialized pinctrl subsystem
[ 0.134596] SMBIOS 3.0.0 present.
[ 0.134600] DMI: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
[ 0.135441] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.136531] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.136641] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.136754] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.136766] audit: initializing netlink subsys (disabled)
[ 0.136831] audit: type=2000 audit(0.136:1): state=initialized audit_enabled=0 res=1
[ 0.137049] thermal_sys: Registered thermal governor 'step_wise'
[ 0.137053] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.137077] cpuidle: using governor menu
[ 0.137129] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.137205] ASID allocator initialised with 32768 entries
[ 0.137340] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.137426] Serial: AMBA PL011 UART driver
[ 0.139272] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.139277] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.139279] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.139281] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.139682] ACPI: Added _OSI(Module Device)
[ 0.139685] ACPI: Added _OSI(Processor Device)
[ 0.139687] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.139688] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.139690] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.139692] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.139694] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 0.140449] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 0.140848] ACPI: Interpreter enabled
[ 0.140850] ACPI: Using GIC for interrupt routing
[ 0.140859] ACPI: MCFG table detected, 1 entries
[ 0.143497] ARMH0011:00: ttyAMA0 at MMIO 0x9000000 (irq = 12, base_baud = 0) is a SBSA
[ 0.243277] printk: console [ttyAMA0] enabled
[ 0.245190] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 0.245828] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[ 0.246773] acpi PNP0A08:00: _OSC: platform does not support [LTR]
[ 0.247480] acpi PNP0A08:00: _OSC: OS now controls [PME PCIeCapability]
[ 0.248326] acpi PNP0A08:00: ECAM area [mem 0x4010000000-0x401fffffff] reserved by PNP0C02:00
[ 0.249188] acpi PNP0A08:00: ECAM at [mem 0x4010000000-0x401fffffff] for [bus 00-ff]
[ 0.249954] ACPI: Remapped I/O 0x000000003eff0000 to [io 0x0000-0xffff window]
[ 0.250725] PCI host bridge to bus 0000:00
[ 0.251138] pci_bus 0000:00: Unknown NUMA node; performance will be reduced
[ 0.251879] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff window]
[ 0.252612] pci_bus 0000:00: root bus resource [io 0x0000-0xffff window]
[ 0.253287] pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff window]
[ 0.254065] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.254647] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
[ 0.255471] pci 0000:00:01.0: [1af4:1000] type 00 class 0x020000
[ 0.256152] pci 0000:00:01.0: reg 0x10: [io 0x0080-0x009f]
[ 0.256716] pci 0000:00:01.0: reg 0x14: [mem 0x10041000-0x10041fff]
[ 0.257381] pci 0000:00:01.0: reg 0x20: [mem 0x8000000000-0x8000003fff 64bit pref]
[ 0.258129] pci 0000:00:01.0: reg 0x30: [mem 0xfffc0000-0xffffffff pref]
[ 0.259035] pci 0000:00:02.0: [1af4:1001] type 00 class 0x010000
[ 0.259669] pci 0000:00:02.0: reg 0x10: [io 0x0000-0x007f]
[ 0.260259] pci 0000:00:02.0: reg 0x14: [mem 0x10040000-0x10040fff]
[ 0.260922] pci 0000:00:02.0: reg 0x20: [mem 0x8000004000-0x8000007fff 64bit pref]
[ 0.261945] pci 0000:00:01.0: BAR 6: assigned [mem 0x10000000-0x1003ffff pref]
[ 0.262650] pci 0000:00:01.0: BAR 4: assigned [mem 0x8000000000-0x8000003fff 64bit pref]
[ 0.263486] pci 0000:00:02.0: BAR 4: assigned [mem 0x8000004000-0x8000007fff 64bit pref]
[ 0.264337] pci 0000:00:01.0: BAR 1: assigned [mem 0x10040000-0x10040fff]
[ 0.265025] pci 0000:00:02.0: BAR 1: assigned [mem 0x10041000-0x10041fff]
[ 0.265700] pci 0000:00:02.0: BAR 0: assigned [io 0x1000-0x107f]
[ 0.266313] pci 0000:00:01.0: BAR 0: assigned [io 0x1080-0x109f]
[ 0.266916] pci_bus 0000:00: resource 4 [mem 0x10000000-0x3efeffff window]
[ 0.267596] pci_bus 0000:00: resource 5 [io 0x0000-0xffff window]
[ 0.268214] pci_bus 0000:00: resource 6 [mem 0x8000000000-0xffffffffff window]
[ 0.269002] ACPI: PCI: Interrupt link GSI0 configured for IRQ 35
[ 0.269610] ACPI: PCI: Interrupt link GSI1 configured for IRQ 36
[ 0.270215] ACPI: PCI: Interrupt link GSI2 configured for IRQ 37
[ 0.270816] ACPI: PCI: Interrupt link GSI3 configured for IRQ 38
[ 0.271960] iommu: Default domain type: Translated
[ 0.272452] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.273127] vgaarb: loaded
[ 0.273466] SCSI subsystem initialized
[ 0.273926] ACPI: bus type USB registered
[ 0.274352] usbcore: registered new interface driver usbfs
[ 0.274902] usbcore: registered new interface driver hub
[ 0.275439] usbcore: registered new device driver usb
[ 0.276053] pps_core: LinuxPPS API ver. 1 registered
[ 0.276555] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.277519] PTP clock support registered
[ 0.277939] EDAC MC: Ver: 3.0.0
[ 0.278432] Registered efivars operations
[ 0.279090] FPGA manager framework
[ 0.279462] Advanced Linux Sound Architecture Driver Initialized.
[ 0.280312] clocksource: Switched to clocksource arch_sys_counter
[ 0.280962] VFS: Disk quotas dquot_6.6.0
[ 0.281364] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.282169] pnp: PnP ACPI init
[ 0.282572] system 00:00: [mem 0x4010000000-0x401fffffff window] could not be reserved
[ 0.283496] pnp: PnP ACPI: found 1 devices
[ 0.286221] NET: Registered PF_INET protocol family
[ 0.287496] IP idents hash table entries: 65536 (order: 7, 524288 bytes, vmalloc)
[ 0.288927] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, vmalloc)
[ 0.289868] TCP established hash table entries: 32768 (order: 6, 262144 bytes, vmalloc)
[ 0.290730] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, vmalloc)
[ 0.291539] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.292234] UDP hash table entries: 2048 (order: 4, 65536 bytes, vmalloc)
[ 0.292983] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, vmalloc)
[ 0.293758] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.294465] RPC: Registered named UNIX socket transport module.
[ 0.295073] RPC: Registered udp transport module.
[ 0.295551] RPC: Registered tcp transport module.
[ 0.296028] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.296741] PCI: CLS 0 bytes, default 64
[ 0.297549] hw perfevents: enabled with armv8_pmuv3_0 PMU driver, 13 counters available
[ 0.298395] kvm [1]: HYP mode not available
[ 0.299029] Initialise system trusted keyrings
[ 0.299611] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[ 0.301366] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.302116] NFS: Registering the id_resolver key type
[ 0.302628] Key type id_resolver registered
[ 0.303042] Key type id_legacy registered
[ 0.303452] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.304124] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 0.304947] 9p: Installing v9fs 9p2000 file system support
[ 0.318134] Key type asymmetric registered
[ 0.318559] Asymmetric key parser 'x509' registered
[ 0.319074] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.319813] io scheduler mq-deadline registered
[ 0.320261] io scheduler kyber registered
[ 0.322502] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[ 0.323409] ACPI: button: Power Button [PWRB]
[ 0.324032] acpi/hmat: HMAT: Memory Flags:0001 Processor Domain:0 Memory Domain:0
[ 0.324842] acpi/hmat: HMAT: Memory Flags:0001 Processor Domain:0 Memory Domain:1
[ 0.325594] acpi/hmat: HMAT: Locality: Flags:00 Type:Access Latency Initiator Domains:1 Target Domains:2 Base:1000
[ 0.326632] acpi/hmat: Initiator-Target[0-0]:5 nsec
[ 0.327138] acpi/hmat: Initiator-Target[0-1]:10 nsec
[ 0.327654] acpi/hmat: HMAT: Locality: Flags:00 Type:Access Bandwidth Initiator Domains:1 Target Domains:2 Base:4
[ 0.328723] acpi/hmat: Initiator-Target[0-0]:200 MB/s
[ 0.329250] acpi/hmat: Initiator-Target[0-1]:100 MB/s
[ 0.329775] acpi/hmat: HMAT: Cache: Domain:0 Size:16384 Attrs:00081111 SMBIOS Handles:0
[ 0.330571] acpi/hmat: HMAT: Cache: Domain:1 Size:16384 Attrs:00081111 SMBIOS Handles:0
[ 0.331465] EINJ: EINJ table not found.
[ 0.353784] ACPI: \_SB_.PCI0.GSI1: Enabled at IRQ 36
[ 0.354302] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003)
[ 0.356628] ACPI: \_SB_.PCI0.GSI2: Enabled at IRQ 37
[ 0.357144] virtio-pci 0000:00:02.0: enabling device (0000 -> 0003)
[ 0.360324] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.361517] SuperH (H)SCI(F) driver initialized
[ 0.362039] msm_serial: driver initialized
[ 0.363963] loop: module loaded
[ 0.366347] virtio_blk virtio1: [vda] 2048000 512-byte logical blocks (1.05 GB/1000 MiB)
[ 0.373081] megasas: 07.719.03.00-rc1
[ 0.373787] SPI driver mtd_dataflash has no spi_device_id for atmel,at45
[ 0.374469] SPI driver mtd_dataflash has no spi_device_id for atmel,dataflash
[ 0.375632] libphy: Fixed MDIO Bus: probed
[ 0.376408] tun: Universal TUN/TAP device driver, 1.6
[ 0.379161] thunder_xcv, ver 1.0
[ 0.379528] thunder_bgx, ver 1.0
[ 0.379867] nicpf, ver 1.0
[ 0.380419] hclge is initializing
[ 0.380781] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 0.381501] hns3: Copyright (c) 2017 Huawei Corporation.
[ 0.382051] e1000: Intel(R) PRO/1000 Network Driver
[ 0.382543] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 0.383138] e1000e: Intel(R) PRO/1000 Network Driver
[ 0.383645] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 0.384267] igb: Intel(R) Gigabit Ethernet Network Driver
[ 0.384868] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 0.385440] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 0.386078] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 0.386759] sky2: driver version 1.30
[ 0.387334] VFIO - User Level meta-driver version: 0.3
[ 0.388264] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.389022] ehci-pci: EHCI PCI platform driver
[ 0.389511] ehci-platform: EHCI generic platform driver
[ 0.390083] ehci-orion: EHCI orion driver
[ 0.390511] ehci-exynos: EHCI Exynos driver
[ 0.390961] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.391594] ohci-pci: OHCI PCI platform driver
[ 0.392077] ohci-platform: OHCI generic platform driver
[ 0.392666] ohci-exynos: OHCI Exynos driver
[ 0.393184] usbcore: registered new interface driver usb-storage
[ 0.394317] rtc-efi rtc-efi.0: registered as rtc0
[ 0.394835] rtc-efi rtc-efi.0: setting system clock to 2022-01-25T09:01:04 UTC (1643101264)
[ 0.395799] i2c_dev: i2c /dev entries driver
[ 0.397242] sdhci: Secure Digital Host Controller Interface driver
[ 0.397886] sdhci: Copyright(c) Pierre Ossman
[ 0.398415] SPI driver mmc_spi has no spi_device_id for mmc-spi-slot
[ 0.399114] Synopsys Designware Multimedia Card Interface Driver
[ 0.399873] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.400743] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.401925] pstore: Registered efi as persistent store backend
[ 0.402887] usbcore: registered new interface driver usbhid
[ 0.403462] usbhid: USB HID core driver
[ 0.404875] NET: Registered PF_PACKET protocol family
[ 0.405654] 9pnet: Installing 9P2000 support
[ 0.406107] Key type dns_resolver registered
[ 0.406633] Loading compiled-in X.509 certificates
[ 0.407366] pstore: Using crash dump compression: deflate
[ 0.409759] ALSA device list:
[ 0.410077] No soundcards found.
[ 0.411868] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 0.412879] VFS: Mounted root (ext4 filesystem) on device 254:0.
[ 0.413619] devtmpfs: mounted
[ 0.414915] Freeing unused kernel memory: 6400K
[ 0.428450] Run /sbin/init as init process
Starting rcS...
++ Mounting filesystem
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hw/arm/virt: Enable HMAT on arm virt machine
2022-01-25 11:46 ` chenxiang (M) via
@ 2022-01-25 12:46 ` Andrew Jones
2022-01-26 6:16 ` chenxiang (M) via
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Jones @ 2022-01-25 12:46 UTC (permalink / raw)
To: chenxiang (M)
Cc: peter.maydell, linuxarm, chenxiang via, shannon.zhaosl, qemu-arm,
imammedo
On Tue, Jan 25, 2022 at 07:46:43PM +0800, chenxiang (M) wrote:
> Hi Andrew,
>
>
> 在 2022/1/25 18:26, Andrew Jones 写道:
> > On Tue, Jan 25, 2022 at 05:15:34PM +0800, chenxiang via wrote:
> > > From: Xiang Chen <chenxiang66@hisilicon.com>
> > >
> > > Since the patchset ("Build ACPI Heterogeneous Memory Attribute Table (HMAT)"),
> > > HMAT is supported, but only x86 is enabled. Enable HMAT on arm virt machine.
> > Hi Xiang,
> >
> > What QEMU commands lines have you tested with which Linux guest kernels?
>
> I tested it with following commands with guest kernel 5.16-rc1, and the boot
> log of guest kernel is as attached:
Thanks. Please consider adding HMAT tests, see tests/qtest/numa-test.c and
tests/qtest/bios-tables-test.c, for the virt machine type to this series.
Otherwise,
Reviewed-by: Andrew Jones <drjones@redhat.com>
Thanks,
drew
>
> ./qemu-system-aarch64 -m 4G,slots=4,maxmem=8g \
> -object memory-backend-ram,size=2G,id=m0 \
> -object memory-backend-ram,size=2G,id=m1 \
> -numa node,cpus=0-3,nodeid=0,memdev=m0 \
> -numa node,nodeid=1,memdev=m1,initiator=0 \
> -numa hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-latency,latency=5
> \
> -numa hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-bandwidth,bandwidth=200M
> \
> -numa hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-latency,latency=10
> \
> -numa hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-bandwidth,bandwidth=100M
> \
> -numa hmat-cache,node-id=0,size=16K,level=1,associativity=direct,policy=write-back,line=8
> \
> -numa hmat-cache,node-id=1,size=16K,level=1,associativity=direct,policy=write-back,line=8
> \
> -smp 4 \
> -no-reboot \
> -nographic \
> -cpu host \
> -machine virt,accel=kvm,gic-version=3,hmat=on \
> -bios /home/cx/QEMU_EFI.fd \
> -monitor unix:/home/cx/opt/qmp-test,server,nowait \
> -kernel /home/cx/Image \
> -device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=4 \
> -drive file=/home/cx/opt/boot.img,if=none,id=drive0 \
> -append "rdinit=init console=ttyAMA0 root=/dev/vda rootfstype=ext4 rw "
>
>
> >
> > Thanks,
> > drew
> >
> > > Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
> > > ---
> > > hw/arm/Kconfig | 1 +
> > > hw/arm/virt-acpi-build.c | 7 +++++++
> > > 2 files changed, 8 insertions(+)
> > >
> > > diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
> > > index 2e0049196d..a3c6099829 100644
> > > --- a/hw/arm/Kconfig
> > > +++ b/hw/arm/Kconfig
> > > @@ -29,6 +29,7 @@ config ARM_VIRT
> > > select ACPI_APEI
> > > select ACPI_VIOT
> > > select VIRTIO_MEM_SUPPORTED
> > > + select ACPI_HMAT
> > > config CHEETAH
> > > bool
> > > diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
> > > index 449fab0080..f19b55e486 100644
> > > --- a/hw/arm/virt-acpi-build.c
> > > +++ b/hw/arm/virt-acpi-build.c
> > > @@ -42,6 +42,7 @@
> > > #include "hw/acpi/memory_hotplug.h"
> > > #include "hw/acpi/generic_event_device.h"
> > > #include "hw/acpi/tpm.h"
> > > +#include "hw/acpi/hmat.h"
> > > #include "hw/pci/pcie_host.h"
> > > #include "hw/pci/pci.h"
> > > #include "hw/pci/pci_bus.h"
> > > @@ -990,6 +991,12 @@ void virt_acpi_build(VirtMachineState *vms, AcpiBuildTables *tables)
> > > build_slit(tables_blob, tables->linker, ms, vms->oem_id,
> > > vms->oem_table_id);
> > > }
> > > +
> > > + if (ms->numa_state->hmat_enabled) {
> > > + acpi_add_table(table_offsets, tables_blob);
> > > + build_hmat(tables_blob, tables->linker, ms->numa_state,
> > > + vms->oem_id, vms->oem_table_id);
> > > + }
> > > }
> > > if (ms->nvdimms_state->is_enabled) {
> > > --
> > > 2.33.0
> > >
> > >
> > .
> >
>
> [root@centos build]# ./qemu-system-aarch64 -m 4G,slots=4,maxmem=8g -object memory-backend-ram,size=2G,id=m0 -object memory-backend-ram,size=2G,id=m1 -numa node,cpus=0-3,nodeid=0,memdev=m0 -numa node,nodeid=1,memdev=m1,initiator=0 -numa hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-latency,latency=5 -numa hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-bandwidth,bandwidth=200M -numa hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-latency,latency=10 -numa hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-bandwidth,bandwidth=100M -numa hmat-cache,node-id=0,size=16K,level=1,associativity=direct,policy=write-back,line=8 -numa hmat-cache,node-id=1,size=16K,level=1,associativity=direct,policy=write-back,line=8 -smp 4 -no-reboot -nographic -cpu host -machine virt,accel=kvm,gic-version=3,hmat=on -bios /home/cx/QEMU_EFI.fd -monitor unix:/home/cx/opt/qmp-test,server,nowait -kernel /home/cx/Image -device virtio-blk-pci,drive=drive0,id=virtblk0,num-queues=4 -drive file=/home/cx/opt/boot.img,if=none,id=drive0 -append "rdinit=init console=ttyAMA0 root=/dev/vda rootfstype=ext4 rw "
> WARNING: Image format was not specified for '/home/cx/opt/boot.img' and probing guessed raw.
> Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
> Specify the 'raw' format explicitly to remove the restrictions.
> EFI stub: Booting Linux Kernel...
> EFI stub: EFI_RNG_PROTOCOL unavailable
> EFI stub: Generating empty DTB
> EFI stub: Exiting boot services...
> [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x481fd010]
> [ 0.000000] Linux version 5.16.0-rc1-15060-g07d132dd883a (chenxiang@plinth) (aarch64-linux-gnu-gcc (Linaro GCC 7.3-2018.05-rc1) 7.3.1 20180425 [linaro-7.3-2018.05-rc1 revision 38aec9a676236eaa42ca03ccb3a6c1dd0182c29f], GNU ld (Linaro_Binutils-2018.05-rc1) 2.28.2.20170706) #313 SMP PREEMPT Mon Jan 24 18:25:06 HKT 2022
> [ 0.000000] efi: EFI v2.70 by EDK II
> [ 0.000000] efi: SMBIOS 3.0=0xbf8e0000 MEMATTR=0xbc900018 ACPI 2.0=0xbc270000 MEMRESERVE=0xbc503f18
> [ 0.000000] ACPI: Early table checksum verification disabled
> [ 0.000000] ACPI: RSDP 0x00000000BC270000 000024 (v02 BOCHS )
> [ 0.000000] ACPI: XSDT 0x00000000BC260000 000074 (v01 BOCHS BXPC 00000001 01000013)
> [ 0.000000] ACPI: FACP 0x00000000BC210000 00010C (v05 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: DSDT 0x00000000BC220000 001A56 (v02 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: APIC 0x00000000BC200000 000198 (v03 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: PPTT 0x00000000BC1F0000 000088 (v02 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: GTDT 0x00000000BC1E0000 000060 (v02 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: MCFG 0x00000000BC1D0000 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: SPCR 0x00000000BC1C0000 000050 (v02 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: DBG2 0x00000000BC1B0000 000057 (v00 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: SRAT 0x00000000BC1A0000 0000F0 (v03 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: HMAT 0x00000000BC190000 000118 (v02 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: IORT 0x00000000BC180000 000080 (v03 BOCHS BXPC 00000001 BXPC 00000001)
> [ 0.000000] ACPI: SPCR: console: pl011,mmio,0x9000000,9600
> [ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x40000000-0xbfffffff]
> [ 0.000000] ACPI: SRAT: Node 1 PXM 1 [mem 0xc0000000-0x13fffffff]
> [ 0.000000] NUMA: NODE_DATA [mem 0xbfffdb80-0xbfffffff]
> [ 0.000000] NUMA: NODE_DATA [mem 0x13f7f9b80-0x13f7fbfff]
> [ 0.000000] Zone ranges:
> [ 0.000000] DMA [mem 0x0000000040000000-0x00000000ffffffff]
> [ 0.000000] DMA32 empty
> [ 0.000000] Normal [mem 0x0000000100000000-0x000000013fffffff]
> [ 0.000000] Movable zone start for each node
> [ 0.000000] Early memory node ranges
> [ 0.000000] node 0: [mem 0x0000000040000000-0x00000000bc27ffff]
> [ 0.000000] node 0: [mem 0x00000000bc280000-0x00000000bc4fffff]
> [ 0.000000] node 0: [mem 0x00000000bc500000-0x00000000bf7dffff]
> [ 0.000000] node 0: [mem 0x00000000bf7e0000-0x00000000bf86ffff]
> [ 0.000000] node 0: [mem 0x00000000bf870000-0x00000000bf87ffff]
> [ 0.000000] node 0: [mem 0x00000000bf880000-0x00000000bf99ffff]
> [ 0.000000] node 0: [mem 0x00000000bf9a0000-0x00000000bfffffff]
> [ 0.000000] node 1: [mem 0x00000000c0000000-0x000000013fffffff]
> [ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
> [ 0.000000] Initmem setup node 1 [mem 0x00000000c0000000-0x000000013fffffff]
> [ 0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
> [ 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: Trusted OS migration not required
> [ 0.000000] psci: SMC Calling Convention v1.1
> [ 0.000000] smccc: KVM: hypervisor services detected (0x00000000 0x00000000 0x00000000 0x00000003)
> [ 0.000000] ACPI: NUMA: SRAT: PXM 0 -> MPIDR 0x0 -> Node 0
> [ 0.000000] ACPI: NUMA: SRAT: PXM 0 -> MPIDR 0x1 -> Node 0
> [ 0.000000] ACPI: NUMA: SRAT: PXM 0 -> MPIDR 0x2 -> Node 0
> [ 0.000000] ACPI: NUMA: SRAT: PXM 0 -> MPIDR 0x3 -> Node 0
> [ 0.000000] percpu: Embedded 20 pages/cpu s41304 r8192 d32424 u81920
> [ 0.000000] Detected VIPT I-cache on CPU0
> [ 0.000000] CPU features: detected: GIC system register CPU interface
> [ 0.000000] CPU features: detected: Hardware dirty bit management
> [ 0.000000] CPU features: detected: Spectre-v4
> [ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
> [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
> [ 0.000000] Fallback order for Node 0: 0 1
> [ 0.000000] Fallback order for Node 1: 1 0
> [ 0.000000] Built 2 zonelists, mobility grouping on. Total pages: 1032192
> [ 0.000000] Policy zone: Normal
> [ 0.000000] Kernel command line: rdinit=init console=ttyAMA0 root=/dev/vda rootfstype=ext4 rw
> [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
> [ 0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
> [ 0.000000] Memory: 3981968K/4194304K available (15232K kernel code, 3194K rwdata, 8500K rodata, 6400K init, 510K bss, 179568K reserved, 32768K cma-reserved)
> [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=2
> [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
> [ 0.000000] rcu: RCU event tracing is enabled.
> [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
> [ 0.000000] Trampoline variant of Tasks RCU enabled.
> [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
> [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
> [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
> [ 0.000000] GICv3: 256 SPIs implemented
> [ 0.000000] GICv3: 0 Extended SPIs implemented
> [ 0.000000] GICv3: Distributor has no Range Selector support
> [ 0.000000] Root IRQ handler: gic_handle_irq
> [ 0.000000] GICv3: 16 PPIs implemented
> [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000080a0000
> [ 0.000000] ITS [mem 0x08080000-0x0809ffff]
> [ 0.000000] ITS@0x0000000008080000: allocated 8192 Devices @40040000 (indirect, esz 8, psz 64K, shr 1)
> [ 0.000000] ITS@0x0000000008080000: allocated 8192 Interrupt Collections @40050000 (flat, esz 8, psz 64K, shr 1)
> [ 0.000000] GICv3: using LPI property table @0x0000000040060000
> [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000040070000
> [ 0.000000] random: get_random_bytes called from start_kernel+0x484/0x674 with crng_init=0
> [ 0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (virt).
> [ 0.000000] clocksource: arch_sys_counter: mask: 0x1ffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
> [ 0.000000] sched_clock: 57 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
> [ 0.000024] arm-pv: using stolen time PV
> [ 0.000055] Console: colour dummy device 80x25
> [ 0.000078] mempolicy: Enabling automatic NUMA balancing. Configure with numa_balancing= or the kernel.numa_balancing sysctl
> [ 0.000089] ACPI: Core revision 20210930
> [ 0.000131] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
> [ 0.000134] pid_max: default: 32768 minimum: 301
> [ 0.000156] LSM: Security Framework initializing
> [ 0.002056] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, vmalloc)
> [ 0.002296] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, vmalloc)
> [ 0.002312] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, vmalloc)
> [ 0.002322] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, vmalloc)
> [ 0.003387] rcu: Hierarchical SRCU implementation.
> [ 0.003430] Platform MSI: ITS@0x8080000 domain created
> [ 0.003434] PCI/MSI: ITS@0x8080000 domain created
> [ 0.003438] fsl-mc MSI: ITS@0x8080000 domain created
> [ 0.003449] Remapping and enabling EFI services.
> [ 0.003637] smp: Bringing up secondary CPUs ...
> [ 0.035208] Detected VIPT I-cache on CPU1
> [ 0.035225] GICv3: CPU1: found redistributor 1 region 0:0x00000000080c0000
> [ 0.035284] GICv3: CPU1: using allocated LPI pending table @0x0000000040080000
> [ 0.035323] CPU1: Booted secondary processor 0x0000000001 [0x481fd010]
> [ 0.066972] Detected VIPT I-cache on CPU2
> [ 0.066989] GICv3: CPU2: found redistributor 2 region 0:0x00000000080e0000
> [ 0.067043] GICv3: CPU2: using allocated LPI pending table @0x0000000040090000
> [ 0.067080] CPU2: Booted secondary processor 0x0000000002 [0x481fd010]
> [ 0.098706] Detected VIPT I-cache on CPU3
> [ 0.098722] GICv3: CPU3: found redistributor 3 region 0:0x0000000008100000
> [ 0.098773] GICv3: CPU3: using allocated LPI pending table @0x00000000400a0000
> [ 0.098807] CPU3: Booted secondary processor 0x0000000003 [0x481fd010]
> [ 0.098879] smp: Brought up 2 nodes, 4 CPUs
> [ 0.098888] SMP: Total of 4 processors activated.
> [ 0.098891] CPU features: detected: Common not Private translations
> [ 0.098892] CPU features: detected: CRC32 instructions
> [ 0.098894] CPU features: detected: LSE atomic instructions
> [ 0.098895] CPU features: detected: Privileged Access Never
> [ 0.098897] CPU features: detected: RAS Extension Support
> [ 0.131862] CPU: All CPU(s) started at EL1
> [ 0.131889] alternatives: patching kernel code
> [ 0.133273] devtmpfs: initialized
> [ 0.134173] KASLR disabled due to lack of seed
> [ 0.134215] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
> [ 0.134225] futex hash table entries: 1024 (order: 4, 65536 bytes, vmalloc)
> [ 0.134396] pinctrl core: initialized pinctrl subsystem
> [ 0.134596] SMBIOS 3.0.0 present.
> [ 0.134600] DMI: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
> [ 0.135441] NET: Registered PF_NETLINK/PF_ROUTE protocol family
> [ 0.136531] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
> [ 0.136641] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
> [ 0.136754] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
> [ 0.136766] audit: initializing netlink subsys (disabled)
> [ 0.136831] audit: type=2000 audit(0.136:1): state=initialized audit_enabled=0 res=1
> [ 0.137049] thermal_sys: Registered thermal governor 'step_wise'
> [ 0.137053] thermal_sys: Registered thermal governor 'power_allocator'
> [ 0.137077] cpuidle: using governor menu
> [ 0.137129] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
> [ 0.137205] ASID allocator initialised with 32768 entries
> [ 0.137340] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
> [ 0.137426] Serial: AMBA PL011 UART driver
> [ 0.139272] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
> [ 0.139277] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
> [ 0.139279] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
> [ 0.139281] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
> [ 0.139682] ACPI: Added _OSI(Module Device)
> [ 0.139685] ACPI: Added _OSI(Processor Device)
> [ 0.139687] ACPI: Added _OSI(3.0 _SCP Extensions)
> [ 0.139688] ACPI: Added _OSI(Processor Aggregator Device)
> [ 0.139690] ACPI: Added _OSI(Linux-Dell-Video)
> [ 0.139692] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
> [ 0.139694] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
> [ 0.140449] ACPI: 1 ACPI AML tables successfully acquired and loaded
> [ 0.140848] ACPI: Interpreter enabled
> [ 0.140850] ACPI: Using GIC for interrupt routing
> [ 0.140859] ACPI: MCFG table detected, 1 entries
> [ 0.143497] ARMH0011:00: ttyAMA0 at MMIO 0x9000000 (irq = 12, base_baud = 0) is a SBSA
> [ 0.243277] printk: console [ttyAMA0] enabled
> [ 0.245190] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
> [ 0.245828] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
> [ 0.246773] acpi PNP0A08:00: _OSC: platform does not support [LTR]
> [ 0.247480] acpi PNP0A08:00: _OSC: OS now controls [PME PCIeCapability]
> [ 0.248326] acpi PNP0A08:00: ECAM area [mem 0x4010000000-0x401fffffff] reserved by PNP0C02:00
> [ 0.249188] acpi PNP0A08:00: ECAM at [mem 0x4010000000-0x401fffffff] for [bus 00-ff]
> [ 0.249954] ACPI: Remapped I/O 0x000000003eff0000 to [io 0x0000-0xffff window]
> [ 0.250725] PCI host bridge to bus 0000:00
> [ 0.251138] pci_bus 0000:00: Unknown NUMA node; performance will be reduced
> [ 0.251879] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff window]
> [ 0.252612] pci_bus 0000:00: root bus resource [io 0x0000-0xffff window]
> [ 0.253287] pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff window]
> [ 0.254065] pci_bus 0000:00: root bus resource [bus 00-ff]
> [ 0.254647] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
> [ 0.255471] pci 0000:00:01.0: [1af4:1000] type 00 class 0x020000
> [ 0.256152] pci 0000:00:01.0: reg 0x10: [io 0x0080-0x009f]
> [ 0.256716] pci 0000:00:01.0: reg 0x14: [mem 0x10041000-0x10041fff]
> [ 0.257381] pci 0000:00:01.0: reg 0x20: [mem 0x8000000000-0x8000003fff 64bit pref]
> [ 0.258129] pci 0000:00:01.0: reg 0x30: [mem 0xfffc0000-0xffffffff pref]
> [ 0.259035] pci 0000:00:02.0: [1af4:1001] type 00 class 0x010000
> [ 0.259669] pci 0000:00:02.0: reg 0x10: [io 0x0000-0x007f]
> [ 0.260259] pci 0000:00:02.0: reg 0x14: [mem 0x10040000-0x10040fff]
> [ 0.260922] pci 0000:00:02.0: reg 0x20: [mem 0x8000004000-0x8000007fff 64bit pref]
> [ 0.261945] pci 0000:00:01.0: BAR 6: assigned [mem 0x10000000-0x1003ffff pref]
> [ 0.262650] pci 0000:00:01.0: BAR 4: assigned [mem 0x8000000000-0x8000003fff 64bit pref]
> [ 0.263486] pci 0000:00:02.0: BAR 4: assigned [mem 0x8000004000-0x8000007fff 64bit pref]
> [ 0.264337] pci 0000:00:01.0: BAR 1: assigned [mem 0x10040000-0x10040fff]
> [ 0.265025] pci 0000:00:02.0: BAR 1: assigned [mem 0x10041000-0x10041fff]
> [ 0.265700] pci 0000:00:02.0: BAR 0: assigned [io 0x1000-0x107f]
> [ 0.266313] pci 0000:00:01.0: BAR 0: assigned [io 0x1080-0x109f]
> [ 0.266916] pci_bus 0000:00: resource 4 [mem 0x10000000-0x3efeffff window]
> [ 0.267596] pci_bus 0000:00: resource 5 [io 0x0000-0xffff window]
> [ 0.268214] pci_bus 0000:00: resource 6 [mem 0x8000000000-0xffffffffff window]
> [ 0.269002] ACPI: PCI: Interrupt link GSI0 configured for IRQ 35
> [ 0.269610] ACPI: PCI: Interrupt link GSI1 configured for IRQ 36
> [ 0.270215] ACPI: PCI: Interrupt link GSI2 configured for IRQ 37
> [ 0.270816] ACPI: PCI: Interrupt link GSI3 configured for IRQ 38
> [ 0.271960] iommu: Default domain type: Translated
> [ 0.272452] iommu: DMA domain TLB invalidation policy: strict mode
> [ 0.273127] vgaarb: loaded
> [ 0.273466] SCSI subsystem initialized
> [ 0.273926] ACPI: bus type USB registered
> [ 0.274352] usbcore: registered new interface driver usbfs
> [ 0.274902] usbcore: registered new interface driver hub
> [ 0.275439] usbcore: registered new device driver usb
> [ 0.276053] pps_core: LinuxPPS API ver. 1 registered
> [ 0.276555] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
> [ 0.277519] PTP clock support registered
> [ 0.277939] EDAC MC: Ver: 3.0.0
> [ 0.278432] Registered efivars operations
> [ 0.279090] FPGA manager framework
> [ 0.279462] Advanced Linux Sound Architecture Driver Initialized.
> [ 0.280312] clocksource: Switched to clocksource arch_sys_counter
> [ 0.280962] VFS: Disk quotas dquot_6.6.0
> [ 0.281364] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> [ 0.282169] pnp: PnP ACPI init
> [ 0.282572] system 00:00: [mem 0x4010000000-0x401fffffff window] could not be reserved
> [ 0.283496] pnp: PnP ACPI: found 1 devices
> [ 0.286221] NET: Registered PF_INET protocol family
> [ 0.287496] IP idents hash table entries: 65536 (order: 7, 524288 bytes, vmalloc)
> [ 0.288927] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, vmalloc)
> [ 0.289868] TCP established hash table entries: 32768 (order: 6, 262144 bytes, vmalloc)
> [ 0.290730] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, vmalloc)
> [ 0.291539] TCP: Hash tables configured (established 32768 bind 32768)
> [ 0.292234] UDP hash table entries: 2048 (order: 4, 65536 bytes, vmalloc)
> [ 0.292983] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, vmalloc)
> [ 0.293758] NET: Registered PF_UNIX/PF_LOCAL protocol family
> [ 0.294465] RPC: Registered named UNIX socket transport module.
> [ 0.295073] RPC: Registered udp transport module.
> [ 0.295551] RPC: Registered tcp transport module.
> [ 0.296028] RPC: Registered tcp NFSv4.1 backchannel transport module.
> [ 0.296741] PCI: CLS 0 bytes, default 64
> [ 0.297549] hw perfevents: enabled with armv8_pmuv3_0 PMU driver, 13 counters available
> [ 0.298395] kvm [1]: HYP mode not available
> [ 0.299029] Initialise system trusted keyrings
> [ 0.299611] workingset: timestamp_bits=42 max_order=20 bucket_order=0
> [ 0.301366] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [ 0.302116] NFS: Registering the id_resolver key type
> [ 0.302628] Key type id_resolver registered
> [ 0.303042] Key type id_legacy registered
> [ 0.303452] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
> [ 0.304124] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
> [ 0.304947] 9p: Installing v9fs 9p2000 file system support
> [ 0.318134] Key type asymmetric registered
> [ 0.318559] Asymmetric key parser 'x509' registered
> [ 0.319074] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
> [ 0.319813] io scheduler mq-deadline registered
> [ 0.320261] io scheduler kyber registered
> [ 0.322502] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
> [ 0.323409] ACPI: button: Power Button [PWRB]
> [ 0.324032] acpi/hmat: HMAT: Memory Flags:0001 Processor Domain:0 Memory Domain:0
> [ 0.324842] acpi/hmat: HMAT: Memory Flags:0001 Processor Domain:0 Memory Domain:1
> [ 0.325594] acpi/hmat: HMAT: Locality: Flags:00 Type:Access Latency Initiator Domains:1 Target Domains:2 Base:1000
> [ 0.326632] acpi/hmat: Initiator-Target[0-0]:5 nsec
> [ 0.327138] acpi/hmat: Initiator-Target[0-1]:10 nsec
> [ 0.327654] acpi/hmat: HMAT: Locality: Flags:00 Type:Access Bandwidth Initiator Domains:1 Target Domains:2 Base:4
> [ 0.328723] acpi/hmat: Initiator-Target[0-0]:200 MB/s
> [ 0.329250] acpi/hmat: Initiator-Target[0-1]:100 MB/s
> [ 0.329775] acpi/hmat: HMAT: Cache: Domain:0 Size:16384 Attrs:00081111 SMBIOS Handles:0
> [ 0.330571] acpi/hmat: HMAT: Cache: Domain:1 Size:16384 Attrs:00081111 SMBIOS Handles:0
> [ 0.331465] EINJ: EINJ table not found.
> [ 0.353784] ACPI: \_SB_.PCI0.GSI1: Enabled at IRQ 36
> [ 0.354302] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003)
> [ 0.356628] ACPI: \_SB_.PCI0.GSI2: Enabled at IRQ 37
> [ 0.357144] virtio-pci 0000:00:02.0: enabling device (0000 -> 0003)
> [ 0.360324] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> [ 0.361517] SuperH (H)SCI(F) driver initialized
> [ 0.362039] msm_serial: driver initialized
> [ 0.363963] loop: module loaded
> [ 0.366347] virtio_blk virtio1: [vda] 2048000 512-byte logical blocks (1.05 GB/1000 MiB)
> [ 0.373081] megasas: 07.719.03.00-rc1
> [ 0.373787] SPI driver mtd_dataflash has no spi_device_id for atmel,at45
> [ 0.374469] SPI driver mtd_dataflash has no spi_device_id for atmel,dataflash
> [ 0.375632] libphy: Fixed MDIO Bus: probed
> [ 0.376408] tun: Universal TUN/TAP device driver, 1.6
> [ 0.379161] thunder_xcv, ver 1.0
> [ 0.379528] thunder_bgx, ver 1.0
> [ 0.379867] nicpf, ver 1.0
> [ 0.380419] hclge is initializing
> [ 0.380781] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
> [ 0.381501] hns3: Copyright (c) 2017 Huawei Corporation.
> [ 0.382051] e1000: Intel(R) PRO/1000 Network Driver
> [ 0.382543] e1000: Copyright (c) 1999-2006 Intel Corporation.
> [ 0.383138] e1000e: Intel(R) PRO/1000 Network Driver
> [ 0.383645] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
> [ 0.384267] igb: Intel(R) Gigabit Ethernet Network Driver
> [ 0.384868] igb: Copyright (c) 2007-2014 Intel Corporation.
> [ 0.385440] igbvf: Intel(R) Gigabit Virtual Function Network Driver
> [ 0.386078] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
> [ 0.386759] sky2: driver version 1.30
> [ 0.387334] VFIO - User Level meta-driver version: 0.3
> [ 0.388264] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [ 0.389022] ehci-pci: EHCI PCI platform driver
> [ 0.389511] ehci-platform: EHCI generic platform driver
> [ 0.390083] ehci-orion: EHCI orion driver
> [ 0.390511] ehci-exynos: EHCI Exynos driver
> [ 0.390961] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [ 0.391594] ohci-pci: OHCI PCI platform driver
> [ 0.392077] ohci-platform: OHCI generic platform driver
> [ 0.392666] ohci-exynos: OHCI Exynos driver
> [ 0.393184] usbcore: registered new interface driver usb-storage
> [ 0.394317] rtc-efi rtc-efi.0: registered as rtc0
> [ 0.394835] rtc-efi rtc-efi.0: setting system clock to 2022-01-25T09:01:04 UTC (1643101264)
> [ 0.395799] i2c_dev: i2c /dev entries driver
> [ 0.397242] sdhci: Secure Digital Host Controller Interface driver
> [ 0.397886] sdhci: Copyright(c) Pierre Ossman
> [ 0.398415] SPI driver mmc_spi has no spi_device_id for mmc-spi-slot
> [ 0.399114] Synopsys Designware Multimedia Card Interface Driver
> [ 0.399873] sdhci-pltfm: SDHCI platform and OF driver helper
> [ 0.400743] ledtrig-cpu: registered to indicate activity on CPUs
> [ 0.401925] pstore: Registered efi as persistent store backend
> [ 0.402887] usbcore: registered new interface driver usbhid
> [ 0.403462] usbhid: USB HID core driver
> [ 0.404875] NET: Registered PF_PACKET protocol family
> [ 0.405654] 9pnet: Installing 9P2000 support
> [ 0.406107] Key type dns_resolver registered
> [ 0.406633] Loading compiled-in X.509 certificates
> [ 0.407366] pstore: Using crash dump compression: deflate
> [ 0.409759] ALSA device list:
> [ 0.410077] No soundcards found.
> [ 0.411868] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
> [ 0.412879] VFS: Mounted root (ext4 filesystem) on device 254:0.
> [ 0.413619] devtmpfs: mounted
> [ 0.414915] Freeing unused kernel memory: 6400K
> [ 0.428450] Run /sbin/init as init process
> Starting rcS...
> ++ Mounting filesystem
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] hw/arm/virt: Enable HMAT on arm virt machine
2022-01-25 12:46 ` Andrew Jones
@ 2022-01-26 6:16 ` chenxiang (M) via
0 siblings, 0 replies; 5+ messages in thread
From: chenxiang (M) via @ 2022-01-26 6:16 UTC (permalink / raw)
To: Andrew Jones
Cc: chenxiang via, peter.maydell, shannon.zhaosl, qemu-arm, linuxarm,
imammedo
在 2022/1/25 20:46, Andrew Jones 写道:
> On Tue, Jan 25, 2022 at 07:46:43PM +0800, chenxiang (M) wrote:
>> Hi Andrew,
>>
>>
>> 在 2022/1/25 18:26, Andrew Jones 写道:
>>> On Tue, Jan 25, 2022 at 05:15:34PM +0800, chenxiang via wrote:
>>>> From: Xiang Chen <chenxiang66@hisilicon.com>
>>>>
>>>> Since the patchset ("Build ACPI Heterogeneous Memory Attribute Table (HMAT)"),
>>>> HMAT is supported, but only x86 is enabled. Enable HMAT on arm virt machine.
>>> Hi Xiang,
>>>
>>> What QEMU commands lines have you tested with which Linux guest kernels?
>> I tested it with following commands with guest kernel 5.16-rc1, and the boot
>> log of guest kernel is as attached:
> Thanks. Please consider adding HMAT tests, see tests/qtest/numa-test.c and
> tests/qtest/bios-tables-test.c, for the virt machine type to this series.
> Otherwise,
>
> Reviewed-by: Andrew Jones <drjones@redhat.com>
Thanks, i will add those HMAT tests in v2.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-01-26 6:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-25 9:15 [PATCH] hw/arm/virt: Enable HMAT on arm virt machine chenxiang via
2022-01-25 10:26 ` Andrew Jones
2022-01-25 11:46 ` chenxiang (M) via
2022-01-25 12:46 ` Andrew Jones
2022-01-26 6:16 ` chenxiang (M) via
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).