[PATCH v6 0/2] Add ST lsm6dso i3c support

2019-07-19 Thread Vitor Soares
This patch-series add i3c support for STM LSM6DSO and LSM6DSR sensors. It is also introduced i3c support on regmap API. Due to the lack of i3c devices with HDR feature on the market the support, for now, is only for i3c SDR mode by using i3c_device_do_priv_xfers() method. The i3c regmap API is al

[PATCH v6 2/2] iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR

2019-07-19 Thread Vitor Soares
For today the st_lsm6dsx driver support LSM6DSO and LSM6DSR sensor only in spi and i2c mode. The LSM6DSO and LSM6DSR are also i3c capable so let's give i3c support to them. Signed-off-by: Vitor Soares Acked-by: Lorenzo Bianconi Reviewed-by: Boris Brezillon --- Changes in v6: none Changes in

[PATCH 2/2] lib/test_kasan: Add stack overflow test

2019-07-19 Thread Marco Elver
Adds a simple stack overflow test, to check the error being reported on an overflow. Without CONFIG_STACK_GUARD_PAGE, the result is typically some seemingly unrelated KASAN error message due to accessing random other memory. Signed-off-by: Marco Elver Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Bor

[PATCH 1/2] kernel/fork: Add support for stack-end guard page

2019-07-19 Thread Marco Elver
Enabling STACK_GUARD_PAGE helps catching kernel stack overflows immediately rather than causing difficult-to-diagnose corruption. Note that, unlike virtually-mapped kernel stacks, this will effectively waste an entire page of memory; however, this feature may provide extra protection in cases that

Re: [PATCH] [v2] blkdev: always export SECTOR_SHIFT

2019-07-19 Thread Arnd Bergmann
On Fri, Jul 19, 2019 at 3:14 PM Arnd Bergmann wrote: > > On Fri, Jul 19, 2019 at 2:13 PM Christoph Hellwig wrote: > > > > > +/* > > > + * The basic unit of block I/O is a sector. It is used in a number of > > > contexts > > > + * in Linux (blk, bio, genhd). The size of one sector is 512 = 2**9 >

Re: [PATCH 3/3] riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver

2019-07-19 Thread Andrew Lunn
On Fri, Jul 19, 2019 at 05:23:45PM +0530, Sagar Kadam wrote: > > +ð0 { > > + status = "okay"; > > + phy-mode = "gmii"; > > + phy-handle = <&phy1>; > > + phy1: ethernet-phy@0 { > > + reg = <0>; > > + }; Hi Sagar Is there a good reason to call it phy1? Is

Re: [PATCH 3/5] sched/fair: rework load_balance

2019-07-19 Thread Peter Zijlstra
On Fri, Jul 19, 2019 at 09:58:23AM +0200, Vincent Guittot wrote: > enum group_type { > - group_other = 0, > + group_has_spare = 0, > + group_fully_busy, > group_misfit_task, > + group_asym_capacity, > group_imbalanced, > group_overloaded, > }; The order of this

Re: [RFC PATCH 0/5] PTP: add support for Intel's TGPIO controller

2019-07-19 Thread Andrew Lunn
On Fri, Jul 19, 2019 at 10:35:14AM +0300, Felipe Balbi wrote: > > Hi, > > Andrew Lunn writes: > > On Tue, Jul 16, 2019 at 10:20:33AM +0300, Felipe Balbi wrote: > >> TGPIO is a new IP which allows for time synchronization between systems > >> without any other means of synchronization such as PTP

Re: [PATCH] [v2] blkdev: always export SECTOR_SHIFT

2019-07-19 Thread Arnd Bergmann
On Fri, Jul 19, 2019 at 2:13 PM Christoph Hellwig wrote: > > > +/* > > + * The basic unit of block I/O is a sector. It is used in a number of > > contexts > > + * in Linux (blk, bio, genhd). The size of one sector is 512 = 2**9 > > + * bytes. Variables of type sector_t represent an offset or size

Re: [PATCH] [v2] blkdev: always export SECTOR_SHIFT

2019-07-19 Thread Arnd Bergmann
On Fri, Jul 19, 2019 at 2:48 PM Masahiro Yamada wrote: > > Hi Arnd, > > On Fri, Jul 19, 2019 at 8:32 PM Arnd Bergmann wrote: > > > > When CONFIG_BLOCK is disabled, SECTOR_SHIFT is unknown, and this leads > > to a failure in the testing infrastructure added from commit c93a0368aaa2 > > ("kbuild: d

Re: [PATCH 3/5] sched/fair: rework load_balance

2019-07-19 Thread Peter Zijlstra
On Fri, Jul 19, 2019 at 09:58:23AM +0200, Vincent Guittot wrote: > @@ -8029,17 +8063,24 @@ static inline void update_sg_lb_stats(struct lb_env > *env, > } > } > > - /* Adjust by relative CPU capacity of the group */ > - sgs->group_capacity = group->sgc->capacity; > -

Re: [PATCH v3 0/6] Remove x86-specific code from generic headers

2019-07-19 Thread Lendacky, Thomas
On 7/18/19 2:44 PM, Thiago Jung Bauermann wrote: > > Lendacky, Thomas writes: > >> On 7/17/19 10:28 PM, Thiago Jung Bauermann wrote: >>> Hello, >>> >>> This version is mostly about splitting up patch 2/3 into three separate >>> patches, as suggested by Christoph Hellwig. Two other changes are a

Re: [PATCH 3/5] sched/fair: rework load_balance

