public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Felipe Balbi <me@felipebalbi.com>
Cc: linux-omap@vger.kernel.org, Felipe Balbi <felipe.balbi@nokia.com>
Subject: Re: [rft/rfc/patch-2.6.28-rc3+ 00/59] namespace cleanup patches
Date: Tue, 11 Nov 2008 15:58:14 -0800	[thread overview]
Message-ID: <20081111235811.GP3984@atomide.com> (raw)
In-Reply-To: <20081111235039.GF23454@frodo>

* Felipe Balbi <me@felipebalbi.com> [081111 15:50]:
> On Tue, Nov 11, 2008 at 03:47:13PM -0800, Tony Lindgren wrote:
> > * Felipe Balbi <me@felipebalbi.com> [081111 15:22]:
> > > On Wed, Nov 12, 2008 at 12:56:19AM +0200, Felipe Balbi wrote:
> > > > From: Felipe Balbi <felipe.balbi@nokia.com>
> > > > 
> > > > Get rid of omap_{read,write}[bsl] defines.
> > > > Virtual and physical addresses usage was fixed by Russel King and
> > > > there's no need anymore for keeping a define to a standard kernel
> > > > function. Get rid of those to keep the namespace cleaner.
> > > > 
> > > > Build tested with all omap defconfigs.
> > > > Depends on my previous "make clk fwk build again on omap1" patch.
> > > 
> > > for convinience, these patches plus the clock fix for omap1 and the mmc
> > > fix are available at [1]
> > 
> > Felipe, have you tested any of these? To me looks like you're missing
> > the associated ioremap before you can use __raw_read/write instead of
> > omap_read/write.
> 
> You're right, I should at least use __raw_read/write(IO_ADDRESS(...));

Adding the IO_ADDRESS there is the wrong fix though, let's rather keep
what we have.

> I'll fix it by tomorrow and test on omap3.

How about we convert them one at a time to use ioremap +
__raw_read/write instead?

Pretty much the only place where ioremap cannot be used is in sram.c,
and that has a comment about it. And clock fwk stuff we should not
mess with right now.

Cheers,

