All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 00/12] Add NVIDIA Tegra FUSE driver
Date: Mon, 14 Jul 2014 08:57:57 +0200	[thread overview]
Message-ID: <20140714065756.GG2081@ulmo> (raw)
In-Reply-To: <20140713063815.GA24843-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3372 bytes --]

On Sat, Jul 12, 2014 at 11:38:15PM -0700, Olof Johansson wrote:
> On Fri, Jul 11, 2014 at 02:15:59PM +0200, Thierry Reding wrote:
> > From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> > 
> > This series is an extension of Peter's original series to add a proper
> > driver for the FUSE block on Tegra.
> > 
> > Patches 1 and 2 are preparatory work that cleans up include lists and
> > introduces a function to query the Tegra chip ID rather than accessing
> > a simple variable. This is used by subsequent patches to allow us to
> > execute code when the variable is accessed to help in pin-pointing
> > locations where it's accessed before the driver had a chance to
> > initialize.
> > 
> > Patches 3 through 8 are Peter's series with a fixup patch by Stephen. I
> > also moved the driver to drivers/soc/tegra/fuse as requested by Olof.
> > 
> > Patches 9 and 10 defer usages of the tegra_get_chip_id() function to a
> > later stage (pure_initcall). This allows patch 11 to set up the early
> > FUSE support code from an early initcall. This has the advantage of not
> > requiring an explicit call from SoC setup code in arch/arm/mach-tegra
> > and will allow the code to be shared on 64-bit variants of Tegra.
> > 
> > Patch 12 finally turns the PMC and powergate support code into a proper
> > driver which also sets up a minimal environment from an early initcall.
> > The driver isn't moved out of arch/arm/mach-tegra yet because people
> > have suggested drivers/power as a good home, but that whole directory
> > depends on the POWER_SUPPLY Kconfig symbol yet this driver doesn't have
> > anything to do with that. Once that debate has been settled the driver
> > can easily be moved out in a separate patch.
> > 
> > Some of the patches in this series introduce diagnostic WARN() messages
> > if functions are called without setup having completed. I've booted the
> > v3.16-rc1 kernel with these changes on top on Tegra20 (TrimSlice),
> > Tegra30 (Beaver), Tegra114 (Dalmore) and Tegra124 (Jetson TK1) without
> > encountering any of the diagnostic warnings and without noticing any
> > breakage.
> > 
> > Olof, this series should address the concerns you expressed after
> > reviewing Stephen's earlier pull request for Peter's FUSE driver series.
> > It would be great if you could take another look to see if this is more
> > according to your taste. I'll see if I can take this through linux-next
> > for a little and if you have no objections will submit another pull
> > request next week.
> 
> I haven't looked at all the patches in detail yet, but I do like
> the approach in general. I've also applied and pushed them out for
> build+test here, but they're queued behind a couple of other builds
> so I won't have it until morning (you can poll for boot logs at
> arm-soc.lixom.net/bootlogs/misc/v3.16-rc4-371-g2c9d948 if you want to
> preempt me).

Looks like Tegra boards are all fine. Thanks for testing these.

> > Peter De Schrijver (5):
> >   ARM: tegra: export apb dma readl/writel
> 
> I thought I saw a patch from Peter that moved the apbio read code to
> the fuse driver since there are no other consumers. I think that's a
> reasonable thing to do.

That's a later patch in this series:

	soc/tegra: fuse: move APB DMA into Tegra20 fuse driver

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: thierry.reding@gmail.com (Thierry Reding)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/12] Add NVIDIA Tegra FUSE driver
Date: Mon, 14 Jul 2014 08:57:57 +0200	[thread overview]
Message-ID: <20140714065756.GG2081@ulmo> (raw)
In-Reply-To: <20140713063815.GA24843@quad.lixom.net>

