[PATCH] acpi: don't register acpi_pad driver if running as xen dom0

2016-10-12 Thread Juergen Gross
When running as Xen dom0 a special processor_aggregator driver is needed. Don't register the standard driver in this case. Without that check an error message: "Error: Driver 'processor_aggregator' is already registered, aborting..." will be displayed. Signed-off-by: Juergen Gross --- drivers

Re: [PATCH 1/7 v4] sched: factorize attach entity

2016-10-12 Thread Dietmar Eggemann
On 12/10/16 11:59, Vincent Guittot wrote: > On 7 October 2016 at 01:11, Vincent Guittot > wrote: >> >> On 5 October 2016 at 11:38, Dietmar Eggemann >> wrote: >>> On 09/26/2016 01:19 PM, Vincent Guittot wrote: [...] -static void attach_task_cfs_rq(struct task_struct *p) +static void

Re: [PATCH 3/4] arm64: Allow hw watchpoint of length 3,5,6 and 7

2016-10-12 Thread Yao Qi
On Wed, Oct 12, 2016 at 6:58 AM, Pratyush Anand wrote: > Since, arm64 can support all offset within a double word limit. Therefore, > now support other lengths within that range as well. How does ptracer (like GDB) detect kernel has already supported all byte address select values? I suppose ptr

Re: [PATCH v3 4/4] MIPS: Deprecate VPE Loader

2016-10-12 Thread Hauke Mehrtens
This interface is currently used by the Intel / Lantiq voice Firmware. This firmware is used by all Intel / Lantiq MIPS SoCs when they should support analog voice. What is the proposed timeline for the removal of this interface? Hauke On 10/11/2016 03:42 PM, Matt Redfearn wrote: > The MIPS remot

Re: [PATCH 0/2] ARM: at91: properly handle LPDDR poweroff

2016-10-12 Thread Alexandre Belloni
On 10/10/2016 at 08:00:30 +0200, Alexander Stein wrote : > Hi Alexandre, > > On Friday 07 October 2016 18:34:25, Alexandre Belloni wrote: > > Hi, > > > > This patch set improves LPDDR support on SoCs using the Atmel MPDDR > > controller. > > > > LPDDR memoris can only handle up to 400 uncontroll

Re: [PATCH]"drm: change DRM_MIPI_DSI module type from "bool" to "tristate".

2016-10-12 Thread Emil Velikov
On 11 October 2016 at 10:33, Jani Nikula wrote: > On Tue, 11 Oct 2016, "Sun, Jing A" wrote: >> It's needed that DRM Driver module could be removed and reloaded after >> kernel booting on the projects that I have been working on, and I hope >> such module type change could be accepted. Looks like

[PATCH v2] f2fs: split free nid list

2016-10-12 Thread Chao Yu
During free nid allocation, in order to do preallocation, we will tag free nid entry as allocated one and still leave it in free nid list, for other allocators who want to grab free nids, it needs to traverse the free nid list for lookup. It becomes overhead in scenario of allocating free nid inten

Re: [Xen-devel] [RFC KERNEL PATCH 0/2] Add Dom0 NVDIMM support for Xen

2016-10-12 Thread Jan Beulich
>>> On 12.10.16 at 12:33, wrote: > The layout is shown as the following diagram. > > +---+---+---+--+--+ > | whatever used | Partition | Super | Reserved | /dev/pmem0p1 | > | by kernel| Table | Block | for Xen | | > +-

[PATCH v2] usb: dwc3: gadget: Wait for end transfer complete before free irq