Tony

  reply	other threads:[~2008-11-11 23:58 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 22:56 [rft/rfc/patch-2.6.28-rc3+ 00/59] namespace cleanup patches Felipe Balbi
2008-11-11 22:56 ` [rft/rfc/patch-2.6.28-rc3+ 01/59] omap: namespace cleanup to arch/arm/mach-omap1/board-fsample.c Felipe Balbi
2008-11-11 22:56   ` [rft/rfc/patch-2.6.28-rc3+ 02/59] omap: namespace cleanup to arch/arm/mach-omap1/board-h2.c Felipe Balbi
2008-11-11 22:56     ` [rft/rfc/patch-2.6.28-rc3+ 03/59] omap: namespace cleanup to arch/arm/mach-omap1/board-nokia770.c Felipe Balbi
2008-11-11 22:56       ` [rft/rfc/patch-2.6.28-rc3+ 04/59] omap: namespace cleanup to arch/arm/mach-omap1/board-osk.c Felipe Balbi
2008-11-11 22:56         ` [rft/rfc/patch-2.6.28-rc3+ 05/59] omap: namespace cleanup to arch/arm/mach-omap1/board-palmtt.c Felipe Balbi
2008-11-11 22:56           ` [rft/rfc/patch-2.6.28-rc3+ 06/59] omap: namespace cleanup to arch/arm/mach-omap1/board-palmz71.c Felipe Balbi
2008-11-11 22:56             ` [rft/rfc/patch-2.6.28-rc3+ 07/59] omap: namespace cleanup to arch/arm/mach-omap1/board-perseus2.c Felipe Balbi
2008-11-11 22:56               ` [rft/rfc/patch-2.6.28-rc3+ 08/59] omap: namespace cleanup to arch/arm/mach-omap1/board-voiceblue.c Felipe Balbi
2008-11-11 22:56                 ` [rft/rfc/patch-2.6.28-rc3+ 09/59] omap: namespace cleanup to arch/arm/mach-omap1/clock.c Felipe Balbi
2008-11-11 22:56                   ` [rft/rfc/patch-2.6.28-rc3+ 10/59] omap: namespace cleanup to arch/arm/mach-omap1/devices.c Felipe Balbi
2008-11-11 22:56                     ` [rft/rfc/patch-2.6.28-rc3+ 11/59] omap: namespace cleanup to arch/arm/mach-omap1/id.c Felipe Balbi
2008-11-11 22:56                       ` [rft/rfc/patch-2.6.28-rc3+ 12/59] omap: namespace cleanup to arch/arm/mach-omap1/io.c Felipe Balbi
2008-11-11 22:56                         ` [rft/rfc/patch-2.6.28-rc3+ 13/59] omap: namespace cleanup to arch/arm/mach-omap1/irq.c Felipe Balbi
2008-11-11 22:56                           ` [rft/rfc/patch-2.6.28-rc3+ 14/59] omap: namespace cleanup to arch/arm/mach-omap1/mux.c Felipe Balbi
2008-11-11 22:56                             ` [rft/rfc/patch-2.6.28-rc3+ 15/59] omap: namespace cleanup to arch/arm/mach-omap1/pm.c Felipe Balbi
2008-11-11 22:56                               ` [rft/rfc/patch-2.6.28-rc3+ 16/59] omap: namespace cleanup to arch/arm/mach-omap1/timer32k.c Felipe Balbi
2008-11-11 22:56                                 ` [rft/rfc/patch-2.6.28-rc3+ 17/59] omap: namespace cleanup to arch/arm/mach-omap2/pm-debug.c Felipe Balbi
2008-11-11 22:56                                   ` [rft/rfc/patch-2.6.28-rc3+ 18/59] omap: namespace cleanup to arch/arm/mach-omap2/pm24xx.c Felipe Balbi
2008-11-11 22:56                                     ` [rft/rfc/patch-2.6.28-rc3+ 19/59] omap: namespace cleanup to arch/arm/plat-omap/common.c Felipe Balbi
2008-11-11 22:56                                       ` [rft/rfc/patch-2.6.28-rc3+ 20/59] omap: namespace cleanup to arch/arm/plat-omap/dma.c Felipe Balbi
2008-11-11 22:56                                         ` [rft/rfc/patch-2.6.28-rc3+ 21/59] omap: namespace cleanup to arch/arm/plat-omap/dmtimer.c Felipe Balbi
2008-11-11 22:56                                           ` [rft/rfc/patch-2.6.28-rc3+ 22/59] omap: namespace cleanup to arch/arm/plat-omap/gpio.c Felipe Balbi
2008-11-11 22:56                                             ` [rft/rfc/patch-2.6.28-rc3+ 23/59] omap: namespace cleanup to arch/arm/plat-omap/ocpi.c Felipe Balbi
2008-11-11 22:56                                               ` [rft/rfc/patch-2.6.28-rc3+ 24/59] omap: namespace cleanup to arch/arm/plat-omap/usb.c Felipe Balbi
2008-11-11 22:56                                                 ` [rft/rfc/patch-2.6.28-rc3+ 25/59] omap: namespace cleanup to drivers/cbus/tahvo-usb.c Felipe Balbi
2008-11-11 22:56                                                   ` [rft/rfc/patch-2.6.28-rc3+ 26/59] omap: namespace cleanup to drivers/dsp/dspgateway/dsp.h Felipe Balbi
2008-11-11 22:56                                                     ` [rft/rfc/patch-2.6.28-rc3+ 27/59] omap: namespace cleanup to drivers/dsp/dspgateway/dsp_common.c Felipe Balbi
2008-11-11 22:56                                                       ` [rft/rfc/patch-2.6.28-rc3+ 28/59] omap: namespace cleanup to drivers/dsp/dspgateway/mmu.h Felipe Balbi
2008-11-11 22:56                                                         ` [rft/rfc/patch-2.6.28-rc3+ 29/59] omap: namespace cleanup to drivers/i2c/chips/isp1301_omap.c Felipe Balbi
2008-11-11 22:56                                                           ` [rft/rfc/patch-2.6.28-rc3+ 30/59] omap: namespace cleanup to drivers/i2c/chips/twl4030-usb.c Felipe Balbi
2008-11-11 22:56                                                             ` [rft/rfc/patch-2.6.28-rc3+ 31/59] omap: namespace cleanup to drivers/input/keyboard/omap-keypad.c Felipe Balbi
2008-11-11 22:56                                                               ` [rft/rfc/patch-2.6.28-rc3+ 32/59] omap: namespace cleanup to drivers/mtd/maps/omap_nor.c Felipe Balbi
2008-11-11 22:56                                                                 ` [rft/rfc/patch-2.6.28-rc3+ 33/59] omap: namespace cleanup to drivers/mtd/nand/ams-delta.c Felipe Balbi
2008-11-11 22:56                                                                   ` [rft/rfc/patch-2.6.28-rc3+ 34/59] omap: namespace cleanup to drivers/mtd/nand/omap2.c Felipe Balbi
2008-11-11 22:56                                                                     ` [rft/rfc/patch-2.6.28-rc3+ 35/59] omap: namespace cleanup to drivers/net/irda/omap-ir.c Felipe Balbi
2008-11-11 22:56                                                                       ` [rft/rfc/patch-2.6.28-rc3+ 36/59] omap: namespace cleanup to drivers/pcmcia/omap_cf.c Felipe Balbi
2008-11-11 22:56                                                                         ` [rft/rfc/patch-2.6.28-rc3+ 37/59] omap: namespace cleanup to drivers/rtc/rtc-omap.c Felipe Balbi
2008-11-11 22:56                                                                           ` [rft/rfc/patch-2.6.28-rc3+ 38/59] omap: namespace cleanup to drivers/spi/omap_uwire.c Felipe Balbi
2008-11-11 22:56                                                                             ` [rft/rfc/patch-2.6.28-rc3+ 39/59] omap: namespace cleanup to drivers/usb/gadget/omap_udc.c Felipe Balbi
2008-11-11 22:56                                                                               ` [rft/rfc/patch-2.6.28-rc3+ 40/59] omap: namespace cleanup to drivers/usb/gadget/omap_udc.h Felipe Balbi
2008-11-11 22:57                                                                                 ` [rft/rfc/patch-2.6.28-rc3+ 41/59] omap: namespace cleanup to drivers/usb/host/ehci-omap.c Felipe Balbi
2008-11-11 22:57                                                                                   ` [rft/rfc/patch-2.6.28-rc3+ 42/59] omap: namespace cleanup to drivers/usb/host/ehci-omap.h Felipe Balbi
2008-11-11 22:57                                                                                     ` [rft/rfc/patch-2.6.28-rc3+ 43/59] omap: namespace cleanup to drivers/usb/host/ohci-omap.c Felipe Balbi
2008-11-11 22:57                                                                                       ` [rft/rfc/patch-2.6.28-rc3+ 44/59] omap: namespace cleanup to drivers/usb/musb/omap2430.c Felipe Balbi
2008-11-11 22:57                                                                                         ` [rft/rfc/patch-2.6.28-rc3+ 45/59] omap: namespace cleanup to drivers/video/backlight/omap1_bl.c Felipe Balbi
2008-11-11 22:57                                                                                           ` [rft/rfc/patch-2.6.28-rc3+ 46/59] omap: namespace cleanup to drivers/video/omap/dispc.c Felipe Balbi
2008-11-11 22:57                                                                                             ` [rft/rfc/patch-2.6.28-rc3+ 47/59] omap: namespace cleanup to drivers/video/omap/lcd_ams_delta.c Felipe Balbi
2008-11-11 22:57                                                                                               ` [rft/rfc/patch-2.6.28-rc3+ 48/59] omap: namespace cleanup to drivers/video/omap/lcd_osk.c Felipe Balbi
2008-11-11 22:57                                                                                                 ` [rft/rfc/patch-2.6.28-rc3+ 49/59] omap: namespace cleanup to drivers/video/omap/lcd_p2.c Felipe Balbi
2008-11-11 22:57                                                                                                   ` [rft/rfc/patch-2.6.28-rc3+ 50/59] omap: namespace cleanup to drivers/video/omap/lcdc.c Felipe Balbi
2008-11-11 22:57                                                                                                     ` [rft/rfc/patch-2.6.28-rc3+ 51/59] omap: namespace cleanup to drivers/video/omap/sossi.c Felipe Balbi
2008-11-11 22:57                                                                                                       ` [rft/rfc/patch-2.6.28-rc3+ 52/59] omap: namespace cleanup to fs/xfs/linux-2.6/xfs_aops.c Felipe Balbi
2008-11-11 22:57                                                                                                         ` [rft/rfc/patch-2.6.28-rc3+ 53/59] omap: namespace cleanup to fs/xfs/xfs_iomap.c Felipe Balbi
2008-11-11 22:57                                                                                                           ` [rft/rfc/patch-2.6.28-rc3+ 54/59] omap: namespace cleanup to fs/xfs/xfs_iomap.h Felipe Balbi
2008-11-11 22:57                                                                                                             ` [rft/rfc/patch-2.6.28-rc3+ 55/59] omap: namespace cleanup to arch/arm/plat-omap/include/mach/mtd-xip.h Felipe Balbi
2008-11-11 22:57                                                                                                               ` [rft/rfc/patch-2.6.28-rc3+ 56/59] omap: namespace cleanup to arch/arm/plat-omap/include/mach/pm.h Felipe Balbi
2008-11-11 22:57                                                                                                                 ` [rft/rfc/patch-2.6.28-rc3+ 57/59] omap: namespace cleanup to arch/arm/plat-omap/include/mach/system.h Felipe Balbi
2008-11-11 22:57                                                                                                                   ` [rft/rfc/patch-2.6.28-rc3+ 58/59] omap: namespace cleanup to arch/arm/plat-omap/include/mach/tc.h Felipe Balbi
2008-11-11 22:57                                                                                                                     ` [rft/rfc/patch-2.6.28-rc3+ 59/59] omap: namespace cleanup to arch/arm/plat-omap/include/mach/io.h Felipe Balbi
2008-11-11 23:04 ` [rft/rfc/patch-2.6.28-rc3+ 00/59] namespace cleanup patches Felipe Balbi
2008-11-11 23:21 ` Felipe Balbi
2008-11-11 23:47   ` Tony Lindgren
2008-11-11 23:50     ` Felipe Balbi
2008-11-11 23:58       ` Tony Lindgren [this message]
2008-11-12 10:06 ` stanley.miao

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=20081111235811.GP3984@atomide.com \
    --to=tony@atomide.com \
    --cc=felipe.balbi@nokia.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=me@felipebalbi.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