Re: [PATCH 4.14 31/64] spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-09-27 Thread Greg Kroah-Hartman
On Thu, Sep 27, 2018 at 03:04:20PM +0300, Kirill Kapranov wrote: > Hi Greg, > > Sudip is absolutely right, the patch he mentioned, > 04b2d03a7565 ("spi: Fix double IDR allocation with DT aliases"), > MUST be added too with the mine. > > Sudip, thank you for reminding. Thanks, I'll go queue this

Re: [PATCH 4.14 00/64] 4.14.73-stable review

2018-09-27 Thread Greg Kroah-Hartman
On Thu, Sep 27, 2018 at 12:00:52PM -0700, Nathan Chancellor wrote: > On Thu, Sep 27, 2018 at 11:03:17AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.73 release. > > There are 64 patches in this series, all will be posted as a response > > to this on

Re: [RFC PATCH v3 2/3] dt-bindings: fpga: Add bindings for ZynqMP nvmem driver

2018-09-27 Thread Rob Herring
On Sat, Sep 22, 2018 at 07:11:48PM +0530, Nava kishore Manne wrote: > Add documentation to describe Xilinx ZynqMP nvmem driver > bindings. > > Signed-off-by: Nava kishore Manne > --- > Changes for v3: > -None. > Changes for v2: > -Moved nvmem_firmware node as a child

RE: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-09-27 Thread Loic PALLARDY
Hi Wendy > -Original Message- > From: Wendy Liang > Sent: Thursday, September 27, 2018 7:17 PM > To: Loic PALLARDY > Cc: Bjorn Andersson ; Ohad Ben-Cohen > ; linux-remotep...@vger.kernel.org; Linux Kernel > Mailing List ; Arnaud POULIQUEN > ; benjamin.gaign...@linaro.org; Suman Anna > >

[PATCH v2 net-next 0/2] Add support for Microchip Technology KSZ9131 10/100/1000 Ethernet PHY

2018-09-27 Thread Yuiko Oshino
This is the initial driver for Microchip KSZ9131 10/100/1000 Ethernet PHY v2: - Creating a series from two related patches. Yuiko Oshino (2): net: phy: micrel: add Microchip KSZ9131 inital driver dt-bindings: net: add support for Microchip KSZ9131 Ethernet PHY .../devicetree/bindings/net/mi

[PATCH v2 net-next 1/2] net: phy: micrel: add Microchip KSZ9131 inital driver

2018-09-27 Thread Yuiko Oshino
Add support for Microchip Technology KSZ9131 10/100/1000 Ethernet PHY Signed-off-by: Yuiko Oshino --- drivers/net/phy/micrel.c | 32 +--- include/linux/micrel_phy.h | 1 + 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/micrel.c b/dr

Re: [PATCH 1/2] soc: fsl: qbman: qman_portal: defer probing when qman is not available

2018-09-27 Thread Li Yang
On Wed, Sep 26, 2018 at 1:15 PM Li Yang wrote: > > On Wed, Sep 26, 2018 at 4:28 AM Alexandre Belloni > wrote: > > > > On 25/09/2018 21:45:56+0200, Olof Johansson wrote: > > > Hi, > > > > > > > > > On Thu, Aug 23, 2018 at 11:36 PM Alexandre Belloni > > > wrote: > > > > > > > > If the qman driver

[PATCH v2 net-next 2/2] dt-bindings: net: add support for Microchip KSZ9131 Ethernet PHY

2018-09-27 Thread Yuiko Oshino
Add support for Microchip Technology KSZ9131 10/100/1000 Ethernet PHY Signed-off-by: Yuiko Oshino --- .../devicetree/bindings/net/micrel-ksz90x1.txt | 29 +- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/micrel-ksz90x1

[tip:x86/hyperv] x86/hyperv: Remove unused include

2018-09-27 Thread tip-bot for YueHaibing
Commit-ID: 5140a6f471137205687428b0b8f12f7187bffd18 Gitweb: https://git.kernel.org/tip/5140a6f471137205687428b0b8f12f7187bffd18 Author: YueHaibing AuthorDate: Sun, 23 Sep 2018 08:20:22 + Committer: Thomas Gleixner CommitDate: Thu, 27 Sep 2018 21:21:00 +0200 x86/hyperv: Remove unuse

[PATCH 0/3] ARM/PSCI: Fix THUMB2_KERNEL entry points

2018-09-27 Thread Florian Fainelli
Hi all, While playing with THUMB2_KERNEL on ARCH_BRCMSTB, several issues came up which are addressed by these 3 patches. The THUMB() assembler macro is a no-op unless CONFIG_THUMB2_KERNEL so using it unconditionally for CONFIG_ARM should not cause a problem AFAICT. Those patches can all be indep

[PATCH 1/3] firmware/psci: Fix cpu_resume entry points with THUMB2_KERNEL