2016-10-12 Thread Baolin Wang
When we change the USB function with configfs frequently, sometimes it will hang the system to crash. The reason is the gadget driver can not hanle the end transfer complete event after free the gadget irq (since the xHCI will share the same interrupt number with gadget, thus when free the gadget i

Re: [rtc-linux] [PATCH] rtc: Add support for maxim dallas rtc max-6917

2016-10-12 Thread Alexandre Belloni
Hi, Seeing this has the same register map as max6916, please use regmap to abstract the accesses and handle both with the same driver. You can have a look at rtc-ds3232.c for an example. On 12/10/2016 at 01:33:32 -0700, VENKAT PRASHANTH B U wrote : > This is a patch to add support for > maxim dal

Re: [PATCH RESEND] ARM: dts: keystone-k2*: Increase SPI Flash partition size for U-Boot

2016-10-12 Thread Russell King - ARM Linux
On Wed, Oct 12, 2016 at 04:30:28PM +0530, Vignesh R wrote: > Hi, > > On Monday 10 October 2016 08:01 PM, Russell King - ARM Linux wrote: > > On Mon, Oct 10, 2016 at 07:41:41PM +0530, Vignesh R wrote: > >> U-Boot SPI Boot image is now more than 512KB for Keystone2 devices and > >> cannot fit into e

Re: [PATCH 6/10] mmc: sdhci-xenon: Add Marvell Xenon SDHC core functionality

2016-10-12 Thread Ziji Hu
Hi Adrian, Thank you very much for your review. I will firstly fix the typo. On 2016/10/11 20:37, Adrian Hunter wrote: > On 07/10/16 18:22, Gregory CLEMENT wrote: >> From: Ziji Hu >> >> Add Xenon eMMC/SD/SDIO host controller core functionality. >> Add Xenon specific intialization

[PATCH] mm, compaction: allow compaction for GFP_NOFS requests

2016-10-12 Thread Michal Hocko
From: Michal Hocko compaction has been disabled for GFP_NOFS and GFP_NOIO requests since the direct compaction was introduced by 56de7263fcf3 ("mm: compaction: direct compact when a high-order allocation fails"). The main reason is that the migration of page cache pages might recurse back to fs/i

[PATCH v2][RESEND] seq_file: don't set read position for invalid iterator

2016-10-12 Thread Tomasz Majchrzak
If kernfs file is empty on a first read, successive read operations using the same file descriptor will return no data, even when data is available. Default kernfs 'seq_next' implementation advances iterator position even when next object is not there. Kernfs 'seq_start' for following requests will

Re: [Intel-gfx] drm/i915: WARN_ON_ONCE(!crtc_clock || cdclk < crtc_clock)

2016-10-12 Thread Paul Bolle
On Wed, 2016-10-12 at 14:08 +0300, Joonas Lahtinen wrote: > Bisecting the offending commit between v4.8 and v4.8.1 would be a good > start. That would be between v4.7 and v4.8. (I guess my report was ambiguous.) That might take some time. Because bisecting always takes a long time and especially

Re: GPU-DRM-Savage: Less function calls in savage_bci_cmdbuf() after error detection

2016-10-12 Thread SF Markus Elfring
>> Date: Thu, 18 Aug 2016 21:28:58 +0200 >> >> The kfree() function was called in a few cases by the >> savage_bci_cmdbuf() function during error handling >> even if a passed variable contained a null pointer. >> >> Adjust jump targets according to the Linux coding style convention. >> >> Signed-of

Re: [PATCH] char/tpm: Check return code of wait_for_tpm_stat

2016-10-12 Thread Jarkko Sakkinen
On Tue, Oct 11, 2016 at 08:01:09PM +0200, Peter Huewe wrote: > > > Hi > Am 11. Oktober 2016 19:13:13 MESZ, schrieb Jason Gunthorpe > : > >On Tue, Oct 11, 2016 at 03:01:01PM +0300, Jarkko Sakkinen wrote: > >> From: Peter Huewe > >> > >> In some weird cases it might be possible that the TPM does

[PATCH v2 0/4] Enabling Ring 3 MONITOR/MWAIT feature for Knights Landing

2016-10-12 Thread Grzegorz Andrejczuk
These patches enable Intel Xeon Phi x200 feature to use MONITOR/MWAIT instruction in ring 3 (userspace) Patches set MSR 0x140 for all logical CPUs. Then expose it as CPU feature and introduces elf HWCAP capability for x86. Reference: https://software.intel.com/en-us/blogs/2016/10/06/intel-xeon-phi-

[PATCH v2 3/4] Add hwcap2 for x86

2016-10-12 Thread Grzegorz Andrejczuk
Add hwcap2 attribute for x86. Reserve 1st bit of HWCAP2 for exposing Xeon Phi ring 3 monitor/mwait. With this userspace apps can detect Ring 3 MONITOR/MWAIT instructions. Change-Id: I37d0354d1e2b9594d7feebc2bacda30b68163efe Signed-off-by: Grzegorz Andrejczuk --- arch/x86/include/asm/elf.h

[PATCH v2 2/4] Add enabling of the R3 MWAIT during boot for KNL

2016-10-12 Thread Grzegorz Andrejczuk
If processor is Intel Xeon Phi we enable user-level mwait feature. Enabling this feature suppreses invalid-opcode error, when MONITOR/MWAIT is called from ring 3. Change-Id: I1c7defb99296b022790a068a6c725b3e860cd68c Signed-off-by: Grzegorz Andrejczuk --- arch/x86/kernel/cpu/intel.c | 27

[PATCH v2 1/4] Add R3MWAIT register and bit to msr-info.h

2016-10-12 Thread Grzegorz Andrejczuk
Intel Xeon Phi x200 (codenamed Knights Landing) has MSR MISC_THD_FEATURE_ENABLE 0x140. Setting its 2nd bit make MONITOR and MWAIT instructions do not cause invalid-opcode exception. This commit adds this register prefixed by PHI and bit to msr-info.h Reference: https://software.intel.com/en-us/bl

Re: [PATCH] iommu/vt-d: Fix the size calculation of pasid table

2016-10-12 Thread David Woodhouse
On Mon, 2016-09-19 at 14:18 +0200, Joerg Roedel wrote: > [Cc'ing David] > > On Mon, Sep 12, 2016 at 10:49:11AM +0800, Xunlei Pang wrote: > > > > According to the vt-d spec, the size of pasid (state) entry is 8B > > which equals 3 in power of 2, the number of pasid (state) entries > > is (ecap_pss

Re: [PATCH 7/10] mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC

2016-10-12 Thread Ziji Hu
Hi Adrian, On 2016/10/11 20:39, Adrian Hunter wrote: > On 07/10/16 18:22, Gregory CLEMENT wrote: >> From: Ziji Hu >> >> Marvell Xenon eMMC/SD/SDIO Host Controller contains PHY. >> Three types of PHYs are supported. >> >> Add support to multiple types of PHYs init and configuration. >> Add registe

Re: [PATCH 24/54] md/raid1: Improve another size determination in setup_conf()

2016-10-12 Thread Jes Sorensen
Dan Carpenter writes: > Compare: > > foo = kmalloc(sizeof(*foo), GFP_KERNEL); > > This says you are allocating enough space for foo. It can be reviewed > by looking at one line. If you change the type of foo it will still > work. > > foo = kmalloc(sizeof(struct whatever), GFP_KERNEL)

[GIT PULL] xfs: shared data extents support for 4.9-rc1

2016-10-12 Thread Dave Chinner
Hi Linus, This is the second part of the XFS updates for this merge cycle. This pullreq contains the new shared data extents feature for XFS, and can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git tags/xfs-reflink-for-linus-4.9-rc1 The full pull request output is

[PATCH v2 4/4] Add R3MWAIT to CPU features

2016-10-12 Thread Grzegorz Andrejczuk
Add cpu feature for ring 3 monitor/mwait. Change-Id: Iba4d20639efd8d3637d37db9294cbc43a98f009a Signed-off-by: Grzegorz Andrejczuk --- arch/x86/include/asm/cpufeatures.h | 2 ++ arch/x86/kernel/cpu/common.c | 3 +++ arch/x86/kernel/cpu/scattered.c| 5 + 3 files changed, 10 insertion

Re: [PATCH] padata: add helper function for queue length

2016-10-12 Thread Jason A. Donenfeld
Hi Steffen, On Fri, Oct 7, 2016 at 5:15 AM, Steffen Klassert wrote: > Why you want to have this? I'm working on some bufferbloat/queue code that could benefit from knowing how many items are currently in flight. The goal is to always keep padata busy, but never with more jobs than absolutely nec

Re: [RFC PATCH 00/11] pci: support for configurable PCI endpoint

2016-10-12 Thread Christoph Hellwig
On Mon, Sep 26, 2016 at 11:38:41AM +0530, Kishon Vijay Abraham I wrote: > > Ok, so in theory there can be other hardware (and quite likely is) > > that supports multiple functions, and we can extend the framework > > to support them without major obstacles, but your hardware doesn't, > > so you kep

Re: [v4.8-rc1 Regression] sched/fair: Apply more PELT fixes

2016-10-12 Thread Vincent Guittot
On 8 October 2016 at 13:49, Mike Galbraith wrote: > On Sat, 2016-10-08 at 13:37 +0200, Vincent Guittot wrote: >> On 8 October 2016 at 10:39, Ingo Molnar wrote: >> > >> > * Peter Zijlstra wrote: >> > >> > > On Fri, Oct 07, 2016 at 03:38:23PM -0400, Joseph Salisbury wrote: >> > > > Hello Peter, >>

Re: [PATCH] iwlwifi: pcie: reduce "unsupported splx" to a warning

2016-10-12 Thread Luca Coelho
On Tue, 2016-10-11 at 23:32 -0500, Chris Rorvick wrote: > On Tue, Oct 11, 2016 at 5:11 AM, Paul Bolle wrote: > > For what it's worth, on my machine I have twenty (!) SPLX entries, all > > reading: > > Name (SPLX, Package (0x04) > > { > > Zero, > > Package (0x03) > >

[PATCH 3.4 003/125] mwifiex: fix mwifiex_rdeeprom_read()

2016-10-12 Thread lizf
From: Dan Carpenter 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 1f9c6e1bc1ba5f8a10fcd6e99d170954d7c6d382 upstream. There were several bugs here. 1) The done label was in the wrong place so we didn't copy any information out when

[PATCH 3.4 004/125] devres: fix a for loop bounds check

2016-10-12 Thread lizf
From: Dan Carpenter 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 1f35d04a02a652f14566f875aef3a6f2af4cb77b upstream. The iomap[] array has PCIM_IOMAP_MAX (6) elements and not DEVICE_COUNT_RESOURCE (16). This bug was found using a stati

[PATCH 3.4 001/125] mac80211: fix driver RSSI event calculations

2016-10-12 Thread lizf
From: Johannes Berg 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 8ec6d97871f37e4743678ea4a455bd59580aa0f4 upstream. The ifmgd->ave_beacon_signal value cannot be taken as is for comparisons, it must be divided by since it's represented

[PATCH 3.4 011/125] FS-Cache: Increase reference of parent after registering, netfs success

2016-10-12 Thread lizf
From: Kinglong Mee 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 86108c2e34a26e4bec3c6ddb23390bf8cedcf391 upstream. If netfs exist, fscache should not increase the reference of parent's usage and n_children, otherwise, never be decrease

[PATCH 3.4 012/125] FS-Cache: Don't override netfs's primary_index if registering failed

2016-10-12 Thread lizf
From: Kinglong Mee 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit b130ed5998e62879a66bad08931a2b5e832da95c upstream. Only override netfs->primary_index when registering success. Signed-off-by: Kinglong Mee Signed-off-by: David Howells

[PATCH 3.4 015/125] mtd: mtdpart: fix add_mtd_partitions error path

2016-10-12 Thread lizf
From: Boris BREZILLON 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit e5bae86797141e4a95e42d825f737cb36d7b8c37 upstream. If we fail to allocate a partition structure in the middle of the partition creation process, the already allocated p

[PATCH 3.4 018/125] Bluetooth: ath3k: Add support of AR3012 0cf3:817b device

2016-10-12 Thread lizf
From: Dmitry Tunin 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 18e0afab8ce3f1230ce3fef52b2e73374fd9c0e7 upstream. T: Bus=04 Lev=02 Prnt=02 Port=04 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=

[PATCH 3.4 016/125] iommu/vt-d: Fix ATSR handling for Root-Complex integrated endpoints

2016-10-12 Thread lizf
From: David Woodhouse 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit d14053b3c714178525f22660e6aaf41263d00056 upstream. The VT-d specification says that "Software must enable ATS on endpoint devices behind a Root Port only if the Root Po

[PATCH 3.4 019/125] staging: rtl8712: Add device ID for Sitecom WLA2100

2016-10-12 Thread lizf
From: Larry Finger 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 1e6e63283691a2a9048a35d9c6c59cf0abd342e4 upstream. This adds the USB ID for the Sitecom WLA2100. The Windows 10 inf file was checked to verify that the addition is correct

[PATCH 3.4 017/125] ext4, jbd2: ensure entering into panic after recording an error in superblock

2016-10-12 Thread lizf
From: Daeho Jeong 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 4327ba52afd03fc4b5afa0ee1d774c9c5b0e85c5 upstream. If a EXT4 filesystem utilizes JBD2 journaling and an error occurs, the journaling will be aborted first and the error num

[PATCH 3.4 009/125] scsi: restart list search after unlock in scsi_remove_target

2016-10-12 Thread lizf
From: Christoph Hellwig 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 40998193560dab6c3ce8d25f4fa58a23e252ef38 upstream. When dropping a lock while iterating a list we must restart the search as other threads could have manipulated the

[PATCH 3.4 024/125] crypto: algif_hash - Only export and import on sockets with data

2016-10-12 Thread lizf
From: Herbert Xu 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 4afa5f9617927453ac04b24b584f6c718dfb4f45 upstream. The hash_accept call fails to work on sockets that have not received any data. For some algorithm implementations it may

[PATCH 3.4 025/125] megaraid_sas : SMAP restriction--do not access user memory from IOCTL code

2016-10-12 Thread lizf
From: "sumit.sax...@avagotech.com" 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 323c4a02c631d00851d8edc4213c4d184ef83647 upstream. This is an issue on SMAP enabled CPUs and 32 bit apps running on 64 bit OS. Do not access user memory fr

[PATCH 3.4 010/125] net: fix a race in dst_release()

2016-10-12 Thread lizf
From: Eric Dumazet 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit d69bbf88c8d0b367cf3e3a052f6daadf630ee566 upstream. Only cpu seeing dst refcount going to 0 can safely dereference dst->flags. Otherwise an other cpu might already have fr

[PATCH 3.4 022/125] megaraid_sas: Do not use PAGE_SIZE for max_sectors

2016-10-12 Thread lizf
From: "sumit.sax...@avagotech.com" 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 357ae967ad66e357f78b5cfb5ab6ca07fb4a7758 upstream. Do not use PAGE_SIZE marco to calculate max_sectors per I/O request. Driver code assumes PAGE_SIZE will

[PATCH 3.4 013/125] FS-Cache: Handle a write to the page immediately beyond the EOF marker

2016-10-12 Thread lizf
From: David Howells 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 102f4d900c9c8f5ed89ae4746d493fe3ebd7ba64 upstream. Handle a write being requested to the page immediately beyond the EOF marker on a cache object. Currently this gets an

[PATCH 3.4 014/125] HID: core: Avoid uninitialized buffer access

2016-10-12 Thread lizf
From: Richard Purdie 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 79b568b9d0c7c5d81932f4486d50b38efdd6da6d upstream. hid_connect adds various strings to the buffer but they're all conditional. You can find circumstances where nothing w

[PATCH 3.4 020/125] ACPI: Use correct IRQ when uninstalling ACPI interrupt handler

2016-10-12 Thread lizf
From: Chen Yu 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 49e4b84333f338d4f183f28f1f3c1131b9fb2b5a upstream. Currently when the system is trying to uninstall the ACPI interrupt handler, it uses acpi_gbl_FADT.sci_interrupt as the IRQ n

[PATCH 3.4 021/125] ALSA: hda - Disable 64bit address for Creative HDA controllers

2016-10-12 Thread lizf
From: Takashi Iwai 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit cadd16ea33a938d49aee99edd4758cc76048b399 upstream. We've had many reports that some Creative sound cards with CA0132 don't work well. Some reported that it starts working

[PATCH 3.4 008/125] ipv6: fix tunnel error handling

2016-10-12 Thread lizf
From: Michal Kubeček 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit ebac62fe3d24c0ce22dd83afa7b07d1a2aaef44d upstream. Both tunnel6_protocol and tunnel46_protocol share the same error handler, tunnel6_err(), which traverses through tunne

[PATCH 3.4 023/125] Revert "dm mpath: fix stalls when handling invalid ioctls"

2016-10-12 Thread lizf
From: Mauricio Faria de Oliveira 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 47796938c46b943d157ac8a6f9ed4e3b98b83cf4 upstream. This reverts commit a1989b330093578ea5470bea0a00f940c444c466. That commit introduced a regression at leas

[PATCH 3.4 002/125] wm831x_power: Use IRQF_ONESHOT to request threaded IRQs

2016-10-12 Thread lizf
From: Valentin Rothberg 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 90adf98d9530054b8e665ba5a928de4307231d84 upstream. Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests") threaded IRQs without a primary handler ne

[PATCH 3.4 007/125] recordmcount: Fix endianness handling bug for nop_mcount

2016-10-12 Thread lizf
From: libin 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit c84da8b9ad3761eef43811181c7e896e9834b26b upstream. In nop_mcount, shdr->sh_offset and welp->r_offset should handle endianness properly, otherwise it will trigger Segmentation fau

[PATCH 3.4 069/125] dm btree: fix leak of bufio-backed block in btree_split_sibling error path

2016-10-12 Thread lizf
From: Mike Snitzer 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 30ce6e1cc5a0f781d60227e9096c86e188d2c2bd upstream. The block allocated at the start of btree_split_sibling() is never released if later insert_at() fails. Fix this by rel

[PATCH 3.4 068/125] USB: whci-hcd: add check for dma mapping error

2016-10-12 Thread lizf
From: Alexey Khoroshilov 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit f9fa1887dcf26bd346665a6ae3d3f53dec54cba1 upstream. qset_fill_page_list() do not check for dma mapping errors. Found by Linux Driver Verification project (linuxtesti

[PATCH 3.4 067/125] sata_sil: disable trim

2016-10-12 Thread lizf
From: Mikulas Patocka 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit d98f1cd0a3b70ea91f1dfda3ac36c3b2e1a4d5e2 upstream. When I connect an Intel SSD to SATA SIL controller (PCI ID 1095:3114), any TRIM command results in I/O errors being r

[PATCH 3.4 005/125] ARM: pxa: remove incorrect __init annotation on pxa27x_set_pwrmode

2016-10-12 Thread lizf
From: Arnd Bergmann 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 54c09889bff6d99c8733eed4a26c9391b177c88b upstream. The z2 machine calls pxa27x_set_pwrmode() in order to power off the machine, but this function gets discarded early at

[PATCH 3.4 006/125] MIPS: atomic: Fix comment describing atomic64_add_unless's return value.

2016-10-12 Thread lizf
From: Ralf Baechle 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit f25319d2cb439249a6859f53ad42ffa332b0acba upstream. Signed-off-by: Ralf Baechle Fixes: f24219b4e90cf70ec4a211b17fbabc725a0ddf3c (cherry picked from commit f0a232cde7be18a2

[PATCH 3.4 085/125] sh_eth: fix TX buffer byte-swapping

2016-10-12 Thread lizf
From: Sergei Shtylyov 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 3e2309937f1e5d538ff13da5fb8de41196927c61 upstream. For the little-endian SH771x kernels the driver has to byte-swap the RX/TX buffers, however yet unset physcial addre

[PATCH 3.4 072/125] sctp: start t5 timer only when peer rwnd is 0 and local state is SHUTDOWN_PENDING

2016-10-12 Thread lizf
From: lucien 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 8a0d19c5ed417c78d03f4e0fa7215e58c40896d8 upstream. when A sends a data to B, then A close() and enter into SHUTDOWN_PENDING state, if B neither claim his rwnd is 0 nor send SACK

[PATCH 3.4 071/125] ALSA: rme96: Fix unexpected volume reset after rate changes

2016-10-12 Thread lizf
From: Takashi Iwai 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit a74a821624c0c75388a193337babd17a8c02c740 upstream. rme96 driver needs to reset DAC depending on the sample rate, and this results in resetting to the max volume suddenly.

[PATCH 3.4 089/125] spi: fix parent-device reference leak

2016-10-12 Thread lizf
From: Johan Hovold 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 157f38f993919b648187ba341bfb05d0e91ad2f6 upstream. Fix parent-device reference leak due to SPI-core taking an unnecessary reference to the parent when allocating the maste

Re: [PATCH] iwlwifi: pcie: reduce "unsupported splx" to a warning

2016-10-12 Thread Paul Bolle
On Wed, 2016-10-12 at 15:24 +0300, Luca Coelho wrote: > Okay... Actually this is a structure in the BIOS and the actual method > we call is SPLC.  The SPLC method may return one item from this table, > or something entirely different, possible one of the three values > depending on a configuration

[PATCH 3.4 086/125] ARM: 8471/1: need to save/restore arm register(r11) when it is corrupted

2016-10-12 Thread lizf
From: Anson Huang 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit fa0708b320f6da4c1104fe56e01b7abf66fd16ad upstream. In cpu_v7_do_suspend routine, r11 is used while it is NOT saved/restored, different compiler may have different usage of

[PATCH 3.4 084/125] genirq: Prevent chip buslock deadlock

2016-10-12 Thread lizf
From: Thomas Gleixner 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit abc7e40c81d113ef4bacb556f0a77ca63ac81d85 upstream. If a interrupt chip utilizes chip->buslock then free_irq() can deadlock in the following way: CPU0

[PATCH 3.4 100/125] xen/pciback: For XEN_PCI_OP_disable_msi[|x] only disable if device has MSI(X) enabled.

2016-10-12 Thread lizf
From: Konrad Rzeszutek Wilk 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 7cfb905b9638982862f0331b36ccaaca5d383b49 upstream. Otherwise just continue on, returning the same values as previously (return of 0, and op->result has the PIRQ v

[PATCH 3.4 102/125] USB: ipaq.c: fix a timeout loop

2016-10-12 Thread lizf
From: Dan Carpenter 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit abdc9a3b4bac97add99e1d77dc6d28623afe682b upstream. The code expects the loop to end with "retries" set to zero but, because it is a post-op, it will end set to -1. I hav

[PATCH 3.4 101/125] xen/pciback: Don't allow MSI-X ops if PCI_COMMAND_MEMORY is not set.

2016-10-12 Thread lizf
From: Konrad Rzeszutek Wilk 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 408fb0e5aa7fda0059db282ff58c3b2a4278baa0 upstream. commit f598282f51 ("PCI: Fix the NIU MSI-X problem in a better way") teaches us that dealing with MSI-X can be

[PATCH 3.4 098/125] xen/pciback: Return error on XEN_PCI_OP_enable_msix when device has MSI or MSI-X enabled

2016-10-12 Thread lizf
From: Konrad Rzeszutek Wilk 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 5e0ce1455c09dd61d029b8ad45d82e1ac0b6c4c9 upstream. The guest sequence of: a) XEN_PCI_OP_enable_msix b) XEN_PCI_OP_enable_msix results in hitting an NULL poi

[PATCH 3.4 115/125] drm/radeon: fix hotplug race at startup

2016-10-12 Thread lizf
From: Dave Airlie 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 7f98ca454ad373fc1b76be804fa7138ff68c1d27 upstream. We apparantly get a hotplug irq before we've initialised modesetting, [drm] Loading R100 Microcode BUG: unable to handle

[PATCH 3.4 087/125] mISDN: fix a loop count

2016-10-12 Thread lizf
From: Dan Carpenter 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 40d24c4d8a7430aa4dfd7a665fa3faf3b05b673f upstream. There are two issue here. 1) cnt starts as maxloop + 1 so all these loops iterate one more time than intended. 2)

