[PATCH 3.12 15/77] inet: fix NULL pointer Oops in fib(6)_rule_suppress

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Tomanek [ Upstream commit 673498b8ed4c4d4b7221c5309d891c5eac2b7528 ] This changes ensures that the routing entry investigated by the suppress function actually does point to a device st

[PATCH 3.12 02/77] net: do not pretend FRAGLIST support

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 28e24c62ab3062e965ef1b3bcc244d50aee7fa85 ] Few network drivers really supports frag_list : virtual drivers. Some drivers wrongly advertise NETIF_F_FRAGLIST feat

[PATCH 3.12 63/77] clk: exynos5250: fix sysmmu_mfc{l,r} gate clocks

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Bresticker commit 97c3557c3e0413efb1f021f582d1459760e22727 upstream. The gate clocks for the MFC sysmmus appear to be flipped, i.e. GATE_IP_MFC[2] gates sysmmu_mfcl and GATE_IP_MFC[1] g

[PATCH 3.12 74/77] sched: Fix race on toggling cfs_bandwidth_used

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Segall commit 1ee14e6c8cddeeb8a490d7b54cd9016e4bb900b4 upstream. When we transition cfs_bandwidth_used to false, any currently throttled groups will incorrectly return false from cfs_rq_th

[PATCH 3.12 44/77] sfc: Maintain current frequency adjustment when applying a time offset

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit cd6fe65e923175e4f2e9fb585b1d78c6bf580fc6 ] There is a single MCDI PTP operation for setting the frequency adjustment and applying a time offset to the hardware

[PATCH 3.12 21/77] net: unix: allow bind to fail on mutex lock

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin [ Upstream commit 37ab4fa7844a044dc21fde45e2a0fc2f3c3b6490 ] This is similar to the set_peek_off patch where calling bind while the socket is stuck in unix_dgram_recvmsg() will blo

[PATCH 3.12 18/77] tg3: Initialize REG_BASE_ADDR at PCI config offset 120 to 0

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Nat Gurumoorthy [ Upstream commit 388d3335575f4c056dcf7138a30f1454e2145cd8 ] The new tg3 driver leaves REG_BASE_ADDR (PCI config offset 120) uninitialized. From power on reset this register ma

[PATCH 3.12 71/77] netfilter: fix wrong byte order in nf_ct_seqadj_set internal information

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Phil Oester commit 23dfe136e2bf8d9ea1095704c535368a9bc721da upstream. In commit 41d73ec053d2, sequence number adjustments were moved to a separate file. Unfortunately, the sequence numbers tha

[PATCH 3.12 61/77] clk: samsung: exynos5250: Add MDMA0 clocks

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Abhilash Kesavan commit 8fb9aeb7a71ef4f3e0613d459a2e1366a7a90469 upstream. Adds gate clock for MDMA0 on Exynos5250 SoC. This is needed to ensure that the clock is enabled when MDMA0 is used on

[PATCH 3.12 75/77] sched: Fix cfs_bandwidth misuse of hrtimer_expires_remaining

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Segall commit db06e78cc13d70f10877e0557becc88ab3ad2be8 upstream. hrtimer_expires_remaining does not take internal hrtimer locks and thus must be guarded against concurrent __hrtimer_start_

[PATCH 3.12 69/77] intel_pstate: Add X86_FEATURE_APERFMPERF to cpu match parameters.

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Dirk Brandewie commit 6cbd7ee10e2842a3d1f9b60abede1c8f3d1f1130 upstream. KVM environments do not support APERF/MPERF MSRs. intel_pstate cannot operate without these registers. The previous va

[PATCH v2 1/2] i2c: qup: Add device tree bindings information

2014-01-13 Thread Bjorn Andersson
From: "Ivan T. Ivanov" The Qualcomm Universal Peripherial (QUP) wraps I2C mini-core and provide input and output FIFO's for it. I2C controller can operate as master with supported bus speeds of 100Kbps and 400Kbps. Signed-off-by: Ivan T. Ivanov [bjorn: reformulated part of binding description a

