Re: [RFC PATCH] tty/serial: at91: disable uart timer at start of shutdown

2014-01-08 Thread Mark Roszko
Just to sumarize the bug after poking before the patch: systemd calls open/close on /dev/ttyS0 per line atmel_shutdown executes on close uart_timer_callback may fire during shutdown before timer is killed tasklet gets scheduled after tasklet_kill atmel_shutdown returns back to uart_c

[PATCH] mm/swap: fix race on swap_info reuse between swapoff and swapon

2014-01-08 Thread Weijie Yang
swapoff clear swap_info's SWP_USED flag prematurely and free its resources after that. A concurrent swapon will reuse this swap_info while its previous resources are not cleared completely. These late freed resources are: - p->percpu_cluster - swap_cgroup_ctrl[type] - block_device setting - inode-

Re: Idle power fix regresses ebizzy performance (was 3.12-stable backport of NUMA balancing patches)

2014-01-08 Thread Greg KH
On Wed, Jan 08, 2014 at 01:48:58PM +, Mel Gorman wrote: > Adding LKML to the list as this -stable snifftest has identified an > upstream regression. > > On Wed, Jan 08, 2014 at 10:43:40AM +, Mel Gorman wrote: > > On Tue, Jan 07, 2014 at 08:30:12PM +, Mel Gorman wrote: > > > On Tue, Jan

[PATCH v2 3/3] ath9k: Disable cross-band FCC

2014-01-08 Thread Sujith Manoharan
From: Sujith Manoharan Fast Channel Change across bands was enabled for AR9462 recently, but this is causing baseband issues. Disable it until this feature is tested well. Also, remove the feature bit for AR9565 since it is a single-band card and doesn't support this feature. Cc: stable@vger.ker

[PATCH v2 2/3] ath9k: Use correct channel for RX packets

2014-01-08 Thread Sujith Manoharan
From: Sujith Manoharan Accessing the current channel definition in mac80211 when processing RX packets is problematic because it could have been updated when a scan is issued. Since a channel change involves flushing the existing packets in the RX queue before a chip-reset is done, they would be

Re: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-08 Thread walt
On 01/03/2014 03:29 PM, Sarah Sharp wrote: > I'll let you know when I have some diagnostic patches ready. Hi Sarah. I see today gregkh committed the patches you've already sent me, so I assume someone (other than me) has tested those patches and discovered some benefit from them? I'm still wond

Re: [char-misc 4/4] mei: limit the number of consecutive resets

2014-01-08 Thread Greg KH
On Wed, Jan 08, 2014 at 08:19:24PM +0200, Tomas Winkler wrote: > give up reseting after 3 unsuccessful tries > > Cc: > Signed-off-by: Tomas Winkler > Signed-off-by: Alexander Usyskin > --- > drivers/misc/mei/client.c | 1 + > drivers/misc/mei/init.c| 10 ++ > drivers/misc/mei/me

Re: [char-misc 3/4] mei: revamp mei reset state machine

2014-01-08 Thread Greg KH
On Wed, Jan 08, 2014 at 08:19:23PM +0200, Tomas Winkler wrote: > 1. MEI_DEV_RESETTING device state spans only hardware reset flow > while starting dev state is saved into a local variable for further > reference, this let us to reduce big if statements in case we > are trying to avoid nested resets

patch "mei: use hbm idle state to prevent spurious resets" added to char-misc tree

2014-01-08 Thread gregkh
This is a note to let you know that I've just added the patch titled mei: use hbm idle state to prevent spurious resets to my char-misc git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git in the char-misc-next branch. The patch will show up

Re: [char-misc 1/4] mei: do not run reset flow from the interrupt thread

2014-01-08 Thread Greg KH
On Wed, Jan 08, 2014 at 08:19:21PM +0200, Tomas Winkler wrote: > This fixes a potential deadlock in case of a firmware > initiated reset > > mei_reset has a dialog with the interrupt thread hence > it has to be run from an another work item > > Most of the mei_resets were called from mei_hbm_disp

Re: [char-misc 3/4] mei: revamp mei reset state machine

