WSL2-Linux-Kernel/arch/arm64/kernel
Prashanth Prakash 606f42265d arm64: skip register_cpufreq_notifier on ACPI-based systems
On ACPI based systems where the topology is setup using the API
store_cpu_topology, at the moment we do not have necessary code
to parse cpu capacity and handle cpufreq notifier, thus
resulting in a kernel panic.

Stack:
        init_cpu_capacity_callback+0xb4/0x1c8
        notifier_call_chain+0x5c/0xa0
        __blocking_notifier_call_chain+0x58/0xa0
        blocking_notifier_call_chain+0x3c/0x50
        cpufreq_set_policy+0xe4/0x328
        cpufreq_init_policy+0x80/0x100
        cpufreq_online+0x418/0x710
        cpufreq_add_dev+0x118/0x180
        subsys_interface_register+0xa4/0xf8
        cpufreq_register_driver+0x1c0/0x298
        cppc_cpufreq_init+0xdc/0x1000 [cppc_cpufreq]
        do_one_initcall+0x5c/0x168
        do_init_module+0x64/0x1e4
        load_module+0x130c/0x14d0
        SyS_finit_module+0x108/0x120
        el0_svc_naked+0x24/0x28

Fixes: 7202bde8b7 ("arm64: parse cpu capacity-dmips-mhz from DT")
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Prashanth Prakash <pprakash@codeaurora.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2017-01-27 11:30:36 +00:00
..
probes Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
vdso
.gitignore
Makefile
acpi.c ACPI / osl: Remove acpi_get_table_with_size()/early_acpi_os_unmap_memory() users 2016-12-21 02:36:38 +01:00
acpi_numa.c
acpi_parking_protocol.c
alternative.c
arm64ksyms.c
armv8_deprecated.c Merge branch 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-12-25 14:05:56 -08:00
asm-offsets.c arm64: Introduce uaccess_{disable,enable} functionality based on TTBR0_EL1 2016-11-21 18:48:53 +00:00
cacheinfo.c
cpu-reset.S
cpu-reset.h
cpu_errata.c arm64: cpufeature: Schedule enable() calls instead of calling them via IPI 2016-10-20 09:50:53 +01:00
cpu_ops.c
cpufeature.c arm64: Introduce uaccess_{disable,enable} functionality based on TTBR0_EL1 2016-11-21 18:48:53 +00:00
cpuidle.c
cpuinfo.c arm64/cpuinfo: Convert to hotplug state machine 2016-12-02 00:52:38 +01:00
debug-monitors.c cpu/hotplug: Cleanup state names 2016-12-25 10:47:44 +01:00
efi-entry.S
efi.c arm64: mm: replace 'block_mappings_allowed' with 'page_mappings_only' 2016-11-07 18:15:04 +00:00
entry-fpsimd.S
entry-ftrace.S
entry.S arm64: avoid returning from bad_mode 2017-01-19 15:38:22 +00:00
entry32.S
fpsimd.c arm64: Support systems without FP/ASIMD 2016-11-16 18:05:10 +00:00
ftrace.c
head.S arm64: head.S: Fix CNTHCTL_EL2 access on VHE system 2016-11-29 11:37:05 +00:00
hibernate-asm.S
hibernate.c treewide: Fix printk() message errors 2016-12-14 10:54:27 +01:00
hw_breakpoint.c cpu/hotplug: Cleanup state names 2016-12-25 10:47:44 +01:00
hyp-stub.S
image.h
insn.c arm64: Get rid of asm/opcodes.h 2016-12-02 10:56:21 +00:00
io.c
irq.c
jump_label.c
kaslr.c
kgdb.c arm64: kgdb_step_brk_fn: ignore other's exception 2016-11-07 18:15:20 +00:00
kuser32.S
machine_kexec.c
module-plts.c
module.c
module.lds
paravirt.c
pci.c PCI/ACPI: Extend pci_mcfg_lookup() to return ECAM config accessors 2016-12-06 13:45:48 -06:00
perf_callchain.c
perf_event.c KVM: arm64: Fix the issues when guest PMCCFILTR is configured 2016-11-18 09:06:58 +00:00
perf_regs.c
process.c arm64: Add hypervisor safe helper for checking constant capabilities 2016-11-16 17:50:51 +00:00
psci.c
ptrace.c arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields 2017-01-18 18:05:12 +00:00
relocate_kernel.S
return_address.c arm64: factor out current_stack_pointer 2016-11-11 18:25:43 +00:00
setup.c arm64: setup: introduce kaslr_offset() 2016-12-20 09:48:46 -08:00
signal.c arm64: Add uprobe support 2016-11-07 18:15:21 +00:00
signal32.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
sleep.S arm64: move sp_el0 and tpidr_el1 into cpu_suspend_ctx 2016-11-11 18:25:44 +00:00
smccc-call.S
smp.c arm64: split thread_info from task stack 2016-11-11 18:25:46 +00:00
smp_spin_table.c
stacktrace.c arm64: prep stack walkers for THREAD_INFO_IN_TASK 2016-11-11 18:25:44 +00:00
suspend.c arm64: move sp_el0 and tpidr_el1 into cpu_suspend_ctx 2016-11-11 18:25:44 +00:00
sys.c
sys32.c
sys_compat.c
time.c
topology.c arm64: skip register_cpufreq_notifier on ACPI-based systems 2017-01-27 11:30:36 +00:00
trace-events-emulation.h
traps.c arm64: avoid returning from bad_mode 2017-01-19 15:38:22 +00:00
vdso.c
vmlinux.lds.S arm64: Introduce uaccess_{disable,enable} functionality based on TTBR0_EL1 2016-11-21 18:48:53 +00:00