[PATCH 3.12 018/104] timer: Fix lock inversion between hrtimer_bases.lock and scheduler locks

2014-08-20 Thread Jiri Slaby
From: Jan Kara 3.12-stable review patch. If anyone has any objections, please let me know. === commit 504d58745c9ca28d33572e2d8a9990b43e06075d upstream. clockevents_increase_min_delta() calls printk() from under hrtimer_bases.lock. That causes lock inversion on scheduler locks

Re: [PATCH v5] pcie: Add Xilinx PCIe Host Bridge IP driver

2014-08-20 Thread Srikanth Thokala
Hi Bjorn, On Tue, Aug 19, 2014 at 12:19 AM, Bjorn Helgaas wrote: > On Mon, Aug 18, 2014 at 02:47:23PM +0530, Srikanth Thokala wrote: >> Hi Michal, >> >> On Tue, Aug 12, 2014 at 3:07 PM, Michal Simek wrote: >> > Hi Bjorn, >> > >> > On 07/30/2014 01:24 PM, Srikanth Thokala wrote: >> >> Hi Arnd,

[PATCH v4 1/2] timer: provide an api for deferrable timeout

2014-08-20 Thread Chintan Pandya
schedule_timeout wakes up the CPU from IDLE state. For some use cases it is not desirable, hence introduce a convenient API (schedule_timeout_deferrable_interruptible) on similar pattern which uses a deferrable timer. Signed-off-by: Chintan Pandya Cc: Thomas Gleixner Cc: John Stultz Cc: Peter

[PATCH 3.12 036/104] tcp: Fix integer-overflows in TCP veno

2014-08-20 Thread Jiri Slaby
From: Christoph Paasch 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 45a07695bc64b3ab5d6d2215f9677e5b8c05a7d0 ] In veno we do a multiplication of the cwnd and the rtt. This may overflow and thus their result is stored in a u64.

[PATCH 3.12 039/104] macvlan: Initialize vlan_features to turn on offload support.

2014-08-20 Thread Jiri Slaby
From: Vlad Yasevich 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 081e83a78db9b0ae1f5eabc2dedecc865f509b98 ] Macvlan devices do not initialize vlan_features. As a result, any vlan devices configured on top of macvlans perform

[PATCH 3.12 037/104] tcp: Fix integer-overflow in TCP vegas

2014-08-20 Thread Jiri Slaby
From: Christoph Paasch 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 1f74e613ded11517db90b2bd57e9464d9e0fb161 ] In vegas we do a multiplication of the cwnd and the rtt. This may overflow and thus their result is stored in a u64.

[PATCH] thermal: samsung: Exynos5260 and Exynos5420 should not use TRIM_RELOAD flag

2014-08-20 Thread Bartlomiej Zolnierkiewicz
Currently these SoCs claim TRIM_RELOAD support but don't have triminfo_ctrl register address defined in their struct exynos_tmu_registers entries. This causes incorrect write of value "1" to data->base + 0x00 address (which happens to be TRIMINFO register). Fix it by removing

[PATCH 3.12 050/104] sparc64: Don't bark so loudly about 32-bit tasks generating 64-bit fault addresses.

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit e5c460f46ae7ee94831cb55cb980f942aa9e5a85 ] This was found using Dave Jone's trinity tool. When a user process which is 32-bit performs a load or a store, the

[PATCH 3.12 043/104] sparc64: Fix argument sign extension for compat_sys_futex().

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit aa3449ee9c87d9b7660dd1493248abcc57769e31 ] Only the second argument, 'op', is signed. Signed-off-by: David S. Miller Signed-off-by: Jiri Slaby ---

[PATCH 3.12 009/104] mm, thp: do not allow thp faults to avoid cpuset restrictions

2014-08-20 Thread Jiri Slaby
From: David Rientjes 3.12-stable review patch. If anyone has any objections, please let me know. === commit b104a35d32025ca740539db2808aa3385d0f30eb upstream. The page allocator relies on __GFP_WAIT to determine if ALLOC_CPUSET should be set in allocflags. ALLOC_CPUSET controls

[PATCH 3.12 047/104] sparc64: Fix top-level fault handling bugs.

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 70ffc6ebaead783ac8dafb1e87df0039bb043596 ] Make get_user_insn() able to cope with huge PMDs. Next, make do_fault_siginfo() more robust when get_user_insn()

[PATCH 3.12 034/104] ip: make IP identifiers less predictable

2014-08-20 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 04ca6973f7c1a0d8537f2d9906a0cf8e69886d75 ] In "Counting Packets Sent Between Arbitrary Internet Hosts", Jeffrey and Jedidiah describe ways exploiting linux IP