[PATCH 3.4 088/125] ser_gigaset: fix deallocation of platform device structure

2016-10-12 Thread lizf
From: Tilman Schmidt 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 4c5e354a974214dfb44cd23fa0429327693bc3ea upstream. When shutting down the device, the struct ser_cardstate must not be kfree()d immediately after the call to platform_de

[PATCH 3.4 119/125] ipv6: fix handling of blackhole and prohibit routes

2016-10-12 Thread lizf
From: Nicolas Dichtel 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit ef2c7d7b59708d54213c7556a82d14de9a7e4475 upstream. When adding a blackhole or a prohibit route, they were handling like classic routes. Moreover, it was only possible t

[PATCH 3.4 047/125] ALSA: usb-audio: prevent CH345 multiport output SysEx corruption

2016-10-12 Thread lizf
From: Clemens Ladisch 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 1ca8b201309d842642f221db7f02f71c0af5be2d upstream. The CH345 USB MIDI chip has two output ports. However, they are multiplexed through one pin, and the number of ports

[PATCH 3.4 037/125] macvlan: fix leak in macvlan_handle_frame

2016-10-12 Thread lizf
From: Sabrina Dubroca 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit e639b8d8a7a728f0b05ef2df6cb6b45dc3d4e556 upstream. Reset pskb in macvlan_handle_frame in case skb_share_check returned a clone. Fixes: 8a4eb5734e8d ("net: introduce rx

[PATCH 3.4 121/125] Fix incomplete backport of commit 0f792cf949a0

2016-10-12 Thread lizf
From: Zefan Li 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- Signed-off-by: Zefan Li --- mm/hugetlb.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 416cbfd..6726bfe 100644

[PATCH 3.4 044/125] net/neighbour: fix crash at dumping device-agnostic proxy entries

2016-10-12 Thread lizf
From: Konstantin Khlebnikov 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 6adc5fd6a142c6e2c80574c1db0c7c17dedaa42e upstream. Proxy entries could have null pointer to net-device. Signed-off-by: Konstantin Khlebnikov Fixes: 84920c1420e2

[PATCH 3.4 038/125] tcp: md5: fix lockdep annotation

2016-10-12 Thread lizf
From: Eric Dumazet 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 1b8e6a01e19f001e9f93b39c32387961c91ed3cc upstream. When a passive TCP is created, we eventually call tcp_md5_do_add() with sk pointing to the child. It is not owner by the

[PATCH 3.4 125/125] time: Prevent early expiry of hrtimers[CLOCK_REALTIME] at the leap second edge

2016-10-12 Thread lizf
From: John Stultz 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 833f32d763028c1bb371c64f457788b933773b3e upstream. Currently, leapsecond adjustments are done at tick time. As a result, the leapsecond was applied at the first timer tick

[PATCH 3.4 124/125] tcp: make challenge acks less predictable

2016-10-12 Thread lizf
From: Eric Dumazet 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 75ff39ccc1bd5d3c455b6822ab09e533c551f758 upstream. Yue Cao claims that current host rate limiting of challenge ACKS (RFC 5961) could leak enough information to allow a pat

[PATCH 3.4 029/125] Btrfs: fix race leading to BUG_ON when running delalloc for nodatacow

2016-10-12 Thread lizf
From: Filipe Manana 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 1d512cb77bdbda80f0dd0620a3b260d697fd581d upstream. If we are using the NO_HOLES feature, we have a tiny time window when running delalloc for a nodatacow inode where we c

[PATCH 3.4 065/125] drm/ttm: Fixed a read/write lock imbalance

2016-10-12 Thread lizf
From: Thomas Hellstrom 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 025af189fb44250206dd8a32fa4a682392af3301 upstream. In ttm_write_lock(), the uninterruptible path should call __ttm_write_lock() not __ttm_read_lock(). This fixes a vm

[PATCH 3.4 030/125] perf: Fix inherited events vs. tracepoint filters

2016-10-12 Thread lizf
From: Peter Zijlstra 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit b71b437eedaed985062492565d9d421d975ae845 upstream. Arnaldo reported that tracepoint filters seem to misbehave (ie. not apply) on inherited events. The fix is obvious; f

[PATCH 3.4 042/125] broadcom: fix PHY_ID_BCM5481 entry in the id table

2016-10-12 Thread lizf
From: Aaro Koskinen 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 3c25a860d17b7378822f35d8c9141db9507e3beb upstream. Commit fcb26ec5b18d ("broadcom: move all PHY_ID's to header") updated broadcom_tbl to use PHY_IDs, but incorrectly repl

[PATCH 3.4 122/125] Revert "USB: Add device quirk for ASUS T100 Base Station keyboard"

2016-10-12 Thread lizf
From: Zefan Li 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- This reverts commit eea5a87d270e8d6925063019c3b0f3ff61fcb49a. Conflicts: drivers/usb/core/quirks.c include/linux/usb/quirks.h Signed-off-by: Zefan Li --- drivers/u

[PATCH 3.4 033/125] sctp: translate host order to network order when setting a hmacid

2016-10-12 Thread lizf
From: lucien 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit ed5a377d87dc4c87fb3e1f7f698cba38cd893103 upstream. now sctp auth cannot work well when setting a hmacid manually, which is caused by that we didn't use the network order for hma

[PATCH 3.4 064/125] jbd2: Fix unreclaimed pages after truncate in data=journal mode

2016-10-12 Thread lizf
From: Jan Kara 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit bc23f0c8d7ccd8d924c4e70ce311288cb3e61ea8 upstream. Ted and Namjae have reported that truncated pages don't get timely reclaimed after being truncated in data=journal mode. The

[PATCH 3.4 056/125] nfs: if we have no valid attrs, then don't declare the attribute cache valid

2016-10-12 Thread lizf
From: Jeff Layton 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit c812012f9ca7cf89c9e1a1cd512e6c3b5be04b85 upstream. If we pass in an empty nfs_fattr struct to nfs_update_inode, it will (correctly) not update any of the attributes, but it

[PATCH 3.4 032/125] binfmt_elf: Don't clobber passed executable's file header

2016-10-12 Thread lizf
From: "Maciej W. Rozycki" 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit b582ef5c53040c5feef4c96a8f9585b6831e2441 upstream. Do not clobber the buffer space passed from `search_binary_handler' and originally preloaded by `prepare_binprm'

[PATCH 3.4 066/125] AHCI: Fix softreset failed issue of Port Multiplier

2016-10-12 Thread lizf
From: Xiangliang Yu 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 023113d24ef9e1d2b44cb2446872b17e2b01d8b1 upstream. Current code doesn't update port value of Port Multiplier(PM) when sending FIS of softreset to device, command will fai

[PATCH 3.4 054/125] vfs: Make sendfile(2) killable even better

2016-10-12 Thread lizf
From: Jan Kara 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit c725bfce7968009756ed2836a8cd7ba4dc163011 upstream. Commit 296291cdd162 (mm: make sendfile(2) killable) fixed an issue where sendfile(2) was doing a lot of tiny writes into a f

[PATCH 3.4 050/125] ASoC: wm8962: correct addresses for HPF_C_0/1

2016-10-12 Thread lizf
From: Sachin Pandhare 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit e9f96bc53c1b959859599cb30ce6fd4fbb4448c2 upstream. >From datasheet: R17408 (4400h) HPF_C_1 R17409 (4401h) HPF_C_0 17048 -> 17408 (0x4400) 17049 -> 17409 (0x4401) Signe

[PATCH 3.4 052/125] mac: validate mac_partition is within sector

2016-10-12 Thread lizf
From: Kees Cook 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 02e2a5bfebe99edcf9d694575a75032d53fe1b73 upstream. If md->signature == MAC_DRIVER_MAGIC and md->block_size == 1023, a single 512 byte sector would be read (secsize / 512). Ho

[PATCH 3.4 114/125] udp: properly support MSG_PEEK with truncated buffers

2016-10-12 Thread lizf
From: Eric Dumazet 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 197c949e7798fbf28cfadc69d9ca0c2abbf93191 upstream. Backport of this upstream commit into stable kernels : 89c22d8c3b27 ("net: Fix skb csum races when peeking") exposed a b

[PATCH 3.4 026/125] ALSA: hda - Apply pin fixup for HP ProBook 6550b

2016-10-12 Thread lizf
From: Takashi Iwai 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit c932b98c1e47312822d911c1bb76e81ef50e389c upstream. HP ProBook 6550b needs the same pin fixup applied to other HP B-series laptops with docks for making its headphone and d

[PATCH 3.4 046/125] ALSA: usb-audio: add packet size quirk for the Medeli DD305

2016-10-12 Thread lizf
From: Clemens Ladisch 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 98d362becb6621bebdda7ed0eac7ad7ec6c37898 upstream. Signed-off-by: Clemens Ladisch Signed-off-by: Takashi Iwai Signed-off-by: Zefan Li --- sound/usb/midi.c | 1 + 1

[PATCH 3.4 031/125] scsi_sysfs: Fix queue_ramp_up_period return code

2016-10-12 Thread lizf
From: Peter Oberparleiter 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 863e02d0e173bb9d8cea6861be22820b25c076cc upstream. Writing a number to /sys/bus/scsi/devices//queue_ramp_up_period returns the value of that number instead of the n

[PATCH 3.4 035/125] net: fix __netdev_update_features return on ndo_set_features failure

2016-10-12 Thread lizf
From: Nikolay Aleksandrov 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 00ee5927177792a6e139d50b6b7564d35705556a upstream. If ndo_set_features fails __netdev_update_features() will return -1 but this is wrong because it is expected to r

[PATCH 3.4 049/125] USB: serial: option: add support for Novatel MiFi USB620L

2016-10-12 Thread lizf
From: Aleksander Morgado 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit e07af133c3e2716db25e3e1e1d9f10c2088e9c1a upstream. Also known as Verizon U620L. The device is modeswitched from 1410:9020 to 1410:9022 by selecting the 4th USB conf

[PATCH 3.4 053/125] can: sja1000: clear interrupts on start

2016-10-12 Thread lizf
From: Mirza Krak 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 7cecd9ab80f43972c056dc068338f7bcc407b71c upstream. According to SJA1000 data sheet error-warning (EI) interrupt is not cleared by setting the controller in to reset-mode. T

<    1   2   3   4   5   6   7   >