Loading drivers/cpuidle/lpm-levels.c +6 −5 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved. * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com> * Copyright (C) 2009 Intel Corporation */ Loading Loading @@ -31,6 +31,7 @@ #include <linux/sched/clock.h> #include <linux/sched/idle.h> #include <linux/sched/stat.h> #include <linux/rcupdate.h> #include <linux/psci.h> #include <soc/qcom/pm.h> #include <soc/qcom/lpm_levels.h> Loading Loading @@ -1445,8 +1446,8 @@ static void update_history(struct cpuidle_device *dev, int idx) history->mode[history->hptr] = idx; trace_cpu_pred_hist(history->mode[history->hptr], history->resi[history->hptr], history->hptr, tmr); RCU_NONIDLE(trace_cpu_pred_hist(history->mode[history->hptr], history->resi[history->hptr], history->hptr, tmr)); if (history->nsamp < MAXSAMPLES) history->nsamp++; Loading @@ -1472,7 +1473,7 @@ static int lpm_cpuidle_enter(struct cpuidle_device *dev, cpu_prepare(cpu, idx, true); cluster_prepare(cpu->parent, cpumask, idx, true, start_time); trace_cpu_idle_enter(idx); RCU_NONIDLE(trace_cpu_idle_enter(idx)); lpm_stats_cpu_enter(idx, start_time); if (need_resched() || is_IPI_pending(cpumask_of(dev->cpu))) Loading @@ -1494,7 +1495,7 @@ static int lpm_cpuidle_enter(struct cpuidle_device *dev, cpu_unprepare(cpu, idx, true); dev->last_residency = ktime_us_delta(ktime_get(), start); update_history(dev, idx); trace_cpu_idle_exit(idx, ret); RCU_NONIDLE(trace_cpu_idle_exit(idx, ret)); if (lpm_prediction && cpu->lpm_prediction) { histtimer_cancel(); clusttimer_cancel(); Loading drivers/pinctrl/qcom/pinctrl-msm.c +0 −5 Original line number Diff line number Diff line Loading @@ -1199,7 +1199,6 @@ static int msm_gpio_irq_set_wake(struct irq_data *d, unsigned int on) { struct gpio_chip *gc = irq_data_get_irq_chip_data(d); struct msm_pinctrl *pctrl = gpiochip_get_data(gc); unsigned long flags; if (d->parent_data) irq_chip_set_wake_parent(d, on); Loading @@ -1210,12 +1209,8 @@ static int msm_gpio_irq_set_wake(struct irq_data *d, unsigned int on) * when TLMM is powered on. To allow that, enable the GPIO * summary line to be wakeup capable at GIC. */ raw_spin_lock_irqsave(&pctrl->lock, flags); irq_set_irq_wake(pctrl->irq, on); raw_spin_unlock_irqrestore(&pctrl->lock, flags); return 0; } Loading Loading
drivers/cpuidle/lpm-levels.c +6 −5 Original line number Diff line number Diff line // SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. /* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved. * Copyright (C) 2006-2007 Adam Belay <abelay@novell.com> * Copyright (C) 2009 Intel Corporation */ Loading Loading @@ -31,6 +31,7 @@ #include <linux/sched/clock.h> #include <linux/sched/idle.h> #include <linux/sched/stat.h> #include <linux/rcupdate.h> #include <linux/psci.h> #include <soc/qcom/pm.h> #include <soc/qcom/lpm_levels.h> Loading Loading @@ -1445,8 +1446,8 @@ static void update_history(struct cpuidle_device *dev, int idx) history->mode[history->hptr] = idx; trace_cpu_pred_hist(history->mode[history->hptr], history->resi[history->hptr], history->hptr, tmr); RCU_NONIDLE(trace_cpu_pred_hist(history->mode[history->hptr], history->resi[history->hptr], history->hptr, tmr)); if (history->nsamp < MAXSAMPLES) history->nsamp++; Loading @@ -1472,7 +1473,7 @@ static int lpm_cpuidle_enter(struct cpuidle_device *dev, cpu_prepare(cpu, idx, true); cluster_prepare(cpu->parent, cpumask, idx, true, start_time); trace_cpu_idle_enter(idx); RCU_NONIDLE(trace_cpu_idle_enter(idx)); lpm_stats_cpu_enter(idx, start_time); if (need_resched() || is_IPI_pending(cpumask_of(dev->cpu))) Loading @@ -1494,7 +1495,7 @@ static int lpm_cpuidle_enter(struct cpuidle_device *dev, cpu_unprepare(cpu, idx, true); dev->last_residency = ktime_us_delta(ktime_get(), start); update_history(dev, idx); trace_cpu_idle_exit(idx, ret); RCU_NONIDLE(trace_cpu_idle_exit(idx, ret)); if (lpm_prediction && cpu->lpm_prediction) { histtimer_cancel(); clusttimer_cancel(); Loading
drivers/pinctrl/qcom/pinctrl-msm.c +0 −5 Original line number Diff line number Diff line Loading @@ -1199,7 +1199,6 @@ static int msm_gpio_irq_set_wake(struct irq_data *d, unsigned int on) { struct gpio_chip *gc = irq_data_get_irq_chip_data(d); struct msm_pinctrl *pctrl = gpiochip_get_data(gc); unsigned long flags; if (d->parent_data) irq_chip_set_wake_parent(d, on); Loading @@ -1210,12 +1209,8 @@ static int msm_gpio_irq_set_wake(struct irq_data *d, unsigned int on) * when TLMM is powered on. To allow that, enable the GPIO * summary line to be wakeup capable at GIC. */ raw_spin_lock_irqsave(&pctrl->lock, flags); irq_set_irq_wake(pctrl->irq, on); raw_spin_unlock_irqrestore(&pctrl->lock, flags); return 0; } Loading