Re: [PATCH v4] iio: chemical: Add support for Bosch BME680 sensor

2018-07-23 Thread David Frey
On 7/22/2018 3:21 PM, Himanshu Jha wrote: On Sat, Jul 21, 2018 at 08:45:34PM +0300, Daniel Baluta wrote: On Sat, Jul 21, 2018 at 6:43 PM, Andy Shevchenko wrote: On Sat, Jul 21, 2018 at 6:36 PM, Himanshu Jha wrote: + /* Look up table 1 for the possible gas range values */ + u32

Re: [PATCH] mtd: spi-nor: clear Extended Address Reg on switch to 3-byte addressing.

2018-07-23 Thread Brian Norris
Hi Neil, On Mon, Jul 23, 2018 at 2:45 PM, NeilBrown wrote: > On Mon, Jul 23 2018, Brian Norris wrote: >> On Mon, Apr 9, 2018 at 6:05 PM, NeilBrown wrote: >>> On Mon, Apr 09 2018, Marek Vasut wrote: On 04/08/2018 11:56 PM, NeilBrown wrote: > were added to Linux. They appear to be

[PATCH 2/2] PCI: NVMe device specific reset quirk

2018-07-23 Thread Alex Williamson
Take advantage of NVMe devices using a standard interface to quiesce the controller prior to reset, including device specific delays before and after that reset. This resolves several NVMe device assignment scenarios with two different vendors. The Intel DC P3700 controller has been shown to

Re: [PATCH v3 1/3] Input: edt-ft5x06 - Add support for regulator

2018-07-23 Thread Dmitry Torokhov
On Thu, Jul 19, 2018 at 12:46:45AM +0200, Ondřej Jirman wrote: > Hello Mylène, > > On Wed, Jul 18, 2018 at 08:27:17PM +0200, Mylène Josserand wrote: > > Add the support of regulator to use it as VCC source. > > > > Signed-off-by: Mylène Josserand > > --- > >

Re: [PATCH] dt-bindings: remove 'interrupt-parent' from bindings

2018-07-23 Thread Vladimir Zapolskiy
Hi Rob, On 07/24/2018 01:13 AM, Rob Herring wrote: > 'interrupt-parent' is often documented as part of define bindings, but > it is really outside the scope of a device binding. It's never required > in a given node as it is often inherited from a parent node. Or it can > be implicit if a parent

[PATCH] remoteproc/davinci: Mark error recovery as disabled

2018-07-23 Thread Suman Anna
The Davinci remoteproc driver does not support error recovery at present, so mark the corresponding remoteproc flag appropriately so that the debugfs flag shows the value as 'disabled' by default. Signed-off-by: Suman Anna --- drivers/remoteproc/da8xx_remoteproc.c | 3 +++ 1 file changed, 3

Re: [PATCH v10 7/7] Bluetooth: hci_qca: Add support for Qualcomm Bluetooth chip wcn3990

2018-07-23 Thread Matthias Kaehlcke
On Fri, Jul 20, 2018 at 07:02:43PM +0530, Balakrishna Godavarthi wrote: > Add support to set voltage/current of various regulators > to power up/down Bluetooth chip wcn3990. > > Signed-off-by: Balakrishna Godavarthi > --- > changes in v10: > * added support to read regulator currents from

Re: [PATCH] tpm: add support for partial reads

2018-07-23 Thread Jarkko Sakkinen
On Thu, Jul 19, 2018 at 08:52:32AM -0700, Tadeusz Struk wrote: > Currently to read a response from the TPM device an application needs > provide "big enough" buffer for the whole response and read it in one go. > The application doesn't know how big the response it beforehand so it > always needs

[PATCH 10/15] staging:rtl8192u: Remove unused structure QOS_TSTREAM - Style

2018-07-23 Thread John Whitmore
The structure QOS_TSTREAM is unused in code so has simply been removed. This change is a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 11 --- 1 file changed, 11 deletions(-)

[PATCH 07/15] staging:rtl8192u: Remove unused union QOS_INFO_FIELD - Style

2018-07-23 Thread John Whitmore
The union QOS_INFO_FIELD is unused in code so has been removed from source. This change is a coding style change so should have no impact on runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 86 --- 1 file changed, 86

[PATCH 03/15] staging:rtl8192u: Remove unused QOS definitions - Style

2018-07-23 Thread John Whitmore
Remove the unused QOS related types. Since definitions are not used simply remove from code. This change is a coding style change and should not impact runtime execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 22 --- 1 file changed, 22

[PATCH 06/15] staging:rtl8192u: Remove unused structure QOS_CTRL_FIELD - Style

2018-07-23 Thread John Whitmore
The structure QOS_CTRL_FIELD is unused in code so has simply been removed from source. This is a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 50 --- 1 file changed, 50

[PATCH 12/15] staging:rtl8192u: Remove unused enumerated type ACM_METHOD - Style

2018-07-23 Thread John Whitmore
Remove the enumerated type ACM_METHOD as it is unused in code. This is a coding style change and should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 11 --- 1 file changed, 11 deletions(-) diff --git

[PATCH 08/15] staging:rtl8192u: Remove the unused AC_CODING definitions - Style

