Re: [PATCH v3] ARM: DTS: imx53: Add support for imx53 HSC/DDC boards from K+P

2018-06-16 Thread Shawn Guo
On Tue, Jun 12, 2018 at 03:32:08PM +0200, Lukasz Majewski wrote: > This commit provides support for HSC and DDC boards from > Kieback&Peter GmbH vendor. > > Signed-off-by: Lukasz Majewski > Reviewed-by: Fabio Estevam "ARM: dts: ..." for prefix. I fixed it up and applied the patch. Shawn

Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number (fwd)

2018-06-16 Thread Julia Lawall
On Sun, 17 Jun 2018, jackm wrote: > On Sat, 16 Jun 2018 18:04:41 +0200 (CEST) > Julia Lawall wrote: > > > ib_mad_client_id is declared as u32, so it will not be < 0 (line 382). > > > > julia > > > Julia, your are correct. > However, I was under the impression that this patch set was abandoned

Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number (fwd)

2018-06-16 Thread jackm
On Sat, 16 Jun 2018 18:04:41 +0200 (CEST) Julia Lawall wrote: > ib_mad_client_id is declared as u32, so it will not be < 0 (line 382). > > julia > Julia, your are correct. However, I was under the impression that this patch set was abandoned in favor of the one submitted by Matthew Wilcox! (Con

Re: [PATCH v2] proc: Simplify and fix proc by removing the kernel mount

2018-06-16 Thread Alistair Strachan
Hi Eric, Thanks a lot for looking into this problem. On Sat, Jun 16, 2018 at 7:55 PM Eric W. Biederman wrote: > > > Today there are three users of proc_mnt. > - The legacy sysctl system call implementation. > - The uml mconsole driver. > - The process cleanup function proc_flush_task. > > The fi

Re: [PATCH] hwtracing: intel_th: Change return type to vm_fault_t

2018-06-16 Thread Souptick Joarder
On Wed, May 2, 2018 at 7:32 PM, Souptick Joarder wrote: > On 02-May-2018 7:28 PM, "Alexander Shishkin" > wrote: >> >> On Wed, May 02, 2018 at 11:14:48AM +0530, Souptick Joarder wrote: >> > Any comment for this patch ? >> >> Looks good, I'm queuing this one for the next merge window. >> This patc

[PATCH 05/11] staging: rtl8723bs: Remove empty else-if conditional.

2018-06-16 Thread Quytelda Kahja
This else-if conditional block does nothing; remove it. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index 5d

[PATCH 02/11] staging: rtl8723bs: Rename PHY_GetTxPowerLimit().

2018-06-16 Thread Quytelda Kahja
Rename camel-case 'PHY_GetTxPowerLimit()' to 'phy_get_tx_pwr_lmt()'. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 6 +++--- drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c| 2 +- drivers/staging/rtl8723bs/include/hal_com_phycfg.h | 2 +- 3 files chan

[PATCH 01/11] staging: rtl8723bs: Clean up whitespace in 'PHY_GetTxPowerLimit()'.

2018-06-16 Thread Quytelda Kahja
Wrap lines longer than 80 characters where possible, delete double newlines, and fix alignment per the kernel coding style guidelines. Signed-off-by: Quytelda Kahja --- .../staging/rtl8723bs/hal/hal_com_phycfg.c| 110 ++ 1 file changed, 59 insertions(+), 51 deletions(-) diff

[PATCH 07/11] staging: rtl8723bs: Move bandwidth index lookup to new function.

2018-06-16 Thread Quytelda Kahja
Factoring out the conditional lookup of bandwidth index into the power limit table into it's own function simplifies the logic of 'phy_get_tx_pwr_lmt()'. Signed-off-by: Quytelda Kahja --- .../staging/rtl8723bs/hal/hal_com_phycfg.c| 26 --- 1 file changed, 17 insertions(+), 9

[PATCH 06/11] staging: rtl8723bs: Move rate section index lookup to new function.

2018-06-16 Thread Quytelda Kahja
The rate section lookup is a large switch statement in the middle of 'phy_get_tx_pwr_lmt()'; refactor this statement into it's own function for increased readability. Signed-off-by: Quytelda Kahja --- .../staging/rtl8723bs/hal/hal_com_phycfg.c| 109 -- 1 file changed, 47 inse

[PATCH 04/11] staging: rtl8723bs: Combine if statements with equivalent body.

2018-06-16 Thread Quytelda Kahja
Two if statements that carry out the same operation can be combined with a logical OR. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drive

[PATCH 08/11] staging: rtl8723bs: Fix spelling mistake in comment.

2018-06-16 Thread Quytelda Kahja
Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c index 6d8a07ac7bb3..dd097df86fa3 100644 --- a/drive

[PATCH 11/11] staging: rtl8723bs: Add missing curly braces on else statement.

2018-06-16 Thread Quytelda Kahja
Fix 'braces {} should be used on all arms of this statement' coding style problem in 'phy_get_tx_pwr_lmt()'. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_co

[PATCH 03/11] staging: rtl8723bs: Fix camel-case names in phy_get_tx_pwr_lmt().

2018-06-16 Thread Quytelda Kahja
Change camel-case names to snake-case names; to avoid variable name conflicts, rename table index variables to idx_*. Signed-off-by: Quytelda Kahja --- .../staging/rtl8723bs/hal/hal_com_phycfg.c| 200 +- 1 file changed, 105 insertions(+), 95 deletions(-) diff --git a/drivers

[PATCH 09/11] staging: rtl8723bs: Merge conditionals with similar bodies.

2018-06-16 Thread Quytelda Kahja
Two conditionals that set 'channel' based on 'band_type' in 'phy_get_tx_pwr_lmt()' can be simplified into one single-line conditional. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/driv

[PATCH 10/11] staging: rtl8723bs: Merge workaround conditionals into single else-if.

2018-06-16 Thread Quytelda Kahja
The if conditionals used to work around wrong TX power limit indices can be condensed into a single if/else-if statement for more concise expression. Signed-off-by: Quytelda Kahja --- drivers/staging/rtl8723bs/hal/hal_com_phycfg.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) d