[PATCH 3.12 57/77] ahci: add PCI ID for Marvell 88SE9170 SATA controller

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Simon Guinot commit e098f5cbe9d410e7878b50f524dce36cc83ec40e upstream. This patch adds support for the PCI ID provided by the Marvell 88SE9170 SATA controller. Signed-off-by: Simon Guinot Si

[PATCH v2 2/2] i2c: New bus driver for the QUP I2C controller

2014-01-13 Thread Bjorn Andersson
From: "Ivan T. Ivanov" This bus driver supports the QUP i2c hardware controller in the Qualcomm MSM SOCs. The Qualcomm Universal Peripheral Engine (QUP) is a general purpose data path engine with input/output FIFOs and an embedded i2c mini-core. The driver supports FIFO mode (for low bandwidth

[PATCH v2 0/2] Qualcomm Universal Peripheral (QUP) I2C controller

2014-01-13 Thread Bjorn Andersson
Picking up Ivans i2c-qup submission from a few months back, as I've now tested and corrected some minor things. I also introduced changes based on the review of v1. Changes from v1: - Cleaned up device tree binding example. - Refrased device tree bindings. - Following changes in the i2c framewo

[PATCH 3.12 58/77] clk: clk-divider: fix divisor > 255 bug

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 778037e1ccb75609846deca9e419449c1dc137fa upstream. Commit 6d9252bd9a4bb (clk: Add support for power of two type dividers) merged in v3.6 added the _get_val function to conve

[PATCH 3.12 54/77] ARM: shmobile: mackerel: Fix coherent DMA mask

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Pinchart commit b6328a6b7ba57fc84c38248f6f0e387e1170f1a8 upstream. Commit 4dcfa60071b3d23f0181f27d8519f12e37cefbb9 ("ARM: DMA-API: better handing of DMA masks for coherent allocations"

[PATCH 3.12 13/77] ipv6: dont count addrconf generated routes against gc limit

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa [ Upstream commit a3300ef4bbb1f1e33ff0400e1e6cf7733d988f4f ] Brett Ciphery reported that new ipv6 addresses failed to get installed because the addrconf generated dsts whe

[PATCH 3.12 67/77] ACPI / Battery: Add a _BIX quirk for NEC LZ750/LS

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Lan Tianyu commit a90b40385735af0d3031f98e97b439e8944a31b3 upstream. The AML method _BIX of NEC LZ750/LS returns a broken package which skips the first member "Revision" (ACPI 5.0, Table 10-23

[PATCH 3.12 66/77] ACPI / TPM: fix memory leak when walking ACPI namespace

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu commit df45c712d1f4ef37714245fb75de726f4ca2bf8d upstream. In function ppi_callback(), memory allocated by acpi_get_name() will get leaked when current device isn't the desired TPM de

RE: bug in sscanf()?

2014-01-13 Thread Allan, Bruce W
> -Original Message- > From: linus...@gmail.com [mailto:linus...@gmail.com] On Behalf Of Linus > Torvalds > Sent: Monday, January 13, 2014 4:23 PM > To: Al Viro > Cc: Allan, Bruce W; linux-kernel@vger.kernel.org; Jan Beulich; Alexey > Dobriyan > Subject: Re: bug in sscanf()? > > On Tue, Ja

[PATCH 3.12 65/77] mfd: rtsx_pcr: Disable interrupts before cancelling delayed works

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 73beb63d290f961c299526852884846b0d868840 upstream. This fixes a kernel panic when resuming from suspend to RAM. Without this fix an interrupt hits after the delayed work

[PATCH 3.12 60/77] clk: samsung: exynos5250: Fix ACP gate register offset

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Abhilash Kesavan commit 3bf34666a0cce5234ac677ed2fbe5cea82c71329 upstream. The CLK_GATE_IP_ACP register offset is incorrectly listed making definition of g2d clock incorrect, which may lead to

[PATCH 3.12 77/77] sched: Guarantee new group-entities always have weight

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Paul Turner commit 0ac9b1c21874d2490331233b3242085f8151e166 upstream. Currently, group entity load-weights are initialized to zero. This admits some races with respect to the first time they a

[PATCH 3.12 20/77] ipv6: fix illegal mac_header comparison on 32bit

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa Signed-off-by: Hannes Frederic Sowa Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/ipv6/udp_offload.c |2 +- 1 file changed, 1 insertion(+

[PATCH 3.12 76/77] sched: Fix hrtimer_cancel()/rq->lock deadlock

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Segall commit 927b54fccbf04207ec92f669dce6806848cbec7d upstream. __start_cfs_bandwidth calls hrtimer_cancel while holding rq->lock, waiting for the hrtimer to finish. However, if sched_cfs

[PATCH 3.12 62/77] clk: samsung: exynos5250: Add CLK_IGNORE_UNUSED flag for the sysreg clock

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Abhilash Kesavan commit 2feed5aecf5f367b92bd6b6e92afe9e3de466907 upstream. The sysreg (system register) generates control signals for various blocks like disp1blk, i2c, mipi, usb etc. However,

[PATCH 3.12 73/77] x86, fpu, amd: Clear exceptions in AMD FXSAVE workaround

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 26bef1318adc1b3a530ecc807ef99346db2aa8b0 upstream. Before we do an EMMS in the AMD FXSAVE information leak workaround we need to clear any pending exceptions, otherwise w

[PATCH 3.12 72/77] netfilter: nf_nat: fix access to uninitialized buffer in IRC NAT helper

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 2690d97ade05c5325cbf7c72b94b90d265659886 upstream. Commit 5901b6be885e attempted to introduce IPv6 support into IRC NAT helper. By doing so, the following code seemed to

Re: [PATCH V3 2/2] mm/memblock: Add support for excluded memory areas

2014-01-13 Thread Andrew Morton
On Mon, 13 Jan 2014 14:03:37 +0100 Philipp Hachtmann wrote: > Add a new memory state "nomap" to memblock. This can be used to truncate > the usable memory in the system without forgetting about what is really > installed. > > ... > > 5 files changed, 254 insertions(+), 70 deletions(-) Patch i

[PATCH 3.12 19/77] netvsc: dont flush peers notifying work during setting mtu

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 50dc875f2e6e2e04aed3b3033eb0ac99192d6d02 ] There's a possible deadlock if we flush the peers notifying work during setting mtu: [ 22.991149] ===

[PATCH 3.12 70/77] SCSI: sd: Reduce buffer size for vpd request

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Bernd Schubert commit af73623f5f10eb3832c87a169b28f7df040a875b upstream. Somehow older areca firmware versions have issues with scsi_get_vpd_page() and a large buffer, the firmware seems to cr

[PATCH 3.12 68/77] mac80211: move "bufferable MMPDU" check to fix AP mode scan

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 277d916fc2e959c3f106904116bb4f7b1148d47a upstream. The check needs to apply to both multicast and unicast packets, otherwise probe requests on AP mode scans are sent throu

[PATCH 3.12 59/77] clk: samsung: exynos4: Correct SRC_MFC register

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Seung-Woo Kim commit 5fdd1b56be51b1ec4dbde5b213d649ac717442da upstream. The SRC_MFC register offset was incorrect, which could cause have caused wrong calculation of rate of sclk_mfc clock, th

[PATCH 3.12 56/77] parisc: Ensure full cache coherency for kmap/kunmap

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit f8dae00684d678afa13041ef170cecfd1297ed40 upstream. Helge Deller noted a few weeks ago problems with the AIO support on parisc. This change is the result of numerous it

[PATCH 3.12 53/77] ARM: shmobile: armadillo: Fix coherent DMA mask

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Pinchart commit dcd740b645003b866d7eb30d13d34d0729cce9db upstream. Commit 4dcfa60071b3d23f0181f27d8519f12e37cefbb9 ("ARM: DMA-API: better handing of DMA masks for coherent allocations"

[PATCH 3.12 47/77] sfc: Poll for MCDI completion once before timeout occurs

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Robert Stonehouse [ Upstream commit 6b294b8efedaa7cf7507154148e2c79766ad6f96 ] There is an as-yet unexplained bug that sometimes prevents (or delays) the driver seeing the completion event for

[PATCH 3.12 51/77] ARM: dts: exynos5250: Fix MDMA0 clock number

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Abhilash Kesavan commit 8777539479abd7b3efeb691685415dc2b057d0e0 upstream. Due to incorrect clock specified in MDMA0 node, using MDMA0 controller could cause system failures, due to wrong cloc

[PATCH 3.12 52/77] ARM: shmobile: kzm9g: Fix coherent DMA mask

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Pinchart commit 4f387323853c495ac589210832fad4503f75a0e7 upstream. Commit 4dcfa60071b3d23f0181f27d8519f12e37cefbb9 ("ARM: DMA-API: better handing of DMA masks for coherent allocations"

Re: [PATCH 4/7] zram: use atomic operation for stat

2014-01-13 Thread Minchan Kim
Hello Andrew, On Mon, Jan 13, 2014 at 04:23:25PM -0800, Andrew Morton wrote: > On Tue, 14 Jan 2014 09:19:35 +0900 Minchan Kim wrote: > > > On Mon, Jan 13, 2014 at 03:58:14PM -0800, Andrew Morton wrote: > > > On Mon, 13 Jan 2014 20:18:59 +0900 Minchan Kim wrote: > > > > > > > Some of fields in

[PATCH 3.12 50/77] ARM: 7923/1: mm: fix dcache flush logic for compound high pages

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Steven Capper commit 2a7cfcbc0553365d75716f69ee7b704cac7c9248 upstream. When given a compound high page, __flush_dcache_page will only flush the first page of the compound page repeatedly rath

[PATCH 3.12 48/77] ARM: fix footbridge clockevent device

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 4ff859fe1dc0da0f87bbdfff78f527898878fa4a upstream. The clockevents code was being told that the footbridge clock event device ticks at 16x the rate which it actually does.

[PATCH 3.12 17/77] vxlan: release rt when found circular route

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Fan Du [ Upstream commit fffc15a5012e9052d3b236efc56840841a125416 ] Otherwise causing dst memory leakage. Have Checked all other type tunnel device transmit implementation, no such things happ

Re: [PATCH 2/2] x86, e820 disable ACPI Memory Hotplug if memory mapping is specified by user [v2]

2014-01-13 Thread Toshi Kani
On Mon, 2014-01-13 at 18:39 -0500, Prarit Bhargava wrote: > > On 01/13/2014 03:31 PM, KOSAKI Motohiro wrote: > > On Sun, Jan 12, 2014 at 6:46 PM, Prarit Bhargava wrote: > >> > >> > >> On 01/11/2014 11:35 AM, 7egg...@gmx.de wrote: > >>> > >>> > >>> On Fri, 10 Jan 2014, Prarit Bhargava wrote: > >>>

[PATCH 3.12 49/77] ARM: fix "bad mode in ... handler" message for undefined instructions

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 29c350bf28da333e41e30497b649fe335712a2ab upstream. The array was missing the final entry for the undefined instruction exception handler; this commit adds it. Signed-off-b

[PATCH 3.12 33/77] virtio-net: make all RX paths handle errors consistently

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" receive mergeable now handles errors internally. Do same for big and small packet paths, otherwise the logic is too hard to follow. Cc: Jason Wang Cc: David S. Miller Ac

[PATCH 3.12 46/77] sfc: Refactor efx_mcdi_poll() by introducing efx_mcdi_poll_once()

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Robert Stonehouse [ Upstream commit 5731d7b35e5b87157a9b9973cc2eff70c50aec58 ] Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net

[PATCH 3.12 45/77] sfc: RX buffer allocation takes prefix size into account in IP header alignment

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Rybchenko [ Upstream commit 2ec030144f648a6dd208f95f55ece212f1b72771 ] rx_prefix_size is 4-bytes aligned on Falcon/Siena (16 bytes), but it is equal to 14 on EF10. So, it should be take

[PATCH 3.12 43/77] sfc: Stop/re-start PTP when stopping/starting the datapath.

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Rames [ Upstream commit 2ea4dc28a5bcec408e01a8772763871638a5ec79 ] This disables PTP when we bring the interface down to avoid getting unmatched RX timestamp events, and tries to re-

[PATCH 3.12 16/77] net: unix: allow set_peek_off to fail

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin [ Upstream commit 12663bfc97c8b3fdb292428105dd92d563164050 ] unix_dgram_recvmsg() will hold the readlock of the socket until recv is complete. In the same time, we may try to sets

[PATCH 3.12 42/77] sfc: Rate-limit log message for PTP packets without a matching timestamp event

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit 35f9a7a380728a94d417e5824a866f969423ac83 ] In case of a flood of PTP packets, the timestamp peripheral and MC firmware on the SFN[56]322F boards may not be able

[PATCH 3.12 41/77] sfc: PTP: Moderate log message on event queue overflow

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Laurence Evans [ Upstream commit f32116003c39f3a6815215a7512e1ea8d1e4bbc7 ] Limit syslog flood if a PTP packet storm occurs. Fixes: 7c236c43b838 ('sfc: Add support for IEEE-1588 PTP') Signed-

[PATCH 3.12 31/77] vlan: Fix header ops passthru when doing TX VLAN offload.

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 2205369a314e12fcec4781cc73ac9c08fc2b47de ] When the vlan code detects that the real device can do TX VLAN offloads in hardware, it tries to arrange for the

[PATCH 3.12 40/77] sfc: Add length checks to efx_xmit_with_hwtstamp() and efx_ptp_is_ptp_tx()

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings [ Upstream commit e5a498e943fbc497f236ab8cf31366c75f337ce6 ] efx_ptp_is_ptp_tx() must be robust against skbs from raw sockets that have invalid IPv4 and UDP headers. Add checks

[PATCH 3.12 29/77] arc_emac: fix potential use after free

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 37ec274e9713eafc2ba6c4471420f06cb8f68ecf ] Signed-off-by: Eric Dumazet skb_tx_timestamp(skb) should be called _before_ TX completion has a chance to trigger, o

[PATCH 3.12 39/77] bridge: use spin_lock_bh() in br_multicast_set_hash_max

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Curt Brune [ Upstream commit fe0d692bbc645786bce1a98439e548ae619269f5 ] br_multicast_set_hash_max() is called from process context in net/bridge/br_sysfs_br.c by the sysfs store_hash_max() fun

Re: [PATCH V2 1/6] Documentation: add dts binding for X-Gene reboot dts node.

2014-01-13 Thread Feng Kan
> > Is this related to the standard ARM SCU that manages multiprocessor > systems, or a different unit that uses the same name? FKAN: You mean the snoop control unit in ARM. This is different from that, the main function of this unit is clk control. > > Since this is a global register range with

[PATCH 3.12 36/77] virtio-net: fix refill races during restore

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 6cd4ce0099da7702f885b6fa9ebb49e3831d90b4 ] During restoring, try_fill_recv() was called with neither napi lock nor napi disabled. This can lead two try_fill_recv()

[PATCH 3.12 35/77] ipv4: fix tunneled VM traffic over hw VXLAN/GRE GSO NIC

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Wei-Chun Chao [ Upstream commit 7a7ffbabf99445704be01bff5d7e360da908cf8e ] VM to VM GSO traffic is broken if it goes through VXLAN or GRE tunnel and the physical NIC on the host supports hardw

[PATCH 3.12 38/77] netpoll: Fix missing TXQ unlock and and OOPS.

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit aca5f58f9ba803ec8c2e6bcf890db17589e8dfcc ] The VLAN tag handling code in netpoll_send_skb_on_dev() has two problems. 1) It exits without unlocking the TXQ.

