[PATCH 09/10] fpga-manager: altera-ps-spi: use bitrev8x4

2017-06-05 Thread Alan Tull
From: Joshua Clayton Speed up bit reversal by using hardware bit reversal Add extra code to handle less than 4byte remnants, if any Signed-off-by: Joshua Clayton Signed-off-by: Alan Tull --- drivers/fpga/altera-ps-spi.c |

[PATCH 09/10] fpga-manager: altera-ps-spi: use bitrev8x4

2017-06-05 Thread Alan Tull
From: Joshua Clayton Speed up bit reversal by using hardware bit reversal Add extra code to handle less than 4byte remnants, if any Signed-off-by: Joshua Clayton Signed-off-by: Alan Tull --- drivers/fpga/altera-ps-spi.c | 19 +++ 1 file changed, 15 insertions(+), 4

Re: [PATCH] sparc64: mm: fix copy_tsb to correctly copy huge page TSBs

2017-06-05 Thread David Miller
From: Mike Kravetz Date: Fri, 2 Jun 2017 14:51:12 -0700 > When a TSB grows beyond its current capacity, a new TSB is allocated > and copy_tsb is called to copy entries from the old TSB to the new. > A hash shift based on page size is used to calculate the index of an >

Re: [PATCH] sparc64: mm: fix copy_tsb to correctly copy huge page TSBs

2017-06-05 Thread David Miller
From: Mike Kravetz Date: Fri, 2 Jun 2017 14:51:12 -0700 > When a TSB grows beyond its current capacity, a new TSB is allocated > and copy_tsb is called to copy entries from the old TSB to the new. > A hash shift based on page size is used to calculate the index of an > entry in the TSB.

Re: [PATCH] external references for device tree overlays

2017-06-05 Thread Pantelis Antoniou
Hi Stefani, On Mon, 2017-06-05 at 14:59 +0200, Stefani Seibold wrote: > From: Stefani Seibold > > This patch enables external references for symbols which are not > exported by the current device tree. For example > > // RASPI example (only for testing) > /dts-v1/; >

Re: [PATCH] external references for device tree overlays

2017-06-05 Thread Pantelis Antoniou
Hi Stefani, On Mon, 2017-06-05 at 14:59 +0200, Stefani Seibold wrote: > From: Stefani Seibold > > This patch enables external references for symbols which are not > exported by the current device tree. For example > > // RASPI example (only for testing) > /dts-v1/; > /plugin/; > > / { >

Re: What would cause /proc/ioports do be zeroed out?

2017-06-05 Thread David Kastrup
Randy Dunlap writes: > On 06/05/17 02:08, David Kastrup wrote: >> >> Hi, >> >> I am trying to pinpoint a problem I am having with current Ubuntu >> Artful, likely after some recent attempts of getting rid of some package >> incompatibilities. More likely than not the

Re: What would cause /proc/ioports do be zeroed out?

2017-06-05 Thread David Kastrup
Randy Dunlap writes: > On 06/05/17 02:08, David Kastrup wrote: >> >> Hi, >> >> I am trying to pinpoint a problem I am having with current Ubuntu >> Artful, likely after some recent attempts of getting rid of some package >> incompatibilities. More likely than not the ultimate culprit is >>

RE: [PATCH v2] tpm: Enable CLKRUN protocol for Braswell systems

2017-06-05 Thread Shaikh, Azhar
> -Original Message- > From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > Sent: Monday, June 5, 2017 6:32 AM > To: Shaikh, Azhar > Cc: jguntho...@obsidianresearch.com; tpmdd-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org;

RE: [PATCH v2] tpm: Enable CLKRUN protocol for Braswell systems

2017-06-05 Thread Shaikh, Azhar
> -Original Message- > From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > Sent: Monday, June 5, 2017 6:32 AM > To: Shaikh, Azhar > Cc: jguntho...@obsidianresearch.com; tpmdd-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org; linux-security-mod...@vger.kernel.org

[PATCH v6 4/7] Documentation/dev-tools: Add kselftest

2017-06-05 Thread Mickaël Salaün
Move kselftest.txt to dev-tools/kselftest.rst . Signed-off-by: Mickaël Salaün Acked-by: Kees Cook Cc: Jonathan Corbet Cc: Shuah Khan --- Documentation/00-INDEX | 2 --

[PATCH v6 4/7] Documentation/dev-tools: Add kselftest

2017-06-05 Thread Mickaël Salaün
Move kselftest.txt to dev-tools/kselftest.rst . Signed-off-by: Mickaël Salaün Acked-by: Kees Cook Cc: Jonathan Corbet Cc: Shuah Khan --- Documentation/00-INDEX | 2 -- Documentation/{kselftest.txt => dev-tools/kselftest.rst} | 0 2 files changed, 2

[PATCH v6 0/7] Add kselftest_harness.h