[PATCH 3.12 045/104] sparc64: Fix executable bit testing in set_pmd_at() paths.

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 5b1e94fa439a3227beefad58c28c17f68287a8e9 ] This code was mistakenly using the exec bit from the PMD in all cases, even when the PMD isn't a huge PMD. If it's

[PATCH 3.12 048/104] sparc64: Add basic validations to {pud,pmd}_bad().

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 26cf432551d749e7d581db33529507a711c6eaab ] Instead of returning false we should at least check the most basic things, otherwise page table corruptions will be

[PATCH 3.12 038/104] net: sctp: inherit auth_capable on INIT collisions

2014-08-20 Thread Jiri Slaby
From: Daniel Borkmann 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 1be9a950c646c9092fb3618197f7b6bfb50e82aa ] Jason reported an oops caused by SCTP on his ARM machine with SCTP authentication enabled: Internal error: Oops: 17

[PATCH 3.12 040/104] net: Correctly set segment mac_len in skb_segment().

2014-08-20 Thread Jiri Slaby
From: Vlad Yasevich 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit fcdfe3a7fa4cb74391d42b6a26dc07c20dab1d82 ] When performing segmentation, the mac_len value is copied right out of the original skb. However, this value is not

[PATCH 3.12 046/104] sparc64: Handle 32-bit tasks properly in compute_effective_address().

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit d037d16372bbe4d580342bebbb8826821ad9edf0 ] If we have a 32-bit task we must chop off the top 32-bits of the 64-bit value just as the cpu would.

[PATCH 3.12 020/104] x86-64, espfix: Don't leak bits 31:16 of %esp returning to 16-bit stack

2014-08-20 Thread Jiri Slaby
From: "H. Peter Anvin" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3891a04aafd668686239349ea58f3314ea2af86b upstream. The IRET instruction, when returning to a 16-bit segment, only restores the bottom 16 bits of the user space stack

[PATCH 3.12 051/104] sparc64: Fix huge TSB mapping on pre-UltraSPARC-III cpus.

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit b18eb2d779240631a098626cb6841ee2dd34fda0 ] Access to the TSB hash tables during TLB misses requires that there be an atomic 128-bit quad load available so

[PATCH 3.12 049/104] sparc64: Give more detailed information in {pgd,pmd}_ERROR() and kill pte_ERROR().

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit fe866433f843b080246ce729b5e6b27b5f5d9a58 ] pte_ERROR() is not used anywhere, delete it. For pgd_ERROR() and pmd_ERROR(), output something similar to x86,

[PATCH 3.12 054/104] sparc64: Guard against flushing openfirmware mappings.

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 4ca9a23765da3260058db3431faf5b4efd8cf926 ] Based almost entirely upon a patch by Christopher Alexander Tobias Schulze. In commit

[PATCH 3.12 070/104] DMA-API: net: intel/e1000e: fix 32-bit DMA mask handling

2014-08-20 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit 718a39eb587e038f7ded076afcfd8d709879139f upstream. The fallback to 32-bit DMA mask is rather odd: err = dma_set_mask(>dev, DMA_BIT_MASK(64)); if (!err) {

[PATCH 3.12 060/104] mac80211: reset probe_send_count also in HW_CONNECTION_MONITOR case

2014-08-20 Thread Jiri Slaby
From: Eliad Peller 3.12-stable review patch. If anyone has any objections, please let me know. === commit 448cd2e248732326632957e52ea9c44729affcb2 upstream. In case of beacon_loss with IEEE80211_HW_CONNECTION_MONITOR device, mac80211 probes the ap (and disconnects on timeout) but

[PATCH 3.12 069/104] DMA-API: provide a helper to set both DMA and coherent DMA masks

2014-08-20 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4aa806b771d16b810771d86ce23c4c3160888db3 upstream. Provide a helper to set both the DMA and coherent DMA masks to the same value - this avoids duplicated code in a number of

Re: [PATCH] mfd: max77686: make interrupts support optional

2014-08-20 Thread Lee Jones
On Wed, 20 Aug 2014, Javier Martinez Canillas wrote: > Hello Lee, Marek, > > On 08/20/2014 10:19 AM, Lee Jones wrote: > > On Wed, 20 Aug 2014, Marek Szyprowski wrote: > > > >> Commit 6f1c1e71d93 ("mfd: max77686: Convert to use regmap_irq") broke > >> support for boards, which provide no irq for

[PATCH 3.12 052/104] sparc64: Add membar to Niagara2 memcpy code.

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 5aa4ecfd0ddb1e6dcd1c886e6c49677550f581aa ] This is the prevent previous stores from overlapping the block stores done by the memcpy loop. Based upon a glibc

Re: [PATCH net-next 3/4] r8152: remove clear_bp function

2014-08-20 Thread Sergei Shtylyov
Hello. On 8/20/2014 12:58 PM, Hayes Wang wrote: The functions are used to update the firmware. Move the actions into the firmware files. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 24 1 file changed, 24 deletions(-) diff --git