v4.18-rc1: Build and qemu test results

2018-06-16 Thread Guenter Roeck
Build results: total: 134 pass: 113 fail: 21 Failed builds: arm:allmodconfig c6x:dsk6455_defconfig c6x:evmc6457_defconfig c6x:evmc6678_defconfig h8300:allnoconfig h8300:edosk2674_defconfig h8300:h8300h-sim_defconfig h8300:h8s-

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-16 Thread Chanwoo Choi
Hi Enric, This issue will happen on the position to use find_devfreq_governor() as following: - devfreq_add_governora() and governor_store() If device driver with module type after loaded want to change the scaling governor, new governor might be not yet loaded. So, devfreq bettero to consider th

Re: XArray -next inclusion request

2018-06-16 Thread Stephen Rothwell
Hi Willy, On Sat, 16 Jun 2018 19:15:22 -0700 Matthew Wilcox wrote: > > Please add > > git://git.infradead.org/users/willy/linux-dax.git xarray > > to linux-next. It is based on -rc1. You will find some conflicts > against Dan's current patches to DAX; these are all resolved correctly > in the

Re: [PATCH] devfreq: rk3399_dmc: Fix duplicated opp table on reload.

2018-06-16 Thread Chanwoo Choi
Hi Enric, 2018-06-16 0:12 GMT+09:00 Enric Balletbo i Serra : > The opp table is not removed when the driver is unloaded neither when > there is an error within probe, so if the driver is reloaded the opp > core shows the following warning: > > rk3399-dmc-freq dmc: _opp_add: duplicate OPPs detect

[PATCH v2] proc: Simplify and fix proc by removing the kernel mount

2018-06-16 Thread Eric W. Biederman
Today there are three users of proc_mnt. - The legacy sysctl system call implementation. - The uml mconsole driver. - The process cleanup function proc_flush_task. The first two are slow path and essentially unused. I expect soon we will be able to remove the legacy sysctl system call entirely.

linux-next: stats (Was: Linux 4.18-rc1)

2018-06-16 Thread Stephen Rothwell
Hi all, As usual, the executive friendly graph is at http://neuling.org/linux-next-size.html :-) (No merge commits counted, next-20180604 was the first linux-next after the merge window opened.) Commits in v4.18-rc1 (relative to v4.17): 11594 Commits in next-20180604:

XArray -next inclusion request

2018-06-16 Thread Matthew Wilcox
Hi Stephen, Please add git://git.infradead.org/users/willy/linux-dax.git xarray to linux-next. It is based on -rc1. You will find some conflicts against Dan's current patches to DAX; these are all resolved correctly in the xarray-20180615 branch which is based on next-20180615. In a masters

[PATCH v14 32/74] page cache: Convert delete_batch to XArray

2018-06-16 Thread Matthew Wilcox
Rename the function from page_cache_tree_delete_batch to just page_cache_delete_batch. Signed-off-by: Matthew Wilcox --- mm/filemap.c | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index 4204d9df003b..025077bc82be 10

[PATCH] linux/device.h: fix kernel-doc notation warning

2018-06-16 Thread Randy Dunlap
From: Randy Dunlap Fix kernel-doc build warning (missing " *" at beginning of line): ../include/linux/device.h:93: warning: bad line: this bus. Fixes: 07397df29e57c ("dma-mapping: move dma configuration to bus infrastructure") Signed-off-by: Randy Dunlap Cc: Nipun Gu

[PATCH 2/2] mm: set PG_dma_pinned on get_user_pages*()

2018-06-16 Thread john . hubbard
From: John Hubbard This fixes a few problems that come up when using devices (NICs, GPUs, for example) that want to have direct access to a chunk of system (CPU) memory, so that they can DMA to/from that memory. Problems [1] come up if that memory is backed by persistence storage; for example, an

[PATCH 1/2] consolidate get_user_pages error handling

2018-06-16 Thread john . hubbard
From: John Hubbard In preparation for a subsequent patch, consolidate the error handling for __get_user_pages(). This provides a single location (the "out:" label) for operating on the collected set of pages that are about to be returned. As long as we are already touching every use of the "ret"

