Re: [PATCH] misc/pvpanic: resolve compile errors for arch=um

2018-11-26 Thread Greg KH
On Tue, Nov 27, 2018 at 03:47:28PM +0800, peng.h...@zte.com.cn wrote: > >> >On Fri, Nov 16, 2018 at 07:13:26PM +0800, Peng Hao wrote: > >> >> Resolve compile error for arch=um > >> >> pvpanic.c:(.text+0xb6): undefined reference to `devm_ioremap_resource' > >> >> > >> >> Signed-off-by: Peng Hao >

Re: [PATCH] misc/pvpanic: resolve compile errors for arch=um

2018-11-26 Thread Greg KH
On Tue, Nov 27, 2018 at 03:47:28PM +0800, peng.h...@zte.com.cn wrote: > >> >On Fri, Nov 16, 2018 at 07:13:26PM +0800, Peng Hao wrote: > >> >> Resolve compile error for arch=um > >> >> pvpanic.c:(.text+0xb6): undefined reference to `devm_ioremap_resource' > >> >> > >> >> Signed-off-by: Peng Hao >

Re: [PATCH] staging: rtl8188eu: Fix off-by-one in core/rtw_mlme_ext.c

2018-11-26 Thread gre...@linuxfoundation.org
On Tue, Nov 27, 2018 at 07:29:07AM +, Yang Xiao wrote: > From: Young_X Please use your "full" name like you did in your from: line of your email > > The error at line 3267 was the result of an off-by-one error in > a for loop in line 3253. > If condition in line 3254 never

Re: [PATCH V2] mm: Replace all open encodings for NUMA_NO_NODE

2018-11-26 Thread Michael Ellerman
Anshuman Khandual writes: > At present there are multiple places where invalid node number is encoded > as -1. Even though implicitly understood it is always better to have macros > in there. Replace these open encodings for an invalid node number with the > global macro NUMA_NO_NODE. This helps

Re: [PATCH] staging: rtl8188eu: Fix off-by-one in core/rtw_mlme_ext.c

2018-11-26 Thread gre...@linuxfoundation.org
On Tue, Nov 27, 2018 at 07:29:07AM +, Yang Xiao wrote: > From: Young_X Please use your "full" name like you did in your from: line of your email > > The error at line 3267 was the result of an off-by-one error in > a for loop in line 3253. > If condition in line 3254 never

Re: [PATCH V2] mm: Replace all open encodings for NUMA_NO_NODE

2018-11-26 Thread Michael Ellerman
Anshuman Khandual writes: > At present there are multiple places where invalid node number is encoded > as -1. Even though implicitly understood it is always better to have macros > in there. Replace these open encodings for an invalid node number with the > global macro NUMA_NO_NODE. This helps

Re: [PATCH anybus v4 1/7] fieldbus_dev: add Fieldbus Device subsystem.

2018-11-26 Thread Greg KH
On Wed, Nov 21, 2018 at 10:07:03AM -0500, thesve...@gmail.com wrote: > +static struct attribute *fieldbus_attrs[] = { > + _attr_enabled.attr, > + _attr_card_name.attr, > + _attr_fieldbus_id.attr, > + _attr_read_area_size.attr, > + _attr_write_area_size.attr, > +

Re: [PATCH anybus v4 1/7] fieldbus_dev: add Fieldbus Device subsystem.

2018-11-26 Thread Greg KH
On Wed, Nov 21, 2018 at 10:07:03AM -0500, thesve...@gmail.com wrote: > +static struct attribute *fieldbus_attrs[] = { > + _attr_enabled.attr, > + _attr_card_name.attr, > + _attr_fieldbus_id.attr, > + _attr_read_area_size.attr, > + _attr_write_area_size.attr, > +

Re: [PATCH 2/2] gpio: mt7621: pass mediatek_gpio_bank_probe() failure up the stack

2018-11-26 Thread Sean Wang
Nicholas Mc Guire 於 2018年11月21日 週三 上午10:13寫道: > > The error cases of mediatek_gpio_bank_probe() would go unnoticed (except > for the dev_err() messages). The probe function should return an error > if one of the banks failed to initialize properly. > > Signed-off-by: Nicholas Mc Guire > Fixes:

Re: [PATCH 2/2] gpio: mt7621: pass mediatek_gpio_bank_probe() failure up the stack

2018-11-26 Thread Sean Wang
Nicholas Mc Guire 於 2018年11月21日 週三 上午10:13寫道: > > The error cases of mediatek_gpio_bank_probe() would go unnoticed (except > for the dev_err() messages). The probe function should return an error > if one of the banks failed to initialize properly. > > Signed-off-by: Nicholas Mc Guire > Fixes:

Re: [PATCH anybus v4 1/7] fieldbus_dev: add Fieldbus Device subsystem.

2018-11-26 Thread Greg KH
On Wed, Nov 21, 2018 at 10:07:03AM -0500, thesve...@gmail.com wrote: > Fieldbus device (client) adapters allow data exchange with a PLC aka. > "Fieldbus Controller" over a fieldbus (Profinet, FLNet, etc.) > > They are typically used when a Linux device wants to expose itself > as an actuator,

[PATCH V2] can: flexcan: implement can Runtime PM

2018-11-26 Thread Joakim Zhang
From: Aisheng Dong Flexcan will be disabled during suspend if no wakeup function required and enabled after resume accordingly. During this period, we could explicitly disable clocks. Implement Runtime PM which will: 1) Keep device in suspend state (clocks disabled) if it's not openned. 2) Make

Re: [PATCH anybus v4 1/7] fieldbus_dev: add Fieldbus Device subsystem.

2018-11-26 Thread Greg KH
On Wed, Nov 21, 2018 at 10:07:03AM -0500, thesve...@gmail.com wrote: > Fieldbus device (client) adapters allow data exchange with a PLC aka. > "Fieldbus Controller" over a fieldbus (Profinet, FLNet, etc.) > > They are typically used when a Linux device wants to expose itself > as an actuator,

[PATCH V2] can: flexcan: implement can Runtime PM

2018-11-26 Thread Joakim Zhang
From: Aisheng Dong Flexcan will be disabled during suspend if no wakeup function required and enabled after resume accordingly. During this period, we could explicitly disable clocks. Implement Runtime PM which will: 1) Keep device in suspend state (clocks disabled) if it's not openned. 2) Make