2018-09-27 Thread Florian Fainelli
When THUMB2_KERNEL is enabled, we would be failing to resume from an idle or system suspend call where the reentry point is set to cpu_resume() because that function is in Thumb2. Utilize cpu_resume_arm() for ARM 32-bit kernels which takes care of the mode switching for us. Fixes: 8b6f2499ac45 ("A

[PATCH 2/3] ARM: psci: Fix secondary core boot with THUMB2_KERNEL

2018-09-27 Thread Florian Fainelli
When THUMB2_KERNEL is enabled, we would be setting the secondary core's entry point to secondary_startup() which is already Thumb2 code, utilize secondary_startup_arm() which takes care of doing the mode switching for us. Fixes: 05774088391c ("arm: introduce psci_smp_ops") Signed-off-by: Florian F

[PATCH 3/3] soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL

2018-09-27 Thread Florian Fainelli
When the kernel is built with CONFIG_THUMB2_KERNEL we would set the kernel's resume entry point to be a function that is already built as Thumb-2 code while the boot agent doing the resume is in ARM mode, so this does not work. There is a header label defined: cpu_resume_arm which we can use to do

Re: [PATCH v7 5/6] seccomp: add a way to pass FDs via a notification fd

2018-09-27 Thread Jann Horn
On Thu, Sep 27, 2018 at 5:11 PM Tycho Andersen wrote: > This patch adds a way to insert FDs into the tracee's process (also > close/overwrite fds for the tracee). This functionality is necessary to > mock things like socketpair() or dup2() or similar, but since it depends on > external (vfs) patch

Re: [PATCH] crypto/morus(640,1280) - make crypto_...-algs static

2018-09-27 Thread Ondrej Mosnáček
št 27. 9. 2018 o 0:50 napísal(a): > sparse complains thusly: > > CHECK arch/x86/crypto/morus640-sse2-glue.c > arch/x86/crypto/morus640-sse2-glue.c:38:1: warning: symbol > 'crypto_morus640_sse2_algs' was not declared. Should it be static? > CHECK arch/x86/crypto/morus1280-sse2-glue.c > arc

Re: [PATCH v2 net-next 0/2] Add support for Microchip Technology KSZ9131 10/100/1000 Ethernet PHY

2018-09-27 Thread Florian Fainelli
On 09/27/2018 01:15 PM, Yuiko Oshino wrote: > This is the initial driver for Microchip KSZ9131 10/100/1000 Ethernet PHY > > v2: > - Creating a series from two related patches. When people give you Acked-by or Reviewed-by tags in prior versions, it is usually a good practice to add them to your n

Re: [PATCH v4 4/7] [media] ad5820: Add support for of-autoload

2018-09-27 Thread Sakari Ailus
Hi Ricardo, On Thu, Sep 20, 2018 at 10:47:48PM +0200, Ricardo Ribalda Delgado wrote: > Since kernel 4.16, i2c devices with DT compatible tag are modprobed > using their DT modalias. > Without this patch, if this driver is build as module it would never > be autoprobed. > > Signed-off-by: Ricardo

Re: [PATCH v3 1/2] dt-bindings: iio: light: bh1750: Add device tree binding documentation

2018-09-27 Thread Rob Herring
On Sat, Sep 22, 2018 at 05:05:38PM -0400, ryang wrote: > Document device tree bindings for ROHM BH1750 ambient light sensor driver. > > Signed-off-by: ryang > --- > .../devicetree/bindings/iio/light/bh1750.txt | 18 ++ > 1 file changed, 18 insertions(+) > create mode 100644 Do

[GIT PULL] PCI fixes for v4.19

2018-09-27 Thread Bjorn Helgaas
PCI fixes: - Fix ACPI hotplug issue that causes black screen crash at boot (Mika Westerberg) - Fix DesignWare "scheduling while atomic" issues (Jisheng Zhang) - Add PPC contacts to MAINTAINERS for PCI core error handling (Bjorn Helgaas) - Sort Mobiveil MAINTAINERS entry (Lorenzo

Re: [PATCH v3 1/6] dt-bindings: arm64: add compatible for LX2160A

2018-09-27 Thread Rob Herring
On Mon, 24 Sep 2018 05:38:56 +0530, Vabhav Sharma wrote: > Add compatible for LX2160A SoC,QDS and RDB board > > Signed-off-by: Vabhav Sharma > --- > Documentation/devicetree/bindings/arm/fsl.txt | 12 > 1 file changed, 12 insertions(+) > Reviewed-by: Rob Herring

Re: [PATCH v4 5/7] [media] ad5820: Add support for acpi autoload

2018-09-27 Thread Sakari Ailus
Hi Ricardo, On Thu, Sep 20, 2018 at 10:47:49PM +0200, Ricardo Ribalda Delgado wrote: > Allow module autoloading of ad5820 ACPI devices. > > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/media/i2c/ad5820.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/drivers/me

Re: kernel 4.18.5 Realtek 8111G network adapter stops responding under high system load

2018-09-27 Thread David Arendt
Hi, Heiner Kallweit's patch seems to resolve the problem. The machine was under high disk and network io pressure today and networking was perfectly stable. Bye, David Arendt On 9/25/18 11:03 PM, Heiner Kallweit wrote: > On 19.09.2018 06:12, David Arendt wrote: >> Hi, >> >> Thanks for the patch.

Re: [PATCH v4 6/7] [media] ad5820: Add support for ad5821 and ad5823

2018-09-27 Thread Sakari Ailus
Hi Ricardo, On Thu, Sep 20, 2018 at 10:47:50PM +0200, Ricardo Ribalda Delgado wrote: > According to the datasheet, both AD5821 and AD5820 share a compatible > register-set: > http://www.analog.com/media/en/technical-documentation/data-sheets/AD5821.pdf > > Some camera modules also refer that AD58

[PATCH] mm: dax: add comment for PFN_SPECIAL

2018-09-27 Thread Yang Shi
The comment for PFN_SPECIAL is missed in pfn_t.h. Add comment to get consistent with other pfn flags. Cc: Dan Williams Signed-off-by: Yang Shi --- include/linux/pfn_t.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/pfn_t.h b/include/linux/pfn_t.h index 21713dc..d2e5dd4 10064

Re: [PATCH AUTOSEL 4.14 87/87] PCI: Whitelist Thunderbolt ports for runtime D3

2018-09-27 Thread Sasha Levin
On Mon, Sep 17, 2018 at 10:25:39AM +0200, Lukas Wunner wrote: >Hi Sasha, > >On Mon, Sep 17, 2018 at 03:03:19AM +, Sasha Levin wrote: >> From: Lukas Wunner >> >> [ Upstream commit 47a8e237ed443c174f8f73402755c458c56eb611 ] >> >> Thunderbolt controllers can be runtime suspended to D3cold to save

Re: [PATCH v14 09/19] x86/mm: x86/sgx: Signal SEGV_SGXERR for #PFs w/ PF_SGX

2018-09-27 Thread Eric W. Biederman
Jarkko Sakkinen writes: > From: Sean Christopherson > > Signal SIGSEGV(SEGV_SGXERR) for all faults with PF_SGX set in the > error code. The PF_SGX bit is set if and only if the #PF is detected > by the Enclave Page Cache Map (EPCM), which is consulted only after > an access walks the kernel's p

4.14 backport request for dbdda842fe96f: "printk: Add console owner and waiter logic to load balance console writes"

2018-09-27 Thread Daniel Wang
Prior to this change, the combination of `softlockup_panic=1` and `softlockup_all_cpu_stacktrace=1` may result in a deadlock when the reboot path is trying to grab the console lock that is held by the stack trace printing path. What seems to be happening is that while there are multiple CPUs, only

Re: [PATCH v2 net-next 2/2] dt-bindings: net: add support for Microchip KSZ9131 Ethernet PHY

2018-09-27 Thread Andrew Lunn
On Thu, Sep 27, 2018 at 04:16:55PM -0400, Yuiko Oshino wrote: > Add support for Microchip Technology KSZ9131 10/100/1000 Ethernet PHY > > Signed-off-by: Yuiko Oshino > --- > .../devicetree/bindings/net/micrel-ksz90x1.txt | 29 > +- > 1 file changed, 28 insertions(+), 1 d

Re: Bug: getcwd: cannot access parent directories

2018-09-27 Thread Casey Schaufler
On 9/26/2018 6:54 PM, Roel Van de Paar wrote: > Ping :) > > On 21 September 2018 at 18:16, Roel Van de Paar > wrote: >> [1.] One line summary of the problem: >> >> "cd: error retrieving current directory: getcwd: cannot access parent >> directories: No such file or directory" on move of directorie

Re: [PATCH 4.4 00/28] 4.4.159-stable review

2018-09-27 Thread Rafael David Tinoco
://git.linaro.org/lkft/arm64-stable-rc.git git branch: 4.4.159-rc1-hikey-20180927-294 git commit: 7bb00ecae52c8ec133eaf805b246cbe44a5fb46d git describe: 4.4.159-rc1-hikey-20180927-294 Test details: https://qa-reports.linaro.org/lkft/linaro-hikey-stable-rc-4.4-oe/build/4.4.159-rc1-hikey-20180927-294 No

[PATCH net-next] net: nixge: Address compiler warnings when building for i386

2018-09-27 Thread Moritz Fischer
Address compiler warning reported by kbuild autobuilders when building for i386 as a result of dma_addr_t size on different architectures. warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Fixes: 7e8d5755be0e ("net: nixge: Add support for 64-bit platforms") S

[PATCH v6 1/2] dt-bindings: hwmon: Add ina3221 documentation

2018-09-27 Thread Nicolin Chen
Texas Instruments INA3221 is a triple-channel shunt and bus voltage monitor. This patch adds a DT binding doc for it. Signed-off-by: Nicolin Chen --- Changelog v5->v6: * Removed status property as no need to explicitly list it. * Combined all examples into a complete one. v4->v5: * Replaced "i

[PATCH] Fixed some code style issues in the fs/ext4/...

2018-09-27 Thread Andrey Abramov
Signed-off-by: Andrey Abramov --- fs/ext4/balloc.c | 7 +++ fs/ext4/block_validity.c | 4 +++- fs/ext4/file.c | 16 ++-- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index e5d6ee61ff48..87dca171d7f6 100644

Re: [RFC workqueue/driver-core PATCH 2/5] async: Add support for queueing on specific NUMA node

2018-09-27 Thread Dan Williams
On Thu, Sep 27, 2018 at 8:24 AM Alexander Duyck wrote: [..] > >> - * Returns an async_cookie_t that may be used for checkpointing later. > >> - * @domain may be used in the async_synchronize_*_domain() functions to > >> - * wait within a certain synchronization domain rather than globally. A > >>

[PATCH v6 0/2] Add an initial DT binding doc for ina3221

2018-09-27 Thread Nicolin Chen
This series adds a initial DT binding doc for ina3221. It defines a child node to describe the input source of each ina3221 channel. Then it changes the driver to handle the information properly. Changelog v5->v6: * Removed status property and merged examples (PATCH-1) * Added in[123]_enable sys

[PATCH v6 2/2] hwmon: ina3221: Read channel input source info from DT

2018-09-27 Thread Nicolin Chen
An ina3221 chip has three input ports. Each port is used to measure the voltage and current of its input source. The DT binding now has defined bindings for their input sources, so the driver should read these information and handle accordingly. This patch adds a new structure of input source spe

Re: [PATCH 6/5] capability: Repair sidechannel test in ptrace

2018-09-27 Thread Jann Horn
On Thu, Sep 27, 2018 at 9:17 PM Casey Schaufler wrote: > > From: Casey Schaufler > > The PTRACE_MODE_SCHED check erroniously returns 0 in > all cases. It should be returning -EPERM. This fixes > the logic to correct that error. > > Signed-off-by: Casey Schaufler Reviewed-by: Jann Horn > --- >

Re: [PATCH AUTOSEL 4.14 52/87] nfp: fail probe if serial or interface id is missing

2018-09-27 Thread Sasha Levin
On Mon, Sep 17, 2018 at 07:03:17AM -0700, Jakub Kicinski wrote: >On Mon, 17 Sep 2018 03:02:55 +, Sasha Levin wrote: >> From: Jakub Kicinski >> >> [ Upstream commit 18aa5b180f00a10c2f63944b4f0ab116bf8ea19b ] >> >> On some platforms with broken ACPI tables we may not have access >> to the Serial

Re: [PATCH v4 1/3] dt-bindings: thermal: Add binding document for SR thermal

2018-09-27 Thread Scott Branden
On 18-09-27 11:59 AM, Rob Herring wrote: On Thu, Sep 27, 2018 at 11:00:33AM -0700, Scott Branden wrote: On 18-09-27 10:31 AM, Florian Fainelli wrote: On 09/27/2018 10:27 AM, Rob Herring wrote: On Thu, Sep 27, 2018 at 09:06:41PM +0530, Srinath Mannam wrote: From: Pramod Kumar Add binding

Re: [PATCH V6 08/33] csky: Process management and Signal

2018-09-27 Thread Eric W. Biederman
Guo Ren writes: > --- /dev/null > +++ b/arch/csky/abiv2/fpu.c > +void fpu_fpe(struct pt_regs * regs) > +{ > + int sig; > + unsigned int fesr; > + siginfo_t info; > + > + fesr = mfcr("cr<2, 2>"); > + > + if(fesr & FPE_ILLE){ > + info.si_code = ILL_ILLOPC; > +

Re: [PATCH v3] clk: qcom: Add Global Clock controller (GCC) driver for SDM660

2018-09-27 Thread Rob Herring
On Tue, Sep 25, 2018 at 06:35:58PM +0100, Craig Tatlor wrote: > From: Taniya Das > > Add support for the global clock controller found on SDM660 > based devices. This should allow most non-multimedia device > drivers to probe and control their clocks. > Based on CAF implementation. > > Signed-of

Re: [PATCH 4.9 00/44] 4.9.130-stable review

2018-09-27 Thread Rafael David Tinoco
On 9/27/18 6:03 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.130 release. There are 44 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

Re: [PATCH AUTOSEL 4.9 20/57] media: sta2x11: Add video_device and vb2_queue locks

2018-09-27 Thread Sasha Levin
On Mon, Sep 17, 2018 at 08:50:27AM -0300, Ezequiel Garcia wrote: >Hi Sasha, > >On Mon, 2018-09-17 at 03:03 +, Sasha Levin wrote: >> From: Ezequiel Garcia >> >> [ Upstream commit cd63c0288fd760ce7de247fba618e2bbcfc0c35c ] >> >> Currently, this driver does not serialize its video4linux >> ioctls

Re: [PATCH v3 1/2] dt-bindings: media: Add Aspeed Video Engine binding documentation

2018-09-27 Thread Rob Herring
On Tue, 25 Sep 2018 14:27:08 -0500, Eddie James wrote: > Document the bindings. > > Signed-off-by: Eddie James > --- > .../devicetree/bindings/media/aspeed-video.txt | 26 > ++ > 1 file changed, 26 insertions(+) > create mode 100644 Documentation/devicetree/bindings/med

Re: [PATCH v3 2/2] vfio: add edid support to mbochs sample driver

2018-09-27 Thread Kirti Wankhede
On 9/21/2018 2:00 PM, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > samples/vfio-mdev/mbochs.c | 136 > ++--- > 1 file changed, 117 insertions(+), 19 deletions(-) > > diff --git a/samples/vfio-mdev/mbochs.c b/samples/vfio-mdev/mbochs.c >

Re: [PATCH 4.14 00/64] 4.14.73-stable review

2018-09-27 Thread Rafael David Tinoco
On 9/27/18 6:03 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.73 release. There are 64 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

Re: [PATCH 4.18 00/88] 4.18.11-stable review

2018-09-27 Thread Rafael David Tinoco
On 9/27/18 6:02 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.18.11 release. There are 88 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

Re: [PATCH v3] arm64: dts: rockchip: add initial dts support for Rockpro64

2018-09-27 Thread Rob Herring
On Wed, 26 Sep 2018 11:54:57 +0530, Akash Gajjar wrote: > Rockpro64 is a rockchip RK3399 based board from pine64.org. > This patch adds basic device node support for Rockpro64 board and make it able > to bring up. > > Peripheral Works > - Sdcard > - USB 2.0, 3.0 > - Leds > - Ethernet > - Debug con

Re: [PATCH v3 8/8] dt-binding: mtd: Document gpio-addr-flash

2018-09-27 Thread Rob Herring
On Wed, 26 Sep 2018 08:39:34 +0200, Ricardo Ribalda Delgado wrote: > Add documentation for gpio-addr-flash. This binding allow creating > flash devices that are paged using GPIOs. > > Cc: devicet...@vger.kernel.org > Signed-off-by: Ricardo Ribalda Delgado > --- > > Changelog v3: > > - Changes

Re: [PATCH v2 08/22] soc/fsl/qbman_portals: add APIs to retrieve the probing status

2018-09-27 Thread Li Yang
On Wed, Sep 26, 2018 at 8:26 AM wrote: > > From: Laurentiu Tudor > > Add a couple of new APIs to check the probing status of the required > cpu bound qman and bman portals: > 'int bman_portals_probed()' and 'int qman_portals_probed()'. > They return the following values. > * 1 if qman/bman por

Re: [RFC workqueue/driver-core PATCH 2/5] async: Add support for queueing on specific NUMA node

2018-09-27 Thread Alexander Duyck
On 9/27/2018 12:48 PM, Dan Williams wrote: On Thu, Sep 27, 2018 at 8:24 AM Alexander Duyck wrote: [..] - * Returns an async_cookie_t that may be used for checkpointing later. - * @domain may be used in the async_synchronize_*_domain() functions to - * wait within a certain synchronization domai

Re: [PATCH] staging: rtl8723bs: Mark ACPI table declaration as used

2018-09-27 Thread Nick Desaulniers
On Wed, Sep 26, 2018 at 10:16 PM Greg Kroah-Hartman wrote: > > On Wed, Sep 26, 2018 at 04:20:55PM -0700, Nathan Chancellor wrote: > > Clang emits the following warning: > > > > drivers/staging/rtl8723bs/os_dep/sdio_intf.c:25:36: warning: variable > > 'acpi_ids' is not needed and will not be emitte

Re: [PATCH] staging: rtl8723bs: Mark ACPI table declaration as used

2018-09-27 Thread Nick Desaulniers
On Thu, Sep 27, 2018 at 1:05 PM Nick Desaulniers wrote: > > On Wed, Sep 26, 2018 at 10:16 PM Greg Kroah-Hartman > wrote: > > > > On Wed, Sep 26, 2018 at 04:20:55PM -0700, Nathan Chancellor wrote: > > > Clang emits the following warning: > > > > > > drivers/staging/rtl8723bs/os_dep/sdio_intf.c:25:

Re: [PATCH 4.18 00/88] 4.18.11-stable review

2018-09-27 Thread Shuah Khan
On 09/27/2018 03:02 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.18.11 release. > There are 88 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 s

Re: [PATCH 4.14 00/64] 4.14.73-stable review

2018-09-27 Thread Shuah Khan
On 09/27/2018 03:03 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.73 release. > There are 64 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 s

Re: [PATCH] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-27 Thread Nick Desaulniers
On Wed, Sep 26, 2018 at 9:48 PM Jason Gunthorpe wrote: > > On Wed, Sep 26, 2018 at 06:08:03PM -0700, Nathan Chancellor wrote: > > On Mon, Sep 24, 2018 at 08:37:22PM -0600, Jason Gunthorpe wrote: > > > On Mon, Sep 24, 2018 at 03:29:38PM -0700, Nick Desaulniers wrote: > > > > On Mon, Sep 24, 2018 at

Re: [RFC PATCH 00/10] arch/x86: AMD QoS support

2018-09-27 Thread Thomas Gleixner
Babu, On Mon, 24 Sep 2018, Moger, Babu wrote: > This series adds support for AMD64 architectural extensions for Platform > Quality of Service. These extensions are intended to provide for the > monitoring of the usage of certain system resources by one or more > processors and for the separate al

Re: [PATCH 4.9 00/44] 4.9.130-stable review

2018-09-27 Thread Shuah Khan
On 09/27/2018 03:03 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.130 release. > There are 44 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 s

Re: [PATCH v7 1/3] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-27 Thread Stephen Smalley
On 09/25/2018 08:38 AM, Jiri Kosina wrote: From: Jiri Kosina Currently, we are issuing IBPB only in cases when switching into a non-dumpable process, the rationale being to protect such 'important and security sensitive' processess (such as GPG) from data leak into a different userspace process

Re: [RFC 3/5] perf: Allow per PMU access control

2018-09-27 Thread Andi Kleen
> + mutex_lock(&pmus_lock); > + list_for_each_entry(pmu, &pmus, entry) > + pmu->perf_event_paranoid = sysctl_perf_event_paranoid; > + mutex_unlock(&pmus_lock); What happens to pmus that got added later? The rest looks good. Can you post a non RFC version? -Andi

Re: [PATCH v3 2/2] vfio: add edid support to mbochs sample driver

2018-09-27 Thread Alex Williamson
On Fri, 28 Sep 2018 01:27:16 +0530 Kirti Wankhede wrote: > On 9/21/2018 2:00 PM, Gerd Hoffmann wrote: > > Signed-off-by: Gerd Hoffmann > > @@ -964,6 +1050,20 @@ static int mbochs_get_region_info(struct mdev_device > > *mdev, > > region_info->flags = (VFIO_REGION_INFO_FLAG_READ | >

Re: [GIT PULL] Please pull RDMA subsystem changes

2018-09-27 Thread Greg Kroah-Hartman
On Thu, Sep 27, 2018 at 12:24:32PM -0600, Jason Gunthorpe wrote: > Hi Greg, > > Second rc pull request > > This has a few fixes for smaller regressions introduced this cycle and > the usual various driver oops fixes. > > There is one long standing race bug in the comp_channel that Steve was > ab

Re: [PATCH v3] IB/rxe: Remove unnecessary enum values

2018-09-27 Thread Nick Desaulniers
On Wed, Sep 26, 2018 at 10:14 PM Nathan Chancellor wrote: > > Clang warns when an emumerated type is implicitly converted to another. > > drivers/infiniband/sw/rxe/rxe.c:106:27: warning: implicit conversion > from enumeration type 'enum rxe_device_param' to different enumeration > type 'enum ib_at

[PATCH] bcache: add separate workqueue for journal_write to avoid deadlock

2018-09-27 Thread Stefan Priebe - Profihost AG
Hi Coly, is this the deadlock I reported some weeks ago? Greets, Stefan Excuse my typo sent from my mobile phone. Am 27.09.2018 um 17:53 schrieb Eddie Chapman mailto:ed...@ehuk.net>>: > On 27/09/18 16:23, Coly Li wrote: >> On 9/27/18 9:45 PM, guoju wrote: >>> After write SSD completed, bcache

Re: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-09-27 Thread Wendy Liang
Hi Loic, On Thu, Sep 27, 2018 at 12:22 PM Loic PALLARDY wrote: > > Hi Wendy > > > -Original Message- > > From: Wendy Liang > > Sent: Thursday, September 27, 2018 7:17 PM > > To: Loic PALLARDY > > Cc: Bjorn Andersson ; Ohad Ben-Cohen > > ; linux-remotep...@vger.kernel.org; Linux Kernel

Re: [PATCH 4.4 00/28] 4.4.159-stable review

2018-09-27 Thread Shuah Khan
On 09/27/2018 03:06 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.159 release. > There are 28 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 s

Re: [PATCH net-next 0/7] rtnetlink: add RTM_GETADDR2

2018-09-27 Thread David Ahern
On 9/27/18 11:58 AM, Christian Brauner wrote: > Various userspace programs (e.g. iproute2) have sent RTM_GETADDR > requests with struct ifinfomsg. This is wrong and should have been > struct ifaddrmsg all along as mandated by the manpages. However, dump > requests so far didn't parse the netlink me

[PATCH] mm: fix z3fold warnings on CONFIG_SMP=n

2018-09-27 Thread Alex Xu (Hello71)
Spinlocks are always lockable on UP systems, even if they were just locked. Cc: Dan Streetman Signed-off-by: Alex Xu (Hello71) --- mm/z3fold.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/mm/z3fold.c b/mm/z3fold.c index 4b366d181..4e6ad2de4 100644 --- a/mm/

Re: [PATCH] RDMA/qedr: Explicitly cast pkt->tx_dest to qed_ll2_tx_dest

2018-09-27 Thread Nick Desaulniers
On Wed, Sep 26, 2018 at 6:18 PM Nathan Chancellor wrote: > > Clang warns when one enumerated type is explicitly converted to another. > > drivers/infiniband/hw/qedr/qedr_roce_cm.c:198:28: warning: implicit > conversion from enumeration type 'enum qed_roce_ll2_tx_dest' to > different enumeration ty

Re: [PATCH v7 1/3] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-27 Thread Thomas Gleixner
On Thu, 27 Sep 2018, Stephen Smalley wrote: > On 09/25/2018 08:38 AM, Jiri Kosina wrote: > > +static bool ibpb_needed(struct task_struct *tsk, u64 last_ctx_id) > > +{ > > + /* > > +* Check if the current (previous) task has access to the memory > > +* of the @tsk (next) task. If access

Re: [PATCH] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-27 Thread Nathan Chancellor
On Thu, Sep 27, 2018 at 01:13:31PM -0700, Nick Desaulniers wrote: > On Wed, Sep 26, 2018 at 9:48 PM Jason Gunthorpe wrote: > > > > On Wed, Sep 26, 2018 at 06:08:03PM -0700, Nathan Chancellor wrote: > > > On Mon, Sep 24, 2018 at 08:37:22PM -0600, Jason Gunthorpe wrote: > > > > On Mon, Sep 24, 2018

Re: [PATCH 1/1] drm/ttm: Set memory as decrypted for ttm framebuffer mappings

2018-09-27 Thread Jiandi An
On 08/24/2018 02:21 AM, Christian König wrote: > Am 24.08.2018 um 01:05 schrieb Jiandi An: >> >> >> On 08/23/2018 01:47 AM, Christian König wrote: >>> Am 22.08.2018 um 22:57 schrieb Jiandi An: On 08/22/2018 02:09 PM, Christian König wrote: > Am 22.08.2018 um 20:57 schrieb Jiandi An:

Re: [PATCH net-next 0/7] rtnetlink: add RTM_GETADDR2

2018-09-27 Thread Christian Brauner
On September 27, 2018 10:24:36 PM GMT+02:00, David Ahern wrote: >On 9/27/18 11:58 AM, Christian Brauner wrote: >> Various userspace programs (e.g. iproute2) have sent RTM_GETADDR >> requests with struct ifinfomsg. This is wrong and should have been >> struct ifaddrmsg all along as mandated by the

[PATCH v4 2/3] ACPI / NUMA: Add warning message if the padding size for KASLR is not enough

2018-09-27 Thread Masayoshi Mizuma
From: Masayoshi Mizuma Add warning message if the padding size for KASLR, rand_mem_physical_padding, is not enough. The message also says the suitable padding size. Signed-off-by: Masayoshi Mizuma --- arch/x86/include/asm/setup.h | 2 ++ drivers/acpi/numa.c | 14 ++ 2 fil

[PATCH v4 3/3] docs: kernel-parameters.txt: document rand_mem_physical_padding parameter

2018-09-27 Thread Masayoshi Mizuma
From: Masayoshi Mizuma This kernel parameter allows to change the padding used for the physical memory mapping section when KASLR memory is enabled. For memory hotplug capable systems, the default padding size, CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING, may not be enough. The option is useful to

[PATCH v4 1/3] x86/mm: Add a kernel parameter to change the padding used for the physical memory mapping

2018-09-27 Thread Masayoshi Mizuma
From: Masayoshi Mizuma If the physical memory layout has huge space for memory hotplug, the padding used for the physical memory mapping section is not enough. For example of the layout: SRAT: Node 6 PXM 4 [mem 0x1000-0x13ff] hotplug SRAT: Node 7 PXM 5 [mem 0x1400-0x17

[PATCH v4 0/3] Add a kernel parameter to change the padding size for KASLR

2018-09-27 Thread Masayoshi Mizuma
This patch series are adding an kernel parameter to change the padding size used for KASLR. It is useful for memory hotplug capable system. User can adjust the padding size to use it. It is better if the padding size is calculated automatically, however, ACPI SRAT is not available at the KASLR ini

Re: [Xen-devel] [PATCH] xen/blkfront: When purging persistent grants, keep them in the buffer

2018-09-27 Thread Sander Eikelenboom
On 27/09/18 21:06, Boris Ostrovsky wrote: > On 9/27/18 2:56 PM, Jens Axboe wrote: >> On 9/27/18 12:52 PM, Sander Eikelenboom wrote: >>> On 27/09/18 16:26, Jens Axboe wrote: On 9/27/18 1:12 AM, Juergen Gross wrote: > On 22/09/18 21:55, Boris Ostrovsky wrote: >> Commit a46b53672b2c ("xen

Re: [PATCH] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-27 Thread Nick Desaulniers
On Thu, Sep 27, 2018 at 1:28 PM Nathan Chancellor wrote: > > On Thu, Sep 27, 2018 at 01:13:31PM -0700, Nick Desaulniers wrote: > > On Wed, Sep 26, 2018 at 9:48 PM Jason Gunthorpe wrote: > > > > > > On Wed, Sep 26, 2018 at 06:08:03PM -0700, Nathan Chancellor wrote: > > > > On Mon, Sep 24, 2018 at

Re: [PATCH] RDMA/qedr: Explicitly cast pkt->tx_dest to qed_ll2_tx_dest

2018-09-27 Thread Nathan Chancellor
On Thu, Sep 27, 2018 at 01:28:12PM -0700, Nick Desaulniers wrote: > On Wed, Sep 26, 2018 at 6:18 PM Nathan Chancellor > wrote: > > > > Clang warns when one enumerated type is explicitly converted to another. > > > > drivers/infiniband/hw/qedr/qedr_roce_cm.c:198:28: warning: implicit > > conversion

[RFC PATCH] PM / core: skip suspend next time if resume returns an error

2018-09-27 Thread Douglas Anderson
In general Linux doesn't behave super great if you get an error while executing a device's resume handler. Nothing will come along later and and try again to resume the device (and all devices that depend on it), so pretty much you're left with a non-functioning device and that's not good. Howeve

Re: [PATCH] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-27 Thread Nathan Chancellor
On Thu, Sep 27, 2018 at 01:34:16PM -0700, Nick Desaulniers wrote: > On Thu, Sep 27, 2018 at 1:28 PM Nathan Chancellor > wrote: > > > > On Thu, Sep 27, 2018 at 01:13:31PM -0700, Nick Desaulniers wrote: > > > On Wed, Sep 26, 2018 at 9:48 PM Jason Gunthorpe wrote: > > > > > > > > On Wed, Sep 26, 201

Re: [PATCH v2 05/22] soc/fsl/qbman: add APIs to retrieve the probing status

2018-09-27 Thread Li Yang
On Wed, Sep 26, 2018 at 8:26 AM wrote: > > From: Laurentiu Tudor > > Add a couple of new APIs to check the probing status of qman and bman: > 'int bman_is_probed()' and 'int qman_is_probed()'. > They return the following values. > * 1 if qman/bman were probed correctly > * 0 if qman/bman wer

Re: [PATCH v2 06/22] soc/fsl/qman_portals: defer probe after qman's probe

2018-09-27 Thread Li Yang
On Wed, Sep 26, 2018 at 8:26 AM wrote: > > From: Laurentiu Tudor > > Defer probe of qman portals after qman probing. This fixes the crash > below, seen on NXP LS1043A SoCs: > > Unable to handle kernel NULL pointer dereference at virtual address > 0004 > Mem abort info: > ESR = 0x960

Re: [PATCH v6 1/2] dt-bindings: hwmon: Add ina3221 documentation

2018-09-27 Thread Rob Herring
On Thu, Sep 27, 2018 at 2:49 PM Nicolin Chen wrote: > > Texas Instruments INA3221 is a triple-channel shunt and bus > voltage monitor. This patch adds a DT binding doc for it. > > Signed-off-by: Nicolin Chen > --- > Changelog > v5->v6: > * Removed status property as no need to explicitly list it

Re: [PATCH V5 0/6] perf and x86/intel_rdt: Fix lack of coordination with perf

2018-09-27 Thread Thomas Gleixner
On Fri, 21 Sep 2018, Reinette Chatre wrote: > Dear Maintainers, Sorry for replying late. > On 9/20/2018 7:11 AM, Peter Zijlstra wrote: > > On Wed, Sep 19, 2018 at 10:29:05AM -0700, Reinette Chatre wrote: > >> Reinette Chatre (6): > >> perf/core: Add sanity check to deal with pinned event failu

Re: [PATCH v2 07/22] soc/fsl/bman_portals: defer probe after bman's probe

2018-09-27 Thread Li Yang
On Wed, Sep 26, 2018 at 8:26 AM wrote: > > From: Laurentiu Tudor > > A crash in bman portal probing could not be triggered (as is the case > with qman portals) but it does make calls [1] into the bman driver so > lets make sure the bman portal probing happens after bman's. > > [1] bman_p_irqsour

Re: [PATCH] RDMA/qedr: Explicitly cast pkt->tx_dest to qed_ll2_tx_dest

2018-09-27 Thread Nick Desaulniers
On Thu, Sep 27, 2018 at 1:35 PM Nathan Chancellor wrote: > > On Thu, Sep 27, 2018 at 01:28:12PM -0700, Nick Desaulniers wrote: > > On Wed, Sep 26, 2018 at 6:18 PM Nathan Chancellor > > wrote: > > > > > > Clang warns when one enumerated type is explicitly converted to another. > > > > > > drivers/

Re: [PATCH v2 0/3] mm: Fix for movable_node boot option

2018-09-27 Thread Thomas Gleixner
On Tue, 25 Sep 2018, Masayoshi Mizuma wrote: > This patch series are the fix for movable_node boot option > issue which was introduced by commit 124049decbb1 ("x86/e820: > put !E820_TYPE_RAM regions into memblock.reserved"). > > First patch, revert the commit. Second and third patch fix the > ori

Re: [PATCH] mm: fix z3fold warnings on CONFIG_SMP=n

2018-09-27 Thread Dan Streetman
On Thu, Sep 27, 2018 at 4:27 PM Alex Xu (Hello71) wrote: > > Spinlocks are always lockable on UP systems, even if they were just > locked. i think it would be much better to just use either assert_spin_locked() or just spin_is_locked(), instead of an #ifdef. > > Cc: Dan Streetman > Signed-off-b

Re: [PATCH v6 1/2] dt-bindings: hwmon: Add ina3221 documentation

2018-09-27 Thread Nicolin Chen
On Thu, Sep 27, 2018 at 03:38:44PM -0500, Rob Herring wrote: > On Thu, Sep 27, 2018 at 2:49 PM Nicolin Chen wrote: > > > > Texas Instruments INA3221 is a triple-channel shunt and bus > > voltage monitor. This patch adds a DT binding doc for it. > > > > Signed-off-by: Nicolin Chen > > --- > > Chan

[PATCH v2] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-27 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another. drivers/infiniband/hw/mlx4/mad.c:1811:41: warning: implicit conversion from enumeration type 'enum mlx4_ib_qp_flags' to different enumeration type 'enum ib_qp_create_flags' [-Wenum-conversion] qp_init_attr.ini

Re: [PATCH] netfilter: check if the socket netns is correct.

2018-09-27 Thread Guenter Roeck
Hi Flavio, On Wed, Jun 27, 2018 at 10:34:25AM -0300, Flavio Leitner wrote: > Netfilter assumes that if the socket is present in the skb, then > it can be used because that reference is cleaned up while the skb > is crossing netns. > > We want to change that to preserve the socket reference in a f

Re: [PATCH v3 1/2] dt-bindings: spi: Qualcomm Quad SPI(QSPI) documentation

2018-09-27 Thread Rob Herring
On Wed, Sep 26, 2018 at 01:52:03PM -0700, Ryan Case wrote: > From: Girish Mahadevan > > Bindings for Qualcomm Quad SPI used on SoCs such as sdm845. > > Signed-off-by: Girish Mahadevan > Signed-off-by: Ryan Case > --- > > Changes in v3: > - Added generic compatible string in addition to specif

[PATCH v2] x86/boot: define CC_HAVE_ASM_GOTO

2018-09-27 Thread ndesaulniers
Early prototypes of Clang with asm goto support produce 6 instances of the following warning: In file included from arch/x86/boot/compressed/misc.h:20: In file included from ./include/linux/elf.h:5: In file included from ./arch/x86/include/asm/elf.h:8: In file included from ./include/linux/thread_

Re: [PATCH] staging: rtl8188eu: Avoid null pointer arithmetic

2018-09-27 Thread Larry Finger
On 9/27/18 12:04 PM, Aymen Qader wrote: Avoid null pointer arithmetic in rtw_mlme_ext.c by skipping other field checks if the information element pointer is null. Signed-off-by: Aymen Qader --- drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletio

Re: [PATCH v3] PCI: Reprogram bridge prefetch registers on resume

2018-09-27 Thread Bjorn Helgaas
[+cc LKML] On Tue, Sep 18, 2018 at 04:32:44PM -0500, Bjorn Helgaas wrote: > On Thu, Sep 13, 2018 at 11:37:45AM +0800, Daniel Drake wrote: > > On 38+ Intel-based Asus products, the nvidia GPU becomes unusable > > after S3 suspend/resume. The affected products include multiple > > generations of nvi

[PATCH v7 2/2] hwmon: ina3221: Read channel input source info from DT

2018-09-27 Thread Nicolin Chen
An ina3221 chip has three input ports. Each port is used to measure the voltage and current of its input source. The DT binding now has defined bindings for their input sources, so the driver should read these information and handle accordingly. This patch adds a new structure of input source spe

[PATCH v7 1/2] dt-bindings: hwmon: Add ina3221 documentation

2018-09-27 Thread Nicolin Chen
Texas Instruments INA3221 is a triple-channel shunt and bus voltage monitor. This patch adds a DT binding doc for it. Signed-off-by: Nicolin Chen --- Changelog v6->v7: * Restored three channel examples and merged them with the parent one v5->v6: * Removed status property as no need to explicitl

Re: [PATCH v2] IB/mlx4: Avoid implicit enumerated type conversion

2018-09-27 Thread Nick Desaulniers
On Thu, Sep 27, 2018 at 1:44 PM Nathan Chancellor wrote: > > Clang warns when one enumerated type is implicitly converted to another. > > drivers/infiniband/hw/mlx4/mad.c:1811:41: warning: implicit conversion > from enumeration type 'enum mlx4_ib_qp_flags' to different enumeration > type 'enum ib_

<    5   6   7   8   9   10   11   12   13   >