2017-06-05 Thread Mickaël Salaün
Hi, This patch series make the seccomp/test_harness.h more generally available [1] and update the kselftest documentation in the Sphinx format. It also improve the Makefile of seccomp tests to take into account any kselftest_harness.h update. [1]

[PATCH v6 0/7] Add kselftest_harness.h

2017-06-05 Thread Mickaël Salaün
Hi, This patch series make the seccomp/test_harness.h more generally available [1] and update the kselftest documentation in the Sphinx format. It also improve the Makefile of seccomp tests to take into account any kselftest_harness.h update. [1]

[PATCH v6 2/7] selftests: Cosmetic renames in kselftest_harness.h

2017-06-05 Thread Mickaël Salaün
Keep the content consistent with the new name. Signed-off-by: Mickaël Salaün Acked-by: Kees Cook Cc: Andy Lutomirski Cc: Shuah Khan Cc: Will Drewry ---

[PATCH v6 2/7] selftests: Cosmetic renames in kselftest_harness.h

2017-06-05 Thread Mickaël Salaün
Keep the content consistent with the new name. Signed-off-by: Mickaël Salaün Acked-by: Kees Cook Cc: Andy Lutomirski Cc: Shuah Khan Cc: Will Drewry --- tools/testing/selftests/kselftest_harness.h | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git

[PATCH v6 7/7] Documentation/dev-tools: Add kselftest_harness documentation

2017-06-05 Thread Mickaël Salaün
Add ReST metadata to kselftest_harness.h to be able to include the comments in the Sphinx documentation. Signed-off-by: Mickaël Salaün Cc: Andy Lutomirski Cc: Jonathan Corbet Cc: Kees Cook Cc: Shuah Khan

[PATCH v6 7/7] Documentation/dev-tools: Add kselftest_harness documentation

2017-06-05 Thread Mickaël Salaün
Add ReST metadata to kselftest_harness.h to be able to include the comments in the Sphinx documentation. Signed-off-by: Mickaël Salaün Cc: Andy Lutomirski Cc: Jonathan Corbet Cc: Kees Cook Cc: Shuah Khan Cc: Will Drewry --- Changes since v5: * remove a blank line to please "git am" :)

[PATCH v6 5/7] Documentation/dev-tools: Use reStructuredText markups for kselftest

2017-06-05 Thread Mickaël Salaün
Include and convert kselftest to the Sphinx format. Signed-off-by: Mickaël Salaün Acked-by: Kees Cook Cc: Jonathan Corbet Cc: Shuah Khan --- Changes since v2: * lighten the modifications (suggested by Kees Cook) ---

[PATCH v6 5/7] Documentation/dev-tools: Use reStructuredText markups for kselftest

2017-06-05 Thread Mickaël Salaün
Include and convert kselftest to the Sphinx format. Signed-off-by: Mickaël Salaün Acked-by: Kees Cook Cc: Jonathan Corbet Cc: Shuah Khan --- Changes since v2: * lighten the modifications (suggested by Kees Cook) --- Documentation/dev-tools/index.rst | 1 +

[PATCH v6 6/7] selftests: Remove the TEST_API() wrapper from kselftest_harness.h

2017-06-05 Thread Mickaël Salaün
Remove the TEST_API() wrapper to expose the underlying macro arguments to the documentation tools. Use "git diff --patience" to get a more readable patch. Signed-off-by: Mickaël Salaün Cc: Andy Lutomirski Cc: Jonathan Corbet Cc: Kees Cook

[PATCH v6 6/7] selftests: Remove the TEST_API() wrapper from kselftest_harness.h

2017-06-05 Thread Mickaël Salaün
Remove the TEST_API() wrapper to expose the underlying macro arguments to the documentation tools. Use "git diff --patience" to get a more readable patch. Signed-off-by: Mickaël Salaün Cc: Andy Lutomirski Cc: Jonathan Corbet Cc: Kees Cook Cc: Shuah Khan Cc: Will Drewry --- Changes since

[PATCH v6 3/7] selftests/seccomp: Force rebuild according to dependencies

2017-06-05 Thread Mickaël Salaün
Rebuild the seccomp tests when kselftest_harness.h is updated. Signed-off-by: Mickaël Salaün Acked-by: Kees Cook Cc: Andy Lutomirski Cc: Shuah Khan Cc: Will Drewry ---

[PATCH v6 3/7] selftests/seccomp: Force rebuild according to dependencies

2017-06-05 Thread Mickaël Salaün
Rebuild the seccomp tests when kselftest_harness.h is updated. Signed-off-by: Mickaël Salaün Acked-by: Kees Cook Cc: Andy Lutomirski Cc: Shuah Khan Cc: Will Drewry --- tools/testing/selftests/seccomp/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v6 1/7] selftests: Make test_harness.h more generally available