Re: [PATCH anybus v4 1/7] fieldbus_dev: add Fieldbus Device subsystem.

2018-11-26 Thread Greg KH
On Wed, Nov 21, 2018 at 10:07:03AM -0500, thesve...@gmail.com wrote: > Fieldbus device (client) adapters allow data exchange with a PLC aka. > "Fieldbus Controller" over a fieldbus (Profinet, FLNet, etc.) > > They are typically used when a Linux device wants to expose itself > as an actuator,

Re: [PATCH] xen/x86: add diagnostic printout to xen_mc_flush() in case of error

2018-11-26 Thread Juergen Gross
On 26/11/2018 21:11, Boris Ostrovsky wrote: > On 11/23/18 11:24 AM, Juergen Gross wrote: >> Failure of an element of a Xen multicall is signalled via a WARN() >> only unless the kernel is compiled with MC_DEBUG. It is impossible to > > s/unless/if > > >> know which element failed and why it did

Re: [PATCH anybus v4 1/7] fieldbus_dev: add Fieldbus Device subsystem.

2018-11-26 Thread Greg KH
On Wed, Nov 21, 2018 at 10:07:03AM -0500, thesve...@gmail.com wrote: > Fieldbus device (client) adapters allow data exchange with a PLC aka. > "Fieldbus Controller" over a fieldbus (Profinet, FLNet, etc.) > > They are typically used when a Linux device wants to expose itself > as an actuator,

Re: [PATCH] xen/x86: add diagnostic printout to xen_mc_flush() in case of error

2018-11-26 Thread Juergen Gross
On 26/11/2018 21:11, Boris Ostrovsky wrote: > On 11/23/18 11:24 AM, Juergen Gross wrote: >> Failure of an element of a Xen multicall is signalled via a WARN() >> only unless the kernel is compiled with MC_DEBUG. It is impossible to > > s/unless/if > > >> know which element failed and why it did

[PATCH] mtd: nand: Fix memory allocation in nanddev_bbt_init()

2018-11-26 Thread Schrempf Frieder
Fix the size of the buffer allocated to store the in-memory BBT. This bug was previously hidden by a different bug, that was fixed in d098093ba06e. Fixes: 9c3736a3de21 ("mtd: nand: Add core infrastructure to deal with NAND devices") Cc: Signed-off-by: Frieder Schrempf ---

[PATCH] mtd: nand: Fix memory allocation in nanddev_bbt_init()

2018-11-26 Thread Schrempf Frieder
Fix the size of the buffer allocated to store the in-memory BBT. This bug was previously hidden by a different bug, that was fixed in d098093ba06e. Fixes: 9c3736a3de21 ("mtd: nand: Add core infrastructure to deal with NAND devices") Cc: Signed-off-by: Frieder Schrempf ---

Re: possible deadlock in ovl_write_iter

2018-11-26 Thread Amir Goldstein
On Tue, Nov 27, 2018 at 9:06 AM syzbot wrote: > > syzbot has found a reproducer for the following crash on: > > HEAD commit:6f8b52ba442c Merge tag 'hwmon-for-v4.20-rc5' of git://git... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=120f390540 >

Re: possible deadlock in ovl_write_iter

2018-11-26 Thread Amir Goldstein
On Tue, Nov 27, 2018 at 9:06 AM syzbot wrote: > > syzbot has found a reproducer for the following crash on: > > HEAD commit:6f8b52ba442c Merge tag 'hwmon-for-v4.20-rc5' of git://git... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=120f390540 >

Re: [PATCH 2/2] misc: hx8837: add a HiMax HX8837 display controller driver

2018-11-26 Thread Greg Kroah-Hartman
On Mon, Nov 12, 2018 at 03:39:29AM +0100, Lubomir Rintel wrote: > HiMax HX8837 is a display controller used on OLPC platforms. It controls > backlight and is able to capture and freeze a frame when the LCD controller > (and the rest of the plaform) is powered off. > > This driver is based on the