2014-01-08 Thread Greg KH
On Wed, Jan 08, 2014 at 08:19:23PM +0200, Tomas Winkler wrote: > 1. MEI_DEV_RESETTING device state spans only hardware reset flow > while starting dev state is saved into a local variable for further > reference, this let us to reduce big if statements in case we > are trying to avoid nested resets

+ mm-fix-crash-when-using-xfs-on-loopback.patch added to -mm tree

2014-01-08 Thread akpm
Subject: + mm-fix-crash-when-using-xfs-on-loopback.patch added to -mm tree To: mpato...@redhat.com,a...@linux.intel.com,c...@linux.com,dave.ang...@bell.net,del...@gmx.de,iamjoonsoo@lge.com,penb...@kernel.org,stable@vger.kernel.org From: a...@linux-foundation.org Date: Wed, 08 Jan 2014 14:01:58

Re: [PATCH] ext4: avoid clearing beyond i_blocks when truncating an inline data file

2014-01-08 Thread Jan Kara
On Tue 07-01-14 12:57:17, Ted Tso wrote: > A missing cast means that when we are truncating a file which is less > than 60 bytes, we don't trunate the wrong area of memory, and in fact > we can end up truncating the next inode in the inode table, or worse > yet, some other kernel data structure.

+ nilfs2-fix-segctor-bug-that-causes-file-system-corruption.patch added to -mm tree

2014-01-08 Thread akpm
Subject: + nilfs2-fix-segctor-bug-that-causes-file-system-corruption.patch added to -mm tree To: andreas.roh...@gmx.net,konishi.ryus...@lab.ntt.co.jp,stable@vger.kernel.org From: a...@linux-foundation.org Date: Wed, 08 Jan 2014 12:47:17 -0800 The patch titled Subject: nilfs2: fix segctor bu

patch "xhci: Set scatter-gather limit to avoid failed block writes." added to usb tree

2014-01-08 Thread gregkh
This is a note to let you know that I've just added the patch titled xhci: Set scatter-gather limit to avoid failed block writes. to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-next branch. The patch will show up in the n

patch "xhci: Avoid infinite loop when sg urb requires too many trbs" added to usb tree

2014-01-08 Thread gregkh
This is a note to let you know that I've just added the patch titled xhci: Avoid infinite loop when sg urb requires too many trbs to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-next branch. The patch will show up in the n

[char-misc-next] mei: nfc: mei_nfc_free has to be called under lock

2014-01-08 Thread Tomas Winkler
nfc_nfc_free unlink clients from the device list and has to be called under mei mutex Signed-off-by: Tomas Winkler Reviewed-by: Alexander Usyskin --- drivers/misc/mei/nfc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/misc/mei/nfc.c b/drivers/misc/mei/nfc.c index 0a89220..54961

Re: Linux 3.4.76

2014-01-08 Thread Greg KH
diff --git a/Makefile b/Makefile index 2d084a418789..8045c75414ae 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 4 -SUBLEVEL = 75 +SUBLEVEL = 76 EXTRAVERSION = NAME = Saber-toothed Squirrel diff --git a/arch/powerpc/include/asm/exception-64s.h b/arch/powerpc/i

Linux 3.4.76

2014-01-08 Thread Greg KH
I'm announcing the release of the 3.4.76 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

[char-misc 1/4] mei: do not run reset flow from the interrupt thread

2014-01-08 Thread Tomas Winkler
This fixes a potential deadlock in case of a firmware initiated reset mei_reset has a dialog with the interrupt thread hence it has to be run from an another work item Most of the mei_resets were called from mei_hbm_dispatch which is called in interrupt thread context so this function underwent m

[char-misc 0/4] mei: reset fix

2014-01-08 Thread Tomas Winkler
This series should address possible hiccup in mei reset flow presenting itself as never ending repetition of error line. unexpected reset: dev_state = RESETTING The patches make sure that stall watchdog doesn't jump in prior to its time; second the reset flow won't recuse, and at last it w

[char-misc 4/4] mei: limit the number of consecutive resets

