Re: [RFC] perf: a different approach to perf_rotate_context()

2018-03-03 Thread Jiri Olsa
On Thu, Mar 01, 2018 at 11:53:21AM -0800, Song Liu wrote: > When there are more perf_event's than hardware PMCs, perf rotate events > so that all events get chance to run. Currently, the rotation works as: > sched_out flexible_groups in cpuctx->ctx and cpuctx->task_ctx; > rotate_left

[PATCH] mtd: nand: Added spaces around ('=' and '<')

2018-03-03 Thread Arushi Singhal
Add spaces around ('=' and '<'), to conform to the Linux kernel coding style. Issue found using checkpatch. Signed-off-by: Arushi Singhal --- drivers/mtd/nand/ams-delta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v7 09/61] page cache: Use xa_lock

2018-03-03 Thread Jeff Layton
On Mon, 2018-02-19 at 11:45 -0800, Matthew Wilcox wrote: > From: Matthew Wilcox > > Remove the address_space ->tree_lock and use the xa_lock newly added to > the radix_tree_root. Rename the address_space ->page_tree to ->pages, > since we don't really care that it's a

Re: [kernel-hardening] [PATCH 2/2] arm: Kconfig: Add ARCH_HAS_FORTIFY_SOURCE

2018-03-03 Thread kbuild test robot
/commits/Jinbum-Park/arm-Add-ARCH_HAS_FORTIFY_SOURCE/20180303-184154 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Re: [RFC PATCH] Randomization of address chosen by mmap.

2018-03-03 Thread Ilya Smith
> On 2 Mar 2018, at 23:48, Matthew Wilcox wrote: > Ah, I didn't mean that. I was thinking that we can change the > implementation to reserve 1-N pages after the end of the mapping. > So you can't map anything else in there, and any load/store into that > region will

Re: [PATCH v3 1/2] iio: light: add driver for bh1730fvc chips

2018-03-03 Thread Andy Shevchenko
On Sat, Mar 3, 2018 at 5:37 PM, Jonathan Cameron wrote: > On Wed, 28 Feb 2018 17:06:09 +0200 >> On Wed, Feb 28, 2018 at 2:15 AM, Pierre Bourdon wrote: Better to address even minors before submission. >> > + if (itime <= 0 || itime > 255) >> >> Just

Re: [PATCH 3.16 091/254] MIPS: CPS: Fix r1 .set mt assembler warning

2018-03-03 Thread Ben Hutchings
On Thu, 2018-03-01 at 13:44 +, James Hogan wrote: > On Wed, Feb 28, 2018 at 03:20:18PM +, Ben Hutchings wrote: > > 3.16.55-rc1 review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: James Hogan > > > > commit

Re: [PATCH] ARM: dts: tpc: Device tree description of the TPC board

2018-03-03 Thread Fabio Estevam
Hi Lukasz, On Sat, Mar 3, 2018 at 4:06 AM, Lukasz Majewski wrote: > Previously (for other imx6q board) I've added entry to e.g. > panel-simple.c file [1] to describe the display. > > I thought that adding timings to DTS is more welcome - hence we do not > need to add any extra

[PATCH v2] selftests/vm/run_vmtests: adjust hugetlb size accroding to nr_cpus

2018-03-03 Thread Li Zhijian
Fix userfaultfd_hugetlb on hosts which have more than 64 cpus. --- running userfaultfd_hugetlb --- invalid MiB Usage: [FAIL] Via userfaultfd.c we can know, hugetlb_size needs to meet hugetlb_size >= nr_cpus * hugepage_size. hugepage_size is

Re: [PATCH v7 07/61] fscache: Use appropriate radix tree accessors

2018-03-03 Thread Jeff Layton
On Mon, 2018-02-19 at 11:45 -0800, Matthew Wilcox wrote: > From: Matthew Wilcox > > Don't open-code accesses to data structure internals. > > Signed-off-by: Matthew Wilcox > --- > fs/fscache/cookie.c | 2 +- > fs/fscache/object.c | 2 +- > 2

Re: [RFC V2 1/3] perf, tools: Support wildcards on pmu name in dynamic pmu events

2018-03-03 Thread Jiri Olsa
On Fri, Mar 02, 2018 at 06:41:30PM -0500, Agustin Vega-Frias wrote: SNIP > > diff --git a/tools/perf/util/parse-events.l b/tools/perf/util/parse-events.l > index 655ecff..a1a01b1 100644 > --- a/tools/perf/util/parse-events.l > +++ b/tools/perf/util/parse-events.l > @@ -175,7 +175,7 @@

Re: [PATCH 5/7] iio: adc: stm32-dfsdm: misc style improvements and fixes

2018-03-03 Thread Jonathan Cameron
On Tue, 27 Feb 2018 09:21:00 +0100 Fabrice Gasnier wrote: > On 02/24/2018 02:03 PM, Jonathan Cameron wrote: > > On Fri, 23 Feb 2018 13:50:59 +0100 > > Fabrice Gasnier wrote: > > > >> Misc fixes & style improvements: > >> - checkpatch warns

Re: [PATCH 3.16 083/254] dmaengine: dmatest: move callback wait queue to thread context

2018-03-03 Thread Ben Hutchings
On Wed, 2018-02-28 at 12:47 -0500, Adam Wallis wrote: > Ben > > On 2/28/2018 10:20 AM, Ben Hutchings wrote: > > 3.16.55-rc1 review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Adam Wallis > > > > commit

Re: [Outreachy kernel] [PATCH] infiniband: hw: Drop unnecessary continue

2018-03-03 Thread Dennis Dalessandro
On 3/3/2018 9:07 AM, Julia Lawall wrote: diff --git a/drivers/infiniband/hw/qib/qib_init.c b/drivers/infiniband/hw/qib/qib_init.c index 3990f38..1bd3b32 100644 --- a/drivers/infiniband/hw/qib/qib_init.c +++ b/drivers/infiniband/hw/qib/qib_init.c @@ -681,7 +681,6 @@ int qib_init(struct

Re: [PATCH 4/6] Staging: iio: adis16209: Remove unnecessary comments and group the definitions

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 18:58:55 +0530 Shreeya Patel wrote: > Remove some unnecessay comments and group the control > register and register field macros together. > > Signed-off-by: Shreeya Patel Hi Shreeya, Nice patch. As you have

RE: [PATCH 2/3] PCI: hv: serialize the present/eject work items

2018-03-03 Thread Michael Kelley (EOSG)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > On Behalf > Of Dexuan Cui > Sent: Friday, March 2, 2018 4:21 PM > To: bhelg...@google.com; linux-...@vger.kernel.org; KY Srinivasan > ; > Stephen Hemminger

Re: [PATCH] HID: Logitech K290: Add driver for the Logitech K290 USB keyboard

2018-03-03 Thread Andy Shevchenko
On Sat, Mar 3, 2018 at 12:04 AM, Florent Flament wrote: > With the generic HID driver, K290 keyboards' F1 to F12 keys send > multimedia events by default, and standard keycodes when the function > key is pressed. This driver allows to configure K290 keyboards, so >

Re: [PATCH v3] staging:iio:meter: Add name to function definition arguments

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 20:38:47 -0300 Rodrigo Siqueira wrote: > On 02/24, Jonathan Cameron wrote: > > On Wed, 21 Feb 2018 16:54:35 -0300 > > Rodrigo Siqueira wrote: > > > > > This patch fixes the checkpatch.pl warning: > > > > > >

Re: [PATCH v2 1/2] iio: dummy: Add correct tabs and spaces to Kconfig

2018-03-03 Thread Jonathan Cameron
On Tue, 27 Feb 2018 10:46:51 -0300 Rodrigo Siqueira wrote: > Kconfig from iio/dummy does not follow the coding style recommendations. > According to the coding-style, Lines under a config definition are > indented with one tab, while help text is indented an

Re: [PATCH v3 1/2] iio: light: add driver for bh1730fvc chips

2018-03-03 Thread Jonathan Cameron
On Wed, 28 Feb 2018 17:06:09 +0200 Andy Shevchenko wrote: > On Wed, Feb 28, 2018 at 2:15 AM, Pierre Bourdon wrote: > > Ambient light sensor that supports visible light and IR measurements and > > configurable gain/integration time. > > > > This is

Re: [PATCH v2] earlycon: Allow specifying a uartclk in options

2018-03-03 Thread Andy Shevchenko
On Thu, Mar 1, 2018 at 11:24 PM, Aaron Durbin wrote: > On Thu, Mar 1, 2018 at 1:02 PM, Andy Shevchenko > wrote: >> On Thu, Mar 1, 2018 at 9:22 PM, Daniel Kurtz wrote: >>> On Thu, Mar 1, 2018 at 11:47 AM Andy Shevchenko

Re: [PATCH v2] 8250-men-mcb: add support for 16z025 and 16z057

2018-03-03 Thread Andy Shevchenko
plied to the wrong git tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Michael-Moese/8250-men-mcb-add-support-for-16z025-and-16z057/20180303-104548 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git &g

Re: [RFC] perf: a different approach to perf_rotate_context()

2018-03-03 Thread Song Liu
> On Mar 3, 2018, at 5:39 AM, Jiri Olsa wrote: > > On Thu, Mar 01, 2018 at 11:53:21AM -0800, Song Liu wrote: >> When there are more perf_event's than hardware PMCs, perf rotate events >> so that all events get chance to run. Currently, the rotation works as: >> sched_out

Re: [PATCH 6/6] Staging: iio: adis16209: Use sign_extend32 and adjust a switch statement

2018-03-03 Thread Jonathan Cameron
On Sat, 03 Mar 2018 21:07:53 +0530 Shreeya Patel wrote: > On Sat, 2018-03-03 at 16:05 +, Jonathan Cameron wrote: > > On Fri,  2 Mar 2018 19:04:49 +0530 > > Shreeya Patel wrote: > > > > > > > > Use sign_extend32 function instead

Re: [PATCH v7 08/61] xarray: Add the xa_lock to the radix_tree_root

2018-03-03 Thread Matthew Wilcox
On Sat, Mar 03, 2018 at 09:55:22AM -0500, Jeff Layton wrote: > On Mon, 2018-02-19 at 11:45 -0800, Matthew Wilcox wrote: > > From: Matthew Wilcox > > > > This results in no change in structure size on 64-bit x86 as it fits in > > the padding between the gfp_t and the void

[PATCH v3] media: siano: Fix coherent memory allocation failure on arm64

2018-03-03 Thread tomoki . sekiyama
From: Tomoki Sekiyama On some architectures such as arm64, siano chip based TV-tuner USB devices are not recognized correctly due to coherent memory allocation failure with the following error: [ 663.556135] usbcore: deregistering interface driver smsusb [

Re: lost interrupts when running sabrelite images (v4.15+) in qemu

2018-03-03 Thread Troy Kisky
On 3/3/2018 8:32 AM, Guenter Roeck wrote: > Hi, > > since v4.15, I get the following runtime warning when running sabrelite images > in qemu. > > irq 65: nobody cared (try booting with the "irqpoll" option) > ... > handlers: > [<26292474>] fec_pps_interrupt > Disabling IRQ #65 > fec

[PATCH] infiniband: hw: Drop unnecessary continue

2018-03-03 Thread Arushi Singhal
Continue at the bottom of a loop are removed. Issue found using drop_continue.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- drivers/infiniband/hw/qib/qib_init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/infiniband/hw/qib/qib_init.c

Re: [RFC PATCH] Randomization of address chosen by mmap.

2018-03-03 Thread Ilya Smith
Hello Daniel, thanks for sharing you experience! > On 1 Mar 2018, at 00:02, Daniel Micay wrote: > > I don't think it makes sense for the kernel to attempt mitigations to > hide libraries. The best way to do that is in userspace, by having the > linker reserve a large

Re: [PATCH 1/2] mmc: bcm2835: reset host on timeout

2018-03-03 Thread Stefan Wahren
Hi Michal, [add Stefan to CC] > Michal Suchánek hat am 14. Februar 2018 um 20:24 > geschrieben: > > > On Wed, 14 Feb 2018 17:49:31 +0100 > Stefan Wahren wrote: > > > Hi Michal, > > > > [add Phil] > > > > Am 14.02.2018 um 17:13 schrieb Michal

Re: [PATCH v7 08/61] xarray: Add the xa_lock to the radix_tree_root

2018-03-03 Thread Jeff Layton
On Mon, 2018-02-19 at 11:45 -0800, Matthew Wilcox wrote: > From: Matthew Wilcox > > This results in no change in structure size on 64-bit x86 as it fits in > the padding between the gfp_t and the void *. > > Initialising the spinlock requires a name for the benefit of

Re: [PATCH 1/6] Staging: iio: adis16209: Arrange headers in alphabetical order

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 18:49:23 +0530 Shreeya Patel wrote: > Arrange the headers in alphabetical order for cleanup > purpose. > > Signed-off-by: Shreeya Patel Applied to the togreg branch of iio.git and pushed out as testing (mostly to

Re: [PATCH 2/6] Staging: iio: adis16209: Change the definition name

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 18:53:41 +0530 Shreeya Patel wrote: > The change in the definition name makes it then obvious > what the units are throughout the driver and there will > be no need of the comment. > > Signed-off-by: Shreeya Patel

Re: [PATCH v1 2/2] perf/core: Add support for PMUs that can be read from any CPU

2018-03-03 Thread Peter Zijlstra
On Mon, Feb 26, 2018 at 05:53:57PM -0800, skan...@codeaurora.org wrote: > On 2018-02-24 00:41, Peter Zijlstra wrote: > > On Fri, Feb 23, 2018 at 04:19:38PM -0800, Saravana Kannan wrote: > > > Some PMUs events can be read from any CPU. So allow the PMU to mark > > > events as such. For these

[GIT PULL] Kbuild fixes for v4.16-rc4

2018-03-03 Thread Masahiro Yamada
Hi Linus, Here are Kbuild fixes for v4.16. Please pull! The following changes since commit 4a3928c6f8a53fa1aed28ccba227742486e8ddcb: Linux 4.16-rc3 (2018-02-25 18:50:41 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git

Re: [PATCH v2] earlycon: Allow specifying a uartclk in options

2018-03-03 Thread Andy Shevchenko
On Fri, Mar 2, 2018 at 8:35 PM, Daniel Kurtz wrote: > On Thu, Mar 1, 2018 at 1:02 PM Andy Shevchenko > wrote: >> On Thu, Mar 1, 2018 at 9:22 PM, Daniel Kurtz wrote: >> > On Thu, Mar 1, 2018 at 11:47 AM Andy Shevchenko < >

Re: [PATCH 5/6] Staging: iio: adis16209: Add some informatic comments

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 19:02:48 +0530 Shreeya Patel wrote: > Some of the register names does not make it's puporse > very clear and hence, add some comments for more > information. > Also there are certain unit based comments which are not > providing sufficient

Re: [PATCH v7 02/61] radix tree: Use bottom four bits of gfp_t for flags

2018-03-03 Thread Matthew Wilcox
On Sat, Mar 03, 2018 at 07:44:36AM -0500, Jeff Layton wrote: > > - return root->gfp_mask & __GFP_BITS_MASK; > > + return root->gfp_mask & ((__GFP_BITS_MASK >> 4) << 4); > > Maybe phrase this in terms of a constant like GFP_ZONEMASK here? Would > this be more appropriate? Yeah, that's a

Re: [PATCH] scripts/kconfig: replace single character strcat() appends

2018-03-03 Thread Ulf Magnusson
On Sat, Mar 3, 2018 at 7:14 PM, Ulf Magnusson wrote: > On Sat, Mar 3, 2018 at 12:12 AM, Joey Pabalinas > wrote: >> On Fri, Mar 02, 2018 at 02:44:53PM +0100, Ulf Magnusson wrote: >>> Not sure this is an improvement. Zeroing the bytes after the

[PATCH] staging: rtlwifi: Remove nonessential semicolon

2018-03-03 Thread Arushi Singhal
Remove non-essential semicolon after 'else' and 'switch' statements. Issue found using semicolon.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- drivers/staging/rtlwifi/base.c | 6 +++--- drivers/staging/rtlwifi/phydm/phydm_rainfo.c | 1

Re: [Outreachy kernel] [PATCH] staging: rtlwifi: Remove nonessential semicolon

2018-03-03 Thread Julia Lawall
On Sun, 4 Mar 2018, Arushi Singhal wrote: > Remove non-essential semicolon after 'else' and 'switch' statements. Issue > found using semicolon.cocci Coccinelle script. > > Signed-off-by: Arushi Singhal Acked-by: Julia Lawall It seems

[PATCH] ASoC: Intel: Skylake: Fix typo

2018-03-03 Thread abhijeet . kumar
From: Abhijeet Kumar Spelling mistake in state. So fixing it. Signed-off-by: Abhijeet Kumar --- sound/soc/intel/skylake/skl-messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/skylake/skl-messages.c

Re: [PATCH] x86: devicetree: fix config option around x86_flattree_get_config()

2018-03-03 Thread Frank Rowand
Hi x86 Maintainers, On 03/03/18 01:17, Laurent Pinchart wrote: > Hi Frank, > > Thank you for the patch. > > On Saturday, 3 March 2018 06:12:26 EET frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> x86_flattree_get_config() is incorrectly protected by >> ifdef

[PATCH] net: ethernet: Drop unnecessary continue

2018-03-03 Thread Arushi Singhal
Continue at the bottom of a loop are removed. Issue found using drop_continue.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- drivers/net/ethernet/amd/ni65.c | 1 - drivers/net/ethernet/neterion/s2io.c | 1 -

Re: [PATCH v7 05/61] Export __set_page_dirty

2018-03-03 Thread Jeff Layton
On Mon, 2018-02-19 at 11:45 -0800, Matthew Wilcox wrote: > From: Matthew Wilcox > > XFS currently contains a copy-and-paste of __set_page_dirty(). Export > it from buffer.c instead. > > Signed-off-by: Matthew Wilcox > --- > fs/buffer.c|

Re: [Outreachy kernel] [PATCH] infiniband: hw: Drop unnecessary continue

2018-03-03 Thread Julia Lawall
On Sat, 3 Mar 2018, Arushi Singhal wrote: > Continue at the bottom of a loop are removed. > Issue found using drop_continue.cocci Coccinelle script. > > Signed-off-by: Arushi Singhal > --- > drivers/infiniband/hw/qib/qib_init.c | 1 - > 1 file changed, 1

Re: linux-next: build failure after merge of the printk tree

2018-03-03 Thread Sergey Senozhatsky
Cc-ing Tejun On (03/02/18 16:54), Petr Mladek wrote: [..] > > (Though it is not immediately obvious why.) > > It is a mistery to me. The error appears when I move any of > dump_stack_print_info() or show_regs_print_info() function > definitions from kernel/printk/printk.c to lib/dump_stack.c. >

Re: [PATCH] kconfig: fix line number in recursive inclusion error message

2018-03-03 Thread Masahiro Yamada
2018-03-02 16:05 GMT+09:00 Masahiro Yamada : > When recursive inclusion is detected, the line number of the last > 'included from:' is wrong. > > [Test Case] > > Kconfig: > >8 > source "Kconfig2" > >8 > > Kconfig2: >

Re: [PATCH] MAINTAINERS: take over Kconfig maintainership

2018-03-03 Thread Masahiro Yamada
2018-03-03 3:37 GMT+09:00 Linus Torvalds : > On Fri, Mar 2, 2018 at 5:04 AM, Masahiro Yamada > wrote: >> I have recently picked up Kconfig patches to my tree without any >> declaration. Making it official now. > > Ack. > > I expect

Re: [PATCH 5/6] Staging: iio: adis16209: Add some informatic comments

2018-03-03 Thread Shreeya Patel
On Sat, 2018-03-03 at 16:01 +, Jonathan Cameron wrote: > On Fri,  2 Mar 2018 19:02:48 +0530 > Shreeya Patel wrote: > > > > > Some of the register names does not make it's puporse > > very clear and hence, add some comments for more > > information. > > Also

Re: [PATCH] mmc: Export host capabilities to debugfs.

2018-03-03 Thread Vladimir Zapolskiy
Hi Harish, On 03/01/2018 03:17 PM, Harish Jenny K N wrote: > This patch exports the host capabilities to debugfs > > Signed-off-by: Andrew Gabbasov > Signed-off-by: Harish Jenny K N > --- would you mind to restore the authorship to Abbas

Re: [PATCH] regmap: irq: fix ack-invert

2018-03-03 Thread Tim Harvey
On Tue, Feb 27, 2018 at 8:05 AM, Tim Harvey wrote: > When acking irqs we need to take into account the ack-invert case. Without > this chips that require 0's to ACK interrupts will never clear the interrupt. > > I am working on an mfd driver that will use ack-invert and

Re: [PATCH] scripts/kconfig: replace single character strcat() appends

2018-03-03 Thread Ulf Magnusson
On Sat, Mar 3, 2018 at 12:12 AM, Joey Pabalinas wrote: > On Fri, Mar 02, 2018 at 02:44:53PM +0100, Ulf Magnusson wrote: >> Not sure this is an improvement. Zeroing the bytes after the initial >> null terminator is redundant, and the explicit '\0' makes it clearer to >> me

Re: Query:Regarding object poison overwritten in binder_transaction

2018-03-03 Thread Greg Kroah-Hartman
On Sat, Mar 03, 2018 at 08:22:35PM +0530, Kohli, Gaurav wrote: > HI , > > Is there any known issue of slab poisoning in binder_transaction variable on > kernel 4.9, If you are using binder in an Android device with 4.9, please use the version in the android-common tree, as it has all of the

Re: [PATCH] i2c: octeon: Prevent error message on bus error

2018-03-03 Thread Wolfram Sang
> Did you also pick up the i2c-xlp9xx patches for current? Dunno which one of those you mean, but I reply to every patch to which branch I applied it to so you can check it easily. signature.asc Description: PGP signature

[PATCH] mm: relax ptrace mode in process_vm_readv(2)

2018-03-03 Thread Alexey Dobriyan
It is more natural to check for read-from-memory permissions in case of process_vm_readv() as PTRACE_MODE_ATTACH is equivalent to write permissions. Signed-off-by: Alexey Dobriyan --- mm/process_vm_access.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

Re: [PATCH 1/5] tpm: Trigger only missing TPM 2.0 self tests

2018-03-03 Thread James Bottomley
On Wed, 2018-02-28 at 21:58 +0200, Jarkko Sakkinen wrote: > From: Alexander Steffen > > My Nuvoton 6xx in a Dell XPS-13 has been intermittently failing to > work (necessitating a reboot). The problem seems to be that the TPM > gets into a state where the partial

Re: [Outreachy kernel] [PATCH] net: ethernet: Drop unnecessary continue

2018-03-03 Thread Julia Lawall
On Sat, 3 Mar 2018, Arushi Singhal wrote: > Continue at the bottom of a loop are removed. > Issue found using drop_continue.cocci Coccinelle script. In each case you leave an if with a single statement in the branch. In that case the { } should be dropped too. julia > > Signed-off-by:

Re: [PATCH v7 08/61] xarray: Add the xa_lock to the radix_tree_root

2018-03-03 Thread Jeff Layton
On Mon, 2018-02-19 at 11:45 -0800, Matthew Wilcox wrote: > From: Matthew Wilcox > > This results in no change in structure size on 64-bit x86 as it fits in > the padding between the gfp_t and the void *. > While the patch itself looks fine, we should take note that this

Re: [RFC] perf: a different approach to perf_rotate_context()

2018-03-03 Thread Peter Zijlstra
On Thu, Mar 01, 2018 at 11:53:21AM -0800, Song Liu wrote: > When there are more perf_event's than hardware PMCs, perf rotate events > so that all events get chance to run. Currently, the rotation works as: > sched_out flexible_groups in cpuctx->ctx and cpuctx->task_ctx; > rotate_left

Re: [PATCH 3/6] Staging: iio: adis16209: Add _REG postfix for registers

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 18:55:56 +0530 Shreeya Patel wrote: > The defined names for registers does not make it very > clear that they are registers and hence, add _REG postfix. > This improves the readability of the code. > > Signed-off-by: Shreeya Patel

Re: [PATCH] init/ramdisk: use pr_cont() at the end of ramdisk loading

2018-03-03 Thread Andy Shevchenko
On Fri, Mar 2, 2018 at 10:55 PM, Aaro Koskinen wrote: > Use pr_cont() at the end of ramdisk loading. This will avoid the rotator > and an extra newline appearing in the dmesg. > printk("Error closing the disk.\n"); What about this one? --

lost interrupts when running sabrelite images (v4.15+) in qemu

2018-03-03 Thread Guenter Roeck
Hi, since v4.15, I get the following runtime warning when running sabrelite images in qemu. irq 65: nobody cared (try booting with the "irqpoll" option) ... handlers: [<26292474>] fec_pps_interrupt Disabling IRQ #65 fec 2188000.ethernet (unnamed net_device) (uninitialized): MDIO read timeout

drivers/net/wireless/mediatek/mt76/mac80211.c:119: undefined reference to `devm_of_led_classdev_register'

2018-03-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 5fbdefcf685defd8bc5a8f37b17538d25c58d77a commit: 7bc04215a66b60e198aecaee8418f6d79fa19faa mt76: add driver code for MT76x2e date: 3 months ago config: x86_64-randconfig-b0-03032320 (attached as .config)

Re: [PATCH] i2c: s3c2410: Properly handle interrupts of number 0

2018-03-03 Thread Russell King - ARM Linux
On Sat, Mar 03, 2018 at 06:25:17PM +0200, Andy Shevchenko wrote: > On Fri, Mar 2, 2018 at 6:28 PM, Mark Rutland wrote: > > On Fri, Mar 02, 2018 at 03:32:22PM +, Russell King - ARM Linux wrote: > >> How do we break this status quo and finally solve the IRQ 0 and > >>

[PATCH] staging: rtl8723bs: Remove unnecessary semicolon.

2018-03-03 Thread Arushi Singhal
Remove unnecessary semicolon using semicolon.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- drivers/staging/rtl8723bs/core/rtw_recv.c | 2 +- drivers/staging/rtl8723bs/hal/rtl8723b_rf6052.c | 2 +- 2 files changed, 2 insertions(+), 2

Re: [PATCH] iio:magnetometer: Replace magic number 0 by IIO_CHAN_INFO_RAW

2018-03-03 Thread Jonathan Cameron
On Tue, 27 Feb 2018 11:47:55 -0300 Rodrigo Siqueira wrote: > The function magn_3d_read_raw has a switch statement handling multiple > cases per channel. The first case statement uses the magic number 0, > which means IIO_CHAN_INFO_RAW. Additionally, the

Re: [PATCH v2 2/2] iio:dummy: Add extra paragraphs on Kconfig

2018-03-03 Thread Jonathan Cameron
On Tue, 27 Feb 2018 10:47:06 -0300 Rodrigo Siqueira wrote: > This patch fixes the checkpatch.pl warning: > > drivers/iio/dummy/Kconfig:21: WARNING: please write a paragraph that > describes the config symbol fully > drivers/iio/dummy/Kconfig:27: WARNING: please

Re: [PATCH 2/2] IB/qib: Move char *qib_sdma_state_names[] and constify while there.

2018-03-03 Thread Dennis Dalessandro
On 2/27/2018 5:05 PM, Hernán Gonzalez wrote: Note: This is compile only tested as I have no access to the hw. This variable was not used in qib_sdma.c but in qib_iba7322.c. Declaring it there, as static, saves 56 bytes. add/remove: 0/2 grow/shrink: 0/0 up/down: 0/-144 (-144) Function

Re: [PATCH] infiniband: hw: Drop unnecessary continue

2018-03-03 Thread Dennis Dalessandro
On 3/3/2018 8:03 AM, Arushi Singhal wrote: Continue at the bottom of a loop are removed. Issue found using drop_continue.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- drivers/infiniband/hw/qib/qib_init.c | 1 - 1 file changed, 1 deletion(-)

Re: [RFC] perf: a different approach to perf_rotate_context()

2018-03-03 Thread Peter Zijlstra
On Sat, Mar 03, 2018 at 04:43:16PM +, Song Liu wrote: > > In any case, there's a ton of conflict against the patches here: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=perf/testing > > > > And with those the idea was to move to a virtual time based

Re: [PATCH v2] earlycon: Allow specifying a uartclk in options

2018-03-03 Thread Aaron Durbin
On Sat, Mar 3, 2018 at 8:38 AM, Andy Shevchenko wrote: > On Thu, Mar 1, 2018 at 11:24 PM, Aaron Durbin wrote: >> On Thu, Mar 1, 2018 at 1:02 PM, Andy Shevchenko >> wrote: >>> On Thu, Mar 1, 2018 at 9:22 PM, Daniel Kurtz

Re: [PATCH v2] earlycon: Allow specifying a uartclk in options

2018-03-03 Thread Aaron Durbin
On Sat, Mar 3, 2018 at 8:56 AM, Andy Shevchenko wrote: > On Fri, Mar 2, 2018 at 8:35 PM, Daniel Kurtz wrote: >> On Thu, Mar 1, 2018 at 1:02 PM Andy Shevchenko >> wrote: >>> On Thu, Mar 1, 2018 at 9:22 PM, Daniel Kurtz

[PATCH] staging: media: Remove unnecessary semicolon

2018-03-03 Thread Arushi Singhal
Remove unnecessary semicolon found using semicolon.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- .../media/atomisp/pci/atomisp2/css2400/runtime/frame/src/frame.c| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v4 16/22] nvmem: meson-efuse: Do no gate COMPILE_TEST with MESON_SM

2018-03-03 Thread kbuild test robot
/commits/Andrey-Smirnov/Verbatim-device-names-and-devm_nvmem_-un-register/20180303-220801 config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O

Re: [RFC PATCH] Randomization of address chosen by mmap.

2018-03-03 Thread Matthew Wilcox
On Sat, Mar 03, 2018 at 04:00:45PM -0500, Daniel Micay wrote: > The main thing I'd like to see is just the option to get a guarantee > of enforced gaps around mappings, without necessarily even having > randomization of the gap size. It's possible to add guard pages in > userspace but it adds

RE: [PATCH net-next 1/5] net: mvpp2: use the same buffer pool for all ports

2018-03-03 Thread Stefan Chulski
> Hello, > > On Fri, 2 Mar 2018 16:40:40 +0100, Antoine Tenart wrote: > > +static struct { > > + int pkt_size; > > + int buf_num; > > +} mvpp2_pools[MVPP2_BM_POOLS_NUM]; > > Any reason for not doing: > > } mvpp2_pools[MVPP2_BM_POOLS_NUM] = { > [MVPP2_BM_SHORT] = { >

Re: [PATCH] x86: devicetree: fix config option around x86_flattree_get_config()

2018-03-03 Thread Thomas Gleixner
On Sat, 3 Mar 2018, Frank Rowand wrote: > I sent this patch to the x86 maintainers and to Rob because of a patch > series that is modifying arch/x86/kernel/devicetree.c, in > x86_flattree_get_config() [1]. It does not look like my patch will > conflict with that patch at the moment, but it is

Re: [PATCH v7 1/5] x86: devicetree: fix config option around x86_flattree_get_config()

2018-03-03 Thread Thomas Gleixner
On Sat, 3 Mar 2018, Frank Rowand wrote: > On 03/03/18 16:17, frowand.l...@gmail.com wrote: > > From: Frank Rowand > > > > x86_flattree_get_config() is incorrectly protected by > > ifdef CONFIG_OF_FLATTREE. It uses of_get_flat_dt_size(), which > > only exists if

RE: [PATCH net-next 5/5] net: mvpp2: jumbo frames support

2018-03-03 Thread Stefan Chulski
> > netdev_err(port->dev, "Invalid pool %d\n", pool); > > return NULL; > > } > > @@ -4596,11 +4604,24 @@ mvpp2_bm_pool_use(struct mvpp2_port > *port, int > > pool, int pkt_size) static int mvpp2_swf_bm_pool_init(struct > > mvpp2_port *port) { > > int rxq; > > +

Re: [PATCH v7 02/61] radix tree: Use bottom four bits of gfp_t for flags

2018-03-03 Thread Jeff Layton
On Mon, 2018-02-19 at 11:44 -0800, Matthew Wilcox wrote: > From: Matthew Wilcox > > None of these four bits may be used for slab allocations, so we can > use them for flags as long as we mask them off before passing them > to the slab allocator. Move the IDR flag from

Re: [PATCH] pinctrl: bc2835: Add brcm,level property

2018-03-03 Thread Stefan Wahren
Hi Matheus, sorry for my late reply. > Matheus Castello hat am 22. Februar 2018 um 18:44 > geschrieben: > > > Property to set initial value of pin output buffer. > > Signed-off-by: Matheus Castello > --- >

Re: [PATCH v2] media: siano: Fix coherent memory allocation failure on arm64

2018-03-03 Thread Mauro Carvalho Chehab
Hi Tomoki, Em Sat, 3 Mar 2018 21:20:17 +0900 tomoki.sekiy...@gmail.com escreveu: > From: Tomoki Sekiyama > > On some architectures such as arm64, siano chip based TV-tuner > USB devices are not recognized correctly due to coherent memory > allocation failure with

Query:Regarding object poison overwritten in binder_transaction

2018-03-03 Thread Kohli, Gaurav
HI , Is there any known issue of slab poisoning in binder_transaction variable on kernel 4.9,  it seems owner variable of spinlock is getting corrupted(which is last 8th byte of binder_transaction struct).    368.423462:   <2> [] print_trailer+0x13c/0x214    368.428998:   <2> []

Re: [PATCH] dt-bindings: iio: adc: stm32-dfsdm: fix types, add missing pinctrl

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 10:25:13 -0600 Rob Herring wrote: > On Fri, Feb 23, 2018 at 12:11:00PM +0100, Fabrice Gasnier wrote: > > - Add missing pinctrl description. Support is made optional as dfsdm > > may use internal sources (e.g. via registers) > > - Fix typo in IIO STM32 DFSDM

Re: [PATCH 6/6] Staging: iio: adis16209: Use sign_extend32 and adjust a switch statement

2018-03-03 Thread Jonathan Cameron
On Fri, 2 Mar 2018 19:04:49 +0530 Shreeya Patel wrote: > Use sign_extend32 function instead of manually coding it. > Also, adjust a switch block to explicitly match channels > and return -EINVAL as default case which makes the code > semantically more clear. > >

[PATCH v2] net: ethernet: Drop unnecessary continue

2018-03-03 Thread Arushi Singhal
Continue at the bottom of a loop are removed. Issue found using drop_continue.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- Changes in v2: - Braces is dropped from if with single statement. drivers/net/ethernet/amd/ni65.c | 4 +---

Re: [PATCH 6/6] Staging: iio: adis16209: Use sign_extend32 and adjust a switch statement

2018-03-03 Thread Shreeya Patel
On Sat, 2018-03-03 at 16:05 +, Jonathan Cameron wrote: > On Fri,  2 Mar 2018 19:04:49 +0530 > Shreeya Patel wrote: > > > > > Use sign_extend32 function instead of manually coding it. > > Also, adjust a switch block to explicitly match channels > > and return

Re: [PATCH v3 1/2] iio: light: add driver for bh1730fvc chips

2018-03-03 Thread Jonathan Cameron
On Sat, 3 Mar 2018 17:44:44 +0200 Andy Shevchenko wrote: > On Sat, Mar 3, 2018 at 5:37 PM, Jonathan Cameron wrote: > > On Wed, 28 Feb 2018 17:06:09 +0200 > >> On Wed, Feb 28, 2018 at 2:15 AM, Pierre Bourdon > >> wrote: > >

[PATCH v2] infiniband: hw: Drop unnecessary continue

2018-03-03 Thread Arushi Singhal
Continue at the bottom of a loop are removed. Issue found using drop_continue.cocci Coccinelle script. Signed-off-by: Arushi Singhal --- Changes in v2: - Braces is dropped from if with single statement. drivers/infiniband/hw/qib/qib_init.c | 4 +--- 1 file

Re: [PATCH] i2c: s3c2410: Properly handle interrupts of number 0

2018-03-03 Thread Andy Shevchenko
On Fri, Mar 2, 2018 at 6:28 PM, Mark Rutland wrote: > On Fri, Mar 02, 2018 at 03:32:22PM +, Russell King - ARM Linux wrote: >> How do we break this status quo and finally solve the IRQ 0 and >> NO_IRQ issue? Guys, the question: Wouldn't be request_irq() failed when it

Re: [RFC] perf: a different approach to perf_rotate_context()

2018-03-03 Thread Song Liu
> On Mar 3, 2018, at 7:26 AM, Peter Zijlstra wrote: > > On Thu, Mar 01, 2018 at 11:53:21AM -0800, Song Liu wrote: >> When there are more perf_event's than hardware PMCs, perf rotate events >> so that all events get chance to run. Currently, the rotation works as: >>

[PATCH] memory-failure: fix section mismatch

2018-03-03 Thread Nick Desaulniers
Clang complains when a variable is declared extern twice, but with two different sections. num_poisoned_pages is marked extern and __read_mostly in include/linux/swapops.h, but only extern in include/linux/mm.h. Some c source files must include both, and thus see the conflicting declarations.

Re: [PATCH] clarify how insecure CPU is

2018-03-03 Thread Thomas Gleixner
On Sat, 3 Mar 2018, Pavel Machek wrote: > On Tue 2018-01-09 00:44:30, Thomas Gleixner wrote: > > On Tue, 9 Jan 2018, Pavel Machek wrote: > > > > > On Mon 2018-01-08 21:27:25, Thomas Gleixner wrote: > > > > On Mon, 8 Jan 2018, Pavel Machek wrote: > > > > > > > > > > > > > > First, what is going

[PATCH dts/arm/aspeed-g5 v1] ARM: dts: aspeed-g5: Add IPMI KCS node

2018-03-03 Thread Haiyue Wang
The IPMI KCS device part of the LPC interface and is used for communication with the host processor. Signed-off-by: Haiyue Wang --- Hi Joel & Andrew, The kcs-bmc-aspeed module has been in:

Re: [PATCH 1/7] platform/x86: fujitsu-laptop: Define constants for FUNC operations

2018-03-03 Thread Jonathan Woithe
On Wed, Feb 28, 2018 at 06:08:52PM +0200, Andy Shevchenko wrote: > On Tue, Feb 27, 2018 at 11:15 PM, Micha?? K??pie?? wrote: > > Various functions exposed by the firmware through the FUNC interface > > tend to use a consistent set of integers for denoting the type of > >

Re: [PATCH 0/7] fujitsu-laptop: Consistent naming of constants

2018-03-03 Thread Jonathan Woithe
Hi Michal On Tue, Feb 27, 2018 at 10:15:32PM +0100, Micha?? K??pie?? wrote: > This patch series is an attempt to organize all the named constants used > throughout fujitsu-laptop so that their names more clearly convey their > purpose: a set of prefixes is introduced to "map" constant names to >

RE: [PATCH net-next 3/5] net: mvpp2: use a data size of 10kB for Tx FIFO on port 0

2018-03-03 Thread Stefan Chulski
> On Fri, 2 Mar 2018 16:40:42 +0100, Antoine Tenart wrote: > > > -/* Initialize Tx FIFO's */ > > +/* Initialize Tx FIFO's > > + * The CP110's total tx-fifo size is 19kB. > > + * Use large-size 10kB for fast port but 3kB for others. > > + */ > > Is there a reason to hardcode 10KB for port 0,

[PATCH] certs/blacklist: fix const confusion

2018-03-03 Thread Nick Desaulniers
Fixes commit 2be04df5668d ("certs/blacklist_nohashes.c: fix const confusion in certs blacklist") Signed-off-by: Nick Desaulniers --- certs/blacklist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certs/blacklist.h b/certs/blacklist.h index

Re: [Outreachy kernel] [PATCH] staging: rtl8723bs: Remove unnecessary semicolon.

2018-03-03 Thread Julia Lawall
On Sun, 4 Mar 2018, Arushi Singhal wrote: > Remove unnecessary semicolon using semicolon.cocci Coccinelle script. > > Signed-off-by: Arushi Singhal Acked-by: Julia Lawall > --- > drivers/staging/rtl8723bs/core/rtw_recv.c | 2 +- >

  1   2   3   4   5   6   7   8   9   10   >