> > - if (cd.actual_read_sched_clock == jiffy_sched_clock_read)
> > + if (cd.actual_read_sched_clock == jiffy_sched_clock_read) {
> > + local_irq_disable();
> > sched_clock_register(jiffy_sched_clock_read, BITS_PER_LONG,
> > HZ);
> > + local_
On Tue, Jul 24, 2018 at 10:41:19PM -0400, Pavel Tatashin wrote:
> If we need it, we can surround the sched_clock_register() with
> local_irq_disable/local_irq_enable:
>
> diff --git a/kernel/time/sched_clock.c b/kernel/time/sched_clock.c
> index cbc72c2c1fca..5015b165b55b 100644
> --- a/kernel/ti
> integrator_defconfig+CONFIG_DEVTMPFS=y+CONFIG_DEVTMPFS_MOUNT=y
>
> Qemu command line is
> qemu-system-arm -M integratorcp -m 128 \
> -kernel arch/arm/boot/zImage -no-reboot \
> -initrd busybox-armv4.cpio \
> --append "rdinit=/sbin/init console=ttyAMA0,115200" \
>
Peter,
The problem is in this stack
start_kernel
local_irq_enable
late_time_init
sched_clock_init
generic_sched_clock_init
sched_clock_register
WARN_ON(!irqs_disabled());
Before this work, sched_clock_init() was called prior to enabling
interrupts, but now after. So, we h
On 07/24/2018 05:36 PM, Pavel Tatashin wrote:
On Tue, Jul 24, 2018 at 4:22 PM Pavel Tatashin
wrote:
On Tue, Jul 24, 2018 at 3:54 PM Guenter Roeck wrote:
Hi,
On Thu, Jul 19, 2018 at 03:33:21PM -0700, tip-bot for Pavel Tatashin wrote:
Commit-ID: 857baa87b6422bcfb84ed3631d6839920cb5b09d
Git
On Tue, Jul 24, 2018 at 4:22 PM Pavel Tatashin
wrote:
>
> On Tue, Jul 24, 2018 at 3:54 PM Guenter Roeck wrote:
> >
> > Hi,
> >
> > On Thu, Jul 19, 2018 at 03:33:21PM -0700, tip-bot for Pavel Tatashin wrote:
> > > Commit-ID: 857baa87b6422bcfb84ed3631d6839920cb5b09d
> > > Gitweb:
> > > https:
On Tue, Jul 24, 2018 at 3:54 PM Guenter Roeck wrote:
>
> Hi,
>
> On Thu, Jul 19, 2018 at 03:33:21PM -0700, tip-bot for Pavel Tatashin wrote:
> > Commit-ID: 857baa87b6422bcfb84ed3631d6839920cb5b09d
> > Gitweb:
> > https://git.kernel.org/tip/857baa87b6422bcfb84ed3631d6839920cb5b09d
> > Author:
Hi,
On Thu, Jul 19, 2018 at 03:33:21PM -0700, tip-bot for Pavel Tatashin wrote:
> Commit-ID: 857baa87b6422bcfb84ed3631d6839920cb5b09d
> Gitweb:
> https://git.kernel.org/tip/857baa87b6422bcfb84ed3631d6839920cb5b09d
> Author: Pavel Tatashin
> AuthorDate: Thu, 19 Jul 2018 16:55:42 -0400
>
Commit-ID: 857baa87b6422bcfb84ed3631d6839920cb5b09d
Gitweb: https://git.kernel.org/tip/857baa87b6422bcfb84ed3631d6839920cb5b09d
Author: Pavel Tatashin
AuthorDate: Thu, 19 Jul 2018 16:55:42 -0400
Committer: Thomas Gleixner
CommitDate: Fri, 20 Jul 2018 00:02:43 +0200
sched/clock: Enable
9 matches
Mail list logo