[PATCH 1/1] ALSA: bebob: use the right string length in check_audiophile_booted()

2016-10-29 Thread Nicolas Iooss
Function check_audiophile_booted() only compares 15 characters of the 24-character-long string "FW Audiophile Bootloader" with the firmware model name. As this seems to be incorrect and because there is no comment explaining this "15", fix the length which is used in strncmp(). This patch has

[PATCH v4 5/5] arm64: perf: Cavium ThunderX OCX TLK uncore support

2016-10-29 Thread Jan Glauber
Support for the OCX transmit link counters. Signed-off-by: Jan Glauber --- drivers/perf/uncore/Makefile| 3 +- drivers/perf/uncore/uncore_cavium.c | 1 + drivers/perf/uncore/uncore_cavium.h | 1 +

[PATCH v4 1/5] arm64: perf: Basic uncore counter support for Cavium ThunderX SOC

2016-10-29 Thread Jan Glauber
Provide "uncore" facilities for different non-CPU performance counter units. The uncore PMUs can be found under /sys/bus/event_source/devices. All counters are exported via sysfs in the corresponding events files under the PMU directory so the perf tool can list the event names. There are some

[PATCH v2] ARM: pxa: remove duplicated include from spitz.c

2016-10-29 Thread Robert Jarzmik
From: Wei Yongjun This partially reverts commit 12beb346710b ("Merge tag 'pxa-fixes-v4.8' of https://github.com/rjarzmik/linux into randconfig-4.8"). This former patch introduced accidentally a double include of module.h. Signed-off-by: Wei Yongjun

Re: [PATCH] drm/i915/vlv: Prevent enabling hpd polling in late suspend

2016-10-29 Thread Jani Nikula
On Wed, 26 Oct 2016, Ville Syrjälä wrote: > On Wed, Oct 26, 2016 at 12:36:09PM -0400, Lyude wrote: >> One of the CI machines began to run into issues with the hpd poller >> suddenly waking up in the midst of the late suspend phase. It looks like >> this is getting

Re: [PATCH] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-29 Thread Borislav Petkov
On Sat, Oct 29, 2016 at 08:21:17AM -0400, Paolo Bonzini wrote: > Currently none of the bits in CPUID[7,0].edx is ever masked by the host, so > this would be enough. If we ever need to do some masking, I guess I'll > practice my puss-in-boots look and submit a patch to add CPUID[7,0] back > as a

Re: [PATCH] aio: fix a user triggered use after free (and fix freeze protection of aio writes)