[PATCH 0/2] mm: gup: don't unmap or drop filesystem buffers

2018-06-16 Thread john . hubbard
From: John Hubbard Hi, I'm including people who have been talking about this. This is in one sense a medium-term work around, because there is a plan to talk about more extensive fixes at the upcoming Linux Plumbers Conference. I am seeing several customer bugs, though, and I really want to fix

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-16 Thread Benjamin Herrenschmidt
On Sun, 2018-06-17 at 11:17 +1000, Benjamin Herrenschmidt wrote: > > We have everything that cronus needs and more than pdbg needs afaik :-) > > That said, cronus does a bunch of other stupid things that I'm still > trying to figure out how to fix. > > We might need to create a /dev/cfam rather

Re: [RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-16 Thread Benjamin Herrenschmidt
On Sat, 2018-06-16 at 14:34 +0930, Joel Stanley wrote: > On 12 June 2018 at 14:49, Benjamin Herrenschmidt > wrote: > > This was too hard to split ... this adds a number of features > > to the SCOM user interface: > > > > - Support for indirect SCOMs > > > > - read()/write() interface now handl

Re: [PATCH v4 1/9] Makefile: Prepare for using macros for inline asm

2018-06-16 Thread Masahiro Yamada
2018-06-14 5:36 GMT+09:00 Sam Ravnborg : >> >> > +macros: $(obj)/macros.s >> > + @: >> >> If you add a phony target, it should be added to 'PHONY'. > > Or this part: >> +archmacros: >> + $(Q)$(MAKE) $(build)=arch/x86/kernel macros > > could be modified to specify the exact filename so t

Re: [PATCH v4 1/9] Makefile: Prepare for using macros for inline asm

2018-06-16 Thread Masahiro Yamada
Hi. 2018-06-14 7:19 GMT+09:00 Nadav Amit : >> >> >> I have not fully understood this series yet. >> >> I do not have enough skill in x86 architecture, >> but just some comments from the build system point of view. >> >> >> >> I guess this will probably break the parallel building. >> >> Kbuild can

[RFC PATCH] x86/arch_prctl: Add ARCH_SET_XCR0 to mask XCR0 per-thread

2018-06-16 Thread Keno Fischer
From: Keno Fischer The rr (http://rr-project.org/) debugger provides user space record-and-replay functionality by carefully controlling the process environment in order to ensure completely deterministic execution of recorded traces. The recently added ARCH_SET_CPUID arch_prctl allows rr to move

Re: [PATCH] extcon: Release locking when sending the notification of connector state

2018-06-16 Thread Chanwoo Choi
Hi, 2018-06-14 20:33 GMT+09:00 H. Nikolaus Schaller : > >> Am 14.06.2018 um 12:39 schrieb H. Nikolaus Schaller : >> >> Hi Roger and Chanwoo, >> >>> Am 14.06.2018 um 12:18 schrieb Chanwoo Choi : >>> >>> + H. Nikolaus Schaller >>> >>> On 2018년 06월 14일 13:14, Chanwoo Choi wrote: Previously, ext

[PATCH 2/2] kbuild: do not update config for 'make kernelrelease'

2018-06-16 Thread Masahiro Yamada
'make kernelrelease' depends on CONFIG_LOCALVERSION(_AUTO), but for the same reason as install targets, we do not want to update the configuration just for printing the kernelrelease string. This is likely to happen if you forget to pass CROSS_COMPILE when running 'make kernelrelease' in the sourc

[PATCH 1/2] kbuild: do not update config when running install targets

2018-06-16 Thread Masahiro Yamada
"make syncconfig" is automatically invoked when any of the following happens: - .config is updated - any of Kconfig files is updated - any of environment variables referenced in Kconfig is changed Then, it updates configuration files such as include/config/auto.conf include/generated/autoconf.

Linux 4.18-rc1

2018-06-16 Thread Linus Torvalds
You may think it's still Saturday for me, and that I should give you one more day of merge window to send in some last-minute pull requests, but I know better. I'm in Japan, and it's Sunday here. Plus I hope to spend much of this Sunday on a boat (assuming the swells allow it), so I'm closing the

Re: [PATCH] staging: rtl8192u: fix line over 80 characters

2018-06-16 Thread Joe Perches
On Sat, 2018-06-16 at 15:22 -0400, valdis.kletni...@vt.edu wrote: > On Sat, 16 Jun 2018 15:00:31 +0900, Hyunil Kim said: > > *fix checkpatch.pl warnings: > > WARNING: line over 80 characters > > + if (((ieee->wpa_ie[0] == 0xdd) && > > + (!memcmp(&(ieee->wpa_ie[14]), ccmp_ie

Re: [PATCH v2] staging: rtl8712: Adjust if statements to reduce indentation level

2018-06-16 Thread Joe Perches
On Sat, 2018-06-16 at 15:03 +0900, Joonhwan Kim wrote: > Merge two condition of if statements in > r8712_surveydone_event_callback() Are you sure you are not changing the logic here? I think it'd be nicer to refactor the code instead. Something like: --- drivers/staging/rtl8712/rtl871x_mlme.c |

Re: [PATCH 01/11] staging: lustre: simplify use of interval-tree.

2018-06-16 Thread NeilBrown
On Sat, Jun 16 2018, James Simmons wrote: >> Lustre has a private interval-tree implementation. This >> implementation (inexplicably) refuses to insert an interval if an >> identical interval already exists. It is OK with all sorts of >> overlapping intervals, but identical intervals are rejecte

[PATCH] firmware: Update Kconfig help text for Google firmware

2018-06-16 Thread Ben Hutchings
The help text for GOOGLE_FIRMWARE states that it should only be enabled when building a kernel for Google's own servers. However, it is now also a dependency for various Chromebook firmware drivers. Update the help text to reflect this double duty. Add the qualifier "server" to the help text for

Re: wmi: usercopy: Kernel memory overwrite attempt detected to spans multiple pages (offset 0, size 4104)

2018-06-16 Thread Mihai Donțu
On Sun, 2018-06-17 at 00:01 +0300, Mihai Donțu wrote: > While trying to adjust the keyboard backlight mode, I hit this BUG: > > Jun 16 22:16:07 mdontu-l kernel: usercopy: Kernel memory overwrite attempt > detected to spans multiple pages (offset 0, size 4104)! > Jun 16 22:16:07 mdontu-l kernel: -

x86_64: movdqu rarely stores bad data (movdqu works fine). Kernel bug, fried CPU or glibc bug?

2018-06-16 Thread Sergei Trofimovich
TL;DR: on master string/test-memmove glibc test fails on my machine and I don't know why. Other tests work fine. $ elf/ld.so --inhibit-cache --library-path . string/test-memmove simple_memmove __memmove_ssse3_rep __memmove_ssse3 __memmove_sse2_unaligned__memmo

Re: [PATCH 3.16 000/410] 3.16.57-rc1 review

2018-06-16 Thread Ben Hutchings
On Fri, 2018-06-08 at 07:14 -0700, Guenter Roeck wrote: > On Thu, Jun 07, 2018 at 03:05:20PM +0100, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.16.57 release. > > There are 410 patches in this series, which will be posted as responses > > to this one. If anyone

Re: [PATCH 3.16 183/410] mm: pin address_space before dereferencing it while isolating an LRU page

2018-06-16 Thread Ben Hutchings
On Sun, 2018-06-10 at 11:06 -0700, Hugh Dickins wrote: > On Thu, 7 Jun 2018, Ben Hutchings wrote: > > > 3.16.57-rc1 review patch. If anyone has any objections, please let me know. > > Not an objection as such, but if you're including this one, > please be sure to add 145e1a71e090575c74969e3daa81

Re: [PATCH 3.16 012/410] scsi: libsas: direct call probe and destruct

2018-06-16 Thread Ben Hutchings
On Fri, 2018-06-08 at 09:32 +0800, Jason Yan wrote: > On 2018/6/8 2:18, Ben Hutchings wrote: > > On Thu, 2018-06-07 at 17:32 +0100, John Garry wrote: > > > On 07/06/2018 15:05, Ben Hutchings wrote: > > > > 3.16.57-rc1 review patch. If anyone has any objections, please let me > > > > know. > > > >

wmi: usercopy: Kernel memory overwrite attempt detected to spans multiple pages (offset 0, size 4104)

2018-06-16 Thread Mihai Donțu
Hi, While trying to adjust the keyboard backlight mode, I hit this BUG: Jun 16 22:16:07 mdontu-l kernel: usercopy: Kernel memory overwrite attempt detected to spans multiple pages (offset 0, size 4104)! Jun 16 22:16:07 mdontu-l kernel: [ cut here ] Jun 16 22:16:07 mdontu-

Re: [PATCH 2/4] MIPS: Add syscall detection for restartable sequences

2018-06-16 Thread Mathieu Desnoyers
- On Jun 15, 2018, at 2:43 PM, Paul Burton paul.bur...@mips.com wrote: > Hi Mathieu, > > On Fri, Jun 15, 2018 at 01:41:25PM -0400, Mathieu Desnoyers wrote: >> > diff --git a/arch/mips/kernel/entry.S b/arch/mips/kernel/entry.S >> > index 38a302919e6b..d7de8adcfcc8 100644 >> > --- a/arch/mips/k

Re: [PATCH 0/4] MIPS: Restartable sequences (rseq) support

2018-06-16 Thread Mathieu Desnoyers
- On Jun 14, 2018, at 7:52 PM, Paul Burton paul.bur...@mips.com wrote: > This series implements MIPS support for restartable sequences, hooks up > the rseq syscall & implements MIPS support in the rseq selftests. > > Applies atop Linus' master as of 2837461dbe6f ("Merge tag 'scsi-fixes' > of

[RFC PATCH for 4.18] rseq: cleanup: no need to abort rseq c.s. in child on fork

2018-06-16 Thread Mathieu Desnoyers
Considering that we explicitly forbid system calls in rseq critical sections, it is not valid to issue a fork or clone system call within a rseq critical section, so rseq_fork() is not required to restart an active rseq c.s. in the child process. Signed-off-by: Mathieu Desnoyers Cc: Thomas Gleixn

[RFC PATCH man-pages] Add rseq manpage

2018-06-16 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers CC: "Paul E. McKenney" CC: Peter Zijlstra CC: Paul Turner CC: Thomas Gleixner CC: Andrew Hunter CC: Andy Lutomirski CC: Andi Kleen CC: Dave Watson CC: Chris Lameter CC: Ingo Molnar CC: "H. Peter Anvin" CC: Ben Maurer CC: Steven Rostedt CC: Josh Triplet

[RFC PATCH for 4.18 1/2] rseq/selftests: run_param_test.sh should be executable

2018-06-16 Thread Mathieu Desnoyers
The executable bit of the run_param_test.sh script got lost in the merge. Signed-off-by: Mathieu Desnoyers Cc: Thomas Gleixner Cc: Joel Fernandes Cc: Peter Zijlstra Cc: Catalin Marinas Cc: Dave Watson Cc: Will Deacon Cc: Shuah Khan Cc: Andi Kleen Cc: linux-kselft...@vger.kernel.org Cc: "H

[RFC PATCH for 4.18 2/2] rseq/selftests: arm: align struct rseq_cs on 32 bytes

2018-06-16 Thread Mathieu Desnoyers
uapi/linux/rseq.h aligns struct rseq_cs on 32 bytes. Satisfy this alignment requirement in its definition within the rseq-arm.h inline assembly. Signed-off-by: Mathieu Desnoyers Cc: Thomas Gleixner Cc: Joel Fernandes Cc: Peter Zijlstra Cc: Catalin Marinas Cc: Dave Watson Cc: Will Deacon Cc:

[RFC PATCH for 4.18 0/2] Restartable Sequences selftests fixes

2018-06-16 Thread Mathieu Desnoyers
Those are trivial restartable sequences selftest fixes for 4.18. The executable flag of run_param_test.sh got lost in the merge of the rseq patchset. On ARM, align the struct rseq_cs definition in the inline asm to match the alignment of that structure in the uapi headers. Thanks, Mathieu Math

Re: [PATCH RFC 0/2] regulator: pfuze100: add pfuze3001 support

2018-06-16 Thread Stefan Wahren
Hi Fabio, > Fabio Estevam hat am 16. Juni 2018 um 20:40 geschrieben: > > > Hi Stefan, > > On Fri, Jun 15, 2018 at 8:44 AM, Stefan Wahren wrote: > > This patch series adds support for the NXP PMIC PF3001. This > > based mostly on the patches by Robin Gong and Mauro Salvini from > > here [1]. >

Re: [PATCH] staging: rtl8192u: fix line over 80 characters

2018-06-16 Thread valdis . kletnieks
On Sat, 16 Jun 2018 15:00:31 +0900, Hyunil Kim said: > *fix checkpatch.pl warnings: > WARNING: line over 80 characters > + if (((ieee->wpa_ie[0] == 0xdd) && > + (!memcmp(&(ieee->wpa_ie[14]), ccmp_ie, 4))) || > + ((ieee->wpa_ie[0] == 0x30) && > +

Re: [PATCH v4 0/8] Introduce the for_each_set_clump macro

2018-06-16 Thread William Breathitt Gray
On Wed, May 16, 2018 at 11:08:28PM +0300, Andy Shevchenko wrote: >On Wed, May 16, 2018 at 5:03 PM, Linus Walleij >wrote: >> On Tue, May 15, 2018 at 6:22 PM, William Breathitt Gray >> wrote: >> >>> For example, suppose you would like to iterate over a 16-bit integer 4 >>> bits at a time, skipping

Re: [PATCH RFC 0/2] regulator: pfuze100: add pfuze3001 support

2018-06-16 Thread Fabio Estevam
Hi Stefan, On Fri, Jun 15, 2018 at 8:44 AM, Stefan Wahren wrote: > This patch series adds support for the NXP PMIC PF3001. This > based mostly on the patches by Robin Gong and Mauro Salvini from > here [1]. > > [1] - https://community.nxp.com/docs/DOC-331899 > > Stefan Wahren (2): > dt-bindings

Re: [PATCH v2 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support

2018-06-16 Thread Jonathan Cameron
On Fri, 15 Jun 2018 15:03:36 +0800 Baolin Wang wrote: > From: Freeman Liu > > The Spreadtrum SC27XX PMICs ADC controller contains 32 channels, > which is used to sample voltages with 12 bits conversion. > > Signed-off-by: Freeman Liu > Signed-off-by: Baolin Wang Hi, There are some race con

Re: [PATCH] staging:iio:accel:adis16203: sign extend function rather code duplication

2018-06-16 Thread Jonathan Cameron
On Tue, 12 Jun 2018 18:48:38 +0200 Karim Eshapa wrote: > Use sign_extend32 kernel function instead of code duplication. > This function is also safe for 16 bits. > > Signed-off-by: Karim Eshapa Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with

Re: [PATCH v2] staging:iio:accel:adis16240: sign extend function avoiding code duplication

2018-06-16 Thread Jonathan Cameron
On Tue, 12 Jun 2018 18:21:53 +0200 Karim Eshapa wrote: > Use sign_extend32 kernel function instead of code duplication, > Safe also for 16 bit. and remove declaration of bits variable not needed. > > Signed-off-by: Karim Eshapa Please consider how a patch is applied and resend as a v3 which ca

Re: [RFC PATCH] iio: adc: at91-sama5d2_adc: add support for oversampling resolution

2018-06-16 Thread Jonathan Cameron
On Mon, 11 Jun 2018 09:52:34 +0300 Eugen Hristev wrote: > This is implements oversampling support for the SAMA5D2 ADC > device. > Enabling oversampling : OSR can improve resolution from 12 bits to > 13 or 14 bits. > To not modify the scan element of the buffer , from 12 bits to 13 or 14, > I have

[PATCH v3] sysfs: Fix internal_create_group() for named group updates

2018-06-16 Thread Rajat Jain
There are a couple of problems with named group updates in the code today: * sysfs_update_group() will always fail for a named group, because internal_create_group() will try to create a new sysfs directory unconditionally, which will ofcourse fail with -EEXIST. * We can leak the kernfs_node

Re: [PATCH v2 2/2] dt-bindings: iio: dac: Add docs for AD5758 DAC

2018-06-16 Thread Jonathan Cameron
On Mon, 11 Jun 2018 10:42:35 +0200 Linus Walleij wrote: > On Thu, Jun 7, 2018 at 3:11 PM, Stefan Popa wrote: > > > + - adi,slew: Array of slewrate settings should contain 3 fields: > > + 1: Should be either 0 or 1 in order to enable or disable slewrate. > > We have a standard binding i

[PATCH] tools/perf: fix a clang 7.0 compilation error

2018-06-16 Thread Yonghong Song
Arnaldo reported the perf build failure with latest llvm/clang compiler (7.0). $ make LIBCLANGLLVM=1 -C tools/perf/ CC /tmp/tmp.t53Qo38zci/tests/kmod-path.o util/c++/clang.cpp: In function ‘std::unique_ptr > perf::getBPFObjectFromModule(llvm::Module*)’: util/c++/clan

Re: perf tools: LIBCLANGLLVM=1 build broken with llvm 7/clang 6

2018-06-16 Thread Yonghong Song
On 6/16/18 5:26 AM, Arnaldo Carvalho de Melo wrote: Hi Wang, Yogong, While reviewing the BTF patches for pahole, I updated llvm/clang to HEAD and then building perf with clang embedded I noticed this, will investigate, posting here to document the regression, maybe this is something y

Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent number (fwd)

2018-06-16 Thread Julia Lawall
ib_mad_client_id is declared as u32, so it will not be < 0 (line 382). julia -- Forwarded message -- Date: Fri, 8 Jun 2018 08:49:57 +0800 From: kbuild test robot To: kbu...@01.org Cc: Julia Lawall Subject: Re: [PATCH v3 2/2] IB/mad: Use ID allocator routines to allocate agent

Re: ACPI support in common clock framework

2018-06-16 Thread Rafael J. Wysocki
On Fri, Jun 15, 2018 at 7:43 PM, Stephen Boyd wrote: > Quoting Rafael J. Wysocki (2018-06-13 01:27:39) >> On Wed, Jun 13, 2018 at 10:13 AM, Andy Shevchenko >> wrote: >> > +Cc: Rafael, ACPI ML >> > >> > On Wed, Jun 13, 2018 at 7:14 AM, Srinath Mannam >> > wrote: >> >> Hi Michael, Stephen, >> >> >

[PATCH v5] staging: rtl8192u: add error handling for usb_alloc_urb

2018-06-16 Thread Zhouyang Jia
When usb_alloc_urb fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling usb_alloc_urb, and fixes memory leaks in error paths. Signed-off-by: Zhouyang Jia --- v1->v2: - Fix memory leak. v2->v3: - Release memory in error path. v3->v

[PATCH] freevxfs: Do not inline vxfs_put_page()

2018-06-16 Thread Hauke Mehrtens
vxfs_put_page() is not implemented in a header file, but in a normal c file and used in multiple functions in different c files. Remove the inline attribute as it does not make sense here and causes a link error when LTO is activated. Signed-off-by: Hauke Mehrtens --- fs/freevxfs/vxfs_subr.c | 2

v4.14.21+: ATOMIC_SLEEP splat bisected to 9428088c90b6 ("drm/qxl: reapply cursor after resetting primary")

2018-06-16 Thread Mike Galbraith
Greetings, Running a kernel with ATOMIC_SLEEP enabled in one of my VMs, I met the splat below. I tracked it back to 4.14-stable, and bisected it there. [ 35.748479] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:239 [ 37.302172] BUG: sleeping function called fr

Re: [PATCH v7 3/6] DTS: gta04: add uart2 child node for w2sg0004 GPS receiver

2018-06-16 Thread H. Nikolaus Schaller
Hi Pavel, > Am 14.06.2018 um 21:44 schrieb Pavel Machek : > > On Thu 2018-05-03 11:35:48, H. Nikolaus Schaller wrote: >> GTA04 has a W2SG0004 module connected to UART2 of the OMAP3 >> processor. A GPIO can pulse the on/off toggle switch. >> >> Note that there is no WAKEUP output from the W2SG000

Re: [PATCH RFC] tracing: Call triggers only if event passes filter checks

2018-06-16 Thread Masami Hiramatsu
On Thu, 14 Jun 2018 18:01:13 -0700 Joel Fernandes wrote: > From: "Joel Fernandes (Google)" > > Currently, trace event triggers are called regardless of if the event > filter checks pass or fail. Thus if one were to enable event triggers > and filters at the same time, then the triggers will alw

perf tools: LIBCLANGLLVM=1 build broken with llvm 7/clang 6

2018-06-16 Thread Arnaldo Carvalho de Melo
Hi Wang, Yogong, While reviewing the BTF patches for pahole, I updated llvm/clang to HEAD and then building perf with clang embedded I noticed this, will investigate, posting here to document the regression, maybe this is something you came across in other scenario: $ make LIBCLANGLLVM=1

Re: [PATCH v3 6/7] soc: qcom: Add RPMh Power domain driver

2018-06-16 Thread Ulf Hansson
On 15 June 2018 at 23:46, David Collins wrote: > Hello Ulf, > > On 06/15/2018 02:25 AM, Ulf Hansson wrote: >> On 14 June 2018 at 20:17, David Collins wrote: >>> On 06/13/2018 11:54 PM, Rajendra Nayak wrote: On 06/14/2018 06:02 AM, David Collins wrote: > On 06/11/2018 09:40 PM, Rajendra N

/bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg

2018-06-16 Thread Borislav Petkov
Hi, I'm seeing this when I do # make menuconfig after a fresh repo clean: git clean -dqfx Might wanna silence it... /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg /bin/sh: 1: .: Can't open scripts/kconfig/.mconf-cfg HOSTCC scripts/k

Re: [Letux-kernel] BUG: drivers/pinctrl/core: races in pinctrl_groups and deferred probing

2018-06-16 Thread H. Nikolaus Schaller
Hi Tony, > Am 15.06.2018 um 13:18 schrieb H. Nikolaus Schaller : > > Hi Tony, > >> Am 15.06.2018 um 13:13 schrieb Tony Lindgren : >> >> * Tony Lindgren [180615 07:00]: >> >> OK I posted a series to fix these issues hopefully as thread >> "[PATCH 0/5] pinctrl fixes for generic functions and gr

Re: Mounting corrupted HFS+ causes kernel NULL pointer dereference

2018-06-16 Thread Anatoly Trosinenko
Hello, > but was the original issue solved? Yes, after removing the suggested line and applying patch [2] on top of v4.17, when I try to mount the original FS image, mount just returns Invalid argument, no kernel NULL pointer dereferences anymore: mount: mounting /dev/sda on /mnt failed: Invalid

Do You Need A Helping Hand?

2018-06-16 Thread Mavis Wanczyk...
I am Mavis Wanczyk i know you may not know me but am the latest largest US Powerball lottery winner of $758.7m just of recent, am currently helping out people in need of financial assistance, i know it's hard to believe anything on the internet, so if you don't need my help please do

Linux 4.4.138

2018-06-16 Thread Greg KH
I'm announcing the release of the 4.4.138 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.138

2018-06-16 Thread Greg KH
diff --git a/Makefile b/Makefile index 44efd1252ab8..1a8c0fc6b997 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 137 +SUBLEVEL = 138 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/x86/crypto/chacha20_glue.c b/arch/x86/crypto/chacha20_glue

Linux 4.14.50

2018-06-16 Thread Greg KH
I'm announcing the release of the 4.14.50 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.14.50

2018-06-16 Thread Greg KH
diff --git a/Makefile b/Makefile index 480ae7ef755c..84374c5ba60e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 49 +SUBLEVEL = 50 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/x86/include/asm/kvm_emulat

Linux 4.9.109

2018-06-16 Thread Greg KH
I'm announcing the release of the 4.9.109 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.109

2018-06-16 Thread Greg KH
diff --git a/Makefile b/Makefile index 1fa9daf219c4..1570cc85313d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 108 +SUBLEVEL = 109 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/x86/crypto/crc32c-intel_glue.c b/arch/x86/crypto/crc32c-int

Linux 4.16.16

2018-06-16 Thread Greg KH
I'm announcing the release of the 4.16.16 kernel. All users of the 4.16 kernel series must upgrade. The updated 4.16.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.16.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.16.16

2018-06-16 Thread Greg KH
diff --git a/Makefile b/Makefile index e45c66b27241..4f392115 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 16 -SUBLEVEL = 15 +SUBLEVEL = 16 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/x86/include/asm/kvm_emul

Linux 4.17.2

2018-06-16 Thread Greg KH
I'm announcing the release of the 4.17.2 kernel. All users of the 4.17 kernel series must upgrade. The updated 4.17.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.17.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.17.2

2018-06-16 Thread Greg KH
diff --git a/Documentation/ABI/stable/sysfs-bus-vmbus b/Documentation/ABI/stable/sysfs-bus-vmbus index 0c9d9dcd2151..3eaffbb2d468 100644 --- a/Documentation/ABI/stable/sysfs-bus-vmbus +++ b/Documentation/ABI/stable/sysfs-bus-vmbus @@ -1,25 +1,25 @@ -What: /sys/bus/vmbus/devices/vmbus_*/id

Re: Recall: PROBLEM: JFFS2 Empty summary info causes OOPS

2018-06-16 Thread David Woodhouse
> On Fri, Jun 15, 2018 at 9:13 PM, Veluthakkal, Sreeram > wrote: >> Veluthakkal, Sreeram would like to recall the message, "PROBLEM: JFFS2 >> Empty summary info causes OOPS". > > -ENOMSEXCHANGE Nom sex change? Oh, I see. No, it never works in Exchange either AFAICT. Only ever serves to draw att

Re: can we drop the comedi serial2002 drivers from staging?

2018-06-16 Thread Greg Kroah-Hartman
On Sat, Jun 16, 2018 at 11:06:45AM +0200, Christoph Hellwig wrote: > As far as I can tell there has been no targeted work on the driver > since merging it at all, and since 2014 even the comedi-wide > cleanups stopped, laving just drive by tree wide changes since. > > At the same time the driver b

can we drop the comedi serial2002 drivers from staging?

2018-06-16 Thread Christoph Hellwig
As far as I can tell there has been no targeted work on the driver since merging it at all, and since 2014 even the comedi-wide cleanups stopped, laving just drive by tree wide changes since. At the same time the driver badly abuses the tty layer and is one of only two major abusers of the poll co

Re: [PATCH v2] sysfs: Fix internal_create_group() for named group updates

2018-06-16 Thread Greg Kroah-Hartman
On Sat, Jun 16, 2018 at 01:18:37AM -0700, Rajat Jain wrote: > There are a couple of problems with named group updates in the code > today: > > * sysfs_update_group() will always fail for a named group, because > internal_create_group() will try to create a new sysfs directory > unconditionally

Re: Recall: PROBLEM: JFFS2 Empty summary info causes OOPS

2018-06-16 Thread Richard Weinberger
On Fri, Jun 15, 2018 at 9:13 PM, Veluthakkal, Sreeram wrote: > Veluthakkal, Sreeram would like to recall the message, "PROBLEM: JFFS2 Empty > summary info causes OOPS". -ENOMSEXCHANGE -- Thanks, //richard

[PATCH v2] sysfs: Fix internal_create_group() for named group updates

2018-06-16 Thread Rajat Jain
There are a couple of problems with named group updates in the code today: * sysfs_update_group() will always fail for a named group, because internal_create_group() will try to create a new sysfs directory unconditionally, which will ofcourse fail with -EEXIST. * We can leak the kernfs_node

Re: [PATCH v4] staging: rtl8192u: add error handling for usb_alloc_urb

2018-06-16 Thread Dan Carpenter
I was actually OK with v1 on the theory that everything else leaked and so this didn't really introduce anything new... :P On Sat, Jun 16, 2018 at 10:01:22AM +0800, Zhouyang Jia wrote: > --- a/drivers/staging/rtl8192u/r8192U_core.c > +++ b/drivers/staging/rtl8192u/r8192U_core.c > @@ -1639,8 +1639,

Re: [PATCH] sysfs: Fix internal_create_group() for named group updates

2018-06-16 Thread Rajat Jain
Hi Greg, Thanks for your review. On Sat, Jun 16, 2018 at 12:11 AM, Greg Kroah-Hartman wrote: > On Fri, Jun 15, 2018 at 06:29:10PM -0700, Rajat Jain wrote: >> There are a couple of problems with named group updates in the code >> today: >> >> * sysfs_update_group() will always fail for a named gr

Re: [PATCH v2 6/7] vmw_balloon: update copyright message

2018-06-16 Thread Greg Kroah-Hartman
On Fri, Jun 15, 2018 at 08:38:57PM +, Nadav Amit wrote: > at 1:35 PM, valdis.kletni...@vt.edu wrote: > > > On Thu, 14 Jun 2018 05:33:46 -, Nadav Amit said: > > > In addition, updating the year and adding a license tag. > > > +// SPDX-License-Identifier: GPL-2.0 > > > >>> You s

[PATCH] MIPS: Octeon: add missing of_node_put()

2018-06-16 Thread Nicholas Mc Guire
The call to of_find_node_by_name inside the do-while-loop is returning node with refcount incremented thus it must be explicitly decremented here after usage. Signed-off-by: Nicholas Mc Guire commit 93e502b3c2d4 ("MIPS: OCTEON: Platform support for OCTEON III USB controller") --- Problem locate

[PATCH] MIPS: Octeon: assign bool true/false not 1/0

2018-06-16 Thread Nicholas Mc Guire
Booleans should be assigned true/false not 1/0 as comparison is not needed Signed-off-by: Nicholas Mc Guire --- Problem located by scripts/coccinelle/misc/boolinit.cocci ./arch/mips/cavium-octeon/octeon-irq.c:817:3-13: WARNING: Assignment of bool to 0/1 Patch was compile tested with: cavium

  1   2   >