Re: [PATCH 2/2] misc: hx8837: add a HiMax HX8837 display controller driver

2018-11-26 Thread Greg Kroah-Hartman
On Mon, Nov 12, 2018 at 03:39:29AM +0100, Lubomir Rintel wrote: > HiMax HX8837 is a display controller used on OLPC platforms. It controls > backlight and is able to capture and freeze a frame when the LCD controller > (and the rest of the plaform) is powered off. > > This driver is based on the

Re: [PATCH] s390: Remove obsolete bust_spinlock() implementation

2018-11-26 Thread Martin Schwidefsky
On Fri, 23 Nov 2018 08:02:12 +0100 Heiko Carstens wrote: > On Fri, Nov 23, 2018 at 11:17:48AM +0900, Sergey Senozhatsky wrote: > > On (11/22/18 15:15), Petr Mladek wrote: > > > The commit cefc8be82403cf ("Consolidate bust_spinlocks()") kept > > > the s390-specific implementation because of the

Re: [PATCH] s390: Remove obsolete bust_spinlock() implementation

2018-11-26 Thread Martin Schwidefsky
On Fri, 23 Nov 2018 08:02:12 +0100 Heiko Carstens wrote: > On Fri, Nov 23, 2018 at 11:17:48AM +0900, Sergey Senozhatsky wrote: > > On (11/22/18 15:15), Petr Mladek wrote: > > > The commit cefc8be82403cf ("Consolidate bust_spinlocks()") kept > > > the s390-specific implementation because of the

Re: [PATCH 3/3] s390/mm: fix mis-accounting of pgtable_bytes

2018-11-26 Thread Heiko Carstens
On Wed, Oct 31, 2018 at 01:36:23PM +0300, Kirill A. Shutemov wrote: > On Wed, Oct 31, 2018 at 11:09:44AM +0100, Heiko Carstens wrote: > > On Wed, Oct 31, 2018 at 07:31:49AM +0100, Martin Schwidefsky wrote: > > > Thanks for testing. Unfortunately Heiko reported another issue yesterday > > > with

Re: [PATCH 3/3] s390/mm: fix mis-accounting of pgtable_bytes

2018-11-26 Thread Heiko Carstens
On Wed, Oct 31, 2018 at 01:36:23PM +0300, Kirill A. Shutemov wrote: > On Wed, Oct 31, 2018 at 11:09:44AM +0100, Heiko Carstens wrote: > > On Wed, Oct 31, 2018 at 07:31:49AM +0100, Martin Schwidefsky wrote: > > > Thanks for testing. Unfortunately Heiko reported another issue yesterday > > > with

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-26 Thread Jiri Kosina
On Tue, 27 Nov 2018, Thomas Gleixner wrote: > That's racy and does not prevent the situation because the TIF flags are > updated befor the UPDATE bit is set. > So __speculation_ctrl_update() might see the new bits, but not > TIF_SPEC_UPDATE. Hm, right, scratch that. We'd need to do that

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-26 Thread Jiri Kosina
On Tue, 27 Nov 2018, Thomas Gleixner wrote: > That's racy and does not prevent the situation because the TIF flags are > updated befor the UPDATE bit is set. > So __speculation_ctrl_update() might see the new bits, but not > TIF_SPEC_UPDATE. Hm, right, scratch that. We'd need to do that

Re: [PATCH] misc/pvpanic: resolve compile errors for arch=um

2018-11-26 Thread Greg KH
On Tue, Nov 27, 2018 at 08:27:03AM +0800, peng.h...@zte.com.cn wrote: > >On Fri, Nov 16, 2018 at 07:13:26PM +0800, Peng Hao wrote: > >> Resolve compile error for arch=um > >> pvpanic.c:(.text+0xb6): undefined reference to `devm_ioremap_resource' > >> > >> Signed-off-by: Peng Hao > >> --- > >>

Re: [PATCH] misc/pvpanic: resolve compile errors for arch=um

2018-11-26 Thread Greg KH
On Tue, Nov 27, 2018 at 08:27:03AM +0800, peng.h...@zte.com.cn wrote: > >On Fri, Nov 16, 2018 at 07:13:26PM +0800, Peng Hao wrote: > >> Resolve compile error for arch=um > >> pvpanic.c:(.text+0xb6): undefined reference to `devm_ioremap_resource' > >> > >> Signed-off-by: Peng Hao > >> --- > >>

Re: [PATCH] iio: st_sensors: Fix the sleep time for sampling

2018-11-26 Thread Jian-Hong Pan
Jonathan Cameron 於 2018年11月25日 週日 下午9:23寫道: > > On Wed, 21 Nov 2018 13:13:40 +0800 > Jian-Hong Pan wrote: > > > Denis CIOCCA 於 2018年11月20日 週二 上午3:05寫道: > > > > > > Hi Jian, > > > > > > Not clear to me why should be + instead of *. > > > > > > ODR is expressed in Hz, so (1/Hz) = period in

Re: [PATCH] iio: st_sensors: Fix the sleep time for sampling

2018-11-26 Thread Jian-Hong Pan
Jonathan Cameron 於 2018年11月25日 週日 下午9:23寫道: > > On Wed, 21 Nov 2018 13:13:40 +0800 > Jian-Hong Pan wrote: > > > Denis CIOCCA 於 2018年11月20日 週二 上午3:05寫道: > > > > > > Hi Jian, > > > > > > Not clear to me why should be + instead of *. > > > > > > ODR is expressed in Hz, so (1/Hz) = period in

Re: [PATCH 1/2] gpio: mt7621: report failure of devm_kasprintf()

2018-11-26 Thread Sean Wang
Nicholas Mc Guire 於 2018年11月21日 週三 上午10:13寫道: > > kasprintf() may return NULL on failure of internal allocation thus the > assigned label is not safe if not explicitly checked. On error > mediatek_gpio_bank_probe() returns negative values so -ENOMEM in the > (unlikely) failure case should be

Re: [PATCH 1/2] gpio: mt7621: report failure of devm_kasprintf()

2018-11-26 Thread Sean Wang
Nicholas Mc Guire 於 2018年11月21日 週三 上午10:13寫道: > > kasprintf() may return NULL on failure of internal allocation thus the > assigned label is not safe if not explicitly checked. On error > mediatek_gpio_bank_probe() returns negative values so -ENOMEM in the > (unlikely) failure case should be

Re: [PATCH] x86/resctrl: Fix rdt_last_cmd_printf() usage and typos within

2018-11-26 Thread Thomas Gleixner
On Mon, 26 Nov 2018, Reinette Chatre wrote: > Use rdt_last_cmd_puts() instead of rdt_last_cmd_printf() when printing a > simple string. While doing so fix two typos that were recently > introduced into two of these simple strings. You're explaing what the patch is doing, but not why printf() is

Re: [PATCH] x86/resctrl: Fix rdt_last_cmd_printf() usage and typos within

2018-11-26 Thread Thomas Gleixner
On Mon, 26 Nov 2018, Reinette Chatre wrote: > Use rdt_last_cmd_puts() instead of rdt_last_cmd_printf() when printing a > simple string. While doing so fix two typos that were recently > introduced into two of these simple strings. You're explaing what the patch is doing, but not why printf() is

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-26 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Jiri Kosina wrote: > On Mon, 26 Nov 2018, Thomas Gleixner wrote: > > How about the minimalistic aproach below? (only compile tested so far, > applies on top of your latest WIP.x86/pti branch). The downside of course > is wasting another TIF bit. We need to waste another

[PATCH v2] panic: Add options to print system info when panic happens

2018-11-26 Thread Feng Tang
Kernel panic issues are always painful to debug, partially because it's not easy to get enough information of the context when panic happens. And we have ramoops and kdump for that, while this commit tries to provide a easier way to show the system info by adding a cmdline parameter, referring

[PATCH] cgroup: remove unused member "cgrp_ancestor_id_storage" in struct cgroup_root

2018-11-26 Thread Peng Wang
"cgrp_ancestor_id_storage" is not used, so let's clean it up. Signed-off-by: Peng Wang --- include/linux/cgroup-defs.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index 5e1694fe035b..639a96576ef3 100644 ---

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-26 Thread Thomas Gleixner
On Tue, 27 Nov 2018, Jiri Kosina wrote: > On Mon, 26 Nov 2018, Thomas Gleixner wrote: > > How about the minimalistic aproach below? (only compile tested so far, > applies on top of your latest WIP.x86/pti branch). The downside of course > is wasting another TIF bit. We need to waste another

[PATCH v2] panic: Add options to print system info when panic happens

2018-11-26 Thread Feng Tang
Kernel panic issues are always painful to debug, partially because it's not easy to get enough information of the context when panic happens. And we have ramoops and kdump for that, while this commit tries to provide a easier way to show the system info by adding a cmdline parameter, referring

[PATCH] cgroup: remove unused member "cgrp_ancestor_id_storage" in struct cgroup_root

2018-11-26 Thread Peng Wang
"cgrp_ancestor_id_storage" is not used, so let's clean it up. Signed-off-by: Peng Wang --- include/linux/cgroup-defs.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index 5e1694fe035b..639a96576ef3 100644 ---

Re: possible deadlock in ovl_write_iter

2018-11-26 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:6f8b52ba442c Merge tag 'hwmon-for-v4.20-rc5' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=120f390540 kernel config:

Re: possible deadlock in ovl_write_iter

2018-11-26 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:6f8b52ba442c Merge tag 'hwmon-for-v4.20-rc5' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=120f390540 kernel config:

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-26 Thread Jiri Kosina
On Mon, 26 Nov 2018, Thomas Gleixner wrote: > > Looks like seccomp thread can be running on a remote CPU when its > > TIF_SPEC_IB flag gets updated. > > > > I wonder if this will cause STIBP to be always off in this scenario, when > > two tasks with SPEC_IB flags running on a remote CPU have

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-26 Thread Jiri Kosina
On Mon, 26 Nov 2018, Thomas Gleixner wrote: > > Looks like seccomp thread can be running on a remote CPU when its > > TIF_SPEC_IB flag gets updated. > > > > I wonder if this will cause STIBP to be always off in this scenario, when > > two tasks with SPEC_IB flags running on a remote CPU have

Re: [PATCH v2 3/3] Bluetooth: hci_qca: Fix frame reassembly errors for wcn3990

2018-11-26 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-11-27 05:57, Matthias Kaehlcke wrote: On Mon, Nov 26, 2018 at 04:09:50PM -0800, Matthias Kaehlcke wrote: On Thu, Nov 22, 2018 at 05:45:12PM +0530, Balakrishna Godavarthi wrote: > During initalization of wcn3990, we observed UART is reading some > stray bytes on the Rx

Re: [PATCH v2 3/3] Bluetooth: hci_qca: Fix frame reassembly errors for wcn3990

2018-11-26 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-11-27 05:57, Matthias Kaehlcke wrote: On Mon, Nov 26, 2018 at 04:09:50PM -0800, Matthias Kaehlcke wrote: On Thu, Nov 22, 2018 at 05:45:12PM +0530, Balakrishna Godavarthi wrote: > During initalization of wcn3990, we observed UART is reading some > stray bytes on the Rx

Re: [PATCH 2/7] node: Add heterogenous memory performance

2018-11-26 Thread Dan Williams
On Wed, Nov 14, 2018 at 2:53 PM Keith Busch wrote: > > Heterogeneous memory systems provide memory nodes with latency > and bandwidth performance attributes that are different from other > nodes. Create an interface for the kernel to register these attributes > under the node that provides the

Re: [PATCH 2/7] node: Add heterogenous memory performance

2018-11-26 Thread Dan Williams
On Wed, Nov 14, 2018 at 2:53 PM Keith Busch wrote: > > Heterogeneous memory systems provide memory nodes with latency > and bandwidth performance attributes that are different from other > nodes. Create an interface for the kernel to register these attributes > under the node that provides the

Re: [PATCH] arm64: dts: sdm845: Add videocc node

2018-11-26 Thread Stephen Boyd
Quoting Doug Anderson (2018-11-26 16:35:50) > Hi, > > On Mon, Nov 5, 2018 at 2:35 AM Taniya Das wrote: > > > > This adds the video clock controller node to sdm845 based on the examples > > in the bindings. > > > > Signed-off-by: Taniya Das > > --- > > arch/arm64/boot/dts/qcom/sdm845.dtsi | 8

Re: [PATCH] arm64: dts: sdm845: Add videocc node

2018-11-26 Thread Stephen Boyd
Quoting Doug Anderson (2018-11-26 16:35:50) > Hi, > > On Mon, Nov 5, 2018 at 2:35 AM Taniya Das wrote: > > > > This adds the video clock controller node to sdm845 based on the examples > > in the bindings. > > > > Signed-off-by: Taniya Das > > --- > > arch/arm64/boot/dts/qcom/sdm845.dtsi | 8

[no subject]

2018-11-26 Thread ulricamica
-- Good day, I am Mrs Ulrica Mica from Hungary but based in the United Kindom, i am hospitalized in London suffering from Acute Cancer.i want to sign a Donation of $6,800,000 Usd on orphans in your area,can you handle it?, because of the confidentiality of the subject, Please contact me back

[no subject]

2018-11-26 Thread ulricamica
-- Good day, I am Mrs Ulrica Mica from Hungary but based in the United Kindom, i am hospitalized in London suffering from Acute Cancer.i want to sign a Donation of $6,800,000 Usd on orphans in your area,can you handle it?, because of the confidentiality of the subject, Please contact me back

[PATCH v2] clk: qcom: Move to menuconfig and reduce lines

2018-11-26 Thread Stephen Boyd
We duplicate the 'depends on' in almost every Kconfig here, and it's getting out of hand now that we have tens of options for various SoC drivers here. Let's clean it up a little by making a menuconfig for a submenu and adding an if wrapper around the driver section. Cc: Bjorn Andersson Cc:

[PATCH v2] clk: qcom: Move to menuconfig and reduce lines

2018-11-26 Thread Stephen Boyd
We duplicate the 'depends on' in almost every Kconfig here, and it's getting out of hand now that we have tens of options for various SoC drivers here. Let's clean it up a little by making a menuconfig for a submenu and adding an if wrapper around the driver section. Cc: Bjorn Andersson Cc:

Re: [PATCH v2 2/3] Bluetooth: hci_qca: Deassert RTS while baudrate change command

2018-11-26 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-11-27 01:12, Matthias Kaehlcke wrote: On Thu, Nov 22, 2018 at 05:45:11PM +0530, Balakrishna Godavarthi wrote: This patch will help to stop frame reassembly errors while changing the baudrate. This is because host send a change baudrate request command to the chip with

Re: [PATCH v2 2/3] Bluetooth: hci_qca: Deassert RTS while baudrate change command

2018-11-26 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-11-27 01:12, Matthias Kaehlcke wrote: On Thu, Nov 22, 2018 at 05:45:11PM +0530, Balakrishna Godavarthi wrote: This patch will help to stop frame reassembly errors while changing the baudrate. This is because host send a change baudrate request command to the chip with

Re: [PATCH] ptrace: take into account saved_sigmask in PTRACE_{GET,SET}SIGMASK

2018-11-26 Thread Andrei Vagin
On Thu, Nov 22, 2018 at 12:47:52PM +0100, Oleg Nesterov wrote: > On 11/19, Andrei Vagin wrote: > > > > case PTRACE_SETSIGMASK: { > > sigset_t new_set; > > @@ -962,6 +971,8 @@ int ptrace_request(struct task_struct *child, long > > request, > > child->blocked = new_set;

Re: [PATCH] ptrace: take into account saved_sigmask in PTRACE_{GET,SET}SIGMASK

2018-11-26 Thread Andrei Vagin
On Thu, Nov 22, 2018 at 12:47:52PM +0100, Oleg Nesterov wrote: > On 11/19, Andrei Vagin wrote: > > > > case PTRACE_SETSIGMASK: { > > sigset_t new_set; > > @@ -962,6 +971,8 @@ int ptrace_request(struct task_struct *child, long > > request, > > child->blocked = new_set;

RE: [PATCH] ARM64: dts: imx: add i.MX8QXP thermal support

2018-11-26 Thread Anson Huang
Forgot to mentioned: This patch is based on "[V4,3/5] arm64: dts: imx: add imx8qxp support", https://patchwork.kernel.org/patch/10677311/ Best Regards! Anson Huang > -Original Message- > From: Anson Huang > Sent: 2018年11月27日 14:19 > To: robh...@kernel.org; mark.rutl...@arm.com; Aisheng

RE: [PATCH] ARM64: dts: imx: add i.MX8QXP thermal support

2018-11-26 Thread Anson Huang
Forgot to mentioned: This patch is based on "[V4,3/5] arm64: dts: imx: add imx8qxp support", https://patchwork.kernel.org/patch/10677311/ Best Regards! Anson Huang > -Original Message- > From: Anson Huang > Sent: 2018年11月27日 14:19 > To: robh...@kernel.org; mark.rutl...@arm.com; Aisheng

Re: [PATCH 3/4] Drivers: hv: vmbus: Add hooks for per-CPU IRQ

2018-11-26 Thread Greg KH
On Mon, Nov 26, 2018 at 08:56:50PM +, Michael Kelley wrote: > From: Greg KH Monday, November 26, 2018 11:57 AM > > > > > You created "null" hooks that do nothing, for no one in this patch > > > > series, why? > > > > > > > > > > hv_enable_vmbus_irq() and hv_disable_vmbus_irq() have non-null

Re: [PATCH 3/4] Drivers: hv: vmbus: Add hooks for per-CPU IRQ

2018-11-26 Thread Greg KH
On Mon, Nov 26, 2018 at 08:56:50PM +, Michael Kelley wrote: > From: Greg KH Monday, November 26, 2018 11:57 AM > > > > > You created "null" hooks that do nothing, for no one in this patch > > > > series, why? > > > > > > > > > > hv_enable_vmbus_irq() and hv_disable_vmbus_irq() have non-null

[PATCH] ARM64: dts: imx: add i.MX8QXP thermal support

2018-11-26 Thread Anson Huang
Add i.MX8QXP CPU thermal zone support. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index

[PATCH] ARM64: dts: imx: add i.MX8QXP thermal support

2018-11-26 Thread Anson Huang
Add i.MX8QXP CPU thermal zone support. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index

[PATCH] defconfig: arm64: add i.MX system controller thermal support

2018-11-26 Thread Anson Huang
This patch enables CONFIG_IMX_SC_THERMAL by default. Signed-off-by: Anson Huang --- This patch is based on https://patchwork.kernel.org/patch/10677315/ arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig

[PATCH] defconfig: arm64: add i.MX system controller thermal support

2018-11-26 Thread Anson Huang
This patch enables CONFIG_IMX_SC_THERMAL by default. Signed-off-by: Anson Huang --- This patch is based on https://patchwork.kernel.org/patch/10677315/ arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig

Re: KASAN: use-after-free Read in kvm_write_guest_offset_cached

2018-11-26 Thread Wanpeng Li
On Tue, 27 Nov 2018 at 12:51, syzbot wrote: > > Hello, Is there beauty C codes? Regards, Wanpeng Li > > syzbot found the following crash on: > > HEAD commit:442b8cea2477 Add linux-next specific files for 20181109 > git tree: linux-next > console output:

Re: KASAN: use-after-free Read in kvm_write_guest_offset_cached

2018-11-26 Thread Wanpeng Li
On Tue, 27 Nov 2018 at 12:51, syzbot wrote: > > Hello, Is there beauty C codes? Regards, Wanpeng Li > > syzbot found the following crash on: > > HEAD commit:442b8cea2477 Add linux-next specific files for 20181109 > git tree: linux-next > console output:

Re: [PATCH] watchdog: core: suppress "watchdog did not stop" message

2018-11-26 Thread Tao Ren
On 11/26/18, 5:31 PM, "Jerry Hoemann" wrote: > Tao, > > If you're on a system running systemd, the default behavior is to > enable the watchdog during shutdown. This guards against shutdown hanging. > So this message will be routinely printed out during orderly shutdown. Thank you Jerry for

Re: [PATCH] watchdog: core: suppress "watchdog did not stop" message

2018-11-26 Thread Tao Ren
On 11/26/18, 5:31 PM, "Jerry Hoemann" wrote: > Tao, > > If you're on a system running systemd, the default behavior is to > enable the watchdog during shutdown. This guards against shutdown hanging. > So this message will be routinely printed out during orderly shutdown. Thank you Jerry for

Re: [PATCH v2 11/11] soc: mediatek: Add MT8183 scpsys support

2018-11-26 Thread Nicolas Boichat
On Tue, Nov 27, 2018 at 11:43 AM Weiyi Lu wrote: > > Add scpsys driver for MT8183 > > Signed-off-by: Weiyi Lu > --- > drivers/soc/mediatek/mtk-scpsys.c | 227 +- > 1 file changed, 226 insertions(+), 1 deletion(-) > > diff --git a/drivers/soc/mediatek/mtk-scpsys.c >

Re: [PATCH v2 11/11] soc: mediatek: Add MT8183 scpsys support

2018-11-26 Thread Nicolas Boichat
On Tue, Nov 27, 2018 at 11:43 AM Weiyi Lu wrote: > > Add scpsys driver for MT8183 > > Signed-off-by: Weiyi Lu > --- > drivers/soc/mediatek/mtk-scpsys.c | 227 +- > 1 file changed, 226 insertions(+), 1 deletion(-) > > diff --git a/drivers/soc/mediatek/mtk-scpsys.c >

[PATCH 2/2] dt-bindings: thermal: add binding doc for i.MX system controller thermal driver

2018-11-26 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and thermal sensors etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get temperature from thermal sensors,

[PATCH 1/2] thermal: imx_sc: add i.MX system controller thermal support

2018-11-26 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and thermal sensors etc.. This patch adds i.MX system controller thermal driver support, Linux kernel has to communicate with system controller via MU (message

[PATCH 2/2] dt-bindings: thermal: add binding doc for i.MX system controller thermal driver

2018-11-26 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and thermal sensors etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get temperature from thermal sensors,

[PATCH 1/2] thermal: imx_sc: add i.MX system controller thermal support

2018-11-26 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and thermal sensors etc.. This patch adds i.MX system controller thermal driver support, Linux kernel has to communicate with system controller via MU (message

Re: [PATCH v2 04/11] soc: mediatek: add new flow for mtcmos power.

2018-11-26 Thread Nicolas Boichat
On Tue, Nov 27, 2018 at 11:43 AM Weiyi Lu wrote: > > From: Owen Chen > > Both MT8183 & MT6765 add more bus protect node than previous project, > therefore we add two more register for setup bus protect, which reside > at INFRA_CFG & SMI_COMMON. > > With the following change > 1. bus protect need

Re: [PATCH v2 04/11] soc: mediatek: add new flow for mtcmos power.

2018-11-26 Thread Nicolas Boichat
On Tue, Nov 27, 2018 at 11:43 AM Weiyi Lu wrote: > > From: Owen Chen > > Both MT8183 & MT6765 add more bus protect node than previous project, > therefore we add two more register for setup bus protect, which reside > at INFRA_CFG & SMI_COMMON. > > With the following change > 1. bus protect need

[PATCH v3 7/7] zram: writeback throttle

2018-11-26 Thread Minchan Kim
On small memory system, there are lots of write IO so if we use flash device as swap, there would be serious flash wearout. To overcome the problem, system developers need to design write limitation strategy to guarantee flash health for entire product life. This patch creates a new konb

[PATCH v3 7/7] zram: writeback throttle

2018-11-26 Thread Minchan Kim
On small memory system, there are lots of write IO so if we use flash device as swap, there would be serious flash wearout. To overcome the problem, system developers need to design write limitation strategy to guarantee flash health for entire product life. This patch creates a new konb

[PATCH v3 3/7] zram: refactoring flags and writeback stuff

2018-11-26 Thread Minchan Kim
This patch does renaming some variables and restructuring some codes for better redability in writeback and zs_free_page. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c | 105 +- drivers/block/zram/zram_drv.h | 8 +-- 2 files changed, 44

[PATCH v3 6/7] zram: add bd_stat statistics

2018-11-26 Thread Minchan Kim
bd_stat represents things happened in backing device. Currently, it supports bd_counts, bd_reads and bd_writes which are helpful to understand wearout of flash and memory saving. Signed-off-by: Minchan Kim --- Documentation/ABI/testing/sysfs-block-zram | 8 ++

[PATCH v3 5/7] zram: support idle/huge page writeback

2018-11-26 Thread Minchan Kim
This patch supports new feature "zram idle/huge page writeback". On zram-swap usecase, zram has usually many idle/huge swap pages. It's pointless to keep in memory(ie, zram). To solve the problem, this feature introduces idle/huge page writeback to backing device so the goal is to save more

[PATCH v3 2/7] zram: fix double free backing device

2018-11-26 Thread Minchan Kim
If blkdev_get fails, we shouldn't do blkdev_put. Otherwise, kernel emits below log. This patch fixes it. [ 31.073006] WARNING: CPU: 0 PID: 1893 at fs/block_dev.c:1828 blkdev_put+0x105/0x120 [ 31.075104] Modules linked in: [ 31.075898] CPU: 0 PID: 1893 Comm: swapoff Not tainted 4.19.0+ #453

[PATCH v3 4/7] zram: introduce ZRAM_IDLE flag

2018-11-26 Thread Minchan Kim
To support idle page writeback with upcoming patches, this patch introduces a new ZRAM_IDLE flag. Userspace can mark zram slots as "idle" via "echo all > /sys/block/zramX/idle" which marks every allocated zram slot as ZRAM_IDLE. User could see it by

[PATCH v3 1/7] zram: fix lockdep warning of free block handling

2018-11-26 Thread Minchan Kim
[ 254.519728] [ 254.520311] WARNING: inconsistent lock state [ 254.520898] 4.19.0+ #390 Not tainted [ 254.521387] [ 254.521732] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 254.521732] zram_verify/2095

[PATCH v3 2/7] zram: fix double free backing device

2018-11-26 Thread Minchan Kim
If blkdev_get fails, we shouldn't do blkdev_put. Otherwise, kernel emits below log. This patch fixes it. [ 31.073006] WARNING: CPU: 0 PID: 1893 at fs/block_dev.c:1828 blkdev_put+0x105/0x120 [ 31.075104] Modules linked in: [ 31.075898] CPU: 0 PID: 1893 Comm: swapoff Not tainted 4.19.0+ #453

[PATCH v3 4/7] zram: introduce ZRAM_IDLE flag

2018-11-26 Thread Minchan Kim
To support idle page writeback with upcoming patches, this patch introduces a new ZRAM_IDLE flag. Userspace can mark zram slots as "idle" via "echo all > /sys/block/zramX/idle" which marks every allocated zram slot as ZRAM_IDLE. User could see it by

[PATCH v3 1/7] zram: fix lockdep warning of free block handling

2018-11-26 Thread Minchan Kim
[ 254.519728] [ 254.520311] WARNING: inconsistent lock state [ 254.520898] 4.19.0+ #390 Not tainted [ 254.521387] [ 254.521732] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 254.521732] zram_verify/2095

[PATCH v3 3/7] zram: refactoring flags and writeback stuff

2018-11-26 Thread Minchan Kim
This patch does renaming some variables and restructuring some codes for better redability in writeback and zs_free_page. Signed-off-by: Minchan Kim --- drivers/block/zram/zram_drv.c | 105 +- drivers/block/zram/zram_drv.h | 8 +-- 2 files changed, 44

[PATCH v3 6/7] zram: add bd_stat statistics

2018-11-26 Thread Minchan Kim
bd_stat represents things happened in backing device. Currently, it supports bd_counts, bd_reads and bd_writes which are helpful to understand wearout of flash and memory saving. Signed-off-by: Minchan Kim --- Documentation/ABI/testing/sysfs-block-zram | 8 ++

[PATCH v3 5/7] zram: support idle/huge page writeback

2018-11-26 Thread Minchan Kim
This patch supports new feature "zram idle/huge page writeback". On zram-swap usecase, zram has usually many idle/huge swap pages. It's pointless to keep in memory(ie, zram). To solve the problem, this feature introduces idle/huge page writeback to backing device so the goal is to save more

[PATCH v3 0/7] zram idle page writeback

2018-11-26 Thread Minchan Kim
Inherently, swap device has many idle pages which are rare touched since it was allocated. It is never problem if we use storage device as swap. However, it's just waste for zram-swap. This patchset supports zram idle page writeback feature. * Admin can define what is idle page "no access since

[PATCH v3 0/7] zram idle page writeback

2018-11-26 Thread Minchan Kim
Inherently, swap device has many idle pages which are rare touched since it was allocated. It is never problem if we use storage device as swap. However, it's just waste for zram-swap. This patchset supports zram idle page writeback feature. * Admin can define what is idle page "no access since

Re: [snd_hda_intel] snd_hda_intel causes high CPU lockup and system instability if mic disabled in BIOS on Lenovo P50

2018-11-26 Thread Alexander Kappner
On Mon, 26 Nov 2018, Takashi Iwai wrote: On Mon, 26 Nov 2018 00:17:15 +0100, Alexander Kappner wrote: My Lenovo P50 laptop has a BIOS option to disable the microphone. When this option gets chosen, the snd_hda_intel driver causes high CPU load on a single kworker thread, spinning on

Re: [snd_hda_intel] snd_hda_intel causes high CPU lockup and system instability if mic disabled in BIOS on Lenovo P50

2018-11-26 Thread Alexander Kappner
On Mon, 26 Nov 2018, Takashi Iwai wrote: On Mon, 26 Nov 2018 00:17:15 +0100, Alexander Kappner wrote: My Lenovo P50 laptop has a BIOS option to disable the microphone. When this option gets chosen, the snd_hda_intel driver causes high CPU load on a single kworker thread, spinning on

  1   2   3   4   5   6   7   8   9   10   >