[PATCH 3.12 057/104] sparc64: ldc_connect() should not return EINVAL when handshake is in progress.

2014-08-20 Thread Jiri Slaby
From: Sowmini Varadhan 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 4ec1b01029b4facb651b8ef70bc20a4be4cebc63 ] The LDC handshake could have been asynchronously triggered after ldc_bind() enables the ldc_rx() receive

[PATCH 3.12 053/104] sparc64: Do not insert non-valid PTEs into the TSB hash table.

2014-08-20 Thread Jiri Slaby
From: "David S. Miller" 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 18f38132528c3e603c66ea464727b29e9bbcb91b ] The assumption was that update_mmu_cache() (and the equivalent for PMDs) would only be called when the PTE being

[PATCH 3.12 058/104] arch/sparc/math-emu/math_32.c: drop stray break operator

2014-08-20 Thread Jiri Slaby
From: Andrey Utkin 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 093758e3daede29cb4ce6aedb111becf9d4bfc57 ] This commit is a guesswork, but it seems to make sense to drop this break, as otherwise the following line is never

[PATCH 3.12 071/104] e1000e: Fix a compile flag mis-match for suspend/resume

2014-08-20 Thread Jiri Slaby
From: David Ertman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7509963c703b71eebccc421585e7f48ebbbd3f38 upstream. This patch addresses a mis-match between the declaration and usage of the e1000_suspend and e1000_resume functions.

[PATCH 3.12 059/104] iwlwifi: mvm: Add a missed beacons threshold

2014-08-20 Thread Jiri Slaby
From: Ilan Peer 3.12-stable review patch. If anyone has any objections, please let me know. === commit 12d423e816c69b0b4457bc047dda9a0a1c1a53c1 upstream. Instead of always calling ieee80211_beacon_loss() on every missed beacons notification, call this function only if the number

[PATCH 3.12 077/104] ixgbe: fix rx-usecs range checks for BQL

2014-08-20 Thread Jiri Slaby
From: Emil Tantilov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2e0103810c6fed6a736c4a3af87b0f5c6bd8cd5b upstream. This patch resolves an issue where the logic used to detect changes in rx-usecs was incorrect and was masked by the call

[PATCH 4/4] usb: dwc3: add ACPI support

2014-08-20 Thread Heikki Krogerus
Adding ACPI ID used on newer Intel SoCs. Signed-off-by: Heikki Krogerus --- drivers/usb/dwc3/core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 3f307f6..6b0dcdb 100644 --- a/drivers/usb/dwc3/core.c +++

[PATCH 3.12 084/104] igb: Fix master/slave mode for all m88 i354 PHY's

2014-08-20 Thread Jiri Slaby
From: Carolyn Wyborny 3.12-stable review patch. If anyone has any objections, please let me know. === commit d1c17d806b6a52ff020322bec457717a91ea50a9 upstream. This patch calls code to set the master/slave mode for all m88 gen 2 PHY's. This patch also removes the call to this

[PATCH 3.12 088/104] DMA-API: net: intel/igbvf: fix 32-bit DMA mask handling