2018-07-23 Thread John Whitmore
The AC_CODING definitions are unused in code, so have simply been removed from source. This is a coding style change and should not impact runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 20 --- 1 file changed, 20

[PATCH 14/15] staging:rtl8192u: Remove unused AC_UAPSD definitions - Style

2018-07-23 Thread John Whitmore
Remove the definitions associated with AC_UAPSD. These definitions are not used in code so have simply been removed. This is a coding style change and should have no impact on runtime execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 15

[PATCH 15/15] staging:rtl8192u: Remove unused definition of sQoSCtlLng - Style

2018-07-23 Thread John Whitmore
Remove sQoSCtlLng. The constant sQoSCtlLng is never used in code so has been removed. This is a coding style change so should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 6 -- 1 file changed, 6 deletions(-)

Re: [PATCH v6] pidns: introduce syscall translate_pid

2018-07-23 Thread Nagarathnam Muthusamy
On 07/23/2018 01:55 PM, Michael Tirado wrote: Hey, I'm not seeing much activity on this so here's my $0.02 Unix socket automatically translates pid attached to SCM_CREDENTIALS. This requires CAP_SYS_ADMIN for sending arbitrary pids and entering into pid namespace, this expose process and

Re: [PATCH v5] PCI: Check for PCIe downtraining conditions

2018-07-23 Thread Tal Gilboa
On 7/24/2018 12:01 AM, Jakub Kicinski wrote: On Mon, 23 Jul 2018 15:03:38 -0500, Alexandru Gagniuc wrote: PCIe downtraining happens when both the device and PCIe port are capable of a larger bus width or higher speed than negotiated. Downtraining might be indicative of other problems in the

Re: [PATCH 4.4 000/107] 4.4.144-stable review

2018-07-23 Thread Dan Rue
//git.linaro.org/lkft/arm64-stable-rc.git git branch: 4.4.144-rc1-hikey-20180723-241 git commit: 74ff347a1f4bd5b91588a4025bfd29ae7a28329d git describe: 4.4.144-rc1-hikey-20180723-241 Test details: https://qa-reports.linaro.org/lkft/linaro-hikey-stable-rc-4.4-oe/build/4.4.144-rc1-hikey-20180723-241 No

Re: [PATCH v5] PCI: Check for PCIe downtraining conditions

2018-07-23 Thread Jakub Kicinski
On Tue, 24 Jul 2018 00:52:22 +0300, Tal Gilboa wrote: > On 7/24/2018 12:01 AM, Jakub Kicinski wrote: > > On Mon, 23 Jul 2018 15:03:38 -0500, Alexandru Gagniuc wrote: > >> PCIe downtraining happens when both the device and PCIe port are > >> capable of a larger bus width or higher speed than

Re: [PATCH] mtd: spi-nor: clear Extended Address Reg on switch to 3-byte addressing.

2018-07-23 Thread NeilBrown
On Mon, Jul 23 2018, Brian Norris wrote: > Hi Neil, > > On Mon, Jul 23, 2018 at 2:45 PM, NeilBrown wrote: >> On Mon, Jul 23 2018, Brian Norris wrote: >>> On Mon, Apr 9, 2018 at 6:05 PM, NeilBrown wrote: On Mon, Apr 09 2018, Marek Vasut wrote: > On 04/08/2018 11:56 PM, NeilBrown wrote:

Re: [PATCH v1 07/10] Input: atmel_mxt_ts - zero terminate config firmware file

2018-07-23 Thread Dmitry Torokhov
On Fri, Jul 20, 2018 at 10:51:19PM +0100, Nick Dyer wrote: > From: Nick Dyer > > We use sscanf to parse the configuration file, so it's necessary to zero > terminate the configuration otherwise a truncated file can cause the > parser to run off into uninitialised memory. > > Signed-off-by: Nick

HI

2018-07-23 Thread Mrs Suzara Maling Wan
-- I am Mrs Suzara i have a pending project of fulfillment to put in your hand, i will need your support to make this ream come through, could you le me know your interest to enable me give you further information, and I hereby advice that you send the below mentioned information I

Re: kernel BUG at mm/shmem.c:LINE!

2018-07-23 Thread Hugh Dickins
On Mon, 23 Jul 2018, Matthew Wilcox wrote: > On Mon, Jul 23, 2018 at 12:14:41PM -0700, Hugh Dickins wrote: > > On Mon, 23 Jul 2018, Matthew Wilcox wrote: > > > On Sun, Jul 22, 2018 at 07:28:01PM -0700, Hugh Dickins wrote: > > > > Whether or not that fixed syzbot's kernel BUG at mm/shmem.c:815! > >

Re: [PATCHv3 2/2] mtd: m25p80: restore the status of SPI flash when exiting

2018-07-23 Thread NeilBrown
On Mon, Jul 23 2018, Brian Norris wrote: > Hi Boris, > > On Mon, Jul 23, 2018 at 1:10 PM, Boris Brezillon > wrote: >> On Mon, 23 Jul 2018 11:13:50 -0700 >> Brian Norris wrote: >>> I noticed this got merged, but I wanted to put my 2 cents in here: >> >> I wish you had replied to this thread when

