All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Chris Metcalf <cmetcalf@tilera.com>
Cc: linuxppc-dev@lists.ozlabs.org,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	kumar.gala@freescale.com, linux-kernel@vger.kernel.org,
	akpm@kernel.org, Deepak Saxena <dsaxena@linaro.org>,
	linux-console@vger.kernel.org, greg@kroah.com,
	Timur Tabi <timur@freescale.com>
Subject: Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver
Date: Tue, 7 Jun 2011 21:16:21 +0200	[thread overview]
Message-ID: <201106072116.21469.arnd@arndb.de> (raw)
In-Reply-To: <4DEE567E.7080102@tilera.com>

On Tuesday 07 June 2011 18:49:02 Chris Metcalf wrote:
> > You can probably argue that the tile drivers do fit in here as long as
> > they are specific to the hypervisor and not to some SOC specific hardware.
> 
> Can you clarify that?   I think you're contrasting something like an ARM
> core that was licensed and put in a SoC by some random vendor, and you
> could have an endless stream of drivers for that case.  The Tilera core
> isn't being licensed; it's sold more like an Intel chip with a fixed set of
> interfaces available only from Tilera.  The particular interface in
> question here is SPI, and the core itself knows how to boot the chip over
> SPI by finding an SPI ROM and reading the boot stream out of it directly
> after power-up.
> 
> So does that match with your model of "drivers/platform/tile"?  Maybe we
> have a winner!  :-)

I'm not really against drivers/platform/tile for this, the only potential
problem that I see with this is that having more stuff in drivers/platform
might lead to having even more other stuff in there that should really
go into another place.

Obviously, if the device is a raw SPI host, the driver should actually go
into drivers/spi/spi_tile.c rather than drivers/platform/tile/spi.c.

For the spi flash driver that goes through the hypervisor abstraction,
I think drivers/virt/tile would be better than driver/platform/tile,
but we should really have a new "abstract flash character driver" subsystem
for that.

	Arnd

WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@arndb.de>
To: Chris Metcalf <cmetcalf@tilera.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	greg@kroah.com, kumar.gala@freescale.com,
	linux-kernel@vger.kernel.org, akpm@kernel.org,
	Deepak Saxena <dsaxena@linaro.org>,
	linux-console@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
	Timur Tabi <timur@freescale.com>
Subject: Re: [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver
Date: Tue, 7 Jun 2011 21:16:21 +0200	[thread overview]
Message-ID: <201106072116.21469.arnd@arndb.de> (raw)
In-Reply-To: <4DEE567E.7080102@tilera.com>

On Tuesday 07 June 2011 18:49:02 Chris Metcalf wrote:
> > You can probably argue that the tile drivers do fit in here as long as
> > they are specific to the hypervisor and not to some SOC specific hardware.
> 
> Can you clarify that?   I think you're contrasting something like an ARM
> core that was licensed and put in a SoC by some random vendor, and you
> could have an endless stream of drivers for that case.  The Tilera core
> isn't being licensed; it's sold more like an Intel chip with a fixed set of
> interfaces available only from Tilera.  The particular interface in
> question here is SPI, and the core itself knows how to boot the chip over
> SPI by finding an SPI ROM and reading the boot stream out of it directly
> after power-up.
> 
> So does that match with your model of "drivers/platform/tile"?  Maybe we
> have a winner!  :-)

I'm not really against drivers/platform/tile for this, the only potential
problem that I see with this is that having more stuff in drivers/platform
might lead to having even more other stuff in there that should really
go into another place.

Obviously, if the device is a raw SPI host, the driver should actually go
into drivers/spi/spi_tile.c rather than drivers/platform/tile/spi.c.