On Sat, Jul 12, 2014 at 11:38:15PM -0700, Olof Johansson wrote:
> On Fri, Jul 11, 2014 at 02:15:59PM +0200, Thierry Reding wrote:
> > From: Thierry Reding <treding@nvidia.com>
> > 
> > This series is an extension of Peter's original series to add a proper
> > driver for the FUSE block on Tegra.
> > 
> > Patches 1 and 2 are preparatory work that cleans up include lists and
> > introduces a function to query the Tegra chip ID rather than accessing
> > a simple variable. This is used by subsequent patches to allow us to
> > execute code when the variable is accessed to help in pin-pointing
> > locations where it's accessed before the driver had a chance to
> > initialize.
> > 
> > Patches 3 through 8 are Peter's series with a fixup patch by Stephen. I
> > also moved the driver to drivers/soc/tegra/fuse as requested by Olof.
> > 
> > Patches 9 and 10 defer usages of the tegra_get_chip_id() function to a
> > later stage (pure_initcall). This allows patch 11 to set up the early
> > FUSE support code from an early initcall. This has the advantage of not
> > requiring an explicit call from SoC setup code in arch/arm/mach-tegra
> > and will allow the code to be shared on 64-bit variants of Tegra.
> > 
> > Patch 12 finally turns the PMC and powergate support code into a proper
> > driver which also sets up a minimal environment from an early initcall.
> > The driver isn't moved out of arch/arm/mach-tegra yet because people
> > have suggested drivers/power as a good home, but that whole directory
> > depends on the POWER_SUPPLY Kconfig symbol yet this driver doesn't have
> > anything to do with that. Once that debate has been settled the driver
> > can easily be moved out in a separate patch.
> > 
> > Some of the patches in this series introduce diagnostic WARN() messages
> > if functions are called without setup having completed. I've booted the
> > v3.16-rc1 kernel with these changes on top on Tegra20 (TrimSlice),
> > Tegra30 (Beaver), Tegra114 (Dalmore) and Tegra124 (Jetson TK1) without
> > encountering any of the diagnostic warnings and without noticing any
> > breakage.
> > 
> > Olof, this series should address the concerns you expressed after
> > reviewing Stephen's earlier pull request for Peter's FUSE driver series.
> > It would be great if you could take another look to see if this is more
> > according to your taste. I'll see if I can take this through linux-next
> > for a little and if you have no objections will submit another pull
> > request next week.
> 
> I haven't looked at all the patches in detail yet, but I do like
> the approach in general. I've also applied and pushed them out for
> build+test here, but they're queued behind a couple of other builds
> so I won't have it until morning (you can poll for boot logs at
> arm-soc.lixom.net/bootlogs/misc/v3.16-rc4-371-g2c9d948 if you want to
> preempt me).

Looks like Tegra boards are all fine. Thanks for testing these.

> > Peter De Schrijver (5):
> >   ARM: tegra: export apb dma readl/writel
> 
> I thought I saw a patch from Peter that moved the apbio read code to
> the fuse driver since there are no other consumers. I think that's a
> reasonable thing to do.