2017-06-05 Thread Mickaël Salaün
The seccomp/test_harness.h file contains useful helpers to build tests. Moving it to the selftest directory should benefit to other test components. Keep seccomp maintainers for this file. Signed-off-by: Mickaël Salaün Acked-by: Kees Cook Acked-by: Will

[PATCH v6 1/7] selftests: Make test_harness.h more generally available

2017-06-05 Thread Mickaël Salaün
The seccomp/test_harness.h file contains useful helpers to build tests. Moving it to the selftest directory should benefit to other test components. Keep seccomp maintainers for this file. Signed-off-by: Mickaël Salaün Acked-by: Kees Cook Acked-by: Will Drewry Cc: Andy Lutomirski Cc: Shuah

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-05 Thread Johannes Weiner
On Thu, Jun 01, 2017 at 08:07:28PM +1000, Michael Ellerman wrote: > Yury Norov writes: > > > On Wed, May 31, 2017 at 01:39:00PM +0200, Heiko Carstens wrote: > >> On Wed, May 31, 2017 at 11:12:56AM +0200, Heiko Carstens wrote: > >> > On Tue, May 30, 2017 at 02:17:20PM

Re: [PATCH 2/6] mm: vmstat: move slab statistics from zone to node counters

2017-06-05 Thread Johannes Weiner
On Thu, Jun 01, 2017 at 08:07:28PM +1000, Michael Ellerman wrote: > Yury Norov writes: > > > On Wed, May 31, 2017 at 01:39:00PM +0200, Heiko Carstens wrote: > >> On Wed, May 31, 2017 at 11:12:56AM +0200, Heiko Carstens wrote: > >> > On Tue, May 30, 2017 at 02:17:20PM -0400, Johannes Weiner

Re: [PATCH V4 1/2] sched/fair: Fix load_balance() affinity redo path

2017-06-05 Thread Jeffrey Hugo
On 6/5/2017 11:23 AM, Jeffrey Hugo wrote: On 6/2/2017 4:27 PM, Jeffrey Hugo wrote: diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index d711093..84255ab 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -6737,10 +6737,10 @@ int can_migrate_task(struct task_struct *p,

Re: [PATCH V4 1/2] sched/fair: Fix load_balance() affinity redo path

2017-06-05 Thread Jeffrey Hugo
On 6/5/2017 11:23 AM, Jeffrey Hugo wrote: On 6/2/2017 4:27 PM, Jeffrey Hugo wrote: diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index d711093..84255ab 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -6737,10 +6737,10 @@ int can_migrate_task(struct task_struct *p,

Re: sparc64 gcc 7.1 compile error

2017-06-05 Thread David Miller
From: Waldemar Brodkorb Date: Mon, 5 Jun 2017 11:19:41 +0200 > I get a compile/linking error with gcc 7.1 when targeting qemu system > sparc64. This should fix the problem, please let me know if it works for you: >From

Re: sparc64 gcc 7.1 compile error

2017-06-05 Thread David Miller
From: Waldemar Brodkorb Date: Mon, 5 Jun 2017 11:19:41 +0200 > I get a compile/linking error with gcc 7.1 when targeting qemu system > sparc64. This should fix the problem, please let me know if it works for you: >From 1b4af13ff2cc6897557bb0b8d9e2fad4fa4d67aa Mon Sep 17

[PATCH] Documentation: seq_file: Convert seq_file to rst format

2017-06-05 Thread sayli karnik
Add seq_file.rst to a filesystems subsection in the docs tree. Signed-off-by: sayli karnik --- Documentation/core-api/filesystems/seq_file.rst | 354 Documentation/core-api/index.rst| 1 + 2 files changed, 355 insertions(+)

[PATCH] Documentation: seq_file: Convert seq_file to rst format

2017-06-05 Thread sayli karnik
Add seq_file.rst to a filesystems subsection in the docs tree. Signed-off-by: sayli karnik --- Documentation/core-api/filesystems/seq_file.rst | 354 Documentation/core-api/index.rst| 1 + 2 files changed, 355 insertions(+) create mode 100644

Re: What would cause /proc/ioports do be zeroed out?

2017-06-05 Thread Randy Dunlap
On 06/05/17 02:08, David Kastrup wrote: > > Hi, > > I am trying to pinpoint a problem I am having with current Ubuntu > Artful, likely after some recent attempts of getting rid of some package > incompatibilities. More likely than not the ultimate culprit is > somewhere in the Debian package

Re: What would cause /proc/ioports do be zeroed out?

2017-06-05 Thread Randy Dunlap
On 06/05/17 02:08, David Kastrup wrote: > > Hi, > > I am trying to pinpoint a problem I am having with current Ubuntu > Artful, likely after some recent attempts of getting rid of some package > incompatibilities. More likely than not the ultimate culprit is > somewhere in the Debian package

Re: [PATCH 1/3] Documentation: DT: add Keystone DSP remoteproc binding

2017-06-05 Thread Suman Anna
Hi Rob, >> >> On 05/31/2017 02:12 PM, Rob Herring wrote: >>> On Fri, May 26, 2017 at 11:53:15AM -0500, Suman Anna wrote: Add the device tree bindings document for the Texas Instrument's Keystone 2 DSP remoteproc devices. Signed-off-by: Suman Anna

Re: [PATCH 1/3] Documentation: DT: add Keystone DSP remoteproc binding

2017-06-05 Thread Suman Anna
Hi Rob, >> >> On 05/31/2017 02:12 PM, Rob Herring wrote: >>> On Fri, May 26, 2017 at 11:53:15AM -0500, Suman Anna wrote: Add the device tree bindings document for the Texas Instrument's Keystone 2 DSP remoteproc devices. Signed-off-by: Suman Anna Signed-off-by: Sam

Re: [PATCH v5 7/7] Documentation/dev-tools: Add kselftest_harness documentation

2017-06-05 Thread Shuah Khan
On 06/03/2017 05:17 AM, Mickaël Salaün wrote: > > On 02/06/2017 22:02, Shuah Khan wrote: >> Hi Mickaël, >> >> On 05/26/2017 12:44 PM, Mickaël Salaün wrote: >>> Add ReST metadata to kselftest_harness.h to be able to include the >>> comments in the Sphinx documentation. >>> >> >> These don't belong

Re: [PATCH v5 7/7] Documentation/dev-tools: Add kselftest_harness documentation

2017-06-05 Thread Shuah Khan
On 06/03/2017 05:17 AM, Mickaël Salaün wrote: > > On 02/06/2017 22:02, Shuah Khan wrote: >> Hi Mickaël, >> >> On 05/26/2017 12:44 PM, Mickaël Salaün wrote: >>> Add ReST metadata to kselftest_harness.h to be able to include the >>> comments in the Sphinx documentation. >>> >> >> These don't belong

[PATCH] arm: dts: am33xx: Remove redundant interrupt-parent property

2017-06-05 Thread sunil . m
From: Suniel Mahesh Interrupt-parent property is defined in the root node as "interrupt-parent = <>". This interrupt-parent value becomes the default for the system, so removed redundant "interrupt-parent" property from mmc, mac, lcdc and tscadc nodes. Signed-off-by:

[PATCH] arm: dts: am33xx: Remove redundant interrupt-parent property

2017-06-05 Thread sunil . m
From: Suniel Mahesh Interrupt-parent property is defined in the root node as "interrupt-parent = <>". This interrupt-parent value becomes the default for the system, so removed redundant "interrupt-parent" property from mmc, mac, lcdc and tscadc nodes. Signed-off-by: Suniel Mahesh ---

Re: [PATCH v5 3/7] selftests/seccomp: Force rebuild according to dependencies

2017-06-05 Thread Shuah Khan
Hi Mickaël, On 06/03/2017 05:13 AM, Mickaël Salaün wrote: > Hi Shuah, > > On 02/06/2017 21:31, Shuah Khan wrote: >> Hi Mickaël, >> >> On 05/26/2017 12:43 PM, Mickaël Salaün wrote: >>> Rebuild the seccomp tests when kselftest_harness.h is updated. >>> >>> Signed-off-by: Mickaël Salaün

Re: [PATCH v5 3/7] selftests/seccomp: Force rebuild according to dependencies

2017-06-05 Thread Shuah Khan
Hi Mickaël, On 06/03/2017 05:13 AM, Mickaël Salaün wrote: > Hi Shuah, > > On 02/06/2017 21:31, Shuah Khan wrote: >> Hi Mickaël, >> >> On 05/26/2017 12:43 PM, Mickaël Salaün wrote: >>> Rebuild the seccomp tests when kselftest_harness.h is updated. >>> >>> Signed-off-by: Mickaël Salaün >>>

[PATCH] ARM64: Kconfig: Fix the missing hi655x common clk

2017-06-05 Thread Daniel Lezcano
With the addition of the hi655x common clock, the config option is missing for the ARM64's hi6220 platform. That leads to a non functionnal WiFi because the hi655x clock driver misses when initializing the power sequence via DT. Cc: John Stultz Cc: Ulf Hansson

[PATCH] ARM64: Kconfig: Fix the missing hi655x common clk

2017-06-05 Thread Daniel Lezcano
With the addition of the hi655x common clock, the config option is missing for the ARM64's hi6220 platform. That leads to a non functionnal WiFi because the hi655x clock driver misses when initializing the power sequence via DT. Cc: John Stultz Cc: Ulf Hansson Cc: Wei Xu Signed-off-by: Daniel

[PATCH][netdev-next] mdio: mux: fix an incorrect less than zero error check using a u32

2017-06-05 Thread Colin King
From: Colin Ian King The u32 variable v is being checked to see if an error return is less than zero and this check has no effect because it is unsigned. Fix this by making v and int (this also matches the type of cb->bus_number which is assigned to the value in v).

[PATCH][netdev-next] mdio: mux: fix an incorrect less than zero error check using a u32

2017-06-05 Thread Colin King
From: Colin Ian King The u32 variable v is being checked to see if an error return is less than zero and this check has no effect because it is unsigned. Fix this by making v and int (this also matches the type of cb->bus_number which is assigned to the value in v). Detected by CoverityScan,

Re: [PATCH] sched: Introduce scaled capacity awareness in enqueue

2017-06-05 Thread Rohit Jain
On 06/02/2017 11:26 AM, Peter Zijlstra wrote: On Fri, Jun 02, 2017 at 11:20:20AM -0700, Rohit Jain wrote: On 06/01/2017 05:37 AM, Peter Zijlstra wrote: On Thu, Jun 01, 2017 at 02:28:27PM +0200, Peter Zijlstra wrote: On Wed, May 31, 2017 at 03:19:46PM -0700, Rohit Jain wrote: 2) This scaled

Re: [PATCH] sched: Introduce scaled capacity awareness in enqueue

2017-06-05 Thread Rohit Jain
On 06/02/2017 11:26 AM, Peter Zijlstra wrote: On Fri, Jun 02, 2017 at 11:20:20AM -0700, Rohit Jain wrote: On 06/01/2017 05:37 AM, Peter Zijlstra wrote: On Thu, Jun 01, 2017 at 02:28:27PM +0200, Peter Zijlstra wrote: On Wed, May 31, 2017 at 03:19:46PM -0700, Rohit Jain wrote: 2) This scaled

