Re: [PATCH RFC v2 tip/core/rcu] Maintain special bits at bottom of ->dynticks counter

2017-02-13 Thread Peter Zijlstra
On Thu, Feb 09, 2017 at 03:51:03PM -0800, Paul E. McKenney wrote: > Currently, IPIs are used to force other CPUs to invalidate their TLBs > in response to a kernel virtual-memory mapping change. This works, but > degrades both battery lifetime (for idle CPUs) and real-time response >

Re: [PATCH v8 2/2] Add support for OV5647 sensor.

2017-02-13 Thread Vladimir Zapolskiy
Hello Ramiro, On 02/13/2017 01:25 PM, Ramiro Oliveira wrote: > Modes supported: > - 640x480 RAW 8 > It is a pretty short commit message, please consider to write a couple of words about the sensor. > Signed-off-by: Ramiro Oliveira > --- [snip] > + > +struct cfg_array { > + struct regval

Re: [PATCH v5 3/8] PCI: Don't block runtime PM for Thunderbolt host hotplug ports

2017-02-13 Thread Rafael J. Wysocki
On Sunday, February 12, 2017 06:13:01 PM Lukas Wunner wrote: > On Fri, Feb 10, 2017 at 12:39:12PM -0600, Bjorn Helgaas wrote: > > On Sun, Jan 15, 2017 at 09:03:45PM +0100, Lukas Wunner wrote: > > > Hotplug ports generally block their parents from suspending to D3hot as > > > otherwise their interru

Re: [PATCH] mm: free reserved area's memmap if possiable

2017-02-13 Thread Russell King - ARM Linux
On Mon, Feb 13, 2017 at 12:17:00PM +, Will Deacon wrote: > Adding linux-arm-kernel and devicetree (look for "raw-pfn"), since this > impacts directly on those. > > On Mon, Feb 13, 2017 at 08:02:29PM +0800, zhouxianr...@huawei.com wrote: > > From: zhouxianrong > > > > just like freeing no-map

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-13 Thread Vinod Koul
On Mon, Feb 13, 2017 at 12:11:54PM +0100, Ulf Hansson wrote: > >> > >> If we could set up the device link already at device initialization, > >> it should also be possible to avoid getting -EPROBE_DEFER for dma > >> client drivers when requesting their dma channels. > > > > Well if we defer then dr

Re: [lkp-robot] [platform/x86] b925ff7dcd: BUG:unable_to_handle_kernel

2017-02-13 Thread Jonathan Woithe
On Mon, Feb 13, 2017 at 09:14:40AM +0100, Micha?? K??pie?? wrote: > > On Mon, Feb 13, 2017 at 10:40:15AM +0800, kernel test robot wrote: > > > FYI, we noticed the following commit: > > > > > > commit: b925ff7dcd1fc45b86baaebd3442f8b484123716 ("platform/x86: > > > fujitsu-laptop: only register bac

Re: [PATCH v13 00/12] power: add power sequence library

2017-02-13 Thread Rafael J. Wysocki
On Saturday, February 11, 2017 09:27:11 AM Peter Chen wrote: > Hi all, > > This is a follow-up for my last power sequence framework patch set [1]. > According to Rob Herring and Ulf Hansson's comments[2]. The kinds of > power sequence instances will be added at postcore_initcall, the match > crite

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-13 Thread Vinod Koul
On Mon, Feb 13, 2017 at 01:15:27PM +0100, Marek Szyprowski wrote: > >Although, I don't know of other examples, besides the runtime PM use > >case, where non-atomic channel prepare/unprepare would make sense. Do > >you? > > Changing GFP_ATOMIC to GFP_KERNEL in some calls in the DMA engine drivers

Re: [PATCH/RESEND] arm64: defconfig: Enlarge CMA alignment to 2 MiB

2017-02-13 Thread Will Deacon
On Mon, Feb 13, 2017 at 12:04:18PM +0100, Geert Uytterhoeven wrote: > Some IOMMUs (e.g. Renesas IPMMU/VMSA) support only page sizes of 4 KiB, > 2 MiB, and 1 GiB. > > With the default setting of CONFIG_CMA_ALIGNMENT = 8, allocations larger > than 1 MiB are aligned to a 1 MiB boundary only. Hence a

Re: [PATCH 3/3] cros_ec: Don't signal wake event for non-wake host events

2017-02-13 Thread Thierry Escande
Hi Lee, On 07/02/2017 17:12, Lee Jones wrote: On Wed, 25 Jan 2017, Thierry Escande wrote: From: Shawn Nematbakhsh The subset of wake-enabled host events is defined by the EC, but the EC may still send non-wake host events if we're in the process of suspending. Get the mask of wake-enabled ho

[PATCH v2] drm: mali-dp: Add CTM support

2017-02-13 Thread Mihail Atanassov
All DPs have a COLORADJ matrix which is applied prior to output gamma. Attach that to the CTM property. Also, ensure the input CTM's coefficients can fit in the DP registers' Q3.12 format. Signed-off-by: Mihail Atanassov --- Link to v1: https://lkml.org/lkml/2017/2/1/254 Changes since v1: - Re

PATCH] cpufreq: Do not clear real_cpus mask on policy init

2017-02-13 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If new_policy is set in cpufreq_online(), the policy object has just been created and its real_cpus mask has been zeroed on allocation, and the driver's ->init() callback should not touch it. It doesn't need to be cleared again, so don't do that. Signed-off-by: Rafael J.

[PATCH] x86/vm86: fix unused variable warning if THP is disabled.

2017-02-13 Thread Kirill A. Shutemov
GCC complaines on unused variable 'vma' in mark_screen_rdonly() if THP is disalbed: arch/x86/kernel/vm86_32.c: In function ‘mark_screen_rdonly’: arch/x86/kernel/vm86_32.c:180:26: warning: unused variable ‘vma’ [-Wunused-variable] struct vm_area_struct *vma = find_vma(mm, 0xA);

Re: [PATCH v2] arm64: use is_vmalloc_addr

2017-02-13 Thread Miles Chen
On Mon, 2017-02-13 at 06:20 +0100, Andreas Färber wrote: > Hi, > > Am 09.02.2017 um 12:45 schrieb Miles Chen: > > To is_vmalloc_addr() to check if an address is a vmalloc address > > "Use ..."? Yes, it should be "Use". I'll send another patch to fix this. > > Regards, > Andreas > > > instead

Re: [PATCH 0/2] [media] exynos-gsc: Fix support for NV21 and NV61 formats

2017-02-13 Thread Javier Martinez Canillas
Hello, On Wed, Feb 1, 2017 at 5:05 PM, Javier Martinez Canillas wrote: > Hello, > > Commit 652bb68018a5 ("[media] exynos-gsc: do proper bytesperline and > sizeimage calculation") fixed corrupted frames for most exynos-gsc > formats, but even after that patch two issues were still remaining: > > 1

[PATCH v3] arm64: use is_vmalloc_addr

2017-02-13 Thread Miles Chen
Use is_vmalloc_addr() to check if an address is a vmalloc address instead of checking VMALLOC_START and VMALLOC_END manually. Signed-off-by: Miles Chen --- arch/arm64/mm/ioremap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/mm/ioremap.c b/arch/arm64/mm/ioremap.

Re: [PATCH] mtd: nand: gpio: make nCE GPIO optional

2017-02-13 Thread Christophe LEROY
Le 13/02/2017 à 11:30, Boris Brezillon a écrit : On Fri, 10 Feb 2017 15:01:10 +0100 (CET) Christophe Leroy wrote: On some hardware, the nCE signal is wired to the ChipSelect associated to bus address of the NAND, so it is automatically driven during the memory access and it is not managed by

Re: [RFC PATCH 2/2] mm/sparse: add last_section_nr in sparse_init() to reduce some iteration cycle

2017-02-13 Thread Wei Yang
On Sat, Feb 11, 2017 at 10:24 AM, Tejun Heo wrote: > > Hello, > Hi, Tejun Sorry for the delay, my gmail client seems to facing some problem. I can't see latest mails. So I have to use the web client and reply. > On Sat, Feb 11, 2017 at 10:18:29AM +0800, Wei Yang wrote: > > During the sparse_ini

Re: [patch net-next] net: qcom/emac: fix a sizeof() typo

2017-02-13 Thread Timur Tabi
walter harms wrote: We have a function where the argument is ignored and the rest is const ? emac_ethtool_get_regs_len seems the only user. So it would be fairly easy to move that into that function. @maintainer: Is there a deeper logic behind this ? I don't understand the question. The patc

[PATCH 4.9 01/60] cpufreq: intel_pstate: Disable energy efficiency optimization

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Pandruvada commit 6e978b22efa1db9f6e71b24440b5f1d93e968ee3 upstream. Some Kabylake desktop processors may not reach max turbo when running in HWP mode, even if running under sustained

[PATCH 4.9 08/60] crypto: qat - fix bar discovery for c62x

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Giovanni Cabiddu commit 3484ecbe0e9deb94afb0b9b6172d77e98eb72b94 upstream. Some accelerators of the c62x series have only two bars. This patch skips BAR0 if the accelerator does not have it. S

[PATCH 4.9 41/60] scsi: aacraid: Fix INTx/MSI-x issue with older controllers

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Carroll commit 8af8e1c22f9994bb1849c01d66c24fe23f9bc9a0 upstream. commit 78cbccd3bd68 ("aacraid: Fix for KDUMP driver hang") caused a problem on older controllers which do not support MSI

[PATCH 4.9 15/60] Revert "x86/ioapic: Restore IO-APIC irq_chip retrigger callback"

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit d966564fcdc19e13eb6ba1fbe6b8101070339c3d upstream. This reverts commit 020eb3daaba2857b32c4cf4c82f503d6a00a67de. Gabriel C reports that it causes his machine to not boot,

[PATCH 4.4 10/20] target: Fix COMPARE_AND_WRITE ref leak for non GOOD status

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 9b2792c3da1e80f2d460167d319302a24c9ca2b7 upstream. This patch addresses a long standing bug where the commit phase of COMPARE_AND_WRITE would result in a se_cmd->cmd_k

[PATCH 4.9 57/60] stacktrace, lockdep: Fix address, newline ugliness

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit bfeda41d06d85ad9d52f2413cfc2b77be5022f75 upstream. Since KERN_CONT became meaningful again, lockdep stack traces have had annoying extra newlines, like this: [5.561122

[PATCH 4.4 15/20] scsi: aacraid: Fix INTx/MSI-x issue with older controllers

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dave Carroll commit 8af8e1c22f9994bb1849c01d66c24fe23f9bc9a0 upstream. commit 78cbccd3bd68 ("aacraid: Fix for KDUMP driver hang") caused a problem on older controllers which do not support MSI

[PATCH 4.4 13/20] [PATCH] netvsc: Set maximum GSO size in the right place

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings Commit a50af86dd49e "netvsc: reduce maximum GSO size" was wrongly backported to 4.4-stable. The maximum size needs to be set before the net device is registered, in netvsc_probe()

[PATCH 4.4 19/20] ALSA: seq: Dont handle loop timeout at snd_seq_pool_done()

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 37a7ea4a9b81f6a864c10a7cb0b96458df5310a3 upstream. snd_seq_pool_done() syncs with closing of all opened threads, but it aborts the wait loop with a timeout, and proceeds to

[PATCH 4.4 16/20] scsi: mpt3sas: disable ASPM for MPI2 controllers

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: ojab commit ffdadd68af5a397b8a52289ab39d62e1acb39e63 upstream. MPI2 controllers sometimes got lost (i.e. disappear from /sys/bus/pci/devices) if ASMP is enabled. Signed-off-by: Slava Kardakov

[PATCH 4.9 23/60] drm/i915/bxt: Add MST support when do DPLL calculation

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lee, Shawn C commit 789ea12500e5ce3911d0a6a822277c3133451927 upstream. Add the missing INTEL_OUTPUT_DP_MST case in bxt_get_dpll() to correctly initialize the crtc_state and port plls when link

Re: [PATCH v4 2/3] ASoC: zx-i2s: Add the info of pclk to the binding document for zx2967 family

2017-02-13 Thread Shawn Guo
On Thu, Feb 09, 2017 at 04:46:45PM +, Mark Brown wrote: > On Thu, Feb 09, 2017 at 11:12:57AM +0800, Baoyou Xie wrote: > > > - - compatible : Must be "zte,zx296702-i2s" > > + - compatible : Must be one of: > > + "zte,zx296718-i2s", "zte,zx296702-i2s" > > + "zte,zx296702-i2s" > > You've add

Re: [PATCHv4 2/5] x86/mm: introduce mmap{,_legacy}_base

2017-02-13 Thread Dmitry Safonov
On 02/11/2017 05:13 PM, Thomas Gleixner wrote: On Mon, 30 Jan 2017, Dmitry Safonov wrote: In the following patch they will be used to compute: - mmap{,_legacy}_base for 64-bit mmap() - mmap_compat{,_legacy}_base for 32-bit mmap() This patch makes it possible to calculate mmap bases for any spe

[Patch 2/2] media: ti-vpe: vpe: allow use of user specified stride

2017-02-13 Thread Benoit Parrot
Bytesperline/stride was always overwritten by VPE to the most adequate value based on needed alignment. However in order to make use of arbitrary size DMA buffer it is better to use the user space provide stride instead. The driver will still calculate an appropriate stride but will use the provi

[PATCH 4.4 03/20] Revert "x86/ioapic: Restore IO-APIC irq_chip retrigger callback"

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit d966564fcdc19e13eb6ba1fbe6b8101070339c3d upstream. This reverts commit 020eb3daaba2857b32c4cf4c82f503d6a00a67de. Gabriel C reports that it causes his machine to not boot,

[PATCH 4.4 05/20] hns: avoid stack overflow with CONFIG_KASAN

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit b3f2d07f4649adcf6905953a10d217b5683e4077 upstream. The use of ACCESS_ONCE() looks like a micro-optimization to force gcc to use an indexed load for the register address, bu

[Patch 1/2] media: ti-vpe: vpdma: add support for user specified stride

2017-02-13 Thread Benoit Parrot
This patch introduce the needed vpdma API changes to support user space specified stride instead of forcing a driver calculated one. Signed-off-by: Benoit Parrot --- drivers/media/platform/ti-vpe/vpdma.c | 14 -- drivers/media/platform/ti-vpe/vpdma.h | 6 +++--- drivers/media/platfo

[Patch 0/2] media: ti-vpe: allow user specified stride

2017-02-13 Thread Benoit Parrot
This patch series enables user specified buffer stride to be used instead of always forcing the stride from the driver side. Benoit Parrot (2): media: ti-vpe: vpdma: add support for user specified stride media: ti-vpe: vpe: allow use of user specified stride drivers/media/platform/ti-vpe/vpd

[PATCH 4.4 00/20] 4.4.49-stable review

2017-02-13 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.49 release. There are 20 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 Wed Feb 15 13:03:55 UTC 2017. Anything receive

[PATCH 4.4 14/20] scsi: zfcp: fix use-after-free by not tracing WKA port open/close on failed send

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 2dfa6688aafdc3f74efeb1cf05fb871465d67f79 upstream. Dan Carpenter kindly reported: The patch d27a7cb91960: "zfcp: trace on request for open and close of WKA port" from Aug

[PATCH 4.4 20/20] drm/i915: fix use-after-free in page_flip_completed()

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 5351fbb1bf1413f6024892093528280769ca852f upstream. page_flip_completed() dereferences 'work' variable after executing queue_work(). This is not safe as the 'work' item mi

[PATCH 4.4 18/20] ALSA: seq: Fix race at creating a queue

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4842e98f26dd80be3623c4714a244ba52ea096a8 upstream. When a sequencer queue is created in snd_seq_queue_alloc(),it adds the new queue element to the public list before referen

Re: [PATCH] sched/isolcpus: Show isolated cpu map

2017-02-13 Thread Kefeng Wang
Hi Peter +Tejun On 2017/2/13 20:06, Peter Zijlstra wrote: > On Mon, Feb 13, 2017 at 05:43:59PM +0800, Kefeng Wang wrote: >> The commit a6e4491c682a ("sched/isolcpus: Output warning when the >> 'isolcpus=' kernel parameter is invalid") adds an error message >> when specified cpu bigger than nr_cpu

[PATCH 2/2] gianfar: Use the same initial values as the phy layer

2017-02-13 Thread Thomas Graziadei
From: Thomas Graziadei The phy layer sets the link status initially to 1 to also support phyless systems, therefore we set the gianfar drivers initial link status also to 1. This prevents the gfar_update_link_state() method to be called when the driver and phy have just been initialized but no li

[PATCH 1/2] gianfar: Deal with link state changes during GFAR_RESETTING dev state

2017-02-13 Thread Thomas Graziadei
From: Thomas Graziadei The link state is not correctly set in the case that the network driver is reconfigured while the link state changes. The phy informs the gianfar driver, but gfar_update_link_state just exits and therefore looses the change event. The network driver remains in the old state

[PATCH 4.4 07/20] target: Dont BUG_ON during NodeACL dynamic -> explicit conversion

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 391e2a6de9781e4906dd7e0b1cc097050bf43e11 upstream. After the v4.2+ RCU conversion to se_node_acl->lun_entry_hlist, a BUG_ON() was added in core_enable_device_list_for_

[PATCH 4.4 01/20] ARC: [arcompact] brown paper bag bug in unaligned access delay slot fixup

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit a524c218bc94c705886a0e0fedeee45d1931da32 upstream. Reported-by: Jo-Philipp Wich Fixes: 9aed02feae57bf7 ("ARC: [arcompact] handle unaligned access delay slot") Cc: linux-ker

[PATCH 4.4 17/20] xen-netfront: Delete rx_refill_timer in xennet_disconnect_backend()

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Boris Ostrovsky commit 74470954857c264168d2b5a113904cf0cfd27d18 upstream. rx_refill_timer should be deleted as soon as we disconnect from the backend since otherwise it is possible for the time

[PATCH 4.4 08/20] target: Use correct SCSI status during EXTENDED_COPY exception

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 0583c261e6325f392c1f7a1b9112e31298e1a4bd upstream. This patch adds the missing target_complete_cmd() SCSI status parameter change in target_xcopy_do_work(), that was o

[PATCH 4.4 06/20] ARM: 8643/3: arm/ptrace: Preserve previous registers for short regset write

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit 228dbbfb5d77f8e047b2a1d78da14b7158433027 upstream. Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET to fill all the registers, the thread's old registe

[PATCH 4.4 02/20] selinux: fix off-by-one in setprocattr

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Smalley commit 0c461cb727d146c9ef2d3e86214f498b78b7d125 upstream. SELinux tries to support setting/clearing of /proc/pid/attr attributes from the shell by ignoring terminating newlines

[PATCH 4.4 09/20] target: Fix early transport_generic_handle_tmr abort scenario

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit c54eeffbe9338fa982dc853d816fda9202a13b5a upstream. This patch fixes a bug where incoming task management requests can be explicitly aborted during an active LUN_RESET,

[PATCH 4.4 04/20] cpumask: use nr_cpumask_bits for parsing functions

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 4d59b6ccf000862beed6fc0765d3209f98a8d8a2 upstream. Commit 513e3d2d11c9 ("cpumask: always use nr_cpu_ids in formatting and parsing functions") converted both cpumask printing an

[PATCH 4.4 11/20] ARM: 8642/1: LPAE: catch pending imprecise abort on unmask

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Sverdlin commit 97a98ae5b8acf08d07d972c087b2def060bc9b73 upstream. Asynchronous external abort is coded differently in DFSR with LPAE enabled. Fixes: 9254970c "ARM: 8447/1: catch pen

[PATCH 4.4 12/20] mac80211: Fix adding of mesh vendor IEs

2017-02-13 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thorsten Horstmann commit da7061c82e4a1bc6a5e134ef362c86261906c860 upstream. The function ieee80211_ie_split_vendor doesn't return 0 on errors. Instead it returns any offset < ielen when WLAN_E

[PATCH 4.9 37/60] Drivers: hv: vmbus: On write cleanup the logic to interrupt the host

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: K. Y. Srinivasan commit 1f6ee4e7d83586c8b10bd4f2f4346353d04ce884 upstream. Signal the host when we determine the host is to be signaled. The currrent code determines the need to signal in the r

[PATCH 4.9 47/60] xen-netfront: Delete rx_refill_timer in xennet_disconnect_backend()

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Boris Ostrovsky commit 74470954857c264168d2b5a113904cf0cfd27d18 upstream. rx_refill_timer should be deleted as soon as we disconnect from the backend since otherwise it is possible for the time

[PATCH 4.9 36/60] Drivers: hv: vmbus: Base host signaling strictly on the ring state

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: K. Y. Srinivasan commit 74198eb4a42c4a3c4fbef08fa01a291a282f7c2e upstream. One of the factors that can result in the host concluding that a given guest in mounting a DOS attack is if the guest

[PATCH 4.9 40/60] scsi: zfcp: fix use-after-free by not tracing WKA port open/close on failed send

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 2dfa6688aafdc3f74efeb1cf05fb871465d67f79 upstream. Dan Carpenter kindly reported: The patch d27a7cb91960: "zfcp: trace on request for open and close of WKA port" from Aug

Re: [PATCHv4 2/5] x86/mm: introduce mmap{,_legacy}_base

2017-02-13 Thread Thomas Gleixner
On Mon, 13 Feb 2017, Dmitry Safonov wrote: > > That just makes me barf, really. I have to go and lookup how TASK_SIZE_MAX > > is defined in order to read that code. TASK_SIZE_MAX as is does not give a > > hint at all that it means TASK_SIZE_MAX of 64 bit tasks. > > > > You just explained me that y

[PATCH 4.9 31/60] ARM: 8642/1: LPAE: catch pending imprecise abort on unmask

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Sverdlin commit 97a98ae5b8acf08d07d972c087b2def060bc9b73 upstream. Asynchronous external abort is coded differently in DFSR with LPAE enabled. Fixes: 9254970c "ARM: 8447/1: catch pen

[PATCH 4.9 55/60] IB/rxe: Fix resid update

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eyal Itkin commit 628f07d33c1f2e7bf31e0a4a988bb07914bd5e73 upstream. Update the response's resid field when larger than MTU, instead of only updating the local resid variable. Fixes: 8700e3e7c

[PATCH 4.9 38/60] Drivers: hv: vmbus: On the read path cleanup the logic to interrupt the host

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: K. Y. Srinivasan commit 3372592a140db69fd63837e81f048ab4abf8111e upstream. Signal the host when we determine the host is to be signaled - on th read path. The currrent code determines the need

[PATCH 4.9 39/60] Drivers: hv: vmbus: finally fix hv_need_to_signal_on_read()

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit 433e19cf33d34bb6751c874a9c00980552fe508c upstream. Commit a389fcfd2cb5 ("Drivers: hv: vmbus: Fix signaling logic in hv_need_to_signal_on_read()") added the proper mb(), but re

[PATCH 4.9 35/60] net/mlx5e: Modify TIRs hash only when its needed

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gal Pressman commit 1d3398facd08a7fd4202f269317a95668eb880b9 upstream. We don't need to modify our TIRs unless the user requested a change in the hash function/key, for example when changing in

[PATCH 4.9 34/60] mac80211: Fix adding of mesh vendor IEs

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Thorsten Horstmann commit da7061c82e4a1bc6a5e134ef362c86261906c860 upstream. The function ieee80211_ie_split_vendor doesn't return 0 on errors. Instead it returns any offset < ielen when WLAN_E

[PATCH 4.9 60/60] perf/core: Fix crash in perf_event_read()

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 451d24d1e5f40bad000fa9abe36ddb16fc9928cb upstream. Alexei had his box explode because doing read() on a package (rapl/uncore) event that isn't currently scheduled in ends

[PATCH 4.9 58/60] perf diff: Fix -o/--order option behavior (again)

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Namhyung Kim commit a1c9f97f0b64e6337d9cfcc08c134450934fdd90 upstream. Commit 21e6d8428664 ("perf diff: Use perf_hpp__register_sort_field interface") changed list_add() to perf_hpp__register_so

[PATCH 4.9 52/60] x86/mm/ptdump: Fix soft lockup in page table walker

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 146fbb766934dc003fcbf755b519acef683576bf upstream. CONFIG_KASAN=y needs a lot of virtual memory mapped for its shadow. In that case ptdump_walk_pgd_level_core() takes a l

[PATCH 4.9 45/60] powerpc/mm/radix: Update ERAT flushes when invalidating TLB

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit 90c1e3c2fafec57fcb55b5d69bcf293b1a5fc8b3 upstream. Three tiny changes to the ERAT flushing logic: First don't make it depend on DD1. It hasn't been decided yet but

[PATCH 4.9 59/60] perf diff: Fix segfault on perf diff -o N option

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Namhyung Kim commit 8381cdd0e32dd748bd34ca3ace476949948bd793 upstream. The -o/--order option is to select column number to sort a diff result. It does the job by adding a hpp field at the begi

[PATCH 4.9 48/60] ALSA: hda - adding a new NV HDMI/DP codec ID in the driver

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit af677166cf63c179dc2485053166e02c4aea01eb upstream. Without this change, the HDMI/DP codec will be recognised as a generic codec, and there is no sound when playing through this

[PATCH 4.9 29/60] target: Fix COMPARE_AND_WRITE ref leak for non GOOD status

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 9b2792c3da1e80f2d460167d319302a24c9ca2b7 upstream. This patch addresses a long standing bug where the commit phase of COMPARE_AND_WRITE would result in a se_cmd->cmd_k

[PATCH 4.9 56/60] IB/rxe: Fix mem_check_range integer overflow

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eyal Itkin commit 647bf3d8a8e5777319da92af672289b2a6c4dc66 upstream. Update the range check to avoid integer-overflow in edge case. Resolves CVE 2016-8636. Signed-off-by: Eyal Itkin Signed-of

Re: [PATCH 2/2] sched/deadline: Throttle a constrained deadline task activated after the deadline

2017-02-13 Thread Daniel Bristot de Oliveira
On 02/13/2017 12:12 PM, Peter Zijlstra wrote: > On Fri, Feb 10, 2017 at 08:48:11PM +0100, Daniel Bristot de Oliveira wrote: >> +/* During the activation, CBS checks if it can reuse the current task's >> + * runtime and period. If the deadline of the task is in the past, CBS > Broken comment style,

[PATCH 4.9 46/60] powerpc/powernv: Fix CPU hotplug to handle waking on HVI

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit 9b256714979fad61ae11d90b53cf67dd5e6484eb upstream. The IPIs come in as HVI not EE, so we need to test the appropriate SRR1 bits. The encoding is such that it won't

[PATCH 4.9 54/60] x86/CPU/AMD: Fix Zen SMT topology

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yazen Ghannam commit 08b259631b5a1d912af4832847b5642f377d9101 upstream. After: a33d331761bc ("x86/CPU/AMD: Fix Bulldozer topology") our SMT scheduling topology for Fam17h systems is broken

[PATCH 4.9 53/60] x86/CPU/AMD: Bring back Compute Unit ID

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit 79a8b9aa388b0620cc1d525d7c0f0d9a8a85e08e upstream. Commit: a33d331761bc ("x86/CPU/AMD: Fix Bulldozer topology") restored the initial approach we had with the Fam15h t

[PATCH 4.9 43/60] scsi: qla2xxx: Avoid that issuing a LIP triggers a kernel crash

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mauricio Faria de Oliveira commit 2780f3c8f0233de90b6b47a23fc422b7780c5436 upstream. Avoid that issuing a LIP as follows: find /sys -name 'issue_lip'|while read f; do echo 1 > $f; done trig

[PATCH 4.9 51/60] Revert "ALSA: line6: Only determine control port properties if needed"

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f3d83317a69e7d658e7c83e24f8b31ac533c39e3 upstream. This reverts commit f6a0dd107ad0c8b59d1c9735eea4b8cb9f460949. The commit caused a regression on LINE6 Transport that has

[PATCH 4.9 33/60] nl80211: Fix mesh HT operation check

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Masashi Honma commit fd551bac4795854adaa87bad7e5136083719802b upstream. A previous change to fix checks for NL80211_MESHCONF_HT_OPMODE missed setting the flag when replacing FILL_IN_MESH_PARAM_

[PATCH 4.9 50/60] ALSA: seq: Dont handle loop timeout at snd_seq_pool_done()

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 37a7ea4a9b81f6a864c10a7cb0b96458df5310a3 upstream. snd_seq_pool_done() syncs with closing of all opened threads, but it aborts the wait loop with a timeout, and proceeds to

[PATCH 4.9 44/60] btrfs: fix btrfs_compat_ioctl failures on non-compat ioctls

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Mahoney commit 2a362249187a8d0f6d942d6e1d763d150a296f47 upstream. Commit 4c63c2454ef incorrectly assumed that returning -ENOIOCTLCMD would cause the native ioctl to be called. The ->compa

[PATCH 4.9 49/60] ALSA: seq: Fix race at creating a queue

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4842e98f26dd80be3623c4714a244ba52ea096a8 upstream. When a sequencer queue is created in snd_seq_queue_alloc(),it adds the new queue element to the public list before referen

[PATCH 4.9 42/60] scsi: mpt3sas: disable ASPM for MPI2 controllers

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: ojab commit ffdadd68af5a397b8a52289ab39d62e1acb39e63 upstream. MPI2 controllers sometimes got lost (i.e. disappear from /sys/bus/pci/devices) if ASMP is enabled. Signed-off-by: Slava Kardakov

[PATCH 4.9 04/60] libnvdimm, pfn: fix memmap reservation size versus 4K alignment

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit bfb34527a32a1a576d9bfb7026d3ab0369a6cd60 upstream. When vmemmap_populate() allocates space for the memmap it does so in 2MB sized chunks. The libnvdimm-pfn driver incorrectl

[PATCH 4.9 26/60] target: Use correct SCSI status during EXTENDED_COPY exception

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 0583c261e6325f392c1f7a1b9112e31298e1a4bd upstream. This patch adds the missing target_complete_cmd() SCSI status parameter change in target_xcopy_do_work(), that was o

[PATCH 4.9 27/60] target: Fix early transport_generic_handle_tmr abort scenario

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit c54eeffbe9338fa982dc853d816fda9202a13b5a upstream. This patch fixes a bug where incoming task management requests can be explicitly aborted during an active LUN_RESET,

[PATCH 4.9 28/60] target: Fix multi-session dynamic se_node_acl double free OOPs

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 01d4d673558985d9a118e1e05026633c3e2ade9b upstream. This patch addresses a long-standing bug with multi-session (eg: iscsi-target + iser-target) se_node_acl dynamic fre

[PATCH 4.9 25/60] target: Dont BUG_ON during NodeACL dynamic -> explicit conversion

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 391e2a6de9781e4906dd7e0b1cc097050bf43e11 upstream. After the v4.2+ RCU conversion to se_node_acl->lun_entry_hlist, a BUG_ON() was added in core_enable_device_list_for_

[PATCH 4.9 03/60] libnvdimm, namespace: do not delete namespace-id 0

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 9d032f4201d39e5cf43a8709a047e481f5723fdc upstream. Given that the naming of pmem devices changes from the pmemX form to the pmemX.Y form when namespace id is greater than 0,

[PATCH 4.9 07/60] crypto: chcr - Check device is allocated before use

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Harsh Jain commit f5f7bebc91ab378dea5aad5277c4d283e46472d9 upstream. Ensure dev is allocated for crypto uld context before using the device for crypto operations. Signed-off-by: Atul Gupta Si

[PATCH 4.9 05/60] dm rq: cope with DM device destruction while in dm_old_request_fn()

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit 4087a1fffe38106e10646606a27f10d40451862d upstream. Fixes a crash in dm_table_find_target() due to a NULL struct dm_table being passed from dm_old_request_fn() that races wit

[PATCH 4.9 09/60] crypto: qat - zero esram only for DH85x devices

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Giovanni Cabiddu commit 685ce0626840e2673fe64ea8807684f7324fec5f upstream. Zero embedded ram in DH85x devices. This is not needed for newer generations as it is done by HW. Signed-off-by: Giov

[PATCH 4.9 13/60] Input: uinput - fix crash when mixing old and new init style

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit 601bbbe0517303c9f8eb3d75e11d64efed1293c9 upstream. If user tries to initialize uinput device mixing old and new style initialization (i.e. using old UI_SET_ABSBIT instead

[PATCH 4.9 18/60] mm/slub.c: fix random_seq offset destruction

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sean Rees commit a810007afe239d59c1115fcaa06eb5b480f876e9 upstream. Commit 210e7a43fa90 ("mm: SLUB freelist randomization") broke USB hub initialisation as described in https://bugzilla.kern

[PATCH 4.9 11/60] crypto: ccp - Fix double add when creating new DMA command

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gary R Hook commit e5da5c5667381d2772374ee6a2967b3576c9483d upstream. Eliminate a double-add by creating a new list to manage command descriptors when created; move the descriptor to the pendin

Re: [PATCH 1/3] pinctrl: mvebu: make bool drivers explicitly non-modular

2017-02-13 Thread Linus Walleij
On Mon, Feb 6, 2017 at 9:03 AM, Paul Gortmaker wrote: > None of the Kconfigs for any of these drivers are tristate, meaning > that they currently are not being built as a module by anyone. > > Lets remove the modular code that is essentially orphaned, so that > when reading the drivers there is n

Re: [PATCH] mtd: nand: gpio: make nCE GPIO optional

2017-02-13 Thread Boris Brezillon
On Mon, 13 Feb 2017 13:58:24 +0100 Christophe LEROY wrote: > Le 13/02/2017 à 11:30, Boris Brezillon a écrit : > > On Fri, 10 Feb 2017 15:01:10 +0100 (CET) > > Christophe Leroy wrote: > > > >> On some hardware, the nCE signal is wired to the ChipSelect associated > >> to bus address of the NAND

[PATCH 4.9 24/60] drm/atomic: Fix double free in drm_atomic_state_default_clear

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Maarten Lankhorst commit 92c715fca907686f5298220ece53423e38ba3aed upstream. drm_atomic_helper_page_flip and drm_atomic_ioctl set their own events in crtc_state->event. But when it's set the eve

[PATCH 4.9 22/60] drm/i915: fix use-after-free in page_flip_completed()

2017-02-13 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 5351fbb1bf1413f6024892093528280769ca852f upstream. page_flip_completed() dereferences 'work' variable after executing queue_work(). This is not safe as the 'work' item mi

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