2014-01-08 Thread Tomas Winkler
give up reseting after 3 unsuccessful tries Cc: Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/client.c | 1 + drivers/misc/mei/init.c| 10 ++ drivers/misc/mei/mei_dev.h | 7 +++ 3 files changed, 18 insertions(+) diff --git a/drivers/mis

[char-misc 2/4] mei: use hbm idle state to prevent spurious resets

2014-01-08 Thread Tomas Winkler
When reset is caused by hbm protocol mismatch or timeout we might end up in an endless reset loop and hbm protocol will never sync Cc: Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/hbm.c | 19 +++ drivers/misc/mei/hbm.h | 1 +

[char-misc 3/4] mei: revamp mei reset state machine

2014-01-08 Thread Tomas Winkler
1. MEI_DEV_RESETTING device state spans only hardware reset flow while starting dev state is saved into a local variable for further reference, this let us to reduce big if statements in case we are trying to avoid nested resets 2. During initializations if the reset ended in MEI_DEV_DISABLED devi

Re: [PATCH 00/13] 3.12-stable backport of NUMA balancing patches

2014-01-08 Thread Luis Henriques
Hi Mel, On Tue, Jan 07, 2014 at 02:00:35PM +, Mel Gorman wrote: > A number of NUMA balancing patches were tagged for -stable but I got a > number of rejected mails from either Greg or his robot minion. The list > of relevant patches is > > FAILED: patch "[PATCH] mm: numa: serialise parallel

RE: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-08 Thread David Laight
> From: Alan Stern > On Wed, 8 Jan 2014, David Laight wrote: > > > > From: Alan Stern > > > > > > This may be a foolish question, but why is xhci-hcd using no-op TRBs in > > > the first place? > > > > Because it can't write in a link TRB because other parts of the > > code use link TRBs to detect

RE: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-08 Thread Alan Stern
On Wed, 8 Jan 2014, David Laight wrote: > > From: Alan Stern > > > > This may be a foolish question, but why is xhci-hcd using no-op TRBs in > > the first place? > > Because it can't write in a link TRB because other parts of the > code use link TRBs to detect the end of the ring. > > The probl

RE: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-08 Thread David Laight
> From: Alan Stern > > This may be a foolish question, but why is xhci-hcd using no-op TRBs in > the first place? Because it can't write in a link TRB because other parts of the code use link TRBs to detect the end of the ring. The problem is that it can't put a link TRB in the middle of a chain

Re: [PATCH v5 0/4] Fix i2c bus hang on A0 version of the Armada XP SoCs

2014-01-08 Thread Gregory CLEMENT
On 08/01/2014 16:06, Gregory CLEMENT wrote: > Hi, > > Here come the 5th version of the series fixing the i2c bus hang on A0 > version of the Armada XP SoCs. It occurred on the early release of the > OpenBlocks AX3-4 boards. Indeed the first variants of Armada XP SoCs > (A0 stepping) have issues re

Re: [PATCH 2/2] PCI: Only enable realloc auto when root bus has 64bit mmio

2014-01-08 Thread Joseph Salisbury
On 12/11/2013 02:55 PM, Yinghai Lu wrote: > On Wed, Dec 11, 2013 at 11:19 AM, Joseph Salisbury > wrote: >> On 12/09/2013 03:10 PM, Yinghai Lu wrote: >>> On Mon, Dec 9, 2013 at 11:42 AM, Bjorn Helgaas wrote: That doesn't answer my question at all. I understand that this change makes

Re: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-08 Thread Alan Stern
On Tue, 7 Jan 2014, Sarah Sharp wrote: > On Tue, Jan 07, 2014 at 03:57:00PM -0800, walt wrote: > > On 01/07/2014 01:21 PM, Sarah Sharp wrote: > > > > > Can you please try the attached patch, on top of the previous three > > > patches, and send me dmesg? > > > > Hi Sarah, I just now finished runn

RE: [PATCH] crash_dump: fix compilation error (on MIPS at least)

