Re: [PATCH v9 4/5] tpm: Allow TPM chip drivers to override reported command durations

2016-07-18 Thread Jarkko Sakkinen
On Wed, Jul 13, 2016 at 09:19:35AM -0700, Ed Swierk wrote: > Some TPM chips report bogus command durations in their capabilities, > just as others report incorrect timeouts. Rework tpm_get_timeouts() to > allow chip drivers to override either via a single callback. Also > clean up handling of TPMs

[PATCH 07/10] dmaengine: qcom_hidma: eliminate processed variables

2016-07-18 Thread Sinan Kaya
Instead of tracking the read/write pointers in SW, track the current state by reading from HW directly. This is an attempt to eliminate potential race conditions. Signed-off-by: Sinan Kaya --- drivers/dma/qcom/hidma.h | 5 +++-- drivers/dma/qcom/hidma_dbg.c | 6 -- drivers/dma/qcom/hid

[PATCH 01/10] Documentation: DT: qcom_hidma: update binding for MSI

2016-07-18 Thread Sinan Kaya
Adding a new binding for qcom,hidma-1.1 to distinguish HW supporting MSI interrupts from the older revision. Signed-off-by: Sinan Kaya --- Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bind

Re: [PATCH v2] Documentation: Move samples from doc to samples/

2016-07-18 Thread Timur Tabi
Mahesh Khanwalkar wrote: Documentation/mic/mpssd/micctrl| 173 -- Documentation/mic/mpssd/mpss | 200 - ... +++ b/samples/mpssd/.gitignore @@ -0,0 +1,3 @@ +mpssd +mpss +micctrl I think this is wrong. -- Qualcom

Re: [patch V2 23/67] bus/arm-ccn: Convert to hotplug statemachine

2016-07-18 Thread Pawel Moll
Dnia 2016-07-13, Wed o godzinie 17:16 +, Anna-Maria Gleixner pisze: > From: Sebastian Andrzej Siewior > > Install the callbacks via the state machine and let the core invoke > the callbacks on the already online CPUs. > > Signed-off-by: Sebastian Andrzej Siewior > Cc: Arnd Bergmann > Cc: D

[PATCH v2] Documentation: Move samples from doc to samples/

2016-07-18 Thread Mahesh Khanwalkar
Moved sample code found in Documentation/ to samples/ but kept actual documentation where it is, while updating any in-text references to the moved code. Updated the Documentation/Makefile and samples/Makefile to reflect the change. Built with CONFIG_SAMPLES=y in .config with no build errors. The d

RE: [RFC PATCH 00/30] Kernel NET policy

2016-07-18 Thread Liang, Kan
> > Hi Kan, > > On 07/18/2016 08:55 AM, kan.li...@intel.com wrote: > > From: Kan Liang > > > > It is a big challenge to get good network performance. First, the > > network performance is not good with default system settings. Second, > > it is too difficult to do automatic tuning for all poss

Re: [PATCH] net/sched/sch_htb: clamp xstats tokens to fit into 32-bit int

2016-07-18 Thread Cong Wang
On Sat, Jul 16, 2016 at 7:08 AM, Konstantin Khlebnikov wrote: > In kernel HTB keeps tokens in signed 64-bit in nanoseconds. In netlink > protocol these values are converted into pshed ticks (64ns for now) and > truncated to 32-bit. In struct tc_htb_xstats fields "tokens" and "ctokens" > are declar

RE: [PATCH] wlcore/wl18xx: mesh: added initial mesh support for wl8

2016-07-18 Thread Machani, Yaniv
On Mon, Jul 18, 2016 at 20:42:57, Kalle Valo wrote: > Guy; Johannes Berg; Arik Nemtsov; linux-wirel...@vger.kernel.org; > net...@vger.kernel.org > Subject: Re: [PATCH] wlcore/wl18xx: mesh: added initial mesh support > for wl8 > > Yaniv Machani writes: > > > From: Maital Hahn > > > > 1. Added

Re: [PATCH 1/2] locking/percpu-rwsem: Optimize readers and reduce global impact

