Re: [f2fs-dev] [PATCH] f2fs: fix quota info to adjust recovered data

2018-09-19 Thread Jaegeuk Kim
On 09/19, Chao Yu wrote: > On 2018/9/19 0:45, Jaegeuk Kim wrote: > > On 09/18, Chao Yu wrote: > >> On 2018/9/18 10:05, Jaegeuk Kim wrote: > >>> On 09/18, Chao Yu wrote: > On 2018/9/18 9:19, Jaegeuk Kim wrote: > > On 09/13, Chao Yu wrote: > >> On 2018/9/13 3:54, Jaegeuk Kim wrote: > >>>

[PATCH] KVM: VMX: check nested state and CR4.VMXE against SMM

2018-09-19 Thread Paolo Bonzini
VMX cannot be enabled under SMM, check it when CR4 is set and when nested virtualization state is restored. This should fix some WARNs reported by syzkaller, mostly around alloc_shadow_vmcs. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/vmx.c | 13 +++-- 1 file changed, 11 insertions(+)

Re: [PATCH v2] cpufreq: qcom-kryo: Fix section mismatch warning

2018-09-19 Thread Rafael J. Wysocki
On Wed, Sep 19, 2018 at 11:54 PM Viresh Kumar wrote: > > On 19-09-18, 14:50, Viresh Kumar wrote: > > On 19-09-18, 14:45, Nick Desaulniers wrote: > > > On Wed, Sep 19, 2018 at 11:22 AM Nathan Chancellor > > > wrote: > > > > > > > > WARNING: vmlinux.o(.text+0x8aa424): Section mismatch in reference

Re: [PATCH v2] cpufreq: qcom-kryo: Fix section mismatch warning

2018-09-19 Thread Nathan Chancellor
On Thu, Sep 20, 2018 at 12:45:55AM +0200, Rafael J. Wysocki wrote: > On Wed, Sep 19, 2018 at 11:54 PM Viresh Kumar wrote: > > > > On 19-09-18, 14:50, Viresh Kumar wrote: > > > On 19-09-18, 14:45, Nick Desaulniers wrote: > > > > On Wed, Sep 19, 2018 at 11:22 AM Nathan Chancellor > > > > wrote: > >

Re: [PATCH RFC] MAINTAINERS: Update from @linux.vnet.ibm.com to @linux.ibm.com

2018-09-19 Thread Paul E. McKenney
On Wed, Sep 19, 2018 at 03:31:04PM -0700, James Bottomley wrote: > On Wed, 2018-09-19 at 15:27 -0700, Paul E. McKenney wrote: > > IBM's patch-friendly email infrastructure is changing domains from > > @linux.vnet.ibm.com to @linux.ibm.com, which if nothing else might > > save a bit of typing.  This

[PATCH 2/3] KVM: VMX: modify preemption timer bit only when arming timer

2018-09-19 Thread Paolo Bonzini
From: Sean Christopherson Provide a singular location where the VMX preemption timer bit is set/cleared so that future usages of the preemption timer can ensure the VMCS bit is up-to-date without having to modify unrelated code paths. For example, the preemption timer can be used to force an imm

[PATCH 3/3] KVM: VMX: use preemption timer to force immediate VMExit

