public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: Paul Mackerras <paulus@samba.org>
Cc: Scott Wood <scottwood@freescale.com>, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 1/7] Implement arch disable/enable irq hooks.
Date: Wed, 30 Apr 2008 12:33:28 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0804301229310.5099@axis700.grange> (raw)
In-Reply-To: <18454.42926.213374.977098@cargo.ozlabs.ibm.com>

On Tue, 29 Apr 2008, Paul Mackerras wrote:

> Scott Wood writes:
> 
> > On Fri, Apr 25, 2008 at 02:57:24PM +0200, Guennadi Liakhovetski wrote:
> > > is there any specific reason, why out of these 7 patches only the first 
> > > one made it into the mainline? AFAICS, there has been only one comment, 
> > > suggesting to replace printk with dev_err on two occasions in one of 
> > > the patches...
> > 
> > A while ago Paul said on IRC he'd prefer to do the TLF_SLEEPING hack more
> > like the soft IRQ disabling that 64-bit uses.  I haven't yet had a chance
> > to look into it, so the patch collects dust, despite the current
> > implementation of TLF_SLEEPING working just fine.
> 
> I have taken a closer look at the TLF_SLEEPING patch and crystallized
> my thoughts about it a bit:
> 
> 1. Too many ifdefs - it's only a few instructions extra, so if we're
> going to have the TLF_SLEEPING stuff we might as well have it
> unconditionally.
> 
> 2. It seems convoluted to me to go through transfer_to_handler_cont
> and ret_from_except when we could just get out directly through
> fast_exception_return, given that we are not calling a handler.  The
> only thing to watch out for there is that r7 and r8 haven't been
> modified (or have been restored if they have).
> 
> 3. The style in all the assembly code is not to have spaces after
> commas separating instruction operands.
> 
> The untested patch below is what I was thinking of.  If you'd like to
> try it out, I'd be interested to hear how it goes.

The patch (with the _TLF_SLEEPING fix you mentioned in a later email) 
works for me. Shall I submit it "From: <you>" or would you prefer to post 
it yourself? But, I guess, you have to put your "S-o-b" under it yourself, 
don't you?

Thanks
Guennadi
---
Guennadi Liakhovetski

  parent reply	other threads:[~2008-04-30 10:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-23 21:24 [PATCH 1/7] Implement arch disable/enable irq hooks Scott Wood
2007-10-23 21:24 ` [PATCH 2/7] pm: Add TLF_SLEEPING hack to delay interrupt delivery when waking from sleep Scott Wood
2007-10-23 21:24 ` [PATCH 3/7] Add 6xx-style HID0_SLEEP support Scott Wood
2007-10-23 21:24 ` [PATCH 4/7] fsl_soc: Factor fsl_get_sys_freq() out of the wdt init Scott Wood
2007-10-23 21:25 ` [PATCH 5/7] mpc83xx: Power Management support Scott Wood
2007-10-23 21:25 ` [PATCH 6/7] mpc83xx: timer driver for PM wakeup Scott Wood
2007-10-27 10:46   ` Anton Vorontsov
2007-10-23 21:25 ` [PATCH 7/7] gianfar: Add flags for magic packet and MDIO Scott Wood
2007-10-23 21:33 ` [PATCH 1/7] Implement arch disable/enable irq hooks Josh Boyer
2007-10-23 21:34   ` Scott Wood
2007-10-23 22:45     ` Josh Boyer
2007-10-25 18:01 ` Scott Wood
2008-04-25 12:57 ` Guennadi Liakhovetski
2008-04-28 20:33   ` Scott Wood
2008-04-29  4:44     ` Paul Mackerras
2008-04-29  5:04       ` Paul Mackerras
2008-04-30 10:33       ` Guennadi Liakhovetski [this message]
2008-04-30 22:17         ` Paul Mackerras
2008-04-30 17:22       ` Scott Wood
2008-04-30 21:01         ` Segher Boessenkool
2008-04-30 21:07           ` Scott Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0804301229310.5099@axis700.grange \
    --to=g.liakhovetski@gmx.de \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=scottwood@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox