From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751842AbdFTTrH (ORCPT ); Tue, 20 Jun 2017 15:47:07 -0400 Received: from terminus.zytor.com ([65.50.211.136]:49613 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751144AbdFTTrF (ORCPT ); Tue, 20 Jun 2017 15:47:05 -0400 Date: Tue, 20 Jun 2017 12:45:50 -0700 From: tip-bot for Marcin Nowakowski Message-ID: Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, marc.zyngier@arm.com, marcin.nowakowski@imgtec.com, tglx@linutronix.de, jason@lakedaemon.net, hpa@zytor.com Reply-To: mingo@kernel.org, marc.zyngier@arm.com, linux-kernel@vger.kernel.org, marcin.nowakowski@imgtec.com, jason@lakedaemon.net, hpa@zytor.com, tglx@linutronix.de In-Reply-To: <1496991845-27031-1-git-send-email-marcin.nowakowski@imgtec.com> References: <1496991845-27031-1-git-send-email-marcin.nowakowski@imgtec.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/urgent] irqchip/mips-gic: Mark count and compare accessors notrace Git-Commit-ID: 9f93d87cba63e3d18629261243b1f633519eabb5 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 9f93d87cba63e3d18629261243b1f633519eabb5 Gitweb: http://git.kernel.org/tip/9f93d87cba63e3d18629261243b1f633519eabb5 Author: Marcin Nowakowski AuthorDate: Fri, 9 Jun 2017 09:04:05 +0200 Committer: Thomas Gleixner CommitDate: Tue, 20 Jun 2017 21:41:58 +0200 irqchip/mips-gic: Mark count and compare accessors notrace gic_read_count(), gic_write_compare() and gic_write_cpu_compare() are often used in a sequence to update the compare register with a count value increased by a small offset. With small delta values used to update the compare register, the time to update function trace for these operations may be longer than the update timeout leading to update failure. Signed-off-by: Marcin Nowakowski Signed-off-by: Thomas Gleixner Cc: Marc Zyngier Cc: linux-mips@linux-mips.org Cc: Jason Cooper Link: http://lkml.kernel.org/r/1496991845-27031-1-git-send-email-marcin.nowakowski@imgtec.com --- drivers/irqchip/irq-mips-gic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c index eb7fbe1..929f855 100644 --- a/drivers/irqchip/irq-mips-gic.c +++ b/drivers/irqchip/irq-mips-gic.c @@ -140,7 +140,7 @@ static inline void gic_map_to_vpe(unsigned int intr, unsigned int vpe) } #ifdef CONFIG_CLKSRC_MIPS_GIC -u64 gic_read_count(void) +u64 notrace gic_read_count(void) { unsigned int hi, hi2, lo; @@ -167,7 +167,7 @@ unsigned int gic_get_count_width(void) return bits; } -void gic_write_compare(u64 cnt) +void notrace gic_write_compare(u64 cnt) { if (mips_cm_is64) { gic_write(GIC_REG(VPE_LOCAL, GIC_VPE_COMPARE), cnt); @@ -179,7 +179,7 @@ void gic_write_compare(u64 cnt) } } -void gic_write_cpu_compare(u64 cnt, int cpu) +void notrace gic_write_cpu_compare(u64 cnt, int cpu) { unsigned long flags;