Subject: + cris-update-comments-for-generic-idle-conversion.patch added to -mm tree To: geert+renesas@xxxxxxxxx,jesper.nilsson@xxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Thu, 29 May 2014 16:00:37 -0700 The patch titled Subject: cris: update comments for generic idle conversion has been added to the -mm tree. Its filename is cris-update-comments-for-generic-idle-conversion.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/cris-update-comments-for-generic-idle-conversion.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/cris-update-comments-for-generic-idle-conversion.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Subject: cris: update comments for generic idle conversion As of 8dc7c5ecd8d0 ("cris: Use generic idle loop"), cris no longer provides cpu_idle(). - On cris-v10, etrax_gpio_wake_up_check() is called from default_idle() instead of cpu_idle(), - On cris-v32, etrax_gpio_wake_up_check() is not called from default_idle(), so remove this (copy-and-paste?) part. Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Reviewed-by: Jesper Nilsson <jesper.nilsson@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/cris/arch-v10/drivers/gpio.c | 4 ++-- arch/cris/arch-v32/drivers/mach-fs/gpio.c | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff -puN arch/cris/arch-v10/drivers/gpio.c~cris-update-comments-for-generic-idle-conversion arch/cris/arch-v10/drivers/gpio.c --- a/arch/cris/arch-v10/drivers/gpio.c~cris-update-comments-for-generic-idle-conversion +++ a/arch/cris/arch-v10/drivers/gpio.c @@ -833,8 +833,8 @@ static int __init gpio_init(void) printk(KERN_INFO "ETRAX 100LX GPIO driver v2.5, (c) 2001-2008 " "Axis Communications AB\n"); /* We call etrax_gpio_wake_up_check() from timer interrupt and - * from cpu_idle() in kernel/process.c - * The check in cpu_idle() reduces latency from ~15 ms to ~6 ms + * from default_idle() in kernel/process.c + * The check in default_idle() reduces latency from ~15 ms to ~6 ms * in some tests. */ res = request_irq(TIMER0_IRQ_NBR, gpio_poll_timer_interrupt, diff -puN arch/cris/arch-v32/drivers/mach-fs/gpio.c~cris-update-comments-for-generic-idle-conversion arch/cris/arch-v32/drivers/mach-fs/gpio.c --- a/arch/cris/arch-v32/drivers/mach-fs/gpio.c~cris-update-comments-for-generic-idle-conversion +++ a/arch/cris/arch-v32/drivers/mach-fs/gpio.c @@ -958,11 +958,7 @@ gpio_init(void) printk(KERN_INFO "ETRAX FS GPIO driver v2.5, (c) 2003-2007 " "Axis Communications AB\n"); - /* We call etrax_gpio_wake_up_check() from timer interrupt and - * from cpu_idle() in kernel/process.c - * The check in cpu_idle() reduces latency from ~15 ms to ~6 ms - * in some tests. - */ + /* We call etrax_gpio_wake_up_check() from timer interrupt */ if (request_irq(TIMER0_INTR_VECT, gpio_poll_timer_interrupt, IRQF_SHARED, "gpio poll", &alarmlist)) printk(KERN_ERR "timer0 irq for gpio\n"); _ Patches currently in -mm which might be from geert+renesas@xxxxxxxxx are linux-next.patch idle-remove-cpu_idle-forward-declarations.patch cris-update-comments-for-generic-idle-conversion.patch powerpc-update-comments-for-generic-idle-conversion.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html