Re: Device address specific mapping of arm,mmu-500

2017-06-05 Thread Ray Jui
Hi Will/Robin, Just want to check with you on this again. Do you have a very rough timeline on when the excessive locking in the IOMMU driver may be fixed (so we can restore expected up to 95% performance)? Thanks, Ray On 5/31/17 10:32 AM, Ray Jui wrote: > Hi Will, > > On 5/31/17 5:44 AM,

Re: Device address specific mapping of arm,mmu-500

2017-06-05 Thread Ray Jui
Hi Will/Robin, Just want to check with you on this again. Do you have a very rough timeline on when the excessive locking in the IOMMU driver may be fixed (so we can restore expected up to 95% performance)? Thanks, Ray On 5/31/17 10:32 AM, Ray Jui wrote: > Hi Will, > > On 5/31/17 5:44 AM,

re: phy: cpcap-usb: Add CPCAP PMIC USB support

2017-06-05 Thread Colin Ian King
Hi Tony, While running static analysis on linux-next, CoverityScan picked up a NULL pointer deference on ddata->pins when calling pinctrl_lookup_state: 466ddata->pins = devm_pinctrl_get(ddata->dev); 1. Condition IS_ERR(ddata->pins), taking true branch. 467if

re: phy: cpcap-usb: Add CPCAP PMIC USB support

2017-06-05 Thread Colin Ian King
Hi Tony, While running static analysis on linux-next, CoverityScan picked up a NULL pointer deference on ddata->pins when calling pinctrl_lookup_state: 466ddata->pins = devm_pinctrl_get(ddata->dev); 1. Condition IS_ERR(ddata->pins), taking true branch. 467if

Re: [PATCH 5/6] mm: memcontrol: per-lruvec stats infrastructure

2017-06-05 Thread Johannes Weiner
On Sat, Jun 03, 2017 at 08:50:02PM +0300, Vladimir Davydov wrote: > On Tue, May 30, 2017 at 02:17:23PM -0400, Johannes Weiner wrote: > > lruvecs are at the intersection of the NUMA node and memcg, which is > > the scope for most paging activity. > > > > Introduce a convenient accounting

Re: [PATCH 5/6] mm: memcontrol: per-lruvec stats infrastructure

2017-06-05 Thread Johannes Weiner
On Sat, Jun 03, 2017 at 08:50:02PM +0300, Vladimir Davydov wrote: > On Tue, May 30, 2017 at 02:17:23PM -0400, Johannes Weiner wrote: > > lruvecs are at the intersection of the NUMA node and memcg, which is > > the scope for most paging activity. > > > > Introduce a convenient accounting

Re: [6/6] mm: memcontrol: account slab stats per lruvec

2017-06-05 Thread Johannes Weiner
gt; Signed-off-by: Johannes Weiner <han...@cmpxchg.org> > > Acked-by: Vladimir Davydov <vdavydov@gmail.com> > > Presumably this is already known, but a remarkable number of crashes > in next-20170605 bisects to this patch. Thanks Guenter. Can you t

Re: [6/6] mm: memcontrol: account slab stats per lruvec

2017-06-05 Thread Johannes Weiner
gt; Signed-off-by: Johannes Weiner > > Acked-by: Vladimir Davydov > > Presumably this is already known, but a remarkable number of crashes > in next-20170605 bisects to this patch. Thanks Guenter. Can you test if the fix below resolves the problem? --- >From 47007dfcd7873cb