2016-07-18 Thread kbuild test robot
Hi, [auto build test ERROR on v4.7-rc7] [also build test ERROR on next-20160718] [cannot apply to tip/core/locking] [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/commits/Peter-Zijlstra/locking-percpu

Reiserfs - stable backport request for 4.4

2016-07-18 Thread Andrea Cascio
Hi, support for ACL/xattr in reiserfs is unfortunately broken since version 4.4 (getfacl/setfacl fails with EINVAL). The problem was solved by Al Viro on 2016-04-10 with this commit: 79a628d14ec7ee9adfdc3ce04343d5ff7ec20c18 reiserfs: switch to generic_{get,set,remove}xattr() The patch applies on

Re: [PATCH] i2c: mv64xxx: Use clk_enable_prepare and clk_disable_unprepare

2016-07-18 Thread Wolfram Sang
On Mon, Jun 27, 2016 at 08:17:22PM +0530, Amitoj Kaur Chawla wrote: > Replace clk_enable and clk_prepare with clk_enable_prepare and > clk_disable and clk_unprepare with clk_disable_unprepare. > > The Coccinelle semantic patch used to make this change is as follows: > @@ > expression e; > @@ > >

Re: [PATCH v9 3/5] tpm: Clean up reading of timeout and duration capabilities

2016-07-18 Thread Jarkko Sakkinen
On Wed, Jul 13, 2016 at 09:19:34AM -0700, Ed Swierk wrote: > Call tpm_getcap() from tpm_get_timeouts() to eliminate redundant > code. Return all errors to the caller rather than swallowing them > (e.g. when tpm_transmit_cmd() returns nonzero). > > Signed-off-by: Ed Swierk You have to fix the rep

Re: [PATCH v9 3/5] tpm: Clean up reading of timeout and duration capabilities

2016-07-18 Thread Jarkko Sakkinen
On Mon, Jul 18, 2016 at 09:19:53PM +0300, Jarkko Sakkinen wrote: > On Wed, Jul 13, 2016 at 09:19:34AM -0700, Ed Swierk wrote: > > Call tpm_getcap() from tpm_get_timeouts() to eliminate redundant > > code. Return all errors to the caller rather than swallowing them > > (e.g. when tpm_transmit_cmd()

Re: [PATCH RT 11/20] ARM: imx: always use TWD on IMX6Q

2016-07-18 Thread Grygorii Strashko
On 07/12/2016 11:04 PM, Sebastian Andrzej Siewior wrote: > * Steven Rostedt | 2016-07-12 10:24:16 [-0400]: > >> 4.1.27-rt31-rc1 stable review patch. >> If anyone has any objections, please let me know. > > I don't recommend to cherry-pick this. The symbol it selects > (HAVE_ARM_TWD) has "depends

Re: [tpmdd-devel] [PATCH v2 0/6] Use tpm_transmit_cmd() consistently

2016-07-18 Thread Jarkko Sakkinen
On Wed, Jul 06, 2016 at 05:21:43PM +0300, Jarkko Sakkinen wrote: > Pending for reviews. These are quite trivial patches. > > /Jarkko > > On Sun, Jun 26, 2016 at 12:44:45AM +0300, Jarkko Sakkinen wrote: > > These commits update the subsystem consistently to use > > tpm_transmit_cmd() throughout th

Re: [PATCH v9 3/5] tpm: Clean up reading of timeout and duration capabilities

2016-07-18 Thread Jarkko Sakkinen
On Wed, Jul 13, 2016 at 09:19:34AM -0700, Ed Swierk wrote: > Call tpm_getcap() from tpm_get_timeouts() to eliminate redundant > code. Return all errors to the caller rather than swallowing them > (e.g. when tpm_transmit_cmd() returns nonzero). > > Signed-off-by: Ed Swierk Reviewed-by: Jarkko Sak

Re: [PATCH v3] arm64: dts: rockchip: Add basic support for orion-r68

2016-07-18 Thread Heiko Stübner
Am Freitag, 15. Juli 2016, 12:09:51 schrieb Matthias Brugger: > This patch adds basic support for the Tronsmart orion r86 set-top-box. > > Signed-off-by: Matthias Brugger applied [0] with Rob's Ack. I've removed the duplicate mmc cap and also reordered properties to be alphabetically sorted, p

Re: [PATCH] eeprom: at24: tweak the loop_until_timeout() macro

2016-07-18 Thread Wolfram Sang
On Sun, Jul 17, 2016 at 08:40:06PM +0200, Bartosz Golaszewski wrote: > loop_until_timeout() replaced a do {} while loop in the at24 driver > with a for loop which, under certain circumstances (such as heavy load > or low value of the write_timeout argument), can lead to the code in > the loop never

Re: [PATCH v9 0/5] tpm: Command duration logging and chip-specific override

2016-07-18 Thread Jarkko Sakkinen
On Wed, Jul 13, 2016 at 09:19:31AM -0700, Ed Swierk wrote: > v9: Include command duration in existing error messages rather than > logging an extra debug message. Rebase onto Jarkko's tree. > > v8: Fix v7 goof-up in tpm_getcap(). > > v7: Use tpm_getcap() instead of a redundant new function. > >

Re: "coupled" regulator support

2016-07-18 Thread Mark Brown
On Mon, Jul 18, 2016 at 02:44:22PM +0800, Jisheng Zhang wrote: > v1 and v2 and both valid voltages, but here we have an explicit limitation: > we must take the "regulator shared" fact into consideration. Let's assume > the voltage is at v2, devA is not busy now, it wants to scale down freq, then >

Re: [PATCH v4 0/2] Nuvoton TPM2 support

2016-07-18 Thread Jarkko Sakkinen
On Tue, Jul 12, 2016 at 11:41:48AM -0600, Jason Gunthorpe wrote: > This should be ready to go now. I've applied this series. /Jarkko > > v4: > - Fix build error noticed by Fengguang Wu when DT is enabled. > - IRQ patch split out > > Jason Gunthorpe (2): > tpm: Factor out common startup cod

Re: [PATCH 6/9] x86, pkeys: add pkey set/get syscalls

2016-07-18 Thread Dave Hansen
On 07/09/2016 01:37 AM, Ingo Molnar wrote: >I.e. this pattern: > > ret = pkey_mprotect(NULL, PAGE_SIZE, real_prot, pkey); > >... would validate the pkey and we'd return -EOPNOTSUPP for pkey that is > not >available? This would allow maximum future flexibility as it would not >

Re: [PATCH v3 0/3] locking/mutex: Enable optimistic spinning of lock waiter

2016-07-18 Thread Jason Low
On Tue, 2016-03-22 at 13:46 -0400, Waiman Long wrote: > v2->v3: > - Remove patch 4 as it is not useful. > - Allow need_resched() check for waiter & add more comments about >changes to address issues raised by PeterZ. > > v1->v2: > - Set task state to running before doing optimistic spinning

Re: [PATCH v4 2/2] tpm: Add TPM 2.0 support to the Nuvoton i2c driver (NPCT6xx family)

2016-07-18 Thread Jarkko Sakkinen
On Tue, Jul 12, 2016 at 11:41:50AM -0600, Jason Gunthorpe wrote: > The command flow is exactly the same, the core simply needs to be > told to enable TPM2 mode when the compatible string indicates a > TPM2. > > Signed-off-by: Andrew Azmansky > Tested-by: Andrew Zamansky > Signed-off-by: Jason Gu

RE: [RFC PATCH 00/30] Kernel NET policy

2016-07-18 Thread Liang, Kan
> On Mon, Jul 18, 2016 at 5:51 PM, Liang, Kan wrote: > > > > > >> > > >> > It is a big challenge to get good network performance. First, the > >> > network performance is not good with default system settings. > >> > Second, it is too difficult to do automatic tuning for all possible > >> > work

Re: [RFC PATCH 00/30] Kernel NET policy

2016-07-18 Thread Cong Wang
On Mon, Jul 18, 2016 at 8:45 AM, Andi Kleen wrote: >> It seems strange to me to add such policies to the kernel. >> Addmittingly, documentation of some settings is non-existent and one needs >> various different tools to set this (sysctl, procfs, sysfs, ethtool, etc). > > The problem is that diffe

Re: [PATCH 1/3] virtio: Basic implementation of virtio pstore driver

2016-07-18 Thread Kees Cook
On Sun, Jul 17, 2016 at 10:50 PM, Namhyung Kim wrote: > Hello, > > On Sun, Jul 17, 2016 at 10:12:26PM -0700, Kees Cook wrote: >> On Sun, Jul 17, 2016 at 9:37 PM, Namhyung Kim wrote: >> > The virtio pstore driver provides interface to the pstore subsystem so >> > that the guest kernel's log/dump m

Re: [RFC] locking/mutex: Fix starvation of sleeping waiters

2016-07-18 Thread Jason Low
On Mon, 2016-07-18 at 19:15 +0200, Peter Zijlstra wrote: > On Mon, Jul 18, 2016 at 07:16:47PM +0300, Imre Deak wrote: > > Currently a thread sleeping on a mutex wait queue can be delayed > > indefinitely by other threads managing to steal the lock, that is > > acquiring the lock out-of-order before

Re: [PATCH] mmc: sdhci-msm: Do not reset the controller if no card in the slot

2016-07-18 Thread Bjorn Andersson
On Fri 24 Jun 09:24 PDT 2016, Georgi Djakov wrote: > The controller does not clear the "reset bit" when it is reset without > a card in the slot. Because of this, the following error message is seen > while booting with no plugged SD card. > > mmc1: Reset 0x1 never completed. > > Add the SDHCI_Q

Re: [PATCH 1/2] mtd: brcmnand: iProc big endian and ONFI support

2016-07-18 Thread Ray Jui
Hi Markus, On 7/18/2016 10:41 AM, Markus Mayer wrote: On 18 July 2016 at 10:36, Ray Jui wrote: This patch adds big endian and ONFI support for various iProc based SoCs that use the core brcmstb NAND controller This patch was originally implemented by Prafulla Kota and fully tested on iProc b

Re: [PATCH] Documentation: Move samples from doc to samples/

2016-07-18 Thread Timur Tabi
Mahesh Khanwalkar wrote: samples/watchdog/Makefile |3 + samples/watchdog/watchdog-simple.c | 24 + samples/watchdog/watchdog-test.c | 98 ++ Acked-by: Timur Tabi However, watchdog-test.c has been updated in watchdog-next,

Re: [PATCH 1/2] mtd: brcmnand: iProc big endian and ONFI support

2016-07-18 Thread Markus Mayer
On 18 July 2016 at 10:36, Ray Jui wrote: > This patch adds big endian and ONFI support for various iProc based > SoCs that use the core brcmstb NAND controller > > This patch was originally implemented by Prafulla Kota > and fully tested on iProc based NS2 SVK > > Signed-off-by: Prafulla Kota >

Re: [PATCH] wlcore/wl18xx: mesh: added initial mesh support for wl8

2016-07-18 Thread Kalle Valo
Yaniv Machani writes: > From: Maital Hahn > > 1. Added support for interface and role of mesh type. > 2. Enabled enable/start of mesh-point role, >and opening and closing a connection with a mesh peer. > 3. Added multirole combination of mesh and ap >under the same limits of dual ap mode

Re: [PATCH] clk: zynq: avoid retrieving clock names from DT property

2016-07-18 Thread Sören Brinkmann
On Sun, 2016-07-17 at 09:11:10 -0700, Sören Brinkmann wrote: > On Sun, 2016-07-17 at 00:15:23 +0900, Masahiro Yamada wrote: > > The "clock-output-names" property is useful for generic clock > > providers such as fixed-clock, fixed-factor-clock, etc. > > > > On the other hand, it should not be used

RE: [RFC PATCH 00/30] Kernel NET policy

2016-07-18 Thread Liang, Kan
> > > > It seems strange to me to add such policies to the kernel. > > > > But kernel is the only place which can merge all user's requests. > > I don't think so. > > If different requests conflict in a way that is possible to dosomething > meaningful the I don't see why userspace tool cannot

[PATCH 1/2] mtd: brcmnand: iProc big endian and ONFI support

2016-07-18 Thread Ray Jui
This patch adds big endian and ONFI support for various iProc based SoCs that use the core brcmstb NAND controller This patch was originally implemented by Prafulla Kota and fully tested on iProc based NS2 SVK Signed-off-by: Prafulla Kota Signed-off-by: Ray Jui --- drivers/mtd/nand/brcmnand/b

[PATCH 0/2] Add big endian and ONFI support to iProc NAND

2016-07-18 Thread Ray Jui
This patch series adds big endian and ONFI support to iProc based NAND wrapper that utilizes the BRCMSTB NAND core driver. It also adds missing NAND DT properties for NS2 SVK This patch series is based off v4.7-rc1 and is available on GIHUB: repo: https://github.com/Broadcom/arm64-linux.git branch

[PATCH 2/2] arm64: dts: Updated NAND DT properties for NS2 SVK

2016-07-18 Thread Ray Jui
This patch adds NAND DT properties for NS2 SVK to configure the bus width width and OOB sector size Signed-off-by: Prafulla Kota Signed-off-by: Ray Jui --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2-svk.dts b/

Re: [PATCH -next] mtd: mtk-nor: remove duplicated include from mtk-quadspi.c

2016-07-18 Thread Brian Norris
On Fri, Jun 17, 2016 at 05:21:16PM +, weiyj...@163.com wrote: > From: Wei Yongjun > > Remove duplicated include. > > Signed-off-by: Wei Yongjun Applied to l2-mtd.git

Re: [PATCH V9 4/9] vfio: platform: add support for ACPI probe

2016-07-18 Thread Alex Williamson
On Fri, 15 Jul 2016 21:27:24 -0400 Sinan Kaya wrote: > On 7/14/2016 5:41 PM, Alex Williamson wrote: > > On Wed, 13 Jul 2016 22:06:30 -0400 > > Sinan Kaya wrote: > > > >> The code is using the compatible DT string to associate a reset driver > >> with the actual device itself. The compatible s

Re: [PATCH v1 1/1] x86/pci: Use MRFLD abbreviation for Merrifield

2016-07-18 Thread Ingo Molnar
* Bjorn Helgaas wrote: > On Wed, Jul 13, 2016 at 09:24:35AM +0200, Ingo Molnar wrote: > > > > Bjorn, we already have a few incidental changes to > > arch/x86/pci/intel_mid_pci.c > > pending in the tip:x86/platform tree: > > > > e99a0745bdf8 x86/pci, x86/platform/intel_mid_pci: Remove duplica

Re: Revert c5ad33184354260be6d05de57e46a5498692f6d6 "mm/swap.c: flush lru pvecs on compound page arrival" from stable tree? Was:[osstest-ad...@xenproject.org: [Xen-devel] [linux-4.1 bisection] complet

2016-07-18 Thread Sebastian Gottschall
i have the same issue without xen. for me network traffic causes oom within seconds to 3 minutes on embedded systems. but i dont know if this is the cause. i just can say that it was introduced with 3.18.37 Am 18.07.2016 um 18:18 schrieb Konrad Rzeszutek Wilk: On Mon, Jul 18, 2016 at 03:48:0

[PATCH v4 2/2] pinctrl: iproc: Add NSP and Stingray GPIO support

2016-07-18 Thread Ray Jui
The iProc GPIO controller is shared among multiple iProc based SoCs. In the NSP integration, the drive strength pinctrl function is disabled. In the integration of Stingray, pinctrl is handled by another block and this GPIO controller is solely used as a GPIO controller, and therefore should not be

[PATCH v4 0/2] Additional iProc GPIO support

2016-07-18 Thread Ray Jui
Add support to the iProc GPIO driver for the NSP and Stingray iProc based SoCs. The integration in NSP has drive strength pinconf feature disabled and the integration in Stingray has all pinconf related features disabled and handled by a different IP block GITHUB repo: https://github.com/Broadcom/

[PATCH v4 1/2] dt-bindings: Update iProc GPIO bindings

2016-07-18 Thread Ray Jui
Update the iProc GPIO binding document to add new compatible strings "brcm,iproc-nsp-gpio" and "brcm,iproc-stingray-gpio" to support the iProc based GPIO controller used in the NSP and Stingray SoCs, respectively Signed-off-by: Ray Jui --- .../devicetree/bindings/pinctrl/brcm,iproc-gpio.txt|

Re: [PATCH 7/7] dts: hi6220: Add k3-dma and i2s/hdmi audio support

2016-07-18 Thread John Stultz
On Sat, Jul 16, 2016 at 4:48 AM, Mark Brown wrote: > On Fri, Jul 15, 2016 at 07:13:27PM -0700, John Stultz wrote: > >> Add entry for k3-dma driver and i2s/hdmi audio devices. > >> This enables HDMI audio output. > > These bindings appear to be undocumented. All new bindings require > documentatio

Re: [PATCH 2/3] f2fs: support copy_file_range

2016-07-18 Thread Jaegeuk Kim
Hi, Please ignore copy/clone_file_range patches, which are wrong implementation. Sorry for the noise. Thanks, On Sat, Jul 16, 2016 at 11:24:26PM -0700, Jaegeuk Kim wrote: > This patch implements copy_file_range in f2fs. > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/file.c | 98 > +++

Re: [PATCH] mtd: nand: fix bug writing 1 byte less than page size

2016-07-18 Thread Brian Norris
+ Kamal, FYI On Mon, Jul 18, 2016 at 11:04:32AM +0200, Boris Brezillon wrote: > On Mon, 18 Jul 2016 10:39:18 +0200 > Hector Palacios wrote: > > > nand_do_write_ops() determines if it is writing a partial page with the > > formula: > > part_pagewr = (column || writelen < (mtd->writesize - 1))

Re: [RFC] locking/mutex: Fix starvation of sleeping waiters

2016-07-18 Thread Peter Zijlstra
On Mon, Jul 18, 2016 at 07:16:47PM +0300, Imre Deak wrote: > Currently a thread sleeping on a mutex wait queue can be delayed > indefinitely by other threads managing to steal the lock, that is > acquiring the lock out-of-order before the sleepers. I noticed this via > a testcase (see the Reference

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-18 Thread Mark Rutland
On Mon, Jul 18, 2016 at 05:38:16PM +0100, Suzuki K Poulose wrote: > On 15/07/16 11:08, Mark Rutland wrote: > >For system PMUs, the perf tools have long expected a cpumask file under > >sysfs, describing the single CPU which they support events being > >opened/handled on. Prior patches in this serie

Re: [PATCH v5] wlcore: spi: add wl18xx support

2016-07-18 Thread Kalle Valo
"Reizer, Eyal" writes: > Add support for using with both wl12xx and wl18xx. > > - all wilink family needs special init command for entering wspi mode. > extra clock cycles should be sent after the spi init command while the > cs pin is high. > - Use inverted chip select for sending a dummy 4

Re: [PATCH] mtd: update description of MTD_BCM47XXSFLASH symbol

2016-07-18 Thread Brian Norris
On Mon, Jul 18, 2016 at 12:07:03PM +0200, Rafał Miłecki wrote: > For years now we support writing to BCMA SoC serial flash, so don't > describe this driver as providing read-only support anymore. > > Signed-off-by: Rafał Miłecki Applied to l2-mtd.git

Re: [PATCH 1/2] dmi-id: don't free dev structure after calling device_register

2016-07-18 Thread Jean Delvare
On Thu, 14 Jul 2016 16:01:22 +0800, Allen Hung wrote: > dmi_dev is freed in error exit code but, according to the document > of device_register, it should never directly free device structure > after calling this function, even if it returned an error! Use > put_device() instead. > > Signed-off-by

[PATCH v2 0/2] led: is31fl32xx: minor improvements

2016-07-18 Thread H. Nikolaus Schaller
Changes V2: * added tested&acked-by David Rivshin (received off-list) * fixes: (received off-list) 2016-07-18 18:39:40: while developing the is31fl319x driver we found some minor issues relevant in the is31fl32xx driver. H. Nikolaus Schaller (2): led: is31fl32xx: fix typo in id and match tabl

[PATCH v2 1/2] led: is31fl32xx: fix typo in id and match table names

2016-07-18 Thread H. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller Tested-by: David Rivshin Acked-by: David Rivshin --- drivers/leds/leds-is31fl32xx.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/leds/leds-is31fl32xx.c b/drivers/leds/leds-is31fl32xx.c index c901d13..a53b71e 10064

[PATCH v2 2/2] led: is31fl32xx: define complete i2c_device_id table

2016-07-18 Thread H. Nikolaus Schaller
Otherwise the driver module will not be automatically probed. Fixes: 9d7cffaf99f5 ("leds: Add driver for the ISSI IS31FL32xx family of LED controllers") Fixes: e0442d7def8f ("leds: Add SN3218 and SN3216 support to the IS31FL32XX driver") Signed-off-by: H. Nikolaus Schaller Tested-by: David Rivsh

Re: [RFC PATCH 00/30] Kernel NET policy

2016-07-18 Thread Alexander Duyck
On Sun, Jul 17, 2016 at 11:55 PM, wrote: > From: Kan Liang > > It is a big challenge to get good network performance. First, the network > performance is not good with default system settings. Second, it is too > difficult to do automatic tuning for all possible workloads, since workloads > have

Re: [PATCH/RFC 2/6] spi: core: Add support for registering SPI slave controllers

2016-07-18 Thread Mark Brown
On Wed, Jun 22, 2016 at 03:42:05PM +0200, Geert Uytterhoeven wrote: > Add support for registering SPI slave controllers using the existing SPI > master framework: > - SPI slave controllers must set the SPI_MASTER_IS_SLAVE flag in > spi_master.flags, > - The "cs-gpios" property is ignored, >

Re: drm/ttm: Delete an unnecessary check before the function call "ttm_tt_destroy"

2016-07-18 Thread SF Markus Elfring
> When resending pls describe what changed (and why). v3: A bit of reformatting with current software v2: Broken patch where I managed to delete a "t" too much in a source code line somehow. v1: See also a similar update suggestion https://lkml.org/lkml/2015/11/16/416 Would you like to

Re: [RFC PATCH 30/30] Documentation/networking: Document net policy

2016-07-18 Thread Randy Dunlap
On 07/17/16 23:56, kan.li...@intel.com wrote: > From: Kan Liang > > Signed-off-by: Kan Liang > --- > Documentation/networking/netpolicy.txt | 158 > + > 1 file changed, 158 insertions(+) > create mode 100644 Documentation/networking/netpolicy.txt > > diff --gi

Re: [PATCH v2 10/10] binfmt_flat: allow compressed flat binary format to work on MMU systems

2016-07-18 Thread Nicolas Pitre
On Mon, 18 Jul 2016, One Thousand Gnomes wrote: > On Mon, 18 Jul 2016 11:45:53 -0400 (EDT) > Nicolas Pitre wrote: > > > On Mon, 18 Jul 2016, One Thousand Gnomes wrote: > > > > > On Sun, 17 Jul 2016 23:31:56 -0400 > > > Nicolas Pitre wrote: > > > > > > > Let's take the simple and obvious app

Re: [PATCH v2 10/10] binfmt_flat: allow compressed flat binary format to work on MMU systems

2016-07-18 Thread One Thousand Gnomes
On Mon, 18 Jul 2016 11:45:53 -0400 (EDT) Nicolas Pitre wrote: > On Mon, 18 Jul 2016, One Thousand Gnomes wrote: > > > On Sun, 17 Jul 2016 23:31:56 -0400 > > Nicolas Pitre wrote: > > > > > Let's take the simple and obvious approach by decompressing the binary > > > into a kernel buffer and th

Re: [PATCH v8 2/4] i2c-smbus: add SMBus Host Notify support

2016-07-18 Thread Jean Delvare
On Mon, 18 Jul 2016 17:59:02 +0200, Benjamin Tissoires wrote: > On Jul 18 2016 or thereabouts, Jean Delvare wrote: > > You provide stubs for SMBus Host Notify support if CONFIG_I2C_SMBUS is > > not selected. There are no such stubs for SMBus Alert support, for which > > I assumed drivers would sele

Re: [RFCv2 4/4] perf: util: support sysfs supported_cpumask file

2016-07-18 Thread Suzuki K Poulose
On 15/07/16 11:08, Mark Rutland wrote: For system PMUs, the perf tools have long expected a cpumask file under sysfs, describing the single CPU which they support events being opened/handled on. Prior patches in this series have reworked this support to support multiple CPUs in a mask, as is requ

Re: [PATCH v2 00/10] Exynos IOMMU: proper runtime PM support (use device dependencies)

2016-07-18 Thread Tobias Jakobi
Hey Marek, Marek Szyprowski wrote: > Dear Tobias > > > On 2016-07-18 13:00, Tobias Jakobi wrote: >> Marek Szyprowski wrote: >>> On 2016-07-15 15:21, Tobias Jakobi wrote: Tobias Jakobi wrote: > Hello Marek, > > I've tested the patchset on 4.7-rc7 and noticed that it breaks >

[PATCH 2/2] led: is31fl32xx: define complete i2c_device_id table

2016-07-18 Thread H. Nikolaus Schaller
Otherwise the driver module will not be automatically probed. Signed-off-by: H. Nikolaus Schaller --- drivers/leds/leds-is31fl32xx.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/leds/leds-is31fl32xx.c b/drivers/leds/leds-is31fl32xx.c index a53b71e..47884

[PATCH V2 0/3] perf/core: Miscellaneous fix for address filtering

2016-07-18 Thread Mathieu Poirier
This is the second wave of a patchset that address miscellaneous bugs encountered while implementing address filtering on CoreSight. The set has been tested, and applies cleanly, on 4.7-rc7. Thanks, Mathieu Changes since V1: . Simplified filename handling in function perf_event_parse_addr_filt

[PATCH 0/2] led: is31fl32xx: minor improvements

2016-07-18 Thread H. Nikolaus Schaller
while developing the is31fl319x driver we found some minor issues relevant in the is31fl32xx driver. H. Nikolaus Schaller (2): led: is31fl32xx: fix typo in id and match table names led: is31fl32xx: define complete i2c_device_id table drivers/leds/leds-is31fl32xx.c | 24 +++--

[PATCH V2 2/3] perf/core: Update filter only on executable mmap

2016-07-18 Thread Mathieu Poirier
Function perf_event_mmap() is called by the MM subsystem each time part of a binary is loaded in memory. There can be several mapping for a binary, many times unrelated to the code section. Each time a section of a binary is mapped address filters are updated, event when the map doesn't pertain t

[PATCH V2 1/3] perf/core: Fixing filename for start/stop filters

2016-07-18 Thread Mathieu Poirier
Binary file names have to be supplied for both range and start/stop filters but the current code only process the filename if an address range filter is specified. This code adds processing of the filename for start/stop filters. Signed-off-by: Mathieu Poirier --- kernel/events/core.c | 6 -

Re: [PATCH v1 1/1] x86/pci: Use MRFLD abbreviation for Merrifield

2016-07-18 Thread Bjorn Helgaas
On Wed, Jul 13, 2016 at 09:24:35AM +0200, Ingo Molnar wrote: > > Bjorn, we already have a few incidental changes to > arch/x86/pci/intel_mid_pci.c > pending in the tip:x86/platform tree: > > e99a0745bdf8 x86/pci, x86/platform/intel_mid_pci: Remove duplicate power off > code > 5823d0893ec2 x86/

[PATCH V2 3/3] perf/core: Enabling mapping of the stop filters

2016-07-18 Thread Mathieu Poirier
At this time function perf_addr_filter_needs_mmap() will _not_ return true on a user space 'stop' filter. But stop filters needs exactly the same kind of mapping that range and start filters get. Signed-off-by: Mathieu Poirier --- kernel/events/core.c | 15 +-- 1 file changed, 5 ins

[PATCH 1/2] led: is31fl32xx: fix typo in id and match table names

2016-07-18 Thread H. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller --- drivers/leds/leds-is31fl32xx.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/leds/leds-is31fl32xx.c b/drivers/leds/leds-is31fl32xx.c index c901d13..a53b71e 100644 --- a/drivers/leds/leds-is31fl32xx.c +++ b/driver

Re: [RFC PATCH 00/30] Kernel NET policy

2016-07-18 Thread Tom Herbert
On Mon, Jul 18, 2016 at 5:51 PM, Liang, Kan wrote: > > >> > >> > It is a big challenge to get good network performance. First, the >> > network performance is not good with default system settings. Second, >> > it is too difficult to do automatic tuning for all possible workloads, >> > since workl

Re: [PATCH v3 1/2] dt-bindings: Update iProc GPIO bindings

2016-07-18 Thread Ray Jui
Hi Rob, On 7/16/2016 2:20 PM, Rob Herring wrote: On Tue, Jul 12, 2016 at 10:39:17AM -0700, Ray Jui wrote: Update the iProc GPIO binding document to add new compatible strings "brcm,iproc-gpio-nsp" and "brcm,iproc-gpio-stingray" to support the iProc based GPIO controller used in the NSP and Stin

Re: [PATCH v8 2/4] i2c-smbus: add SMBus Host Notify support

2016-07-18 Thread Benjamin Tissoires
On Jul 18 2016 or thereabouts, Jean Delvare wrote: > Hi Benjamin, Wolfram, > > Now that I have reviewed the i2c-i801 part of the implementation, I'm > wondering... > > On Thu, 9 Jun 2016 16:53:48 +0200, Benjamin Tissoires wrote: > > +/** > > + * i2c_setup_smbus_host_notify - Allocate a new smbus

Re: [PATCH v2] virtio_blk: Fix a slient kernel panic

2016-07-18 Thread Cornelia Huck
On Tue, 19 Jul 2016 00:18:32 +0800 Minfei Huang wrote: > On 07/18/16 at 05:21P, Cornelia Huck wrote: > > On Mon, 18 Jul 2016 22:01:29 +0800 > > Minfei Huang wrote: > > > diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c > > > index 42758b5..d920512 100644 > > > --- a/drivers/b

Re: Revert c5ad33184354260be6d05de57e46a5498692f6d6 "mm/swap.c: flush lru pvecs on compound page arrival" from stable tree? Was:[osstest-ad...@xenproject.org: [Xen-devel] [linux-4.1 bisection] complet

2016-07-18 Thread Konrad Rzeszutek Wilk
On Mon, Jul 18, 2016 at 03:48:03PM +, Odzioba, Lukasz wrote: > On Monday, July 18, 2016 5:31 PM, Konrad Rzeszutek Wilk wrote: > > We found that your patch in the automated Xen test-case ends up > > OOMing the box when trying to install guests. This worked prior > > to your patch. > > > > See se

Re: [PATCH v3] arm64: dts: rockchip: Add basic support for orion-r68

2016-07-18 Thread Matthias Brugger
On 07/18/2016 03:13 AM, Shawn Lin wrote: 在 2016/7/15 18:09, Matthias Brugger 写道: This patch adds basic support for the Tronsmart orion r86 set-top-box. Signed-off-by: Matthias Brugger --- Changes since v2: - gpio-keys cleanpup - set sdmmc properties correctly It seems there are two "cap-mm

[PATCH v1 3/3] cgroup: relax common ancestor restriction for direct descendants

2016-07-18 Thread Aleksa Sarai
If we're moving from a parent to a direct descendant, the only end result (on cgroupv2 hierarchies) is that the process experiences more restrictive resource limits. Thus, there's no reason to restrict processes from moving to direct descendants based on whether or not they have cgroup.procs write

Re: [PATCH V2 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-07-18 Thread Stephen Warren
On 07/18/2016 01:44 AM, Joseph Lo wrote: Hi Rob, Thanks for your reviewing. On 07/12/2016 12:05 AM, Stephen Warren wrote: On 07/11/2016 08:22 AM, Rob Herring wrote: On Tue, Jul 05, 2016 at 05:04:24PM +0800, Joseph Lo wrote: The BPMP is a specific processor in Tegra chip, which is designed fo

Re: [PATCH 3/3] perf tests: Add is_printable_array test

2016-07-18 Thread Jiri Pirko
Sat, Jul 16, 2016 at 06:11:20PM CEST, jo...@kernel.org wrote: >Add automated test for is_printable_array function. > >Link: http://lkml.kernel.org/n/tip-if70lj3zhdc3csdqm5web...@git.kernel.org >Signed-off-by: Jiri Olsa >--- > tools/perf/tests/Build| 1 + > tools/perf/tests/builtin-

Re: [PATCH 3/5] mm, pagevec: Release/reacquire lru_lock on pgdat change

2016-07-18 Thread Johannes Weiner
On Fri, Jul 15, 2016 at 02:09:23PM +0100, Mel Gorman wrote: > With node-lru, the locking is based on the pgdat. Previously it was > required that a pagevec drain released one zone lru_lock and acquired > another zone lru_lock on every zone change. Now, it's only necessary if > the node changes. The

[PATCH v1 2/3] cgroup: allow for unprivileged subtree management

2016-07-18 Thread Aleksa Sarai
Use the new custom ->permission hook to allow unprivileged processes to mkdir new sub-cgroup directories of the root_cset of their current cgroup namespace. No process outside of the cgroup namespace (or in a sub-namespace) has this ability, and thus a process must have sufficient privileges to set

Re: [RFC PATCH 23/30] i40e/ethtool: support RX_CLS_LOC_ANY

2016-07-18 Thread Alexander Duyck
On Sun, Jul 17, 2016 at 11:56 PM, wrote: > From: Kan Liang > > The existing special location RX_CLS_LOC_ANY flag is designed for the > case which the caller does not know/care about the location. Now, this > flag is only handled in ethtool user space. If the kernel directly calls > the ETHTOOL_S

Re: [RFC PATCH 00/30] Kernel NET policy

2016-07-18 Thread Daniel Borkmann
Hi Kan, On 07/18/2016 08:55 AM, kan.li...@intel.com wrote: From: Kan Liang It is a big challenge to get good network performance. First, the network performance is not good with default system settings. Second, it is too difficult to do automatic tuning for all possible workloads, since worklo

[PATCH v1 0/3] cgroup: allow for unprivileged management

2016-07-18 Thread Aleksa Sarai
This is a rewrite of my old cgroup unprivileged subtree management[1] patchset. Rather than magically creating a new cgroup, I've instead modified kernfs so that we can have custom permission hooks. The following only applies to cgroupv2 trees, due to the fact that cgroupv1 doesn't explicitly requi

[PATCH v1 1/3] kernfs: add support for custom per-sb permission hooks

2016-07-18 Thread Aleksa Sarai
This allows for users of kernfs to create custom (and possibly less restrictive) permission checks for kernfs_nodes. The default is unchanged. This patch is part of the cgroupns unprivileged subtree management patchset. Cc: d...@opencontainers.org Signed-off-by: Aleksa Sarai --- fs/kernfs/inode.

Re: [PATCH v2] virtio_blk: Fix a slient kernel panic

2016-07-18 Thread Minfei Huang
On 07/18/16 at 05:21P, Cornelia Huck wrote: > On Mon, 18 Jul 2016 22:01:29 +0800 > Minfei Huang wrote: > > diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c > > index 42758b5..d920512 100644 > > --- a/drivers/block/virtio_blk.c > > +++ b/drivers/block/virtio_blk.c > > @@ -381,9

[RFC] locking/mutex: Fix starvation of sleeping waiters

2016-07-18 Thread Imre Deak
Currently a thread sleeping on a mutex wait queue can be delayed indefinitely by other threads managing to steal the lock, that is acquiring the lock out-of-order before the sleepers. I noticed this via a testcase (see the Reference: below) where one CPU was unlocking / relocking a mutex in a tight

Re: [RFC PATCH 00/30] Kernel NET policy

2016-07-18 Thread Florian Westphal
Liang, Kan wrote: > > What is missing in the kernel UAPI so userspace could do these settings on > > its > > own, without adding this policy stuff to the kernel? > > The main purpose of the proposal is to simplify the configuration. Too many > options will let them confuse. > For normal users,

Re: [PATCH 2/5] mm, vmscan: avoid passing in classzone_idx unnecessarily to compaction_ready -fix

2016-07-18 Thread Johannes Weiner
On Fri, Jul 15, 2016 at 02:09:22PM +0100, Mel Gorman wrote: > As pointed out by Vlastimil, there is a redundant check in shrink_zones > since commit "mm, vmscan: avoid passing in classzone_idx unnecessarily to > compaction_ready". The zonelist iterator only returns zones that already > meet the re

Re: [PATCH 1/5] mm, vmscan: make shrink_node decisions more node-centric -fix

2016-07-18 Thread Johannes Weiner
On Fri, Jul 15, 2016 at 02:09:21PM +0100, Mel Gorman wrote: > The patch "mm, vmscan: make shrink_node decisions more node-centric" > checks whether compaction is suitable on empty nodes. This is expensive > rather than wrong but is worth fixing. > > This is a fix to the mmotm patch > mm-vmscan-mak

[PATCH] [BUGFIX] perf-probe: Warn unmatched function filter correctly

2016-07-18 Thread Masami Hiramatsu
Warn unmatched function filter correctly instead of warning "symbol-loading error", since that can be a filter issue. >From the technical point of view, this adds a filter chech in map__load and if there is a filter, it returns -2 (filter-out), instead of -1 (error), and perf-probe checks it and c

Re: [PATCH 2/3] mm, vmscan: Release/reacquire lru_lock on pgdat change

2016-07-18 Thread Johannes Weiner
On Mon, Jul 18, 2016 at 03:50:25PM +0100, Mel Gorman wrote: > With node-lru, the locking is based on the pgdat. As Minchan pointed > out, there is an opportunity to reduce LRU lock release/acquire in > check_move_unevictable_pages by only changing lock on a pgdat change. > > Signed-off-by: Mel Gor

Re: [PATCH 3/3] mm, vmstat: remove zone and node double accounting by approximating retries -fix

2016-07-18 Thread Johannes Weiner
On Mon, Jul 18, 2016 at 03:50:26PM +0100, Mel Gorman wrote: > As pointed out by Vlastimil, the atomic_add() functions are already assumed > to be able to handle negative numbers. The atomic_sub handling was wrong > anyway but this patch fixes it unconditionally. > > This is a fix to the mmotm patc

[PATCH] power:bq27xxx: 27000/10 read FLAGS register as single

2016-07-18 Thread H. Nikolaus Schaller
The bq27000 and bq27010 have a single byte FLAGS register. Other gauges have 16 bit FLAGS registers. For reading the FLAGS register it is sufficient to read the single register instead of reading RSOC at the next higher address as well and then ignore the high byte. This does not change functiona

Re: [PATCH 1/3] mm, vmscan: Remove redundant check in shrink_zones()

2016-07-18 Thread Johannes Weiner
On Mon, Jul 18, 2016 at 03:50:24PM +0100, Mel Gorman wrote: > As pointed out by Minchan Kim, shrink_zones() checks for populated > zones in a zonelist but a zonelist can never contain unpopulated > zones. While it's not related to the node-lru series, it can be > cleaned up now. > > Suggested-by:

[PATCH] w1:omap_hdq: fix regression

2016-07-18 Thread H. Nikolaus Schaller
commit ("w1: masters: omap_hdq: add support for 1-wire mode") did add a statement to clear the hdq_irqstatus flags in hdq_read_byte(). If the hdq reading process is scheduled slowly or interrupts are disabled for a while the hardware read activity might already be finished on entry of hdq_read_by

<    1   2   3   4   5   6   7   8   9   >