[PATCH 3.12 09/77] macvtap: signal truncated packets

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit ce232ce01d61b184202bb185103d119820e1260c ] macvtap_put_user() never return a value grater than iov length, this in fact bypasses the truncated checking in macvtap_

[PATCH 3.12 37/77] net: llc: fix use after free in llc_ui_recvmsg

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 4d231b76eef6c4a6bd9c96769e191517765942cb ] While commit 30a584d944fb fixes datagram interface in LLC, a use after free bug has been introduced for SOCK_STREAM

[PATCH 3.12 34/77] virtio_net: dont leak memory or block when too many frags

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" We leak an skb when there are too many frags, we also stop processing the packet in the middle, the result is almost sure to be loss of networking. Reported-by: Michael Da

Re: [PATCH 3.12 40/77] sfc: Add length checks to efx_xmit_with_hwtstamp() and efx_ptp_is_ptp_tx()

2014-01-13 Thread Ben Hutchings
On Mon, 2014-01-13 at 16:28 -0800, Greg Kroah-Hartman wrote: > 3.12-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Ben Hutchings > > [ Upstream commit e5a498e943fbc497f236ab8cf31366c75f337ce6 ] > > efx_ptp_is_ptp_tx() must be robust aga

[PATCH 3.12 32/77] virtio_net: fix error handling for mergeable buffers

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" Eric Dumazet noticed that if we encounter an error when processing a mergeable buffer, we don't dequeue all of the buffers from this packet, the result is almost sure to be