2014-01-08 Thread Qais Yousef
Ping. > -Original Message- > From: Vivek Goyal [mailto:vgo...@redhat.com] > Sent: 12 December 2013 14:42 > To: Qais Yousef; Andrew Morton > Cc: linux-ker...@vger.kernel.org; Michael Holzheu; linux-m...@linux-mips.org; > stable@vger.kernel.org > Subject: Re: [PATCH] crash_dump: fix compilat

[PATCH] ath9k: Disable cross-band FCC

2014-01-08 Thread Sujith Manoharan
From: Sujith Manoharan Fast Channel Change across bands was enabled for AR9462 recently, but this is causing baseband issues. Disable it until this feature is tested well. Also, remove the feature bit for AR9565 since it is a single-band card and doesn't support this feature. Cc: stable@vger.ker

[PATCH] ath9k: Use correct channel for RX packets

2014-01-08 Thread Sujith Manoharan
From: Sujith Manoharan Accessing the current channel definition in mac80211 when processing RX packets is problematic because it could have been updated when a scan is issued. Since a channel change involves flushing the existing packets in the RX queue before a chip-reset is done, they would be

RE: [PATCH 3.12 033/118] usb: xhci: Link TRB must not occur within a USB payload burst

2014-01-08 Thread David Laight
> From: Sarah Sharp > On Tue, Jan 07, 2014 at 03:57:00PM -0800, walt wrote: > > On 01/07/2014 01:21 PM, Sarah Sharp wrote: > > > > > Can you please try the attached patch, on top of the previous three > > > patches, and send me dmesg? > > > > Hi Sarah, I just now finished running 0001-More-debuggin

Re: [Intel-gfx] [PATCH 1/2] drm/i915: fix DDI PLLs HW state readout code

2014-01-08 Thread Ville Syrjälä
On Wed, Jan 08, 2014 at 03:53:28PM +0100, Daniel Vetter wrote: > On Wed, Jan 08, 2014 at 11:12:27AM -0200, Paulo Zanoni wrote: > > From: Paulo Zanoni > > > > Properly zero the refcounts and crtc->ddi_pll_set so the previous HW > > state doesn't affect the result of reading the current HW state. >

Re: [PATCH v5 3/4] i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014, Gregory CLEMENT wrote: > On 08/01/2014 16:21, Wolfram Sang wrote: > >> diff --git a/drivers/i2c/busses/i2c-mv64xxx.c > >> b/drivers/i2c/busses/i2c-mv64xxx.c > >> index 8be7e42aa4de..f424c0f89946 100644 > >> --- a/drivers/i2c/busses/i2c-mv64xxx.c > >> +++ b/drivers/i2

Re: [PATCH v5 2/4] ARM: mvebu: Add quirk for i2c for the OpenBlocks AX3-4 board

