From: Tony Lindgren <tony@atomide.com>
To: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Cc: subramaniam.ca@ti.com, linux-omap@vger.kernel.org,
rmk@arm.linux.org.uk, h-kanigeri2@ti.com, grgupta@ti.com
Subject: Re: [PATCH 8/10] omap mailbox: OMAP4-Mailbox - Adds code changes to support OMAP4 mailbox.
Date: Tue, 22 Sep 2009 10:48:31 -0700 [thread overview]
Message-ID: <20090922174831.GH14890@atomide.com> (raw)
In-Reply-To: <20090922.181133.39157696.Hiroshi.DOYU@nokia.com>
* Hiroshi DOYU <Hiroshi.DOYU@nokia.com> [090922 08:12]:
> Hi Tony,
>
> From: "ext C.A, Subramaniam" <subramaniam.ca@ti.com>
> Subject: [PATCH 8/10] omap mailbox: OMAP4-Mailbox - Adds code changes to support OMAP4 mailbox.
> Date: Tue, 22 Sep 2009 16:33:32 +0200
>
> > From 6e3100d338c37928724821cab460ced1437bfa59 Mon Sep 17 00:00:00 2001
> > From: C A Subramaniam <subramaniam.ca@ti.com>
> > Date: Tue, 8 Sep 2009 22:36:20 +0530
> > Subject: [PATCH 8/10] omap mailbox: OMAP4-Mailbox - Adds code changes to support OMAP4 mailbox.
> >
> > This patch adds code changes in the mailbox driver module to
> > add support for OMAP4 mailbox.
> >
> > Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
> > Signed-off-by: C A Subramaniam <subramaniam.ca@ti.com>
> > Signed-off-by: Ramesh Gupta G <grgupta@ti.com>
> > ---
> > arch/arm/mach-omap2/mailbox.c | 120 +++++++++++++++++++++++++++++++++++------
> > arch/arm/plat-omap/mailbox.c | 25 +++++++--
> > 2 files changed, 123 insertions(+), 22 deletions(-)
> >
> > diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c
> > index 6f71f37..3d85807 100644
> > --- a/arch/arm/mach-omap2/mailbox.c
> > +++ b/arch/arm/mach-omap2/mailbox.c
>
> [...]
>
> > @@ -70,10 +88,9 @@ static inline void mbox_write_reg(u32 val, size_t ofs)
> > static int omap2_mbox_startup(struct omap_mbox *mbox)
> > {
> > unsigned int l;
> > -
> > mbox_ick_handle = clk_get(NULL, "mailboxes_ick");
> > if (IS_ERR(mbox_ick_handle)) {
> > - printk("Could not get mailboxes_ick\n");
> > + printk(KERN_ERR "Could not get mailboxes_ick\n");
> > return -ENODEV;
> > }
> > clk_enable(mbox_ick_handle);
> > @@ -85,7 +102,6 @@ static int omap2_mbox_startup(struct omap_mbox *mbox)
> > l = mbox_read_reg(MAILBOX_SYSCONFIG);
> > l |= 0x00000011;
> > mbox_write_reg(l, MAILBOX_SYSCONFIG);
> > -
> > omap2_mbox_enable_irq(mbox, IRQ_RX);
> >
> > return 0;
>
> The above may conflict with the following patch, but it won't be
> diffcult to solve the confliction.
>
> http://patchwork.kernel.org/patch/44224/
>
> Tony, can you get the above "softreset" patch in?
Added to omap-fixes.
> [...]
>
> > @@ -156,6 +172,8 @@ static void omap2_mbox_ack_irq(struct omap_mbox *mbox,
> > u32 bit = (irq == IRQ_TX) ? p->notfull_bit : p->newmsg_bit;
> >
> > mbox_write_reg(bit, p->irqstatus);
> > + /* Flush post writing */
> > + mbox_read_reg(p->irqstatus);
> > }
>
> This is the same as the following patch:
>
> http://patchwork.kernel.org/patch/43740/
>
> Tony, can you get the above "flush posted write" patch in?
This too.
Tony
next prev parent reply other threads:[~2009-09-22 17:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-22 14:33 [PATCH 8/10] omap mailbox: OMAP4-Mailbox - Adds code changes to support OMAP4 mailbox C.A, Subramaniam
2009-09-22 15:11 ` Hiroshi DOYU
2009-09-22 17:48 ` Tony Lindgren [this message]
2009-09-23 9:56 ` Russell King
2009-09-24 15:01 ` C.A, Subramaniam
-- strict thread matches above, loose matches on Subject: below --
2009-11-13 12:34 C.A, Subramaniam
2009-11-14 0:45 ` Tony Lindgren
2009-11-17 13:08 ` C.A, Subramaniam
2009-09-04 11:48 C.A, Subramaniam
2009-09-07 8:25 ` Hiroshi DOYU
2009-09-07 15:05 ` Russell King
2009-09-07 15:12 ` C.A, Subramaniam
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=20090922174831.GH14890@atomide.com \
--to=tony@atomide.com \
--cc=Hiroshi.DOYU@nokia.com \
--cc=grgupta@ti.com \
--cc=h-kanigeri2@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
--cc=subramaniam.ca@ti.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