2019-07-19 Thread Peter Zijlstra
On Fri, Jul 19, 2019 at 09:58:23AM +0200, Vincent Guittot wrote: > @@ -7887,7 +7908,7 @@ static inline int sg_imbalanced(struct sched_group > *group) > static inline bool > group_has_capacity(struct lb_env *env, struct sg_lb_stats *sgs) > { > - if (sgs->sum_h_nr_running < sgs->group_weight)

Je serai ravis de faire ta connaissance

2019-07-19 Thread Linda Guerin
Bonjour mon cher correspondant, Je m'appelle Linda GUERIN d'origine française et âgé de 30ans. Je suis gestionnaire de projet au sein d'une organisation nommée OCID siégé au Canada. L'ocid est une organisation qui œuvre dans le domaine du développement, de la coopération internationale et de l’

[PATCH] ubifs: ubifs_tnc_start_commit: Fix OOB in layout_in_gaps

2019-07-19 Thread Zhihao
From: Zhihao Cheng Running stress-test test_2 in mtd-utils on ubi device, sometimes we can get follwing oops message: BUG: unable to handle page fault for address: 0140 #PF: supervisor read access in kernel mode #PF: error_code(0x) - not-present page PGD 280a067 P4D 280a0

Re: [v3 PATCH 2/2] mm: mempolicy: handle vma with unmovable pages mapped correctly in mbind

2019-07-19 Thread Vlastimil Babka
On 7/18/19 7:17 PM, Yang Shi wrote: > When running syzkaller internally, we ran into the below bug on 4.9.x > kernel: > > kernel BUG at mm/huge_memory.c:2124! > invalid opcode: [#1] SMP KASAN > Dumping ftrace buffer: >(ftrace buffer empty) > Modules linked in: > CPU: 0 PID: 1518 Comm: syz

Re: [PATCH 3/3] mm/vmalloc: Sync unmappings in vunmap_page_range()

2019-07-19 Thread Joerg Roedel
On Fri, Jul 19, 2019 at 05:24:03AM -0700, Andy Lutomirski wrote: > Could you move the vmalloc_sync_all() call to the lazy purge path, > though? If nothing else, it will cause it to be called fewer times > under any given workload, and it looks like it could be rather slow on > x86_32. Okay, I mov

Re: [PATCH 1/2] printk/panic: Access the main printk log in panic() only when safe

2019-07-19 Thread Petr Mladek
On Thu 2019-07-18 18:49:34, Sergey Senozhatsky wrote: > On (07/18/19 10:36), Petr Mladek wrote: > > On Wed 2019-07-17 18:56:15, Sergey Senozhatsky wrote: > > > On (07/16/19 09:28), Petr Mladek wrote: > > > > Kernel tries hard to store and show printk messages when panicking. Even > > > > logbuf_loc

Re: [PATCH 3/5] sched/fair: rework load_balance

2019-07-19 Thread Peter Zijlstra
On Fri, Jul 19, 2019 at 09:58:23AM +0200, Vincent Guittot wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 67f0acd..472959df 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -5376,18 +5376,6 @@ static unsigned long capacity_of(int cpu) > return cpu_r

Re: [PATCH 3/5] sched/fair: rework load_balance

2019-07-19 Thread Peter Zijlstra
On Fri, Jul 19, 2019 at 09:58:23AM +0200, Vincent Guittot wrote: > @@ -7060,12 +7048,21 @@ static unsigned long __read_mostly > max_load_balance_interval = HZ/10; > enum fbq_type { regular, remote, all }; > > enum group_type { > - group_other = 0, > + group_has_spare = 0, > + group

Re: [PATCH v5 2/2] iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR

2019-07-19 Thread Boris Brezillon
On Fri, 19 Jul 2019 13:19:05 +0200 Vitor Soares wrote: > For today the st_lsm6dsx driver support LSM6DSO and LSM6DSR sensor only in > spi and i2c mode. > > The LSM6DSO and LSM6DSR are also i3c capable so let's give i3c support to > them. > > Signed-off-by: Vitor Soares > Acked-by: Lorenzo Bian

Re: [PATCH 2/5] sched/fair: rename sum_nr_running to sum_h_nr_running

2019-07-19 Thread Peter Zijlstra
On Fri, Jul 19, 2019 at 09:58:22AM +0200, Vincent Guittot wrote: > sum_nr_running will track rq->nr_running task and sum_h_nr_running > will track cfs->h_nr_running so we can use both to detect when other > scheduling class are running and preempt CFS. > > There is no functional changes. > > Sign

Re: [PATCH v5 1/2] i3c: move i3c_device_match_id to device.c and export it

2019-07-19 Thread Boris Brezillon
On Fri, 19 Jul 2019 13:19:04 +0200 Vitor Soares wrote: > Some I3C device drivers need to know which entry matches the > i3c_device object passed to the probe function > > Let's move i3c_device_match_id() to device.c and export it so it can be > used by drivers. > > Signed-off-by: Vitor Soares

Re: [PATCH] [v2] blkdev: always export SECTOR_SHIFT

2019-07-19 Thread Masahiro Yamada
Hi Arnd, On Fri, Jul 19, 2019 at 8:32 PM Arnd Bergmann wrote: > > When CONFIG_BLOCK is disabled, SECTOR_SHIFT is unknown, and this leads > to a failure in the testing infrastructure added from commit c93a0368aaa2 > ("kbuild: do not create wrappers for header-test-y"): I think this should be com

Re: [v3 PATCH 1/2] mm: mempolicy: make the behavior consistent when MPOL_MF_MOVE* and MPOL_MF_STRICT were specified

2019-07-19 Thread Vlastimil Babka
On 7/18/19 7:17 PM, Yang Shi wrote: > When both MPOL_MF_MOVE* and MPOL_MF_STRICT was specified, mbind() should > try best to migrate misplaced pages, if some of the pages could not be > migrated, then return -EIO. > > There are three different sub-cases: > 1. vma is not migratable > 2. vma is migr

[PATCH] fs: fs_parser: avoid NULL param->string to kstrtouint

2019-07-19 Thread Yin Fengwei
syzbot reported general protection fault in kstrtouint: https://lkml.org/lkml/2019/7/18/328 >From the log, if the mount option is something like: fd, The default parameter (which has NULL param->string) will be passed to vfs_parse_fs_param. Finally, this NULL param->string

Re: [PATCH] kbuild: disable compile-test of kernel headers for now

2019-07-19 Thread Sam Ravnborg
Hi Masahiro. On Fri, Jul 19, 2019 at 07:08:59PM +0900, Masahiro Yamada wrote: > This compile-test started from the strong belief that (almost) all > headers should be able to be compiled as a standalone unit, but this > requirement seems to be just annoying. > > I believe compile-test of exported

Greetings my good friend

2019-07-19 Thread Mr Andrew Kabora
-- Dear Friend, With due respect to your person and much sincerity of purpose, I make this contact with you as I believe that you can be of great assistance to me. My name is Mr Andrew Kabore, from Ouagadougou Republic of BURKINA FASO, West Africa . Presently i work in the African development

RE: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

2019-07-19 Thread Jose Abreu
From: Jon Hunter Date: Jul/19/2019, 13:30:10 (UTC+00:00) > I booted the board without using NFS and then started used dhclient to > bring up the network interface and it appears to be working fine. I can > even mount the NFS share fine. So it does appear to be particular to > using NFS to mount t

Re: [PATCH] nvme-core: Fix memory leak caused by incorrect subsystem free

2019-07-19 Thread Christoph Hellwig
Thanks, applied to nvme-5.3.

Re: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

2019-07-19 Thread Jon Hunter
On 19/07/2019 11:25, Jose Abreu wrote: ... > Thanks. Can you add attached patch and check if WARN is triggered ? And > it would be good to know whether this is boot specific crash or just > doesn't work at all, i.e. not using NFS to mount rootfs and instead > manually configure interface and

Re: [PATCH v3] nvme-pci: Support shared tags across queues for Apple 2018 controllers

2019-07-19 Thread Christoph Hellwig
Yikes, that things looks worse and worse. I think at this point we'll have to defer the support to 5.4 unfortunately as it is getting more and more involved..

[RFC PATCH 0/2] livepatch: Clear relocation targets on a module removal

2019-07-19 Thread Miroslav Benes
The second attempt to resolve the issue reported by Josh last year [1] and also reported earlier this year again [2]. The first attempt [3] tried to deny the patched modules to be removed. It did not solve the issue completely. It would be possible, but we decided to try the arch-specific approach

[PATCH 1/2] livepatch: Nullify obj->mod in klp_module_coming()'s error path

2019-07-19 Thread Miroslav Benes
klp_module_coming() is called for every module appearing in the system. It sets obj->mod to a patched module for klp_object obj. Unfortunately it leaves it set even if an error happens later in the function and the patched module is not allowed to be loaded. klp_is_object_loaded() uses obj->mod va

[RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-07-19 Thread Miroslav Benes
Josh reported a bug: When the object to be patched is a module, and that module is rmmod'ed and reloaded, it fails to load with: module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 2, loc ba0302e9, val a03e293c livepatch: failed to

RE: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

2019-07-19 Thread Jose Abreu
From: Jose Abreu Date: Jul/19/2019, 11:25:41 (UTC+00:00) > Thanks. Can you add attached patch and check if WARN is triggered ? BTW, also add the attached one in this mail. The WARN will probably never get triggered without it. Can you also print "buf->addr" after the WARN_ON ? --- Thanks, Jo

[PATCH] spi: pxa2xx: Balance runtime PM enable/disable on error

2019-07-19 Thread Lubomir Rintel
Don't undo the PM initialization if we error out before we managed to initialize it. The call to pm_runtime_disable() without being preceded by pm_runtime_enable() would disturb the balance of the Force. In practice, this happens if we fail to allocate any of the GPIOS ("cs", "ready") due to -EPRO

Re: [PATCH] phy: core: document calibrate() method

2019-07-19 Thread Kishon Vijay Abraham I
Hi Marek, On 19/07/19 5:51 PM, Marek Szyprowski wrote: > Hi Kishon, > > On 2019-07-19 12:04, Kishon Vijay Abraham I wrote: >> Hi Marek, >> >> On 19/07/19 3:22 PM, Marek Szyprowski wrote: >>> Commit 36914111e682 ("drivers: phy: add calibrate method") added support >>> for generic phy_calibrate() m

Re: [PATCH 3/3] mm/vmalloc: Sync unmappings in vunmap_page_range()

2019-07-19 Thread Andy Lutomirski
On Fri, Jul 19, 2019 at 5:21 AM Joerg Roedel wrote: > > On Thu, Jul 18, 2019 at 12:04:49PM -0700, Andy Lutomirski wrote: > > I find it problematic that there is no meaningful documentation as to > > what vmalloc_sync_all() is supposed to do. > > Yeah, I found that too, there is no real design arou

Re: [PATCH 3/3] mm/vmalloc: Sync unmappings in vunmap_page_range()

2019-07-19 Thread Joerg Roedel
On Thu, Jul 18, 2019 at 12:04:49PM -0700, Andy Lutomirski wrote: > I find it problematic that there is no meaningful documentation as to > what vmalloc_sync_all() is supposed to do. Yeah, I found that too, there is no real design around vmalloc_sync_all(). It looks like it was just added to fit th

Re: [PATCH 2/2] printk/panic/x86: Allow to access printk log buffer after crash_smp_send_stop()

2019-07-19 Thread Petr Mladek
On Thu 2019-07-18 20:29:54, Sergey Senozhatsky wrote: > On (07/18/19 14:07), Konstantin Khlebnikov wrote: > > > Let me test the waters. Criticize the following idea: > > > > > > Can we, sort of, disconnect "supposed to be dead" CPUs from printk() > > > so then we can unconditionally re-init printk(

[PATCH v2] staging: wilc1000: Merge memcpy + le32_to_cpus to get_unaligned_le32

2019-07-19 Thread Chuhong Yuan
Merge the combo use of memcpy and le32_to_cpus. Use get_unaligned_le32 instead. This simplifies the code. Signed-off-by: Chuhong Yuan --- Changes in v2: - Merge the two patches with the same subject line. drivers/staging/wilc1000/wilc_mon.c | 3 +-- drivers/staging/wilc1000/wi

Re: general protection fault in kstrtouint (2)

2019-07-19 Thread YinFengwei
Hi, On Thu, Jul 18, 2019 at 05:18:07AM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:e40115c0 Add linux-next specific files for 20190717 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=11d51b7060 > kernel c

[PATCH v5 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

2019-07-19 Thread andradanciu1997
From: Richard Hu TechNexion PICO-PI-IMX8M-DEV evaluation and development kit based on NXP i.MX8M Quad applications processor. Datasheet can be found at: https://s3.us-east-2.amazonaws.com/technexion/datasheets/picopiimx8m.pdf The current level of support yields a working console and is able to

[PATCH v5 0/2] Add basic support for pico-pi-imx8m

2019-07-19 Thread andradanciu1997
Add support for TechNexion PICO-PI-IMX8M based on patches from Richard Hu Datasheet is at: https://s3.us-east-2.amazonaws.com/technexion/datasheets/picopiimx8m.pdf Changes since v4: - removed #address-cells and #size-cells from regulators node Changes since v3: - renamed pico-pi-8m.dts to imx

[PATCH v5 2/2] dt-bindings: arm: fsl: Add the pico-pi-imx8m board

2019-07-19 Thread andradanciu1997
From: Andra Danciu Add an entry for TechNexion PICO-PI-IMX8M board based on i.MX8MQ SoC Datasheet can be found at: https://s3.us-east-2.amazonaws.com/technexion/datasheets/picopiimx8m.pdf Cc: Daniel Baluta Signed-off-by: Andra Danciu --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1

Re: [PATCH] [v2] blkdev: always export SECTOR_SHIFT

2019-07-19 Thread Christoph Hellwig
> +/* > + * The basic unit of block I/O is a sector. It is used in a number of > contexts > + * in Linux (blk, bio, genhd). The size of one sector is 512 = 2**9 > + * bytes. Variables of type sector_t represent an offset or size that is a > + * multiple of 512 bytes. Hence these two constants. > +

Re: [PATCH 2/3] macb: Update compatibility string for SiFive FU540-C000

2019-07-19 Thread Nicolas.Ferre
On 19/07/2019 at 13:10, Yash Shah wrote: > Update the compatibility string for SiFive FU540-C000 as per the new > string updated in the binding doc. > Reference: https://lkml.org/lkml/2019/7/17/200 Maybe referring to lore.kernel.org is better: https://lore.kernel.org/netdev/caj2_jofevzqat0yprg4hem

Re: [PATCH] staging: wilc1000: Merge memcpy + le32_to_cpus to get_unaligned_le32

2019-07-19 Thread Ajay.Kathat
On 7/19/2019 5:16 PM, Chuhong Yuan wrote: > > 于2019年7月19日周五 下午7:34写道: >> >> On 7/19/2019 1:40 PM, Chuhong Yuan wrote: >>> >>> Merge the combo use of memcpy and le32_to_cpus. >>> Use get_unaligned_le32 instead. >>> This simplifies the code. >>> >>> Signed-off-by: Chuhong Yuan >>> --- >>> driver

Re: [PATCH] mm/Kconfig: additional help text for HMM_MIRROR option

2019-07-19 Thread Pavel Machek
On Fri 2019-07-19 05:00:43, Christoph Hellwig wrote: > On Fri, Jul 19, 2019 at 08:48:53AM -0300, Jason Gunthorpe wrote: > > It is like MMU_NOTIFIERS, if something needs it, then it will select > > it. > > > > Maybe it should just be a hidden kconfig anyhow as there is no reason > > to turn it on w

Re: [PATCH v4 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

2019-07-19 Thread Daniel Baluta
On Fri, Jul 19, 2019 at 2:22 PM Fabio Estevam wrote: > > Hi Andra, > > On Fri, Jul 19, 2019 at 7:48 AM andradanciu1997 > wrote: > > > + pmic: pmic@4b { > > + reg = <0x4b>; > > + compatible = "rohm,bd71837"; > > + /* PMIC BD71837 PMIC_nINT GPIO1_IO12

Re: [PATCH 1/3] macb: bindings doc: update sifive fu540-c000 binding

2019-07-19 Thread Nicolas.Ferre
On 19/07/2019 at 13:10, Yash Shah wrote: > As per the discussion with Nicolas Ferre, rename the compatible property > to a more appropriate and specific string. > LINK: https://lkml.org/lkml/2019/7/17/200 > > Signed-off-by: Yash Shah Acked-by: Nicolas Ferre > --- > Documentation/devicetree/b

Re: [PATCH] mm/Kconfig: additional help text for HMM_MIRROR option

2019-07-19 Thread Christoph Hellwig
On Fri, Jul 19, 2019 at 08:48:53AM -0300, Jason Gunthorpe wrote: > It is like MMU_NOTIFIERS, if something needs it, then it will select > it. > > Maybe it should just be a hidden kconfig anyhow as there is no reason > to turn it on without also turning on a using driver. We can't just select it d

[PATCH] Input: touchscreen - Use dev_get_drvdata

2019-07-19 Thread Chuhong Yuan
dev_get_drvdata is a simpler implementation comparing to to_platform_device + platform_get_drvdata. This makes the code simpler. Signed-off-by: Chuhong Yuan --- drivers/input/touchscreen/imx6ul_tsc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/input/touchscr

Re: [PATCH 3/3] riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver

2019-07-19 Thread Sagar Kadam
The series looks good to me. Reviewed-by: Sagar Kadam On Fri, Jul 19, 2019 at 4:41 PM Yash Shah wrote: > > DT node for SiFive FU540-C000 GEMGXL Ethernet controller driver added > > Signed-off-by: Yash Shah > --- > arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 15 +++ > arc

Re: [PATCH v4 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

2019-07-19 Thread Andra Danciu
Hi Fabio, I compiled with W=1 and you are right, they cause warning. I will remove them. În vin., 19 iul. 2019 la 14:19, Fabio Estevam a scris: > > Hi Andra, > > On Fri, Jul 19, 2019 at 7:48 AM andradanciu1997 > wrote: > > > + pmic: pmic@4b { > > + reg = <0x4b>; > > +

Re: [PATCH] mm/Kconfig: additional help text for HMM_MIRROR option

2019-07-19 Thread Jason Gunthorpe
On Fri, Jul 19, 2019 at 12:52:39PM +0200, Pavel Machek wrote: > On Thu 2019-07-18 22:57:48, Christoph Hellwig wrote: > > On Thu, Jul 18, 2019 at 06:32:53PM -0700, john.hubb...@gmail.com wrote: > > > + HMM_MIRROR provides a way to mirror ranges of the CPU page tables > > > + of a process into a

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-07-19 Thread Aubrey Li
On Fri, Jul 19, 2019 at 1:53 PM Aaron Lu wrote: > > On Thu, Jul 18, 2019 at 04:27:19PM -0700, Tim Chen wrote: > > > > > > On 7/18/19 3:07 AM, Aaron Lu wrote: > > > On Wed, Jun 19, 2019 at 02:33:02PM -0400, Julien Desfossez wrote: > > > > > > > > With the below patch on top of v3 that makes use of

Re: [v2 3/3] dts: arm64: ls1028a: Add optional property node for Mali DP500

2019-07-19 Thread Liviu Dudau
On Fri, Jul 19, 2019 at 05:59:56PM +0800, Wen He wrote: > This patch use the optional property node "arm,malidp-arqos-value" to > can be dynamic configure QoS signaling. > > Signed-off-by: Wen He Reviewed-by: Liviu Dudau Best regards, Liviu > --- > arch/arm64/boot/dts/freescale/fsl-ls1028a.d

Re: [PATCH] staging: wilc1000: Merge memcpy + le32_to_cpus to get_unaligned_le32

2019-07-19 Thread Chuhong Yuan
于2019年7月19日周五 下午7:34写道: > > On 7/19/2019 1:40 PM, Chuhong Yuan wrote: > > > > Merge the combo use of memcpy and le32_to_cpus. > > Use get_unaligned_le32 instead. > > This simplifies the code. > > > > Signed-off-by: Chuhong Yuan > > --- > > drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 3 +-

Re: [PATCH v1] drivers/base/node.c: Simplify unregister_memory_block_under_nodes()

2019-07-19 Thread David Hildenbrand
On 19.07.19 13:36, Michal Hocko wrote: > On Fri 19-07-19 11:20:43, David Hildenbrand wrote: >> On 19.07.19 11:13, Michal Hocko wrote: >>> On Fri 19-07-19 11:05:51, David Hildenbrand wrote: On 19.07.19 10:42, Michal Hocko wrote: > On Thu 18-07-19 16:22:39, David Hildenbrand wrote: >> We

Re: Help: Regression in v4.19 : do_IRQ: 0.37 No irq handler for vector

2019-07-19 Thread Mathieu Malaterre
On Fri, Jul 19, 2019 at 1:32 PM Mathieu Malaterre wrote: > > [cc me please] > > Hi there, > > I recently upgraded my desktop to Debian/buster. Now when I start my > xfce session I can hear the system bell, and my dmesg is filled with > numerous: > > [ 920.728347] do_IRQ: 0.37 No irq handler for v

Re: [GIT PULL] Modules updates for v5.3

2019-07-19 Thread Prarit Bhargava
On 7/18/19 3:20 PM, Linus Torvalds wrote: > On Thu, Jul 18, 2019 at 4:33 AM Jessica Yu wrote: >> >> Modules updates for v5.3 >> >> - Fix bug where -EEXIST was being returned for going modules > > Hmm. > > I have pulled this, but this change makes me a bit nervous. > > I have this dim memory

Re: [PATCH v1] drivers/base/node.c: Simplify unregister_memory_block_under_nodes()

2019-07-19 Thread Michal Hocko
On Fri 19-07-19 11:20:43, David Hildenbrand wrote: > On 19.07.19 11:13, Michal Hocko wrote: > > On Fri 19-07-19 11:05:51, David Hildenbrand wrote: > >> On 19.07.19 10:42, Michal Hocko wrote: > >>> On Thu 18-07-19 16:22:39, David Hildenbrand wrote: > We don't allow to offline memory block devic

[PATCH] [v2] waitqueue: shut up clang -Wuninitialized warnings

2019-07-19 Thread Arnd Bergmann
When CONFIG_LOCKDEP is set, every use of DECLARE_WAIT_QUEUE_HEAD_ONSTACK() produces an bogus warning from clang, which is particularly annoying for allmodconfig builds: fs/namei.c:1646:34: error: variable 'wq' is uninitialized when used within its own initialization [-Werror,-Wuninitialized]

Re: [PATCH] staging: wilc1000: Merge memcpy + le32_to_cpus to get_unaligned_le32

2019-07-19 Thread Ajay.Kathat
On 7/19/2019 1:40 PM, Chuhong Yuan wrote: > > Merge the combo use of memcpy and le32_to_cpus. > Use get_unaligned_le32 instead. > This simplifies the code. > > Signed-off-by: Chuhong Yuan > --- > drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 3 +-- > 1 file changed, 1 insertion(+), 2 dele

Help: Regression in v4.19 : do_IRQ: 0.37 No irq handler for vector

2019-07-19 Thread Mathieu Malaterre
[cc me please] Hi there, I recently upgraded my desktop to Debian/buster. Now when I start my xfce session I can hear the system bell, and my dmesg is filled with numerous: [ 920.728347] do_IRQ: 0.37 No irq handler for vector The symptoms seems to be gone using git/master: 3a1d5384b7decbff651

[PATCH] [v2] blkdev: always export SECTOR_SHIFT

2019-07-19 Thread Arnd Bergmann
When CONFIG_BLOCK is disabled, SECTOR_SHIFT is unknown, and this leads to a failure in the testing infrastructure added from commit c93a0368aaa2 ("kbuild: do not create wrappers for header-test-y"): In file included from :3: include/linux/iomap.h:76:48: error: use of undeclared identifier 'SECTOR_

Re: [PATCH 01/18] dt: psci: Update DT bindings to support hierarchical PSCI states

2019-07-19 Thread Lorenzo Pieralisi
On Mon, May 13, 2019 at 09:22:43PM +0200, Ulf Hansson wrote: > From: Lina Iyer > > Update DT bindings to represent hierarchical CPU and CPU PM domain idle > states for PSCI. Also update the PSCI examples to clearly show how > flattened and hierarchical idle states can be represented in DT. > > S

[PATCH] Input: mouse: Use dev_get_drvdata

2019-07-19 Thread Chuhong Yuan
dev_get_drvdata is a simpler implementation comparing to to_platform_device + platform_get_drvdata. This makes the code simpler. Signed-off-by: Chuhong Yuan --- drivers/input/mouse/navpoint.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/input/mouse/navpoint.c

Re: [PATCH v4 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

2019-07-19 Thread Fabio Estevam
Hi Andra, On Fri, Jul 19, 2019 at 7:48 AM andradanciu1997 wrote: > + pmic: pmic@4b { > + reg = <0x4b>; > + compatible = "rohm,bd71837"; > + /* PMIC BD71837 PMIC_nINT GPIO1_IO12 */ > + pinctrl-names = "default"; > + pinct

[PATCH v5 1/2] i3c: move i3c_device_match_id to device.c and export it

2019-07-19 Thread Vitor Soares
Some I3C device drivers need to know which entry matches the i3c_device object passed to the probe function Let's move i3c_device_match_id() to device.c and export it so it can be used by drivers. Signed-off-by: Vitor Soares --- Changes in v5: Add kerneldoc Improve commit message Changes in

Re: [PATCH v6 2/6] ASoC: sgtl5000: Improve VAG power and mute control

2019-07-19 Thread Cezary Rojewski
On 2019-07-19 12:05, Oleksandr Suvorov wrote: VAG power control is improved to fit the manual [1]. This patch fixes as minimum one bug: if customer muxes Headphone to Line-In right after boot, the VAG power remains off that leads to poor sound quality from line-in. I.e. after boot: - Connec

[PATCH v5 0/2] Add ST lsm6dso i3c support

2019-07-19 Thread Vitor Soares
This patch-series add i3c support for STM LSM6DSO and LSM6DSR sensors. It is also introduced i3c support on regmap API. Due to the lack of i3c devices with HDR feature on the market the support, for now, is only for i3c SDR mode by using i3c_device_do_priv_xfers() method. The i3c regmap API is al

[PATCH v5 2/2] iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR

2019-07-19 Thread Vitor Soares
For today the st_lsm6dsx driver support LSM6DSO and LSM6DSR sensor only in spi and i2c mode. The LSM6DSO and LSM6DSR are also i3c capable so let's give i3c support to them. Signed-off-by: Vitor Soares Acked-by: Lorenzo Bianconi --- Changes in v5: Move regmap_config declaration inside st_lsm6d

Re: [PATCH v3] serial: 8250-mtk: modify mtk uart power and clock management

2019-07-19 Thread Matthias Brugger
On 19/07/2019 04:59, Changqi Hu wrote: > modify mtk uart runtime interface, add uart clock use count. > merge patch v1 and patch v2 together. > Please try to explain better why we need this. > Signed-off-by: Changqi Hu > --- Changelog from one version to another (like that you merged v1 and

[PATCH] Input: misc - Use dev_get_drvdata

2019-07-19 Thread Chuhong Yuan
dev_get_drvdata is a simpler implementation comparing to to_platform_device + platform_get_drvdata. This makes the code simpler. Signed-off-by: Chuhong Yuan --- drivers/input/misc/gpio-vibra.c | 6 ++ drivers/input/misc/max77693-haptic.c | 6 ++ drivers/input/misc/max8925_onkey.

[PATCH 2/3] macb: Update compatibility string for SiFive FU540-C000

2019-07-19 Thread Yash Shah
Update the compatibility string for SiFive FU540-C000 as per the new string updated in the binding doc. Reference: https://lkml.org/lkml/2019/7/17/200 Signed-off-by: Yash Shah --- drivers/net/ethernet/cadence/macb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 3/3] riscv: dts: Add DT node for SiFive FU540 Ethernet controller driver

2019-07-19 Thread Yash Shah
DT node for SiFive FU540-C000 GEMGXL Ethernet controller driver added Signed-off-by: Yash Shah --- arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 15 +++ arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 9 + 2 files changed, 24 insertions(+) diff --git a/arch/ri

[PATCH 1/3] macb: bindings doc: update sifive fu540-c000 binding

2019-07-19 Thread Yash Shah
As per the discussion with Nicolas Ferre, rename the compatible property to a more appropriate and specific string. LINK: https://lkml.org/lkml/2019/7/17/200 Signed-off-by: Yash Shah --- Documentation/devicetree/bindings/net/macb.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) dif

Re: [5.2 regression] x86/fpu changes cause crashes in KVM guest

2019-07-19 Thread Paolo Bonzini
On 19/07/19 10:59, Wanpeng Li wrote: > https://lkml.org/lkml/2017/11/14/891, "The scheduler will save the > guest fpu context when a vCPU thread is preempted, and restore it when > it is scheduled back in." But I can't find any scheduler codes do > this. That's because applying commit 240c35a37 wa

Re: [PATCH] sched/cputime: make scale_stime() more precise

2019-07-19 Thread Peter Zijlstra
On Thu, Jul 18, 2019 at 03:18:34PM +0200, Oleg Nesterov wrote: > People report that utime and stime from /proc//stat become very wrong > when the numbers are big enough. In particular, the monitored application > can run all the time in user-space but only stime grows. > > This is because scale_st

Re: [PATCH 07/11] firmware: arm_scmi: Add support for asynchronous commands and delayed response

2019-07-19 Thread Sudeep Holla
On Thu, Jul 18, 2019 at 05:38:06PM -0400, Jim Quinlan wrote: > Hi Sudeep, > > Just a comment in general. The asynchronous commands you are > implementing are not really asynchronous to the caller. Yes, but as per specification, the idea is to release the channel for other communication. > Yes i

Re: [RFC PATCH 23/30] of/platform: Export of_platform_device_create_pdata()

2019-07-19 Thread Kishon Vijay Abraham I
Lorenzo, On 11/06/19 10:08 AM, Kishon Vijay Abraham I wrote: > Hi Rob, > > On 10/06/19 11:13 PM, Rob Herring wrote: >> On Tue, Jun 4, 2019 at 7:19 AM Kishon Vijay Abraham I wrote: >>> >>> Export of_platform_device_create_pdata() to be used by drivers to >>> create child devices with the given pl

Re: [PATCH] mm/Kconfig: additional help text for HMM_MIRROR option

2019-07-19 Thread Pavel Machek
On Thu 2019-07-18 22:57:48, Christoph Hellwig wrote: > On Thu, Jul 18, 2019 at 06:32:53PM -0700, john.hubb...@gmail.com wrote: > > + HMM_MIRROR provides a way to mirror ranges of the CPU page tables > > + of a process into a device page table. Here, mirror means "keep > > + synchronized

[PATCH] Input: keyboard: Use dev_get_drv_data

2019-07-19 Thread Chuhong Yuan
dev_get_drvdata is a simpler implementation comparing to to_platform_device + platform_get_drvdata. This makes the code simpler. Signed-off-by: Chuhong Yuan --- drivers/input/keyboard/ep93xx_keypad.c | 10 -- drivers/input/keyboard/gpio_keys.c | 3 +-- drivers/input/keyboard/imx

Re: [PATCH] arm: dts: imx6qdl: add gpio expander pca9535

2019-07-19 Thread Gilles Doffe
Hello Marco, Thanks for your review. Corrected in v2. Regards, Gilles - Le 12 Juil 19, à 15:55, Marco Felsch m.fel...@pengutronix.de a écrit : Hi, On 19-07-12 14:45, Gilles DOFFE wrote: > The pca9535 gpio expander is present on the Rex baseboard, but missing > from the dtsi. > > Add the

[PATCH v4 0/2] Add basic support for pico-pi-imx8m

2019-07-19 Thread andradanciu1997
Add support for TechNexion PICO-PI-IMX8M based on patches from Richard Hu Datasheet is at: https://s3.us-east-2.amazonaws.com/technexion/datasheets/picopiimx8m.pdf Changes since v3: - renamed pico-pi-8m.dts to imx8mq-pico-pi.dts - moved iomuxc node as the last one - removed pinctrl-assert-gpio

[PATCH v4 2/2] dt-bindings: arm: fsl: Add the pico-pi-imx8m board

2019-07-19 Thread andradanciu1997
From: Andra Danciu Add an entry for TechNexion PICO-PI-IMX8M board based on i.MX8MQ SoC Datasheet can be found at: https://s3.us-east-2.amazonaws.com/technexion/datasheets/picopiimx8m.pdf Cc: Daniel Baluta Signed-off-by: Andra Danciu --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1

[PATCH v4 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

2019-07-19 Thread andradanciu1997
From: Richard Hu TechNexion PICO-PI-IMX8M-DEV evaluation and development kit based on NXP i.MX8M Quad applications processor. Datasheet can be found at: https://s3.us-east-2.amazonaws.com/technexion/datasheets/picopiimx8m.pdf The current level of support yields a working console and is able to

[PATCH v2] arm: dts: imx6qdl: add gpio expander pca9535

2019-07-19 Thread Gilles DOFFE
The pca9535 gpio expander is present on the Rex baseboard, but missing from the dtsi. Add the new gpio controller and the associated interrupt line MX6QDL_PAD_NANDF_CS3__GPIO6_IO16. Signed-off-by: Gilles DOFFE --- arch/arm/boot/dts/imx6qdl-rex.dtsi | 19 +++ 1 file changed, 19 i

Re: incoming

2019-07-19 Thread Vlastimil Babka
On 7/19/19 12:56 AM, Andrew Morton wrote: > > The rest of MM and a kernel-wide procfs cleanup. > > > > Summary of the more significant patches: Thanks for that! Perhaps now it would be nice if this went also to linux-mm and lkml, as mm-commits is sort of hidden. Vlastimil

Re: [PATCH] be2net: fix adapter->big_page_size miscaculation

2019-07-19 Thread kbuild test robot
Hi Qian, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.2 next-20190719] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCHv8 1/5] arm64: dts: qcom: sdm845: Add Coresight support

2019-07-19 Thread Sai Prakash Ranjan
Hi Suzuki, On 7/19/2019 3:16 PM, Suzuki K Poulose wrote: Hi Sai, On 12/07/2019 15:16, Sai Prakash Ranjan wrote: Add coresight components found on Qualcomm SDM845 SoC. Signed-off-by: Sai Prakash Ranjan Reviewed-by: Mathieu Poirier Acked-by: Suzuki K Poulose ---   arch/arm64/boot/dts/qcom/

Re: [PATCH 05/11] firmware: arm_scmi: Add receive buffer support for notifications

2019-07-19 Thread Sudeep Holla
On Thu, Jul 18, 2019 at 05:14:55PM -0400, Jim Quinlan wrote: > Hi Sudeep, > > I'm not sure why you are adding code for notifications when this commit-set > does not support notifications. Why not save this commit for when you add > notifications? > Right, I missed this patch and sent. Yes we just

Re: [PATCH 02/11] firmware: arm_scmi: Segregate tx channel handling and prepare to add rx

2019-07-19 Thread Sudeep Holla
On Thu, Jul 18, 2019 at 05:23:10PM -0400, Jim Quinlan wrote: > On Mon, Jul 8, 2019 at 11:47 AM Sudeep Holla wrote: > > > > The transmit(Tx) channels are specified as the first entry and the > > receive(Rx) channels are the second entry as per the device tree > > bindings. Since we currently just s

RE: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

2019-07-19 Thread Jose Abreu
From: Jon Hunter Date: Jul/19/2019, 09:49:10 (UTC+00:00) > > On 19/07/2019 09:44, Jose Abreu wrote: > > From: Jon Hunter > > Date: Jul/19/2019, 09:37:49 (UTC+00:00) > > > >> > >> On 19/07/2019 08:51, Jose Abreu wrote: > >>> From: Jon Hunter > >>> Date: Jul/18/2019, 10:16:20 (UTC+00:00) > >>>

Re: [PATCH v3 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M

2019-07-19 Thread Andra Danciu
Hi Fabio, Please find my answers inline: În vin., 19 iul. 2019 la 02:05, Fabio Estevam a scris: > > Hi Andra, > > On Thu, Jul 18, 2019 at 9:16 AM Andra Danciu > wrote: > > > > From: Richard Hu > > Please put a few words about the board and a link to its webpage, if > available. OK > > > The

Re: [PATCH 1/2] arch: mark syscall number 435 reserved for clone3

2019-07-19 Thread Michael Ellerman
Christian Brauner writes: > On Mon, Jul 15, 2019 at 03:56:04PM +0200, Christian Borntraeger wrote: >> I think Vasily already has a clone3 patch for s390x with 435. > > A quick follow-up on this. Helge and Michael have asked whether there > are any tests for clone3. Yes, there will be and I try to

Re: [PATCH 3/3] mt76: mt7615: add cwmin/cwmax initial values

2019-07-19 Thread Ryder Lee
On Fri, 2019-07-19 at 14:55 +0800, Ryder Lee wrote: > Add initial values in mt7615_mcu_set_wmm() to cleanup setup flow. > > Signed-off-by: Ryder Lee > --- > drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 17 ++--- > 1 file changed, 6 insertions(+), 11 deletions(-) > > diff --git

<    1   2   3   4   5   6   >