2014-01-08 Thread Gregory CLEMENT
On 08/01/2014 16:22, Wolfram Sang wrote: >> +new_compat->name = kstrdup("compatible", GFP_KERNEL); >> +new_compat->length = sizeof("marvell,mv78230-a0-i2c"); >> +new_compat->value = kstrdup("marvell,mv78230-a0-i2c", >> +

Re: [PATCH v5 3/4] i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs

2014-01-08 Thread Wolfram Sang
> >> + { > >> + .compatible = "marvell,mv78230-a0-i2c", > >> + .data = &mv64xxx_i2c_regs_mv64xxx > >> + }, > > > > I think a oneliner entry like the entries above is easier to read, but > > that is very minor... > > By using one line we would break the 80 character rule, > hat

Re: [PATCH v5 3/4] i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs

2014-01-08 Thread Gregory CLEMENT
On 08/01/2014 16:21, Wolfram Sang wrote: > On Wed, Jan 08, 2014 at 04:06:28PM +0100, Gregory CLEMENT wrote: >> The first variants of Armada XP SoCs (A0 stepping) have issues related >> to the i2c controller which prevent to use the offload mechanism and >> lead to a kernel hang during boot. >> >> T

Re: [PATCH v5 2/4] ARM: mvebu: Add quirk for i2c for the OpenBlocks AX3-4 board

2014-01-08 Thread Wolfram Sang
> + new_compat->name = kstrdup("compatible", GFP_KERNEL); > + new_compat->length = sizeof("marvell,mv78230-a0-i2c"); > + new_compat->value = kstrdup("marvell,mv78230-a0-i2c", > + GFP_KERNEL); > + Very minor again: S

Re: [PATCH v5 3/4] i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs

2014-01-08 Thread Wolfram Sang
On Wed, Jan 08, 2014 at 04:06:28PM +0100, Gregory CLEMENT wrote: > The first variants of Armada XP SoCs (A0 stepping) have issues related > to the i2c controller which prevent to use the offload mechanism and > lead to a kernel hang during boot. > > The commit introduces a new the compatible strin

Re: [PATCH v5 0/4] Fix i2c bus hang on A0 version of the Armada XP SoCs

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 16:06:25 Gregory CLEMENT wrote: > Hi, > > Here come the 5th version of the series fixing the i2c bus hang on A0 > version of the Armada XP SoCs. It occurred on the early release of the > OpenBlocks AX3-4 boards. Indeed the first variants of Armada XP SoCs > (A0 steppin

[PATCH v5 3/4] i2c: mv64xxx: Fix bus hang on A0 version of the Armada XP SoCs

2014-01-08 Thread Gregory CLEMENT
The first variants of Armada XP SoCs (A0 stepping) have issues related to the i2c controller which prevent to use the offload mechanism and lead to a kernel hang during boot. The commit introduces a new the compatible string marvell,mv78230-a0-i2c for the i2c controller. When this compatible strin

[PATCH v5 2/4] ARM: mvebu: Add quirk for i2c for the OpenBlocks AX3-4 board

2014-01-08 Thread Gregory CLEMENT
The first variants of Armada XP SoCs (A0 stepping) have issues related to the i2c controller which prevent to use the offload mechanism and lead to a kernel hang during boot. This commit add quirk in the mvebu platform code to check the SoC version and then update the compatible string for the i2c

[PATCH v5 4/4] i2c: mv64xxx: Document the newly introduced Armada XP A0 compatible

2014-01-08 Thread Gregory CLEMENT
The first variants of Armada XP SoCs (A0 stepping) have issues related to the i2c controller which prevent to use the offload mechanism and ead to a kernel hang during boot. The commit introduces a new the compatible string marvell,mv78230-a0-i2c for the i2c controller. Signed-off-by: Gregory CLE

[PATCH v5 0/4] Fix i2c bus hang on A0 version of the Armada XP SoCs

2014-01-08 Thread Gregory CLEMENT
Hi, Here come the 5th version of the series fixing the i2c bus hang on A0 version of the Armada XP SoCs. It occurred on the early release of the OpenBlocks AX3-4 boards. Indeed the first variants of Armada XP SoCs (A0 stepping) have issues related to the i2c controller which prevent to use the off

[PATCH v5 1/4] ARM: mvebu: Add support to get the ID and the revision of a SoC

2014-01-08 Thread Gregory CLEMENT
All the mvebu SoCs have information related to their variant and revision that can be read from the PCI control register. This patch adds support for Armada XP and Armada 370. This reading of the revision and the ID are done before the PCI initialization to avoid any conflicts. Once these data are

Re: [Intel-gfx] [PATCH 1/2] drm/i915: fix DDI PLLs HW state readout code

2014-01-08 Thread Daniel Vetter
On Wed, Jan 08, 2014 at 11:12:27AM -0200, Paulo Zanoni wrote: > From: Paulo Zanoni > > Properly zero the refcounts and crtc->ddi_pll_set so the previous HW > state doesn't affect the result of reading the current HW state. > > This fixes WARNs about WRPLL refcount if we have an HDMI monitor on >

Re: [RFC PATCH] tty/serial: at91: disable uart timer at start of shutdown

2014-01-08 Thread Mark Roszko
**Sorry for the duplicate mail, I forgot to force plain-text mode in gmail or the mailing list rejects the mails. Sigh, I need to buy my own email server at this rate to even deal with the mailing lists and proper etiquette (no quoteS) :( Ah, I forgot there was that third mode(no dma and no pdc).

Re: [Intel-gfx] [PATCH 1/2] drm/i915: fix DDI PLLs HW state readout code

2014-01-08 Thread Damien Lespiau
On Wed, Jan 08, 2014 at 11:12:27AM -0200, Paulo Zanoni wrote: > From: Paulo Zanoni > > Properly zero the refcounts and crtc->ddi_pll_set so the previous HW > state doesn't affect the result of reading the current HW state. > > This fixes WARNs about WRPLL refcount if we have an HDMI monitor on >

Re: [PATCH 3.12 000/144] 3.12.7-stable review

2014-01-08 Thread Greg Kroah-Hartman
On Wed, Jan 08, 2014 at 05:56:21AM -0800, Guenter Roeck wrote: > On 01/07/2014 02:00 PM, Shuah Khan wrote: > > On 01/07/2014 12:16 PM, Greg Kroah-Hartman wrote: > >> On Tue, Jan 07, 2014 at 12:07:14PM -0700, Shuah Khan wrote: > >>> On 01/06/2014 03:36 PM, Greg Kroah-Hartman wrote: > This is th

Re: [PATCH v4 1/3] ARM: mvebu: Add support to get the ID and the revision of a SoC

2014-01-08 Thread Gregory CLEMENT
On 08/01/2014 13:55, Arnd Bergmann wrote: > On Tuesday 07 January 2014, Gregory CLEMENT wrote: >> diff --git a/include/linux/mvebu-soc-id.h b/include/linux/mvebu-soc-id.h >> new file mode 100644 >> index ..31654252fe35 >> --- /dev/null >> +++ b/include/linux/mvebu-soc-id.h >> +#ifdef CO

Re: [PATCH v4 2/3] ARM: mvebu: Add quirk for i2c

2014-01-08 Thread Gregory CLEMENT
On 08/01/2014 14:45, Arnd Bergmann wrote: > On Wednesday 08 January 2014 14:39:59 Wolfram Sang wrote: >>> However, when I first read this I thought it should be a -a0 specific >>> compatible string, not a 'offload-broken' property - any idea what the >>> DT consensus is here? I've seen

Re: [PATCH v4 2/3] ARM: mvebu: Add quirk for i2c

2014-01-08 Thread Gregory CLEMENT
Hi Wolfram, On 08/01/2014 14:39, Wolfram Sang wrote: > >> However, when I first read this I thought it should be a -a0 specific >> compatible string, not a 'offload-broken' property - any idea what the >> DT consensus is here? I've seen both approach in use .. > > I prefer the

Re: [PATCH 3.12 000/144] 3.12.7-stable review

2014-01-08 Thread Guenter Roeck
On 01/07/2014 02:00 PM, Shuah Khan wrote: On 01/07/2014 12:16 PM, Greg Kroah-Hartman wrote: On Tue, Jan 07, 2014 at 12:07:14PM -0700, Shuah Khan wrote: On 01/06/2014 03:36 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.7 release. There are 144 patches i

Idle power fix regresses ebizzy performance (was 3.12-stable backport of NUMA balancing patches)

2014-01-08 Thread Mel Gorman
Adding LKML to the list as this -stable snifftest has identified an upstream regression. On Wed, Jan 08, 2014 at 10:43:40AM +, Mel Gorman wrote: > On Tue, Jan 07, 2014 at 08:30:12PM +, Mel Gorman wrote: > > On Tue, Jan 07, 2014 at 10:54:40AM -0800, Greg KH wrote: > > > On Tue, Jan 07, 2014

Re: [PATCH v4 2/3] ARM: mvebu: Add quirk for i2c

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 14:39:59 Wolfram Sang wrote: > > However, when I first read this I thought it should be a -a0 specific > > compatible string, not a 'offload-broken' property - any idea what the > > DT consensus is here? I've seen both approach in use .. > > >>> > > >>> I

RE: [PATCH] ata: sata_mv: setting PHY speed according to SControl speed

2014-01-08 Thread Lior Amsalem
Hi Andrew, > From: Andrew Lunn [mailto:and...@lunn.ch] > Sent: Tuesday, December 31, 2013 7:05 PM > > On Tue, Dec 31, 2013 at 07:12:14AM -0500, Tejun Heo wrote: > > On Mon, Dec 23, 2013 at 01:07:35PM +0100, Simon Guinot wrote: > > > @@ -1358,6 +1359,7 @@ static int mv_scr_write(struct ata_link *l

Re: [PATCH v4 2/3] ARM: mvebu: Add quirk for i2c

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 14:42:45 Gregory CLEMENT wrote: > You means something like the following code ? > > static void __init armada_370_xp_dt_init(void) > { > + if (of_machine_is_compatible("plathome,openblocks-ax3-4")) > + i2c_quirk(); > of_platform_populate(NU

Re: [PATCH v4 2/3] ARM: mvebu: Add quirk for i2c

2014-01-08 Thread Gregory CLEMENT
On 08/01/2014 13:52, Arnd Bergmann wrote: > On Tuesday 07 January 2014, Gregory CLEMENT wrote: > >> static void __init armada_370_xp_dt_init(void) >> { >> + i2c_quirk(); >> of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); >> } > > I'd prefer to enable the quirk

Re: [PATCH v4 2/3] ARM: mvebu: Add quirk for i2c

2014-01-08 Thread Wolfram Sang
> However, when I first read this I thought it should be a -a0 specific > compatible string, not a 'offload-broken' property - any idea what the > DT consensus is here? I've seen both approach in use .. > >>> > >>> I prefer the replacement of the compatible string. If it should real

[PATCH 1/2] drm/i915: fix DDI PLLs HW state readout code

2014-01-08 Thread Paulo Zanoni
From: Paulo Zanoni Properly zero the refcounts and crtc->ddi_pll_set so the previous HW state doesn't affect the result of reading the current HW state. This fixes WARNs about WRPLL refcount if we have an HDMI monitor on HSW and then suspend/resume. Cc: stable@vger.kernel.org Bugzilla: https://

Re: [PATCH v4 2/3] ARM: mvebu: Add quirk for i2c

2014-01-08 Thread Gregory CLEMENT
On 08/01/2014 12:29, Wolfram Sang wrote: > On Wed, Jan 08, 2014 at 11:15:05AM +0100, Gregory CLEMENT wrote: >> Hi Wolfram, >> >> On 08/01/2014 00:06, Wolfram Sang wrote: >>> On Tue, Jan 07, 2014 at 11:38:53AM -0700, Jason Gunthorpe wrote: On Tue, Jan 07, 2014 at 05:35:03PM +0100, Gregory CLEME

Re: [PATCH v4 1/3] ARM: mvebu: Add support to get the ID and the revision of a SoC

2014-01-08 Thread Arnd Bergmann
On Tuesday 07 January 2014, Gregory CLEMENT wrote: > diff --git a/include/linux/mvebu-soc-id.h b/include/linux/mvebu-soc-id.h > new file mode 100644 > index ..31654252fe35 > --- /dev/null > +++ b/include/linux/mvebu-soc-id.h > +#ifdef CONFIG_ARCH_MVEBU > +int mvebu_get_soc_id(u32 *dev,

Re: [PATCH v4 2/3] ARM: mvebu: Add quirk for i2c

2014-01-08 Thread Arnd Bergmann
On Tuesday 07 January 2014, Gregory CLEMENT wrote: > static void __init armada_370_xp_dt_init(void) > { > + i2c_quirk(); > of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); > } I'd prefer to enable the quirk only on machines that we know may be affected, i.e. O

Re: sh: add EXPORT_SYMBOL(min_low_pfn) and EXPORT_SYMBOL(max_low_pfn) to sh_ksyms_32.c

2014-01-08 Thread Luis Henriques
On Tue, Jan 07, 2014 at 09:40:20AM +0900, Nobuhiro Iwamatsu wrote: > Hi, > > This patch was committed to linus tree by > ad70b029d2c678386384bd72c7fa2705c449b518. > Could you review and apply this patch to stable tree? > > Best regards, > Nobuhiro I will queue this for the 3.11 kernel as well

Re: [PATCH v4 2/3] ARM: mvebu: Add quirk for i2c

2014-01-08 Thread Wolfram Sang
On Wed, Jan 08, 2014 at 11:15:05AM +0100, Gregory CLEMENT wrote: > Hi Wolfram, > > On 08/01/2014 00:06, Wolfram Sang wrote: > > On Tue, Jan 07, 2014 at 11:38:53AM -0700, Jason Gunthorpe wrote: > >> On Tue, Jan 07, 2014 at 05:35:03PM +0100, Gregory CLEMENT wrote: > >>> +static struct property i2c_o

Re: Ceph fixes for 3.10.y

2014-01-08 Thread Luis Henriques
Hi Sage, On Tue, Dec 31, 2013 at 08:21:19AM -0800, Sage Weil wrote: > Hi Greg, > > This is a somewhat long overdue set of fixes for 3.10.y. Since there > are a lot of patches, they can be pulled from > > git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git > for-stable-3.10.24

Re: [PATCH 00/13] 3.12-stable backport of NUMA balancing patches

2014-01-08 Thread Mel Gorman
On Tue, Jan 07, 2014 at 08:30:12PM +, Mel Gorman wrote: > On Tue, Jan 07, 2014 at 10:54:40AM -0800, Greg KH wrote: > > On Tue, Jan 07, 2014 at 06:17:15AM -0800, Greg KH wrote: > > > On Tue, Jan 07, 2014 at 02:00:35PM +, Mel Gorman wrote: > > > > A number of NUMA balancing patches were tagge

[PATCH] ASoC: adau1701: Fix ADAU1701_SEROCTL_WORD_LEN_16 constant

2014-01-08 Thread Lars-Peter Clausen
The driver defines ADAU1701_SEROCTL_WORD_LEN_16 as 0x10 while it should be b10, so 0x2. This patch fixes it. Reported-by: Magnus Reftel Signed-off-by: Lars-Peter Clausen Cc: stable@vger.kernel.org --- sound/soc/codecs/adau1701.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[RFC PATCH] tty/serial: at91: disable uart timer at start of shutdown

2014-01-08 Thread Nicolas Ferre
From: Marek Roszko The uart timer will schedule a tasklet when it fires. It is possible that it can fire inside _shutdown before it is killed in the dma and pdc cleanup routines. This causes a tasklet that exists after the port is shutdown, so when the kernel finally executes it, it panics as the

Re: [PATCH v4 2/3] ARM: mvebu: Add quirk for i2c

2014-01-08 Thread Gregory CLEMENT
Hi Wolfram, On 08/01/2014 00:06, Wolfram Sang wrote: > On Tue, Jan 07, 2014 at 11:38:53AM -0700, Jason Gunthorpe wrote: >> On Tue, Jan 07, 2014 at 05:35:03PM +0100, Gregory CLEMENT wrote: >>> +static struct property i2c_offload_broken = { >>> + .name = "offload-broken", >>> +}; >>> + >>> +static

Re: [PATCH 3.10 126/129] clocksource: arch_timer: use virtual counters

2014-01-08 Thread Mark Rutland
On Tue, Jan 07, 2014 at 06:50:40PM +, Greg Kroah-Hartman wrote: > On Tue, Jan 07, 2014 at 10:09:50AM +, Mark Rutland wrote: > > Hi Greg, > > > > On Mon, Jan 06, 2014 at 10:39:15PM +, Greg Kroah-Hartman wrote: > > > 3.10-stable review patch. If anyone has any objections, please let me

Re: [PATCH v2] mfd: omap-usb-tll: Don't hold lock during pm_runtime_get/put_sync()

2014-01-08 Thread Lee Jones
> pm_runtime_get/put_sync() can sleep so don't hold spinlock while > calling them. > > This patch prevents a BUG() during system suspend when > CONFIG_DEBUG_ATOMIC_SLEEP is enabled. > > Bug is present in Kernel versions v3.9 onwards. > > Reported-by: Tomi Valkeinen > Signed-off-by: Roger Quadro