linux/arch/powerpc
Michael Ellerman b4d16ab58c powerpc/time: Fix clockevent_decrementer initalisation for PR KVM
In the recent commit 8b78fdb045 ("powerpc/time: Use
clockevents_register_device(), fixing an issue with large
decrementer") we changed the way we initialise the decrementer
clockevent(s).

We no longer initialise the mult & shift values of
decrementer_clockevent itself.

This has the effect of breaking PR KVM, because it uses those values
in kvmppc_emulate_dec(). The symptom is guest kernels spin forever
mid-way through boot.

For now fix it by assigning back to decrementer_clockevent the mult
and shift values.

Fixes: 8b78fdb045 ("powerpc/time: Use clockevents_register_device(), fixing an issue with large decrementer")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-10-19 15:09:04 +11:00
..
boot powerpc/boot: Build boot wrapper with optimisations 2018-10-13 22:21:25 +11:00
configs powerpc/config: Enable CONFIG_PRINTK_TIME 2018-10-03 15:40:06 +10:00
crypto powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
include powerpc/aout: Fix struct user definition to use user_pt_regs 2018-10-19 15:09:04 +11:00
kernel powerpc/time: Fix clockevent_decrementer initalisation for PR KVM 2018-10-19 15:09:04 +11:00
kvm powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
lib powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
math-emu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mm powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
net powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
oprofile powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
perf powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
platforms powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
purgatory powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
sysdev powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
tools powerpc: Add a checkpatch wrapper with our preferred settings 2018-08-07 21:49:25 +10:00
xmon powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
Kbuild powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
Kconfig powerpc: Fix stackprotector detection for non-glibc toolchains 2018-10-13 22:21:25 +11:00
Kconfig.debug powerpc: remove redundant 'default n' from Kconfig-s 2018-10-13 22:21:25 +11:00
Makefile powerpc: Move core kernel logic into arch/powerpc/Kbuild 2018-10-19 00:56:17 +11:00
Makefile.postlink License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00