[PATCH v3 15/19] IMA: switch IMA over to new i_version API

2017-12-18 Thread Jeff Layton
From: Jeff Layton Signed-off-by: Jeff Layton --- security/integrity/ima/ima_api.c | 3 ++- security/integrity/ima/ima_main.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/security/integrity/ima/ima_api.c b/security/integrity/ima/ima_api.c index c7e8db0ea4c0..c6ae42266

[PATCH v3 17/19] xfs: avoid setting XFS_ILOG_CORE if i_version doesn't need incrementing

2017-12-18 Thread Jeff Layton
From: Jeff Layton If XFS_ILOG_CORE is already set then go ahead and increment it. Signed-off-by: Jeff Layton --- fs/xfs/xfs_trans_inode.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/fs/xfs/xfs_trans_inode.c b/fs/xfs/xfs_trans_inode.c index 225544327c4f..4

Re: [PATCH V1 1/4] usb: serial: f81534: add high baud rate support

2017-12-18 Thread Johan Hovold
On Thu, Nov 16, 2017 at 03:46:06PM +0800, Ji-Ze Hong (Peter Hong) wrote: > The F81532/534 had 4 clocksource 1.846/18.46/14.77/24MHz and baud rates can > be up to 1.5Mbits with 24MHz. > > F81532/534 Clock register (offset +08h) > > Bit0: UART Enable (always on) > Bit2-1: Clock source selecto

[PATCH v3 13/19] ufs: use new i_version API

2017-12-18 Thread Jeff Layton
From: Jeff Layton Signed-off-by: Jeff Layton --- fs/ufs/dir.c | 9 + fs/ufs/inode.c | 3 ++- fs/ufs/super.c | 3 ++- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/fs/ufs/dir.c b/fs/ufs/dir.c index 2edc1755b7c5..50dfce000864 100644 --- a/fs/ufs/dir.c +++ b/fs/ufs/dir.c

[PATCH v3 14/19] xfs: convert to new i_version API

2017-12-18 Thread Jeff Layton
From: Jeff Layton Signed-off-by: Jeff Layton --- fs/xfs/libxfs/xfs_inode_buf.c | 7 +-- fs/xfs/xfs_icache.c | 5 +++-- fs/xfs/xfs_inode.c| 3 ++- fs/xfs/xfs_inode_item.c | 3 ++- fs/xfs/xfs_trans_inode.c | 4 +++- 5 files changed, 15 insertions(+), 7 deletio

[PATCH] usb: dwc3: of-simple: fix oops by unbalanced clk disable call

2017-12-18 Thread Enric Balletbo i Serra
dwc3_of_simple_dev_pm_ops has never been used since commit a0d8c4cfdf31 ("usb: dwc3: of-simple: set dev_pm_ops"), but this commit has brought and oops when unbind the device due this sequence: dwc3_of_simple_remove -> clk_disable ... -> pm_runtime_put_sync -> dwc3_of_simple_run

[PATCH v3 11/19] nfsd: convert to new i_version API

2017-12-18 Thread Jeff Layton
From: Jeff Layton Mostly just making sure we use the "get" wrappers so we know when it is being fetched for later use. Signed-off-by: Jeff Layton --- fs/nfsd/nfsfh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/nfsd/nfsfh.h b/fs/nfsd/nfsfh.h index 43f31cf49bae..b844

[PATCH v3 10/19] nfs: convert to new i_version API

2017-12-18 Thread Jeff Layton
From: Jeff Layton For NFS, we just use the "raw" API since the i_version is mostly managed by the server. The exception there is when the client holds a write delegation, but we only need to bump it once there anyway to handle CB_GETATTR. Signed-off-by: Jeff Layton --- fs/nfs/delegation.c|

[PATCH v3 08/19] ext2: convert to new i_version API

2017-12-18 Thread Jeff Layton
From: Jeff Layton Signed-off-by: Jeff Layton Reviewed-by: Jan Kara --- fs/ext2/dir.c | 9 + fs/ext2/super.c | 5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c index 987647986f47..4111085a129f 100644 --- a/fs/ext2/dir.c +++ b/fs/ext

NFS: 82ms wakeup latency 4.14-rc4