That's a later patch in this series:

	soc/tegra: fuse: move APB DMA into Tegra20 fuse driver

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140714/39e3fcd8/attachment-0001.sig>

  parent reply	other threads:[~2014-07-14  6:57 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-11 12:15 [PATCH 00/12] Add NVIDIA Tegra FUSE driver Thierry Reding
2014-07-11 12:15 ` Thierry Reding
2014-07-11 12:16 ` [PATCH 02/12] ARM: tegra: Use a function to get the chip ID Thierry Reding
2014-07-11 12:16   ` Thierry Reding
2014-07-11 12:16 ` [PATCH 05/12] soc/tegra: Add efuse driver for Tegra Thierry Reding
2014-07-11 12:16   ` Thierry Reding
     [not found]   ` <1405080971-7609-6-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-10-19  3:12     ` Shawn Guo
2014-10-19  3:12       ` Shawn Guo
2014-11-10 15:10       ` Thierry Reding
2014-11-10 15:10         ` Thierry Reding
     [not found] ` <1405080971-7609-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-07-11 12:16   ` [PATCH 01/12] ARM: tegra: Sort includes alphabetically Thierry Reding
2014-07-11 12:16     ` Thierry Reding
2014-07-11 12:16   ` [PATCH 03/12] ARM: tegra: export apb dma readl/writel Thierry Reding
2014-07-11 12:16     ` Thierry Reding
2014-07-11 12:16   ` [PATCH 04/12] ARM: tegra: move fuse exports to tegra-soc.h Thierry Reding
2014-07-11 12:16     ` Thierry Reding
2014-07-11 12:16   ` [PATCH 06/12] soc/tegra: Add efuse and apbmisc bindings Thierry Reding
2014-07-11 12:16     ` Thierry Reding
2014-07-11 12:16   ` [PATCH 07/12] soc/tegra: fuse: move APB DMA into Tegra20 fuse driver Thierry Reding
2014-07-11 12:16     ` Thierry Reding
2014-07-11 12:16   ` [PATCH 08/12] misc: fuse: fix dummy functions Thierry Reding
2014-07-11 12:16     ` Thierry Reding
2014-07-11 12:16   ` [PATCH 09/12] ARM: tegra: Setup CPU hotplug in a pure initcall Thierry Reding
2014-07-11 12:16     ` Thierry Reding
2014-07-11 12:16   ` [PATCH 10/12] ARM: tegra: Always lock the CPU reset vector Thierry Reding
2014-07-11 12:16     ` Thierry Reding
2014-07-11 12:16   ` [PATCH 11/12] soc/tegra: fuse: Set up in early initcall Thierry Reding
2014-07-11 12:16     ` Thierry Reding
2014-07-11 12:16   ` [PATCH 12/12] ARM: tegra: Convert PMC to a driver Thierry Reding
2014-07-11 12:16     ` Thierry Reding
     [not found]     ` <1405080971-7609-13-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-07-11 13:58       ` Peter De Schrijver
2014-07-11 13:58         ` Peter De Schrijver
     [not found]         ` <20140711135800.GD23218-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2014-07-14  8:06           ` Thierry Reding
2014-07-14  8:06             ` Thierry Reding
2014-07-16 11:56       ` Arnd Bergmann
2014-07-16 11:56         ` Arnd Bergmann
     [not found]         ` <201407161356.44693.arnd-r2nGTMty4D4@public.gmane.org>
2014-07-16 13:22           ` Thierry Reding
2014-07-16 13:22             ` Thierry Reding
2014-07-16 14:12             ` Arnd Bergmann
2014-07-16 14:12               ` Arnd Bergmann
2014-07-16 15:14               ` Thierry Reding
2014-07-16 15:14                 ` Thierry Reding
2014-07-16 15:22                 ` Arnd Bergmann
2014-07-16 15:22                   ` Arnd Bergmann
2014-07-16 18:57                   ` Thierry Reding
2014-07-16 18:57                     ` Thierry Reding
2014-07-16 19:34                     ` Olof Johansson
2014-07-16 19:34                       ` Olof Johansson
     [not found]                       ` <CAOesGMi=UrLS3OuFb9SAaf9dPBojYrqp4VE0YhGiX1hkLvYanw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-17  8:54                         ` Arnd Bergmann
2014-07-17  8:54                           ` Arnd Bergmann
2014-07-17 11:06                           ` Thierry Reding
2014-07-17 11:06                             ` Thierry Reding
2014-07-21 12:06                             ` Arnd Bergmann
2014-07-21 12:06                               ` Arnd Bergmann
2014-07-21 13:12                               ` Thierry Reding
2014-07-21 13:12                                 ` Thierry Reding
2014-07-21 13:16                                 ` Tejun Heo
2014-07-21 13:16                                   ` Tejun Heo
     [not found]                                   ` <20140721131619.GE12921-Gd/HAXX7CRxy/B6EtB590w@public.gmane.org>
2014-07-21 13:39                                     ` Thierry Reding
2014-07-21 13:39                                       ` Thierry Reding
2014-07-17  8:53                     ` Peter De Schrijver
2014-07-17  8:53                       ` Peter De Schrijver
2014-07-17  9:01                       ` Peter De Schrijver
2014-07-17  9:01                         ` Peter De Schrijver
     [not found]                         ` <20140717090156.GR23218-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2014-07-17 11:01                           ` Thierry Reding
2014-07-17 11:01                             ` Thierry Reding
2014-07-21  7:09                             ` Vince Hsu
2014-07-21  7:09                               ` Vince Hsu
     [not found]                               ` <53CCBCA9.7020907-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-07-21  9:02                                 ` Thierry Reding
2014-07-21  9:02                                   ` Thierry Reding
2014-07-22  3:34                                   ` Vince Hsu
2014-07-22  3:34                                     ` Vince Hsu
2014-07-13  6:38   ` [PATCH 00/12] Add NVIDIA Tegra FUSE driver Olof Johansson
2014-07-13  6:38     ` Olof Johansson
     [not found]     ` <20140713063815.GA24843-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2014-07-14  6:57       ` Thierry Reding [this message]
2014-07-14  6:57         ` Thierry Reding

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=20140714065756.GG2081@ulmo \
    --to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=arnd-r2nGTMty4D4@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    /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.