serial8250: bogus low_latency destabilizes kernel, need sanity check

2014-01-13 Thread Pavel Roskin
Hello! I've been debugging an instability of a kernel on some 32-bit x86 embedded system. The kernel would just hang randomly. I had to enable most debug options to find the reason. The system has several serial ports, including ttyS4. There is also a file called /etc/serial.conf that contains

[PATCH v3 1/4] net_dma: simple removal

2014-01-13 Thread Dan Williams
Per commit "77873803363c net_dma: mark broken" net_dma is no longer used and there is no plan to fix it. This is the mechanical removal of bits in CONFIG_NET_DMA ifdef guards. Reverting the remainder of the net_dma induced changes is deferred to subsequent patches. Cc: Dave Jiang Cc: Vinod Koul

[PATCH 3.12 30/77] net: rose: restore old recvmsg behavior

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal [ Upstream commit f81152e35001e91997ec74a7b4e040e6ab0acccf ] recvmsg handler in net/rose/af_rose.c performs size-check ->msg_namelen. After commit f3d3342602f8bcbf37d7c46641c

[PATCH v3 0/4] net_dma removal, and dma debug extension

2014-01-13 Thread Dan Williams
Follow up patches to 77873803363c "net_dma: mark broken" to remove net_dma bits and provide debug infrastructure to flag other get_user_pages() vs dma instances that might violate the dma api. Will takes this through the dmaengine tree once acked. Just looking for an ack to patch 2 at this point.