2016-10-29 Thread Al Viro
On Sat, Oct 29, 2016 at 09:44:29AM +0200, Christoph Hellwig wrote: > - if (rw == WRITE) > + if (rw == WRITE) { > file_start_write(file); > + req->ki_flags |= IOCB_WRITE; > + } > + if (rw == WRITE) { > +

Re: [Intel-gfx] xrandr fails after resume from hibernation in kernels 4.7.4 and 4.8.0

2016-10-29 Thread Gaston Gonzalez
On Fri, Oct 28, 2016 at 07:23:24PM +0300, Ville Syrjälä wrote: > On Fri, Oct 28, 2016 at 11:53:40AM -0400, Greg KH wrote: > > On Fri, Oct 07, 2016 at 10:38:17AM -0300, Gaston Gonzalez wrote: > > > On Wed, Oct 05, 2016 at 07:23:23AM +0200, Greg KH wrote: > > > > On Tue, Oct 04, 2016 at 08:43:03PM

[PATCH 4.8 029/125] drm/i915: introduce intel_has_sagv()

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit 6e7fdb873d6255ca3c999dd5c6c18962a769ed3e upstream. And use it to move knowledge about the SAGV-supporting platforms from the callers to the SAGV

[PATCH 4.8 028/125] drm/i915: SAGV is not SKL-only, so rename a few things

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit 674f823b455cdb94d5773406c1caac170f87e1c4 upstream. The plan is to introduce intel_has_sagv() and then use it to discover which platforms actually

[PATCH 4.8 040/125] rt2x00usb: Fix error return code

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Jaillet commit 410280bac6224e066f4cf0b87db08f0418a135b6 upstream. We know that 'retval = 0' because it has been tested a few lines above. So, if

[PATCH 4.8 037/125] drm/i915: Just clear the mmiodebug before a register access

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit f856f847b22c52be82f712ea6ada946c6db884d7 upstream. When we enable the per-register access mmiodebug, it is to detect which access is illegal.

[PATCH 4.8 007/125] drm/amdgpu/dce8: disable hpd on local panels

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 324082586cc5918e3230f0b2f326656c653201eb upstream. Otherwise we can get a hotplug interrupt storm when we turn the panel off if hpd interrupts

[PATCH 4.8 039/125] posix_acl: Clear SGID bit when setting file permissions

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 073931017b49d9458aa351605b43a7e34598caef upstream. When file permissions are modified via chmod(2) and the user is not in the owning group or capable of

[PATCH 4.8 026/125] drm/i915/gen9: fix plane_blocks_per_line on watermarks calculations

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit cf6c525a31fac11b0775b8c06c00a508c6356d9b upstream. The confusing thing is that plane_blocks_per_line is listed as part of the method 2 calculation

[PATCH 4.8 005/125] drm/amdgpu: fix IB alignment for UVD

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit c4795ca642b8bd76b5b6ffba41ba909543273d43 upstream. According to the hw team, it should be 16, not 8. Cc: Peter Fang

[PATCH 4.8 015/125] drm/vmwgfx: Limit the user-space command buffer size

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Hellstrom commit 51ab70bed997f64f091a639dbe22b629725a7faf upstream. With older hardware versions, the user could specify arbitrarily large command buffer sizes,

[PATCH 4.8 030/125] drm/i915/kbl: KBL also needs to run the SAGV code

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit 1d61f4a87d7b6d5585e8fdffa83773c594e7 upstream. According to BSpec, it's the "core CPUs" that need the code, which means SKL and KBL, but not

[PATCH 4.8 017/125] drm/amd/powerplay: fix mclk not switching back after multi-head was disabled

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Rex Zhu commit 9716ebc38dfabe6c8e5e3c809e9f3c61dd3740f9 upstream. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by:

[PATCH 4.8 038/125] drm/i915: Unalias obj->phys_handle and obj->userptr

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit ca5732c53bf66ad755284786897e0dd10330de87 upstream. We use obj->phys_handle to choose the pread/pwrite path, but as obj->phys_handle is a union

[PATCH 4.8 031/125] Revert "drm/i915: Check live status before reading edid"

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: David Weinehall commit 23f889bdf6ee5cfff012d8b09f6bec920c691696 upstream. This reverts commit 237ed86c693d8a8e4db476976aeb30df4deac74b. Our current

[PATCH 4.8 013/125] drm/radeon/si/dpm: fix phase shedding setup

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 427920292b00474d978d632bc03a8e4e50029af3 upstream. Used the wrong index to setup the phase shedding mask. Signed-off-by: Alex Deucher

[PATCH 4.8 011/125] drm/amdgpu: change vblank_times calculation method to reduce computational error.

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Rex Zhu commit dc8184aa8621ee8048652496884d9f40d4bb407f upstream. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by:

[PATCH 4.8 025/125] drm/i915/gen9: minimum scanlines for Y tile is not always 4

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit ccc1057477bc99678896b51adce6b6ee4019dc37 upstream. During watermarks calculations, this value is used in 3 different places. Only one of them was

Re: [PATCH] HID: intel-ish-hid: Fix !CONFIG_PM build warning

2016-10-29 Thread Srinivas Pandruvada
On Sat, 2016-10-29 at 13:17 +0200, Borislav Petkov wrote: > From: Borislav Petkov > > Fix > >   drivers/hid/intel-ish-hid/ipc/pci-ish.c:247:12: warning: > ‘ish_suspend’ defined but not used [-Wunused-function] >    static int ish_suspend(struct device *device) >   ^ >  

Re: [PATCH V2] pinctrl: qcom: Add msm8994 pinctrl driver

2016-10-29 Thread Michael Scott
Resending: The mailing lists bounced due me being silly and replying on my phone. Please reply to this email instead of the last one. On 10/29/2016 01:27 AM, Linus Walleij wrote: On Thu, Oct 27, 2016 at 1:32 AM, Michael Scott wrote: Initial pinctrl driver for QCOM

Re: [PATCH] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-29 Thread Paolo Bonzini
- Original Message - > From: "Borislav Petkov" > To: "Paolo Bonzini" > Cc: "Piotr Luc" , k...@vger.kernel.org, "he chen" > , > linux-kernel@vger.kernel.org, t...@linutronix.de, x...@kernel.org, >

[PATCH 2/4] isdn/eicon: fix some message formatting errors

2016-10-29 Thread Nicolas Iooss
There are some inconsistent debug message formats in message.c. For example, dprintf("XDI CAPI: RC cancelled Id:0x02, Ch:%02x", e->Id, ch); wrongly reports an ID of 2 and prints the entity ID as the channel ID. There are also object pointers which are used instead of the IDs. All these

[PATCH 3/4] isdn/eicon: add some __printf attributes

2016-10-29 Thread Nicolas Iooss
Add __printf attributes to some functions. This helps detecting errors related to printf-formats at compile time. When doing this, gcc reports some issues in debug.c. Fix them. This patch has only been compile-tested. Signed-off-by: Nicolas Iooss ---

Re: Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-29 Thread Daniel Gruss
I think that this idea to mitigate Rowhammer is not a good approach. I wrote Rowhammer.js (we published a paper on that) and I had the first reproducible bit flips on DDR4 at both, increased and default refresh rates (published in our DRAMA paper). We have researched the number of cache

[PATCH 4.8 091/125] clk: core: Force setting the phase delay when no change

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jean-Francois Moine commit 3174b0c9a62bb3738b4a2a506b8a075d4430e353 upstream. This patch reverts commit 023bd7166be0 ("clk: skip unnecessary set_phase if nothing to do"),

[PATCH 4.8 113/125] powerpc: Fix usage of _PAGE_RO in hugepage

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy commit 6b8cb66a6a7cc182b47da6a0a1d4e5da324c0695 upstream. On some CPUs like the 8xx, _PAGE_RW hence _PAGE_WRITE is defined as 0 and _PAGE_RO has to be

[PATCH 4.8 122/125] PCI: versatile: Fix pci_remap_iospace() failure path

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Pieralisi commit 53f4f7ee28076a36e427274d7d5c33b23dfc6221 upstream. On ARM/ARM64 architectures, PCI IO ports are emulated through memory mapped IO, by

[PATCH 4.8 089/125] clk: qoriq: fix a register offset error

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Tang Yuantian commit 8964193f6bfda5c4cf14eedb7e94892c1f1c34f0 upstream. The offset of Core Cluster clock control/status register on cluster group V3 version is different

[PATCH] ARM: spear: Fix error handling

2016-10-29 Thread Christophe JAILLET
'clk_get_sys()' returns an error pointer in case of error, not NULL. So test it with IS_ERR. Signed-off-by: Christophe JAILLET --- arch/arm/mach-spear/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-spear/time.c

[PATCH 4.8 121/125] PCI: generic: Fix pci_remap_iospace() failure path

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Pieralisi commit 43281ede019ede33fd0c40a14a86b304a51e4555 upstream. On ARM/ARM64 architectures, PCI IO ports are emulated through memory mapped IO, by

[PATCH 4.8 120/125] PCI: aardvark: Fix pci_remap_iospace() failure path

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Pieralisi commit db047f8a931275e50563dd79c3d62d977074959a upstream. On ARM/ARM64 architectures, PCI IO ports are emulated through memory mapped IO, by

[PATCH 4.8 088/125] clk: qcom: select GDSC for msm8996 gcc and mmcc

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Kandagatla commit 6d91f2c0141330b919ae4d13395f38c341469564 upstream. This patch selects QCOM_GDSC Kconfig for msm8996 GCC and MMCC clock controllers,

[PATCH 3/4] proc: kmalloc struct pde_opener

2016-10-29 Thread Alexey Dobriyan
kzalloc is too much, half of the fields will be reinitialized anyway. If proc file doesn't have ->release hook (some still do not), clearing is unnecessary because it will be freed immediately. Signed-off-by: Alexey Dobriyan --- fs/proc/inode.c |4 +++- 1 file

[PATCH 4.8 119/125] PCI: rcar: Fix pci_remap_iospace() failure path

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Pieralisi commit 5e8c873270cc618e3326eb6a47437b517ef85c52 upstream. On ARM/ARM64 architectures, PCI IO ports are emulated through memory mapped IO, by

[PATCH 4.8 103/125] iwlwifi: mvm: free reserved queue on STA removal

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Liad Kaufman commit a0315dea9091d1ebc1534f6129b3fc9942b8ca99 upstream. When a STA is removed in DQA mode, if no traffic went through its reserved queue, the txq

[PATCH 4.8 090/125] clk: Return errors from clk providers in __of_clk_get_from_provider()

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit f155d15b64e36b45ca89e3521fe0c1ccad5e5ff0 upstream. Before commit 0861e5b8cf80 (clk: Add clk_hw OF clk providers, 2016-02-05)

[PATCH 4.8 043/125] coresight: Remove erroneous dma_free_coherent in tmc_probe

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Suzuki K Poulose commit 481e46fe7a88557b66330cbb047b25cc13eff4b9 upstream. commit de5461970b3e9e194 ("coresight: tmc: allocating memory when needed") removed the static

[PATCH 4.8 042/125] genirq/generic_chip: Add irq_unmap callback

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Frias commit ee26c013cdee0b947e29d6cadfb9ff3341c69ff9 upstream. Without this patch irq_domain_disassociate() cannot properly release the interrupt. In fact,

[PATCH] proc: make struct struct map_files_info::len unsigned int

2016-10-29 Thread Alexey Dobriyan
Linux doesn't support 4GB+ filenames in /proc, so unsigned long is too much. MOV r64, r/m64 is smaller than MOV r32, r/m32. Signed-off-by: Alexey Dobriyan --- fs/proc/base.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/proc/base.c +++

[PATCH 4.8 006/125] drm/amdgpu/dce10: disable hpd on local panels

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit e96ec90f496603c48e0945f8bdeb4cdf3088cbba upstream. Otherwise we can get a hotplug interrupt storm when we turn the panel off if hpd interrupts

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-29 Thread Jens Axboe
On 10/28/2016 11:38 PM, Paolo Valente wrote: Il giorno 26 ott 2016, alle ore 18:12, Jens Axboe ha scritto: On 10/26/2016 10:04 AM, Paolo Valente wrote: Il giorno 26 ott 2016, alle ore 17:32, Jens Axboe ha scritto: On 10/26/2016 09:29 AM, Christoph

[PATCH 4.8 063/125] ASoC: dapm: Fix value setting for _ENUM_DOUBLE MUXs second channel

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit 071133a209354f39d4e5785d5a6a390e03241841 upstream. The value for the second channel in _ENUM_DOUBLE (double channel) MUXs is not correctly updated, due to

[PATCH 4.8 054/125] ath10k: fix throughput regression in multi client mode

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Rajkumar Manoharan commit 18f53fe0f30331e826b075709ed7b26b9283235e upstream. commit 7a0adc83f34d ("ath10k: improve tx scheduling") is causing severe throughput drop

[PATCH 4.8 052/125] ath10k: fix sending frame in management path in push txq logic

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ashok Raj Nagarajan commit e4fd726f21cdae0dc9cea6cbfcb7e27f21393f88 upstream. In the wake tx queue path, we are not checking if the frame to be sent takes management

[PATCH 4.8 009/125] drm/amdgpu/dce11: add missing drm_mode_config_cleanup call

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Grazvydas Ignotas commit 140c94da3c3338c0ff4cc127cf9bec87905ca83c upstream. All other amdgpu/dce_v* files have this call, it's only mysteriously missing from dce_v11_0.c

[PATCH 4.8 057/125] crypto: marvell - Update transformation context for each dequeued req

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Romain Perier commit 09951d83fc58a6f772de09c08e370f6d9970dbb6 upstream. So far, sub part of mv_cesa_int was responsible of dequeuing complete requests, then

[PATCH 4.8 058/125] crypto: arm/ghash-ce - add missing async import/export

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit ed4767d612fd2c39e2c4c69eba484c1219dcddb6 upstream. Since commit 8996eafdcbad ("crypto: ahash - ensure statesize is non-zero"), all ahash

[PATCH 4.8 051/125] ath10k: Add WMI_SERVICE_PERIODIC_CHAN_STAT_SUPPORT wmi service

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Tamizh chelvam commit 64ed5771aca2fcfb8ea440fc679741054011fd7e upstream. WMI_SERVICE_PERIODIC_CHAN_STAT_SUPPORT service has missed in the commit 7e247a9e88dc

[PATCH 4.8 053/125] ath10k: fix reporting channel survey data

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ashok Raj Nagarajan commit 77eb3d693182b4eaa88c6ba406fbb92b1f1bd636 upstream. When user requests for survey dump data, driver is providing wrong survey information.

[PATCH 4.8 059/125] crypto: ccp - Fix return value check in ccp_dmaengine_register()

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 7514e3688811e610640ec2201ca14dfebfe13442 upstream. Fix the retrn value check which testing the wrong variable in ccp_dmaengine_register(). Fixes:

[PATCH 4.8 060/125] hwrng: omap - Only fail if pm_runtime_get_sync returns < 0

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dave Gerlach commit ad8529fde9e3601180a839867a8ab041109aebb5 upstream. Currently omap-rng checks the return value of pm_runtime_get_sync and reports failure if anything is

[PATCH 4.8 008/125] drm/amdgpu/dce11: disable hpd on local panels

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 3a9d993ee9809c217f4322623a9b78c8d17fdd1f upstream. Otherwise we can get a hotplug interrupt storm when we turn the panel off if hpd interrupts

[PATCH 4.8 055/125] crypto: marvell - Dont overwrite default creq->state during initialization

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Romain Perier commit 57cfda1ac74e58767f6305bd1ea3449177425460 upstream. Currently, in mv_cesa_{md5,sha1,sha256}_init creq->state is initialized before the

[PATCH 4.4 45/51] clk: divider: Fix clk_divider_round_rate() to use clk_readl()

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit 2cf9a57811bddb6fa6b0f8d7376da164d5534813 upstream. clk-divider uses clk_readl()/clk_writel() everywhere, except in clk_divider_round_rate(),

[PATCH 4.4 36/51] ASoC: dapm: Fix kcontrol creation for output driver widget

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit a3930ed060df4ccf2a06cf0b68738dec3e6ff89a upstream. Commit d88429a695a4 ("ASoC: dapm: Add output driver widget") added the snd_soc_dapm_out_drv ID for the

[PATCH 4.4 44/51] clk: qoriq: fix a register offset error

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tang Yuantian commit 8964193f6bfda5c4cf14eedb7e94892c1f1c34f0 upstream. The offset of Core Cluster clock control/status register on cluster group V3 version is different

[PATCH 4.4 39/51] dmaengine: ipu: remove bogus NO_IRQ reference

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 86c7e6836479c4045a9a81ed5ea76c51d719f9c1 upstream. A workaround for a warning introduced a use of the NO_IRQ macro that should have been gone for a long

[PATCH 4.4 35/51] ASoC: dapm: Fix value setting for _ENUM_DOUBLE MUXs second channel

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit 071133a209354f39d4e5785d5a6a390e03241841 upstream. The value for the second channel in _ENUM_DOUBLE (double channel) MUXs is not correctly updated, due to

[PATCH 4.4 37/51] staging: r8188eu: Fix scheduling while atomic splat

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 1335a9516d3d52f157ad87456efdd8dc9ae1747b upstream. Commit fadbe0cd5292851608e2e01b91d9295fa287b9fe ("staging: rtl8188eu: Remove rtw_zmalloc(),

[PATCH 4.4 07/51] drm/amdgpu: change vblank_times calculation method to reduce computational error.

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Rex Zhu commit dc8184aa8621ee8048652496884d9f40d4bb407f upstream. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by:

Re: [PATCH] aio: fix a user triggered use after free (and fix freeze protection of aio writes)

2016-10-29 Thread Christoph Hellwig
On Sat, Oct 29, 2016 at 01:24:51PM +0100, Al Viro wrote: > How about taking this chunk (i.e. telling lockdep that we are not holding this > thing) past the iter_op() call, where file_end_write() used to be? We can't as that would not fix the use after free (at least for the lockdep case -

Re: [PATCH 01/60] block: bio: introduce bio_init_with_vec_table()

2016-10-29 Thread Christoph Hellwig
Just add the two arguments to bio_init instead of adding a second function with a way too long name.

Re: [PATCH 2/2] clk: hisilicon: add CRG driver for Hi3516CV300 SoC

2016-10-29 Thread Hao Zhang
Hi, is there any mainline kernel or uboot for hisilicon hi3520dv200 or hi3520dv300? just want some base support to boot , anything close to mainline is ok :) 2016-10-29 14:13 GMT+08:00 Jiancheng Xue : > Add CRG driver for Hi3516CV300 SoC. CRG(Clock and Reset >

Re: [PATCH v3] ARM: bcm2835: Add names for the Raspberry Pi GPIO lines

2016-10-29 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 27. Oktober 2016 um 18:52 geschrieben: > > > From: Linus Walleij > > The idea is to give useful names to GPIO lines that an implementer > will be using from userspace, e.g. for maker type projects. These are >

Re: [PATCH] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-10-29 Thread Borislav Petkov
On Sat, Oct 29, 2016 at 08:36:11AM -0400, Paolo Bonzini wrote: > Because then it wouldn't be in processor.h. Easy: return cpuid_edx(…) & KVM_CPUID_EDX_7_MASK; at the call site. > Yes, but it doesn't take an ecx. Looks like we need another set of macros :-) > Anyhow this is not an

[PATCH 4.4 29/51] mwifiex: correct aid value during tdls setup

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Xinming Hu commit b64db1b252e9974a43a51ba083fa7d03e4716167 upstream. AID gets updated during TDLS setup, but modified value isn't reflected in "priv->assoc_rsp_buf". This

[PATCH 4.4 03/51] drm/amdgpu/dce10: disable hpd on local panels

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit e96ec90f496603c48e0945f8bdeb4cdf3088cbba upstream. Otherwise we can get a hotplug interrupt storm when we turn the panel off if hpd interrupts

[PATCH 4.8 001/125] drm/vc4: Fix races when the CS reads from render targets.

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Anholt commit 7edabee06a5622190d59689a64f5e17d1c343cc3 upstream. With the introduction of bin/render pipelining, the previous job may not be completed when we start

[PATCH 4.4 28/51] spi: spi-fsl-dspi: Drop extra spi_master_put in device remove function

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 6999aeabbb703a81a204cb6f9f8f151759a99ac4 upstream. The call sequence spi_alloc_master/spi_register_master/spi_unregister_master is complete; it reduces

[PATCH 4.4 48/51] perf symbols: Fixup symbol sizes before picking best ones

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnaldo Carvalho de Melo commit 432746f8e0b6a82ba832b771afe31abd51af6752 upstream. When we call symbol__fixup_duplicate() we use algorithms to pick the "best" symbols for

[PATCH 4.4 06/51] drm/amdgpu/dce11: add missing drm_mode_config_cleanup call

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Grazvydas Ignotas commit 140c94da3c3338c0ff4cc127cf9bec87905ca83c upstream. All other amdgpu/dce_v* files have this call, it's only mysteriously missing from dce_v11_0.c

[PATCH 4.4 20/51] ipip: Properly mark ipip GRO packets as encapsulated.

2016-10-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jesse Gross commit b8cba75bdf6a48ea4811bbefb11a94a5c7281b68 upstream. ipip encapsulated packets can be merged together by GRO but the result does not have the proper GSO type

[PATCH 4.8 081/125] mm/hugetlb: improve locking in dissolve_free_huge_pages()

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit eb03aa008561004257900983193d024e57abdd96 upstream. For every pfn aligned to minimum_order, dissolve_free_huge_pages() will call

[PATCH 4.8 079/125] dmaengine: ipu: remove bogus NO_IRQ reference

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 86c7e6836479c4045a9a81ed5ea76c51d719f9c1 upstream. A workaround for a warning introduced a use of the NO_IRQ macro that should have been gone for a long

[PATCH 4.8 048/125] i40e: fix broken i40e_config_rss_aq function

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller commit 776b2e15f8af7900409456292efd45af6de97172 upstream. X722 hardware requires using the admin queue to configure RSS. This function was previously

[PATCH 4.8 078/125] power: bq24257: Fix use of uninitialized pointer bq->charger

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Georges Savoundararadj commit 0610735928ee47870e083d5901caa371089216f1 upstream. bq->charger is initialized in bq24257_power_supply_init. Therefore,

[PATCH 4.8 050/125] mwifiex: fix failed to reconnect after interface disabled/enabled

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Amitkumar Karwar commit c8ccf3ade7851054f82bf88f5fcd393a394038a3 upstream. Recent patch "mwifiex: fix NULL pointer" skips extended scan event handling when suspend is in

[PATCH 1/4] proc: just list_del() struct pde_opener

2016-10-29 Thread Alexey Dobriyan
list_del_init() is too much, structure will be freed in three lines anyway. Signed-off-by: Alexey Dobriyan --- fs/proc/inode.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -152,7 +152,7 @@ static void

[PATCH 4.8 062/125] ASoC: dapm: Fix possible uninitialized variable in snd_soc_dapm_get_volsw()

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit 01ad5e7de67b408d9b48b437b06a9938ddf460b5 upstream. If soc_dapm_read() fails, val will be uninitialized, and bogus values will be written later: ret

[PATCH 4.8 041/125] scsi: cxlflash: Remove the device cleanly in the system shutdown path

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Uma Krishnan commit babf985d1e1b0677cb264acd01319d2b9c8f4327 upstream. Commit 704c4b0ddc03 ("cxlflash: Shutdown notify support for CXL Flash cards") was recently

[PATCH 4.8 067/125] iio: ad5755: fix off-by-one on devnr limit check

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 9d47964bfd471f0dd4c89f28556aec68bffa0020 upstream. The comparison for devnr limits is off-by-one, the current check allows 0 to

[PATCH 4.8 047/125] i40e: remove a stray unlock

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit be0cb0a66a1d426f7cd9b170c008725044ae147a upstream. We shifted the locking around a bit but forgot to delete this unlock so now it can unlock

[PATCH 4.8 065/125] ASoC: sst-bxt-rt298: fix obsoleted initializers for array

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 5919a3898136aae4d2cb4b18b44f70f7b185aa47 upstream. Sparse reports below warnings. bxt_rt298.c:275:9: warning: obsolete array initializer, use

[PATCH 4.8 061/125] ASoC: topology: Fix error return code in soc_tplg_dapm_widget_create()

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 8ae3ea48df0d746b663057cf0b972a18d0777b7b upstream. Fix to return error code -ENOMEM instead of 0 when failed to create widget, as done elsewhere in this

[BUG] Integer overflow in sort() function

2016-10-29 Thread Michał Wysoczański
Hello, There is possible integer overflow in kernel sort() function leading to page fault. sort() function accepts number of items and item size as two 64-bit arguments (size_t) but internal calculations are done using 32-bit integers: void sort(void *base, size_t num, size_t size, int

[PATCH 4.8 066/125] ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializers for array

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 43d443dc257c00ef3a3f940b6abfb7537c4fcbe8 upstream. Sparse reports below warnings. bxt_da7219_max98357a.c:250:9: warning: obsolete array

[PATCH] proc: make struct pid_entry::len unsigned

2016-10-29 Thread Alexey Dobriyan
"unsigned int" is better on x86_64 because it most of the time it autoexpands to 64-bit value while "int" requires MOVSX instruction. Signed-off-by: Alexey Dobriyan --- fs/proc/base.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/proc/base.c +++

[PATCH 4.8 049/125] mwifiex: correct aid value during tdls setup

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Xinming Hu commit b64db1b252e9974a43a51ba083fa7d03e4716167 upstream. AID gets updated during TDLS setup, but modified value isn't reflected in "priv->assoc_rsp_buf". This

[PATCH 4.8 080/125] mm/hugetlb: check for reserved hugepages during memory offline

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit 082d5b6b60e9f25e1511557fcfcb21eedd267446 upstream. In dissolve_free_huge_pages(), free hugepages will be dissolved without making sure that

[PATCH 4.8 076/125] IB/qib: Remove qpt_mask global

2016-10-29 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dennis Dalessandro commit 84b3adc2430eafd2eb703570075c3c141ea0ff13 upstream. There is no need to have a global qpt_mask as that does not support the multiple chip

Re: Section mismatch in reference from the function generic_NCR5380_isa_match()

2016-10-29 Thread Johannes Thumshirn
On Sat, Oct 29, 2016 at 12:12:21PM +0200, Borislav Petkov wrote: > Hi, > > I'm seeing this during randconfig builds: > > WARNING: vmlinux.o(.text+0x1588439): Section mismatch in reference from the > function generic_NCR5380_isa_match() to the function .init.text:probe_intr() > The function

[GIT PULL] TTY/Serial driver fixes for 4.9-rc3

2016-10-29 Thread Greg KH
The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: Linux 4.9-rc2 (2016-10-23 17:10:14 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.9-rc3 for you to fetch changes up to

[GIT PULL] Driver core fixes for 4.9-rc3

2016-10-29 Thread Greg KH
The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: Linux 4.9-rc2 (2016-10-23 17:10:14 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.9-rc3 for you to fetch changes up to

[GIT PULL] Char/Misc driver fixes for 4.9-rc3

2016-10-29 Thread Greg KH
The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: Linux 4.9-rc2 (2016-10-23 17:10:14 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.9-rc3 for you to fetch changes up to

  1   2   3   4   5   6   7   8   9   10   >