[PATCH V2 2/5] ARM: BCM5301X: Specify USB controllers in DT

2016-12-06 Thread Rafał Miłecki
From: Rafał Miłecki There are 3 separated controllers, one per USB /standard/. With PHY drivers in place they can be simply supported with generic drivers. Signed-off-by: Rafał Miłecki --- V2: Fix node names and reorder ehci with ohci. Thanks Ray! --- arch/arm/boot/dts/bcm5301x.dtsi | 33 +

[PATCH V2 4/5] ARM: BCM5301X: Specify all RAM by including an extra block

2016-12-06 Thread Rafał Miłecki
From: Rafał Miłecki The first 128 MiB of RAM can be accessed using an alias at address 0x0. In theory we could access whole RAM using 0x8000 - 0xbfff range (up to 1 GiB) but it doesn't seem to work on Northstar. For some reason (hardware setup left by the bootloader maybe?) 0x8000 -

[PATCH V2 1/5] ARM: BCM5301X: Fix LAN LED labels for Luxul XWR-3100

2016-12-06 Thread Rafał Miłecki
From: Rafał Miłecki They were named incorrectly most likely due to copy & paste mistake. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts b/arc

[PATCH V2 5/5] ARM: BCM53573: Specify USB ports of on-SoC controllers

2016-12-06 Thread Rafał Miłecki
From: Rafał Miłecki Broadcom OHCI and EHCI controllers always have 2 ports each on the root hub. Describe them in DT to allow specifying extra info or referencing port nodes. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm53573.dtsi | 22 ++ 1 file changed, 22 insert

[PATCH V2 3/5] ARM: BCM5301X: Set GPIO enabling USB power on Netgear R7000

2016-12-06 Thread Rafał Miłecki
From: Rafał Miłecki There is one GPIO controlling power for both USB ports. Signed-off-by: Rafał Miłecki --- V2: Avoid double Signed-off-by due to different e-mail address --- arch/arm/boot/dts/bcm4709-netgear-r7000.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/

Re: [PATCH V4 00/11] megaraid_sas: Updates for scsi-next

2016-12-06 Thread Christoph Hellwig
This seems to be missing the pci_alloc_irq_vectors conversion from Hannes?

[PATCH v4 3/3] powerpc/8xx: Implement support of hugepages

2016-12-06 Thread Christophe Leroy
8xx uses a two level page table with two different linux page size support (4k and 16k). 8xx also support two different hugepage sizes 512k and 8M. In order to support them on linux we define two different page table layout. The size of pages is in the PGD entry, using PS field (bits 28-29): 00 :

[PATCH v4 1/3] powerpc: port 64 bits pgtable_cache to 32 bits

2016-12-06 Thread Christophe Leroy
Today powerpc64 uses a set of pgtable_caches while powerpc32 uses standard pages when using 4k pages and a single pgtable_cache if using other size pages. In preparation of implementing huge pages on the 8xx, this patch replaces the specific powerpc32 handling by the 64 bits approach. This is don

[PATCH v4 2/3] powerpc: get hugetlbpage handling more generic

2016-12-06 Thread Christophe Leroy
Today there are two implementations of hugetlbpages which are managed by exclusive #ifdefs: * FSL_BOOKE: several directory entries points to the same single hugepage * BOOK3S: one upper level directory entry points to a table of hugepages In preparation of implementation of hugepage support on the

[PATCH v4 0/3] powerpc: implementation of huge pages for 8xx

2016-12-06 Thread Christophe Leroy
This is v4 of patch serie is the implementation of support of hugepages for the 8xx. v2: the last patch has been split in two parts. v3: Taking into account comments from aneesh v4: Fixing pdshift calculation on FSL_BOOK3E in hugetlbpage_init() Fixing default hugepage size selection on FSL_BOO

Re: linux-next: build failure after merge of the tip tree

2016-12-06 Thread Ingo Molnar
Cc:-ing Arnaldo, Jiri, Wang Nan and Peter Foley - bug report quoted below. This bug/race might have been introduced in the latest tooling bits: 34c4a42791bb Merge tag 'perf-core-for-mingo-20161205' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core Which included thes

RE: [PATCH] btusb: fix zero BD address problem during stress test

2016-12-06 Thread Amitkumar Karwar
Hi Marcel, > From: Amitkumar Karwar > Sent: Friday, November 25, 2016 4:51 PM > To: 'Marcel Holtmann' > Cc: 'linux-blueto...@vger.kernel.org'; 'linux-kernel@vger.kernel.org'; > Cathy Luo; Nishant Sarmukadam; Ganapathi Bhat > Subject: RE: [PATCH] btusb: fix zero BD address problem during stress > t

[PATCH 1/1] ixgbe: fcoe: return value of skb_linearize should be handled

2016-12-06 Thread Zhouyi Zhou
Signed-off-by: Zhouyi Zhou Reviewed-by: Cong Wang Reviewed-by: Yuval Shaia Reviewed-by: Eric Dumazet --- drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c | 6 +- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-06 Thread Boris Brezillon
On Wed, 7 Dec 2016 04:07:05 +0100 Marek Vasut wrote: > On 12/07/2016 12:38 AM, Cyrille Pitchen wrote: > > Le 06/12/2016 à 20:00, Marek Vasut a écrit : > >> On 12/06/2016 06:14 PM, Cyrille Pitchen wrote: > >>> This patch removes the WARN_ONCE() test in spi_nor_write(). > >>> This macro trigger

[PATCH 1/1 linux-next] ASoC: samsung: include gpio consumer.h

2016-12-06 Thread Fabian Frederick
Fix the following build errors sound/soc/samsung/tm2_wm5110.c:220:3: error: implicit declaration of function 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration] sound/soc/samsung/tm2_wm5110.c:438:24: error: implicit declaration of function 'devm_gpiod_get' [-Werror=implicit-function-

[PATCH 3/5] hv: init percpu_list in hv_synic_alloc()

2016-12-06 Thread kys
From: Vitaly Kuznetsov Initializing hv_context.percpu_list in hv_synic_alloc() helps to prevent a crash in percpu_channel_enq() when not all CPUs were online during initialization and it naturally belongs there. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan Cc: --- drivers/

[PATCH 2/5] hv: allocate synic pages for all present CPUs

2016-12-06 Thread kys
From: Vitaly Kuznetsov It may happen that not all CPUs are online when we do hv_synic_alloc() and in case more CPUs come online later we may try accessing these allocated structures. Signed-off-by: Vitaly Kuznetsov Signed-off-by: K. Y. Srinivasan Cc: --- drivers/hv/hv.c |4 ++-- 1 files

[PATCH 1/5] Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg()

2016-12-06 Thread kys
From: Vitaly Kuznetsov DoS protection conditions were altered in WS2016 and now it's easy to get -EAGAIN returned from vmbus_post_msg() (e.g. when we try changing MTU on a netvsc device in a loop). All vmbus_post_msg() callers don't retry the operation and we usually end up with a non-functional

[PATCH 4/5] hv: don't reset hv_context.tsc_page on crash

2016-12-06 Thread kys
From: Vitaly Kuznetsov It may happen that secondary CPUs are still alive and resetting hv_context.tsc_page will cause a consequent crash in read_hv_clock_tsc() as we don't check for it being not NULL there. It is safe as we're not freeing this page anyways. Signed-off-by: Vitaly Kuznetsov Signe

[PATCH 5/5] Drivers: hv: vmbus: Prevent sending data on a rescinded channel

2016-12-06 Thread kys
From: K. Y. Srinivasan After the channel is rescinded, the host does not read from the rescinded channel. Fail writes to a channel that has already been rescinded. If we permit writes on a rescinded channel, since the host will not respond we will have situations where we will be unable to unlo

Re: [PATCH 4.4 00/13] 4.4.37-stable review

2016-12-06 Thread Philip Müller
Hi Greg, I'd recommend also to queue 84ac726[1] (packet: fix race condition in packet_set_ring) from Philip Pettersson into 4.4 and 4.8 series, as some news pages[2] already post about this local security, which was introduced in 2011 to all kernels. greez, Phil [1] https://git.kernel.org/cgit/l

[PATCH 1/1] infiniband: nes: return value of skb_linearize should be handled

2016-12-06 Thread Zhouyi Zhou
Return value of skb_linearize should be handled in function nes_netdev_start_xmit. Compiled in x86_64 Signed-off-by: Zhouyi Zhou Reviewed-by: Yuval Shaia Reviewed-by: Eric Dumazet --- drivers/infiniband/hw/nes/nes_nic.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --g

Re: [PATCH 10/10] virtio: enable endian checks for sparse builds

2016-12-06 Thread Christoph Hellwig
On Tue, Dec 06, 2016 at 05:41:05PM +0200, Michael S. Tsirkin wrote: > __CHECK_ENDIAN__ isn't on by default presumably because > it triggers too many sparse warnings for correct code. > But virtio is now clean of these warnings, and > we want to keep it this way - enable this for > sparse builds. >

[PATCH] usb: mtu3: enable auto switch from U3 to U2

2016-12-06 Thread Chunfeng Yun
inform mac2 to build U2 link automatically after U3 detect fail without software setting soft_connect. Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3_core.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/mtu3/mtu3_core.c b/drivers/usb/mtu3/mtu3_core.c index af3e531..

[PATCH] usb: mtu3: fix U3 port link issue

2016-12-06 Thread Chunfeng Yun
the issue is introduced when @is_u3_ip is used in mtu3_device_enabe() before initialized in mtu3_mem_alloc(), so get global IP information at first before used by following functins. Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3_core.c | 18 ++ 1 file changed, 10 insert

[PATCH 0/5] Drivers: hv: vmbus: Some miscellaneous fixes

2016-12-06 Thread kys
From: K. Y. Srinivasan Some miscellaneous fixes. K. Y. Srinivasan (1): Drivers: hv: vmbus: Prevent sending data on a rescinded channel Vitaly Kuznetsov (4): Drivers: hv: vmbus: Raise retry/wait limits in vmbus_post_msg() hv: allocate synic pages for all present CPUs hv: init percpu_list

[PATCH 4.4 01/13] ARC: Dont use "+l" inline asm constraint

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit 3c7c7a2fc8811bc7097479f69acf2527693d7562 upstream. Apparenty this is coming in the way of gcc fix which inhibits the usage of LP_COUNT as a gpr. Signed-off-by: Vineet Gupta

[PATCH 4.4 13/13] arm64: suspend: Reconfigure PSTATE after resume from idle

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit d08544127d9fb4505635e3cb6871fd50a42947bd upstream. The suspend/resume path in kernel/sleep.S, as used by cpu-idle, does not save/restore PSTATE. As a result of this cpufeatur

[PATCH 4.4 07/13] PCI: Export pcie_find_root_port

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Thumshirn commit e784930bd645e7df78c66e7872fec282b0620075 upstream. Export pcie_find_root_port() so we can use it outside of PCIe-AER error injection. Signed-off-by: Johannes Thumshir

[PATCH 4.4 03/13] kasan: update kasan_global for gcc 7

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Vyukov commit 045d599a286bc01daa3510d59272440a17b23c2e upstream. kasan_global struct is part of compiler/runtime ABI. gcc revision 241983 has added a new field to kasan_global struct.

[PATCH 4.8 12/35] Input: change KEY_DATA from 0x275 to 0x277

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ping Cheng commit 2425f1808123bf69a8f66d4ec90e0d0e302c2613 upstream. 0x275 is used by KEY_FASTREVERSE. Fixes: 488326947cd1 ("Input: add HDMI CEC specific keycodes") Signed-off-by: Ping Cheng

[PATCH 4.8 10/35] mm: fix false-positive WARN_ON() in truncate/invalidate for hugetlb

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Kirill A. Shutemov commit 5cbc198ae08d84bd416b672ad8bd1222acd0855c upstream. Hugetlb pages have ->index in size of the huge pages (PMD_SIZE or PUD_SIZE), not in PAGE_SIZE as other types of page

[PATCH 4.8 14/35] rcu: Fix soft lockup for rcu_nocb_kthread

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ding Tianhong commit bedc1969150d480c462cdac320fa944b694a7162 upstream. Carrying out the following steps results in a softlockup in the RCU callback-offload (rcuo) kthreads: 1. Connect to ixgb

[PATCH 4.8 18/35] mwifiex: printk() overflow with 32-byte SSIDs

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit fcd2042e8d36cf644bd2d69c26378d17158b17df upstream. SSIDs aren't guaranteed to be 0-terminated. Let's cap the max length when we print them out. This can be easily noticed b

[PATCH 4.8 24/35] drm/amdgpu: fix check for port PM availability

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Peter Wu commit 7ac33e47d5769632010e537964c7e45498f8dc26 upstream. The ATPX method does not always exist on the dGPU, it may be located at the iGPU. The parent device of the iGPU is the root po

[PATCH 4.8 20/35] drm/i915: Dont touch NULL sg on i915_gem_object_get_pages_gtt() error

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 2420489bcb8910188578acc0c11c75445c2e4b92 upstream. On the DMA mapping error path, sg may be NULL (it has already been marked as the last scatterlist entry), and we should av

[PATCH 4.8 04/35] ARC: mm: PAE40: Fix crash at munmap

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Yuriy Kolerov commit 6a8b2ca702b279bea0e8f0363056439352e2081c upstream. commit 1c3c90930392 broke PAE40. Macro pfn_pte(pfn, prot) creates paddr from pfn, but the page shift was getting truncate

[PATCH 4.8 35/35] arm64: suspend: Reconfigure PSTATE after resume from idle

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit d08544127d9fb4505635e3cb6871fd50a42947bd upstream. The suspend/resume path in kernel/sleep.S, as used by cpu-idle, does not save/restore PSTATE. As a result of this cpufeatur

[tip:sched/core]: Assigning high priority to Foreground process group (occupied in the current screen) .

2016-12-06 Thread Lakshmanan Sundaram
tip:sched/core: Assigning high priority to Foreground process group (occupied in the current screen) . What You See (in screen) Should Always Execute Faster . In the multitasking environment, though all the cpu bound processes are running,The foreground process group should be assigned with high

[PATCH 4.8 32/35] batman-adv: Detect missing primaryif during tp_send as error

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann commit e13258f38e927b61cdb5f4ad25309450d3b127d1 upstream. The throughput meter detects different situations as problems for the current test. It stops the test after these and re

[PATCH 4.8 07/35] thp: fix corner case of munlock() of PTE-mapped THPs

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Kirill A. Shutemov commit 655548bf6271b212cd1e4c259da9dbe616348d38 upstream. The following program triggers BUG() in munlock_vma_pages_range(): // autogenerated by syzkaller (http://gi

[PATCH 4.8 03/35] scsi: libfc: fix seconds_since_last_reset miscalculation

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Thumshirn commit 208da78e8ec8b6d6ce3747ab0e5c120458e08ae6 upstream. Commit 540eb1eef0ab ("scsi: libfc: fix seconds_since_last_reset calculation") removed the use of 'struct timespec' f

[PATCH 4.8 02/35] scsi: hpsa: use bus 3 for legacy HBA devices

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit 7630b3a599e2c6d1c042945d32ff2debc855ad29 upstream. Older controllers use SCSI target id '0' for the first internal disk. As the controllers are now placed on the same bus

[PATCH 4.8 09/35] kasan: update kasan_global for gcc 7

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Vyukov commit 045d599a286bc01daa3510d59272440a17b23c2e upstream. kasan_global struct is part of compiler/runtime ABI. gcc revision 241983 has added a new field to kasan_global struct.

[PATCH 4.8 28/35] pwm: Fix device reference leak

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 0e1614ac84f1719d87bed577963bb8140d0c9ce8 upstream. Make sure to drop the reference to the parent device taken by class_find_device() after "unexporting" any children when de

[PATCH 4.8 34/35] arm64: mm: Set PSTATE.PAN from the cpu_enable_pan() call

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit 7209c868600bd8926e37c10b9aae83124ccc1dd8 upstream. Commit 338d4f49d6f7 ("arm64: kernel: Add support for Privileged Access Never") enabled PAN by enabling the 'SPAN' feature-b

[PATCH 4.8 08/35] zram: fix unbalanced idr management at hot removal

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 529e71e16403830ae0d737a66c55c5f360f3576b upstream. The zram hot removal code calls idr_remove() even when zram_remove() returns an error (typically -EBUSY). This results in

[PATCH 4.8 30/35] perf/x86: Restore TASK_SIZE check on frame pointer

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit ae31fe51a3cceaa0cabdb3058f69669ecb47f12e upstream. The following commit: 75925e1ad7f5 ("perf/x86: Optimize stack walk user accesses") ... switched from copy_from_user

[PATCH 4.8 05/35] ARC: Dont use "+l" inline asm constraint

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit 3c7c7a2fc8811bc7097479f69acf2527693d7562 upstream. Apparenty this is coming in the way of gcc fix which inhibits the usage of LP_COUNT as a gpr. Signed-off-by: Vineet Gupta

[PATCH 4.8 21/35] drm/i915: drop the struct_mutex when wedged or trying to reset

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Auld commit e411072d5740a49cdc9d0713798c30440757e451 upstream. We grab the struct_mutex in intel_crtc_page_flip, but if we are wedged or a reset is in progress we bail early but never s

[PATCH 4.8 23/35] drm/radeon: fix power state when port pm is unavailable (v2)

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Peter Wu commit d3ac31f3b4bf9fade93d69770cb9c34912e017be upstream. When PCIe port PM is not enabled (system BIOS is pre-2015 or the pcie_port_pm=off parameter is set), legacy ATPX PM should sti

[PATCH 4.8 19/35] KVM: arm/arm64: vgic: Dont notify EOI for non-SPIs

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 8ca18eec2b2276b449c1dc86b98bf083c5fe4e09 upstream. When we inject a level triggerered interrupt (and unless it is backed by the physical distributor - timer style), we reque

[PATCH 4.8 29/35] drm/mediatek: fix null pointer dereference

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Matthias Brugger commit 5ad45307d990020b25a8f7486178b6e033790f70 upstream. The probe function requests the interrupt before initializing the ddp component. Which leads to a null pointer derefer

[PATCH 4.8 33/35] arm64: cpufeature: Schedule enable() calls instead of calling them via IPI

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit 2a6dcb2b5f3e21592ca8dfa198dcce7bec09b020 upstream. The enable() call for a cpufeature/errata is called using on_each_cpu(). This issues a cross-call IPI to get the work done.

[PATCH 4.8 25/35] drm/radeon: fix check for port PM availability

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit bcfdd5d5105087e6f33dfeb08a1ca6b2c0287b61 upstream. The ATPX method does not always exist on the dGPU, it may be located at the iGPU. The parent device of the iGPU is the roo

[PATCH 4.8 26/35] arm64: dts: juno: fix cluster sleep state entry latency on all SoC versions

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Sudeep Holla commit 909e481e2467f202b97d42beef246e8829416a85 upstream. The core and the cluster sleep state entry latencies can't be same as cluster sleep involves more work compared to core le

[PATCH 4.4 04/13] x86/traps: Ignore high word of regs->cs in early_fixup_exception()

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit fc0e81b2bea0ebceb71889b61d2240856141c9ee upstream. On the 80486 DX, it seems that some exceptions may leave garbage in the high bits of CS. This causes sporadic failures

[PATCH 4.4 02/13] zram: fix unbalanced idr management at hot removal

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 529e71e16403830ae0d737a66c55c5f360f3576b upstream. The zram hot removal code calls idr_remove() even when zram_remove() returns an error (typically -EBUSY). This results in

[PATCH 4.4 09/13] mwifiex: printk() overflow with 32-byte SSIDs

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit fcd2042e8d36cf644bd2d69c26378d17158b17df upstream. SSIDs aren't guaranteed to be 0-terminated. Let's cap the max length when we print them out. This can be easily noticed b

[PATCH 4.8 00/35] 4.8.13-stable review

2016-12-06 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.8.13 release. There are 35 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 Dec 9 07:07:11 UTC 2016. Anything receive

[PATCH 4.4 06/13] rcu: Fix soft lockup for rcu_nocb_kthread

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ding Tianhong commit bedc1969150d480c462cdac320fa944b694a7162 upstream. Carrying out the following steps results in a softlockup in the RCU callback-offload (rcuo) kthreads: 1. Connect to ixgb

[PATCH 4.8 16/35] PCI: Export pcie_find_root_port

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Thumshirn commit e784930bd645e7df78c66e7872fec282b0620075 upstream. Export pcie_find_root_port() so we can use it outside of PCIe-AER error injection. Signed-off-by: Johannes Thumshir

[PATCH 4.4 12/13] arm64: mm: Set PSTATE.PAN from the cpu_enable_pan() call

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit 7209c868600bd8926e37c10b9aae83124ccc1dd8 upstream. Commit 338d4f49d6f7 ("arm64: kernel: Add support for Privileged Access Never") enabled PAN by enabling the 'SPAN' feature-b

[PATCH 4.4 05/13] ALSA: pcm : Call kill_fasync() in stream lock

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 3aa02cb664c5fb1042958c8d1aa8c35055a2ebc4 upstream. Currently kill_fasync() is called outside the stream lock in snd_pcm_period_elapsed(). This is potentially racy, since th

[PATCH 4.8 01/35] libata-scsi: Fixup ata_gen_passthru_sense()

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit e0029dcb5b6e1c23e68f578ce7a3d6c5caba0501 upstream. There's a typo in ata_gen_passthru_sense(), where the first byte would be overwritten incorrectly later on. Reported-b

[PATCH 4.8 11/35] ovl: fix d_real() for stacked fs

2016-12-06 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit c4fcfc1619ea43a8a89ad2f83ff23905eee088bd upstream. Handling of recursion in d_real() is completely broken. Recursion is only done in the 'inode != NULL' case. But when o

[PATCH 4.4 10/13] pwm: Fix device reference leak

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 0e1614ac84f1719d87bed577963bb8140d0c9ce8 upstream. Make sure to drop the reference to the parent device taken by class_find_device() after "unexporting" any children when de

[PATCH 4.4 00/13] 4.4.37-stable review

2016-12-06 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.37 release. There are 13 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 Dec 9 07:07:03 UTC 2016. Anything receive

[PATCH 4.4 11/13] arm64: cpufeature: Schedule enable() calls instead of calling them via IPI

2016-12-06 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit 2a6dcb2b5f3e21592ca8dfa198dcce7bec09b020 upstream. The enable() call for a cpufeature/errata is called using on_each_cpu(). This issues a cross-call IPI to get the work done.

Re: linux-next: manual merge of the staging tree with the net-next tree

2016-12-06 Thread Greg KH
On Wed, Dec 07, 2016 at 03:04:47PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in: > > drivers/staging/slicoss/slicoss.c > > between commit: > > a52ad514fdf3 ("net: deprecate eth_change_mtu, remove usage") > > from the net-next

Re: [PATCH v3 2/3] powerpc: get hugetlbpage handling more generic

2016-12-06 Thread Christophe LEROY
Le 07/12/2016 à 02:06, Scott Wood a écrit : On Tue, 2016-12-06 at 07:34 +0100, Christophe LEROY wrote: Le 06/12/2016 à 02:18, Scott Wood a écrit : On Wed, 2016-09-21 at 10:11 +0200, Christophe Leroy wrote: Today there are two implementations of hugetlbpages which are managed by exclusive

Re: [PATCH 3/3] powerpc: enable support for GCC plugins

2016-12-06 Thread Andrew Donnellan
On 07/12/16 08:25, Emese Revfy wrote: What are these missing headers? Because if they aren't necessary then they can be removed from gcc-common.h. There were missing headers on arm/arm64 and these archs are supported. I think this version check is unnecessary because gcc-plugin.sh also checks the

Re: [PATCH 7/7] arm: Add livepatch necessary arch selects into Kconfig

2016-12-06 Thread kbuild test robot
Hi Abel, [auto build test WARNING on linus/master] [also build test WARNING on v4.9-rc8 next-20161206] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Abel-Vesa/arm-Add-livepatch-support

Re: [PATCH] net: return value of skb_linearize should be handled in Linux kernel

2016-12-06 Thread Eric Dumazet
On Tue, 2016-12-06 at 15:10 +0800, Zhouyi Zhou wrote: > kmalloc_reserve may fail to allocate memory inside skb_linearize, > which means skb_linearize's return value should not be ignored. > Following patch correct the uses of skb_linearize. > > Compiled in x86_64 > > Signed-off-by: Zhouyi Zhou

[RESEND PATCH v2 2/5] perf report: Find the inline stack for a given address

2016-12-06 Thread Jin Yao
It would be useful for perf to support a mode to query the inline stack for a given callgraph address. This would simplify finding the right code in code that does a lot of inlining. The srcline.c has contained the code which supports to translate the address to filename:line_nr. This patch just e

[RESEND PATCH v2 4/5] perf report: Show inline stack in stdio mode

2016-12-06 Thread Jin Yao
If the address belongs to an inlined function, the source information back to the first non-inlined function will be printed. For example: 0.05% test2test2 [.] main | ---/home/jinyao/perf-dev/test/test2.c:27 (inline) /home/jinyao/perf-dev/test/test2.c:35

[RESEND PATCH v2 5/5] perf report: Show inline stack in browser mode

2016-12-06 Thread Jin Yao
For example: -0.05% test2test2 [.] main /home/jinyao/perf-dev/test/test2.c:27 (inline) /home/jinyao/perf-dev/test/test2.c:35 (inline) /home/jinyao/perf-dev/test/test2.c:45 (inline) /home/jinyao/perf-dev/test/test2.c:61 (inline) Signed-off-by: Jin Yao ---

[RESEND PATCH v2 3/5] perf report: Create a new option "--inline"

2016-12-06 Thread Jin Yao
It takes some time to look for inline stack for callgraph addresses. So it provides a new option "--inline" to let user decide if enable this feature. Signed-off-by: Jin Yao --- tools/perf/Documentation/perf-report.txt | 4 tools/perf/builtin-report.c | 2 ++ tools/perf/util/sy

[RESEND PATCH v2 1/5] perf report: Refactor common code in srcline.c

2016-12-06 Thread Jin Yao
Introduce dso__name() and filename_split() out of existing code because these codes will be used in several places in next patch. For filename_split(), it may also solve a potential memory leak in existing code. In existing addr2line(), sep = strchr(filename, ':'); if (sep) {

[RESEND PATCH v2 0/5] perf report: Show inline stack

2016-12-06 Thread Jin Yao
v2: Thanks so much for Arnaldo's comments! The modifications are: 1. Divide v1 patch "perf report: Find the inline stack for a given address" into 2 patches: a. perf report: Refactor common code in srcline.c b. perf report: Find the inline stack for a given address

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-06 Thread Cyrille Pitchen
Le 06/12/2016 à 20:00, Marek Vasut a écrit : > On 12/06/2016 06:14 PM, Cyrille Pitchen wrote: >> This patch removes the WARN_ONCE() test in spi_nor_write(). >> This macro triggers the display of a warning message almost every time we >> use a UBI file-system because a write operation is performed a

RE: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2016-12-06 Thread Krzeminski, Marcin (Nokia - PL/Wroclaw)
Hi Cyrille, > -Original Message- > From: linux-mtd [mailto:linux-mtd-boun...@lists.infradead.org] On Behalf > Of Marek Vasut > Sent: Wednesday, December 07, 2016 4:07 AM > To: Cyrille Pitchen ; Cyrille Pitchen > > Cc: boris.brezil...@free-electrons.com; computersforpe...@gmail.com; > linu

Re: [PATCH v3 1/3] ARM: da850: fix infinite loop in clk_set_rate()

2016-12-06 Thread Sekhar Nori
On Wednesday 07 December 2016 07:24 AM, David Lechner wrote: > On 12/05/2016 04:09 AM, Bartosz Golaszewski wrote: >> The aemif clock is added twice to the lookup table in da850.c. This >> breaks the children list of pll0_sysclk3 as we're using the same list >> links in struct clk. When calling clk_

Re: [PATCH] net: return value of skb_linearize should be handled in Linux kernel

2016-12-06 Thread Zhouyi Zhou
On Wed, Dec 7, 2016 at 1:02 PM, Cong Wang wrote: > On Mon, Dec 5, 2016 at 11:10 PM, Zhouyi Zhou wrote: >> diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c >> b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c >> index 2a653ec..ab787cb 100644 >> --- a/drivers/net/ethernet/intel/ixgbe/ixgbe

Re: [PATCH 10/10] virtio: enable endian checks for sparse builds

2016-12-06 Thread Johannes Berg
On Tue, 2016-12-06 at 17:41 +0200, Michael S. Tsirkin wrote: > It seems that there should be a better way to do it, > but this works too. In some cases there might be: > --- a/drivers/s390/virtio/Makefile > +++ b/drivers/s390/virtio/Makefile > @@ -6,6 +6,8 @@ >  # it under the terms of the GNU G

linux-next: Tree for Dec 7

2016-12-06 Thread Stephen Rothwell
Hi all, Changes since 20161206: The powerpc allyesconfig build fails for this release. The pinctrl tree still had its build failure so I used the version from next-20161202. The sound-asoc tree lost its build failure. The tip tree gained a perf build failure that went away when the build was

[PATCH v3 3/3] MAINTAINERS: add 2967 SoC drivers to ARM ZTE architecture

2016-12-06 Thread Baoyou Xie
Add the 2967 SoC drivers as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. By the way, this patch adds the maintainer for ARM ZTE architecture to Baoyou Xie. Signed-off-by: Baoyou Xie --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINT

[PATCH v3 2/3] soc: zte: pm_domains: Add support for zx296718 board

2016-12-06 Thread Baoyou Xie
This patch introduces the power domain driver of zx296718 which belongs to zte's 2967 family. Signed-off-by: Baoyou Xie --- drivers/soc/zte/Makefile | 2 +- drivers/soc/zte/zx296718_pm_domains.c | 194 ++ 2 files changed, 195 insertions(+), 1 deleti

[PATCH v3 1/3] soc: zte: pm_domains: Prepare for supporting ARMv8 2967 family

2016-12-06 Thread Baoyou Xie
The ARMv8 2967 family (296718, 296716 etc) uses different value for controlling the power domain on/off registers, Choose the value depending on the compatible. Multiple domains are prepared for the family, this patch prepares the common functions. Signed-off-by: Baoyou Xie --- drivers/soc/Kcon

Re: [PATCH 3/5] arm64: dts: exynos5433: Add PPMU dt node

2016-12-06 Thread Krzysztof Kozlowski
On Wed, Dec 7, 2016 at 7:54 AM, Chanwoo Choi wrote: > On 2016년 12월 07일 13:12, Chanwoo Choi wrote: >> On 2016년 12월 07일 04:07, Krzysztof Kozlowski wrote: >>> On Fri, Dec 02, 2016 at 04:18:05PM +0900, Chanwoo Choi wrote: This patch adds PPMU (Platform Performance Monitoring Unit) Device-tree >>

Re: [PATCH 1/3] ARM: Define KERNEL_START and KERNEL_END

2016-12-06 Thread kbuild test robot
Hi Florian, [auto build test WARNING on linus/master] [also build test WARNING on v4.9-rc8 next-20161206] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Florian-Fainelli/ARM-Add-support-for

[PATCH] init : Reduce rootwait polling interval time to 5ms

2016-12-06 Thread Jungseung Lee
For several devices, the rootwait time is sensitive because it directly affects booting time. The polling interval of rootwait is currently 100ms. To save unnessesary waiting time, reduce the polling interval to 5 ms. Signed-off-by: Jungseung Lee --- init/do_mounts.c | 4 +++- 1 file changed, 3

Re: linux-next: build failure after merge of the pinctrl tree

2016-12-06 Thread Peter Rosin
> Hi Linus, > > On Mon, 5 Dec 2016 10:00:38 +1100 Stephen Rothwell > wrote: >> >> After merging the pinctrl tree, today's linux-next build (arm >> multi_v7_defconfig) failed like this: >> >> drivers/gpio/gpio-pl061.c: In function 'pl061_irq_set_wake': >> drivers/gpio/gpio-pl061.c:280:28: error:

Re: Oops with CONFIG_VMAP_STCK and bond device + virtio-net

2016-12-06 Thread Cong Wang
On Mon, Dec 5, 2016 at 3:53 PM, Laura Abbott wrote: > This looks like an issue with CONFIG_VMAP_STACK since bond_enslave uses > struct sockaddr from the stack and virtnet_set_mac_address calls > sg_init_one which triggers BUG_ON(!virt_addr_valid(buf)); > > I know there have been a lot of CONFIG_VM

Re: [PATCH] scsi: hisi_sas: support deferred probe for v2 hw

2016-12-06 Thread zhangfei
On 2016年12月06日 20:44, John Garry wrote: In the hip06 and hip07 SoCs, the interrupt lines from the SAS controllers are connected to mbigen hw module [1]. The mbigen module is probed with module_init, and, as such, is not guaranteed to probe before the SAS driver. So we need to support deferred p

Re: [PATCH 3/5] arm64: dts: exynos5433: Add PPMU dt node

2016-12-06 Thread Chanwoo Choi
On 2016년 12월 07일 13:12, Chanwoo Choi wrote: > On 2016년 12월 07일 04:07, Krzysztof Kozlowski wrote: >> On Fri, Dec 02, 2016 at 04:18:05PM +0900, Chanwoo Choi wrote: >>> This patch adds PPMU (Platform Performance Monitoring Unit) Device-tree node >>> to measure the utilization of each IP in Exynos SoC.

Re: [PATCH 3/3] powerpc: enable support for GCC plugins

2016-12-06 Thread Andrew Donnellan
On 06/12/16 17:28, Andrew Donnellan wrote: Enable support for GCC plugins on powerpc. Add an additional version check in gcc-plugins-check to advise users to upgrade to gcc 5.2+ on powerpc to avoid issues with header files (gcc <= 4.6) or missing copies of rs6000-cpus.def (4.8 to 5.1 on 64-bit t

[PATCH] staging/lustre/lnetselftest: Fix potential integer overflow

2016-12-06 Thread Oleg Drokin
It looks like if the passed in parameter is not present, but parameter length is non zero, then sanity checks on the length are skipped and lstcon_test_add() might then use incorrect allocation that's prone to integer overflow size. This patch ensures that parameter len is zero if parameter is not

Re: [PATCH v2 0/5] perf report: Show inline stack

2016-12-06 Thread Jin, Yao
So sorry, please ignore this v2 patch series. I missed the Arnaldo other comments which were added in the code. I will RESEND v2 patch series later. On 12/7/2016 9:30 PM, Jin Yao wrote: v2: Thanks so much for Arnaldo's comments! The modifications are: 1. Divide v1 patch "perf repor

[PATCH v2 0/5] perf report: Show inline stack

2016-12-06 Thread Jin Yao
v2: Thanks so much for Arnaldo's comments! The modifications are: 1. Divide v1 patch "perf report: Find the inline stack for a given address" into 2 patches: a. perf report: Refactor common code in srcline.c b. perf report: Find the inline stack for a given address

  1   2   3   4   5   6   7   8   9   >