Subject: [cpufreq] d83f959b5e: kmsg.cpufreq:cpufreq_online:Failed_to_initialize_policy_for_cpu:#(-#)

From: kernel test robot <[email-masked]>
Date: Mon, 22 Jun 2020 08:54:57 +0800

Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: d83f959b5e7a6378a4afbff23de2a2d064d95749 ("[PATCH 2/2] cpufreq: Specify default governor on command line")
url: https://github.com/0day-ci/linux/commits/Quentin-Perret/cpufreq-Specify-the-default-governor-on-command-line/20200616-005920
base: https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git linux-next

in testcase: kernel-selftests
with following parameters:

	group: kselftests-x86
	ucode: 0xdc

test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt

on test machine: 8 threads Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with 16G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):

If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email-masked]>

[    8.715369] intel_pstate: Intel P-state driver initializing
[    8.721146] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 0 (-61)
[    8.728900] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 1 (-61)
[    8.736615] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 2 (-61)
[    8.744400] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 3 (-61)
[    8.752222] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 4 (-61)
[    8.760010] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 5 (-61)
[    8.768077] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 6 (-61)
[    8.775891] cpufreq: cpufreq_online: Failed to initialize policy for cpu: 7 (-61)
[    8.783861] hid: raw HID events driver (C) Jiri Kosina
[    8.789211] usbcore: registered new interface driver usbhid
[    8.794908] usbhid: USB HID core driver
[    8.798902] drop_monitor: Initializing network drop monitor service
[    8.805365] Initializing XFRM netlink socket
[    8.809817] NET: Registered protocol family 10
[    8.814586] Segment Routing with IPv6
[    8.818389] NET: Registered protocol family 17
[    8.822969] 9pnet: Installing 9P2000 support
[    8.827367] mpls_gso: MPLS GSO support
[    8.832204] microcode: sig=0x506e3, pf=0x2, revision=0xdc
[    8.837953] microcode: Microcode Update Driver: v2.2.
[    8.837955] IPI shorthand broadcast: enabled
[    8.847612] ... APIC ID:      00000000 (0)
[    8.848610] ... APIC VERSION: 01060015
[    8.848610] 0000000000000000000000000000000000000000000000000000000000000000
[    8.862620] 0000000000000000000000000000000000000000000000000000000000000000
[    8.865617] usb 1-4: new low-speed USB device number 2 using xhci_hcd
[    8.862620] 0000000000000000000000000000000000000000000000000000000000000000
[    8.870017] number of MP IRQ sources: 15.
[    8.870017] number of IO-APIC #2 registers: 120.
[    8.870018] testing the IO APIC.......................
[    8.897877] IO APIC #2......
[    8.900891] .... register #00: 02000000
[    8.904855] .......    : physical APIC id: 02
[    8.909336] .......    : Delivery Type: 0
[    8.913472] .......    : LTS          : 0
[    8.917609] .... register #01: 00770020
[    8.921571] .......     : max redirection entries: 77
[    8.926768] .......     : PRQ implemented: 0
[    8.931161] .......     : IO APIC version: 20
[    8.935641] .... register #02: 00000000
[    8.939603] .......     : arbitration: 00
[    8.943738] .... IRQ redirection table:
[    8.947702] IOAPIC 0:
[    8.950123]  pin00, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[    8.958130]  pin01, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[    8.966138]  pin02, enabled , edge , high, V(02), IRR(0), S(0), remapped, I(0001),  Z(0)
[    8.974404]  pin03, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[    8.982411]  pin04, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[    8.990419]  pin05, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[    8.998425]  pin06, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)
[    9.006463]  pin07, disabled, edge , high, V(00), IRR(0), S(0), physical, D(00), M(0)

To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml

Thanks,
Rong Chen