[PATCH v3 2/4] net_dma: revert 'copied_early'

2014-01-13 Thread Dan Williams
Now that tcp_dma_try_early_copy() is gone nothing ever sets copied_early. Also reverts "53240c208776 tcp: Fix possible double-ack w/ user dma" since it is no longer necessary. Cc: Ali Saidi Cc: James Morris Cc: Patrick McHardy Cc: Eric Dumazet Cc: David S. Miller Cc: Alexey Kuznetsov Cc: Hi

[PATCH 3.12 05/77] macvtap: update file current position

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Zhi Yong Wu [ Upstream commit e6ebc7f16ca1434a334647aa56399c546be4e64b ] Signed-off-by: Zhi Yong Wu Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/macvtap

[PATCH v3 3/4] net: make tcp_cleanup_rbuf private

2014-01-13 Thread Dan Williams
net_dma was the only external user so this can become local to tcp.c again. Cc: James Morris Cc: Patrick McHardy Cc: Alexey Kuznetsov Cc: Hideaki YOSHIFUJI Acked-by: Neal Cardwell Acked-by: David S. Miller Signed-off-by: Dan Williams --- Since v1: keep the tcp_ prefix. include/net/tcp.h

[PATCH 3.12 28/77] rds: prevent dereference of a NULL device

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin [ Upstream commit c2349758acf1874e4c2b93fe41d072336f1a31d0 ] Binding might result in a NULL device, which is dereferenced causing this BUG: [ 1317.260548] BUG: unable to handle ke

