Skip to content

Instantly share code, notes, and snippets.

@pdp7
Last active February 22, 2025 21:26
acpi-rqsc-resctrl.txt
mount -t resctrl resctrl /sys/fs/resls -la /sys/fs/resctrl/

ls -la /sys/fs/resctrl/

cd /sys/fs/resctrl/

echo 'L2:3=ff0' >  /sys/fs/resctrl/schemata

cat /sys/fs/resctrl/schemata

# echo 'L2:0=ff0' >  /sys/fs/resctrl/schemata
sh: write error: Invalid argument
# echo 'L2:3=ff0' >  /sys/fs/resctrl/schemata
# cat  /sys/fs/resctrl/schemata
MB:0=0;1=0;2=0
L2:3=ff0;4=0;5=0
# for i in `find /sys/fs/resctrl -type f`; do echo $i; echo `cat $i`; done

/sys/fs/resctrl/cpus_list
0-7

/sys/fs/resctrl/mode
shareable

/sys/fs/resctrl/schemata
MB:0=0;1=0;2=0 L2:3=0;4=0;5=0

/sys/fs/resctrl/info/last_cmd_status
ok

/sys/fs/resctrl/info/MB/num_closids
64

/sys/fs/resctrl/info/MB/delay_linear
1

/sys/fs/resctrl/info/MB/min_bandwidth
1

/sys/fs/resctrl/info/MB/bandwidth_gran
1

/sys/fs/resctrl/info/L2/min_cbm_bits
1

/sys/fs/resctrl/info/L2/shareable_bits
0

/sys/fs/resctrl/info/L2/num_closids
64

/sys/fs/resctrl/info/L2/bit_usage
3=000000000000;4=000000000000;5=000000000000

/sys/fs/resctrl/info/L2/sparse_masks
0

/sys/fs/resctrl/info/L2/cbm_mask
fff

/sys/fs/resctrl/tasks
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 82 83 84 85 89 90 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 110 125 127 130 141 142 151 152 153 174 175 176 177 180 194 198 199 200 245

/sys/fs/resctrl/size
MB:0=0;1=0;2=0 L2:3=0;4=0;5=0