[PATCH 1/2] goldfish: Add missing includes to goldfish.h

2018-07-23 Thread rkir
From: Roman Kiryanov goldfish.h refers to external symbols such as dma_addr_t and writel. This causes compilation errors if this file is included before other header files. The mentioned symbols are defined in types.h (dma_addr_t) and io.h (writel). Signed-off-by: Roman Kiryanov ---

[PATCH 2/2] goldfish: Use dedicated macros instead of manual bit shifting

2018-07-23 Thread rkir
From: Roman Kiryanov There are dedicated macros (lower_32_bits and upper_32_bits) available to extract the lower and upper 32 bits. They provide better readability and could prevent some compilation warnings. Signed-off-by: Roman Kiryanov --- include/linux/goldfish.h | 11 +++ 1 file

Re: [PATCH 2/2] cpufreq: Fix a circular lock dependency problem

2018-07-23 Thread Peter Zijlstra
On Mon, Jul 23, 2018 at 01:49:39PM -0400, Waiman Long wrote: > drivers/cpufreq/cpufreq.c | 16 +++- > 1 file changed, 15 insertions(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c > index b0dfd32..9cf02d7 100644 > ---

Re: [PATCH 2/2] cpufreq: Fix a circular lock dependency problem

2018-07-23 Thread Waiman Long
On 07/23/2018 03:16 PM, Peter Zijlstra wrote: > On Mon, Jul 23, 2018 at 01:49:39PM -0400, Waiman Long wrote: >> drivers/cpufreq/cpufreq.c | 16 +++- >> 1 file changed, 15 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c >> index

Re: [PATCH] sched/numa: do not balance tasks onto isolated cpus

2018-07-23 Thread kbuild test robot
Hi Chen, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/sched/core] [also build test ERROR on v4.18-rc6 next-20180723] [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] mm/mempool: add missing parameter description

2018-07-23 Thread David Rientjes
On Mon, 23 Jul 2018, Mike Rapoport wrote: > The kernel-doc for mempool_init function is missing the description of the > pool parameter. Add it. > > Signed-off-by: Mike Rapoport Acked-by: David Rientjes My b.

[PATCH 00/15] Removal of usused definitions - Style

2018-07-23 Thread John Whitmore
Clean up of the file drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h A number of the definitions in the file are unused so were removed from the file. John Whitmore (15): staging:rtl8192u: Remove typedef of u32 to QOS_MODE - Style staging:rtl8192u: Remove unused enumerated type ACK_POLICY -

[PATCH 02/15] staging:rtl8192u: Remove unused enumerated type ACK_POLICY - Style

2018-07-23 Thread John Whitmore
The enumerated type ACK_POLICY is not used in code so it has been removed from the source code. This is a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 9 - 1 file changed, 9

[PATCH 05/15] staging:rtl8192u: Remove unused structure STA_QOS - Style

2018-07-23 Thread John Whitmore
Remove structure STA_QOS as it is unused in code. This change is a coding style change so should not impact runtime code execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 53 --- 1 file changed, 53 deletions(-) diff --git

[PATCH 01/15] staging:rtl8192u: Remove typedef of u32 to QOS_MODE - Style

2018-07-23 Thread John Whitmore
The typedef of QOS_MODE as a u32 is contrary to coding standard and fails the checkpatch tests for defining new types in code. Definitions of type QOS_MODE have simply been replaced with a u32 type. This is a coding style change which should not impact runtime execution. Signed-off-by: John

[PATCH 04/15] staging:rtl8192u: Removed unused structure BSS_QOS - Style

2018-07-23 Thread John Whitmore
The structure BSS_QOS is not used in code so has simply been removed. The change is a coding style change and should not impact runtime execution. Signed-off-by: John Whitmore --- .../staging/rtl8192u/ieee80211/rtl819x_Qos.h | 19 --- 1 file changed, 19 deletions(-) diff --git

[PATCH 11/15] staging:rtl8192u: Remove unused structure WMM_TSPEC - Style

2018-07-23 Thread John Whitmore
Remove the structure WMM_TSPEC as it is unused. This change is a coding style change and should not impact runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 15 --- 1 file changed, 15 deletions(-) diff --git

[PATCH 09/15] staging:rtl8192u: Remove unused enumerated type QOS_ELE_SUBTYPE - Style

2018-07-23 Thread John Whitmore
The enumerated type QOS_ELE_SUBTYPE is unused in code so has been removed from code. This is a coding style change which should have not impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 11 --- 1 file changed, 11

[PATCH 13/15] staging:rtl8192u: Remove unused structure ACM - Style

2018-07-23 Thread John Whitmore
Remove the structure ACM as it is unused in code. This change is a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/ieee80211/rtl819x_Qos.h | 7 --- 1 file changed, 7 deletions(-) diff --git

Re: linux-next: Tree for Jul 23

2018-07-23 Thread Stephen Rothwell
Hi Michael, On Tue, 24 Jul 2018 00:35:22 +1000 Michael Ellerman wrote: > > Would you mind adding my "topic/hvc" branch to linux-next. > > We (ppc) are notionally the maintainers for that code but it's used by > some other folks, so I'd like it to get some wider testing before I > commit it. >