[PATCH 3.12 27/77] ipv6: always set the new created dsts from in ip6_rt_copy

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Li RongQing [ Upstream commit 24f5b855e17df7e355eacd6c4a12cc4d6a6c9ff0 ] ip6_rt_copy only sets dst.from if ort has flag RTF_ADDRCONF and RTF_DEFAULT. but the prefix routes which did get instal

[PATCH 3.12 24/77] drivers/net/hamradio: Integer overflow in hdlcdrv_ioctl()

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Wenliang Fan [ Upstream commit e9db5c21d3646a6454fcd04938dd215ac3ab620a ] The local variable 'bi' comes from userspace. If userspace passed a large number to 'bi.data.calibrate', there would b

[PATCH v3 4/4] dma debug: introduce debug_dma_assert_idle()

2014-01-13 Thread Dan Williams
Record actively mapped pages and provide an api for asserting a given page is dma inactive before execution proceeds. Placing debug_dma_assert_idle() in cow_user_page() flagged the violation of the dma-api in the NET_DMA implementation (see commit 77873803363c "net_dma: mark broken"). Cc: Joerg R

[PATCH 3.12 26/77] net: fec: fix potential use after free

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 7a2a84518cfb263d2c4171b3d63671f88316adb2 ] skb_tx_timestamp(skb) should be called _before_ TX completion has a chance to trigger, otherwise it is too late and we

[PATCH 3.12 14/77] net: drop_monitor: fix the value of maxattr

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Changli Gao [ Upstream commit d323e92cc3f4edd943610557c9ea1bb4bb5056e8 ] maxattr in genl_family should be used to save the max attribute type, but not the max command type. Drop monitor doesn'

[PATCH 3.12 10/77] virtio: delete napi structures from netdev before releasing memory

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Vagin [ Upstream commit d4fb84eefe5164f6a6ea51d0a9e26280c661a0dd ] free_netdev calls netif_napi_del too, but it's too late, because napi structures are placed on vi->rq. netif_napi_add(

[PATCH 3.12 07/77] tun: unbreak truncated packet signalling

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit e6fd07c899cd719bb5517bc7f32ce03a62220351 ] Commit 6680ec68eff47d36f67b4351bc9836fd6cba9532 (tuntap: hardware vlan tx support) breaks the truncated packet signal by

[PATCH 3.12 04/77] net: clear local_df when passing skb between namespaces

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa [ Upstream commit 239c78db9c41a8f524cce60507440d72229d73bc ] We must clear local_df when passing the skb between namespaces as the packet is not local to the new namespace

linux-next: manual merge of the v4l-dvb tree with Linus' tree

2014-01-13 Thread Stephen Rothwell
Hi Mauro, Today's linux-next merge of the v4l-dvb tree got a conflict in drivers/staging/media/go7007/go7007-usb.c between commits 66a528c1c3d6 ("Revert "staging:media: Use dev_dbg() instead of pr_debug()"") and e6bbda9da9e8 ("Staging: go7007: fix up some remaining go->dev issues") from Linus' tre

[PATCH 3.12 23/77] net: inet_diag: zero out uninitialized idiag_{src,dst} fields

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit b1aac815c0891fe4a55a6b0b715910142227700f ] Jakub reported while working with nlmon netlink sniffer that parts of the inet_diag_sockid are not initialized when

[PATCH 3.12 11/77] br: fix use of ->rx_handler_data in code executed on non-rx_handler path

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Pirko [ Upstream commit 859828c0ea476b42f3a93d69d117aaba90994b6f ] br_stp_rcv() is reached by non-rx_handler path. That means there is no guarantee that dev is bridge port and therefore s

[PATCH 3.12 08/77] macvtap: Do not double-count received packets

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich [ Upstream commit 006da7b07bc4d3a7ffabad17cf639eec6849c9dc ] Currently macvlan will count received packets after calling each vlans receive handler. Macvtap attempts to count t

[PATCH 3.12 01/77] IPv6: Fixed support for blackhole and prohibit routes

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Kamala R [ Upstream commit 7150aede5dd241539686e17d9592f5ebd28a2cda ] The behaviour of blackhole and prohibit routes has been corrected by setting the input and output pointers of the dst vari

[PATCH 3.12 03/77] rds: prevent BUG_ON triggered on congestion update to loopback

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Venkat Venkatsubra [ Upstream commit 18fc25c94eadc52a42c025125af24657a93638c0 ] After congestion update on a local connection, when rds_ib_xmit returns less bytes than that are there in the me

[PATCH 3.12 12/77] packet: fix send path when running with proto == 0