/sys/fs/resctrl/cpus
ff
# dmesg
[    0.000000] Linux version 6.12.0-rc1-00166-gd07a576e18dc-dirty (pdp7@thelio) (riscv64-linux-gnu-gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.41) #144 SMP Sat Feb 22 13:07:12 PST 2025
[    0.000000] SBI specification v2.0 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10005
[    0.000000] SBI TIME extension detected
[    0.000000] SBI IPI extension detected
[    0.000000] SBI RFENCE extension detected
[    0.000000] SBI SRST extension detected
[    0.000000] SBI DBCN extension detected
[    0.000000] earlycon: uart8250 at MMIO 0x0000000010000000 (options '')
[    0.000000] printk: legacy bootconsole [uart8250] enabled
[    0.000000] efi: EFI v2.7 by EDK II
[    0.000000] efi: SMBIOS 3.0=0xbff43000 MEMATTR=0xbe21d118 ACPI=0xbf8ef000 ACPI 2.0=0xbf8ef014 MEMRESERVE=0xbe208f18 
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000BF8EF014 000024 (v02 BOCHS )
[    0.000000] ACPI: XSDT 0x00000000BF8E20E8 000054 (v01 BOCHS  BXPC     00000001      01000013)
[    0.000000] ACPI: FACP 0x00000000BE2B5000 000114 (v06 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: DSDT 0x00000000BE282000 001004 (v02 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: APIC 0x00000000BE2A3000 000180 (v06 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: RHCT 0x00000000BE2A2000 000214 (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: SPCR 0x00000000BE2A1000 00005A (v04 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: RQSC 0x00000000BE281000 000148 (v00 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: MCFG 0x00000000BE280000 00003C (v01 BOCHS  BXPC     00000001 BXPC 00000001)
[    0.000000] ACPI: SPCR: console: uart,mmio,0x10000000,115200
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000008007ffff]
[    0.000000]   node   0: [mem 0x0000000080080000-0x00000000bfe3cfff]
[    0.000000]   node   0: [mem 0x00000000bfe3d000-0x00000000bfffefff]
[    0.000000]   node   0: [mem 0x00000000bffff000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000] SBI HSM extension detected
[    0.000000] riscv: base ISA extensions acdfhim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: Embedded 21 pages/cpu s49064 r8192 d28760 u86016
[    0.000000] pcpu-alloc: s49064 r8192 d28760 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 
[    0.000000] Kernel command line: root=/dev/vda ro loglevel=8 ro console=ttyS0 rootwait earlycon=uart8250,mmio,0x10000000
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 262144
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB
[    0.000000] software IO TLB: area num 8.
[    0.000000] software IO TLB: SWIOTLB bounce buffer size roundup to 2MB
[    0.000000] software IO TLB: mapped [mem 0x00000000bfa06000-0x00000000bfc06000] (2MB)
[    0.000000] Virtual kernel memory layout:
[    0.000000]       fixmap : 0xff1bfffffea00000 - 0xff1bffffff000000   (6144 kB)
[    0.000000]       pci io : 0xff1bffffff000000 - 0xff1c000000000000   (  16 MB)
[    0.000000]      vmemmap : 0xff1c000000000000 - 0xff20000000000000   (1024 TB)
[    0.000000]      vmalloc : 0xff20000000000000 - 0xff60000000000000   (16384 TB)
[    0.000000]      modules : 0xffffffff01593000 - 0xffffffff80000000   (2026 MB)
[    0.000000]       lowmem : 0xff60000000000000 - 0xff60000040000000   (1024 MB)
[    0.000000]       kernel : 0xffffffff80000000 - 0xffffffffffffffff   (2047 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8.
[    0.000000] rcu: 	RCU debug extended QS entry/exit.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.000000] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=8.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped using AIA
[    0.000000] riscv-imsic: imsic: providing IPIs using interrupt 1
[    0.000000] riscv-imsic: imsic:  hart-index-bits: 3,  guest-index-bits: 0
[    0.000000] riscv-imsic: imsic: group-index-bits: 0, group-index-shift: 24
[    0.000000] riscv-imsic: imsic: per-CPU IDs 255 at base PPN 0x0000000028000000
[    0.000000] riscv-imsic: imsic: total 2032 interrupts available
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.000069] sched_clock: 64 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[    0.000431] riscv-timer: Timer interrupt in S-mode is available via sstc extension
[    0.004973] Console: colour dummy device 80x25
[    0.008337] ACPI: Core revision 20240827
[    0.012005] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=40000)
[    0.012446] pid_max: default: 32768 minimum: 301
[    0.013707] LSM: initializing lsm=capability
[    0.016562] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.016837] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.039149] ACPI PPTT: No PPTT table found, CPU and cache topology may be inaccurate
[    0.047647] riscv: ELF compat mode supported
[    0.047885] ASID allocator using 16 bits (65536 entries)
[    0.049626] rcu: Hierarchical SRCU implementation.
[    0.049815] rcu: 	Max phase no-delay instances is 1000.
[    0.054540] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.056506] Remapping and enabling EFI services.
[    0.063262] smp: Bringing up secondary CPUs ...
[    0.124213] smp: Brought up 1 node, 8 CPUs
[    0.134019] Memory: 982116K/1048576K available (9895K kernel code, 4979K rwdata, 4096K rodata, 2281K init, 490K bss, 62004K reserved, 0K cma-reserved)
[    0.142923] devtmpfs: initialized
[    0.151013] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.151519] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.153515] pinctrl core: initialized pinctrl subsystem
[    0.158427] SMBIOS 3.0.0 present.
[    0.158670] DMI: QEMU QEMU Virtual Machine, BIOS 2.7 02/02/2022
[    0.162963] DMI: Memory slots populated: 1/1
[    0.165100] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.168348] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.168780] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.169240] audit: initializing netlink subsys (disabled)
[    0.170934] audit: type=2000 audit(0.156:1): state=initialized audit_enabled=0 res=1
[    0.172853] thermal_sys: Registered thermal governor 'step_wise'
[    0.173240] cpuidle: using governor menu
[    0.199367] cpu6: Ratio of byte access time to unaligned word access is 6.93, unaligned accesses are fast
[    0.199370] cpu2: Ratio of byte access time to unaligned word access is 6.87, unaligned accesses are fast
[    0.199392] cpu3: Ratio of byte access time to unaligned word access is 6.87, unaligned accesses are fast
[    0.199387] cpu4: Ratio of byte access time to unaligned word access is 8.88, unaligned accesses are fast
[    0.199398] cpu5: Ratio of byte access time to unaligned word access is 6.87, unaligned accesses are fast
[    0.199408] cpu1: Ratio of byte access time to unaligned word access is 7.00, unaligned accesses are fast
[    0.199408] cpu7: Ratio of byte access time to unaligned word access is 8.58, unaligned accesses are fast
[    0.223510] cpu0: Ratio of byte access time to unaligned word access is 7.20, unaligned accesses are fast
[    0.231167] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.231425] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[    0.236213] ACPI: Added _OSI(Module Device)
[    0.236424] ACPI: Added _OSI(Processor Device)
[    0.236585] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.236756] ACPI: Added _OSI(Processor Aggregator Device)
[    0.247437] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    0.254008] ACPI: Interpreter enabled
[    0.254193] ACPI: Using RINTC for interrupt routing
[    0.254686] ACPI: MCFG table detected, 1 entries
[    0.255858] DEBUG acpi_riscv_init(): rqsc: status: 0
[    0.255923] ACPI: RQSC: rqsc->f[0]:   type: 0x1
[    0.256162] ACPI: RQSC: rqsc->f[0]: length: 0x20
[    0.256437] ACPI: RQSC: rqsc->f[0]: reg[0]: 0x4000000
[    0.256689] ACPI: RQSC: rqsc->f[0]: reg[1]: 0x482a000
[    0.256888] ACPI: RQSC: rqsc->f[0]: reg[2]: 0x0
[    0.257059] ACPI: RQSC: rqsc->f[0]:   rcid: 0x40
[    0.257219] ACPI: RQSC: rqsc->f[0]:   mcid: 0x100
[    0.257382] ACPI: RQSC: rqsc->f[0]:  flags: 0x0
[    0.257539] ACPI: RQSC: rqsc->f[0]:   nres: 0x1
[    0.257689] ACPI: RQSC: rqsc->f[0].res:    type: 0x1
[    0.257854] ACPI: RQSC: rqsc->f[0].res:    resv: 0x0
[    0.258021] ACPI: RQSC: rqsc->f[0].res:  length: 0x14
[    0.258184] ACPI: RQSC: rqsc->f[0].res:   flags: 0x0
[    0.258445] ACPI: RQSC: rqsc->f[0].res:   resv2: 0x0
[    0.258683] ACPI: RQSC: rqsc->f[0].res: id_type: 0x1
[    0.258924] ACPI: RQSC: rqsc->f[0].res:     id1: 0x0
[    0.259152] ACPI: RQSC: rqsc->f[0].res:     id2: 0x0
[    0.259390] ACPI: RQSC: ctrl_info->type = 1
[    0.259629] ACPI: RQSC: ctrl_info->addr = 0x482a000
[    0.259841] ACPI: RQSC: ctrl_info->size = 4096
[    0.260072] ACPI: RQSC: ctrl_info->rcid_count = 64
[    0.260320] ACPI: RQSC: ctrl_info->mcid_count = 256
[    0.260687] ACPI: RQSC: ctrl_info->type is memory
[    0.260989] ACPI: RQSC: ===================================================
[    0.261231] ACPI: RQSC: rqsc->f[1]:   type: 0x1
[    0.261532] ACPI: RQSC: rqsc->f[1]: length: 0x20
[    0.261739] ACPI: RQSC: rqsc->f[1]: reg[0]: 0x4000000
[    0.261948] ACPI: RQSC: rqsc->f[1]: reg[1]: 0x4829000
[    0.262173] ACPI: RQSC: rqsc->f[1]: reg[2]: 0x0
[    0.262400] ACPI: RQSC: rqsc->f[1]:   rcid: 0x40
[    0.262655] ACPI: RQSC: rqsc->f[1]:   mcid: 0x100
[    0.262864] ACPI: RQSC: rqsc->f[1]:  flags: 0x0
[    0.263079] ACPI: RQSC: rqsc->f[1]:   nres: 0x1
[    0.263266] ACPI: RQSC: rqsc->f[1].res:    type: 0x1
[    0.263461] ACPI: RQSC: rqsc->f[1].res:    resv: 0x0
[    0.263686] ACPI: RQSC: rqsc->f[1].res:  length: 0x14
[    0.263894] ACPI: RQSC: rqsc->f[1].res:   flags: 0x0
[    0.264122] ACPI: RQSC: rqsc->f[1].res:   resv2: 0x0
[    0.264333] ACPI: RQSC: rqsc->f[1].res: id_type: 0x1
[    0.264635] ACPI: RQSC: rqsc->f[1].res:     id1: 0x0
[    0.264950] ACPI: RQSC: rqsc->f[1].res:     id2: 0x0
[    0.265216] ACPI: RQSC: ctrl_info->type = 1
[    0.265435] ACPI: RQSC: ctrl_info->addr = 0x4829000
[    0.265631] ACPI: RQSC: ctrl_info->size = 4096
[    0.265798] ACPI: RQSC: ctrl_info->rcid_count = 64
[    0.265941] ACPI: RQSC: ctrl_info->mcid_count = 256
[    0.266092] ACPI: RQSC: ctrl_info->type is memory
[    0.266251] ACPI: RQSC: ===================================================
[    0.266400] ACPI: RQSC: rqsc->f[2]:   type: 0x1
[    0.266615] ACPI: RQSC: rqsc->f[2]: length: 0x20
[    0.266794] ACPI: RQSC: rqsc->f[2]: reg[0]: 0x4000000
[    0.266942] ACPI: RQSC: rqsc->f[2]: reg[1]: 0x4828000
[    0.267098] ACPI: RQSC: rqsc->f[2]: reg[2]: 0x0
[    0.267255] ACPI: RQSC: rqsc->f[2]:   rcid: 0x40
[    0.267403] ACPI: RQSC: rqsc->f[2]:   mcid: 0x100
[    0.267547] ACPI: RQSC: rqsc->f[2]:  flags: 0x0
[    0.267700] ACPI: RQSC: rqsc->f[2]:   nres: 0x1
[    0.267839] ACPI: RQSC: rqsc->f[2].res:    type: 0x1
[    0.267979] ACPI: RQSC: rqsc->f[2].res:    resv: 0x0
[    0.268144] ACPI: RQSC: rqsc->f[2].res:  length: 0x14
[    0.268299] ACPI: RQSC: rqsc->f[2].res:   flags: 0x0
[    0.268461] ACPI: RQSC: rqsc->f[2].res:   resv2: 0x0
[    0.268614] ACPI: RQSC: rqsc->f[2].res: id_type: 0x1
[    0.268816] ACPI: RQSC: rqsc->f[2].res:     id1: 0x0
[    0.269026] ACPI: RQSC: rqsc->f[2].res:     id2: 0x0
[    0.269187] ACPI: RQSC: ctrl_info->type = 1
[    0.269407] ACPI: RQSC: ctrl_info->addr = 0x4828000
[    0.269538] ACPI: RQSC: ctrl_info->size = 4096
[    0.269689] ACPI: RQSC: ctrl_info->rcid_count = 64
[    0.269829] ACPI: RQSC: ctrl_info->mcid_count = 256
[    0.269984] ACPI: RQSC: ctrl_info->type is memory
[    0.270136] ACPI: RQSC: ===================================================
[    0.270281] ACPI: RQSC: rqsc->f[3]:   type: 0x0
[    0.270491] ACPI: RQSC: rqsc->f[3]: length: 0x20
[    0.270641] ACPI: RQSC: rqsc->f[3]: reg[0]: 0x4000000
[    0.270788] ACPI: RQSC: rqsc->f[3]: reg[1]: 0x482b000
[    0.271019] ACPI: RQSC: rqsc->f[3]: reg[2]: 0x0
[    0.271187] ACPI: RQSC: rqsc->f[3]:   rcid: 0x40
[    0.271328] ACPI: RQSC: rqsc->f[3]:   mcid: 0x100
[    0.271480] ACPI: RQSC: rqsc->f[3]:  flags: 0x0
[    0.271647] ACPI: RQSC: rqsc->f[3]:   nres: 0x1
[    0.271798] ACPI: RQSC: rqsc->f[3].res:    type: 0x0
[    0.271939] ACPI: RQSC: rqsc->f[3].res:    resv: 0x0
[    0.272096] ACPI: RQSC: rqsc->f[3].res:  length: 0x14
[    0.272250] ACPI: RQSC: rqsc->f[3].res:   flags: 0x0
[    0.272406] ACPI: RQSC: rqsc->f[3].res:   resv2: 0x0
[    0.272561] ACPI: RQSC: rqsc->f[3].res: id_type: 0x0
[    0.272766] ACPI: RQSC: rqsc->f[3].res:     id1: 0x0
[    0.272976] ACPI: RQSC: rqsc->f[3].res:     id2: 0x0
[    0.273229] ACPI: RQSC: ctrl_info->type = 0
[    0.273393] ACPI: RQSC: ctrl_info->addr = 0x482b000
[    0.273564] ACPI: RQSC: ctrl_info->size = 4096
[    0.273733] ACPI: RQSC: ctrl_info->rcid_count = 64
[    0.273872] ACPI: RQSC: ctrl_info->mcid_count = 256
[    0.274031] ACPI: RQSC: ctrl_info->type is cache
[    0.274217] ACPI: RQSC: ctrl_info->cache.cache_id = 0
[    0.274523] ACPI: RQSC: ===================================================
[    0.274687] ACPI: RQSC: rqsc->f[4]:   type: 0x0
[    0.274903] ACPI: RQSC: rqsc->f[4]: length: 0x20
[    0.275083] ACPI: RQSC: rqsc->f[4]: reg[0]: 0x4000000
[    0.275233] ACPI: RQSC: rqsc->f[4]: reg[1]: 0x4821000
[    0.275390] ACPI: RQSC: rqsc->f[4]: reg[2]: 0x0
[    0.275548] ACPI: RQSC: rqsc->f[4]:   rcid: 0x40
[    0.275718] ACPI: RQSC: rqsc->f[4]:   mcid: 0x100
[    0.275865] ACPI: RQSC: rqsc->f[4]:  flags: 0x0
[    0.276012] ACPI: RQSC: rqsc->f[4]:   nres: 0x1
[    0.276160] ACPI: RQSC: rqsc->f[4].res:    type: 0x0
[    0.276303] ACPI: RQSC: rqsc->f[4].res:    resv: 0x0
[    0.276457] ACPI: RQSC: rqsc->f[4].res:  length: 0x14
[    0.276610] ACPI: RQSC: rqsc->f[4].res:   flags: 0x0
[    0.276767] ACPI: RQSC: rqsc->f[4].res:   resv2: 0x0
[    0.276935] ACPI: RQSC: rqsc->f[4].res: id_type: 0x0
[    0.277086] ACPI: RQSC: rqsc->f[4].res:     id1: 0x0
[    0.277315] ACPI: RQSC: rqsc->f[4].res:     id2: 0x0
[    0.277474] ACPI: RQSC: ctrl_info->type = 0
[    0.277621] ACPI: RQSC: ctrl_info->addr = 0x4821000
[    0.277822] ACPI: RQSC: ctrl_info->size = 4096
[    0.278041] ACPI: RQSC: ctrl_info->rcid_count = 64
[    0.278179] ACPI: RQSC: ctrl_info->mcid_count = 256
[    0.278337] ACPI: RQSC: ctrl_info->type is cache
[    0.278494] ACPI: RQSC: ctrl_info->cache.cache_id = 0
[    0.278640] ACPI: RQSC: ===================================================
[    0.278794] ACPI: RQSC: rqsc->f[5]:   type: 0x0
[    0.279005] ACPI: RQSC: rqsc->f[5]: length: 0x20
[    0.279190] ACPI: RQSC: rqsc->f[5]: reg[0]: 0x4000000
[    0.279339] ACPI: RQSC: rqsc->f[5]: reg[1]: 0x4820000
[    0.279499] ACPI: RQSC: rqsc->f[5]: reg[2]: 0x0
[    0.279664] ACPI: RQSC: rqsc->f[5]:   rcid: 0x40
[    0.279805] ACPI: RQSC: rqsc->f[5]:   mcid: 0x100
[    0.279948] ACPI: RQSC: rqsc->f[5]:  flags: 0x0
[    0.280096] ACPI: RQSC: rqsc->f[5]:   nres: 0x1
[    0.280237] ACPI: RQSC: rqsc->f[5].res:    type: 0x0
[    0.280377] ACPI: RQSC: rqsc->f[5].res:    resv: 0x0
[    0.280549] ACPI: RQSC: rqsc->f[5].res:  length: 0x14
[    0.280706] ACPI: RQSC: rqsc->f[5].res:   flags: 0x0
[    0.280910] ACPI: RQSC: rqsc->f[5].res:   resv2: 0x0
[    0.281112] ACPI: RQSC: rqsc->f[5].res: id_type: 0x0
[    0.281357] ACPI: RQSC: rqsc->f[5].res:     id1: 0x0
[    0.281516] ACPI: RQSC: rqsc->f[5].res:     id2: 0x0
[    0.281672] ACPI: RQSC: ctrl_info->type = 0
[    0.281825] ACPI: RQSC: ctrl_info->addr = 0x4820000
[    0.281990] ACPI: RQSC: ctrl_info->size = 4096
[    0.282146] ACPI: RQSC: ctrl_info->rcid_count = 64
[    0.282292] ACPI: RQSC: ctrl_info->mcid_count = 256
[    0.282434] ACPI: RQSC: ctrl_info->type is cache
[    0.282583] ACPI: RQSC: ctrl_info->cache.cache_id = 0
[    0.282730] ACPI: RQSC: ===================================================
[    0.282915] DEBUG acpi_riscv_init(): rqsc: rc: 0
[    0.311397] iommu: Default domain type: Translated
[    0.311748] iommu: DMA domain TLB invalidation policy: strict mode
[    0.317854] SCSI subsystem initialized
[    0.319039] libata version 3.00 loaded.
[    0.319884] ACPI: bus type USB registered
[    0.320347] usbcore: registered new interface driver usbfs
[    0.320781] usbcore: registered new interface driver hub
[    0.321080] usbcore: registered new device driver usb
[    0.324447] efivars: Registered efivars operations
[    0.326171] Advanced Linux Sound Architecture Driver Initialized.
[    0.338081] vgaarb: loaded
[    0.340784] clocksource: Switched to clocksource riscv_clocksource
[    0.343448] pnp: PnP ACPI init
[    0.344125] pnp: PnP ACPI: found 0 devices
[    0.370650] NET: Registered PF_INET protocol family
[    0.372899] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.376720] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.377102] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.377422] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.377839] TCP bind hash table entries: 8192 (order: 7, 524288 bytes, linear)
[    0.378683] TCP: Hash tables configured (established 8192 bind 8192)
[    0.379887] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
[    0.380326] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
[    0.381796] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.385337] RPC: Registered named UNIX socket transport module.
[    0.385705] RPC: Registered udp transport module.
[    0.385925] RPC: Registered tcp transport module.
[    0.386137] RPC: Registered tcp-with-tls transport module.
[    0.386383] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.386781] PCI: CLS 0 bytes, default 64
[    0.390962] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.395478] NFS: Registering the id_resolver key type
[    0.396655] Key type id_resolver registered
[    0.396873] Key type id_legacy registered
[    0.397376] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.397778] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.398864] 9p: Installing v9fs 9p2000 file system support
[    0.400788] NET: Registered PF_ALG protocol family
[    0.401392] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.402693] io scheduler mq-deadline registered
[    0.402934] io scheduler kyber registered
[    0.403345] io scheduler bfq registered
[    0.407847] riscv-aplic RSCV0002:00: 96 interrupts forwarded to MSI base 0x0000000028000000
[    0.421417] ACPI: PCI: Interrupt link L001 configured for IRQ 33
[    0.422127] ACPI: PCI: Interrupt link L002 configured for IRQ 34
[    0.422588] ACPI: PCI: Interrupt link L003 configured for IRQ 35
[    0.423111] ACPI: PCI: Interrupt link L000 configured for IRQ 32
[    0.424932] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.426371] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
[    0.431296] acpi PNP0A08:00: _OSC: platform does not support [LTR]
[    0.432824] acpi PNP0A08:00: _OSC: OS now controls [PME PCIeCapability]
[    0.435230] acpi PNP0A08:00: ECAM area [mem 0x30000000-0x3fffffff] reserved by PNP0C02:00
[    0.435815] acpi PNP0A08:00: ECAM at [mem 0x30000000-0x3fffffff] for [bus 00-ff]
[    0.436785] ACPI: Remapped I/O 0x0000000003000000 to [io  0x0000-0xffff window]
[    0.438789] PCI host bridge to bus 0000:00
[    0.439294] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff window]
[    0.439579] pci_bus 0000:00: root bus resource [io  0x0000-0xffff window]
[    0.439808] pci_bus 0000:00: root bus resource [mem 0x400000000-0x7ffffffff window]
[    0.440146] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.441681] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000 conventional PCI endpoint
[    0.445165] pci 0000:00:01.0: [1b36:000d] type 00 class 0x0c0330 PCIe Root Complex Integrated Endpoint
[    0.445733] pci 0000:00:01.0: BAR 0 [mem 0x400000000-0x400003fff 64bit]
[    0.446227] pci 0000:00:01.0: enabling Extended Tags
[    0.447100] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint
[    0.447454] pci 0000:00:02.0: BAR 0 [io  0x0000-0x001f]
[    0.447680] pci 0000:00:02.0: BAR 1 [mem 0x40044000-0x40044fff]
[    0.447913] pci 0000:00:02.0: BAR 4 [mem 0x40040000-0x40043fff 64bit pref]
[    0.448237] pci 0000:00:02.0: ROM [mem 0xfffc0000-0xffffffff pref]
[    0.449232] pci_bus 0000:00: on NUMA node 0
[    0.450284] pci 0000:00:02.0: ROM [mem 0x40000000-0x4003ffff pref]: assigned
[    0.450748] pci 0000:00:01.0: BAR 0 [mem 0x400000000-0x400003fff 64bit]: assigned
[    0.451151] pci 0000:00:02.0: BAR 4 [mem 0x400004000-0x400007fff 64bit pref]: assigned
[    0.451471] pci 0000:00:02.0: BAR 1 [mem 0x40040000-0x40040fff]: assigned
[    0.451763] pci 0000:00:02.0: BAR 0 [io  0x0020-0x003f]: assigned
[    0.452225] pci_bus 0000:00: resource 4 [mem 0x40000000-0x7fffffff window]
[    0.452658] pci_bus 0000:00: resource 5 [io  0x0000-0xffff window]
[    0.452901] pci_bus 0000:00: resource 6 [mem 0x400000000-0x7ffffffff window]
[    0.454114] pci 0000:00:01.0: enabling device (0000 -> 0002)
[    0.457557] ACPI: \_SB_.L002: Enabled at IRQ 34
[    0.458055] virtio-pci 0000:00:02.0: enabling device (0000 -> 0003)
[    0.562428] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.571524] printk: legacy console [ttyS0] disabled
[    0.594742] RSCV0003:00: ttyS0 at MMIO 0x10000000 (irq = 11, base_baud = 230400) is a 16550A
[    0.596270] printk: legacy console [ttyS0] enabled
[    0.596970] printk: legacy bootconsole [uart8250] disabled
[    0.620024] loop: module loaded
[    0.621011] virtio_blk virtio0: 1/0/0 default/read/poll queues
[    0.624186] virtio_blk virtio0: [vda] 1024000 512-byte logical blocks (524 MB/500 MiB)
[    0.651617] e1000e: Intel(R) PRO/1000 Network Driver
[    0.651869] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.654346] ACPI: \_SB_.L001: Enabled at IRQ 33
[    0.655625] xhci_hcd 0000:00:01.0: xHCI Host Controller
[    0.656164] xhci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 1
[    0.659407] xhci_hcd 0000:00:01.0: hcc params 0x00087001 hci version 0x100 quirks 0x0000000000000010
[    0.662331] xhci_hcd 0000:00:01.0: xHCI Host Controller
[    0.662541] xhci_hcd 0000:00:01.0: new USB bus registered, assigned bus number 2
[    0.662876] xhci_hcd 0000:00:01.0: Host supports USB 3.0 SuperSpeed
[    0.670820] hub 1-0:1.0: USB hub found
[    0.671588] hub 1-0:1.0: 4 ports detected
[    0.675100] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.676761] hub 2-0:1.0: USB hub found
[    0.677163] hub 2-0:1.0: 4 ports detected
[    0.679647] usbcore: registered new interface driver uas
[    0.680127] usbcore: registered new interface driver usb-storage
[    0.681164] mousedev: PS/2 mouse device common for all mice
[    0.683404] sdhci: Secure Digital Host Controller Interface driver
[    0.683796] sdhci: Copyright(c) Pierre Ossman
[    0.684122] Synopsys Designware Multimedia Card Interface Driver
[    0.684765] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.685593] usbcore: registered new interface driver usbhid
[    0.685803] usbhid: USB HID core driver
[    0.686402] riscv-pmu-sbi: SBI PMU extension is available
[    0.686993] riscv-pmu-sbi: 16 firmware and 18 hardware counters
[    0.687247] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[    0.693427] NET: Registered PF_INET6 protocol family
[    0.699611] Segment Routing with IPv6
[    0.699911] In-situ OAM (IOAM) with IPv6
[    0.700386] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.702764] NET: Registered PF_PACKET protocol family
[    0.703985] 9pnet: Installing 9P2000 support
[    0.704418] Key type dns_resolver registered
[    0.705001] start plist test
[    0.709831] end plist test
[    0.711058] qos: resctrl: controller info: type=1 addr=0x482a000 size=4096 max-rcid=64 max-mcid=256
[    0.711134] qos: resctrl: probe bandwidth controller
[    0.711461] qos: resctrl: version=0.1 nbwblks=1024 mrbwb=819
[    0.711800] qos: resctrl: bc_mon_ctl is supported
[    0.712002] qos: resctrl: supports_mon_at_data: 1, supports_mon_at_code: 1
[    0.712198] qos: resctrl: bc_alloc_ctl is supported
[    0.712548] qos: resctrl: supports_alloc_at_data: 1, supports_alloc_at_code: 1
[    0.712778] qos: resctrl: controller info: type=1 addr=0x4829000 size=4096 max-rcid=64 max-mcid=256
[    0.713036] qos: resctrl: probe bandwidth controller
[    0.713341] qos: resctrl: version=0.1 nbwblks=1024 mrbwb=819
[    0.713515] qos: resctrl: bc_mon_ctl is supported
[    0.713704] qos: resctrl: supports_mon_at_data: 1, supports_mon_at_code: 1
[    0.713867] qos: resctrl: bc_alloc_ctl is supported
[    0.714093] qos: resctrl: supports_alloc_at_data: 1, supports_alloc_at_code: 1
[    0.714260] qos: resctrl: controller info: type=1 addr=0x4828000 size=4096 max-rcid=64 max-mcid=256
[    0.714506] qos: resctrl: probe bandwidth controller
[    0.714796] qos: resctrl: version=0.1 nbwblks=1024 mrbwb=819
[    0.714969] qos: resctrl: bc_mon_ctl is supported
[    0.715157] qos: resctrl: supports_mon_at_data: 1, supports_mon_at_code: 1
[    0.715316] qos: resctrl: bc_alloc_ctl is supported
[    0.715541] qos: resctrl: supports_alloc_at_data: 1, supports_alloc_at_code: 1
[    0.715710] qos: resctrl: controller info: type=0 addr=0x482b000 size=4096 max-rcid=64 max-mcid=256
[    0.715965] qos: resctrl: probe capacity controller
[    0.716297] qos: resctrl: version=0.1 ncblks=16 blk_size=64 cache_level=2
[    0.716555] qos: resctrl: cc_mon_ctl is supported
[    0.716804] qos: resctrl: supports_mon_at_data: 1, supports_mon_at_code: 1
[    0.716990] qos: resctrl: cc_alloc_ctl is supported
[    0.717228] qos: resctrl: supports_alloc_at_data: 1, supports_alloc_at_code: 1
[    0.717405] qos: resctrl: controller info: type=0 addr=0x4821000 size=4096 max-rcid=64 max-mcid=256
[    0.717656] qos: resctrl: probe capacity controller
[    0.717950] qos: resctrl: version=0.1 ncblks=12 blk_size=85 cache_level=2
[    0.718123] qos: resctrl: cc_mon_ctl is NOT supported
[    0.718359] qos: resctrl: supports_mon_at_data: 1, supports_mon_at_code: 0
[    0.718537] qos: resctrl: cc_alloc_ctl is supported
[    0.718760] qos: resctrl: supports_alloc_at_data: 1, supports_alloc_at_code: 1
[    0.718925] qos: resctrl: controller info: type=0 addr=0x4820000 size=4096 max-rcid=64 max-mcid=256
[    0.719170] qos: resctrl: probe capacity controller
[    0.719468] qos: resctrl: version=0.1 ncblks=12 blk_size=85 cache_level=2
[    0.719641] qos: resctrl: cc_mon_ctl is NOT supported
[    0.719864] qos: resctrl: supports_mon_at_data: 1, supports_mon_at_code: 0
[    0.720036] qos: resctrl: cc_alloc_ctl is supported
[    0.720260] qos: resctrl: supports_alloc_at_data: 1, supports_alloc_at_code: 1
[    0.720502] qos: resctrl: qos_resctrl_setup_resources(): i=0 call qos_resctrl_add_controller_domain()
[    0.720808] qos: resctrl: qos_resctrl_add_controller_domain(): CBQRI_CONTROLLER_TYPE_BANDWIDTH cache.cache_level=0
[    0.721154] qos: resctrl: qos_resctrl_add_controller_domain(): domain->id = 0
[    0.721530] qos: resctrl: qos_resctrl_add_controller_domain(): domain_setup_ctrlval() returned err=0
[    0.721897] qos: resctrl: qos_resctrl_add_controller_domain(): resctrl_online_ctrl_domain() returned err=0
[    0.722229] qos: resctrl: qos_resctrl_setup_resources(): i=1 call qos_resctrl_add_controller_domain()
[    0.722549] qos: resctrl: qos_resctrl_add_controller_domain(): CBQRI_CONTROLLER_TYPE_BANDWIDTH cache.cache_level=0
[    0.722854] qos: resctrl: qos_resctrl_add_controller_domain(): domain->id = 1
[    0.723189] qos: resctrl: qos_resctrl_add_controller_domain(): domain_setup_ctrlval() returned err=0
[    0.723422] qos: resctrl: qos_resctrl_add_controller_domain(): resctrl_online_ctrl_domain() returned err=0
[    0.723728] qos: resctrl: qos_resctrl_setup_resources(): i=2 call qos_resctrl_add_controller_domain()
[    0.724047] qos: resctrl: qos_resctrl_add_controller_domain(): CBQRI_CONTROLLER_TYPE_BANDWIDTH cache.cache_level=0
[    0.724349] qos: resctrl: qos_resctrl_add_controller_domain(): domain->id = 2
[    0.724764] qos: resctrl: qos_resctrl_add_controller_domain(): domain_setup_ctrlval() returned err=0
[    0.725007] qos: resctrl: qos_resctrl_add_controller_domain(): resctrl_online_ctrl_domain() returned err=0
[    0.725309] qos: resctrl: qos_resctrl_setup_resources(): i=3 call qos_resctrl_add_controller_domain()
[    0.725643] qos: resctrl: qos_resctrl_add_controller_domain(): CBQRI_CONTROLLER_TYPE_CAPACITY: cache.cache_level=2
[    0.725983] qos: resctrl: qos_resctrl_add_controller_domain(): domain->id = 3
[    0.726333] qos: resctrl: qos_resctrl_add_controller_domain(): domain_setup_ctrlval() returned err=0
[    0.726577] qos: resctrl: qos_resctrl_add_controller_domain(): resctrl_online_ctrl_domain() returned err=0
[    0.726900] qos: resctrl: qos_resctrl_setup_resources(): i=4 call qos_resctrl_add_controller_domain()
[    0.727224] qos: resctrl: qos_resctrl_add_controller_domain(): CBQRI_CONTROLLER_TYPE_CAPACITY: cache.cache_level=2
[    0.727528] qos: resctrl: qos_resctrl_add_controller_domain(): domain->id = 4
[    0.727876] qos: resctrl: qos_resctrl_add_controller_domain(): domain_setup_ctrlval() returned err=0
[    0.728113] qos: resctrl: qos_resctrl_add_controller_domain(): resctrl_online_ctrl_domain() returned err=0
[    0.728413] qos: resctrl: qos_resctrl_setup_resources(): i=5 call qos_resctrl_add_controller_domain()
[    0.728853] qos: resctrl: qos_resctrl_add_controller_domain(): CBQRI_CONTROLLER_TYPE_CAPACITY: cache.cache_level=2
[    0.729158] qos: resctrl: qos_resctrl_add_controller_domain(): domain->id = 5
[    0.729490] qos: resctrl: qos_resctrl_add_controller_domain(): domain_setup_ctrlval() returned err=0
[    0.729722] qos: resctrl: qos_resctrl_add_controller_domain(): resctrl_online_ctrl_domain() returned err=0
[    0.730027] qos: resctrl: exposed_alloc_capable = 1
[    0.730350] qos: resctrl: exposed_mon_capable = 1
[    0.730524] qos: resctrl: exposed_cdp_l2_capable = 1
[    0.730691] qos: resctrl: exposed_cdp_l3_capable = 0
[    0.756890] debug_vm_pgtable: [debug_vm_pgtable         ]: Validating architecture page table helpers
[    0.765053] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[    0.766373] clk: Disabling unused clocks
[    0.766745] PM: genpd: Disabling unused power domains
[    0.767011] ALSA device list:
[    0.767172]   No soundcards found.
[    0.795056] EXT4-fs (vda): INFO: recovery required on readonly filesystem
[    0.795399] EXT4-fs (vda): write access will be enabled during recovery
[    0.867156] EXT4-fs (vda): orphan cleanup on readonly fs
[    0.867673] EXT4-fs (vda): recovery complete
[    0.876342] EXT4-fs (vda): mounted filesystem 857d8b67-9392-4a6b-a884-92b1353ef7f0 ro with ordered data mode. Quota mode: disabled.
[    0.877472] VFS: Mounted root (ext4 filesystem) readonly on device 254:0.
[    0.878925] devtmpfs: mounted
[    0.932970] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    0.972572] Freeing unused kernel image (initmem) memory: 2280K
[    0.973411] Run /sbin/init as init process
[    0.973561]   with arguments:
[    0.973679]     /sbin/init
[    0.973783]   with environment:
[    0.973902]     HOME=/
[    0.973984]     TERM=linux
[    1.079815] input: QEMU QEMU USB Keyboard as /devices/pci0000:00/0000:00:01.0/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input0
[    1.117992] EXT4-fs (vda): re-mounted 857d8b67-9392-4a6b-a884-92b1353ef7f0 r/w. Quota mode: disabled.
[    1.137236] hid-generic 0003:0627:0001.0001: input: USB HID v1.11 Keyboard [QEMU QEMU USB Keyboard] on usb-0000:00:01.0-1/input0
[    1.387927] udevd[140]: starting version 3.2.14
[    4.465407] random: crng init done
[    4.476259] udevd[140]: specified group 'input' unknown
[    4.476933] udevd[140]: specified group 'sgx' unknown
[    4.478341] udevd[140]: specified group 'kvm' unknown
[    4.503160] udevd[142]: starting eudev-3.2.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment