[PATCH 26/40] powerpc: Use set_current_blocked() and block_sigmask()

2012-02-14 Thread Matt Fleming
From: Matt Fleming As described in e6fa16ab ("signal: sigprocmask() should do retarget_shared_pending()") the modification of current->blocked is incorrect as we need to check whether the signal we're about to block is pending in the shared queue. Also, use the new helper func

Re: [PATCH 0/8] sdhci: Move real work out of an atomic context

2010-07-15 Thread Matt Fleming
On Wed, 14 Jul 2010 17:07:28 +0400, Anton Vorontsov wrote: > Hi all, > > Currently the sdhci driver does everything in the atomic context. > And what is worse, PIO transfers are made from the IRQ handler. > > This causes huge latencies (up to 120 ms). On some P2020 SOCs, > DMA and card detectio

Running out of SDHCI quirk space (Re: [PATCH 1/3 v2] sdhci: Add auto CMD12 support for eSDHC driver)

2010-08-12 Thread Matt Fleming
On Tue, Aug 03, 2010 at 04:43:46PM -0700, Andrew Morton wrote: > On Tue, 3 Aug 2010 11:11:10 +0800 > Roy Zang wrote: > > > --- a/drivers/mmc/host/sdhci.h > > +++ b/drivers/mmc/host/sdhci.h > > @@ -240,6 +240,8 @@ struct sdhci_host { > > #define SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN (1<<25)

Re: [PATCH 1/3] sh: dynamic ftrace support.

2008-11-21 Thread Matt Fleming
On Fri, Nov 21, 2008 at 04:44:29PM +0900, Paul Mundt wrote: > On Thu, Nov 20, 2008 at 03:34:16PM -0500, Steven Rostedt wrote: > > +} elsif ($arch eq "sh") { > > +$section_regex = "Disassembly of section\\s+(\\S+):"; > > +$function_regex = "^([0-9a-fA-F]+)\\s+<(.*?)>:"; > > +$mcount_rege

Re: [tip:sched/core] sched/core: Add debugging code to catch missing update_rq_clock() calls

2017-01-30 Thread Matt Fleming
On Tue, 31 Jan, at 08:24:53AM, Michael Ellerman wrote: > > I'm hitting this on multiple powerpc systems: > > [ 38.339126] rq->clock_update_flags < RQCF_ACT_SKIP > [ 38.339134] [ cut here ] > [ 38.339142] WARNING: CPU: 2 PID: 1 at kernel/sched/sched.h:804 > detach_ta

Re: [tip:sched/core] sched/core: Add debugging code to catch missing update_rq_clock() calls

2017-02-02 Thread Matt Fleming
is? It seems to cure things in my (very) > limited testing. I haven't tested it but this looks like the correct fix to me. Reviewed-by: Matt Fleming