[PATCH v2] IB/mlx5: avoid excessive warning msgs when creating VFs on 2nd port

2018-07-23 Thread Qing Huang
When a CX5 device is configured in dual-port RoCE mode, after creating many VFs against port 1, creating the same number of VFs against port 2 will flood kernel/syslog with something like "mlx5_*:mlx5_ib_bind_slave_port:4266:(pid 5269): port 2 already affiliated." So basically, when traversing

Re: [PATCH] mtd: spi-nor: clear Extended Address Reg on switch to 3-byte addressing.

2018-07-23 Thread NeilBrown
On Mon, Jul 23 2018, Brian Norris wrote: > Hi, > > I'm a little late to this thread, but I recently noticed (and > complained about) commit: 59b356ffd0b0 ("mtd: m25p80: restore the > status of SPI flash when exiting"). > > On Mon, Apr 9, 2018 at 6:05 PM, NeilBrown wrote: >> On Mon, Apr 09 2018,

[PATCH] android: binder_alloc: Include asm/cacheflush.h after linux/ include files

2018-07-23 Thread Guenter Roeck
If asm/cacheflush.h is included first, the following build warnings are seen with sparc32 builds. In file included from ./arch/sparc/include/asm/cacheflush.h:11:0, from drivers/android/binder_alloc.c:20: ./arch/sparc/include/asm/cacheflush_32.h:40:37: warning: 'struct page'

Re: [PATCH 1/5] mfd: rk808: Add RK817 and RK809 support

2018-07-23 Thread kbuild test robot
Hi Tony, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on ljones-mfd/for-mfd-next] [also build test WARNING on v4.18-rc6 next-20180723] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH] tpm: add support for partial reads

2018-07-23 Thread Tadeusz Struk
On 07/23/2018 02:56 PM, Jason Gunthorpe wrote: > The proposed patch doesn't clear the data_pending if the entire buffer > is not consumed, so of course it is ABI breaking, that really isn't OK. The data_pending will be cleared by the timeout handler if the user doesn't read the response fully

[PATCH 1/2] PCI: Export pcie_has_flr()

2018-07-23 Thread Alex Williamson
pcie_flr() suggests pcie_has_flr() to ensure that PCIe FLR support is present prior to calling. pcie_flr() is exported while pcie_has_flr() is not. Resolve this. Signed-off-by: Alex Williamson --- drivers/pci/pci.c |3 ++- include/linux/pci.h |1 + 2 files changed, 3 insertions(+),

[PATCH 0/2] PCI: NVMe reset quirk

2018-07-23 Thread Alex Williamson
As discussed in the 2nd patch, at least one NVMe controller sometimes doesn't like being reset while enabled and another will timeout during a subsequent re-enable if it happens too quickly after reset. Introduce a device specific reset quirk for all NVMe class devices so that we can try to get

linux-next: manual merge of the arm64 tree with Linus' tree

2018-07-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm64 tree got a conflict in: arch/arm64/Makefile between commits: 38fc42486775 ("arm64: Use aarch64elf and aarch64elfb emulation mode variants") 2893af07e507 ("arm64: add endianness option to LDFLAGS instead of LD") 96f95a17c1cf ("Revert "arm64:

Re: [PATCH v4] iio: chemical: Add support for Bosch BME680 sensor

2018-07-23 Thread Himanshu Jha
On Mon, Jul 23, 2018 at 03:16:10PM -0700, David Frey wrote: > On 7/22/2018 3:21 PM, Himanshu Jha wrote: > >On Sat, Jul 21, 2018 at 08:45:34PM +0300, Daniel Baluta wrote: > >>On Sat, Jul 21, 2018 at 6:43 PM, Andy Shevchenko > >> wrote: > >>>On Sat, Jul 21, 2018 at 6:36 PM, Himanshu Jha > >>> wrote:

Re: [patch v3 -mm 3/6] mm, memcg: add hierarchical usage oom policy

2018-07-23 Thread David Rientjes
On Mon, 23 Jul 2018, Roman Gushchin wrote: > > Roman, I'm trying to make progress so that the cgroup aware oom killer is > > in a state that it can be merged. Would you prefer a second tunable here > > to specify a cgroup's points includes memory from its subtree? > > Hi, David! > > It's

Re: [PATCHv3 2/2] mtd: m25p80: restore the status of SPI flash when exiting

2018-07-23 Thread Boris Brezillon
On Tue, 24 Jul 2018 08:46:33 +1000 NeilBrown wrote: > On Mon, Jul 23 2018, Brian Norris wrote: > > > Hi Boris, > > > > On Mon, Jul 23, 2018 at 1:10 PM, Boris Brezillon > > wrote: > >> On Mon, 23 Jul 2018 11:13:50 -0700 > >> Brian Norris wrote: > >>> I noticed this got merged, but I wanted

Re: [PATCH v2 00/19] Fixes for sched/numa_balancing

2018-07-23 Thread Srikar Dronamraju
* Peter Zijlstra [2018-07-23 15:57:00]: > On Wed, Jun 20, 2018 at 10:32:41PM +0530, Srikar Dronamraju wrote: > > Srikar Dronamraju (19): > > sched/numa: Remove redundant field. > > sched/numa: Evaluate move once per node > > sched/numa: Simplify load_too_imbalanced > > sched/numa: Set

Re: [PATCH 4.9 00/28] 4.9.115-stable review

2018-07-23 Thread Nathan Chancellor
On Mon, Jul 23, 2018 at 02:25:00PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.115 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

[PATCH 2/5] KEYS: Add a notification facility

2018-07-23 Thread David Howells
Add a key/keyring change notification facility whereby notifications about changes in key and keyring content and attributes can be received. Firstly, an event queue needs to be created: fd = open("/dev/event_queue", O_RDWR); then a notification can be set up to report notifications via

[PATCH 3/5] vfs: Add a mount-notification facility

2018-07-23 Thread David Howells
[*] Note that this needs some cleaning up and not all the events work yet. Add a mount notification facility whereby notifications about changes in mount topology and configuration can be received. Note that this only covers vfsmount topology changes and not superblock events. A separate

[PATCH 5/5] Add sample notification program

2018-07-23 Thread David Howells
This needs to be linked with -lkeyutils. It is run like: ./watch_test and watches "/" for mount changes and the current session keyring for key changes: # keyctl add user a a @s 1035096409 # keyctl unlink 1035096409 @s # mount -t tmpfs none

[PATCH 4/5] vfs: Add superblock notifications

2018-07-23 Thread David Howells
Add a superblock event notification facility whereby notifications about superblock events, such as I/O errors (EIO), quota limits being hit (EDQUOT) and running out of space (ENOSPC) can be reported to a monitoring process asynchronously. Note that this does not cover vfsmount topology changes.

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Arnd Bergmann
On Mon, Jul 23, 2018 at 11:41 AM, Boris Brezillon wrote: > On Mon, 23 Jul 2018 11:34:43 +0200 > Arnd Bergmann wrote: > >> On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon >> wrote: >> > +Arnd, Rob and the DT ML. >> > >> > On Sat, 21 Jul 2018 14:53:47 -0700 >> > Randy Dunlap wrote: >> > >> >>

Re: [PATCH v2 10/12] sched/core: uclamp: use TG's clamps to restrict Task's clamps

2018-07-23 Thread Patrick Bellasi
On 21-Jul 20:05, Suren Baghdasaryan wrote: > On Mon, Jul 16, 2018 at 1:29 AM, Patrick Bellasi > wrote: > > When a task's util_clamp value is configured via sched_setattr(2), this > > value has to be properly accounted in the corresponding clamp group > > every time the task is enqueued and

Re: [PATCH 3/4] perf/x86/intel/ds: Handle PEBS overflow for fixed counters

2018-07-23 Thread Liang, Kan
On 7/23/2018 12:21 PM, Peter Zijlstra wrote: On Mon, Jul 23, 2018 at 04:59:44PM +0200, Peter Zijlstra wrote: On Thu, Mar 08, 2018 at 06:15:41PM -0800, kan.li...@linux.intel.com wrote: diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c index ef47a418d819..86149b87cce8

[PATCH v2 2/4] staging:fsl-mc: Move DPIO from staging to drivers/soc/fsl

2018-07-23 Thread Roy Pledge
Move the NXP DPIO (Datapath I/O Driver) out of the drivers/staging directory and into the drivers/soc/fsl directory. The DPIO driver enables access to Queue and Buffer Manager (QBMAN) hardware on NXP DPAA2 devices. This is a prerequisite to moving the DPAA2 Ethernet driver out of staging.

[PATCH v2 3/4] drivers/staging: Remove fsl-mc driver from staging

2018-07-23 Thread Roy Pledge
Remove the staging/drivers/fsl-mc directory from the staging area now that all the components have been moved to the main kernel areas. Signed-off-by: Roy Pledge --- drivers/staging/Kconfig | 2 -- drivers/staging/Makefile| 1 - drivers/staging/fsl-mc/Kconfig | 2 --

[PATCH v2 4/4] drivers/soc/fsl/dpio: Convert DPIO documentation to .rst

2018-07-23 Thread Roy Pledge
Convert the Datapath I/O documentation to .rst format and move to the Documation/networking/dpaa2 directory Signed-off-by: Roy Pledge --- .../networking/dpaa2/dpio-driver.rst | 30 +++--- Documentation/networking/dpaa2/index.rst | 1 + 2 files changed,

Re: [PATCH 1/2] Add sw2_sw4 voltage table to cpcap regulator.

2018-07-23 Thread Mark Brown
On Fri, Jul 20, 2018 at 08:43:49PM -0400, Peter Geis wrote: > SW2 and SW4 use a shared table to provide voltage to the cpu core and > devices on Tegra hardware. > Added this table to the cpcap regulator driver as the first step to > supporting this device on Tegra. This fails to apply with:

Re: [PATCH v3] PCI: Check for PCIe downtraining conditions

2018-07-23 Thread Alex G.
On 07/23/2018 12:21 AM, Tal Gilboa wrote: On 7/19/2018 6:49 PM, Alex G. wrote: On 07/18/2018 08:38 AM, Tal Gilboa wrote: On 7/16/2018 5:17 PM, Bjorn Helgaas wrote: [+cc maintainers of drivers that already use pcie_print_link_status() and GPU folks] [snip] +    /* Multi-function PCIe

Applied "regmap: sccb: fix typo and sort headers alphabetically" to the regmap tree

2018-07-23 Thread Mark Brown
The patch regmap: sccb: fix typo and sort headers alphabetically has been applied to the regmap tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH] firmware: vpd: Fix section enabled flag on vpd_section_destroy

2018-07-23 Thread Dmitry Torokhov
On Mon, Jul 23, 2018 at 07:48:57PM +0300, Anton Vasilyev wrote: > static struct ro_vpd and rw_vpd are initialized by vpd_sections_init() > in vpd_probe() based on header's ro and rw sizes. > In vpd_remove() vpd_section_destroy() performs deinitialization based > on enabled flag, which is set to

Re: [PATCH] firmware: vpd: Fix section enabled flag on vpd_section_destroy

2018-07-23 Thread Dmitry Torokhov
On Mon, Jul 23, 2018 at 10:13:36AM -0700, Guenter Roeck wrote: > On Mon, Jul 23, 2018 at 07:48:57PM +0300, Anton Vasilyev wrote: > > static struct ro_vpd and rw_vpd are initialized by vpd_sections_init() > > in vpd_probe() based on header's ro and rw sizes. > > In vpd_remove()

Re: [PATCH v2 08/12] sched/core: uclamp: extend cpu's cgroup controller

2018-07-23 Thread Patrick Bellasi
On 23-Jul 08:30, Tejun Heo wrote: > Hello, Hi Tejun! > On Mon, Jul 16, 2018 at 09:29:02AM +0100, Patrick Bellasi wrote: > > The cgroup's CPU controller allows to assign a specified (maximum) > > bandwidth to the tasks of a group. However this bandwidth is defined and > > enforced only on a

Re: [PATCH v1 0/2] mm/kdump: exclude reserved pages in dumps

2018-07-23 Thread David Hildenbrand
On 23.07.2018 14:30, Michal Hocko wrote: > On Mon 23-07-18 13:45:18, Vlastimil Babka wrote: >> On 07/20/2018 02:34 PM, David Hildenbrand wrote: >>> Dumping tools (like makedumpfile) right now don't exclude reserved pages. >>> So reserved pages might be access by dump tools although nobody except

Re: [PATCH] IB/mlx5: avoid binding a new mpi unit to the same devices repeatedly

2018-07-23 Thread Daniel Jurgens
On 7/23/2018 10:36 AM, Qing Huang wrote: > > Hi Daniel/Parav, > > Have you got a chance to review this patch? Thanks! Hi Qing, sorry for the delay, I just got back to the office today. I don't agree with the proposed fix, I provided an alternative suggestion below. > >>> Or. >>>

Re: Very slow SYS_io_destroy()

2018-07-23 Thread Jeff Moyer
Alex Richman writes: > Hi, > > I'm seeing some weirdness with AIO, specifically SYS_io_destroy() is > taking upwards of ~10 microseconds (~100 miliseconds) per call. > How long is that call expected to take?  I can see from the source Well, it waits for an RCU grace period. I would not

Re: [PATCH v2 00/19] Fixes for sched/numa_balancing

2018-07-23 Thread Rik van Riel
On Mon, 2018-07-23 at 08:09 -0700, Srikar Dronamraju wrote: > * Peter Zijlstra [2018-07-23 15:57:00]: > > > On Wed, Jun 20, 2018 at 10:32:41PM +0530, Srikar Dronamraju wrote: > > > Srikar Dronamraju (19): > > > > > sched/numa: Stop multiple tasks from moving to the cpu at the > > > same time

[PATCH 02/12] mfd: wcd9335: add support to wcd9335 core

2018-07-23 Thread Srinivas Kandagatla
Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, It has mulitple blocks like Soundwire controller, codec, Codec processing engine, ClassH controller, interrupt mux. It supports both I2S/I2C and SLIMbus audio interfaces. This patch adds support to SLIMbus audio interface.

[PATCH 01/12] mfd: dt-bindings: Add wcd9335 mfd bindings

2018-07-23 Thread Srinivas Kandagatla
Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, supports Qualcomm Technologies, Inc. (QTI) multimedia solutions, including the MSM8996, MSM8976, and MSM8956 chipsets. It has in-build Soundwire controller, interrupt mux. It supports both I2S/I2C and SLIMbus audio interfaces.

[PATCH 04/12] ASoC: dt-bindings: add dt bindings for wcd9335 audio codec

2018-07-23 Thread Srinivas Kandagatla
This patch adds bindings for wcd9335 audio codec which can support both SLIMbus and I2S/I2C interface. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,wcd9335.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644

Re: [PATCH 4.9 00/28] 4.9.115-stable review

2018-07-23 Thread Greg Kroah-Hartman
On Mon, Jul 23, 2018 at 08:12:09AM -0700, Nathan Chancellor wrote: > On Mon, Jul 23, 2018 at 02:25:00PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.115 release. > > There are 28 patches in this series, all will be posted as a response > > to this

[PATCH v2] fs: ceph: Adding new return type vm_fault_t

2018-07-23 Thread Souptick Joarder
Use new return type vm_fault_t for page_mkwrite and fault handler. Signed-off-by: Souptick Joarder Reviewed-by: Matthew Wilcox --- v2: Fixed kbuild warning fs/ceph/addr.c | 62 ++ 1 file changed, 32 insertions(+), 30 deletions(-) diff

[PATCH] sun4i: dts: add gpu node to sun4i-a10 platform

2018-07-23 Thread stevenvandenbrandenstift
From: Steven Vanden Branden Add mali gpu node to sun4i a10 platforms. Tested with offscreen rendering with lima mesa (freedesktop gitlab) Signed-off-by: Steven Vanden Branden --- arch/arm/boot/dts/sun4i-a10.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git

Re: [PATCH 3/4] perf/x86/intel/ds: Handle PEBS overflow for fixed counters

2018-07-23 Thread Peter Zijlstra
On Mon, Jul 23, 2018 at 04:59:44PM +0200, Peter Zijlstra wrote: > On Thu, Mar 08, 2018 at 06:15:41PM -0800, kan.li...@linux.intel.com wrote: > > diff --git a/arch/x86/events/intel/core.c b/arch/x86/events/intel/core.c > > index ef47a418d819..86149b87cce8 100644 > > ---

RE: [PATCH] IB/mlx5: avoid binding a new mpi unit to the same devices repeatedly

2018-07-23 Thread Parav Pandit
Hi Qing, > -Original Message- > From: Qing Huang [mailto:qing.hu...@oracle.com] > Sent: Monday, July 23, 2018 10:36 AM > To: Daniel Jurgens ; Or Gerlitz > ; Parav Pandit > Cc: Linux Kernel ; RDMA mailing list r...@vger.kernel.org>; Jason Gunthorpe ; Doug Ledford > ; Leon Romanovsky ; >

Re: [RFC][PATCH 0/5] Mount, Filesystem and Keyrings notifications

2018-07-23 Thread Casey Schaufler
On 7/23/2018 8:25 AM, David Howells wrote: > Hi Al, > > Here's a set of patches to add a general variable-length notification queue > concept and to add sources of events for: Overall I approve. The interface is a bit clunky. Some concerns below. > > (1) Mount topology and reconfiguration

Re: [PATCH v2 08/10] coresight: perf: Add helper to retrieve sink configuration

2018-07-23 Thread Mathieu Poirier
On Fri, 20 Jul 2018 at 02:43, Suzuki K Poulose wrote: > > On 19/07/18 21:07, Mathieu Poirier wrote: > > On Tue, Jul 17, 2018 at 06:11:39PM +0100, Suzuki K Poulose wrote: > >> We can always find the sink configuration for a given perf_output_handle. > >> Add a helper to retrieve the sink

Applied "regmap: sccb: fix typo and sort headers alphabetically" to the regmap tree

2018-07-23 Thread Mark Brown
The patch regmap: sccb: fix typo and sort headers alphabetically has been applied to the regmap tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH 1/5] ARM: dts: exynos: add max77693 pinctrl config for midas

2018-07-23 Thread Krzysztof Kozlowski
On Sat, Jul 21, 2018 at 10:50:49PM +1000, Simon Shields wrote: > Currently, we assume that the bootloader has correctly configured > the interrupt pin for max77693. This might not actually be the case - > so it's better to configure it explicitly. > > Signed-off-by: Simon Shields > --- >

Re: [PATCH 05/11] touchscreen: elants: Use octal permissions

2018-07-23 Thread Joe Perches
On Mon, 2018-07-23 at 10:18 -0700, Dmitry Torokhov wrote: > On Mon, Jul 23, 2018 at 03:32:00PM +0200, Greg Kroah-Hartman wrote: > > On Mon, Jul 23, 2018 at 06:49:20PM +0530, dev-harsh1998 wrote: > > > WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using > > > octal

Re: [PATCHv5 10/19] x86/mm: Implement page_keyid() using page_ext

2018-07-23 Thread Alison Schofield
On Mon, Jul 23, 2018 at 12:45:17PM +0300, Kirill A. Shutemov wrote: > On Wed, Jul 18, 2018 at 04:38:02PM -0700, Dave Hansen wrote: > > On 07/17/2018 04:20 AM, Kirill A. Shutemov wrote: > > > Store KeyID in bits 31:16 of extended page flags. These bits are unused. > > > > I'd love a two sentence

Re: [PATCH V2 0/2] firmware: ti_sci: Add host-id as an optional parameter

2018-07-23 Thread Santosh Shilimkar
On 7/23/2018 6:33 AM, Nishanth Menon wrote: On 17:13-20180716, Nishanth Menon wrote: Please find attached series to enable host-id as an optional dt property. This is a minor update to V1 -> Mostly to pick up Greet's feedback and Rob's Ack. V1: https://patchwork.ozlabs.org/cover/931822/ The

Re: [PATCH] NTB: fix debugfs_simple_attr.cocci warnings

2018-07-23 Thread Logan Gunthorpe
On 21/07/18 12:47 AM, Julia Lawall wrote: > From: kbuild test robot > > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > for debugfs files. > > Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file() > imposes some significant overhead as compared to >

Re: [PATCH net-next 0/5] net/smc: patches 2018-07-23

2018-07-23 Thread David Miller
From: Ursula Braun Date: Mon, 23 Jul 2018 13:53:07 +0200 > here are some small patches for SMC: Just the first patch contains a > functional change. It allows to differ between the modes SMCR and SMCD > on s390 when monitoring SMC sockets. The remaining patches are cleanups > without functional

Re: [PATCH 1/2] Add sw2_sw4 voltage table to cpcap regulator.

2018-07-23 Thread Peter Geis
On 07/23/2018 01:01 PM, Mark Brown wrote: On Fri, Jul 20, 2018 at 08:43:49PM -0400, Peter Geis wrote: SW2 and SW4 use a shared table to provide voltage to the cpu core and devices on Tegra hardware. Added this table to the cpcap regulator driver as the first step to supporting this device on

Re: [PATCH v2 1/4] i2c: imx: Fix reinit_completion() use

2018-07-23 Thread Wolfram Sang
On Mon, Jul 09, 2018 at 11:43:01AM +0200, Esben Haabendal wrote: > From: Esben Haabendal > > Make sure to call reinit_completion() before dma is started to avoid race > condition where reinit_completion() is called after complete() and before > wait_for_completion_timeout(). > > Signed-off-by:

Re: [PATCH] mtd: spi-nor: clear Extended Address Reg on switch to 3-byte addressing.

2018-07-23 Thread Brian Norris
Hi, I'm a little late to this thread, but I recently noticed (and complained about) commit: 59b356ffd0b0 ("mtd: m25p80: restore the status of SPI flash when exiting"). On Mon, Apr 9, 2018 at 6:05 PM, NeilBrown wrote: > On Mon, Apr 09 2018, Marek Vasut wrote: > >> On 04/08/2018 11:56 PM,

[PATCH 1/5] General notification queue with user mmap()'able ring buffer

2018-07-23 Thread David Howells
Implement a misc device that implements a general notification queue as a ring buffer that can be mmap()'d from userspace. The way this is done is: (1) An application opens the device and indicates the size of the ring buffer that it wants to reserve in pages (this can only be set once):

[RFC][PATCH 0/5] Mount, Filesystem and Keyrings notifications

2018-07-23 Thread David Howells
Hi Al, Here's a set of patches to add a general variable-length notification queue concept and to add sources of events for: (1) Mount topology and reconfiguration change events. (2) Superblocks EIO, ENOSPC and EDQUOT events (not complete yet). (3) Key/keyring changes events One of the

Re: [PATCH v2] Documentation: proc.txt: Adding 'HardwareCorrupted' field and description.

2018-07-23 Thread Jonathan Corbet
On Fri, 13 Jul 2018 22:58:06 +0530 Prashant Dhamdhere wrote: > This patch talks about the 'HardwareCorrupted' field currently missing from > the 'meminfo' section of 'proc.txt' file. It also includes short description > of 'HardwareCorrupted' field. I've gone ahead and applied this. Please

Re: [PATCH] IB/mlx5: avoid binding a new mpi unit to the same devices repeatedly

2018-07-23 Thread Qing Huang
On 7/15/2018 12:48 PM, Daniel Jurgens wrote: On 7/14/2018 10:57 AM, Or Gerlitz wrote: On Sat, Jul 14, 2018 at 2:50 AM, Qing Huang wrote: When a CX5 device is configured in dual-port RoCE mode, after creating many VFs against port 1, creating the same number of VFs against port 2 will flood

Re: [PATCH 1/4] x86/perf/intel: Introduce PMU flag for Extended PEBS

2018-07-23 Thread Liang, Kan
On 7/23/2018 11:16 AM, Peter Zijlstra wrote: On Thu, Mar 08, 2018 at 06:15:39PM -0800, kan.li...@linux.intel.com wrote: From: Kan Liang The Extended PEBS feature, introduced in Goldmont Plus microarchitecture, supports all events as "Extended PEBS". Introduce flag PMU_FL_PEBS_ALL to

Re: [PATCH] bluetooth: btusb: Replace GFP_ATOMIC with GFP_KERNEL in inject_cmd_complete()

2018-07-23 Thread Marcel Holtmann
Hi Jia-Ju, > inject_cmd_complete() is only called by btusb_send_frame_intel(), > which is set to hdev->send, and hdev->send() is never > called in atomic context. > > inject_cmd_complete() calls bt_skb_alloc() with GFP_ATOMIC, > which is not necessary. > GFP_ATOMIC can be replaced with

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Arnd Bergmann
On Mon, Jul 23, 2018 at 5:40 PM, Arnd Bergmann wrote: > On Mon, Jul 23, 2018 at 11:41 AM, Boris Brezillon > wrote: >> On Mon, 23 Jul 2018 11:34:43 +0200 >> Arnd Bergmann wrote: >> >>> On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon >>> wrote: >>> > +Arnd, Rob and the DT ML. >>> > >>> > On

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