2014-08-20 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit c21b8ebc2f1613fd0a9d5aa0d0d1083aee8ca306 upstream. The fallback to 32-bit DMA mask is rather odd: err = dma_set_mask(>dev, DMA_BIT_MASK(64)); if (!err) {

[PATCH 3.12 067/104] offb: Little endian fixes

2014-08-20 Thread Jiri Slaby
From: Cedric Le Goater 3.12-stable review patch. If anyone has any objections, please let me know. === commit 212c0cbd5be721a39ef3e2f723e0c78008f9e955 upstream. The "screen" properties : depth, width, height, linebytes need to be converted to the host endian order when read from

[PATCH 3.12 078/104] ixgbe: fix qv_lock_napi call in ixgbe_napi_disable_all

2014-08-20 Thread Jiri Slaby
From: Jacob Keller 3.12-stable review patch. If anyone has any objections, please let me know. === commit 27d9ce4fd0e2e75c2907f6d3dc0487012a3e4298 upstream. ixgbe_napi_disable_all calls napi_disable on each queue, however the busy polling code introduced a local_bh_disable()d

[PATCH 3.12 085/104] igb: fix driver reload with VF assigned to guest

2014-08-20 Thread Jiri Slaby
From: Stefan Assmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 781798a11e2820ee35fa9142869bb8cec117dedc upstream. commit fa44f2f185f7f9da19d331929bb1b56c1ccd1d93 broke reloading of igb, when VFs are assigned to a guest, in several

Re: [PATCH v4 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-08-20 Thread Sergei Shtylyov
Hello. On 8/20/2014 9:46 AM, Robert Baldyga wrote: This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which returns endpoint descriptor to userspace. It works only if function is active. Signed-off-by: Robert Baldyga [...] diff --git a/include/uapi/linux/usb/functionfs.h

[PATCH 3.12 072/104] e1000e: Fix compilation warning when !CONFIG_PM_SLEEP

2014-08-20 Thread Jiri Slaby
From: Mika Westerberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 38a529b5d42e4cfc5ac94844e61335a00eb2d320 upstream. Commit 7509963c703b (e1000e: Fix a compile flag mis-match for suspend/resume) moved suspend and resume hooks to be

[PATCH 1/4] usb: dwc3: pci: Add PCI ID for Intel Braswell

2014-08-20 Thread Heikki Krogerus
From: Alan Cox The device controller is the same but it has different PCI ID. Add this new ID to the driver's list of supported IDs. Signed-off-by: Alan Cox Signed-off-by: Mika Westerberg Signed-off-by: Heikki Krogerus --- drivers/usb/dwc3/dwc3-pci.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH 3.12 083/104] igb: Add ethtool offline tests for i354

2014-08-20 Thread Jiri Slaby
From: "Fujinaka, Todd" 3.12-stable review patch. If anyone has any objections, please let me know. === commit a4e979a27db3eb77e286dbe484e96c0c9c986e83 upstream. Add the ethtool offline tests for i354 devices. Signed-off-by: Todd Fujinaka Tested-by: Aaron Brown Signed-off-by:

[PATCH 3/4] usb: dwc3: core: only setting the dma_mask when needed

2014-08-20 Thread Heikki Krogerus
If the probe drivers have already set the dma_mask, not replacing the value. Signed-off-by: Heikki Krogerus --- drivers/usb/dwc3/core.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index b769c1f..3f307f6 100644 ---

[PATCH 3.12 068/104] fbcon: Clean up fbcon data in fb_info on FB_EVENT_FB_UNBIND with 0 fbs

2014-08-20 Thread Jiri Slaby
From: Keith Packard 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5f4dc28bd9c8a990ed6253303b7a821a7abfe9fa upstream. When FB_EVENT_FB_UNBIND is sent, fbcon has two paths, one path taken when there is another frame buffer to switch any

[PATCH 3.12 063/104] mnt: Only change user settable mount flags in remount

2014-08-20 Thread Jiri Slaby
From: "Eric W. Biederman" 3.12-stable review patch. If anyone has any objections, please let me know. === commit a6138db815df5ee542d848318e5dae681590fccd upstream. Kenton Varda discovered that by remounting a read-only bind mount read-only in a user namespace the

[PATCH 3.12 104/104] drivers/rtc/interface.c: fix infinite loop in initializing the alarm

2014-08-20 Thread Jiri Slaby
From: Ales Novak 3.12-stable review patch. If anyone has any objections, please let me know. === commit ee1d90146815fdc8d653c558b327fff2acba041d upstream. In __rtc_read_alarm(), if the alarm time retrieved by rtc_read_alarm_internal() from the device contains invalid values (e.g.

[PATCH 0/4] usb: dwc3: ACPI support

2014-08-20 Thread Heikki Krogerus
And Intel Braswell PCI ID Alan Cox (1): usb: dwc3: pci: Add PCI ID for Intel Braswell Heikki Krogerus (3): ACPI / platform: provide default DMA mask usb: dwc3: core: only setting the dma_mask when needed usb: dwc3: add ACPI support drivers/acpi/acpi_platform.c | 2 ++

[PATCH 3.12 064/104] mnt: Move the test for MNT_LOCK_READONLY from change_mount_flags into do_remount

2014-08-20 Thread Jiri Slaby
From: "Eric W. Biederman" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 07b645589dcda8b7a5249e096fece2a67556f0f4 upstream. There are no races as locked mount flags are guaranteed to never change. Moving the test into do_remount makes it

[PATCH 3.12 074/104] e1000: prevent oops when adapter is being closed and reset simultaneously

2014-08-20 Thread Jiri Slaby
From: yzhu1 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6a7d64e3e09e11181a07a2e8cd6af5d6355133be upstream. This change is based on a similar change made to e1000e support in commit bb9e44d0d0f4 ("e1000e: prevent oops when adapter is

[PATCH 3.12 097/104] tipc: don't use memcpy to copy from user space

2014-08-20 Thread Jiri Slaby
From: Ying Xue 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5c0a0fc81f4dc786b42c4fc9c7c72ba635406ab5 upstream. tipc_msg_build() calls skb_copy_to_linear_data_offset() to copy data from user space to kernel space. However, the latter

[PATCH 3.12 030/104] lib/btree.c: fix leak of whole btree nodes

2014-08-20 Thread Jiri Slaby
From: Minfei Huang 3.12-stable review patch. If anyone has any objections, please let me know. === commit c75b53af2f0043aff500af0a6f878497bef41bca upstream. I use btree from 3.14-rc2 in my own module. When the btree module is removed, a warning arises: kmem_cache_destroy

[PATCH 3.12 095/104] bnx2fc: fix memory leak in bnx2fc_allocate_hash_table()

2014-08-20 Thread Jiri Slaby
From: Maurizio Lombardi 3.12-stable review patch. If anyone has any objections, please let me know. === commit fdbcbcab0eae6773430546697ace0b3fe48e7fbc upstream. In case of error, the bnx2fc_allocate_hash_table() didn't free all the memory it allocated. Signed-off-by: Maurizio

[PATCH 3.12 055/104] bbc-i2c: Fix BBC I2C envctrl on SunBlade 2000

2014-08-20 Thread Jiri Slaby
From: Christopher Alexander Tobias Schulze 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 5cdceab3d5e02eb69ea0f5d8fa9181800baf6f77 ] Fix regression in bbc i2c temperature and fan control on some Sun systems that causes the driver

[PATCH 3.12 006/104] rapidio/tsi721_dma: fix failure to obtain transaction descriptor

2014-08-20 Thread Jiri Slaby
From: Alexandre Bounine 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0193ed8225e1a79ed64632106ec3cc81798cb13c upstream. This is a bug fix for the situation when function tsi721_desc_get() fails to obtain a free transaction descriptor.

[PATCH 3.12 100/104] HID: logitech-dj: Fix USB 3.0 issue

2014-08-20 Thread Jiri Slaby
From: Benjamin Tisssoires 3.12-stable review patch. If anyone has any objections, please let me know. === commit 42c22dbf81ebd1146960875ddfe71630cb2b3ae6 upstream. This fix (not very clean though) should fix the long time USB3 issue that was spotted last year. The rational has

[PATCH 3.12 073/104] e1000: fix wrong queue idx calculation

2014-08-20 Thread Jiri Slaby
From: Hong Zhiguo 3.12-stable review patch. If anyone has any objections, please let me know. === commit 49a45a0686cc2b43bcb3834a68416a201475dc77 upstream. tx_ring and adapter->tx_ring are already of type "struct e1000_tx_ring *" Signed-off-by: Hong Zhiguo Tested-by: Aaron

[PATCH 3.12 094/104] bnx2x: Test nvram when interface is down

2014-08-20 Thread Jiri Slaby
From: Yuval Mintz 3.12-stable review patch. If anyone has any objections, please let me know. === commit bd8e012b5d369933f50842294372ed580f5d9605 upstream. Since commit 3fb43eb ("bnx2x: Change to D3hot only on removal") nvram is accessible whenever the driver is loaded - Thus it

[PATCH 3.12 065/104] mnt: Correct permission checks in do_remount

2014-08-20 Thread Jiri Slaby
From: "Eric W. Biederman" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9566d6742852c527bf5af38af5cbb878dad75705 upstream. While invesgiating the issue where in "mount --bind -oremount,ro ..." would result in later "mount --bind

[PATCH 3.12 079/104] ixgbe: fix inconsistent clearing of the multicast table

2014-08-20 Thread Jiri Slaby
From: Emil Tantilov 3.12-stable review patch. If anyone has any objections, please let me know. === commit cf78959c0d7afbde31498afc4212294c28e2c278 upstream. This patch resolves an issue where the MTA table can be cleared when the interface is reset while in promisc mode. As

[PATCH 3.12 081/104] ixgbevf: cleanup redundant mailbox read failure check

2014-08-20 Thread Jiri Slaby
From: Don Skidmore 3.12-stable review patch. If anyone has any objections, please let me know. === commit c7bb417dbbcfd20824d54f9af9c92b9ff43d upstream. Since we are already checking for read failure in check_link we don't need to do it here. Instead just make sure the

[PATCH 3.12 099/104] Input: i8042 - add Acer Aspire 5710 to nomux blacklist

2014-08-20 Thread Jiri Slaby
From: Jiri Kosina 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8c947e20cb1f442c704852b2ca24b81981b09493 upstream. Acer Aspire needs to be added to nomux blacklist, otherwise the touchpad misbehaves rather randomly. Signed-off-by: Jiri

[PATCH 3.12 075/104] e1000: fix possible reset_task running after adapter down

2014-08-20 Thread Jiri Slaby
From: Vladimir Davydov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 74a1b1ea8a30b035aaad833bbd6b9263e72acfac upstream. On e1000_down(), we should ensure every asynchronous work is canceled before proceeding. Since the watchdog_task can

Re: [PATCH v3 2/2] ksm: provide support to use deferrable timers for scanner thread

2014-08-20 Thread Chintan Pandya
Hi Hugh, + unsigned long enable; + int err; + + err = kstrtoul(buf, 10,); + if (err< 0) + return err; + if (enable>= 1) + return -EINVAL; I haven't studied the patch itself, I'm still worrying about the concept. But this caught my eye just before hitting Send: I don't think we need a tunable

[PATCH 3.12 086/104] igb: Don't let ethtool try to write to iNVM in i210/i211

2014-08-20 Thread Jiri Slaby
From: "Fujinaka, Todd" 3.12-stable review patch. If anyone has any objections, please let me know. === commit a71fc313c4f569be5788caff07ef1fe346842c5b upstream. Don't let ethtool try to write to iNVM in i210/i211. This fixes an issue seen by Marek Vasut. Reported-by: Marek

[PATCH 3.12 035/104] net: sendmsg: fix NULL pointer dereference

2014-08-20 Thread Jiri Slaby
From: Andrey Ryabinin 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 40eea803c6b2cfaab092f053248cbeab3f368412 ] Sasha's report: > While fuzzing with trinity inside a KVM tools guest running the latest -next >

[PATCH 3.12 089/104] igbvf: integer wrapping bug setting the mtu

2014-08-20 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3de9e65f011b95235a789b12abc4730570cdb737 upstream. If new_mtu is very large then "new_mtu + ETH_HLEN + ETH_FCS_LEN" can wrap and the check on the next line can underflow.

[PATCH 3.12 076/104] DMA-API: net: intel/ixgbe: fix 32-bit DMA mask handling

2014-08-20 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit f5f2eda8049644a27af5fdf59c3766589358e435 upstream. The fallback to 32-bit DMA mask is rather odd: if (!dma_set_mask(>dev, DMA_BIT_MASK(64)) &&

[PATCH 3.12 080/104] DMA-API: net: intel/ixgbevf: fix 32-bit DMA mask handling

2014-08-20 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit 53567aa4e00399aa59339bba81b285a5b95f425c upstream. The fallback to 32-bit DMA mask is rather odd: if (!dma_set_mask(>dev, DMA_BIT_MASK(64)) &&

Re: [RFC 2/4] tuntap: Publish tuntap maximum number of queues as module_param

2014-08-20 Thread Michael S. Tsirkin
On Wed, Aug 20, 2014 at 01:46:20PM +0200, Jiri Pirko wrote: > Wed, Aug 20, 2014 at 01:17:24PM CEST, m...@redhat.com wrote: > >On Wed, Aug 20, 2014 at 12:58:17PM +0200, Jiri Pirko wrote: > >> Mon, Aug 18, 2014 at 03:37:18PM CEST, pagu...@redhat.com wrote: > >> > This patch publishes maximum number

[PATCH 3.12 082/104] DMA-API: net: intel/igb: fix 32-bit DMA mask handling

2014-08-20 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit dc4ff9bb7534ebd153f8441ec0e9190964ad8944 upstream. The fallback to 32-bit DMA mask is rather odd: err = dma_set_mask(>dev, DMA_BIT_MASK(64)); if (!err) {

Re: [RFC 2/4] tuntap: Publish tuntap maximum number of queues as module_param

2014-08-20 Thread Jiri Pirko
Wed, Aug 20, 2014 at 01:17:24PM CEST, m...@redhat.com wrote: >On Wed, Aug 20, 2014 at 12:58:17PM +0200, Jiri Pirko wrote: >> Mon, Aug 18, 2014 at 03:37:18PM CEST, pagu...@redhat.com wrote: >> > This patch publishes maximum number of tun/tap queues allocated as a >> > read_only module parameter

[PATCH 3.12 093/104] RDMA/cxgb3: Fix information leak in send_abort()

2014-08-20 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit e4514cbd972786af67dd6c442c072685387e22a2 upstream. The cpl_abort_req struct has several reserved members which need to be cleared to avoid disclosing kernel information. I

[PATCH 3.12 098/104] PCI: rphahp: Fix endianess issues

2014-08-20 Thread Jiri Slaby
From: Laurent Dufour 3.12-stable review patch. If anyone has any objections, please let me know. === commit 761ce53330a4f02c58768631027d1c1dd0d538f7 upstream. Numerical values stored in the device tree are encoded in Big Endian and should be byte swapped when running in Little

[PATCH 3.12 101/104] ALSA: hda - load EQ params into IDT codec on HP bNB13 systems

2014-08-20 Thread Jiri Slaby
From: Vitaliy Kulikov 3.12-stable review patch. If anyone has any objections, please let me know. === commit d009f3deb788f7d06fe04c52eaf812b657a0ca68 upstream. Adds linear EQ filtering for integrated speaker protection Signed-off-by: Vitaliy Kulikov Signed-off-by: Takashi Iwai

[PATCH 3.12 056/104] sunsab: Fix detection of BREAK on sunsab serial console

2014-08-20 Thread Jiri Slaby
From: Christopher Alexander Tobias Schulze 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit fe418231b195c205701c0cc550a03f6c9758fd9e ] Fix detection of BREAK on sunsab serial console: BREAK detection was only performed when there

[PATCH 3.12 091/104] DMA-API: net: brocade/bna/bnad.c: fix 32-bit DMA mask handling

2014-08-20 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3e5480791e3b0e239d2cd4e5ecd43a7d2585484b upstream. The fallback to 32-bit DMA mask is rather odd: if (!dma_set_mask(>dev, DMA_BIT_MASK(64)) &&

Re: [RFC 2/4] tuntap: Publish tuntap maximum number of queues as module_param

2014-08-20 Thread Jiri Pirko
Wed, Aug 20, 2014 at 01:49:07PM CEST, m...@redhat.com wrote: >On Wed, Aug 20, 2014 at 01:46:20PM +0200, Jiri Pirko wrote: >> Wed, Aug 20, 2014 at 01:17:24PM CEST, m...@redhat.com wrote: >> >On Wed, Aug 20, 2014 at 12:58:17PM +0200, Jiri Pirko wrote: >> >> Mon, Aug 18, 2014 at 03:37:18PM CEST,

[PATCH 3.12 066/104] ext4: Fix block zeroing when punching holes in indirect block files

2014-08-20 Thread Jiri Slaby
From: Jan Kara 3.12-stable review patch. If anyone has any objections, please let me know. === commit 77ea2a4ba657a1ad4fb7c64bc5cdce84b8a132b6 upstream. free_holes_block() passed local variable as a block pointer to ext4_clear_blocks(). Thus ext4_clear_blocks() zeroed out this

[PATCH 3.12 087/104] igb: Fixed Wake On LAN support

2014-08-20 Thread Jiri Slaby
From: Akeem G Abodunrin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 42ce4126d8bc2e128e1f207cf79bb0623fac498f upstream. This patch fixes Wake on LAN being reported as supported on some Ethernet ports, in contrary to Hardware capability.

[PATCH 3.12 090/104] igbvf: add missing iounmap() on error in igbvf_probe()

2014-08-20 Thread Jiri Slaby
From: Wei Yongjun 3.12-stable review patch. If anyone has any objections, please let me know. === commit de524681f88ff4ed293aa239f83c8cb04d59b47d upstream. Add the missing iounmap() before return from igbvf_probe() in the error handling case. Signed-off-by: Wei Yongjun

[PATCH 3.12 092/104] netxen: Correct off-by-one errors in bounds checks

2014-08-20 Thread Jiri Slaby
From: David Gibson 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4710b2ba873692194c636811ceda398f95e02db2 upstream. netxen_process_lro() contains two bounds checks. One for the ring number against the number of rings, and one for the Rx

[PATCH 2/4] ACPI / platform: provide default DMA mask

2014-08-20 Thread Heikki Krogerus
Most devices are configured for 32-bit DMA addresses. Setting the mask to 32-bit here removes the need for the drivers to do it separately. Signed-off-by: Heikki Krogerus --- drivers/acpi/acpi_platform.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/acpi/acpi_platform.c

[PATCH 3.12 096/104] tg3: Add support for new 577xx device ids

2014-08-20 Thread Jiri Slaby
From: Nithin Sujir 3.12-stable review patch. If anyone has any objections, please let me know. === commit 68273712a19e9107a498a371532b3b3eb6dbb14c upstream. This patch adds support for 57764, 57765, 57787, 57782 and 57786 devices. Signed-off-by: Nithin Nayak Sujir

[PATCH 3.12 032/104] bnx2x: fix crash during TSO tunneling

2014-08-20 Thread Jiri Slaby
From: Dmitry Kravkov 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit fe26566d8a05151ba1dce75081f6270f73ec4ae1 ] When TSO packet is transmitted additional BD w/o mapping is used to describe the packed. The BD needs special handling

[PATCH 3.12 011/104] staging: vt6655: Fix disassociated messages every 10 seconds

2014-08-20 Thread Jiri Slaby
From: Malcolm Priestley 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4aa0abed3a2a11b7d71ad560c1a3e7631c5a31cd upstream. byReAssocCount is incremented every second resulting in disassociated message being send every 10 seconds whether

[PATCH 3.12 007/104] scsi: handle flush errors properly

2014-08-20 Thread Jiri Slaby
From: James Bottomley 3.12-stable review patch. If anyone has any objections, please let me know. === commit 89fb4cd1f717a871ef79fa7debbe840e3225cd54 upstream. Flush commands don't transfer data and thus need to be special cased in the I/O completion handler so that we can

[PATCH 3.12 005/104] cfg80211: fix mic_failure tracing

2014-08-20 Thread Jiri Slaby
From: Eliad Peller 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8c26d458394be44e135d1c6bd4557e1c4e1a0535 upstream. tsc can be NULL (mac80211 currently always passes NULL), resulting in NULL-dereference. check before copying it.

[PATCH 3.12 001/104] s390/ptrace: fix PSW mask check

2014-08-20 Thread Jiri Slaby
From: Martin Schwidefsky 3.12-stable review patch. If anyone has any objections, please let me know. === commit dab6cf55f81a6e16b8147aed9a843e1691dcd318 upstream. The PSW mask check of the PTRACE_POKEUSR_AREA command is incorrect. The PSW_MASK_USER define contains the

Re: [PATCH] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

2014-08-20 Thread Hoang Tran
On Aug 20, 2014 at 06:19am, Greg Kroah-Hartman wrote: > On Wed, Aug 20, 2014 at 04:53:22PM +0800, Hoang Tran wrote: > > This patch fixes the following sparse warnings in rtl8821ae/stats.c > > > > drivers/staging/rtl8821ae/stats.c:62:6: warning: symbol > > 'rtl_translate_todbm' was not declared.

[PATCH 3.12 000/104] 3.12.27-stable review

2014-08-20 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.27 release. There are 104 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 Fri Aug 22 13:43:20 CEST 2014. Anything

Re: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-20 Thread Sitsofe Wheeler
Hi, On Wed, Aug 20, 2014 at 11:15:39AM +, Dexuan Cui wrote: > > -Original Message- > > From: Sitsofe Wheeler > > Sent: Wednesday, August 20, 2014 17:27 PM > > To: Dexuan Cui > > Cc: KY Srinivasan; Greg Kroah-Hartman; Haiyang Zhang; > > de...@linuxdriverproject.org;

[[PATCH v2] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

2014-08-20 Thread Hoang Tran
This patch fixes the following sparse warnings in rtl8821ae/stats.c drivers/staging/rtl8821ae/stats.c:62:6: warning: symbol 'rtl_translate_todbm' was not declared. Should it be static? drivers/staging/rtl8821ae/stats.c:101:6: warning: symbol 'rtl_process_ui_rssi' was not declared. Should it be

[GIT PULL] KVM changes for 3.17-rc2

2014-08-20 Thread Paolo Bonzini
Linus, The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9: Linux 3.17-rc1 (2014-08-16 10:40:26 -0600) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to

mm: kernel BUG at mm/rmap.c:530

2014-08-20 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel, I've stumbled on the following spew: [ 2581.180086] kernel BUG at mm/rmap.c:530! [ 2581.180086] invalid opcode: [#1] [ 2581.180086] PREEMPT SMP DEBUG_PAGEALLOC [ 2581.180086] Dumping ftrace buffer:

Re: [PATCH] perf, map: Don't try to find DSOs in SYSV maps

2014-08-20 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 19, 2014 at 10:31:14PM -0400, Don Zickus escreveu: > We are seeing a lot of the following with regards to SYSV memory > > Failed to open /SYSV279c, continuing without symbols > > We don't believe this memory will have DSO info, so treat it like the heap and > stack for now and

Re: [PATCH] drivers: pci: convert generic host controller to DT host bridge creation API

2014-08-20 Thread Arnd Bergmann
On Tuesday 12 August 2014, Liviu Dudau wrote: > + return of_create_pci_host_bridge(dev, 0, 0xff, _pci_ops, > + gen_pci_setup, pci); I had not noticed it earlier, but the setup callback is actually a feature of the arm32 PCI code that I had hoped to

[PATCH] KVM: x86: do not check CS.DPL against RPL during task switch

2014-08-20 Thread Paolo Bonzini
This reverts the check added by commit 5045b468037d (KVM: x86: check CS.DPL against RPL during task switch, 2014-05-15). Although the CS.DPL=CS.RPL check is mentioned in table 7-1 of the SDM as causing a #TSS exception, it is not mentioned in table 6-6 that lists "invalid TSS conditions" which

[PATCH] KVM: x86: do not check CS.DPL against RPL during task switch

2014-08-20 Thread Paolo Bonzini
This reverts the check added by commit 5045b468037d (KVM: x86: check CS.DPL against RPL during task switch, 2014-05-15). Although the CS.DPL=CS.RPL check is mentioned in table 7-1 of the SDM as causing a #TSS exception, it is not mentioned in table 6-6 that lists "invalid TSS conditions" which

[PATCH 3/3] gpio: add support for the Diolan DLN-2 USB-GPIO driver

2014-08-20 Thread Daniel Baluta
This patch adds GPIO and IRQ support for the Diolan DLN-2 GPIO module. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see section 2.9 for the GPIO module commands and responses. [1] https://www.diolan.com/downloads/dln-api-manual.pdf

<    2   3   4   5   6   7   8   9   10   11   >