From: akpm@linux-foundation.org Subject: + cris-update-comments-for-generic-idle-conversion.patch added to -mm tree Date: Thu, 29 May 2014 16:00:37 -0700 Message-ID: <5387bc15.IC2+jUKJ9to3QsnY%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:46177 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753063AbaE2XAi (ORCPT ); Thu, 29 May 2014 19:00:38 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, jesper.nilsson@axis.com, geert+renesas@glider.be Subject: + cris-update-comments-for-generic-idle-conversion.patch added to -mm tree To: geert+renesas@glider.be,jesper.nilsson@axis.com From: akpm@linux-foundation.org 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 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 Reviewed-by: Jesper Nilsson Signed-off-by: Andrew Morton --- 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@glider.be 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