2014-01-13 Thread Greg Kroah-Hartman
3.12-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 66e56cd46b93ef407c60adcac62cf33b06119d50 ] Commit e40526cb20b5 introduced a cached dev pointer, that gets hooked into register_prot_hook(), __unregister_prot_

[PATCH 3.12 00/77] 3.12.8-stable review

2014-01-13 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.12.8 release. There are 77 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 Thu Jan 16 00:27:35 UTC 2014. Anything receive

[PATCH 3.10 32/62] virtio_net: dont leak memory or block when too many frags

2014-01-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" We leak an skb when there are too many frags, we also stop processing the packet in the middle, the result is almost sure to be loss of networking. Reported-by: Michael Da

[PATCH 3.10 60/62] sched: Fix cfs_bandwidth misuse of hrtimer_expires_remaining

2014-01-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Ben Segall commit db06e78cc13d70f10877e0557becc88ab3ad2be8 upstream. hrtimer_expires_remaining does not take internal hrtimer locks and thus must be guarded against concurrent __hrtimer_start_

[PATCH 3.10 23/62] drivers/net/hamradio: Integer overflow in hdlcdrv_ioctl()

2014-01-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Wenliang Fan [ Upstream commit e9db5c21d3646a6454fcd04938dd215ac3ab620a ] The local variable 'bi' comes from userspace. If userspace passed a large number to 'bi.data.calibrate', there would b

[PATCH 3.10 62/62] sched: Guarantee new group-entities always have weight

2014-01-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Paul Turner commit 0ac9b1c21874d2490331233b3242085f8151e166 upstream. Currently, group entity load-weights are initialized to zero. This admits some races with respect to the first time they a

[PATCH 3.10 29/62] vlan: Fix header ops passthru when doing TX VLAN offload.

2014-01-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 2205369a314e12fcec4781cc73ac9c08fc2b47de ] When the vlan code detects that the real device can do TX VLAN offloads in hardware, it tries to arrange for the

[PATCH 3.10 50/62] clk: exynos5250: fix sysmmu_mfc{l,r} gate clocks

2014-01-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Bresticker commit 97c3557c3e0413efb1f021f582d1459760e22727 upstream. The gate clocks for the MFC sysmmus appear to be flipped, i.e. GATE_IP_MFC[2] gates sysmmu_mfcl and GATE_IP_MFC[1] g

[PATCH 3.10 58/62] x86, fpu, amd: Clear exceptions in AMD FXSAVE workaround

2014-01-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 26bef1318adc1b3a530ecc807ef99346db2aa8b0 upstream. Before we do an EMMS in the AMD FXSAVE information leak workaround we need to clear any pending exceptions, otherwise w

Re: [PATCH 2/2] x86, e820 disable ACPI Memory Hotplug if memory mapping is specified by user [v2]

2014-01-13 Thread H. Peter Anvin
On 01/13/2014 04:33 PM, Toshi Kani wrote: > > I do not think it makes sense. You needed memmap=exactmap as a > workaround because the kernel did not boot with the firmware's memory > info. So, it's broken, and you requested the kernel to ignore the > firmware info. > > Why do you think memory h

[PATCH 3.10 56/62] SCSI: sd: Reduce buffer size for vpd request

2014-01-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Bernd Schubert commit af73623f5f10eb3832c87a169b28f7df040a875b upstream. Somehow older areca firmware versions have issues with scsi_get_vpd_page() and a large buffer, the firmware seems to cr

[PATCH 3.10 59/62] sched: Fix race on toggling cfs_bandwidth_used

2014-01-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Ben Segall commit 1ee14e6c8cddeeb8a490d7b54cd9016e4bb900b4 upstream. When we transition cfs_bandwidth_used to false, any currently throttled groups will incorrectly return false from cfs_rq_th

[PATCH 3.10 55/62] intel_pstate: Add X86_FEATURE_APERFMPERF to cpu match parameters.

2014-01-13 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dirk Brandewie commit 6cbd7ee10e2842a3d1f9b60abede1c8f3d1f1130 upstream. KVM environments do not support APERF/MPERF MSRs. intel_pstate cannot operate without these registers. The previous va

<    5   6   7   8   9   10   11   12   13   >