RE: Patch "ARM: tegra: select required CPU and L2 errata options" has been added to the 3.2-stable tree

2012-04-05 Thread Stephen Warren
ta-options.patch > and it can be found in the queue-3.2 subdirectory. > > If you, or anyone else, feels it should not be added to the stable tree, > please let know about it. > > > From f35b431dde39fb40944d1024f08d88fbf04a3193 Mon Sep 17 00:00:00 2001 > From: Stephen W

[PATCH] ARM: tegra: remove Tegra30 errata from MACH_TEGRA_DT

2012-04-05 Thread Stephen Warren
From: Stephen Warren Commit 83e4194 "ARM: tegra: select required CPU and L2 errata options" contained two chunks; one was errata for Tegra20 (correctly applied) and the second errata for Tegra30. The latter was accidentally applied to the wrong config option; Tegra30 support wasn

Re: [ 12/75] USB: EHCI: work around silicon bug in Intels EHCI controllers

2013-03-19 Thread Stephen Warren
On 03/18/2013 03:06 PM, Greg Kroah-Hartman wrote: > 3.8-stable review patch. If anyone has any objections, please let me know. This patch causes reboot/shutdown to fail on Tegra-based systems in 3.9-rc3. I reported this at: http://www.spinics.net/lists/linux-usb/msg82518.html although there's

Re: hangs on boot in 9984d7394618df9

2013-04-08 Thread Stephen Warren
On 04/08/2013 03:48 PM, Al Viro wrote: > On Mon, Apr 08, 2013 at 10:23:27PM +0100, Al Viro wrote: >> On Mon, Apr 08, 2013 at 03:52:08PM -0500, Nathan Zimmer wrote: >> >>> Further digging seems to indicate 9984d7394618df9, the one right >>> after the commit I previously identified. >>> Not sure what

Re: hangs on boot in 9984d7394618df9

2013-04-08 Thread Stephen Warren
On 04/08/2013 05:06 PM, Al Viro wrote: > On Mon, Apr 08, 2013 at 03:45:31PM -0700, Doug Anderson wrote: >> Hi, >> >> On Mon, Apr 8, 2013 at 3:17 PM, Stephen Warren wrote: >>>> Anyway, I've just pushed a splitup of that commit (carved in 3 pieces) >>&

[PATCH 1/6] UPSTREAM: regmap: Initialize `map->debugfs' before regcache

2013-06-03 Thread Stephen Warren
d-off-by: Dimitris Papastamos Signed-off-by: Mark Brown Cc: stable@vger.kernel.org Signed-off-by: Stephen Warren --- drivers/base/regmap/regmap.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index f00b059.

[PATCH 2/6] UPSTREAM: regmap: cache Fix regcache-rbtree sync

2013-06-03 Thread Stephen Warren
ac8d91c ("regmap: Supply ranges to the sync operations"). Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown Cc: stable@vger.kernel.org Signed-off-by: Stephen Warren --- drivers/base/regmap/regcache-rbtree.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

RE: [PATCH 1/6] UPSTREAM: regmap: Initialize `map->debugfs' before regcache

2013-06-03 Thread Stephen Warren
Stephen Warren wrote at Monday, June 03, 2013 11:03 AM: > From: Dimitris Papastamos > > In the rbtree code we are exposing statistics relating to the > number of nodes/registers of the rbtree cache for each of the > devices. Ensure that `map->debugfs' has been initialized

RE: [PATCH 1/6] UPSTREAM: regmap: Initialize `map->debugfs' before regcache

2013-06-05 Thread Stephen Warren
Ben Hutchings wrote at Tuesday, June 04, 2013 6:46 PM: > On Mon, 2013-06-03 at 10:07 -0700, Stephen Warren wrote: > > Stephen Warren wrote at Monday, June 03, 2013 11:03 AM: > > > From: Dimitris Papastamos > > > > > > In the rbtree code we are exposing statis

Re: [PATCH V2] drm/tegra: add MODULE_DEVICE_TABLEs

