From: Jason Cooper <jason@lakedaemon.net>
To: Zhao Qiang <qiang.zhao@nxp.com>
Cc: oss@buserror.net, tglx@linutronix.de, marc.zyngier@arm.com,
linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
xiaobo.xie@nxp.com
Subject: Re: [PATCH v2 1/2] irqchip/qeic: merge qeic init code from platforms to a common function
Date: Wed, 6 Jul 2016 18:28:23 +0000 [thread overview]
Message-ID: <20160706182823.GM3348@io.lakedaemon.net> (raw)
In-Reply-To: <1467784901-11615-1-git-send-email-qiang.zhao@nxp.com>
Hi Zhao Qiang,
On Wed, Jul 06, 2016 at 02:01:38PM +0800, Zhao Qiang wrote:
> The codes of qe_ic init from a variety of platforms are redundant,
> merge them to a common function and put it to irqchip/qe_ic.c
>
> For non-p1021_mds mpc85xx_mds boards, use "qe_ic_init(np, 0,
> qe_ic_cascade_low_mpic, qe_ic_cascade_high_mpic);" instead of
> "qe_ic_init(np, 0, qe_ic_cascade_muxed_mpic, NULL);".
>
> qe_ic_cascade_muxed_mpic was used for boards has the same interrupt
> number for low interrupt and high interrupt, qe_ic_init has checked
> if "low interrupt == high interrupt"
>
> Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
> ---
> Changes for v2:
> - modify subject and commit msg
> - add check for qeic by type
>
> arch/powerpc/platforms/83xx/misc.c | 15 ---------------
> arch/powerpc/platforms/85xx/corenet_generic.c | 9 ---------
> arch/powerpc/platforms/85xx/mpc85xx_mds.c | 14 --------------
> arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 16 ----------------
> arch/powerpc/platforms/85xx/twr_p102x.c | 14 --------------
> drivers/irqchip/qe_ic.c | 16 ++++++++++++++++
> 6 files changed, 16 insertions(+), 68 deletions(-)
Hmmm, I seem to be missing the patch moving qe_ic.c into
drivers/irqchip/ ... :-/ Please resend with it attached. Also, while
we're here, please follow the file naming convention inside the
drivers/irqchip/ directory. Something like drivers/irqchip/irq-qeic.c
thx,
Jason.
prev parent reply other threads:[~2016-07-06 18:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-06 6:01 Zhao Qiang
2016-07-06 6:01 ` Zhao Qiang
2016-07-06 6:01 ` [PATCH v2 2/2] irqchip/qeic: merge qeic_of_init into qe_ic_init Zhao Qiang
2016-07-06 18:28 ` Jason Cooper [this message]
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=20160706182823.GM3348@io.lakedaemon.net \
--to=jason@lakedaemon.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=marc.zyngier@arm.com \
--cc=oss@buserror.net \
--cc=qiang.zhao@nxp.com \
--cc=tglx@linutronix.de \
--cc=xiaobo.xie@nxp.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
all inboxes | Powered by JetHome®