Re: [PATCH 0/3] ARM-XEN: Adjustments for __set_phys_to_machine_multi()

2017-06-05 Thread Stefano Stabellini
On Sun, 4 Jun 2017, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 4 Jun 2017 22:45:54 +0200 > > Three update suggestions were taken into account > from static source code analysis. > > Markus Elfring (3): > Improve a size determination > Delete

Re: [PATCH 0/3] ARM-XEN: Adjustments for __set_phys_to_machine_multi()

2017-06-05 Thread Stefano Stabellini
On Sun, 4 Jun 2017, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 4 Jun 2017 22:45:54 +0200 > > Three update suggestions were taken into account > from static source code analysis. > > Markus Elfring (3): > Improve a size determination > Delete an error message for a failed

Re: bug? dwc2: insufficient fifo memory

2017-06-05 Thread John Youn
On 6/5/2017 5:32 AM, Minas Harutyunyan wrote: > On 6/2/2017 10:20 PM, John Stultz wrote: >> On Mon, Apr 17, 2017 at 3:36 PM, John Stultz wrote: >>> On Fri, Feb 24, 2017 at 2:46 PM, John Stultz wrote: Hey John, So after the USB tree

Re: bug? dwc2: insufficient fifo memory

2017-06-05 Thread John Youn
On 6/5/2017 5:32 AM, Minas Harutyunyan wrote: > On 6/2/2017 10:20 PM, John Stultz wrote: >> On Mon, Apr 17, 2017 at 3:36 PM, John Stultz wrote: >>> On Fri, Feb 24, 2017 at 2:46 PM, John Stultz wrote: Hey John, So after the USB tree landed in 4.11-rc, I've been seeing the

Re: [PATCH 2/5] powerpc/mm: split store_updates_sp() in two parts in do_page_fault()

2017-06-05 Thread christophe leroy
Le 05/06/2017 à 12:45, Michael Ellerman a écrit : Christophe LEROY writes: Le 02/06/2017 à 11:26, Michael Ellerman a écrit : Christophe Leroy writes: Only the get_user() in store_updates_sp() has to be done outside the mm semaphore. All

Re: [PATCH 2/5] powerpc/mm: split store_updates_sp() in two parts in do_page_fault()

2017-06-05 Thread christophe leroy
Le 05/06/2017 à 12:45, Michael Ellerman a écrit : Christophe LEROY writes: Le 02/06/2017 à 11:26, Michael Ellerman a écrit : Christophe Leroy writes: Only the get_user() in store_updates_sp() has to be done outside the mm semaphore. All the comparison can be done within the semaphore,

[PATCH 3.18 03/33] dccp/tcp: do not inherit mc_list from parent

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 657831ffc38e30092a2d5f03d385d710eb88b09a ] syzkaller found a way to trigger double frees from ip_mc_drop_socket() It turns out that leave

[PATCH 3.18 03/33] dccp/tcp: do not inherit mc_list from parent

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 657831ffc38e30092a2d5f03d385d710eb88b09a ] syzkaller found a way to trigger double frees from ip_mc_drop_socket() It turns out that leave a copy of parent

[PATCH 3.18 08/33] sctp: fix src address selection if using secondary addresses for ipv6

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit dbc2b5e9a09e9a6664679a667ff81cff6e5f2641 ] Commit 0ca50d12fe46 ("sctp: fix src address selection if using secondary addresses") has fixed a

[PATCH 3.18 08/33] sctp: fix src address selection if using secondary addresses for ipv6

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit dbc2b5e9a09e9a6664679a667ff81cff6e5f2641 ] Commit 0ca50d12fe46 ("sctp: fix src address selection if using secondary addresses") has fixed a src address selection

[PATCH 3.18 14/33] ipv6: fix out of bound writes in __ip6_append_data()

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 232cd35d0804cc241eb887bb8d4d9b3b9881c64a ] Andrey Konovalov and idaif...@gmail.com reported crashes caused by one skb shared_info being

[PATCH 3.18 14/33] ipv6: fix out of bound writes in __ip6_append_data()

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 232cd35d0804cc241eb887bb8d4d9b3b9881c64a ] Andrey Konovalov and idaif...@gmail.com reported crashes caused by one skb shared_info being overwritten from

[PATCH 3.18 21/33] slub/memcg: cure the brainless abuse of sysfs attributes

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 478fe3037b2278d276d4cd9cd0ab06c4cb2e9b32 upstream. memcg_propagate_slab_attrs() abuses the sysfs attribute file functions to propagate settings from

[PATCH 3.18 21/33] slub/memcg: cure the brainless abuse of sysfs attributes

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 478fe3037b2278d276d4cd9cd0ab06c4cb2e9b32 upstream. memcg_propagate_slab_attrs() abuses the sysfs attribute file functions to propagate settings from the root kmem_cache