2014-07-23 Thread Stephen Warren
On 06/18/2014 04:21 PM, Stephen Warren wrote: > From: Stephen Warren > > When tegra-drm.ko is built as a module, these MODULE_DEVICE_TABLEs allow > the module to be auto-loaded since the module will match the devices > instantiated from device tree. > > (Notes for stable:

[PATCH] ARM: tegra: apalis/colibri t30: fix on-module 5v0 supplies

2014-08-22 Thread Stephen Warren
Ziswiler Signed-off-by: Stephen Warren --- arch/arm/boot/dts/tegra30-apalis.dtsi | 11 ++- arch/arm/boot/dts/tegra30-colibri.dtsi | 11 ++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/arch/arm/boot/dts/tegra30-apalis.dtsi

[PATCH 1/3] ARM: tegra: remove UART5/UARTE from tegra124.dtsi

2014-04-01 Thread Stephen Warren
From: Stephen Warren Tegra124 only has 4 UARTs. Parts of the documentation hint at a fifth UART, but this appears to be left-over from earlier SoC documentation. Remove the non-existent DT node for UART5. Cc: Signed-off-by: Stephen Warren --- arch/arm/boot/dts/tegra124.dtsi | 13

[PATCH 2/3] clk: tegra: remove non-existent clocks

2014-04-01 Thread Stephen Warren
From: Stephen Warren The Tegra124 clock driver currently provides 3 clocks that don't actually exist; 2 for NAND and one for UART5/UARTE. Delete these. Cc: Signed-off-by: Stephen Warren --- drivers/clk/tegra/clk-tegra124.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/driver

[PATCH 3/3] dt: tegra: remove non-existent clock IDs

2014-04-01 Thread Stephen Warren
From: Stephen Warren The Tegra124 clock DT binding currently provides 3 clocks that don't actually exist; 2 for NAND and one for UART5/UARTE. Delete these. While this is technically an incompatible DT ABI change, nothing could have used these clock IDs for anything practical, since t

Re: [PATCH 1/3] ARM: tegra: remove UART5/UARTE from tegra124.dtsi

2014-04-14 Thread Stephen Warren
On 04/01/2014 02:13 PM, Stephen Warren wrote: > From: Stephen Warren > > Tegra124 only has 4 UARTs. Parts of the documentation hint at a fifth > UART, but this appears to be left-over from earlier SoC documentation. > Remove the non-existent DT node for UART5. arm-soc maintain

[PATCH] USB: EHCI: tegra: set txfill_tuning

2014-04-14 Thread Stephen Warren
From: Stephen Warren To avoid memory fetch underflows with larger USB transfers, Tegra SoCs need txfill_tuning's txfifothresh register field set to a non-default value. Add a custom reset override in order to set this up. These values are recommended practice for all Tegra chips. However,

Re: [PATCH 2/3] clk: tegra: remove non-existent clocks

2014-04-23 Thread Stephen Warren
On 04/01/2014 02:13 PM, Stephen Warren wrote: > From: Stephen Warren > > The Tegra124 clock driver currently provides 3 clocks that don't actually > exist; 2 for NAND and one for UART5/UARTE. Delete these. Mike, are you OK with this patch? Can I get your ack so this patch ca

Re: [PATCH] ARM: tegra: Use PMC scratch register 40 for tegra_resume() location store

2015-01-09 Thread Stephen Warren
an unknown key On Mon, Dec 22, 2014 at 11:00:16AM -0700, Stephen Warren wrote: On 12/22/2014 10:27 AM, Dmitry Osipenko wrote: 22.12.2014 19:17, Stephen Warren пишет: On 12/21/2014 03:52 PM, Dmitry Osipenko wrote: Commit 7232398abc6a ("ARM: tegra: Convert PMC to a driver") changed te

Re: [PATCH] ARM: tegra20: Store CPU "resettable" status in IRAM

2015-01-19 Thread Stephen Warren
On 01/19/2015 07:12 AM, Thierry Reding wrote: On Thu, Jan 15, 2015 at 01:58:57PM +0300, Dmitry Osipenko wrote: Commit 7232398abc6a ("ARM: tegra: Convert PMC to a driver") changed tegra_resume() location storing from late to early and, as a result, broke suspend on Tegra20. PMC scratch register

Re: [PATCH] ARM: tegra20: Store CPU "resettable" status in IRAM

2015-01-19 Thread Stephen Warren
On 01/19/2015 10:41 AM, Dmitry Osipenko wrote: 19.01.2015 20:26, Stephen Warren пишет: Hopefully this works out. I suppose it's unlikely anyone will be running code on the AVP upstrem, so any potential conflict with AVP's usage of IRAM isn't likely to occur. I don't see

[PATCH stable] ARM: tegra: unify Tegra's Kconfig a bit more

2013-10-04 Thread Stephen Warren
From: Stephen Warren Move all common select clauses from ARCH_TEGRA_*_SOC to ARCH_TEGRA to eliminate duplication. The USB-related selects all should have been common too, but were missing from Tegra114 previously. Move these to ARCH_TEGRA too. The latter fixes a build break when only Tegra114

[PATCH V2] ARM: tegra: unify Tegra's Kconfig a bit more

2013-10-07 Thread Stephen Warren
From: Stephen Warren Move all common select clauses from ARCH_TEGRA_*_SOC to ARCH_TEGRA to eliminate duplication. The USB-related selects all should have been common too, but were missing from Tegra114 previously. Move these to ARCH_TEGRA too. The latter fixes a build break when only Tegra114

Re: [PATCH stable] ARM: tegra: unify Tegra's Kconfig a bit more

2013-10-07 Thread Stephen Warren
On 10/05/2013 05:38 PM, Greg KH wrote: > On Fri, Oct 04, 2013 at 02:10:11PM -0600, Stephen Warren wrote: >> From: Stephen Warren >> >> Move all common select clauses from ARCH_TEGRA_*_SOC to ARCH_TEGRA to >> eliminate duplication. The USB-related selects all should h

[PATCH] ARM: tegra: only run PL310 init on systems with one

2014-02-18 Thread Stephen Warren
From: Stephen Warren Fix tegra_init_cache() to check whether the system has a PL310 cache before touching the PL310 registers. This prevents access to non-existent registers on Tegra114 and later. Note for stable kernels: In <= v3.12, the file to patch is arch/arm/mach-tegra/common.c.

[PATCH] ARM: tegra: only run PL310 init on systems with one

2014-02-26 Thread Stephen Warren
From: Stephen Warren (This is commit 8859685785bfafadf9bc922dd3a2278e59886947 upstream) Fix tegra_init_cache() to check whether the system has a PL310 cache before touching the PL310 registers. This prevents access to non-existent registers on Tegra114 and later. (When applying this to 3.10

[PATCH] ASoC: tegra: fix uninitialized variables in set_fmt

2013-12-06 Thread Stephen Warren
From: Stephen Warren In tegra*_i2s_set_fmt(), in the (fmt == SND_SOC_DAIFMT_CBM_CFM) case, "val" is never assigned to, but left uninitialized. The other case does initialized it. Fix this by initializing val at the start of the function, and only ever ORing into it. Update the handlin

Re: [PATCH v3] x86: sysfb: remove sysfb when probing real hw

2013-12-19 Thread Stephen Warren
On 12/19/2013 03:13 AM, David Herrmann wrote: > With CONFIG_X86_SYSFB=y, probing real hw-drivers may result in > resource-conflicts and drivers will refuse to load. A call to > request_mem_region() will fail, if the region overlaps with the mem-region > used by simplefb. The common desktop DRM driv

Re: [PATCH v3] x86: sysfb: remove sysfb when probing real hw

2013-12-19 Thread Stephen Warren
On 12/19/2013 11:55 AM, Ingo Molnar wrote: > > * Stephen Warren wrote: > >> On 12/19/2013 03:13 AM, David Herrmann wrote: >>> With CONFIG_X86_SYSFB=y, probing real hw-drivers may result in >>> resource-conflicts and drivers will refuse to load. A call to >&

[PATCH] serial: 8250: enable UART_BUG_NOMSR for Tegra

2014-01-07 Thread Stephen Warren
From: Stephen Warren Tegra chips have 4 or 5 identical UART modules embedded. UARTs C..E have their MODEM-control signals tied off to a static state. However UARTs A and B can optionally route those signals to/from package pins, depending on the exact pinmux configuration. When these signals

Re: [PATCH] ARM: tegra: Use PMC scratch register 40 for tegra_resume() location store

2014-12-22 Thread Stephen Warren
On 12/21/2014 03:52 PM, Dmitry Osipenko wrote: Commit 7232398abc6a ("ARM: tegra: Convert PMC to a driver") changed tegra_resume() location storing from late to early and as result broke suspend on tegra20. PMC scratch register 41 was used by tegra lp1 suspend core code for storing physical memor

Re: [PATCH] ARM: tegra: Use PMC scratch register 40 for tegra_resume() location store

2014-12-22 Thread Stephen Warren
On 12/22/2014 10:27 AM, Dmitry Osipenko wrote: 22.12.2014 19:17, Stephen Warren пишет: On 12/21/2014 03:52 PM, Dmitry Osipenko wrote: Commit 7232398abc6a ("ARM: tegra: Convert PMC to a driver") changed tegra_resume() location storing from late to early and as result broke suspend

[PATCH] ASoC: tegra: fix Tegra30 I2S capture parameter setup

2013-08-14 Thread Stephen Warren
From: Stephen Warren The Tegra30 I2S driver was writing the AHUB interface parameters to the playback path register rather than the capture path register. This caused the capture parameters not to be configured at all, so if capturing using non-HW-default parameters (e.g. 16-bit stereo rather

Re: Proposed stable release changes

2013-08-21 Thread Stephen Warren
On 08/20/2013 04:40 PM, Greg KH wrote: > Hi all, > > Given that I had to just revert a patch in the recent stable releases > that didn't get enough time to "bake" in Linus's tree (or in -next), I > figured it was worth discussing some possible changes with how "fast" I > pick up patches for stable

Re: [PATCH 1/3] cpuidle: coupled: disable interrupts after entering safe state

2013-08-23 Thread Stephen Warren
e safe state. Tested-by: Stephen Warren Note: I tested the current Tegra cpuidle code that's in next-20130819. IIRC, Joseph reported the issue when trying to enable some additional feature in Tegra30 cpuidle. I didn't actually try to enable whatever that was; I just briefly tested for regre

Re: [PATCH 1/3] cpuidle: coupled: disable interrupts after entering safe state

2013-08-26 Thread Stephen Warren
On 08/23/2013 06:22 PM, Colin Cross wrote: > On Fri, Aug 23, 2013 at 4:09 PM, Stephen Warren wrote: >> On 08/23/2013 01:45 PM, Colin Cross wrote: >>> Calling cpuidle_enter_state is expected to return with interrupts >>> enabled, but interrupts must be disabled before

Re: [PATCH 1/4] serial: tegra: fix tty-kref leak

2013-09-10 Thread Stephen Warren
On 09/10/2013 04:50 AM, Johan Hovold wrote: > Fix potential tty-kref leak in stop_rx path. Tested-by: Stephen Warren (For the record, I tested Bluetooth on our Cardhu board, which uses this driver to connect out to the BCM4330 card) -- To unsubscribe from this list: send the line "uns

[PATCH] i2c: Re-instate body of i2c_parent_is_i2c_adapter()

2014-01-13 Thread Stephen Warren
From: Stephen Warren The body of i2c_parent_is_i2c_adapter() is currently guarded by CONFIG_I2C_MUX instead. Among potentially other problems, this resulted in i2c_lock_adapter() only locking I2C mux child adapters, and not the parent adapter. In turn, this could allow inter-mingling of mux

[PATCH] rtc: max8907: weekday encoding fixes

2014-01-13 Thread Stephen Warren
From: Stephen Warren The current MAX8907 driver has two issues related to weekday value handling: 1) The HW WEEKDAY register has range 0..6 rather than 1..7 as documented, hence we should write Linux's tm_wday value to the register without modifying it. Fix the driver not to add/subtr

[PATCH V2] rtc: max8907: weekday encoding fixes

2014-01-14 Thread Stephen Warren
From: Stephen Warren The current MAX8907 driver has two issues related to weekday value handling: 1) The HW WEEKDAY register has range 0..6 rather than 1..7 as documented. Note that I validated the actual HW range by observing the HW register roll from 6->0 rather than 6->7->1

Re: [PATCH] serial: 8250: enable UART_BUG_NOMSR for Tegra

2014-01-15 Thread Stephen Warren
On 01/15/2014 04:12 AM, Heikki Krogerus wrote: > Hi, > > On Tue, Jan 07, 2014 at 03:00:12PM -0700, Stephen Warren wrote: >> diff --git a/drivers/tty/serial/8250/8250_core.c >> b/drivers/tty/serial/8250/8250_core.c >> index e33d38cb170f..61ecd709a722 100644 >&

Re: [PATCH] i2c: Re-instate body of i2c_parent_is_i2c_adapter()

2014-01-16 Thread Stephen Warren
On 01/14/2014 09:12 AM, Wolfram Sang wrote: > On Mon, Jan 13, 2014 at 02:29:04PM -0700, Stephen Warren wrote: >> From: Stephen Warren >> >> The body of i2c_parent_is_i2c_adapter() is currently guarded by >> CONFIG_I2C_MUX instead. > > This paragraph sounds stran

[PATCH] ALSA: hda/hdmi - allow PIN_OUT to be dynamically enabled

2014-01-30 Thread Stephen Warren
From: Stephen Warren Commit 384a48d71520 "ALSA: hda: HDMI: Support codecs with fewer cvts than pins" dynamically enabled each pin widget's PIN_OUT only when the pin was actively in use. This was required on certain NVIDIA CODECs for correct operation. Specifically, if multiple p

[PATCH 1/2] ALSA: hda - hdmi: introduce patch_nvhdmi()

2014-02-03 Thread Stephen Warren
gned-off-by: Takashi Iwai [swarren, extracted just a small part of the original patch] Signed-off-by: Stephen Warren --- sound/pci/hda/patch_hdmi.c | 60 -- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git a/sound/pci/hda/patch_hdmi.c

[PATCH 2/2] ALSA: hda/hdmi - allow PIN_OUT to be dynamically enabled

2014-02-03 Thread Stephen Warren
From: Stephen Warren (This is upstream 75fae117a5db "ALSA: hda/hdmi - allow PIN_OUT to be dynamically enabled", backported to stable 3.10 through 3.12. 3.13 and later can take the original patch.) Commit 384a48d71520 "ALSA: hda: HDMI: Support codecs with fewer cvts than pi

Re: [PATCH 3.11 229/233] ALSA: hda - hdmi: introduce patch_nvhdmi()

2014-02-07 Thread Stephen Warren
On 02/07/2014 07:36 AM, Luis Henriques wrote: > On Fri, Feb 07, 2014 at 12:58:47PM +0100, Levente Kurusa wrote: >> Hi, >> >> On 02/07/2014 12:47 PM, Luis Henriques wrote: >>> 3.11.10.4 -stable review patch. If anyone has any objections, please let >>> me know. >>> [...] >>> >>> +static int pat

Re: [PATCH 3.9-stable] ARM: tegra30: clocks: Fix pciex clock registration

2013-06-19 Thread Stephen Warren
On 06/18/2013 06:19 PM, Jonghwan Choi wrote: > This patch looks like it should be in the 3.9-stable tree, should we apply > it? The PCIe driver doesn't work usefully in that release, so there's not much point back-porting this fix; alone, it won't make PCIe work there. -- To unsubscribe from this

Re: [PATCH 3.9-stable] dma: tegra: avoid channel lock up after free

2013-07-10 Thread Stephen Warren
On 07/10/2013 06:44 AM, Jonghwan Choi wrote: > From: Dmitry Osipenko > > This patch looks like it should be in the 3.9-stable tree, should we apply > it? I guess so; it looks like we converted our audio driver to using dmaengine rather than custom APIs in v3.7, so this fix is indeed relevant in

Re: [PATCH] ASoC: tegra: correct playback_dma_data setup

2013-07-20 Thread Stephen Warren
On 07/20/2013 08:34 PM, Richard Zhao wrote: > The errors were caused by copy/paste mistake in below commit > since v3.10: > 3489d50 ASoC: tegra: Use common DAI DMA data struct > > It also corrects slave_id initialization in tegra20_ac97 driver. Acked-by: Stephen Warren Hmm, th

[PATCH] ASoC: dapm: Use SND_SOC_DAPM_INIT_REG_VAL in SND_SOC_DAPM_MUX

2013-11-22 Thread Stephen Warren
From: Stephen Warren SND_SOC_DAPM_MUX() doesn't currently initialize the .mask field. This results in the mux never affecting HW, since no bits are ever set or cleared. Fix SND_SOC_DAPM_MUX() to use SND_SOC_DAPM_INIT_REG_VAL() to set up the reg, shift, on_val, and off_val fields like almos

Re: [PATCH] ASoC: dapm: Use SND_SOC_DAPM_INIT_REG_VAL in SND_SOC_DAPM_MUX

2013-11-22 Thread Stephen Warren
On 11/22/2013 11:32 AM, Mark Brown wrote: > On Fri, Nov 22, 2013 at 10:29:18AM -0700, Stephen Warren wrote: >> From: Stephen Warren >> >> SND_SOC_DAPM_MUX() doesn't currently initialize the .mask field. >> This results in the mux never affecting HW, since no bits

[PATCH] ARM: bcm2835: add missing #xxx-cells to I2C nodes

2013-11-25 Thread Stephen Warren
The I2C controller node needs #address-cells and #size-cells properties, but these are currently missing. Add them. This allows child nodes to be parsed correctly. Cc: stable@vger.kernel.org Signed-off-by: Stephen Warren --- This is a patch for 3.13-rc. arch/arm/boot/dts/bcm2835.dtsi |4

[PATCH] drm/tegra: add MODULE_DEVICE_TABLEs

2014-06-18 Thread Stephen Warren
From: Stephen Warren When tegra-drm.ko is built as a module, these MODULE_DEVICE_TABLEs allow the module to be auto-loaded since the module will match the devices instantiated from device tree. (Notes for stable: in 3.14+, just git rm any conflicting file, since they are added in later kernels

Re: [PATCH] drm/tegra: add MODULE_DEVICE_TABLEs

2014-06-18 Thread Stephen Warren
On 06/18/2014 03:51 PM, Thierry Reding wrote: > On Wed, Jun 18, 2014 at 03:19:15PM -0600, Stephen Warren wrote: >> From: Stephen Warren >> >> When tegra-drm.ko is built as a module, these MODULE_DEVICE_TABLEs allow >> the module to be auto-loaded since the mo

[PATCH V2] drm/tegra: add MODULE_DEVICE_TABLEs

2014-06-18 Thread Stephen Warren
From: Stephen Warren When tegra-drm.ko is built as a module, these MODULE_DEVICE_TABLEs allow the module to be auto-loaded since the module will match the devices instantiated from device tree. (Notes for stable: in 3.14+, just git rm any conflicting file, since they are added in later kernels

[PATCH] ARM: tegra: remove UART5/UARTE from tegra124.dtsi

2014-05-01 Thread Stephen Warren
From: Stephen Warren (This is commit 862f0eea38409ff0d7f226c1245b787e3f0e2607 upstream) Tegra124 only has 4 UARTs. Parts of the documentation hint at a fifth UART, but this appears to be left-over from earlier SoC documentation. Remove the non-existent DT node for UART5. Cc: # v3.13 Signed

[PATCH] ARM: tegra: remove UART5/UARTE from tegra124.dtsi

2014-05-01 Thread Stephen Warren
From: Stephen Warren (This is commit 862f0eea38409ff0d7f226c1245b787e3f0e2607 upstream) Tegra124 only has 4 UARTs. Parts of the documentation hint at a fifth UART, but this appears to be left-over from earlier SoC documentation. Remove the non-existent DT node for UART5. Cc: # v3.14 Signed

Re: [PATCH] ARM: tegra: remove UART5/UARTE from tegra124.dtsi

2014-05-01 Thread Stephen Warren
On 05/01/2014 10:43 AM, Stephen Warren wrote: > From: Stephen Warren > > (This is commit 862f0eea38409ff0d7f226c1245b787e3f0e2607 upstream) > > Tegra124 only has 4 UARTs. Parts of the documentation hint at a fifth > UART, but this appears to be left-over from earlier SoC docum