[PATCH 3/6] perf: Enable building perf tools for Meta

2013-02-01 Thread James Hogan
Define rmb(), cpu_relax(), and CPUINFO_PROC for Meta so that the perf tools can be built for Meta. Signed-off-by: James Hogan Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo --- tools/perf/perf.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(

[PATCH 4/6] metag: kernel/setup.c: sort includes

2013-02-01 Thread James Hogan
Sort includes in kernel/setup.c. Signed-off-by: James Hogan --- arch/metag/kernel/setup.c | 46 ++-- 1 files changed, 23 insertions(+), 23 deletions(-) diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c index 89f9cdc..aaebc56 100644 ---

[PATCH 0/6] metag: misc & priv patches

2013-02-01 Thread James Hogan
Here are some additional metag patches I intend to add on top of the existing v4 arch/metag patchset. James Hogan (6): metag: add __init to metag_cache_probe() metag: add boot time LNKGET/LNKSET check perf: Enable building perf tools for Meta metag: kernel/setup.c: sort includes metag: m

[PATCH 6/6] metag: protect more non-MMU memory regions

2013-02-01 Thread James Hogan
Rename setup_txprivext() to setup_priv() and add initialisation of some more per-thread privilege protection registers: - TxPRIVSYSR: 0x0440-0x047f 0x0500-0x07ff 0x8400-0x87ff - TxPIOREG: 0x0200-0x02ff 0x0480-0x04

[PATCH 2/6] metag: add boot time LNKGET/LNKSET check

2013-02-01 Thread James Hogan
Add boot time check for whether LNKGET/LNKSET go through or around the cache. Depending on the configuration an info message (no harm), warning (technically wrong but no harm), or big WARN (expect failure in either kernel or userland) may be emitted if the behaviour is not as expected: Configurati

[PATCH 5/6] metag: make TXPRIVEXT bits explicit

2013-02-01 Thread James Hogan
Define PRIV_BITS using explicit constants from rather than with a hard coded value. This also adds a couple of missing definitions for the TXPRIVEXT priv bits for protecting writes to TXTIMER and the trace registers. Signed-off-by: James Hogan --- arch/metag/include/asm/metag_regs.h |4

Re: linux-net for ARC port

2013-02-01 Thread Stephen Rothwell
Hi Vineet, On Fri, 1 Feb 2013 13:48:04 +0530 Vineet Gupta wrote: > > When is the next linux-next release going to happen - I can't see the arc > port in > there yet ! In the release note for next-20130128, I said: "The linux-next release may be a bit sporadic over the next few days as I atten

[PATCH v3] regmap: debugfs: Add a registers `range' file

2013-02-01 Thread Dimitris Papastamos
This file lists the register ranges in the register map. The condition to split the range is based on the actual register attributes. A range is a contiguous block of registers with the same register attributes. Signed-off-by: Dimitris Papastamos --- Simplified the code a bit, removed the `sca

[PATCH 03/11] PINCTRL: lantiq: add pin_config_group_set support

2013-02-01 Thread John Crispin
While converting all the boards supported by OpenWrt to OF I noticed that this feature is missing. Adding it makes the devicetrees more readable. Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-lantiq.c | 54 -- drivers/pinctrl/pinctrl-xway.c | 1

[PATCH 04/11] PINCTRL: lantiq: add output pinconf parameter

2013-02-01 Thread John Crispin
While converting the boards inside OpenWrt to OF I noticed that the we are missing a pinconf parameter to set a pin to output. Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-lantiq.h |1 + drivers/pinctrl/pinctrl-xway.c | 14 ++ 2 files changed, 15 insertions(+) dif

Re: How to online remove an error scsi disk from the system?

2013-02-01 Thread Bryn M. Reeves
On 02/01/2013 11:13 AM, Tao Ma wrote: You don't mention the versions of the kernel and driver you're using - if the system is in production I would suggest contacting who ever normally provides support for the kernel and distribution that you are running. We use CentOS6.2 and the kernel version

[PATCH 08/11] PINCTRL: lantiq: fix pinconfig parameters

2013-02-01 Thread John Crispin
The Falcon driver only defined the pinconf parameters but did not pass them properly to the underlying api. Signed-off-by: Thomas Langer Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-falcon.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/pinctrl-falcon.c b/d

[PATCH 09/11] PINCTRL: lantiq: add functionality to falcon_pinconf_dbg_show

2013-02-01 Thread John Crispin
The current code only has a stub for falcon_pinconf_dbg_show. This patch adds proper functionality. Signed-off-by: Thomas Langer Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-falcon.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/pinctr

[PATCH 05/11] PINCTRL: lantiq: the pinconf OD parameter argument was ignored

2013-02-01 Thread John Crispin
When setting the OpenDrain bit we should really honour the argument passed inside the devicetree. Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-xway.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-xway.c b/drivers/pinctrl/pinctrl-xwa

[PATCH 10/11] PINCTRL: lantiq: fix pin availability check

2013-02-01 Thread John Crispin
The clock needs to be activated for the check to work. In order to be compatible with future silicon make sure that at least 1 pin is available before probing the pad controller. Signed-off-by: Thomas Langer Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-falcon.c | 11 --- 1

[PATCH 07/11] PINCTRL: lantiq: one of the boot leds was defined incorrectly

2013-02-01 Thread John Crispin
On the Falcon SoC the bootleds are located on pins 9->14. Signed-off-by: Thomas Langer Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-falcon.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-falcon.c b/drivers/pinctrl/pinctrl-falcon.c inde

[PATCH 11/11] PINCTRL: lantiq: fix pin number in ltq_pmx_gpio_request_enable

2013-02-01 Thread John Crispin
The mapping logic inside ltq_pmx_gpio_request_enable() was broken. This only effected Falcon SoC. Signed-off-by: Thomas Langer Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-lantiq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-lantiq.c

[PATCH 06/11] PINCTRL: lantiq: only probe available pad controllers

2013-02-01 Thread John Crispin
The template falcon.dtsi lists all 6 pad controllers that can be loaded. Only probe those that have status = "okay"; inside the dts file. Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-falcon.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pinctrl/pinctrl-falcon.c b/

[PATCH 02/11] PINCTRL: lantiq: faulty bit inversion

2013-02-01 Thread John Crispin
The logic of the OD bit was inverted when calling the pinconf get methode. Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-xway.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-xway.c b/drivers/pinctrl/pinctrl-xway.c index 69dec9b..c49c9db

[PATCH 01/11] PINCTRL: lantiq: pinconf uses port instead of pin

2013-02-01 Thread John Crispin
The XWAY pinctrl driver invalidly uses the port and not the pin number to work out the registeres and bits to be set for the opendrain and pullup/down resistors. Signed-off-by: John Crispin --- drivers/pinctrl/pinctrl-xway.c | 28 ++-- 1 file changed, 14 insertions(+),

[PATCH v1] block: partition: optimize memory allocation in check_partition

2013-02-01 Thread Ming Lei
Currently, sizeof(struct parsed_partitions) may be 64KB in 32bit arch, so it is easy to trigger page allocation failure by check_partition, especially in hotplug block device situation(such as, USB mass storage, MMC card, ...), and Felipe Balbi has observed the failure. This patch does below optim

Re: linux-net for ARC port

2013-02-01 Thread Geert Uytterhoeven
Hi Stephen, On Fri, Feb 1, 2013 at 1:05 PM, Stephen Rothwell wrote: > On Fri, 1 Feb 2013 13:48:04 +0530 Vineet Gupta > wrote: >> When is the next linux-next release going to happen - I can't see the arc >> port in >> there yet ! > > In the release note for next-20130128, I said: > > "The linux

Re: [PATCH 07/10] TTY: switch tty_schedule_flip

2013-02-01 Thread Peter Hurley
On Thu, 2013-01-03 at 15:53 +0100, Jiri Slaby wrote: > Now, we start converting tty buffer functions to actually use > tty_port. This will allow us to get rid of the need of tty in many > call sites. Only tty_port will needed and hence no more > tty_port_tty_get in those paths. > > This is the las

Radeon RV100 init fails with specific card+mobo - IRQ problem

2013-02-01 Thread Meelis Roos
I have a test PC with AMD 760MPX chipset (Tyan S2466 Tiger MPX board) and Radeon RV100-based AGP card where radeon KMS modesetting does not work (does not work with any kernel tried so far (2.6.32, 3.2, 3.7, 3.8-rc6). >From dmesg with drm.debug=0xc [3.209617] agpgart-amdk7 :00:00.0: A

[PATCH 1/4] nfsd: containerize NFSd filesystem

2013-02-01 Thread Stanislav Kinsbursky
This patch makes NFSD file system superblock to be created per net. This makes possible to get proper network namespace from superblock instead of using hard-coded "init_net". Note: NFSd fs super-block holds network namespace. This garantees, that network namespace won't disappear from underneath

[PATCH v2 0/4] nfsd: make is works in a container

2013-02-01 Thread Stanislav Kinsbursky
This patch set finally enables NFSd in container. I've tested it in container with it's own root, and also pid, net and mount namespaces. There are some limitations, which are listed below: 1) only nfsdclt client tracker supported for container. It's deprecated and going to be removed soon. UMH tr

[PATCH 2/4] nfsd: use proper net while reading "exports" file

2013-02-01 Thread Stanislav Kinsbursky
Functuon "exports_open" is used for both "/proc/fs/nfs/exports" and "/proc/fs/nfsd/exports" files. Now NFSd filesystem is containerised, so proper net can be taken from superblock for "/proc/fs/nfsd/exports" reader. But for "/proc/fs/nfsd/exports" only current->nsproxy->net_ns can be used. Signed-

[PATCH 3/4] nfsd: disable usermode helper client tracker in container

2013-02-01 Thread Stanislav Kinsbursky
This tracker uses khelper kthread to execute binaries. Execution itself is done from kthread context - i.e. global root is used. This is not suitable for containers with own root. So, disable this tracker for a while. Note: one of possible solutions can be pass "init" callback to khelper, which wi

[PATCH 4/4] nfsd: enable NFSv4 state in containers

2013-02-01 Thread Stanislav Kinsbursky
Currently, NFSd is ready to operate in network namespace based containers. So let's drop check for "init_net" and make it able to fly. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfs4state.c | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git a/fs/nfsd/nfs4state.

Re: linux-net for ARC port

2013-02-01 Thread Stephen Rothwell
Hi Geert, On Fri, 1 Feb 2013 13:33:13 +0100 Geert Uytterhoeven wrote: > > You're not flying into FOSDEM, tomorrow? Not unless you are paying :-) /me starts packing in anticipation ;-) -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpgrHSY79t6m.pgp Description: PGP sig

Re: IO_PAGE_FAULTs on unity mapped regions during amd_iommu_init() in Linux 3.4

2013-02-01 Thread Joerg Roedel
Hi Shuah, On Thu, Jan 31, 2013 at 11:33:30AM -0700, Shuah Khan wrote: > Access to these ranges continues to work with no errors until AMD IOMMU > driver disables and re-enables IOMMU in enable_iommus(). These faults > don't persist and appear between the enable_iommus() call and before > amd_iommu

Re: [PATCH] zsmalloc: Fix TLB coherency and build problem

2013-02-01 Thread Konrad Rzeszutek Wilk
On Mon, Jan 28, 2013 at 10:00:08AM +0900, Minchan Kim wrote: > Recently, Matt Sealey reported he fail to build zsmalloc caused by > using of local_flush_tlb_kernel_range which are architecture dependent > function so !CONFIG_SMP in ARM couldn't implement it so it ends up > build error following as.

[ 00/89] 3.7.6-stable review

2013-02-01 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.7.6 release. There are 89 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun Feb 3 13:01:49 UTC 2013. Anything received

[ 05/89] KVM: PPC: Emulate dcbf

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Graf commit d3286144c92ec876da9e30320afa875699b7e0f1 upstream. Guests can trigger MMIO exits using dcbf. Since we don't emulate cache incoherent MMIO, just do nothing and move on. Re

[ 06/89] powerpc/book3e: Disable interrupt after preempt_schedule_irq

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Tiejun Chen commit 572177d7c77db1981ba2563e01478126482c43bc upstream. In preempt case current arch_local_irq_restore() from preempt_schedule_irq() may enable hard interrupt but we really should

[ 01/89] can: c_can: fix invalid error codes

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Olivier Sobrie commit 6ea45886865c1abb01bb861f7f6bdd5d0f398cb3 upstream. Errors in CAN protocol (location) are reported in data[3] of the can frame instead of data[2]. Signed-off-by: Olivier S

[ 11/89] ARM: 7627/1: Predicate preempt logic on PREEMP_COUNT not PREEMPT alone

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit 568dca15aa2a0f4ddee255894ec393a159f13147 upstream. Patrik Kluba reports that the preempt count becomes invalid due to the preempt_enable() call being unbalanced with a preem

[ 12/89] ARM: 7628/1: head.S: map one extra section for the ATAG/DTB area

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Pitre commit 6f16f4998f98e42e3f2dedf663cfb691ff0324af upstream. We currently use a temporary 1MB section aligned to a 1MB boundary for mapping the provided device tree until the final p

[ 13/89] ARM: virt: Avoid bx instruction for compatibility with <=ARMv4

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit a4a12e008e292a81d312659529b71be2026ab355 upstream. Non-T variants of ARMv4 do not support the bx instruction. However, __hyp_stub_install is always called from the same inst

[ 15/89] ARM: virt: simplify __hyp_stub_install epilog

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit d01723479e6a6c70c83295f7847477a016d5e14a upstream. __hyp_stub_install duplicates quite a bit of safe_svcmode_maskall by forcing the CPU back to SVC. This is unnecessary, as

[ 16/89] mfd: tc3589x: Use simple irqdomain

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit 1f0529b4d80ad02df637be67ed4f82e93b8db32f upstream. This fixes a regression in the TC3589x driver introduced in commit 15e27b1088245a2de3b7d09d39cd209212eb16af "mfd: Provide

[ 17/89] Bluetooth: Fix sending HCI commands after reset

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Szymon Janc commit dbccd791a3fbbdac12c33834b73beff3984988e9 upstream. After sending reset command wait for its command complete event before sending next command. Some chips sends CC event for

[ 09/89] ARM: at91: rm9200: remake the BGA as default version

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Jean-Christophe PLAGNIOL-VILLARD commit 36224d0fe0f34cdde66a381708853ebadeac799c upstream. Make BGA as the default version as we are supposed to just have to specify when we use the PQFP versio

[ 28/89] iwlegacy: fix IBSS cleanup

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit fa4cffcba9e13798ed7c6b8526b91b1631ecb53e upstream. We do not correctly change interface type when switching from IBSS mode to STA mode, that results in microcode errors

[ 19/89] radeon_display: Use pointer return error codes

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: xueminsu commit b2f4b03f8a378cd626d2ea67d19e7470c050a098 upstream. drm_mode_addfb() expects fb_create return error code instead of NULL. Signed-off-by: xueminsu Signed-off-by: Alex Deucher S

[ 20/89] IOMMU, AMD Family15h Model10-1Fh erratum 746 Workaround

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Suravee Suthikulpanit commit 318fe782539c4150d1b8e4e6c9dc3a896512cb8a upstream. The IOMMU may stop processing page translations due to a perceived lack of credits for writing upstream periphera

[ 21/89] xfs: Fix possible use-after-free with AIO

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 4b05d09c18d9aa62d2e7fb4b057f54e5a38963f5 upstream. Running AIO is pinning inode in memory using file reference. Once AIO is completed using aio_complete(), file reference is put

[ 22/89] s390/thp: implement pmdp_set_wrprotect()

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit be3286507dab888d4aad9f91fd6ff5202b24cd5b upstream. On s390, an architecture-specific implementation of the function pmdp_set_wrprotect() is missing and the generic versio

[ 24/89] drm/i915: GFX_MODE Flush TLB Invalidate Mode must be 1 for scanline waits

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit f05bb0c7b624252a5e768287e340e8e45df96e42 upstream. On SNB, if bit 13 of GFX_MODE, Flush TLB Invalidate Mode, is not set to 1, the hardware can not program the scanline value

[ 25/89] drm/i915: dump UTS_RELEASE into the error_state

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 4518f611ba21ba165ea3714055938a8984a44ff9 upstream. Useful for statistics or on overflowing bug reports to keep things all lined up. Reviewed-by: Chris Wilson Signed-off-b

[ 26/89] mwifiex: update config_bands during infra association

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Amitkumar Karwar commit d7b9c5204e9c6810a20d509ee47bc70419096e59 upstream. Currently "adapter->config_bands" is updated during infra association only if channel is provided by user in "iw conne

[ 27/89] mwifiex: fix typo in PCIe adapter NULL check

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Avinash Patil commit 83f0c6d1f502bd75bb4a9e31e8d64e59c6894ad1 upstream. Add missing "!" as we are supposed to check "!card->adapter" in PCIe suspend handler. Signed-off-by: Avinash Patil Sign

[ 18/89] drm/radeon: fix cursor corruption on DCE6 and newer

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Jerome Glisse commit e521a29014794d139cca46396d1af8faf1295a26 upstream. Aruba and newer gpu does not need the avivo cursor work around, quite the opposite this work around lead to corruption.

[ 30/89] brcmsmac: handle packet drop during transmit correctly

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Piotr Haber commit c4dea35e34f5f46e1701156153a09cce429d1ea9 upstream. The .tx() callback function can drop packets when there is no space in the DMA fifo. Propagate that information to caller a

[ 31/89] DM-RAID: Fix RAID10s check for sufficient redundancy

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Jonathan Brassow commit 55ebbb59c1c6eb1b040f62b8c4ae0b724de6e55a upstream. Before attempting to activate a RAID array, it is checked for sufficient redundancy. That is, we make sure that there

[ 32/89] mac80211: synchronize scan off/on-channel and PS states

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit aacde9ee45225f7e0b90960f479aef83c66bfdc0 upstream. Since: commit b23b025fe246f3acc2988eb6d400df34c27cb8ae Author: Ben Greear Date: Fri Feb 4 11:54:17 2011 -0800

[ 34/89] ath9k_htc: Fix memory leak

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Sujith Manoharan commit 0981c3b24ef664f5611008a6e6d0622fac6d892b upstream. SKBs that are allocated in the HTC layer do not have callbacks registered and hence ended up not being freed, Fix this

[ 35/89] ath9k: do not link receive buffers during flush

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit a3dc48e82bb146ef11cf75676c8410c1df29b0c4 upstream. On AR9300 the rx FIFO needs to be empty during reset to ensure that no further DMA activity is generated, otherwise it mi

[ 36/89] ath9k: fix double-free bug on beacon generate failure

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 1adb2e2b5f85023d17eb4f95386a57029df27c88 upstream. When the next beacon is sent, the ath_buf from the previous run is reused. If getting a new beacon from mac80211 fails, b

[PATCH] mmc: Adding ftrace event logging to the mmc layer

2013-02-01 Thread Månsson, Björn
From: Bjorn Mansson Adding ftrace to the mmc layer facilitates debugging, making it easier to debug commend sequences without rebuilding the kernel. It is also possible to parse the ftrace output into VCD format and visualize it in GTKWave. Patch is for the 3.7.5 Kernel. Signed-off-by: Bjorn M

[ 42/89] ath9k_hw: fix chain swap setting when setting rx chainmask to 5

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 24171dd92096fc370b195f3f6bdc0798855dc3f9 upstream. Chain swapping should only be enabled when the EEPROM chainmask is set to 5, regardless of what the runtime chainmask is.

[ 43/89] ath9k: allow setting arbitrary antenna masks on AR9003+

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit fea92cbf0850d788683827990670d3968f893327 upstream. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman --- drivers/net/wirel

[ 44/89] ALSA: usb-audio: fix invalid length check for RME and other UAC 2 devices

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit d56268fb108c7c21e19933588ca4d94652585183 upstream. Commit 23caaf19b11e (ALSA: usb-mixer: Add support for Audio Class v2.0) forgot to adjust the length check for UAC 2.0 f

[ 46/89] ALSA: hda - fix inverted internal mic on Acer AOA150/ZG5

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit fcd8f3b1d43c645e291638bc6c80a1c680722869 upstream. This patch enables internal mic input on the machine. BugLink: https://bugs.launchpad.net/bugs/1107477 Signed-off-by

[ 50/89] ASoC: wm2200: correct mixer values and text

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Chris Rattray commit a80cc734282805e15b5e023751a4d02f7ffbcc91 upstream. Signed-off-by: Chris Rattray Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/codecs/wm2200

[ 51/89] Bluetooth: Fix incorrect strncpy() in hidp_setup_hid()

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Anderson Lizardo commit 0a9ab9bdb3e891762553f667066190c1d22ad62b upstream. The length parameter should be sizeof(req->name) - 1 because there is no guarantee that string provided by userspace w

[ 47/89] ALSA: hda - Fix non-snoop page handling

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 9ddf1aeb2134e72275c97a2c6ff2e3eb04f2f27a upstream. For non-snoop mode, we fiddle with the page attributes of CORB/RIRB and the position buffer, but also the ring buffers. T

[ 52/89] iommu/intel: disable DMAR for g4x integrated gfx

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 9452618e7462181ed9755236803b6719298a13ce upstream. DMAR support on g4x/gm45 integrated gpus seems to be totally busted. So don't bother, but instead disable it by default t

[ 55/89] NFSv4: Fix NFSv4 reference counting for trunked sessions

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 4ae19c2dd713edb7b8ad3d4ab9d234ed5dcb6b98 upstream. The reference counting in nfs4_init_client assumes wongly that it is safe for nfs4_discover_server_trunking() to return

[ 57/89] NFSv4.1: Ensure that nfs41_walk_client_list() does start lease recovery

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 65436ec0c8e344d9b23302b686e418f2a7b7cf7b upstream. We do need to start the lease recovery thread prior to waiting for the client initialisation to complete in NFSv4.1. S

[ 60/89] smp: Fix SMP function call empty cpu mask race

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Wang YanQing commit f44310b98ddb7f0d06550d73ed67df5865e3eda5 upstream. I get the following warning every day with v3.7, once or twice a day: [ 2235.186027] WARNING: at /mnt/sda7/kernel/linu

[ 61/89] x86/msr: Add capabilities check

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Alan Cox commit c903f0456bc69176912dee6dd25c6a66ee1aed00 upstream. At the moment the MSR driver only relies upon file system checks. This means that anything as root with any capability set can

[ 63/89] samsung-laptop: Disable on EFI hardware

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming commit e0094244e41c4d0c7ad69920681972fc45d8ce34 upstream. It has been reported that running this driver on some Samsung laptops with EFI can cause those machines to become bricked

[ 65/89] x86, efi: Fix 32-bit EFI handover protocol entry point

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit f791620fa7517e1045742c475a7f005db9a634b8 upstream. If the bootloader calls the EFI handover entry point as a standard function call, then it'll have a return address on t

[ 68/89] xfs: fix _xfs_buf_find oops on blocks beyond the filesystem end

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit eb178619f930fa2ba2348de332a1ff1c66a31424 upstream. When _xfs_buf_find is passed an out of range address, it will fail to find a relevant struct xfs_perag and oops with a nul

[ 70/89] drm/radeon: fix a rare case of double kfree

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Ilija Hadzic commit 1da80cfa8727abf404fcee44d04743febea54069 upstream. If one (but not both) allocations of p->chunks[].kpage[] in radeon_cs_parser_init fail, the error path will free the succe

[ 64/89] x86, efi: Fix display detection in EFI boot stub

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit 70a479cbe80296d3113e65cc2f713a5101061daf upstream. When booting under OVMF we have precisely one GOP device, and it implements the ConOut protocol. We break out of the l

[ 74/89] x86/Sandy Bridge: Sandy Bridge workaround depends on CONFIG_PCI

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit e43b3cec711a61edf047adf6204d542f3a659ef8 upstream. early_pci_allowed() and read_pci_config_16() are only available if CONFIG_PCI is defined. Signed-off-by: H. Peter Anv

[ 76/89] target: fix regression with dev_link_magic in target_fabric_port_link

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger This is to fix a regression that only affect the stable (not for the mainline) that the stable commit fdf9d86 was incorrectly placed dev->dev_link_magic check before the *dev

[ 75/89] xfs: fix periodic log flushing

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner [Please take this patch for -stable in kernels 3.5-3.7. It doesn't have an equivalent upstream commit because the code was removed before the bug was discovered. See f661f1e0bf50

[ 77/89] netfilter: nfnetlink_log: fix mac address for 6in4 tunnels

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Bob Hockney commit 0c36b48b36dc84d4215dc9d1cde1bda829214ba6 upstream. For tunnelled ipv6in4 packets, the LOG target (xt_LOG.c) adjusts the start of the mac field to start at the ethernet header

[ 78/89] netfilter: nfnetlink_log: fix possible compilation issue due to missing include

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit e035edd16ee834989beedfc215e15cab3a07 upstream. In (0c36b48 netfilter: nfnetlink_log: fix mac address for 6in4 tunnels) the include file that defines ARPD_SIT was mi

[ 79/89] netfilter: xt_CT: recover NOTRACK target support

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit 10db9069eb5c60195170a4119bdbcbce69a4945f upstream. Florian Westphal reported that the removal of the NOTRACK target (9655050 netfilter: remove xt_NOTRACK) is breaking s

[ 80/89] netfilter: fix missing dependencies for the NOTRACK target

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit 757ae316fb35811cfd8c67de0e0b8680ec4c1f37 upstream. warning: (NETFILTER_XT_TARGET_NOTRACK) selects NETFILTER_XT_TARGET_CT which has unmet direct +dependencies (NET && I

[ 81/89] netfilter: xt_hashlimit: fix namespace destroy path

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: "Vitaly E. Lavrov" commit 32263dd1b43378b4f7d7796ed713f77e95f27e8a upstream. recent_net_exit() is called before recent_mt_destroy() in the destroy path of network namespaces. Make sure there ar

[ 73/89] netfilter: nf_ct_reasm: fix conntrack reassembly expire code

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Haibo Xi commit 97cf00e93cc24898493e7a058105e3215257ee04 upstream. Commit b836c99fd6c9 (ipv6: unify conntrack reassembly expire code with standard one) use the standard IPv6 reassembly code(ip6

[ 83/89] netfilter: xt_recent: fix namespace destroy path

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: "Vitaly E. Lavrov" commit 665e205c16c1f902ac6763b8ce8a0a3a1dcefe59 upstream. recent_net_exit() is called before recent_mt_destroy() in the destroy path of network namespaces. Make sure there ar

[ 87/89] netfilter: ctnetlink: fix leak in error path of ctnetlink_create_expect

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Jesper Juhl commit 1310b955c804975651dca6c674ebfd1cb2b4c7ff upstream. This patch fixes a leak in one of the error paths of ctnetlink_create_expect if no helper and no timeout is specified. Sig

[ 86/89] netfilter: x_tables: print correct hook names for ARP

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Jan Engelhardt commit 5b76c4948fe6977bead2359c2054f3e6a2dcf3d0 upstream. arptables 0.0.4 (released on 10th Jan 2013) supports calling the CLASSIFY target, but on adding a rule to the wrong chai

[ 88/89] drm/i915: fix FORCEWAKE posting reads

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit b514407547890686572606c9dfa4b7f832db9958 upstream. We stopped reading FORCEWAKE for posting reads in commit 8dee3eea3ccd3b6c00a8d3a08dd715d6adf737dd Author: Ben Widawsky Da

[ 37/89] ath9k: remove the WARN_ON that triggers if generating a beacon fails

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 3adcf20afb585993ffee24de36d1975f6b26b120 upstream. During teardown, mac80211 will not return a new beacon. This is normal and handled properly in the driver, so there's no

[ 59/89] HID: usbhid: quirk for Formosa IR receiver

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Santos commit 320cde19a4e8f122b19d2df7a5c00636e11ca3fb upstream. Patch to add the Formosa Industrial Computing, Inc. Infrared Receiver [IR605A/Q] to hid-ids.h and hid-quirks.c. This I

[ 58/89] NFSv4.1: Handle NFS4ERR_DELAY when resetting the NFSv4.1 session

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit c489ee290bdbbace6bb63ebe6ebd4dd605819495 upstream. NFS4ERR_DELAY is a legal reply when we call DESTROY_SESSION. It usually means that the server is busy handling an unfin

[ 56/89] NFSv4: Fix NFSv4 trunking discovery

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 202c312dba7d95b96493b412c606163a0cd83984 upstream. If walking the list in nfs4[01]_walk_client_list fails, then the most likely explanation is that the server dropped the

[ 69/89] drm/radeon: fix error path in kpage allocation

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Ilija Hadzic commit 25d8999780f8c1f53928f4a24a09c01550423109 upstream. Index into chunks[] array doesn't look right. Signed-off-by: Ilija Hadzic Signed-off-by: Alex Deucher Signed-off-by: Gr

[ 72/89] netfilter: ip[6]t_REJECT: fix wrong transport header pointer in TCP reset

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Mukund Jampala commit c6f408996c625cb950cad024f90e50519f94713c upstream. The problem occurs when iptables constructs the tcp reset packet. It doesn't initialize the pointer to the tcp header wi

[ 84/89] netfilter: xt_recent: avoid high order page allocations

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 2727de76041b2064c0b74f00a2a89678fb3efafc upstream. xt_recent can try high order page allocations and this can fail. iptables: page allocation failure: order:9, mode:0xc0d0

[ 85/89] netfilter: nf_conntrack: fix BUG_ON while removing nf_conntrack with netns

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit 1e47ee8367babe6a5e8adf44a714c7086657b87e upstream. canqun zhang reported that we're hitting BUG_ON in the nf_conntrack_destroy path when calling kfree_skb while rmmod'i

[ 89/89] slub: assign refcount for kmalloc_caches

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: CAI Qian This is for stable-3.7.y only and this problem has already been solved in mainline through some slab/slub re-work which isn't suitable to backport here. See create_kmalloc_cache() in mm

[ 82/89] netfilter: xt_hashlimit: fix race that results in duplicated entries

2013-02-01 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit 09181842b000344b1205801df3aa5b726c03cc62 upstream. Two packets may race to create the same entry in the hashtable, double check if this packet lost race. This double ch

<    1   2   3   4   5   6   7   >