Re: [PATCH v2 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-11-03 Thread Jonathan Cameron
On Fri, 2 Nov 2018 10:49:59 -0300 Matheus Tavares wrote: > On 10/28/18 1:40 PM, Jonathan Cameron wrote: > > On Fri, 26 Oct 2018 23:00:00 -0300 > > Matheus Tavares wrote: > > > >> Previously, when spi_read returned an error code inside ad2s90_read_raw, > >> the code was ignored and IIO_VAL_INT

Re: [PATCH v2 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-11-03 Thread Jonathan Cameron
On Fri, 2 Nov 2018 10:49:59 -0300 Matheus Tavares wrote: > On 10/28/18 1:40 PM, Jonathan Cameron wrote: > > On Fri, 26 Oct 2018 23:00:00 -0300 > > Matheus Tavares wrote: > > > >> Previously, when spi_read returned an error code inside ad2s90_read_raw, > >> the code was ignored and IIO_VAL_INT

[GIT PULL] arm64 2nd round of updates for 4.20

2018-11-03 Thread Catalin Marinas
Hi Linus, Please pull the arm64 updates below. Thank you. The following changes since commit 4debef5510071032c6d5dace31ca1cc42a120073: arm64: KVM: Guests can skip __install_bp_hardening_cb()s HYP work (2018-10-19 15:37:25 +0100) are available in the git repository at:

[GIT PULL] arm64 2nd round of updates for 4.20

2018-11-03 Thread Catalin Marinas
Hi Linus, Please pull the arm64 updates below. Thank you. The following changes since commit 4debef5510071032c6d5dace31ca1cc42a120073: arm64: KVM: Guests can skip __install_bp_hardening_cb()s HYP work (2018-10-19 15:37:25 +0100) are available in the git repository at:

Re: [PATCH 1/2] dt-bindings: iio: pressure: Add support for Honeywell HSC SPI sensors

2018-11-03 Thread Jonathan Cameron
Rob, just to draw your attention, some discussion around spi-max-frequency that you might want to look at below. On Tue, 30 Oct 2018 15:56:58 + Carlos Iglesias wrote: > Please see comments inline below. Hi Carlos, Please try to use an email client (or configure yours to do it) that adds

Re: [PATCH 1/2] dt-bindings: iio: pressure: Add support for Honeywell HSC SPI sensors

2018-11-03 Thread Jonathan Cameron
Rob, just to draw your attention, some discussion around spi-max-frequency that you might want to look at below. On Tue, 30 Oct 2018 15:56:58 + Carlos Iglesias wrote: > Please see comments inline below. Hi Carlos, Please try to use an email client (or configure yours to do it) that adds

Re: [PATCH v5 04/11] dt-bindings: iio: adc: add AXP803 ADC bindings

2018-11-03 Thread Jonathan Cameron
On Wed, 31 Oct 2018 10:29:59 +0800 Chen-Yu Tsai wrote: > On Mon, Oct 29, 2018 at 9:10 PM Quentin Schulz > wrote: > > > > Hi Jonathan, > > > > On Sun, Oct 28, 2018 at 03:40:11PM +, Jonathan Cameron wrote: > > > On Wed, 24 Oct 2018 08:56:33 -0500 > > > Rob Herring wrote: > > > > > > > On

Re: [PATCH v5 04/11] dt-bindings: iio: adc: add AXP803 ADC bindings

2018-11-03 Thread Jonathan Cameron
On Wed, 31 Oct 2018 10:29:59 +0800 Chen-Yu Tsai wrote: > On Mon, Oct 29, 2018 at 9:10 PM Quentin Schulz > wrote: > > > > Hi Jonathan, > > > > On Sun, Oct 28, 2018 at 03:40:11PM +, Jonathan Cameron wrote: > > > On Wed, 24 Oct 2018 08:56:33 -0500 > > > Rob Herring wrote: > > > > > > > On

Re: [PATCH] iov_iter: Fix 9p virtio breakage

2018-11-03 Thread Marc Zyngier
On Fri, 02 Nov 2018 19:04:33 +, Al Viro wrote: > > On Fri, Nov 02, 2018 at 05:16:51PM +, Marc Zyngier wrote: > > When switching to the new iovec accessors, a negation got subtly > > dropped, leading to 9p being remarkably broken (here with kvmtool): > > > > [7.430941] VFS: Mounted

Re: [PATCH] iov_iter: Fix 9p virtio breakage

2018-11-03 Thread Marc Zyngier
On Fri, 02 Nov 2018 19:04:33 +, Al Viro wrote: > > On Fri, Nov 02, 2018 at 05:16:51PM +, Marc Zyngier wrote: > > When switching to the new iovec accessors, a negation got subtly > > dropped, leading to 9p being remarkably broken (here with kvmtool): > > > > [7.430941] VFS: Mounted

[PATCH v2] iov_iter: Fix 9p virtio breakage

2018-11-03 Thread Marc Zyngier
When switching to the new iovec accessors, a negation got subtly dropped, leading to 9p being remarkably broken (here with kvmtool): [7.430941] VFS: Mounted root (9p filesystem) on device 0:15. [7.432080] devtmpfs: mounted [7.432717] Freeing unused kernel memory: 1344K [7.433658]

[PATCH v2] iov_iter: Fix 9p virtio breakage

2018-11-03 Thread Marc Zyngier
When switching to the new iovec accessors, a negation got subtly dropped, leading to 9p being remarkably broken (here with kvmtool): [7.430941] VFS: Mounted root (9p filesystem) on device 0:15. [7.432080] devtmpfs: mounted [7.432717] Freeing unused kernel memory: 1344K [7.433658]

Re: [PATCH v3 1/7] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2018-11-03 Thread Jiri Kosina
On Fri, 2 Nov 2018, Nadav Amit wrote: > text_mutex is expected to be held before text_poke() is called, but we > cannot add a lockdep assertion since kgdb does not take it, and instead > *supposedly* ensures the lock is not taken and will not be acquired by > any other core while text_poke() is

Re: [PATCH v3 1/7] Fix "x86/alternatives: Lockdep-enforce text_mutex in text_poke*()"

2018-11-03 Thread Jiri Kosina
On Fri, 2 Nov 2018, Nadav Amit wrote: > text_mutex is expected to be held before text_poke() is called, but we > cannot add a lockdep assertion since kgdb does not take it, and instead > *supposedly* ensures the lock is not taken and will not be acquired by > any other core while text_poke() is

Re: [PATCH] tsc: make calibration refinement more robust

2018-11-03 Thread Thomas Gleixner
Daniel, On Fri, 2 Nov 2018, Daniel Vacek wrote: > On Thu, Nov 1, 2018 at 4:34 PM, Thomas Gleixner wrote: > >> -#define MAX_RETRIES 5 > >> -#define SMI_TRESHOLD5 > >> +#define MAX_RETRIES 5 > >> +#define TSC_THRESHOLD(tsc_khz >> 5) > > > > This breaks

Re: [PATCH] tsc: make calibration refinement more robust

2018-11-03 Thread Thomas Gleixner
Daniel, On Fri, 2 Nov 2018, Daniel Vacek wrote: > On Thu, Nov 1, 2018 at 4:34 PM, Thomas Gleixner wrote: > >> -#define MAX_RETRIES 5 > >> -#define SMI_TRESHOLD5 > >> +#define MAX_RETRIES 5 > >> +#define TSC_THRESHOLD(tsc_khz >> 5) > > > > This breaks

[PATCH 1/5] lib: cordic: Move cordic macros and defines to header file

2018-11-03 Thread Priit Laes
Also append CORDIC_ prefix to nonprefixed macros. Signed-off-by: Priit Laes --- include/linux/cordic.h | 9 + lib/cordic.c | 23 +++ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/include/linux/cordic.h b/include/linux/cordic.h index

[PATCH 1/5] lib: cordic: Move cordic macros and defines to header file

2018-11-03 Thread Priit Laes
Also append CORDIC_ prefix to nonprefixed macros. Signed-off-by: Priit Laes --- include/linux/cordic.h | 9 + lib/cordic.c | 23 +++ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/include/linux/cordic.h b/include/linux/cordic.h index

Re: perf script doesn't dump a normal call trace

2018-11-03 Thread Xin Long
On Fri, Nov 2, 2018 at 7:26 PM Jiri Olsa wrote: > > On Fri, Nov 02, 2018 at 03:36:13PM +0900, Xin Long wrote: > > On upstream kernel(4.19) or RHEL-8 kernel(4.18.0): > > > > # perf record -e 'skb:consume_skb' -ag > > ^C[ perf record: Woken up 1 times to write data ] > > [ perf record: Captured and

Re: perf script doesn't dump a normal call trace

2018-11-03 Thread Xin Long
On Fri, Nov 2, 2018 at 7:26 PM Jiri Olsa wrote: > > On Fri, Nov 02, 2018 at 03:36:13PM +0900, Xin Long wrote: > > On upstream kernel(4.19) or RHEL-8 kernel(4.18.0): > > > > # perf record -e 'skb:consume_skb' -ag > > ^C[ perf record: Woken up 1 times to write data ] > > [ perf record: Captured and

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-11-03 Thread Eric S. Raymond
James Bottomley : > Actually, I think this whole code vs people debate is a straw man and > inherently inimical to the discussion. In neither code of conduct (old > or new) is there any statement that allows one to make a value judgment > of people relative to code, so the very premise you're all

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-11-03 Thread Eric S. Raymond
James Bottomley : > Actually, I think this whole code vs people debate is a straw man and > inherently inimical to the discussion. In neither code of conduct (old > or new) is there any statement that allows one to make a value judgment > of people relative to code, so the very premise you're all

Re: [PATCH 4.14 053/143] x86/power: Fix some ordering bugs in __restore_processor_context()

2018-11-03 Thread Greg Kroah-Hartman
On Sat, Nov 03, 2018 at 09:40:16AM +0100, Greg Kroah-Hartman wrote: > On Fri, Nov 02, 2018 at 07:17:34PM -0400, Sasha Levin wrote: > > On Fri, Nov 02, 2018 at 08:19:36PM +, Sudip Mukherjee wrote: > > > Hi Greg, > > > > > > On Fri, Nov 2, 2018 at 6:51 PM Greg Kroah-Hartman > > > wrote: > > >

Re: [PATCH 4.14 053/143] x86/power: Fix some ordering bugs in __restore_processor_context()

2018-11-03 Thread Greg Kroah-Hartman
On Sat, Nov 03, 2018 at 09:40:16AM +0100, Greg Kroah-Hartman wrote: > On Fri, Nov 02, 2018 at 07:17:34PM -0400, Sasha Levin wrote: > > On Fri, Nov 02, 2018 at 08:19:36PM +, Sudip Mukherjee wrote: > > > Hi Greg, > > > > > > On Fri, Nov 2, 2018 at 6:51 PM Greg Kroah-Hartman > > > wrote: > > >

Re: [PATCH 4.14 053/143] x86/power: Fix some ordering bugs in __restore_processor_context()

2018-11-03 Thread Greg Kroah-Hartman
On Fri, Nov 02, 2018 at 07:17:34PM -0400, Sasha Levin wrote: > On Fri, Nov 02, 2018 at 08:19:36PM +, Sudip Mukherjee wrote: > > Hi Greg, > > > > On Fri, Nov 2, 2018 at 6:51 PM Greg Kroah-Hartman > > wrote: > > > > > > 4.14-stable review patch. If anyone has any objections, please let me >

Re: [PATCH 4.14 053/143] x86/power: Fix some ordering bugs in __restore_processor_context()

2018-11-03 Thread Greg Kroah-Hartman
On Fri, Nov 02, 2018 at 07:17:34PM -0400, Sasha Levin wrote: > On Fri, Nov 02, 2018 at 08:19:36PM +, Sudip Mukherjee wrote: > > Hi Greg, > > > > On Fri, Nov 2, 2018 at 6:51 PM Greg Kroah-Hartman > > wrote: > > > > > > 4.14-stable review patch. If anyone has any objections, please let me >

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-11-03 Thread NeilBrown
On Fri, Nov 02 2018, Paul E. McKenney wrote: > On Fri, Nov 02, 2018 at 08:50:11AM +1100, NeilBrown wrote: >> On Thu, Nov 01 2018, Paul E. McKenney wrote: >> >> > On Sat, Oct 27, 2018 at 02:10:10AM +0100, Josh Triplett wrote: >> >> On Fri, Oct 26, 2018 at 08:14:51AM +1100, NeilBrown wrote: >> >>

Re: [Ksummit-discuss] Call to Action Re: [PATCH 0/7] Code of Conduct: Fix some wording, and add an interpretation document

2018-11-03 Thread NeilBrown
On Fri, Nov 02 2018, Paul E. McKenney wrote: > On Fri, Nov 02, 2018 at 08:50:11AM +1100, NeilBrown wrote: >> On Thu, Nov 01 2018, Paul E. McKenney wrote: >> >> > On Sat, Oct 27, 2018 at 02:10:10AM +0100, Josh Triplett wrote: >> >> On Fri, Oct 26, 2018 at 08:14:51AM +1100, NeilBrown wrote: >> >>

[GIT PULL] more Kbuild updates for v4.20

2018-11-03 Thread Masahiro Yamada
Hi Linus, Please pull a little more Kbuild updates. Thanks! The following changes since commit 310c7585e8300ddc46211df0757c11e4299ec482: Merge tag 'nfsd-4.20' of git://linux-nfs.org/~bfields/linux (2018-10-30 13:03:29 -0700) are available in the git repository at:

[GIT PULL] more Kbuild updates for v4.20

2018-11-03 Thread Masahiro Yamada
Hi Linus, Please pull a little more Kbuild updates. Thanks! The following changes since commit 310c7585e8300ddc46211df0757c11e4299ec482: Merge tag 'nfsd-4.20' of git://linux-nfs.org/~bfields/linux (2018-10-30 13:03:29 -0700) are available in the git repository at:

Re: [PATCH v6 3/3] clk: meson: add sub MMC clock controller driver

2018-11-03 Thread Jianxin Pan
Hi Martin, Thanks for the review and suggestion. Please see my comments below. On 2018/11/2 2:16, Martin Blumenstingl wrote: > Hi Jianxin, > > On Thu, Nov 1, 2018 at 5:31 PM Jianxin Pan wrote: >> >> From: Yixun Lan >> >> The patch will add a MMC clock controller driver which used by MMC or

Re: [PATCH v6 3/3] clk: meson: add sub MMC clock controller driver

2018-11-03 Thread Jianxin Pan
Hi Martin, Thanks for the review and suggestion. Please see my comments below. On 2018/11/2 2:16, Martin Blumenstingl wrote: > Hi Jianxin, > > On Thu, Nov 1, 2018 at 5:31 PM Jianxin Pan wrote: >> >> From: Yixun Lan >> >> The patch will add a MMC clock controller driver which used by MMC or

[PATCH] ACPI / battery: Fix reporting "Not charging" when capacity is 100%

2018-11-03 Thread João Paulo Rechi Vita
Commit 19fffc8450d4378580a8f019b195c4617083176f fixed reporting "Discharging" on some machines when AC was connected but the battery was not charging. But now on these machines the battery status is reported as "Not charging" even when the battery is fully charged. This commit takes the battery

[PATCH] ACPI / battery: Fix reporting "Not charging" when capacity is 100%

2018-11-03 Thread João Paulo Rechi Vita
Commit 19fffc8450d4378580a8f019b195c4617083176f fixed reporting "Discharging" on some machines when AC was connected but the battery was not charging. But now on these machines the battery status is reported as "Not charging" even when the battery is fully charged. This commit takes the battery

[PATCH] clk: qcom: smd: Add support for QCS404 rpm clocks

2018-11-03 Thread Bjorn Andersson
From: Taniya Das Add rpm smd clocks, PMIC and bus clocks which are required on QCS404 for clients to vote on. Signed-off-by: Taniya Das Signed-off-by: Anu Ramanathan [bjorn: Dropped cxo, voter clocks and static initialization] Signed-off-by: Bjorn Andersson ---

[PATCH] clk: qcom: smd: Add support for QCS404 rpm clocks

2018-11-03 Thread Bjorn Andersson
From: Taniya Das Add rpm smd clocks, PMIC and bus clocks which are required on QCS404 for clients to vote on. Signed-off-by: Taniya Das Signed-off-by: Anu Ramanathan [bjorn: Dropped cxo, voter clocks and static initialization] Signed-off-by: Bjorn Andersson ---

Re: /proc/iomem: only expose physical resource addresses to privileged users

2018-11-03 Thread Greg KH
On Fri, Nov 02, 2018 at 12:08:59PM -0700, Mark Salyzyn wrote: > From: Linus Torvalds > > commit 51d7b120418e99d6b3bf8df9eb3cc31e8171dee4 upstream ported to > 3.18.y Now queued up, thanks. greg k-h

Re: /proc/iomem: only expose physical resource addresses to privileged users

2018-11-03 Thread Greg KH
On Fri, Nov 02, 2018 at 12:08:59PM -0700, Mark Salyzyn wrote: > From: Linus Torvalds > > commit 51d7b120418e99d6b3bf8df9eb3cc31e8171dee4 upstream ported to > 3.18.y Now queued up, thanks. greg k-h

Re: [git pull] mount API series

2018-11-03 Thread Gao Xiang
Hi Al, On 2018/11/2 12:07, Al Viro wrote: > On Thu, Nov 01, 2018 at 11:59:23PM +, David Howells wrote: > >> (*) mount-api-core. These are the internal-only patches that add the >> fs_context, the legacy wrapper and the security hooks and make certain >> filesystems make use of

Re: [git pull] mount API series

2018-11-03 Thread Gao Xiang
Hi Al, On 2018/11/2 12:07, Al Viro wrote: > On Thu, Nov 01, 2018 at 11:59:23PM +, David Howells wrote: > >> (*) mount-api-core. These are the internal-only patches that add the >> fs_context, the legacy wrapper and the security hooks and make certain >> filesystems make use of

Re: [PATCH RFC] hist lookups

2018-11-03 Thread David Miller
From: David Miller Date: Wed, 31 Oct 2018 09:08:16 -0700 (PDT) > From: Jiri Olsa > Date: Wed, 31 Oct 2018 16:39:07 +0100 > >> it'd be great to make hist processing faster, but is your main target here >> to get the load out of the reader thread, so we dont lose events during the >> hist

Re: [PATCH RFC] hist lookups

2018-11-03 Thread David Miller
From: David Miller Date: Wed, 31 Oct 2018 09:08:16 -0700 (PDT) > From: Jiri Olsa > Date: Wed, 31 Oct 2018 16:39:07 +0100 > >> it'd be great to make hist processing faster, but is your main target here >> to get the load out of the reader thread, so we dont lose events during the >> hist

Re: [git pull] mount API series

2018-11-03 Thread Gao Xiang
Hi Al, On 2018/11/3 3:42, Al Viro wrote: > On Fri, Nov 02, 2018 at 04:07:01AM +, Al Viro wrote: >> On Thu, Nov 01, 2018 at 11:59:23PM +, David Howells wrote: >> >>> (*) mount-api-core. These are the internal-only patches that add the >>> fs_context, the legacy wrapper and the

Re: [git pull] mount API series

2018-11-03 Thread Gao Xiang
Hi Al, On 2018/11/3 3:42, Al Viro wrote: > On Fri, Nov 02, 2018 at 04:07:01AM +, Al Viro wrote: >> On Thu, Nov 01, 2018 at 11:59:23PM +, David Howells wrote: >> >>> (*) mount-api-core. These are the internal-only patches that add the >>> fs_context, the legacy wrapper and the

[PATCH] perf: Remove strchr() in map__process_kallsyms_symbol().

2018-11-03 Thread David Miller
This is looking for '[vdso]', '[vsyscall]' or similar to force the "kernel" boolean arg to __symbols__insert() to false. But such things never show up in kallsyms. This check was added by commit 608c34de0b3d ("perf symbols: Mark if a symbol is idle in the library") Signed-off-by: David S.

[PATCH] perf: Remove strchr() in map__process_kallsyms_symbol().

2018-11-03 Thread David Miller
This is looking for '[vdso]', '[vsyscall]' or similar to force the "kernel" boolean arg to __symbols__insert() to false. But such things never show up in kallsyms. This check was added by commit 608c34de0b3d ("perf symbols: Mark if a symbol is idle in the library") Signed-off-by: David S.

<    1   2   3   4