MIPS: kernel: only use i8253 clocksource with periodic clockevent
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Mon, 13 May 2019 11:47:25 +0000 (13:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2019 06:26:37 +0000 (08:26 +0200)
commit15b5ebb148f79ac970d40c0f70cf3bc4fdac6885
treea777479f9dc7db160ddcfd52d4d3134d9a78bf7e
parent27608c8e4092b899732948c9c200d9af97e92e21
MIPS: kernel: only use i8253 clocksource with periodic clockevent

[ Upstream commit a07e3324538a989b7cdbf2c679be6a7f9df2544f ]

i8253 clocksource needs a free running timer. This could only
be used, if i8253 clockevent is set up as periodic.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/kernel/i8253.c