[PATCH 3.18 11/33] ipv6: Prevent overrun when parsing v6 header options

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Craig Gallek [ Upstream commit 2423496af35d94a87156b063ea5cedffc10a70a1 ] The KASAN warning repoted below was discovered with a syzkaller program. The reproducer is

[PATCH 3.18 11/33] ipv6: Prevent overrun when parsing v6 header options

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Craig Gallek [ Upstream commit 2423496af35d94a87156b063ea5cedffc10a70a1 ] The KASAN warning repoted below was discovered with a syzkaller program. The reproducer is basically: int s =

Re: [PATCH v2 1/5] acpi, nfit: Switch to use new generic UUID API

2017-06-05 Thread Andy Shevchenko
On Mon, 2017-06-05 at 18:01 +0200, Christoph Hellwig wrote: > >   for (i = 0; i < NFIT_UUID_MAX; i++) > > - if (memcmp(to_nfit_uuid(i), spa->range_guid, 16) == > > 0) > > + if (!guid_equal(to_nfit_uuid(i), (guid_t *) > > >range_guid)) > >   return i; > > I

Re: [PATCH v2 1/5] acpi, nfit: Switch to use new generic UUID API

2017-06-05 Thread Andy Shevchenko
On Mon, 2017-06-05 at 18:01 +0200, Christoph Hellwig wrote: > >   for (i = 0; i < NFIT_UUID_MAX; i++) > > - if (memcmp(to_nfit_uuid(i), spa->range_guid, 16) == > > 0) > > + if (!guid_equal(to_nfit_uuid(i), (guid_t *) > > >range_guid)) > >   return i; > > I

[PATCH 3.18 32/33] xfs: bad assertion for delalloc an extent that start at i_size

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Zorro Lang commit 892d2a5f705723b2cb488bfb38bcbdcf83273184 upstream. By run fsstress long enough time enough in RHEL-7, I find an assertion failure (harder to reproduce on

[PATCH 3.18 32/33] xfs: bad assertion for delalloc an extent that start at i_size

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Zorro Lang commit 892d2a5f705723b2cb488bfb38bcbdcf83273184 upstream. By run fsstress long enough time enough in RHEL-7, I find an assertion failure (harder to reproduce on linux-4.11, but

[PATCH 3.18 33/33] xfs: fix unaligned access in xfs_btree_visit_blocks

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Sandeen commit a4d768e702de224cc85e0c8eac9311763403b368 upstream. This structure copy was throwing unaligned access warnings on sparc64: Kernel unaligned access at

[PATCH 3.18 33/33] xfs: fix unaligned access in xfs_btree_visit_blocks

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Sandeen commit a4d768e702de224cc85e0c8eac9311763403b368 upstream. This structure copy was throwing unaligned access warnings on sparc64: Kernel unaligned access at TPC[1043c088]

[PATCH 3.18 27/33] xfs: fix over-copying of getbmap parameters from userspace

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Darrick J. Wong commit be6324c00c4d1e0e665f03ed1fc18863a88da119 upstream. In xfs_ioc_getbmap, we should only copy the fields of struct getbmap from userspace, or else

[PATCH 3.18 27/33] xfs: fix over-copying of getbmap parameters from userspace

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Darrick J. Wong commit be6324c00c4d1e0e665f03ed1fc18863a88da119 upstream. In xfs_ioc_getbmap, we should only copy the fields of struct getbmap from userspace, or else we end up copying random

[PATCH 4.4 01/53] sparc: Fix -Wstringop-overflow warning

2017-06-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Orlando Arias [ Upstream commit deba804c90642c8ed0f15ac1083663976d578f54 ] Greetings, GCC 7 introduced the -Wstringop-overflow flag to detect buffer overflows in

[PATCH 3.18 29/33] xfs: prevent multi-fsb dir readahead from reading random blocks

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Brian Foster commit cb52ee334a45ae6c78a3999e4b473c43ddc528f4 upstream. Directory block readahead uses a complex iteration mechanism to map between high-level directory

[PATCH 3.18 31/33] xfs: fix indlen accounting error on partial delalloc conversion

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Brian Foster commit 0daaecacb83bc6b656a56393ab77a31c28139bc7 upstream. The delalloc -> real block conversion path uses an incorrect calculation in the case where the

[PATCH 4.4 01/53] sparc: Fix -Wstringop-overflow warning

2017-06-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Orlando Arias [ Upstream commit deba804c90642c8ed0f15ac1083663976d578f54 ] Greetings, GCC 7 introduced the -Wstringop-overflow flag to detect buffer overflows in calls to string handling

[PATCH 3.18 29/33] xfs: prevent multi-fsb dir readahead from reading random blocks

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Brian Foster commit cb52ee334a45ae6c78a3999e4b473c43ddc528f4 upstream. Directory block readahead uses a complex iteration mechanism to map between high-level directory blocks and underlying

[PATCH 3.18 31/33] xfs: fix indlen accounting error on partial delalloc conversion

2017-06-05 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Brian Foster commit 0daaecacb83bc6b656a56393ab77a31c28139bc7 upstream. The delalloc -> real block conversion path uses an incorrect calculation in the case where the middle part of a delalloc

[PATCH][scsi-next] scsi: qla2xxx: remove redundant null check on tgt

2017-06-05 Thread Colin King
From: Colin Ian King An earlier commit ed7fb808477b846bb2 ("scsi: qla2xxx: Remove redundant wait when target is stopped.") removed a null check on ha->tgt.tgt_ops and replaced it with a new check that null checked tgt, thus making the subsequent null check on tgt

[PATCH][scsi-next] scsi: qla2xxx: remove redundant null check on tgt

2017-06-05 Thread Colin King
From: Colin Ian King An earlier commit ed7fb808477b846bb2 ("scsi: qla2xxx: Remove redundant wait when target is stopped.") removed a null check on ha->tgt.tgt_ops and replaced it with a new check that null checked tgt, thus making the subsequent null check on tgt totally redundant. Remove it.

[PATCH 4.4 02/53] dccp/tcp: do not inherit mc_list from parent

2017-06-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 657831ffc38e30092a2d5f03d385d710eb88b09a ] syzkaller found a way to trigger double frees from ip_mc_drop_socket() It turns out that leave

[PATCH 4.4 05/53] s390/qeth: unbreak OSM and OSN support

2017-06-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 2d2ebb3ed0c6acfb014f98e427298673a5d07b82 ] commit b4d72c08b358 ("qeth: bridgeport support - basic control") broke the support for

