Re: [PATCH v8 1/2] leds: core: Introduce LED pattern trigger

2018-09-12 Thread Pavel Machek
Hi! > >>> diff --git a/Documentation/ABI/testing/sysfs-class-led-trigger-pattern > >>> b/Documentation/ABI/testing/sysfs-class-led-trigger-pattern > >> [..] > >>> +What:/sys/class/leds//hw_pattern > >>> +Date:September 2018 > >>> +KernelVersion: 4.20 > >>> +Description:

Re: [PATCH v8 1/2] leds: core: Introduce LED pattern trigger

2018-09-12 Thread Pavel Machek
Hi! > >>> diff --git a/Documentation/ABI/testing/sysfs-class-led-trigger-pattern > >>> b/Documentation/ABI/testing/sysfs-class-led-trigger-pattern > >> [..] > >>> +What:/sys/class/leds//hw_pattern > >>> +Date:September 2018 > >>> +KernelVersion: 4.20 > >>> +Description:

Re: [PATCH v6 2/3] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

2018-09-12 Thread Jiri Kosina
On Wed, 12 Sep 2018, Thomas Gleixner wrote: > > case X86_BUG_SPECTRE_V2: > > - return sprintf(buf, "%s%s%s%s\n", > > spectre_v2_strings[spectre_v2_enabled], > > + mutex_lock(_ctrl_mutex); > > + ret = sprintf(buf, "%s%s%s%s%s\n", > >

Re: [PATCH v6 2/3] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

2018-09-12 Thread Jiri Kosina
On Wed, 12 Sep 2018, Thomas Gleixner wrote: > > case X86_BUG_SPECTRE_V2: > > - return sprintf(buf, "%s%s%s%s\n", > > spectre_v2_strings[spectre_v2_enabled], > > + mutex_lock(_ctrl_mutex); > > + ret = sprintf(buf, "%s%s%s%s%s\n", > >

Re: [PATCH v6 2/3] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

2018-09-12 Thread Thomas Gleixner
On Wed, 12 Sep 2018, Jiri Kosina wrote: > case X86_BUG_SPECTRE_V2: > - return sprintf(buf, "%s%s%s%s\n", > spectre_v2_strings[spectre_v2_enabled], > + mutex_lock(_ctrl_mutex); > + ret = sprintf(buf, "%s%s%s%s%s\n", >

Re: [PATCH v6 2/3] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

2018-09-12 Thread Thomas Gleixner
On Wed, 12 Sep 2018, Jiri Kosina wrote: > case X86_BUG_SPECTRE_V2: > - return sprintf(buf, "%s%s%s%s\n", > spectre_v2_strings[spectre_v2_enabled], > + mutex_lock(_ctrl_mutex); > + ret = sprintf(buf, "%s%s%s%s%s\n", >

Re: [GIT PULL 0/7] perf/urgent fixes

2018-09-12 Thread Ingo Molnar
USER_DS when recording user stack data (2018-09-10 > 14:01:46 +0200) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-urgent-for-mingo-4.19-20180912 > > for you to fetch changes up to 03db8b5

Re: [GIT PULL 0/7] perf/urgent fixes

2018-09-12 Thread Ingo Molnar
USER_DS when recording user stack data (2018-09-10 > 14:01:46 +0200) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-urgent-for-mingo-4.19-20180912 > > for you to fetch changes up to 03db8b5

Re: [PATCH] tools: Remove conflicting BITS_PER_LONG define

2018-09-12 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 12, 2018 at 07:02:32PM +0200, Alexander Sverdlin escreveu: > CC .../tools/objtool/builtin-check.o > ... > In file included from .../tools/arch/x86/include/uapi/asm/bitsperlong.h:11:0, > from .../tools/include/asm-generic/bitops/__ffs.h:6, >

Re: [PATCH] tools: Remove conflicting BITS_PER_LONG define

2018-09-12 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 12, 2018 at 07:02:32PM +0200, Alexander Sverdlin escreveu: > CC .../tools/objtool/builtin-check.o > ... > In file included from .../tools/arch/x86/include/uapi/asm/bitsperlong.h:11:0, > from .../tools/include/asm-generic/bitops/__ffs.h:6, >

Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured"

2018-09-12 Thread Jan Kundrát
You mean '4.19-rc3', right? Right, sorry. [1.741458] Internal error: Oops - undefined instruction: 0 [#1] SMP ARM [1.748182] CPU: 1 PID: 72 Comm: kworker/1:2 Tainted: G W 4.19.0-rc3 #1 The 'W' taint means that there was a kernel warning before. Which warning was

Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured"

2018-09-12 Thread Jan Kundrát
You mean '4.19-rc3', right? Right, sorry. [1.741458] Internal error: Oops - undefined instruction: 0 [#1] SMP ARM [1.748182] CPU: 1 PID: 72 Comm: kworker/1:2 Tainted: G W 4.19.0-rc3 #1 The 'W' taint means that there was a kernel warning before. Which warning was

[GIT PULL 0/7] perf/urgent fixes

2018-09-12 Thread Arnaldo Carvalho de Melo
repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-4.19-20180912 for you to fetch changes up to 03db8b583d1c3c84963e08e2abf6c79081da5c31: perf tools: Fix maps__find_symbol_by_name() (2018-09-11 14:12:51 -0300

[GIT PULL 0/7] perf/urgent fixes

2018-09-12 Thread Arnaldo Carvalho de Melo
repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-4.19-20180912 for you to fetch changes up to 03db8b583d1c3c84963e08e2abf6c79081da5c31: perf tools: Fix maps__find_symbol_by_name() (2018-09-11 14:12:51 -0300

[PATCH 6/7] tools headers uapi: Update tools's copy of linux/if_link.h

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: 3e7a50ceb11e ("net: report min and max mtu network device settings") 2756f68c3149 ("net: bridge: add support for backup port") a25717d2b604 ("xdp: support simultaneous driver and hw XDP attachment")

[PATCH 4/7] tools headers uapi: Update tools's copies of kvm headers

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: a449938297e5 ("KVM: s390: Add huge page enablement control") 8fcc4b5923af ("kvm: nVMX: Introduce KVM_CAP_NESTED_STATE") be26b3a73413 ("arm64: KVM: export the capability to set guest SError syndrome")

[PATCH 7/7] perf tools: Fix maps__find_symbol_by_name()

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Commit 1c5aae7710bb ("perf machine: Create maps for x86 PTI entry trampolines") revealed a problem with maps__find_symbol_by_name() that resulted in probes not being found e.g. $ sudo perf probe xsk_mmap xsk_mmap is out of .text, skip it. Probe point

[PATCH 6/7] tools headers uapi: Update tools's copy of linux/if_link.h

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: 3e7a50ceb11e ("net: report min and max mtu network device settings") 2756f68c3149 ("net: bridge: add support for backup port") a25717d2b604 ("xdp: support simultaneous driver and hw XDP attachment")

[PATCH 4/7] tools headers uapi: Update tools's copies of kvm headers

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: a449938297e5 ("KVM: s390: Add huge page enablement control") 8fcc4b5923af ("kvm: nVMX: Introduce KVM_CAP_NESTED_STATE") be26b3a73413 ("arm64: KVM: export the capability to set guest SError syndrome")

[PATCH 7/7] perf tools: Fix maps__find_symbol_by_name()

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Commit 1c5aae7710bb ("perf machine: Create maps for x86 PTI entry trampolines") revealed a problem with maps__find_symbol_by_name() that resulted in probes not being found e.g. $ sudo perf probe xsk_mmap xsk_mmap is out of .text, skip it. Probe point

[PATCH 3/7] tools headers uapi: Update tools's copy of drm/drm.h

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: d67b6a206507 ("drm: writeback: Add client capability for exposing writeback connectors") This is for an argument to a DRM ioctl, which is not being prettyfied in the 'perf trace' DRM ioctl beautifier, but will now that syscalls are

[PATCH 3/7] tools headers uapi: Update tools's copy of drm/drm.h

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: d67b6a206507 ("drm: writeback: Add client capability for exposing writeback connectors") This is for an argument to a DRM ioctl, which is not being prettyfied in the 'perf trace' DRM ioctl beautifier, but will now that syscalls are

[PATCH 5/7] tools headers uapi: Update tools's copy of linux/vhost.h

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: c48300c92ad9 ("vhost: fix VHOST_GET_BACKEND_FEATURES ioctl request definition") This makes 'perf trace' and other tools in the future using its beautifiers in a libbeauty.so library be able to translate these new ioctl to strings:

[PATCH 5/7] tools headers uapi: Update tools's copy of linux/vhost.h

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: c48300c92ad9 ("vhost: fix VHOST_GET_BACKEND_FEATURES ioctl request definition") This makes 'perf trace' and other tools in the future using its beautifiers in a libbeauty.so library be able to translate these new ioctl to strings:

[PATCH 2/7] tools headers uapi: Update tools's copy of asm-generic/unistd.h

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: db7a2d1809a5 ("asm-generic: unistd.h: Wire up sys_rseq") That wires up the new 'rsec' system call, which will automagically support that syscall in the syscall table used by 'perf trace' on arm/arm64. This cures the following

[PATCH 1/7] tools headers uapi: Update tools's copy of linux/perf_event.h

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: 09121255c784 ("perf/UAPI: Clearly mark __PERF_SAMPLE_CALLCHAIN_EARLY as internal use") This cures the following warning during perf's build: Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs

[PATCH 2/7] tools headers uapi: Update tools's copy of asm-generic/unistd.h

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: db7a2d1809a5 ("asm-generic: unistd.h: Wire up sys_rseq") That wires up the new 'rsec' system call, which will automagically support that syscall in the syscall table used by 'perf trace' on arm/arm64. This cures the following

[PATCH 1/7] tools headers uapi: Update tools's copy of linux/perf_event.h

2018-09-12 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in: 09121255c784 ("perf/UAPI: Clearly mark __PERF_SAMPLE_CALLCHAIN_EARLY as internal use") This cures the following warning during perf's build: Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs

Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured"

2018-09-12 Thread Thomas Petazzoni
Jan, Baruch, On Wed, 12 Sep 2018 21:49:41 +0300, Baruch Siach wrote: > Jan Kundrát writes: > > since commit ee1604381a371b3ea6aec7d5e43b6e3f5e153854 ("PCI: mvebu: Only > > remap I/O space if configured"), my board (Solidrun Clearfog Base) won't > > finish booting with 4.18-rc3 won't boot: > >

Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured"

2018-09-12 Thread Thomas Petazzoni
Jan, Baruch, On Wed, 12 Sep 2018 21:49:41 +0300, Baruch Siach wrote: > Jan Kundrát writes: > > since commit ee1604381a371b3ea6aec7d5e43b6e3f5e153854 ("PCI: mvebu: Only > > remap I/O space if configured"), my board (Solidrun Clearfog Base) won't > > finish booting with 4.18-rc3 won't boot: > >

Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured"

2018-09-12 Thread Baruch Siach
Hi Jan, Jan Kundrát writes: > since commit ee1604381a371b3ea6aec7d5e43b6e3f5e153854 ("PCI: mvebu: Only > remap I/O space if configured"), my board (Solidrun Clearfog Base) won't > finish booting with 4.18-rc3 won't boot: You mean '4.19-rc3', right? >> [1.741458] Internal error: Oops -

Re: [BISECTED] Regression: Solidrun Clearfog Base won't boot since "PCI: mvebu: Only remap I/O space if configured"

2018-09-12 Thread Baruch Siach
Hi Jan, Jan Kundrát writes: > since commit ee1604381a371b3ea6aec7d5e43b6e3f5e153854 ("PCI: mvebu: Only > remap I/O space if configured"), my board (Solidrun Clearfog Base) won't > finish booting with 4.18-rc3 won't boot: You mean '4.19-rc3', right? >> [1.741458] Internal error: Oops -

Re: [PATCH stable] x86/tsc: Prevent result truncation on 32 bit

2018-09-12 Thread Greg KH
On Wed, Sep 12, 2018 at 02:42:08PM +0200, Thomas Gleixner wrote: > Subject: x86/tsc: Prevent result truncation on 32 bit > From: Chuanhua Lei > Date: Thu Sep 6 18:03:23 2018 +0800 > > From: Chuanhua Lei > > Commit 17f6bac2249356c795339e03a0742cd79be3cab8 upstream. > > Loops per jiffy is

Re: [PATCH stable] x86/tsc: Prevent result truncation on 32 bit

2018-09-12 Thread Greg KH
On Wed, Sep 12, 2018 at 02:42:08PM +0200, Thomas Gleixner wrote: > Subject: x86/tsc: Prevent result truncation on 32 bit > From: Chuanhua Lei > Date: Thu Sep 6 18:03:23 2018 +0800 > > From: Chuanhua Lei > > Commit 17f6bac2249356c795339e03a0742cd79be3cab8 upstream. > > Loops per jiffy is

Re: [PATCH v2] tracing/Makefile: fix handling redefinition of CC_FLAGS_FTRACE

2018-09-12 Thread Steven Rostedt
On Mon, 10 Sep 2018 10:59:56 -0700 Paulo Zanoni wrote: > As a Kernel developer, I make heavy use of "make targz-pkg" in order > to locally compile and remotely install my development Kernels. The > nice feature I rely on is that after a normal "make", "make targz-pkg" > only generates the

Re: [PATCH v2] tracing/Makefile: fix handling redefinition of CC_FLAGS_FTRACE

2018-09-12 Thread Steven Rostedt
On Mon, 10 Sep 2018 10:59:56 -0700 Paulo Zanoni wrote: > As a Kernel developer, I make heavy use of "make targz-pkg" in order > to locally compile and remotely install my development Kernels. The > nice feature I rely on is that after a normal "make", "make targz-pkg" > only generates the

Re: [PATCH] dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction

2018-09-12 Thread Nathan Chancellor
On Wed, Sep 12, 2018 at 10:00:57AM -0700, Nick Desaulniers wrote: > On Tue, Sep 11, 2018 at 4:40 PM Nathan Chancellor > wrote: > > > > Clang warns when implicitly converting from one enumerated type to > > another. Avoid this by using the equivalent value from the expected > > type. > > > > In

Re: [PATCH] dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction

2018-09-12 Thread Nathan Chancellor
On Wed, Sep 12, 2018 at 10:00:57AM -0700, Nick Desaulniers wrote: > On Tue, Sep 11, 2018 at 4:40 PM Nathan Chancellor > wrote: > > > > Clang warns when implicitly converting from one enumerated type to > > another. Avoid this by using the equivalent value from the expected > > type. > > > > In

Re: [PATCH v3] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-12 Thread Himanshu Jha
On Wed, Sep 12, 2018 at 10:20:34AM +0800, Song Qiang wrote: > This driver was originally written by ST in 2016 as a misc input device > driver, and hasn't been maintained for a long time. I grabbed some code > from it's API and reformed it into a iio proximity device driver. > This version of

Re: [PATCH v3] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-12 Thread Himanshu Jha
On Wed, Sep 12, 2018 at 10:20:34AM +0800, Song Qiang wrote: > This driver was originally written by ST in 2016 as a misc input device > driver, and hasn't been maintained for a long time. I grabbed some code > from it's API and reformed it into a iio proximity device driver. > This version of

Re: [PATCH v7 1/6] dt-bindings: ti-lmu: Remove LM3697

2018-09-12 Thread Jacek Anaszewski
On 09/11/2018 10:05 PM, Pavel Machek wrote: > On Tue 2018-09-11 12:08:20, Dan Murphy wrote: >> Remove support for the LM3697 LED device >> from the ti-lmu. The LM3697 will be supported >> via a stand alone LED driver. >> >> Signed-off-by: Dan Murphy > > I'd really like to see better explanation

Re: [PATCH v7 1/6] dt-bindings: ti-lmu: Remove LM3697

2018-09-12 Thread Jacek Anaszewski
On 09/11/2018 10:05 PM, Pavel Machek wrote: > On Tue 2018-09-11 12:08:20, Dan Murphy wrote: >> Remove support for the LM3697 LED device >> from the ti-lmu. The LM3697 will be supported >> via a stand alone LED driver. >> >> Signed-off-by: Dan Murphy > > I'd really like to see better explanation

Re: [PATCH v4 4/5] iio: fxas21002c: add ODR/Scale support

2018-09-12 Thread Himanshu Jha
Hello Afonso, On Wed, Sep 12, 2018 at 05:26:01PM +0800, kbuild test robot wrote: > Hi Afonso, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on iio/togreg] > [also build test ERROR on v4.19-rc3 next-20180912] > [if your patch is applied

Re: [PATCH v4 4/5] iio: fxas21002c: add ODR/Scale support

2018-09-12 Thread Himanshu Jha
Hello Afonso, On Wed, Sep 12, 2018 at 05:26:01PM +0800, kbuild test robot wrote: > Hi Afonso, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on iio/togreg] > [also build test ERROR on v4.19-rc3 next-20180912] > [if your patch is applied

Re: [GIT PULL] soundwire updates for v4.19-rc1

2018-09-12 Thread Greg KH
On Wed, Sep 12, 2018 at 02:52:33PM +0530, Vinod wrote: > On 12-09-18, 09:29, Greg KH wrote: > > On Wed, Aug 08, 2018 at 09:58:50PM +0530, Vinod wrote: > > > Hey Greg, > > > > > > Please PULL to receive the soundwire update for v4.19-rc1 with a signed > > > tag as you requested last time and the

Re: [GIT PULL] soundwire updates for v4.19-rc1

2018-09-12 Thread Greg KH
On Wed, Sep 12, 2018 at 02:52:33PM +0530, Vinod wrote: > On 12-09-18, 09:29, Greg KH wrote: > > On Wed, Aug 08, 2018 at 09:58:50PM +0530, Vinod wrote: > > > Hey Greg, > > > > > > Please PULL to receive the soundwire update for v4.19-rc1 with a signed > > > tag as you requested last time and the

Re: [PATCH v2 13/17] compat_ioctl: remove /dev/random commands

2018-09-12 Thread Greg Kroah-Hartman
On Wed, Sep 12, 2018 at 05:13:05PM +0200, Arnd Bergmann wrote: > These are all handled by the random driver, so instead of listing > each ioctl, we can just use the same function to deal with both > native and compat commands. > > Signed-off-by: Arnd Bergmann > --- > drivers/char/random.c | 1 +

Re: [PATCH v2 13/17] compat_ioctl: remove /dev/random commands

2018-09-12 Thread Greg Kroah-Hartman
On Wed, Sep 12, 2018 at 05:13:05PM +0200, Arnd Bergmann wrote: > These are all handled by the random driver, so instead of listing > each ioctl, we can just use the same function to deal with both > native and compat commands. > > Signed-off-by: Arnd Bergmann > --- > drivers/char/random.c | 1 +

[PATCH v6 4/4] dt-bindings: msm: Update documentation of qcom,llcc

2018-09-12 Thread Venkata Narendra Kumar Gutta
Add reg-names and interrupts for LLCC documentation and the usage examples. llcc broadcast base is added in addition to llcc base, which is used for llcc broadcast writes. Signed-off-by: Venkata Narendra Kumar Gutta Reviewed-by: Rob Herring --- .../devicetree/bindings/arm/msm/qcom,llcc.txt

[PATCH v6 2/4] drivers: soc: Add support to register LLCC EDAC driver

2018-09-12 Thread Venkata Narendra Kumar Gutta
Cache error reporting controller detects and reports single and double bit errors on Last Level Cache Controller (LLCC) cache. Add required support to register LLCC EDAC driver as platform driver, from LLCC driver. Signed-off-by: Venkata Narendra Kumar Gutta Reviewed-by: Evan Green ---

[PATCH v6 4/4] dt-bindings: msm: Update documentation of qcom,llcc

2018-09-12 Thread Venkata Narendra Kumar Gutta
Add reg-names and interrupts for LLCC documentation and the usage examples. llcc broadcast base is added in addition to llcc base, which is used for llcc broadcast writes. Signed-off-by: Venkata Narendra Kumar Gutta Reviewed-by: Rob Herring --- .../devicetree/bindings/arm/msm/qcom,llcc.txt

[PATCH v6 2/4] drivers: soc: Add support to register LLCC EDAC driver

2018-09-12 Thread Venkata Narendra Kumar Gutta
Cache error reporting controller detects and reports single and double bit errors on Last Level Cache Controller (LLCC) cache. Add required support to register LLCC EDAC driver as platform driver, from LLCC driver. Signed-off-by: Venkata Narendra Kumar Gutta Reviewed-by: Evan Green ---

[PATCH v6 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-09-12 Thread Venkata Narendra Kumar Gutta
From: Channagoud Kadabi Add error reporting driver for Single Bit Errors (SBEs) and Double Bit Errors (DBEs). As of now, this driver supports error reporting for Last Level Cache Controller (LLCC) of Tag RAM and Data RAM. Interrupts are triggered when the errors happen in the cache, the driver

[PATCH v6 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-09-12 Thread Venkata Narendra Kumar Gutta
From: Channagoud Kadabi Add error reporting driver for Single Bit Errors (SBEs) and Double Bit Errors (DBEs). As of now, this driver supports error reporting for Last Level Cache Controller (LLCC) of Tag RAM and Data RAM. Interrupts are triggered when the errors happen in the cache, the driver

[PATCH v6 0/4] Add EDAC driver for QCOM SoCs

2018-09-12 Thread Venkata Narendra Kumar Gutta
This series implements EDAC driver for QCOM SoCs. As of now, this driver supports EDAC for Last Level Cache Controller (LLCC). LLCC EDAC driver is to detect and report single and double bit errors on Last Level Cache Controller (LLCC) cache. Interrupts are triggered when the errors happen in the

[PATCH v6 0/4] Add EDAC driver for QCOM SoCs

2018-09-12 Thread Venkata Narendra Kumar Gutta
This series implements EDAC driver for QCOM SoCs. As of now, this driver supports EDAC for Last Level Cache Controller (LLCC). LLCC EDAC driver is to detect and report single and double bit errors on Last Level Cache Controller (LLCC) cache. Interrupts are triggered when the errors happen in the

[PATCH v6 1/4] drivers: soc: Add broadcast base for Last Level Cache Controller (LLCC)

2018-09-12 Thread Venkata Narendra Kumar Gutta
Currently, broadcast base is set to end of the LLCC banks, which may not be correct always. As the number of banks may vary for each chipset and the broadcast base could be at a different address as well. This info depends on the chipset, so get the broadcast base info from the device tree (DT).

[PATCH v6 1/4] drivers: soc: Add broadcast base for Last Level Cache Controller (LLCC)

2018-09-12 Thread Venkata Narendra Kumar Gutta
Currently, broadcast base is set to end of the LLCC banks, which may not be correct always. As the number of banks may vary for each chipset and the broadcast base could be at a different address as well. This info depends on the chipset, so get the broadcast base info from the device tree (DT).

Re: loop device: print_req_error - blk_update_request I/O error

2018-09-12 Thread Egerváry Gergely
Answering to myself: It looks like ext4 lazy init does not play well with loop device. If the ext4 filesystem was previously created with lazy init there are I/O errors. Disabling lazy init fixes problem. Bug or feature? Thanks, I'm mounting an ext4 filesystem residing on an AHCI SATA disk

Re: loop device: print_req_error - blk_update_request I/O error

2018-09-12 Thread Egerváry Gergely
Answering to myself: It looks like ext4 lazy init does not play well with loop device. If the ext4 filesystem was previously created with lazy init there are I/O errors. Disabling lazy init fixes problem. Bug or feature? Thanks, I'm mounting an ext4 filesystem residing on an AHCI SATA disk

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-12 Thread Patrick Bellasi
On 12-Sep 19:42, Peter Zijlstra wrote: > On Wed, Sep 12, 2018 at 06:35:15PM +0100, Patrick Bellasi wrote: > > On 12-Sep 18:12, Peter Zijlstra wrote: > > > > No idea; but if you want to go all fancy you can replace he whole > > > uclamp_map thing with something like: > > > > > > struct uclamp_map

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-12 Thread Patrick Bellasi
On 12-Sep 19:42, Peter Zijlstra wrote: > On Wed, Sep 12, 2018 at 06:35:15PM +0100, Patrick Bellasi wrote: > > On 12-Sep 18:12, Peter Zijlstra wrote: > > > > No idea; but if you want to go all fancy you can replace he whole > > > uclamp_map thing with something like: > > > > > > struct uclamp_map

Re: [PATCH] pstore: fix incorrect persistent ram buffer mapping

2018-09-12 Thread Kees Cook
On Tue, Sep 11, 2018 at 8:36 PM, Bin Yang wrote: > persistent_ram_vmap() returns the page start vaddr. > persistent_ram_iomap() supports non-page-aligned mapping. Oh, yes, good catch. This should probably be explicitly mentioned in comments for these functions. > persistent_ram_buffer_map()

Re: [PATCH v4 03/16] sched/core: uclamp: add CPU's clamp groups accounting

2018-09-12 Thread Patrick Bellasi
On 12-Sep 19:34, Peter Zijlstra wrote: > On Tue, Aug 28, 2018 at 02:53:11PM +0100, Patrick Bellasi wrote: > > diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h > > index 72df2dc779bc..513608ae4908 100644 > > --- a/kernel/sched/sched.h > > +++ b/kernel/sched/sched.h > > @@ -764,6 +764,50 @@

Re: [PATCH] pstore: fix incorrect persistent ram buffer mapping

2018-09-12 Thread Kees Cook
On Tue, Sep 11, 2018 at 8:36 PM, Bin Yang wrote: > persistent_ram_vmap() returns the page start vaddr. > persistent_ram_iomap() supports non-page-aligned mapping. Oh, yes, good catch. This should probably be explicitly mentioned in comments for these functions. > persistent_ram_buffer_map()

Re: [PATCH v4 03/16] sched/core: uclamp: add CPU's clamp groups accounting

2018-09-12 Thread Patrick Bellasi
On 12-Sep 19:34, Peter Zijlstra wrote: > On Tue, Aug 28, 2018 at 02:53:11PM +0100, Patrick Bellasi wrote: > > diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h > > index 72df2dc779bc..513608ae4908 100644 > > --- a/kernel/sched/sched.h > > +++ b/kernel/sched/sched.h > > @@ -764,6 +764,50 @@

Re: [PATCH AUTOSEL 4.14 27/67] ARM: exynos: Define EINT_WAKEUP_MASK registers for S5Pv210 and Exynos5433

2018-09-12 Thread Sasha Levin
On Fri, Sep 07, 2018 at 08:33:22AM +0200, Krzysztof Kozlowski wrote: >On Fri, 7 Sep 2018 at 02:54, Sasha Levin wrote: >> >> From: Krzysztof Kozlowski >> >> [ Upstream commit e5cda42c16d89720c29678f51d95a119490ef7d8 ] >> >> S5Pv210 and Exynos5433/Exynos7 have different address of >>

Re: [PATCH AUTOSEL 4.14 27/67] ARM: exynos: Define EINT_WAKEUP_MASK registers for S5Pv210 and Exynos5433

2018-09-12 Thread Sasha Levin
On Fri, Sep 07, 2018 at 08:33:22AM +0200, Krzysztof Kozlowski wrote: >On Fri, 7 Sep 2018 at 02:54, Sasha Levin wrote: >> >> From: Krzysztof Kozlowski >> >> [ Upstream commit e5cda42c16d89720c29678f51d95a119490ef7d8 ] >> >> S5Pv210 and Exynos5433/Exynos7 have different address of >>

Re: [PATCH v9 21/22] KVM: s390: CPU model support for AP virtualization

2018-09-12 Thread Tony Krowiak
On 08/23/2018 04:24 AM, Cornelia Huck wrote: On Thu, 23 Aug 2018 09:48:48 +0200 David Hildenbrand wrote: Migration of AP devices is not supported by this patch series, so this should not be an issue. Might not be a problem now, but could be later. As I said in a different reply, the CPU

Re: [PATCH v9 21/22] KVM: s390: CPU model support for AP virtualization

2018-09-12 Thread Tony Krowiak
On 08/23/2018 04:24 AM, Cornelia Huck wrote: On Thu, 23 Aug 2018 09:48:48 +0200 David Hildenbrand wrote: Migration of AP devices is not supported by this patch series, so this should not be an issue. Might not be a problem now, but could be later. As I said in a different reply, the CPU

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-12 Thread Peter Zijlstra
On Wed, Sep 12, 2018 at 06:35:15PM +0100, Patrick Bellasi wrote: > On 12-Sep 18:12, Peter Zijlstra wrote: > > No idea; but if you want to go all fancy you can replace he whole > > uclamp_map thing with something like: > > > > struct uclamp_map { > > union { > > struct { > >

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-12 Thread Peter Zijlstra
On Wed, Sep 12, 2018 at 06:35:15PM +0100, Patrick Bellasi wrote: > On 12-Sep 18:12, Peter Zijlstra wrote: > > No idea; but if you want to go all fancy you can replace he whole > > uclamp_map thing with something like: > > > > struct uclamp_map { > > union { > > struct { > >

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-12 Thread Patrick Bellasi
On 12-Sep 18:24, Peter Zijlstra wrote: > On Tue, Aug 28, 2018 at 02:53:10PM +0100, Patrick Bellasi wrote: > > static inline int __setscheduler_uclamp(struct task_struct *p, > > const struct sched_attr *attr) > > But large for inline now. Yes, Suren also

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-12 Thread Patrick Bellasi
On 12-Sep 18:24, Peter Zijlstra wrote: > On Tue, Aug 28, 2018 at 02:53:10PM +0100, Patrick Bellasi wrote: > > static inline int __setscheduler_uclamp(struct task_struct *p, > > const struct sched_attr *attr) > > But large for inline now. Yes, Suren also

Re: [PATCH AUTOSEL 4.18 69/88] xen-netfront: fix queue name setting

2018-09-12 Thread Sasha Levin
On Fri, Sep 07, 2018 at 01:33:55PM -0400, Boris Ostrovsky wrote: >On 09/06/2018 08:36 PM, Sasha Levin wrote: >> From: Vitaly Kuznetsov >> >> [ Upstream commit 2d408c0d4574b01b9ed45e02516888bf925e11a9 ] >> >> Commit f599c64fdf7d ("xen-netfront: Fix race between device setup and >> open") changed

Re: [PATCH AUTOSEL 4.18 69/88] xen-netfront: fix queue name setting

2018-09-12 Thread Sasha Levin
On Fri, Sep 07, 2018 at 01:33:55PM -0400, Boris Ostrovsky wrote: >On 09/06/2018 08:36 PM, Sasha Levin wrote: >> From: Vitaly Kuznetsov >> >> [ Upstream commit 2d408c0d4574b01b9ed45e02516888bf925e11a9 ] >> >> Commit f599c64fdf7d ("xen-netfront: Fix race between device setup and >> open") changed

Re: [PATCH AUTOSEL 4.18 02/88] usb: usbtest: use irqsave() in USB's complete callback

2018-09-12 Thread Sasha Levin
On Fri, Sep 07, 2018 at 07:42:23AM +0200, Greg Kroah-Hartman wrote: >On Fri, Sep 07, 2018 at 12:35:52AM +, Sasha Levin wrote: >> From: Sebastian Andrzej Siewior >> >> [ Upstream commit 6f3fde684d0232e66ada3410f016a58e09a87689 ] >> >> The USB completion callback does not disable interrupts

Re: [PATCH AUTOSEL 4.18 02/88] usb: usbtest: use irqsave() in USB's complete callback

2018-09-12 Thread Sasha Levin
On Fri, Sep 07, 2018 at 07:42:23AM +0200, Greg Kroah-Hartman wrote: >On Fri, Sep 07, 2018 at 12:35:52AM +, Sasha Levin wrote: >> From: Sebastian Andrzej Siewior >> >> [ Upstream commit 6f3fde684d0232e66ada3410f016a58e09a87689 ] >> >> The USB completion callback does not disable interrupts

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-12 Thread Patrick Bellasi
On 12-Sep 18:12, Peter Zijlstra wrote: > On Wed, Sep 12, 2018 at 04:56:19PM +0100, Patrick Bellasi wrote: > > On 12-Sep 15:49, Peter Zijlstra wrote: > > > On Tue, Aug 28, 2018 at 02:53:10PM +0100, Patrick Bellasi wrote: > > > > > +/** > > > > + * uclamp_map: reference counts a utilization "clamp

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-12 Thread Patrick Bellasi
On 12-Sep 18:12, Peter Zijlstra wrote: > On Wed, Sep 12, 2018 at 04:56:19PM +0100, Patrick Bellasi wrote: > > On 12-Sep 15:49, Peter Zijlstra wrote: > > > On Tue, Aug 28, 2018 at 02:53:10PM +0100, Patrick Bellasi wrote: > > > > > +/** > > > > + * uclamp_map: reference counts a utilization "clamp

Re: [PATCH v4 03/16] sched/core: uclamp: add CPU's clamp groups accounting

2018-09-12 Thread Peter Zijlstra
On Tue, Aug 28, 2018 at 02:53:11PM +0100, Patrick Bellasi wrote: > diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h > index 72df2dc779bc..513608ae4908 100644 > --- a/kernel/sched/sched.h > +++ b/kernel/sched/sched.h > @@ -764,6 +764,50 @@ extern void rto_push_irq_work_func(struct irq_work

Re: [PATCH v4 03/16] sched/core: uclamp: add CPU's clamp groups accounting

2018-09-12 Thread Peter Zijlstra
On Tue, Aug 28, 2018 at 02:53:11PM +0100, Patrick Bellasi wrote: > diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h > index 72df2dc779bc..513608ae4908 100644 > --- a/kernel/sched/sched.h > +++ b/kernel/sched/sched.h > @@ -764,6 +764,50 @@ extern void rto_push_irq_work_func(struct irq_work

Re: [PATCH 1/1] pci: Pick up the acpi numa node value if it is specified at the device level.

2018-09-12 Thread Bjorn Helgaas
[+cc ACPI folks, LKML] On Wed, Sep 12, 2018 at 04:21:40PM +0100, Jonathan Cameron wrote: > The ACPI specification allows you to provide _PXM entries for devices based > on their location on a particular bus. Let us use that if it is provided > rather than just assuming it makes sense to put the

Re: [PATCH 1/1] pci: Pick up the acpi numa node value if it is specified at the device level.

2018-09-12 Thread Bjorn Helgaas
[+cc ACPI folks, LKML] On Wed, Sep 12, 2018 at 04:21:40PM +0100, Jonathan Cameron wrote: > The ACPI specification allows you to provide _PXM entries for devices based > on their location on a particular bus. Let us use that if it is provided > rather than just assuming it makes sense to put the

Re: [PATCH AUTOSEL 4.14 49/89] ARM: 8783/1: NOMMU: Extend check for VBAR support

2018-09-12 Thread Sasha Levin
On Mon, Sep 10, 2018 at 10:42:05AM +0100, Vladimir Murzin wrote: >On 02/09/18 14:07, Sasha Levin wrote: >> From: Vladimir Murzin >> >> [ Upstream commit c803ce3f18bd93b3b4a15d1da0c5b5ebc60e0b85 ] >> >> ARMv8R adds support for VBAR and updates ID_PFR1 with the new filed >> Sec_frac (bits [23:20]):

Re: [PATCH AUTOSEL 4.14 49/89] ARM: 8783/1: NOMMU: Extend check for VBAR support

2018-09-12 Thread Sasha Levin
On Mon, Sep 10, 2018 at 10:42:05AM +0100, Vladimir Murzin wrote: >On 02/09/18 14:07, Sasha Levin wrote: >> From: Vladimir Murzin >> >> [ Upstream commit c803ce3f18bd93b3b4a15d1da0c5b5ebc60e0b85 ] >> >> ARMv8R adds support for VBAR and updates ID_PFR1 with the new filed >> Sec_frac (bits [23:20]):

[PATCH] watchdog: diag288_wdt: pointer location foo * bar should be foo *bar

2018-09-12 Thread Jagdish Tirumala
Fix the following checkpatch error: ERROR: pointer location foo * bar should be foo *bar FILE: drivers/watchdog/diag288_wdt.c:202 Signed-off-by: Jagdish Tirumala --- drivers/watchdog/diag288_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] watchdog: diag288_wdt: pointer location foo * bar should be foo *bar

2018-09-12 Thread Jagdish Tirumala
Fix the following checkpatch error: ERROR: pointer location foo * bar should be foo *bar FILE: drivers/watchdog/diag288_wdt.c:202 Signed-off-by: Jagdish Tirumala --- drivers/watchdog/diag288_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v5 2/2] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

2018-09-12 Thread Tom Lendacky
On 09/11/2018 04:16 PM, Thomas Gleixner wrote: > On Tue, 11 Sep 2018, Tim Chen wrote: >> On 09/10/2018 04:46 AM, Jiri Kosina wrote: >>> Nah, IBPB is actuall there, sorry. So I'll add reporting of STIBP + fixup >>> the missing reporting of RSB_CTXSW for v6. >>> >> >> I anticipate that STIBP

Re: [PATCH 2/5] PCI: provide pci_match_id() with CONFIG_PCI=n

2018-09-12 Thread Bjorn Helgaas
Please capitalize the subject as: PCI: Provide pci_match_id() with CONFIG_PCI=n On Mon, Sep 10, 2018 at 01:59:32PM +0200, Lubomir Rintel wrote: > This spares drivers from #ifdef-ing on CONFIG_PCI if the driver can be > optionally built on machines without PCI bus. > > Consistent with

Re: [PATCH v5 2/2] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

2018-09-12 Thread Tom Lendacky
On 09/11/2018 04:16 PM, Thomas Gleixner wrote: > On Tue, 11 Sep 2018, Tim Chen wrote: >> On 09/10/2018 04:46 AM, Jiri Kosina wrote: >>> Nah, IBPB is actuall there, sorry. So I'll add reporting of STIBP + fixup >>> the missing reporting of RSB_CTXSW for v6. >>> >> >> I anticipate that STIBP

Re: [PATCH 2/5] PCI: provide pci_match_id() with CONFIG_PCI=n

2018-09-12 Thread Bjorn Helgaas
Please capitalize the subject as: PCI: Provide pci_match_id() with CONFIG_PCI=n On Mon, Sep 10, 2018 at 01:59:32PM +0200, Lubomir Rintel wrote: > This spares drivers from #ifdef-ing on CONFIG_PCI if the driver can be > optionally built on machines without PCI bus. > > Consistent with

Re: [RFC v9 PATCH 2/4] mm: mmap: zap pages with read mmap_sem in munmap

2018-09-12 Thread Yang Shi
On 9/12/18 2:11 AM, Michal Hocko wrote: On Tue 11-09-18 19:29:21, Matthew Wilcox wrote: On Tue, Sep 11, 2018 at 04:35:03PM -0700, Yang Shi wrote: [...] I didn't get to read the patch yet. If you guys think this is the better way I could convert my patches to go this way. It is simple to

Re: [RFC v9 PATCH 2/4] mm: mmap: zap pages with read mmap_sem in munmap

2018-09-12 Thread Yang Shi
On 9/12/18 2:11 AM, Michal Hocko wrote: On Tue 11-09-18 19:29:21, Matthew Wilcox wrote: On Tue, Sep 11, 2018 at 04:35:03PM -0700, Yang Shi wrote: [...] I didn't get to read the patch yet. If you guys think this is the better way I could convert my patches to go this way. It is simple to

Re: [PATCH 4/5] lib/ioremap: Ensure phys_addr actually corresponds to a physical address

2018-09-12 Thread Sean Christopherson
On Wed, Sep 12, 2018 at 05:39:14PM +0100, Will Deacon wrote: > Hi Sean, > > Thanks for looking at the patch. > > On Wed, Sep 12, 2018 at 08:09:39AM -0700, Sean Christopherson wrote: > > On Wed, Sep 12, 2018 at 11:26:13AM +0100, Will Deacon wrote: > > > The current ioremap() code uses a phys_addr

Re: [PATCH 4/5] lib/ioremap: Ensure phys_addr actually corresponds to a physical address

2018-09-12 Thread Sean Christopherson
On Wed, Sep 12, 2018 at 05:39:14PM +0100, Will Deacon wrote: > Hi Sean, > > Thanks for looking at the patch. > > On Wed, Sep 12, 2018 at 08:09:39AM -0700, Sean Christopherson wrote: > > On Wed, Sep 12, 2018 at 11:26:13AM +0100, Will Deacon wrote: > > > The current ioremap() code uses a phys_addr

Re: [PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-09-12 Thread Andy Lutomirski
> On Sep 12, 2018, at 7:29 AM, Thomas Gleixner wrote: > >> On Wed, 12 Sep 2018, Florian Weimer wrote: >>> On 09/12/2018 04:17 PM, Thomas Gleixner wrote: On Wed, 12 Sep 2018, Florian Weimer wrote: Does this mean glibc can keep using a single vDSO entrypoint, the one we have

Re: [PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-09-12 Thread Andy Lutomirski
> On Sep 12, 2018, at 7:29 AM, Thomas Gleixner wrote: > >> On Wed, 12 Sep 2018, Florian Weimer wrote: >>> On 09/12/2018 04:17 PM, Thomas Gleixner wrote: On Wed, 12 Sep 2018, Florian Weimer wrote: Does this mean glibc can keep using a single vDSO entrypoint, the one we have

Re: [Intel-gfx] [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-12 Thread Ville Syrjälä
On Tue, Sep 11, 2018 at 12:17:05PM +0200, Martin Steigerwald wrote: > Cc´d Intel Gfx mailing list, in case somebody there knows something: > > Cc´d Thorsten for regression tracking… forgot initially. Can also open > bug report at a later time but so far I cannot provide many details > about the

Re: [Intel-gfx] [REGRESSION 4.19-rc2] sometimes hangs with black screen when resuming from suspend or hibernation (was: Re: Linux 4.19-rc2)

2018-09-12 Thread Ville Syrjälä
On Tue, Sep 11, 2018 at 12:17:05PM +0200, Martin Steigerwald wrote: > Cc´d Intel Gfx mailing list, in case somebody there knows something: > > Cc´d Thorsten for regression tracking… forgot initially. Can also open > bug report at a later time but so far I cannot provide many details > about the

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