For the spi flash driver that goes through the hypervisor abstraction,
I think drivers/virt/tile would be better than driver/platform/tile,
but we should really have a new "abstract flash character driver" subsystem
for that.

	Arnd

  reply	other threads:[~2011-06-07 19:16 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01 18:35 [PATCH 7/7] [v2] drivers/misc: introduce Freescale hypervisor management driver Timur Tabi
2011-06-01 18:35 ` Timur Tabi
2011-06-01 19:46 ` Alan Cox
2011-06-01 19:46   ` Alan Cox
2011-06-01 19:46   ` Alan Cox
2011-06-01 20:24   ` Timur Tabi
2011-06-01 20:24     ` Timur Tabi
2011-06-01 20:24     ` Timur Tabi
2011-06-01 20:34     ` Alan Cox
2011-06-01 20:34       ` Alan Cox
2011-06-01 20:34       ` Alan Cox
2011-06-01 20:54   ` Scott Wood
2011-06-01 20:54     ` Scott Wood
2011-06-01 20:54     ` Scott Wood
2011-06-01 21:45     ` Alan Cox
2011-06-01 21:45       ` Alan Cox
2011-06-01 21:45       ` Alan Cox
2011-06-01 21:40 ` Arnd Bergmann
2011-06-01 21:40   ` Arnd Bergmann
2011-06-01 22:24   ` Scott Wood
2011-06-01 22:24     ` Scott Wood
2011-06-01 22:24     ` Scott Wood
2011-06-03 15:28     ` Arnd Bergmann
2011-06-03 15:28       ` Arnd Bergmann
2011-06-03 16:22       ` Scott Wood
2011-06-03 16:22         ` Scott Wood
2011-06-03 16:22         ` Scott Wood
2011-06-06 15:53         ` Arnd Bergmann
2011-06-06 15:53           ` Arnd Bergmann
2011-06-06 18:15           ` Scott Wood
2011-06-06 18:15             ` Scott Wood
2011-06-06 18:15             ` Scott Wood
2011-06-06 19:48             ` Arnd Bergmann
2011-06-06 19:48               ` Arnd Bergmann
2011-06-02 21:28   ` Timur Tabi
2011-06-02 21:28     ` Timur Tabi
2011-06-02 21:28     ` Timur Tabi
2011-06-03 15:24     ` Arnd Bergmann
2011-06-03 15:24       ` Arnd Bergmann
2011-06-03 15:28       ` Timur Tabi
2011-06-03 15:28         ` Timur Tabi
2011-06-03 15:28         ` Timur Tabi
2011-06-06 15:42         ` Arnd Bergmann
2011-06-06 15:42           ` Arnd Bergmann
2011-06-06 15:48           ` Timur Tabi
2011-06-06 15:48             ` Timur Tabi
2011-06-06 15:48             ` Timur Tabi
2011-06-06 16:03             ` Arnd Bergmann
2011-06-06 16:03               ` Arnd Bergmann
2011-06-06 16:09               ` Timur Tabi
2011-06-06 16:09                 ` Timur Tabi
2011-06-06 16:09                 ` Timur Tabi
2011-06-06 16:24                 ` Arnd Bergmann
2011-06-06 16:24                   ` Arnd Bergmann
2011-06-06 16:27                   ` Timur Tabi
2011-06-06 16:27                     ` Timur Tabi
2011-06-06 16:27                     ` Timur Tabi
2011-06-06 21:01                   ` Chris Metcalf
2011-06-06 21:01                     ` Chris Metcalf
2011-06-06 21:01                     ` Chris Metcalf
2011-06-06 21:23                     ` Konrad Rzeszutek Wilk
2011-06-06 21:23                       ` Konrad Rzeszutek Wilk
2011-06-06 23:04                       ` Chris Metcalf
2011-06-06 23:04                         ` Chris Metcalf
2011-06-06 23:04                         ` Chris Metcalf
2011-06-07  7:08                         ` Arnd Bergmann
2011-06-07  7:08                           ` Arnd Bergmann
2011-06-07 16:49                           ` Chris Metcalf
2011-06-07 16:49                             ` Chris Metcalf
2011-06-07 16:49                             ` Chris Metcalf
2011-06-07 19:16                             ` Arnd Bergmann [this message]
2011-06-07 19:16                               ` Arnd Bergmann
2011-06-07 19:20                               ` Timur Tabi
2011-06-07 19:20                                 ` Timur Tabi
2011-06-07 19:20                                 ` Timur Tabi
2011-06-07 19:34                                 ` Arnd Bergmann
2011-06-07 19:34                                   ` Arnd Bergmann
2011-06-03 14:44   ` Timur Tabi
2011-06-03 14:44     ` Timur Tabi
2011-06-03 14:44     ` Timur Tabi
2011-06-03 15:17     ` Arnd Bergmann
2011-06-03 15:17       ` Arnd Bergmann

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=201106072116.21469.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=akpm@kernel.org \
    --cc=cmetcalf@tilera.com \
    --cc=dsaxena@linaro.org \
    --cc=greg@kroah.com \
    --cc=konrad.wilk@oracle.com \
    --cc=kumar.gala@freescale.com \
    --cc=linux-console@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=timur@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.