[PATCH 4.4 02/53] dccp/tcp: do not inherit mc_list from parent

2017-06-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 657831ffc38e30092a2d5f03d385d710eb88b09a ] syzkaller found a way to trigger double frees from ip_mc_drop_socket() It turns out that leave a copy of parent

[PATCH 4.4 05/53] s390/qeth: unbreak OSM and OSN support

2017-06-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 2d2ebb3ed0c6acfb014f98e427298673a5d07b82 ] commit b4d72c08b358 ("qeth: bridgeport support - basic control") broke the support for OSM and OSN devices as

[PATCH 4.4 14/53] ipv6: Check ip6_find_1stfragopt() return value properly.

2017-06-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 7dd7eb9513bd02184d45f000ab69d78cb1fa1531 ] Do not use unsigned variables to see if it returns a negative error or not. Fixes:

[PATCH 4.4 14/53] ipv6: Check ip6_find_1stfragopt() return value properly.

2017-06-05 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 7dd7eb9513bd02184d45f000ab69d78cb1fa1531 ] Do not use unsigned variables to see if it returns a negative error or not. Fixes: 2423496af35d ("ipv6: Prevent

Re: kernel of next-20170602 call trace when run add_key02 in LTP

2017-06-05 Thread Eric Biggers
Hi Cyril, On Mon, Jun 05, 2017 at 03:48:23PM +0200, Cyril Hrubis wrote: > Hi, > > Compile kernel (next-20170602) and run ltp, find: > > > > / # ./add_key02 > > tst_test.c:878: INFO: Timeout per run is 0h 05m 00s > > [ 341.183219] BUG: unable to handle kernel NULL pointer dereference at > >

Re: kernel of next-20170602 call trace when run add_key02 in LTP

2017-06-05 Thread Eric Biggers
Hi Cyril, On Mon, Jun 05, 2017 at 03:48:23PM +0200, Cyril Hrubis wrote: > Hi, > > Compile kernel (next-20170602) and run ltp, find: > > > > / # ./add_key02 > > tst_test.c:878: INFO: Timeout per run is 0h 05m 00s > > [ 341.183219] BUG: unable to handle kernel NULL pointer dereference at > >

Re: [PATCH 2/4] dt-bindings: thermal: add binding documentation for UniPhier thermal monitor

2017-06-05 Thread Rob Herring
On Mon, May 29, 2017 at 06:15:43PM +0900, Kunihiko Hayashi wrote: > Add devicetree binding documentation for thermal monitor implemented on > Socionext UniPhier SoCs. > > Signed-off-by: Kunihiko Hayashi > --- > .../bindings/thermal/uniphier-thermal.txt |

Re: [PATCH 2/4] dt-bindings: thermal: add binding documentation for UniPhier thermal monitor

2017-06-05 Thread Rob Herring
On Mon, May 29, 2017 at 06:15:43PM +0900, Kunihiko Hayashi wrote: > Add devicetree binding documentation for thermal monitor implemented on > Socionext UniPhier SoCs. > > Signed-off-by: Kunihiko Hayashi > --- > .../bindings/thermal/uniphier-thermal.txt | 54 > ++ >

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