2018-09-19 Thread Paolo Bonzini
From: Sean Christopherson A VMX preemption timer value of '0' is guaranteed to cause a VMExit prior to the CPU executing any instructions in the guest. Use the preemption timer (if it's supported) to trigger immediate VMExit in place of the current method of sending a self-IPI. This ensures tha

[PATCH v2 0/3] KVM: VMX: handle preemption timer value of zero

2018-09-19 Thread Paolo Bonzini
A VMX preemption timer value of '0' at the time of VMEnter is architecturally guaranteed to cause a VMExit prior to the CPU executing any instructions in the guest. KVM serendipitously emulates this behavior when running as L0, but doesn't ensure correct emulation when running at L1 or higher.

[PATCH 1/3] KVM: VMX: immediately mark preemption timer expired only for zero value

2018-09-19 Thread Paolo Bonzini
From: Sean Christopherson A VMX preemption timer value of '0' at the time of VMEnter is architecturally guaranteed to cause a VMExit prior to the CPU executing any instructions in the guest. This architectural definition is in place to ensure that a previously expired timer is correctly recogniz

[PATCH v5 1/3] mtd: rawnand: ams-delta: show parent device in sysfs

2018-09-19 Thread Janusz Krzysztofik
Fix a bug where parent device symlinks aren't shown in sysfs. While at it, make use of the default owner set by mtdcore. Signed-off-by: Janusz Krzysztofik Reviewed-by: Boris Brezillon --- drivers/mtd/nand/raw/ams-delta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive

[PATCH v5 2/3] mtd: rawnand: ams-delta: Use private structure

2018-09-19 Thread Janusz Krzysztofik
Introduce a driver private structure and allocate it on device probe. Use it for storing nand_chip structure, GPIO descriptors prevoiusly stored in static variables as well as io_base pointer previously passed as nand controller data or platform driver data. Subsequent patches may populate the str

[PATCH v5 3/3] mtd: rawnand: ams-delta: Set port direction when needed

2018-09-19 Thread Janusz Krzysztofik
In its current shape, the driver sets data port direction before each byte read/write operation, even during multi-byte transfers. Improve performance of the driver by setting the port direction only when needed. This optimisation will become particularly important as soon as planned conversion o

[PATCH v5 0/3] mtd: rawnand: ams-delta: Cleanups and optimizations

2018-09-19 Thread Janusz Krzysztofik
This series consist of possibly ready to apply patches extracted from a former one titled "mtd: rawnand: ams-delta: Use GPIO API for data I/O". Remaining patches implementing conversion of data I/O to GPIO have been postponed until gpiolib is optimized to ensure sufficient performance. Janusz

Re: [PATCH v2 2/2] Compiler Attributes: naked can be shared

2018-09-19 Thread Miguel Ojeda
On Wed, Sep 19, 2018 at 11:14 PM, Greg Kroah-Hartman wrote: > On Tue, Sep 18, 2018 at 08:56:04PM +0200, Miguel Ojeda wrote: >> Hi Greg, >> > >> Since Linus/Andrew/you >> didn't comment on whether you wanted or not this for 4.19, we are >> assuming they would go in for 4.20. However, Stefan/Nick/..

RE: [PATCH] rdma: move the ib_wr_opcode enum to include/uapi

2018-09-19 Thread Nikolova, Tatyana E
Hi Jason, > > What is the correct way for a user space application to check whether > > a NIC supports SEND_WITH_INVAL? We are currently examining the > > device_cap_flags in the structure returned by ibv_query_device. > > Specifically, we're looking at IBV_DEVICE_MEM_MGT_EXTENSIONS. > However, >

Re: [PATCH v2 2/2] Compiler Attributes: naked can be shared

2018-09-19 Thread Dominique Martinet
Greg Kroah-Hartman wrote on Wed, Sep 19, 2018: > > > So, with this applied, does clang really build an arm32 kernel > > > successfully? No other problem at all? And this isn't really a > > > regression, arm32 never really worked with clang yet, right? > > > > To recap a bit: these two patches co

Re: [PATCH v3 1/2] x86/mm: Add an option to change the padding used for the physical memory mapping

2018-09-19 Thread Travis, Mike
On 9/19/2018 7:10 AM, Masayoshi Mizuma wrote: > On Wed, Sep 19, 2018 at 02:48:06PM +0200, Ingo Molnar wrote: >> >> * Thomas Gleixner wrote: >> >>> On Wed, 19 Sep 2018, Ingo Molnar wrote: * Masayoshi Mizuma wrote: > Ping... > I would appreciate if someone could review it becau

Re: [PATCH] clocksource/drivers/fttmr010: fix set_next_event handler

2018-09-19 Thread Daniel Lezcano
On 20/09/2018 00:13, Tao Ren wrote: > Currently, the aspeed MATCH1 register is updated to cycles> in set_next_event handler, with the assumption that COUNT > register value is preserved when the timer is disabled and it continues > decrementing after the timer is enabled. But the assumption is wro

Re: [PATCH v2 00/11] dts: Update coresight device tree bindings

2018-09-19 Thread Mathieu Poirier
On Wed, 12 Sep 2018 at 07:54, Suzuki K Poulose wrote: > > Coresight DT bindings have been updated to obey the DTS rules > for label/address matching for graph nodes. The changes are in > coresight/next tree scheduled for v4.20. This series updates the > in kernel dts to match the new bindings alon

Re: Code of Conduct: Let's revamp it.

2018-09-19 Thread Edward Cree
On 19/09/18 15:18, Jonathan Corbet wrote: > I'd like to address just this part, speaking only for myself. > The LF is not in the position of arbitrating anything here. The body > charged with that is the LF Technical Advisory Board, which is a > different thing. Thank you for clarifying that. Jo

[PATCH] ARM: amba: Fix leak of driver_override attribute value

2018-09-19 Thread Trent Piepho
If driver_override was set when a device was released the string would not be kfree'ed in amba_device_release and thus leaked when the amba device was freed. Cc: Russell King Cc: Todd Kjos Cc: Geert Uytterhoeven Cc: Greg Kroah-Hartman Signed-off-by: Trent Piepho --- drivers/amba/bus.c | 1 +

Re: [PATCH v2 2/2] Compiler Attributes: naked can be shared

2018-09-19 Thread Miguel Ojeda
Hi Dominique, On Thu, Sep 20, 2018 at 1:05 AM, Dominique Martinet wrote: > Greg Kroah-Hartman wrote on Wed, Sep 19, 2018: >> > > So, with this applied, does clang really build an arm32 kernel >> > > successfully? No other problem at all? And this isn't really a >> > > regression, arm32 never re

Re: [PATCH] power: supply: bq25890_charger: fix semicolon.cocci warnings

2018-09-19 Thread Sebastian Reichel
Hi, On Mon, Sep 17, 2018 at 10:23:20AM +0800, kbuild test robot wrote: > From: kbuild test robot > > drivers/power/supply/bq25890_charger.c:614:2-3: Unneeded semicolon > drivers/power/supply/bq25890_charger.c:621:2-3: Unneeded semicolon > drivers/power/supply/bq25890_charger.c:630:3-4: Unneeded

Re: [PATCH v2 2/2] Compiler Attributes: naked can be shared

2018-09-19 Thread Dominique Martinet
Miguel Ojeda wrote on Thu, Sep 20, 2018: > > I've not followed so closely, in particular I'm not sure if it's the > > only problem with arm32 right now, but that is a regression - the > > general serie is meant as an improvement, but these two patches fix > > 815f0ddb346c ("include/linux/compiler*.

[PATCH] ARM: BCM63XX: Fix incorrect interrupt specifiers

2018-09-19 Thread Florian Fainelli
A number of our interrupts were incorrectly specified, fix both the PPI and SPI interrupts to be correct. Fixes: b5762cacc411 ("ARM: bcm63138: add NAND DT support") Fixes: 46d4bca0445a ("ARM: BCM63XX: add BCM63138 minimal Device Tree") Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/bcm631

Re: [PATCH RESEND] twl4030_charger: fix charging current out-of-bounds

2018-09-19 Thread Sebastian Reichel
Hi, On Mon, Sep 17, 2018 at 07:20:35AM +0200, Andreas Kemnade wrote: > the charging current uses unsigned int variables, if we step back > if the current is still low, we would run into negative which > means setting the target to a huge value. > Better add checks here. > > Signed-off-by: Andreas

[PATCH v3 11/16] SELinux: Abstract use of inode security blob

2018-09-19 Thread Casey Schaufler
SELinux: Abstract use of inode security blob Don't use the inode->i_security pointer directly. Provide a helper function that provides the security blob pointer. Signed-off-by: Casey Schaufler --- security/selinux/hooks.c | 26 +- security/selinux/include/objsec

[PATCH v3 15/16] LSM: Infrastructure management of the ipc security blob

2018-09-19 Thread Casey Schaufler
LSM: Infrastructure management of the ipc security blob Move management of the kern_ipc_perm->security and msg_msg->security blobs out of the individual security modules and into the security infrastructure. Instead of allocating the blobs from within the modules the modules tell the infrastructur

[PATCH v3 14/16] LSM: Infrastructure management of the task security blob

2018-09-19 Thread Casey Schaufler
LSM: Infrastructure management of the task security blob Move management of the task_struct->security blob out of the individual security modules and into the security infrastructure. Instead of allocating the blobs from within the modules the modules tell the infrastructure how much space is requ

[PATCH v3 07/16] TOMOYO: Abstract use of cred security blob

2018-09-19 Thread Casey Schaufler
TOMOYO: Abstract use of cred security blob Don't use the cred->security pointer directly. Provide helper functions that provide the security blob pointer. Signed-off-by: Casey Schaufler --- security/tomoyo/common.h| 21 -- security/tomoyo/domain.c| 4 +++- secur

[PATCH v3 03/16] SELinux: Abstract use of cred security blob

2018-09-19 Thread Casey Schaufler
SELinux: Abstract use of cred security blob Don't use the cred->security pointer directly. Provide a helper function that provides the security blob pointer. Signed-off-by: Casey Schaufler --- security/selinux/hooks.c | 54 +++ security/selinux/include/objse

[PATCH v3 02/16] Smack: Abstract use of cred security blob

2018-09-19 Thread Casey Schaufler
Smack: Abstract use of cred security blob Don't use the cred->security pointer directly. Provide a helper function that provides the security blob pointer. Signed-off-by: Casey Schaufler --- security/smack/smack.h| 17 +-- security/smack/smack_access.c | 4 +-- security/smack/s

[PATCH v3 12/16] Smack: Abstract use of inode security blob

2018-09-19 Thread Casey Schaufler
Smack: Abstract use of inode security blob Don't use the inode->i_security pointer directly. Provide a helper function that provides the security blob pointer. Signed-off-by: Casey Schaufler --- security/smack/smack.h | 9 +++-- security/smack/smack_lsm.c | 32 -

[PATCH v3 10/16] LSM: Infrastructure management of the file security blob

2018-09-19 Thread Casey Schaufler
LSM: Infrastructure management of the file security blob Move management of the file->f_security blob out of the individual security modules and into the infrastructure. The modules no longer allocate or free the data, instead they tell the infrastructure how much space they require. Signed-off-b

[PATCH v3 01/16] procfs: add smack subdir to attrs

2018-09-19 Thread Casey Schaufler
procfs: add smack subdir to attrs Back in 2007 I made what turned out to be a rather serious mistake in the implementation of the Smack security module. The SELinux module used an interface in /proc to manipulate the security context on processes. Rather than use a similar interface, I used the sa

[PATCH v3] cpufreq: qcom-kryo: Fix section annotations

2018-09-19 Thread Nathan Chancellor
There is currently a warning when building the Kryo cpufreq driver into the kernel image: WARNING: vmlinux.o(.text+0x8aa424): Section mismatch in reference from the function qcom_cpufreq_kryo_probe() to the function .init.text:qcom_cpufreq_kryo_get_msm_id() The function qcom_cpufreq_kryo_probe() r

Re: [LKP] [x86/pci] 7ffb31888c: PANIC:early_exception

2018-09-19 Thread Rong Chen
On 09/19/2018 09:53 PM, Pu Wen wrote: On 2018/9/19 11:19, kernel test robot wrote: [0.800215] AGP: No AGP bridge found PANIC: early exception 0xe3 IP 10:8294623f error 0 cr2 0x0 [0.815262] CPU: 0 PID: 0 Comm: swapper Not tainted 4.19.0-rc2-00018-g7ffb318 #1 [0.826860] Har

Re: [RESEND PATCH V6 3/3] Input: new da7280 haptic driver

2018-09-19 Thread Dmitry Torokhov
Hi Roy, On Wed, Sep 19, 2018 at 07:35:04PM +0900, Roy Im wrote: > > Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with > multiple mode and integrated waveform memory and wideband support. > It communicates via an I2C bus to the device. > > Signed-off-by: Roy Im > > --- > v6: No chan

Re: [PATCH 2/2] power: supply: Add Spreadtrum SC27XX fuel gauge unit driver

2018-09-19 Thread Sebastian Reichel
Hi, On Mon, Sep 17, 2018 at 12:01:51PM +0800, Baolin Wang wrote: [...] > >> +static int sc27xx_fgu_parse_dt(struct sc27xx_fgu_data *data, > >> +struct device_node *np) > >> +{ > >> + const __be32 *list; > >> + int i, len, size, ret; > >> + > >> + ret = of_pr

Re: [PATCH AUTOSEL 4.9 30/34] dmaengine: hsu: Support dmaengine_terminate_sync()

2018-09-19 Thread Vinod
On 15-09-18, 01:34, Sasha Levin wrote: > From: Andy Shevchenko > > [ Upstream commit 2abc66cd499aa16876e45c6438788902f7d1ce22 ] > > It appears that the driver misses the support of dmaengine_terminate_sync(). > Since many of callers expects this behaviour implement the new > device_synchronize()

Re: [PATCH AUTOSEL 4.9 31/34] dmaengine: idma64: Support dmaengine_terminate_sync()

2018-09-19 Thread Vinod
On 15-09-18, 01:34, Sasha Levin wrote: > From: Andy Shevchenko > > [ Upstream commit bbacb8e78a3b29ebdbb6af7d54fcf25d3f1c248f ] > > It appears that the driver misses the support of dmaengine_terminate_sync(). > Since many of callers expects this behaviour implement the new > device_synchronize()

Re: [PATCH 2/2] power: supply: Add Spreadtrum SC27XX fuel gauge unit driver

2018-09-19 Thread Baolin Wang
Hi, On 20 September 2018 at 08:36, Sebastian Reichel wrote: > Hi, > > On Mon, Sep 17, 2018 at 12:01:51PM +0800, Baolin Wang wrote: > [...] >> >> +static int sc27xx_fgu_parse_dt(struct sc27xx_fgu_data *data, >> >> +struct device_node *np) >> >> +{ >> >> + const __be

Re: [PATCH 1/2] dt-bindings: power: Add Spreadtrum SC27XX fuel gauge unit documentation

2018-09-19 Thread Sebastian Reichel
Hi, On Mon, Sep 17, 2018 at 11:43:30AM +0800, Baolin Wang wrote: > Hi Sebastian, > > On 16 September 2018 at 21:57, Sebastian Reichel > wrote: > > Hi, > > > > On Wed, Sep 12, 2018 at 03:29:38PM +0800, Baolin Wang wrote: > >> This patch adds the binding documentation for Spreadtrum SC27XX series

Re: [PATCH 1/2] dt-bindings: power: Add Spreadtrum SC27XX fuel gauge unit documentation

2018-09-19 Thread Baolin Wang
Hi Sebastian, On 20 September 2018 at 08:46, Sebastian Reichel wrote: > Hi, > > On Mon, Sep 17, 2018 at 11:43:30AM +0800, Baolin Wang wrote: >> Hi Sebastian, >> >> On 16 September 2018 at 21:57, Sebastian Reichel >> wrote: >> > Hi, >> > >> > On Wed, Sep 12, 2018 at 03:29:38PM +0800, Baolin Wang

Re: [PATCH v3 1/2] dt-bindings: power: Add Spreadtrum SC2731 charger documentation

2018-09-19 Thread Sebastian Reichel
Hi, On Mon, Sep 17, 2018 at 01:03:30PM -0700, Baolin Wang wrote: > This patch adds the binding documentation for Spreadtrum SC2731 charger > device. > > Signed-off-by: Baolin Wang > Reviewed-by: Krzysztof Kozlowski > --- Thanks, queued. -- Sebastian > Changes from v2: > - Add reviewed tag f

Re: [PATCH v3 2/2] power: supply: Add Spreadtrum SC2731 charger support

2018-09-19 Thread Sebastian Reichel
Hi, On Mon, Sep 17, 2018 at 01:03:31PM -0700, Baolin Wang wrote: > This patch adds the SC2731 PMIC switch charger support. > > Signed-off-by: Baolin Wang > Reviewed-by: Krzysztof Kozlowski > --- Thanks, queued. -- Sebastian > Changes from v2: > - Add reviewed tag from Krzysztof. > - Change

[PATCH] firmware: Always initialize the fw_priv list object

2018-09-19 Thread Bjorn Andersson
When freeing the fw_priv the item is taken off the list. This causes an oops in the FW_OPT_NOCACHE case as the list object is not initialized. Make sure to initialize the list object regardless of this flag. Fixes: 422b3db2a503 ("firmware: Fix security issue with request_firmware_into_buf()") Cc

Re: [PATCH v4] ARM: dts: pxa: add mioa701 board description

2018-09-19 Thread kbuild test robot
Hi Robert, I love your patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.19-rc4 next-20180919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH -next] RDMA/core: Properly return the error code of rdma_set_src_addr_rcu

2018-09-19 Thread YueHaibing
On 2018/9/20 0:14, Jason Gunthorpe wrote: > On Wed, Sep 19, 2018 at 08:28:38PM +0800, YueHaibing wrote: >> rdma_set_src_addr_rcu should check copy_src_l2_addr fails, >> rather than always return 0. Also copy_src_l2_addr should return >> 'ret' as its return value while rdma_translate_ip fails. >> >>

Re: Code of Conduct: Let's revamp it.

2018-09-19 Thread Olof Johansson
Hi, I'd like to clarify that I am replying here in my personal capacity, and not on behalf of the TAB or anyone else. On Thu, Sep 20, 2018 at 12:35 AM, Edward Cree wrote: > On 19/09/18 15:18, Jonathan Corbet wrote: >> I'd like to address just this part, speaking only for myself. >> The LF is not

[PATCH 0/4] Qualcomm QCS404 TLMM pinctrl driver

2018-09-19 Thread Bjorn Andersson
This series introduces register accessor functions and a level of indirection for these, in order to handle dispersed tiles. It then adds the TLMM binder and driver for the QCS404 platform. Avaneesh Kumar Dwivedi (1): pinctrl: qcom: Add qcs404 pinctrl driver Bjorn Andersson (3): pinctrl: qcom

[PATCH 3/4] dt-bindings: pinctrl: qcom: Add QCS404 pinctrl binding

2018-09-19 Thread Bjorn Andersson
Add the binding for the TLMM pinctrl block found in the QCS404 platform. Signed-off-by: Bjorn Andersson --- .../bindings/pinctrl/qcom,qcs404-pinctrl.txt | 200 ++ 1 file changed, 200 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl

[PATCH 4/4] pinctrl: qcom: Add qcs404 pinctrl driver

2018-09-19 Thread Bjorn Andersson
From: Avaneesh Kumar Dwivedi Add initial pinctrl driver to support pin configuration with pinctrl framework for qcs404. Signed-off-by: Avaneesh Kumar Dwivedi Signed-off-by: Chintan Pandya Signed-off-by: Anu Ramanathan [bjorn: Reworked tile handling and did some minor rework] Signed-off-by: Bj

[PATCH 2/4] pinctrl: qcom: Support dispersed tiles

2018-09-19 Thread Bjorn Andersson
On some new platforms the tiles have been placed too far apart to be covered in a single ioremap. Turn "regs" into an array of base addresses and make the pingroup carry the information about which tile the pin resides in. For existing platforms we map the first entry regs and the existing pingrou

[PATCH 1/4] pinctrl: qcom: Introduce readl/writel accessors

2018-09-19 Thread Bjorn Andersson
In preparation for the support for dispersed tiles move all readl and writel calls to helper functions. This will allow us to isolate the added complexity of another indirection. Signed-off-by: Bjorn Andersson --- drivers/pinctrl/qcom/pinctrl-msm.c | 90 ++ 1 file cha

[PATCH] regulators: qcom: Add PMS405 regulators

2018-09-19 Thread Bjorn Andersson
The PMS405 provdies 5 SMPS regulators and 13 LDOs, add these to the RPM regulator driver. Signed-off-by: Bjorn Andersson --- .../regulator/qcom,smd-rpm-regulator.txt | 23 ++ drivers/regulator/qcom_smd-regulator.c| 77 +++ 2 files changed, 100 insertions(+) diff

[PATCH] mailbox: qcom: Add QCS404 APPS Global compatible

2018-09-19 Thread Bjorn Andersson
Add support for the QCS404 APPS Global block with IPC register at offset 8. Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt| 1 + drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 + 2 files changed, 2 insertions(+) diff --

[PATCH] pinctrl: qcom: spmi-gpio: Add pms405 gpio support

2018-09-19 Thread Bjorn Andersson
From: Vinod Koul Update the binding and driver for pms405-gpios Signed-off-by: Vinod Koul --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++ drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 + 2 files changed, 3 insertions(+) diff --git a/Documentation/de

[PATCH] soc: qcom: smd-rpm: Add QCS404 compatible

2018-09-19 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 + drivers/soc/qcom/smd-rpm.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt b/Documentation/devi

[PATCH] Input: pm8941-pwrkey - Add pms405 pwrkey support

2018-09-19 Thread Bjorn Andersson
From: Vinod Koul Update the binding and driver for pms405 pwrkey. Signed-off-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/input/qcom,pm8941-pwrkey.txt | 1 + drivers/input/misc/pm8941-pwrkey.c | 1 + 2 files changed, 2 inserti

linux-next: build warnings after merge of the devicetree tree

2018-09-19 Thread Stephen Rothwell
Hi Rob, After merging the devicetree tree, today's linux-next build (arm multi_v7_defconfig) produced these warnings: arch/arm/boot/dts/bcm53340-ubnt-unifi-switch8.dtb: Warning (spi_bus_bridge): /axi@1800/qspi@27200: node name for SPI buses should be 'spi' arch/arm/boot/dts/bcm53340-ubnt-uni

[PATCH -next] pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux

2018-09-19 Thread YueHaibing
'ret' should be returned while pmic_mpp_write_mode_ctl fails. Fixes: 0e948042c420 ("pinctrl: qcom: spmi-mpp: Implement support for sink mode") Signed-off-by: YueHaibing --- drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl

[PATCH] power: reset: qcom-pon: Add pms405 pon support

2018-09-19 Thread Bjorn Andersson
From: Vinod Koul Update the binding and driver for pms405 pon. Signed-off-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/power/reset/qcom,pon.txt | 5 - drivers/power/reset/qcom-pon.c | 1 + 2 files changed, 5 insertions(+),

[PATCH -next] serial: imx: remove set but not used variable 'rtsirq'

2018-09-19 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/tty/serial/imx.c: In function 'imx_uart_probe': drivers/tty/serial/imx.c:2198:20: warning: variable 'rtsirq' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing --- drivers/tty/serial/imx.c | 3 +-- 1 file changed, 1 ins

[PATCH] remoteproc: qcom: q6v5: Propagate EPROBE_DEFER

2018-09-19 Thread Bjorn Andersson
In the case that the interrupts fail to result because of the interrupt-controller not yet being registered the platform_get_irq_byname() call will fail with -EPROBE_DEFER, but passing this into devm_request_threaded_irq() will result in -EINVAL being returned, the driver is therefor not reprobed l

Re: [PATCH] pinctrl: qcom: spmi-gpio: Add pms405 gpio support

2018-09-19 Thread Bjorn Andersson
On Wed 19 Sep 18:47 PDT 2018, Bjorn Andersson wrote: > From: Vinod Koul > > Update the binding and driver for pms405-gpios > > Signed-off-by: Vinod Koul Signed-off-by: Bjorn Andersson Regards, Bjorn > --- > Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++ > drivers/pin

[PATCH] kgdboc: Fix warning with module build

2018-09-19 Thread Laura Abbott
After 2dd453168643 ("kgdboc: Fix restrict error"), kgdboc_option_setup is now only used when built in, resulting in a warning when compiled as a module: drivers/tty/serial/kgdboc.c:134:12: warning: 'kgdboc_option_setup' defined but not used [-Wunused-function] static int kgdboc_option_setup(ch

Re: [PATCH v1 2/3] locking/pvqspinlock, hv: Enable PV qspinlock for Hyper-V

2018-09-19 Thread Yi Sun
Hi, On 18-09-17 20:54:52, Yi Sun wrote: > On 18-09-14 12:42:33, Thomas Gleixner wrote: > > On Fri, 14 Sep 2018, Yi Sun wrote: > > > > > +static void hv_notify_long_spin_wait(void) > > > > > +{ > > > > > + u64 input = spin_wait_info | 0x; > > > > > > > > What? The result is al

Re: Code of Conduct: Let's revamp it.

2018-09-19 Thread Edward Cree
On 20/09/18 02:16, Olof Johansson wrote: > I would be very surprised if any of my peers on the TAB ever had those > intentions, and I know I would not have them myself. In case my references to individualsmade it unclear: I have no reason to  suspect _any_ of the present TAB members would; everythi

RE: [PATCH V6 0/4] clk: new APIs to handle all available clocks

2018-09-19 Thread A.s. Dong
> -Original Message- > From: Thor Thayer [mailto:thor.tha...@linux.intel.com] > Sent: Wednesday, September 19, 2018 10:47 PM > To: A.s. Dong ; linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > sb...@kernel.org; mturque...@baylibre.com; sha

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-19 Thread Ard Biesheuvel
On 19 September 2018 at 07:31, Jim Quinlan wrote: > The Broadcom STB PCIe host controller is intimately related to the > memory subsystem. This close relationship adds complexity to how cpu > system memory is mapped to PCIe memory. Ideally, this mapping is an > identity mapping, or an identity m

Re: [PATCH] Revert "ubifs: xattr: Don't operate on deleted inodes"

2018-09-19 Thread Joel Stanley
On Mon, 17 Sep 2018 at 07:30, Richard Weinberger wrote: > > This reverts commit 11a6fc3dc743e22fb50f2196ec55bee5140d3c52. > UBIFS wants to assert that xattr operations are only issued on files > with positive link count. The said patch made this operations return > -ENOENT for unlinked files such

Re: [PATCH AUTOSEL 4.18 10/92] mtd: rawnand: fscm: Avoid collision on PC def when compiling for MIPS

2018-09-19 Thread Sasha Levin
On Sat, Sep 15, 2018 at 07:21:11PM +0200, Miquel Raynal wrote: >Hi Sasha, > >Sasha Levin wrote on Sat, 15 Sep 2018 >01:29:55 +: > >> From: Boris Brezillon >> >> [ Upstream commit 8f3931ed975e1d775b87ce85d65ecacd54138359 ] >> >> We want to allow this driver to be selected when COMPILE_TEST=y,

[PATCH] misc: genwqe: should return proper error value.

2018-09-19 Thread zhong jiang
The function should return -EFAULT when copy_from_user fails. Even though the caller does not distinguish them. but we should keep backward compatibility. Signed-off-by: zhong jiang --- drivers/misc/genwqe/card_utils.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --g

Re: [RFC PATCH] selinux: add a fallback to defcontext for native labeling

2018-09-19 Thread Taras Kondratiuk
Quoting Stephen Smalley (2018-09-19 12:00:33) > On 09/19/2018 12:52 PM, Taras Kondratiuk wrote: > > When files on NFSv4 server are not properly labeled (label doesn't match > > a policy on a client) they will end up with unlabeled_t type which is > > too generic. We would like to be able to set a d

[PATCH 4/5] math-emu/op-2.h: Use statement expressions to prevent negative constant shift

2018-09-19 Thread Vincent Chen
This modification is quoted from glibc 'commit (fe0b1e854ad32a69b260)' Signed-off-by: Vincent Chen --- include/math-emu/op-2.h | 97 ++ 1 files changed, 46 insertions(+), 51 deletions(-) diff --git a/include/math-emu/op-2.h b/include/math-emu/op-2

[PATCH AUTOSEL 4.18 23/56] tcp_bbr: in restart from idle, see if we should exit PROBE_RTT

2018-09-19 Thread Sasha Levin
From: Kevin Yang [ Upstream commit 5490b32dce6932ea7ee8e3b2f76db2957c92af6e ] This patch fix the case where BBR does not exit PROBE_RTT mode when it restarts from idle. When BBR restarts from idle and if BBR is in PROBE_RTT mode, BBR should check if it's time to exit PROBE_RTT. If yes, then BBR

[PATCH AUTOSEL 4.18 48/56] ata: ftide010: Add a quirk for SQ201

2018-09-19 Thread Sasha Levin
From: Linus Walleij [ Upstream commit 46cb52ad414ac829680d0bb8cc7090ac2b577ca7 ] The DMA is broken on this specific device for some unknown reason (probably badly designed or plain broken interface electronics) and will only work with PIO. Other users of the same hardware does not have this prob

[PATCH 5/5] math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning

2018-09-19 Thread Vincent Chen
_FP_ROUND_ZERO is defined as 0 and used as a statemente in macro _FP_ROUND. This generates "error: statement with no effect [-Werror=unused-value]" from gcc. Defining _FP_ROUND_ZERO as (void)0 to fix it. This modification is quoted from glibc 'commit (8ed1e7d5894000c155acbd06f)' Signed-off-by:

[PATCH AUTOSEL 4.18 31/56] ice: Use order_base_2 to calculate higher power of 2

2018-09-19 Thread Sasha Levin
From: Jacob Keller [ Upstream commit 1eb43fc754485d772b1165118a8fb80c385f0492 ] Currently, we use a combination of ilog2 and is_power_of_2() to calculate the next power of 2 for the qcount. This appears to be causing a warning on some combinations of GCC and the Linux kernel: MODPOST 1 modules

[PATCH AUTOSEL 4.18 01/56] ARM: OMAP2+: Fix null hwmod for ti-sysc debug

2018-09-19 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 4769c003e0fcff0ee001a9102e2605bdaa5880f0 ] We may call omap_hwmod_parse_module_range() with no hwmod allocated yet and may have debug enabled. Let's fix this by checking for hwmod before trying to use it's name. Fixes: 6c72b3550672 ("ARM: OMAP2+: Parse modu

[PATCH AUTOSEL 4.18 02/56] ARM: OMAP2+: Fix module address for modules using mpu_rt_idx

2018-09-19 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 1dbcb97c656eed1a244c960b8b3a469c3d20ce7b ] If we use device tree data for a module interconnect target we want to map the control registers from the module start. Legacy hwmod platform data however is using child IP offsets for cpsw module with mpu_rt_idx.

[PATCH AUTOSEL 4.18 14/56] bpf, sockmap: fix sock_hash_alloc and reject zero-sized keys

2018-09-19 Thread Sasha Levin
From: Daniel Borkmann [ Upstream commit b845c898b2f1ea458d5453f0fa1da6e2dfce3bb4 ] Currently, it is possible to create a sock hash map with key size of 0 and have the kernel return a fd back to user space. This is invalid for hash maps (and kernel also hasn't been tested for zero key size suppor

[PATCH AUTOSEL 4.18 05/56] qed: Wait for MCP halt and resume commands to take place

2018-09-19 Thread Sasha Levin
From: Tomer Tayar [ Upstream commit 76271809f49056f079e202bf6513d17b0d6dd34d ] Successive iterations of halting and resuming the management chip (MCP) might fail, since currently the driver doesn't wait for these operations to actually take place. This patch prevents the driver from moving forwa

[PATCH 2/5] nds32: Support FP emulation

2018-09-19 Thread Vincent Chen
Andes FPU hardware does not support denormalized number handling. >From Andes FPU spec, FPU generates a denorm input to require kernel to deal with this instrution operation when encountering a denormalized operand. Hence an emulator for nds32 FPU ISA in kernel is needed to satisfy the requiremen

[PATCH AUTOSEL 4.18 26/56] net: hns3: fix page_offset overflow when CONFIG_ARM64_64K_PAGES

2018-09-19 Thread Sasha Levin
From: Huazhong Tan [ Upstream commit 27a5959308559fa6afcaa4e6cd81d25bcb2dda7c ] When enable the config item "CONFIG_ARM64_64K_PAGES", the size of PAGE_SIZE is 65536(64K). But the type of page_offset is u16, it will overflow. So change it to u32, when "CONFIG_ARM64_64K_PAGES" enabled. Fixes: 76a

[PATCH AUTOSEL 4.18 44/56] hwmon: (adt7475) Make adt7475_read_word() return errors

2018-09-19 Thread Sasha Levin
From: Dan Carpenter [ Upstream commit f196dec6d50abb2e65fb54a0621b2f1b4d922995 ] The adt7475_read_word() function was meant to return negative error codes on failure. Signed-off-by: Dan Carpenter Reviewed-by: Tokunori Ikegami Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- driv

[PATCH 1/5] nds32: nds32 FPU port

2018-09-19 Thread Vincent Chen
This commit contains basic components for nds32 FPU support such as FPU exception handler and context switch for FPU register. Signed-off-by: Vincent Chen --- arch/nds32/Kconfig |1 + arch/nds32/Kconfig.cpu | 22 +++ arch/nds32/Makefile

[PATCH AUTOSEL 4.18 13/56] ARM: dts: omap4-droid4: fix vibrations on Droid 4

2018-09-19 Thread Sasha Levin
From: Pavel Machek [ Upstream commit f4efa74c09a7eddcc12cd13208f78743763f6e7a ] Vibration GPIOs don't have anything to do with wakeup. Move it to normal section; this fixes vibrations on Droid 4. Fixes: a5effd968301 ("ARM: dts: omap4-droid4: Add vibrator") Signed-off-by: Pavel Machek Reviewed-

[PATCH AUTOSEL 4.18 25/56] net: hns: fix skb->truesize underestimation

2018-09-19 Thread Sasha Levin
From: Huazhong Tan [ Upstream commit b1ccd4c0ab6ef499f47dd84ed4920502a7147bba ] skb->truesize is not meant to be tracking amount of used bytes in a skb, but amount of reserved/consumed bytes in memory. For instance, if we use a single byte in last page fragment, we have to account the full size

[PATCH AUTOSEL 4.18 19/56] drm/amdgpu: fix preamble handling

2018-09-19 Thread Sasha Levin
From: Christian König [ Upstream commit d98ff24e8e9be3329eea7c84d5e244d0c1cd0ab3 ] At this point the command submission can still be interrupted. Signed-off-by: Christian König Acked-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/amdg

[PATCH AUTOSEL 4.18 46/56] drm/amdgpu: Enable/disable gfx PG feature in rlc safe mode

2018-09-19 Thread Sasha Levin
From: Rex Zhu [ Upstream commit 8ef23364b654d44244400d79988e677e504b21ba ] This is required by gfx hw and can fix the rlc hang when do s3 stree test on Cz/St. Reviewed-by: Alex Deucher Signed-off-by: Hang Zhou Signed-off-by: Rex Zhu Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --

[PATCH AUTOSEL 4.18 15/56] bpf, sockmap: fix sock hash count in alloc_sock_hash_elem

2018-09-19 Thread Sasha Levin
From: Daniel Borkmann [ Upstream commit eb29429d81e31b191f3b2bd19cf820279cec6463 ] When we try to allocate a new sock hash entry and the allocation fails, then sock hash map fails to reduce the map element counter, meaning we keep accounting this element although it was never used. Fix it by dro

[PATCH AUTOSEL 4.18 10/56] mmc: atmel-mci: fix bad logic of sg_copy_{from,to}_buffer conversion

2018-09-19 Thread Sasha Levin
From: Ludovic Desroches [ Upstream commit 19f5e9e015675fcdbf2c20e804b2e84e80201454 ] The conversion to sg_copy_{from,to}_buffer has been done in the wrong way. sg_copy_to_buffer is a copy from an SG list to a linear buffer so it can't replace memcpy(buf + offset, &value, remaining) where buf is

[PATCH AUTOSEL 4.18 28/56] ice: Report stats for allocated queues via ethtool stats

2018-09-19 Thread Sasha Levin
From: Jacob Keller [ Upstream commit f8ba7db850350319348b6d3c276f8ba19bc098ef ] It is not safe to have the string table for statistics change order or size over the lifetime of a given netdevice. This is because of the nature of the 3-step process for obtaining stats. First, user space performs

[PATCH AUTOSEL 4.18 12/56] bus: ti-sysc: Fix no_console_suspend handling

2018-09-19 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 4f3530f4a41d49c41015020cd9a5ed5c95b5d2db ] If no_console_suspend is set, we should keep console enabled during suspend. Lets fix this by only producing a warning if we can't idle hardware during suspend. Fixes: ef55f8215a78 ("bus: ti-sysc: Improve suspend a

[PATCH AUTOSEL 4.18 32/56] ice: Set VLAN flags correctly

2018-09-19 Thread Sasha Levin
From: Brett Creeley [ Upstream commit 5d8778d803e21f235e9bc727b5bd619f02abb88b ] In the struct ice_aqc_vsi_props the field port_vlan_flags is an overloaded term because it is used for both port VLANs (PVLANs) and regular VLANs. This is an issue and is very confusing especially when dealing with

[PATCH AUTOSEL 4.18 11/56] mmc: android-goldfish: fix bad logic of sg_copy_{from,to}_buffer conversion

2018-09-19 Thread Sasha Levin
From: Ludovic Desroches [ Upstream commit 17e96d8516e31c3cb52cb8e2ee79d1d2e6948c11 ] The conversion to sg_copy_{from,to}_buffer has been done in the wrong way. sg_copy_to_buffer is a copy from an SG list to a linear buffer so it can't replace memcpy(dest, host->virt_base, data->sg->length) where

[PATCH AUTOSEL 4.18 29/56] ice: Clean control queues only when they are initialized

2018-09-19 Thread Sasha Levin
From: Preethi Banala [ Upstream commit b29bc220e2c7bd494a4605defcd93b18d5a8cf86 ] Clean control queues only when they are initialized. One of the ways to validate if the basic initialization is done is by checking value of cq->sq.head and cq->rq.head variables that specify the register address.

[PATCH AUTOSEL 4.18 36/56] e1000: check on netif_running() before calling e1000_up()

2018-09-19 Thread Sasha Levin
From: Bo Chen [ Upstream commit cf1acec008f8d7761aa3fd7c4bca7e17b2d2512d ] When the device is not up, the call to 'e1000_up()' from the error handling path of 'e1000_set_ringparam()' causes a kernel oops with a null-pointer dereference. The null-pointer dereference is triggered in function 'e100

<    1   2   3   4   5   6   7   8   >