2017-12-18 Thread Mike Galbraith
Greetings, While doing some generic scheduler latency testing, I stumbled onto $subject.  To reproduce this, I simply nfs mount my box, cd to one of it's spinning rust buckets, and do bonnie -s .  With nothing else going on in the box, I've hit > 100ms wakeup latencies. (nouveau apparently also t

[PATCH v3 07/19] exofs: switch to new i_version API

2017-12-18 Thread Jeff Layton
From: Jeff Layton Signed-off-by: Jeff Layton --- fs/exofs/dir.c | 9 + fs/exofs/super.c | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/fs/exofs/dir.c b/fs/exofs/dir.c index 98233a97b7b8..c5a53fcc43ea 100644 --- a/fs/exofs/dir.c +++ b/fs/exofs/dir.c @@ -31,6 +3

Re: [PATCH V1 2/4] usb: serial: f81534: add auto RTS direction support

2017-12-18 Thread Johan Hovold
On Thu, Nov 16, 2017 at 03:46:07PM +0800, Ji-Ze Hong (Peter Hong) wrote: > The F81532/534 had auto RTS direction support for RS485 mode. > We'll read it from internal Flash with address 0x2f01~0x2f04 for 4 ports. > There are 4 conditions below: > 0: F81534_PORT_CONF_RS232. > 1: F81534_P

[PATCH V2 3/9] ARM: stm32: prepare stm32 family to welcome armv7 architecture

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre This patch prepares the STM32 machine for the integration of Cortex-A based microprocessor (MPU), on top of the existing Cortex-M microcontroller family (MCU). Since both MCUs and MPUs are sharing common hardware blocks we can keep using ARCH_STM32 flag for most of them. If a

[PATCH V2 1/9] devicetree: bindings: Document supported STM32 SoC family

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre This adds a list of supported STM32 SoC bindings. Signed-off-by: Gwenael Treuveur Signed-off-by: Ludovic Barre Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/stm32.txt | 9 + 1 file changed, 9 insertions(+) create mode 100644 Documentation/dev

[PATCH V2 8/9] ARM: dts: stm32: add stm32mp157c initial support

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre Add stm32mp157c initial support with: -Dual Cortex-A7 -Arm psci, timer, gic -Pinctrl -Uart Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 172 ++ arch/arm/boot/dts/stm32mp157c.dtsi| 139 ++

[PATCH V2 2/9] Documentation: arm: stm32: move to rst format

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre This patch rewrites stm32 documentation to rst (ReStructuredText) format. Signed-off-by: Ludovic Barre --- Documentation/arm/stm32/overview.rst | 31 +++ Documentation/arm/stm32/overview.txt | 33 - Documentati

[PATCH V2 6/9] pinctrl: stm32: Add STM32MP157 MPU support

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre This driver consists of 2 controllers due to a hole in mapping: -1 controller for GPIO bankA to K. -1 controller for GPIO bankZ. Signed-off-by: Alexandre Torgue Signed-off-by: Ludovic Barre Reviewed-by: Rob Herring --- .../bindings/pinctrl/st,stm32-pinctrl.txt |

[PATCH V2 5/9] ARM: stm32: add initial support for STM32MP157

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre This patch adds initial support of STM32MP157 microprocessor (MPU) based on Arm Cortex-A7. New Cortex-A infrastructure (gic, timer,...) are selected if ARCH_MULTI_V7 is defined. Signed-off-by: Ludovic Barre --- Documentation/arm/stm32/stm32mp157-overview.rst | 19 ++

[PATCH V2 7/9] ARM: configs: multi_v7: add stm32 support

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre This patch adds stm32 support to multi_v7_defconfig Signed-off-by: Ludovic Barre --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 11e648a..a0163e7

[PATCH V2 4/9] devicetree: bindings: stm32: add support of STM32MP157

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre This patch adds STM32MP157 SoC bindings. Signed-off-by: Ludovic Barre --- Documentation/devicetree/bindings/arm/stm32.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/stm32.txt b/Documentation/devicetree/bindings/arm/stm32.txt i

[PATCH V2 9/9] ARM: dts: stm32: add initial support of stm32mp157c eval board

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre Add support of stm32mp157c evaluation board (part number: STM32MP157C-EV1) split in 2 elements: -Daughter board (part number: STM32MP157C-ED1) which includes CPU, memory and power supply -Mother board (part number: STM32MP157C-EM1) which includes external peripherals (like d

[PATCH v3 05/19] afs: convert to new i_version API

2017-12-18 Thread Jeff Layton
From: Jeff Layton For AFS, it's generally treated as an opaque value, so we use the *_raw variants of the API here. Note that AFS has quite a different definition for this counter. AFS only increments it on changes to the data, not for the metadata. We'll need to reconcile that somehow if we eve

[PATCH V2 0/9] ARM: stm32: add initial STM32MPU support

2017-12-18 Thread Ludovic Barre
From: Ludovic Barre change V2: -Add stm32 documentation in this serie to avoid merge conflict thread: "https://patchwork.kernel.org/patch/10102573/"; -Split bindings (stm32.txt) to separate patches. -Remove ARCH_STM32_MCU/MPU flags -Adopt rst format for Documentation/arm/stm32 files -s/STMicrolec

[PATCH 04/13] powerpc/powernv: Add platform-specific services for opencapi

2017-12-18 Thread Frederic Barrat
Implement a few platform-specific calls which can be used by drivers: - provide the Transaction Layer capabilities of the host, so that the driver can find some common ground and configure the device and host appropriately. - provide the hw interrupt to be used for translation faults raised b

[PATCH 00/13] New driver to support OpenCAPI devices on POWER9

2017-12-18 Thread Frederic Barrat
This series adds support for Open Coherent Accelerator (ocxl) devices on POWER9 processor. OpenCAPI is a consortium developing the specifications for an interface between processors and accelerators, allowing sharing the host memory with the accelerators, using virtual addresses. The OpenCAPI dev

[PATCH 03/13] powerpc/powernv: Add opal calls for opencapi

2017-12-18 Thread Frederic Barrat
Add opal calls to interact with the NPU: OPAL_NPU_SPA_SETUP: set the Shared Process Area (SPA) The SPA is a table containing one entry (Process Element) per memory context which can be accessed by the opencapi device. OPAL_NPU_SPA_CLEAR_CACHE: clear the context cache The NPU keeps a cache of rece

[PATCH 11/13] cxl: Remove support for "Processing accelerators" class

2017-12-18 Thread Frederic Barrat
The cxl driver currently declares in its table of supported PCI devices the class "Processing accelerators". Therefore it may be called to probe for opencapi devices, which generates errors, as the config space of a cxl device is not compatible with opencapi. So remove support for the generic clas

[PATCH 09/13] ocxl: Add trace points

2017-12-18 Thread Frederic Barrat
Define a few trace points so that we can use the standard tracing mechanism for debug and/or monitoring. Signed-off-by: Frederic Barrat --- drivers/misc/ocxl/afu_irq.c | 5 ++ drivers/misc/ocxl/context.c | 2 + drivers/misc/ocxl/link.c| 11 ++- drivers/misc/ocxl/trace.c | 13 +++ dri

[PATCH 13/13] ocxl: add MAINTAINERS entry

2017-12-18 Thread Frederic Barrat
Signed-off-by: Frederic Barrat Signed-off-by: Andrew Donnellan --- MAINTAINERS | 12 1 file changed, 12 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a6e86e20761e..edc9e1db352b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3919,6 +3919,18 @@ F: drivers/scsi/cxlf

[PATCH 10/13] ocxl: Add Makefile and Kconfig

2017-12-18 Thread Frederic Barrat
OCXL_BASE triggers the platform support needed by the driver. Signed-off-by: Frederic Barrat --- drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/ocxl/Kconfig | 25 + drivers/misc/ocxl/Makefile | 10 ++ 4 files changed, 37 insert

[PATCH 12/13] ocxl: Documentation

2017-12-18 Thread Frederic Barrat
ocxl.rst gives a quick, high-level view of opencapi. Update ioctl-number.txt to reflect ioctl numbers being used by the ocxl driver Signed-off-by: Frederic Barrat --- Documentation/accelerators/ocxl.rst | 151 +++ Documentation/ioctl/ioctl-number.txt | 1 + 2

[PATCH 06/13] ocxl: Driver code for 'generic' opencapi devices

2017-12-18 Thread Frederic Barrat
Add an ocxl driver to handle generic opencapi devices. Of course, it's not meant to be the only opencapi driver, any device is free to implement its own. But if a host application only needs basic services like attaching to an opencapi adapter, have translation faults handled or allocate AFU interr

[PATCH 07/13] ocxl: Add AFU interrupt support

2017-12-18 Thread Frederic Barrat
Add user APIs through ioctl to allocate, free, and be notified of an AFU interrupt. For opencapi, an AFU can trigger an interrupt on the host by sending a specific command targeting a 64-bit object handle. On POWER9, this is implemented by mapping a special page in the address space of a process a

Re: perf record: regression with latest PT fix

2017-12-18 Thread Mathieu Poirier
On 18 December 2017 at 07:25, Adrian Hunter wrote: > On 18/12/17 15:28, Alexander Shishkin wrote: >> On Mon, Dec 18, 2017 at 05:03:53AM -0800, Stephane Eranian wrote: >>> Hi, >>> >>> >>> The following patch: >>> >>> f785657b0fbe perf report: Fix regression when decoding Intel-PT traces >> >> Cc'in

[PATCH 08/13] ocxl: Add a kernel API for other opencapi drivers

2017-12-18 Thread Frederic Barrat
Some of the functions done by the generic driver should also be needed by other opencapi drivers: attaching a context to an adapter, translation fault handling, AFU interrupt allocation... So to avoid code duplication, the driver provides a kernel API that other drivers can use, similar to calling

[PATCH 01/13] powerpc/powernv: Introduce new PHB type for opencapi links

2017-12-18 Thread Frederic Barrat
The NPU was already abstracted by opal as a virtual PHB for nvlink, but it helps to be able to differentiate between a nvlink or opencapi PHB, as it's not completely transparent to linux. In particular, PE assignment differs and we'll also need the information in later patches. So rename existing

[PATCH 05/13] powerpc/powernv: Capture actag information for the device

2017-12-18 Thread Frederic Barrat
In the opencapi protocol, host memory contexts are referenced by a 'actag'. During setup, a driver must tell the device how many actags it can used, and what values are acceptable. On POWER9, the NPU can handle 64 actags per link, so they must be shared between all the PCI functions of the link. T

[PATCH 02/13] powerpc/powernv: Set correct configuration space size for opencapi devices

2017-12-18 Thread Frederic Barrat
>From Andrew Donnellan The configuration space for opencapi devices doesn't have a PCI Express capability, therefore confusing linux in thinking it's of an old PCI type with a 256-byte configuration space size, instead of the desired 4k. So add a PCI fixup to declare the correct size. Signed-of

[PATCH v3 02/19] fs: don't take the i_lock in inode_inc_iversion

2017-12-18 Thread Jeff Layton
From: Jeff Layton The rationale for taking the i_lock when incrementing this value is lost in antiquity. The readers of the field don't take it (at least not universally), so my assumption is that it was only done here to serialize incrementors. If that is indeed the case, then we can drop the i

[PATCH v3 04/19] affs: convert to new i_version API

2017-12-18 Thread Jeff Layton
From: Jeff Layton Signed-off-by: Jeff Layton --- fs/affs/amigaffs.c | 5 +++-- fs/affs/dir.c | 5 +++-- fs/affs/super.c| 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/fs/affs/amigaffs.c b/fs/affs/amigaffs.c index 0f0e6925e97d..14a6c1b90c9f 100644 --- a/fs/affs/a

Re: [PATCH v3 00/17] kernel-doc: add supported to document nested structs/

2017-12-18 Thread Mauro Carvalho Chehab
Em Wed, 4 Oct 2017 08:48:38 -0300 Mauro Carvalho Chehab escreveu: > Right now, it is not possible to document nested struct and nested unions. > kernel-doc simply ignore them. > > Add support to document them. > > Patches 1 to 6 improve kernel-doc documentation to reflect what > kernel-doc cur

[PATCH v3 01/19] fs: new API for handling inode->i_version

2017-12-18 Thread Jeff Layton
From: Jeff Layton Add a documentation blob that explains what the i_version field is, how it is expected to work, and how it is currently implemented by various filesystems. We already have inode_inc_iversion. Add several other functions for manipulating and accessing the i_version counter. For

Re: [PATCH v1 03/10] v4l: platform: Add Renesas CEU driver

2017-12-18 Thread Laurent Pinchart
Hi Jacopo, On Monday, 18 December 2017 14:25:12 EET jacopo mondi wrote: > On Mon, Dec 11, 2017 at 06:15:23PM +0200, Laurent Pinchart wrote: > > Hi Jacopo, > > > > Thank you for the patch. > > [snip] > > >> + > >> +/** > >> + * ceu_buffer - Link vb2 buffer to the list of available buffers > > >

[PATCH v2] ARC: Force disable IOC if we don't want to use it

2017-12-18 Thread Alexey Brodkin
If software that was executed before Linux kernel [like boot-ROM or bootloader] enabled IOC but we'd like to not use it [mostly for debugging of weird DMA issues] we essentially need to disable IOC. So we do here. Note we will only disable IOC if "ioc_enable" variable is force set to 0. As of toda

Re: [PATCH v2 0/5] Support for generalized use of make C={1,2} via a wrapper program

2017-12-18 Thread Joe Perches
On Mon, 2017-12-18 at 14:05 +0100, Knut Omang wrote: > > Here is a list of the checkpatch messages for drivers/infiniband > > sorted by type. > > > > Many of these might be corrected by using > > > > $ ./scripts/checkpatch.pl -f --fix-inplace --types= \ > > $(git ls-files drivers/infiniband/) >

Re: NFS: 82ms wakeup latency 4.14-rc4

2017-12-18 Thread Mike Galbraith
On Mon, 2017-12-18 at 16:17 +0100, Mike Galbraith wrote: > > > kworker/-74210.N.. 82893us : nfs_release_request > <-nfs_commit_release_pages > kworker/-74210.N.. 82893us : nfs_unlock_and_release_request > <-nfs_commit_release_pages > kworker/-74210.N.. 82893us : nfs_unlock_reque

[PATCH] trace/uprobes: fix output issue with address randomization

2017-12-18 Thread Thomas Richter
Commit ad67b74d2469 ("printk: hash addresses printed with %p") changed %p to hash pointers in order to avoid leaking kernel addresses. This breaks the tool perf probe. To set a uprobe on a function named inet_pton in libc library, obtain the address of the symbol inet_pton using command nm and th

Re: unused-variable warning is getting disabled with clang

2017-12-18 Thread Masahiro Yamada
2017-12-08 11:16 GMT+09:00 Sodagudi Prasad : > On 2017-12-06 22:26, Greg Kroah-Hartman wrote: >> >> On Wed, Dec 06, 2017 at 01:24:51PM -0800, Sodagudi Prasad wrote: >>> >>> >>> Hi All, >>> >>> When kernel compiled with clang, following line is disabling the >>> unused-variable warning. This is not

RE: [PATCH 1/2] dt-bindings: Document mti,mips-cpc binding

2017-12-18 Thread Aleksandar Markovic
> From: Rob Herring [r...@kernel.org] > Sent: Saturday, December 16, 2017 7:26 PM > To: Aleksandar Markovic > Subject: Re: [PATCH 1/2] dt-bindings: Document mti,mips-cpc binding > > On Fri, Dec 15, 2017 at 05:51:59PM +0100, Aleksandar Markovic wrote: > > From: Paul Burton > > > > Document a bindin

Re: [PATCH v1 4/5] gpio: new driver to work with a 8x12 siox

2017-12-18 Thread Uwe Kleine-König
Hello Greg, On Mon, Dec 18, 2017 at 04:09:10PM +0100, Greg Kroah-Hartman wrote: > On Thu, Dec 07, 2017 at 10:30:07AM +0100, Uwe Kleine-König wrote: > > This driver controls a SIOX device that provides 20 I/O lines. The first > > twelve are fixed inputs, the remaining eight are outputs. > > > > Ac

Re: [PATCH 0/2] arm64 SMMUv3 PMU driver with IORT support

2017-12-18 Thread Marc Zyngier
Thanks for putting me in the loop Robin. On 18/12/17 14:48, Robin Murphy wrote: > On 10/12/17 02:35, Linu Cherian wrote: >> Hi, >> >> >> On Fri Aug 04, 2017 at 03:59:12PM -0400, Neil Leeder wrote: >>> This adds a driver for the SMMUv3 PMU into the perf framework. >>> It includes an IORT update to

Re: [PATCH v1] trace-cmd: introduce --initital-delay for record command

2017-12-18 Thread Steven Rostedt
On Mon, 18 Dec 2017 12:24:12 +0100 David Hildenbrand wrote: > If recording a big number of events to a big buffer, one might want to > minimize the trace-cmd activity for a certain period in time. > Especially, don't see any trace-cmd activity for some time. If there are > a lot of events, the lo

Re: [PATCH v1 1/5] siox: new driver framework for eckelmann SIOX

2017-12-18 Thread Uwe Kleine-König
Hello Greg, thanks for your feedback. On Mon, Dec 18, 2017 at 04:08:33PM +0100, Greg Kroah-Hartman wrote: > On Thu, Dec 07, 2017 at 10:30:04AM +0100, Uwe Kleine-König wrote: > > SIOX is a bus system invented at Eckelmann AG to control their building > > management and refrigeration systems. Tradi

Re: [PATCH v5 7/9] arm64: Topology, rename cluster_id

2017-12-18 Thread Lorenzo Pieralisi
On Mon, Dec 18, 2017 at 12:42:29PM +, Morten Rasmussen wrote: > On Fri, Dec 15, 2017 at 10:36:35AM -0600, Jeremy Linton wrote: > > Hi, > > > > On 12/13/2017 12:02 PM, Lorenzo Pieralisi wrote: > > >[+Morten, Dietmar] > > > > > >$SUBJECT should be: > > > > > >arm64: topology: rename cluster_id >

[PATCH 3.18 01/69] crypto: hmac - require that the underlying hash algorithm is unkeyed

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1 upstream. Because the HMAC template didn't check that its underlying hash algorithm is unkeyed, trying to use "hmac(hmac(sha3-512-g

[PATCH 3.18 00/69] 3.18.89-stable review

2017-12-18 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.18.89 release. There are 69 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 Dec 20 15:26:44 UTC 2017. Anything receiv

[PATCH 3.18 12/69] usb: phy: isp1301: Add OF device ID table

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas [ Upstream commit fd567653bdb908009b650f079bfd4b63169e2ac4 ] The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees

[PATCH 3.18 16/69] NFSD: fix nfsd_minorversion(.., NFSD_AVAIL)

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown [ Upstream commit 928c6fb3a9bfd6c5b287aa3465226add551c13c0 ] Current code will return 1 if the version is supported, and -1 if it isn't. This is confusing and inconsistent with the

[PATCH 3.18 02/69] crypto: salsa20 - fix blkcipher_walk API usage

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit ecaaab5649781c5a0effdaf298a925063020500e upstream. When asked to encrypt or decrypt 0 bytes, both the generic and x86 implementations of Salsa20 crash in blkcipher_walk_don

[PATCH 3.18 05/69] USB: core: prevent malicious bNumInterfaces overflow

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 48a4ff1c7bb5a32d2e396b03132d20d552c0eca7 upstream. A malicious USB device with crafted descriptors can cause the kernel to access unallocated memory by setting the bNumInterf

[PATCH] MAINTAINERS: Move all MTD related branches to a single repo

2017-12-18 Thread Boris Brezillon
Historically branches targeting the next release (and pulled in linux-next) have been pushed on the l2-mtd repo and fixes branches on the linux-mtd one. Now that all MTD maintainers have RW permissions on linux-mtd tree, there's no good reason to have two different trees. Move all -next branches to

[PATCH 3.18 30/69] afs: Fix the maths in afs_fs_store_data()

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit 146a1192783697810b63a1e41c4d59fc93387340 ] afs_fs_store_data() works out of the size of the write it's going to make, but it uses 32-bit unsigned subtraction i

[PATCH 3.18 37/69] target: Use system workqueue for ALUA transitions

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mike Christie [ Upstream commit 207ee84133c00a8a2a5bdec94df4a5b37d78881c ] If tcmu-runner is processing a STPG and needs to change the kernel's ALUA state then we cannot use the same work que

[PATCH 3.18 39/69] video: udlfb: Fix read EDID timeout

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ladislav Michl [ Upstream commit c98769475575c8a585f5b3952f4b5f90266f699b ] While usb_control_msg function expects timeout in miliseconds, a value of HZ is used. Replace it with USB_CTRL_GET_

[PATCH 3.18 40/69] video: fbdev: au1200fb: Release some resources if a memory allocation fails

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 451f130602619a17c8883dd0b71b11624faffd51 ] We should go through the error handling code instead of returning -ENOMEM directly. Signed-off-by: Christophe

[PATCH 3.18 42/69] PCI/PME: Handle invalid data when reading Root Status

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Qiang [ Upstream commit 3ad3f8ce50914288731a3018b27ee44ab803e170 ] PCIe PME and native hotplug share the same interrupt number, so hotplug interrupts are also processed by PME. In some cases

[PATCH 3.18 49/69] target:fix condition return in core_pr_dump_initiator_port()

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: tangwenji [ Upstream commit 24528f089d0a444070aa4f715ace537e8d6bf168 ] When is pr_reg->isid_present_at_reg is false,this function should return. This fixes a regression originally introduced

[PATCH 3.18 47/69] target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche [ Upstream commit cfe2b621bb18d86e93271febf8c6e37622da2d14 ] Avoid that cmd->se_cmd.se_tfo is read after a command has already been freed. Signed-off-by: Bart Van Assche Cc:

[PATCH 3.18 51/69] arm-ccn: perf: Prevent module unload while PMU is in use

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Suzuki K Poulose [ Upstream commit c7f5828bf77dcbd61d51f4736c1d5aa35663fbb4 ] When the PMU driver is built as a module, the perf expects the pmu->module to be valid, so that the driver is pre

[PATCH 3.18 54/69] ppp: Destroy the mutex when cleanup

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Gao Feng [ Upstream commit f02b2320b27c16b644691267ee3b5c110846f49e ] The mutex_destroy only makes sense when enable DEBUG_MUTEX. For the good readbility, it's better to invoke it in exit fun

[PATCH 3.18 26/69] afs: Fix missing put_page()

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit 29c8bbbd6e21daa0997d1c3ee886b897ee7ad652 ] In afs_writepages_region(), inside the loop where we find dirty pages to deal with, one of the if-statements is miss

[PATCH 3.18 28/69] afs: Adjust mode bits processing

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Marc Dionne [ Upstream commit 627f46943ff90bcc32ddeb675d881c043c6fa2ae ] Mode bits for an afs file should not be enforced in the usual way. For files, the absence of user bits can restrict f

[PATCH 3.18 20/69] dmaengine: Fix array index out of bounds warning in __get_unmap_pool()

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Matthias Kaehlcke [ Upstream commit 23f963e91fd81f44f6b316b1c24db563354c6be8 ] This fixes the following warning when building with clang and CONFIG_DMA_ENGINE_RAID=n : drivers/dma/dmaengine.

Re: [BUG] Build error for 4.15-rc3 kernel caused by patch "kbuild: Add a cache for generated variables"

2017-12-18 Thread Masahiro Yamada
2017-12-18 23:56 GMT+09:00 Masahiro Yamada : > 2017-12-17 7:35 GMT+09:00 Yang Shi : >> Hi folks, >> >> I just upgraded gcc to 6.4 on my centos 7 machine by Arnd's suggestion. But, >> I ran into the below compile error with 4.15-rc3 kernel: >> >> In file included from ./include/uapi/linux/uuid.h:21:

[PATCH 4.4 001/115] crypto: hmac - require that the underlying hash algorithm is unkeyed

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit af3ff8045bbf3e32f1a448542e73abb4c8ceb6f1 upstream. Because the HMAC template didn't check that its underlying hash algorithm is unkeyed, trying to use "hmac(hmac(sha3-512-ge

[PATCH 3.18 56/69] GFS2: Take inode off order_write list when setting jdata flag

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Bob Peterson [ Upstream commit cc555b09d8c3817aeebda43a14ab67049a5653f7 ] This patch fixes a deadlock caused when the jdata flag is set for inodes that are already on the ordered write list.

[PATCH 3.18 69/69] usb: musb: da8xx: fix babble condition handling

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Bin Liu commit bd3486ded7a0c313a6575343e6c2b21d14476645 upstream. When babble condition happens, the musb controller might automatically turns off VBUS. On DA8xx platform, the controller gener

[PATCH 4.4 002/115] crypto: salsa20 - fix blkcipher_walk API usage

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit ecaaab5649781c5a0effdaf298a925063020500e upstream. When asked to encrypt or decrypt 0 bytes, both the generic and x86 implementations of Salsa20 crash in blkcipher_walk_done

[PATCH 3.18 62/69] pinctrl: adi2: Fix Kconfig build problem

2017-12-18 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij [ Upstream commit 1c363531dd814dc4fe10865722bf6b0f72ce4673 ] The build robot is complaining on Blackfin: drivers/pinctrl/pinctrl-adi2.c: In function 'port_setup': >> drivers/pi

[PATCH 4.4 004/115] tracing: Allocate mask_str buffer dynamically

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Changbin Du commit 90e406f96f630c07d631a021fd4af10aac913e77 upstream. The default NR_CPUS can be very large, but actual possible nr_cpu_ids usually is very small. For my x86 distribution, the N

[PATCH 4.4 007/115] usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Shuah Khan commit be6123df1ea8f01ee2f896a16c2b7be3e4557a5a upstream. stub_send_ret_submit() handles urb with a potential null transfer_buffer, when it replays a packet with potential malicious

[PATCH 4.4 010/115] xhci: Dont add a virt_dev to the devs array before its fully allocated

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 5d9b70f7d52eb14bb37861c663bae44de9521c35 upstream. Avoid null pointer dereference if some function is walking through the devs array accessing members of a new virt_dev tha

[PATCH 4.4 022/115] net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Doug Berger [ Upstream commit 71328a3c321f7c14cc1edd33577717037744 ] The location of the RBUF overflow and error counters has moved between different version of the GENET MAC. This commit

[PATCH 4.4 026/115] net: bcmgenet: Power up the internal PHY before probing the MII

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Doug Berger [ Upstream commit 6be371b053dc86f11465cc1abce2e99bda0a0574 ] When using the internal PHY it must be powered up when the MII is probed or the PHY will not be detected. Since the PH

[PATCH 4.4 028/115] NFSD: fix nfsd_reset_versions for NFSv4.

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown [ Upstream commit 800a938f0bf9130c8256116649c0cc5806bfb2fd ] If you write "-2 -3 -4" to the "versions" file, it will notice that no versions are enabled, and nfsd_reset_versions() is

[PATCH 4.4 024/115] net: bcmgenet: reserved phy revisions must be checked first

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Doug Berger [ Upstream commit eca4bad73409aedc6ff22f823c18b67a4f08c851 ] The reserved gphy_rev value of 0x01ff must be tested before the old or new scheme for GPHY major versioning are tested,

[PATCH 4.4 030/115] drm/omap: fix dmabuf mmap for dma_alloced buffers

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tomi Valkeinen [ Upstream commit 9fa1d7537242bd580ffa99c4725a0407096aad26 ] omap_gem_dmabuf_mmap() returns an error (with a WARN) when called for a buffer which is allocated with dma_alloc_*()

[PATCH 4.4 029/115] Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov [ Upstream commit a4c2a13129f7c5bcf81704c06851601593303fd5 ] TUXEDO BU1406 does not implement active multiplexing mode properly, and takes around 550 ms in i8042_set_mux_mode()

[PATCH 4.4 031/115] netfilter: bridge: honor frag_max_size when refragmenting

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal [ Upstream commit 4ca60d08cbe65f501baad64af50fceba79c19fbb ] consider a bridge with mtu 9000, but end host sending smaller packets to another host with mtu < 9000. In this ca

[PATCH 4.4 038/115] intel_th: pci: Add Gemini Lake support

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin [ Upstream commit 340837f985c2cb87ca0868d4aa9ce42b0fab3a21 ] This adds Intel(R) Trace Hub PCI ID for Gemini Lake SOC. Signed-off-by: Alexander Shishkin Signed-off-by: Sash

[PATCH 4.4 012/115] dmaengine: dmatest: move callback wait queue to thread context

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Adam Wallis commit 6f6a23a213be51728502b88741ba6a10cda2441d upstream. Commit adfa543e7314 ("dmatest: don't use set_freezable_with_signal()") introduced a bug (that is in fact documented by the

[PATCH 4.4 041/115] scsi: hpsa: limit outstanding rescans

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Don Brace [ Upstream commit 87b9e6aa87d9411f1059aa245c0c79976bc557ac ] Avoid rescan storms. No need to queue another if one is pending. Reviewed-by: Scott Benesh Reviewed-by: Scott Teel Rev

[PATCH 4.4 013/115] ext4: fix fdatasync(2) after fallocate(2) operation

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eryu Guan commit c894aa97577e47d3066b27b32499ecf899bfa8b0 upstream. Currently, fallocate(2) with KEEP_SIZE followed by a fdatasync(2) then crash, we'll see wrong allocated block number (stat -c

[PATCH 4.4 042/115] fjes: Fix wrong netdevice feature flags

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Taku Izumi [ Upstream commit fe8daf5fa715f7214952f06a387e4b7de818c5be ] This patch fixes netdev->features for Extended Socket network device. Currently Extended Socket network device's netdev

[PATCH 4.4 017/115] usb: phy: isp1301: Add OF device ID table

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas [ Upstream commit fd567653bdb908009b650f079bfd4b63169e2ac4 ] The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees.

[PATCH 4.4 049/115] afs: Fix missing put_page()

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit 29c8bbbd6e21daa0997d1c3ee886b897ee7ad652 ] In afs_writepages_region(), inside the loop where we find dirty pages to deal with, one of the if-statements is missi

[PATCH 4.4 068/115] fbdev: controlfb: Add missing modes to fix out of bounds access

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven [ Upstream commit ac831a379d34109451b3c41a44a20ee10ecb615f ] Dan's static analysis says: drivers/video/fbdev/controlfb.c:560 control_setup() error: buffer overflow

[PATCH 4.4 064/115] target: Use system workqueue for ALUA transitions

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mike Christie [ Upstream commit 207ee84133c00a8a2a5bdec94df4a5b37d78881c ] If tcmu-runner is processing a STPG and needs to change the kernel's ALUA state then we cannot use the same work queu

[PATCH 4.4 067/115] sfc: dont warn on successful change of MAC

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Robert Stonehouse [ Upstream commit cbad52e92ad7f01f0be4ca58bde59462dc1afe3a ] Fixes: 535a61777f44e ("sfc: suppress handled MCDI failures when changing the MAC address") Signed-off-by: Bert K

[PATCH 4.4 070/115] video: fbdev: au1200fb: Release some resources if a memory allocation fails

2017-12-18 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 451f130602619a17c8883dd0b71b11624faffd51 ] We should go through the error handling code instead of returning -ENOMEM directly. Signed-off-by: Christophe J

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