From: Tony Lindgren <tony@atomide.com>
To: "Syed Mohammed, Khasim" <x0khasim@ti.com>,
Richard Woodruff <r-woodruff2@ti.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH] To add OMAP 2430 Support
Date: Thu, 9 Nov 2006 04:22:10 +0200 [thread overview]
Message-ID: <20061109022209.GC9740@atomide.com> (raw)
In-Reply-To: <77C7F7CB1230A74A9D19C0C111E6EDBE01C6AEA2@DLEE09.ent.ti.com>
* Syed Mohammed, Khasim <x0khasim@ti.com> [061103 20:46]:
> Hi all,
>
> Attached are set of patches to get OMAP 2430 "minimal" support on to the
> tree.
>
> With these patches I was able to boot the kernel on 2430SDP and have
> verified booting the same on 2420 H4 (just to confirm it doesn't break
> any existing 2420 functionality).
Cool. Can you please inline your patches next time to allow easier
commenting on the code?
> Please do let me know for any issues, I would be glad to correct and
> re-submit them.
Looks OK in general, just one comment below.
> +#define sync_p_port_write() \
> + ({ int dv = 0; \
> + __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 4" : : "r" (dv)); \
> + })
> +
> /*
> * OMAP2 has a number of different interrupt controllers, each interrupt
> * controller is identified as its own "bank". Register definitions are
> @@ -48,6 +53,7 @@ static struct omap_irq_bank {
> static void omap_ack_irq(unsigned int irq)
> {
> __raw_writel(0x1, irq_banks[0].base_reg + INTC_CONTROL);
> + sync_p_port_write();
> }
>
> static void omap_mask_irq(unsigned int irq)
I'd leave this out of the patch for now until we know if it's
still needed. If it's needed, there should probably be arm generic
function for it. Maybe dwb() or something like that? :)
I think at some point Richard Woodruff said that he had to drain
write buffer for timer writes because of some inaccuracy. Richard,
could you please clarify it again? I don't think I've seen these
issues on 2420 myself, but maybe some timer test code could expose
it?
Regards,
Tony
next prev parent reply other threads:[~2006-11-09 2:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-03 18:44 [PATCH] To add OMAP 2430 Support Syed Mohammed, Khasim
2006-11-03 19:03 ` Dirk Behme
2006-11-03 19:28 ` Dirk Behme
2006-11-03 22:00 ` David Brownell
2006-11-03 22:49 ` Syed Mohammed, Khasim
2006-11-09 2:23 ` Tony Lindgren
2006-11-09 2:22 ` Tony Lindgren [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-11-09 15:01 Woodruff, Richard
2006-11-10 0:46 ` Tony Lindgren
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=20061109022209.GC9740@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=r-woodruff2@ti.com \
--cc=x0khasim@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