[PATCH 4.16 22/43] usb: gadget: udc: renesas_usb3: should call devm_phy_get() before add udc

2018-06-14 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 003bc1dee216b1fb8e02040a95672bea0f1fe797 upstream. This patch fixes an issue that this driver cannot call phy_init() if a gadget driver is alreadly loaded because

[PATCH 4.16 02/43] crypto: chelsio - request to HW should wrap

2018-06-14 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Atul Gupta commit 4c826fed675dfffd8485c5477b616d61d1ec9e9a upstream. -Tx request and data is copied to HW Q in 64B desc, check for end of queue and adjust the current position to start from

[PATCH 4.16 22/43] usb: gadget: udc: renesas_usb3: should call devm_phy_get() before add udc

2018-06-14 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 003bc1dee216b1fb8e02040a95672bea0f1fe797 upstream. This patch fixes an issue that this driver cannot call phy_init() if a gadget driver is alreadly loaded because

[PATCH 4.16 02/43] crypto: chelsio - request to HW should wrap

2018-06-14 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Atul Gupta commit 4c826fed675dfffd8485c5477b616d61d1ec9e9a upstream. -Tx request and data is copied to HW Q in 64B desc, check for end of queue and adjust the current position to start from

[PATCH 4.16 19/43] usb: gadget: udc: renesas_usb3: fix double phy_put()

2018-06-14 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 8223b2f89ca63e203dcb54148e30d94979f17b0b upstream. This patch fixes an issue that this driver cause double phy_put() calling. This driver must not call phy_put() in

[PATCH 4.16 19/43] usb: gadget: udc: renesas_usb3: fix double phy_put()

2018-06-14 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 8223b2f89ca63e203dcb54148e30d94979f17b0b upstream. This patch fixes an issue that this driver cause double phy_put() calling. This driver must not call phy_put() in

[PATCH 4.16 16/43] usb: core: message: remove extra endianness conversion in usb_set_isoch_delay

2018-06-14 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ruslan Bilovol commit 48b73d0fa11aa8613d51f7be61d2fa7f0ab05fd3 upstream. No need to do extra endianness conversion in usb_set_isoch_delay because it is already done in usb_control_msg()

[PATCH 4.16 16/43] usb: core: message: remove extra endianness conversion in usb_set_isoch_delay

2018-06-14 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ruslan Bilovol commit 48b73d0fa11aa8613d51f7be61d2fa7f0ab05fd3 upstream. No need to do extra endianness conversion in usb_set_isoch_delay because it is already done in usb_control_msg()

Re: [PATCH v2] time: Fix sleeptime injection for non-stop clocksource & persistent clock

2018-06-14 Thread Mukesh Ojha
Any input on this ? Thanks, Mukesh On 5/30/2018 5:14 PM, Mukesh Ojha wrote: Currently, for both non-stop clocksource and persistent clock there is a corner case, when a driver failed to go suspend mode. rtc_resume() injects the sleeptime as timekeeping_rtc_skipresume() returned

Re: [PATCH v2] time: Fix sleeptime injection for non-stop clocksource & persistent clock

2018-06-14 Thread Mukesh Ojha
Any input on this ? Thanks, Mukesh On 5/30/2018 5:14 PM, Mukesh Ojha wrote: Currently, for both non-stop clocksource and persistent clock there is a corner case, when a driver failed to go suspend mode. rtc_resume() injects the sleeptime as timekeeping_rtc_skipresume() returned

[PATCH 4.16 14/43] Input: xpad - add GPD Win 2 Controller USB IDs

2018-06-14 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ethan Lee commit c1ba08390a8bb13c927e699330896adc15b78205 upstream. GPD Win 2 Website: http://www.gpd.hk/gpdwin2.asp Tested on a unit from the first production run sent to Indiegogo backers

[PATCH 4.16 14/43] Input: xpad - add GPD Win 2 Controller USB IDs

2018-06-14 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ethan Lee commit c1ba08390a8bb13c927e699330896adc15b78205 upstream. GPD Win 2 Website: http://www.gpd.hk/gpdwin2.asp Tested on a unit from the first production run sent to Indiegogo backers

[PATCH 4.17 45/45] crypto: omap-sham - fix memleak

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bin Liu commit 9dbc8a0328efa485a6f5b68b867f9f523a3fbeff upstream. Fixes: 8043bb1ae03cb ("crypto: omap-sham - convert driver logic to use sgs for data xmit") The memory pages freed in

[PATCH 4.17 23/45] usb: gadget: udc: renesas_usb3: should fail if devm_phy_get() returns error

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 0259068f63f23a665ded28647f2f9cdb6b20dc72 upstream. This patch fixes an issue that this driver ignores errors other than the non-existence of the device, f.e. a memory

[PATCH 4.17 23/45] usb: gadget: udc: renesas_usb3: should fail if devm_phy_get() returns error

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 0259068f63f23a665ded28647f2f9cdb6b20dc72 upstream. This patch fixes an issue that this driver ignores errors other than the non-existence of the device, f.e. a memory

[PATCH 4.17 45/45] crypto: omap-sham - fix memleak

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bin Liu commit 9dbc8a0328efa485a6f5b68b867f9f523a3fbeff upstream. Fixes: 8043bb1ae03cb ("crypto: omap-sham - convert driver logic to use sgs for data xmit") The memory pages freed in

[PATCH 4.17 43/45] crypto: vmx - Remove overly verbose printk from AES init routines

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 1411b5218adbcf1d45ddb260db5553c52e8d917c upstream. In the vmx AES init routines we do a printk(KERN_INFO ...) to report the fallback implementation we're using.

[PATCH 4.17 41/45] crypto: cavium - Fix fallout from CONFIG_VMAP_STACK

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jan Glauber commit 37ff02acaa3d7be87ecb89f198a549ffd3ae2403 upstream. Enabling virtual mapped kernel stacks breaks the thunderx_zip driver. On compression or decompression the executing CPU

[PATCH 4.17 43/45] crypto: vmx - Remove overly verbose printk from AES init routines

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 1411b5218adbcf1d45ddb260db5553c52e8d917c upstream. In the vmx AES init routines we do a printk(KERN_INFO ...) to report the fallback implementation we're using.

[PATCH 4.17 41/45] crypto: cavium - Fix fallout from CONFIG_VMAP_STACK

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jan Glauber commit 37ff02acaa3d7be87ecb89f198a549ffd3ae2403 upstream. Enabling virtual mapped kernel stacks breaks the thunderx_zip driver. On compression or decompression the executing CPU

[PATCH 4.17 21/45] usb: gadget: udc: renesas_usb3: should call pm_runtime_enable() before add udc

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit d998844016b24a8d71b9aa5eae7e51d70f2de438 upstream. This patch fixes an issue that this driver causes panic if a gadget driver is already loaded because

[PATCH 4.17 21/45] usb: gadget: udc: renesas_usb3: should call pm_runtime_enable() before add udc

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit d998844016b24a8d71b9aa5eae7e51d70f2de438 upstream. This patch fixes an issue that this driver causes panic if a gadget driver is already loaded because

Re: [PATCH v2 00/19] Dynamically load/remove serdev devices via sysfs*

2018-06-14 Thread Ricardo Ribalda Delgado
Hi Johan, On Thu, Jun 14, 2018 at 3:34 PM Johan Hovold wrote: > > On Thu, Jun 14, 2018 at 01:06:59PM +0200, Ricardo Ribalda Delgado wrote: > > Hi Johan > > On Thu, Jun 14, 2018 at 12:48 PM Johan Hovold wrote: > > > > > > Hi Ricardo, > > > > > > On Mon, Jun 11, 2018 at 01:52:16PM +0200, Ricardo

Re: [PATCH v2 00/19] Dynamically load/remove serdev devices via sysfs*

2018-06-14 Thread Ricardo Ribalda Delgado
Hi Johan, On Thu, Jun 14, 2018 at 3:34 PM Johan Hovold wrote: > > On Thu, Jun 14, 2018 at 01:06:59PM +0200, Ricardo Ribalda Delgado wrote: > > Hi Johan > > On Thu, Jun 14, 2018 at 12:48 PM Johan Hovold wrote: > > > > > > Hi Ricardo, > > > > > > On Mon, Jun 11, 2018 at 01:52:16PM +0200, Ricardo

[PATCH 4.17 34/45] Input: goodix - add new ACPI id for GPD Win 2 touch screen

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ethan Lee commit 5ca4d1ae9bad0f59bd6f851c39b19f5366953666 upstream. GPD Win 2 Website: http://www.gpd.hk/gpdwin2.asp Tested on a unit from the first production run sent to Indiegogo backers

[PATCH 4.17 34/45] Input: goodix - add new ACPI id for GPD Win 2 touch screen

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Ethan Lee commit 5ca4d1ae9bad0f59bd6f851c39b19f5366953666 upstream. GPD Win 2 Website: http://www.gpd.hk/gpdwin2.asp Tested on a unit from the first production run sent to Indiegogo backers

[PATCH 4.17 30/45] doc: fix sysfs ABI documentation

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Hemminger commit f59acbc5e0f7f90452efd4c3318d5e5ec042c3e0 upstream. In 4.9 kernel, the sysfs files for Hyper-V VMBus changed name but the documentation files were not updated. The

[PATCH 4.17 30/45] doc: fix sysfs ABI documentation

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Hemminger commit f59acbc5e0f7f90452efd4c3318d5e5ec042c3e0 upstream. In 4.9 kernel, the sysfs files for Hyper-V VMBus changed name but the documentation files were not updated. The

[PATCH v2 1/4] ALSA: usb-audio: Add bi-directional terminal types.

2018-06-14 Thread Jorge Sanjuan
Define the bi-directional USB terminal types for audio devices. Signed-off-by: Jorge Sanjuan --- include/uapi/linux/usb/audio.h | 8 1 file changed, 8 insertions(+) diff --git a/include/uapi/linux/usb/audio.h b/include/uapi/linux/usb/audio.h index 13d98e6e0db1..74e520fb944f 100644 ---

[PATCH 4.17 29/45] vmw_balloon: fixing double free when batching mode is off

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gil Kupfer commit b23220fe054e92f616b82450fae8cd3ab176cc60 upstream. The balloon.page field is used for two different purposes if batching is on or off. If batching is on, the field point to

[PATCH v2 1/4] ALSA: usb-audio: Add bi-directional terminal types.

2018-06-14 Thread Jorge Sanjuan
Define the bi-directional USB terminal types for audio devices. Signed-off-by: Jorge Sanjuan --- include/uapi/linux/usb/audio.h | 8 1 file changed, 8 insertions(+) diff --git a/include/uapi/linux/usb/audio.h b/include/uapi/linux/usb/audio.h index 13d98e6e0db1..74e520fb944f 100644 ---

[PATCH 4.17 29/45] vmw_balloon: fixing double free when batching mode is off

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gil Kupfer commit b23220fe054e92f616b82450fae8cd3ab176cc60 upstream. The balloon.page field is used for two different purposes if batching is on or off. If batching is on, the field point to

[PATCH 4.17 09/45] staging: android: ion: Switch to pr_warn_once in ion_buffer_destroy

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Laura Abbott commit 45ad559a29629cb1c64ee636563c69b71524f077 upstream. Syzbot reported yet another warning with Ion: WARNING: CPU: 0 PID: 1467 at drivers/staging/android/ion/ion.c:122

[PATCH v2 3/4] ALSA: usb-audio: UAC3. Add insertion control for BADD.

2018-06-14 Thread Jorge Sanjuan
The HEADSET ADAPTER profile for BADD devices is meant to support Insertion Control for the Input and Output Terminals of the headset. This patch defines the BADD inferred input and output terminals and builds the connector controls. Signed-off-by: Jorge Sanjuan --- sound/usb/mixer.c | 17

[PATCH 4.17 09/45] staging: android: ion: Switch to pr_warn_once in ion_buffer_destroy

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Laura Abbott commit 45ad559a29629cb1c64ee636563c69b71524f077 upstream. Syzbot reported yet another warning with Ion: WARNING: CPU: 0 PID: 1467 at drivers/staging/android/ion/ion.c:122

[PATCH v2 3/4] ALSA: usb-audio: UAC3. Add insertion control for BADD.

2018-06-14 Thread Jorge Sanjuan
The HEADSET ADAPTER profile for BADD devices is meant to support Insertion Control for the Input and Output Terminals of the headset. This patch defines the BADD inferred input and output terminals and builds the connector controls. Signed-off-by: Jorge Sanjuan --- sound/usb/mixer.c | 17

[PATCH 4.17 04/45] KVM: x86: introduce linear_{read,write}_system

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 79367a65743975e5cac8d24d08eccc7fdae832b0 upstream. Wrap the common invocation of ctxt->ops->read_std and ctxt->ops->write_std, so as to have a smaller patch when the

[PATCH 4.17 04/45] KVM: x86: introduce linear_{read,write}_system

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 79367a65743975e5cac8d24d08eccc7fdae832b0 upstream. Wrap the common invocation of ctxt->ops->read_std and ctxt->ops->write_std, so as to have a smaller patch when the

[PATCH 4.17 02/45] blkdev_report_zones_ioctl(): Use vmalloc() to allocate large buffers

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 327ea4adcfa37194739f1ec7c70568944d292281 upstream. Avoid that complaints similar to the following appear in the kernel log if the number of zones is sufficiently large:

[PATCH 4.17 02/45] blkdev_report_zones_ioctl(): Use vmalloc() to allocate large buffers

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 327ea4adcfa37194739f1ec7c70568944d292281 upstream. Avoid that complaints similar to the following appear in the kernel log if the number of zones is sufficiently large:

[PATCH 4.17 15/45] phy: qcom-qusb2: Fix crash if nvmem cell not specified

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Manu Gautam commit 0b4555e776ba0712c6fafb98b226b21fd05d2427 upstream. Driver currently crashes due to NULL pointer deference while updating PHY tune register if nvmem cell is NULL. Since,

[PATCH 4.17 12/45] usb-storage: Add support for FL_ALWAYS_SYNC flag in the UAS driver

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Kappner commit 8c4e97ddfe73a0958bb0abf7e6a3bc4cc3e04936 upstream. The ALWAYS_SYNC flag is currently honored by the usb-storage driver but not UAS and is required to work around

[PATCH 4.17 01/45] crypto: chelsio - request to HW should wrap

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Atul Gupta commit 4c826fed675dfffd8485c5477b616d61d1ec9e9a upstream. -Tx request and data is copied to HW Q in 64B desc, check for end of queue and adjust the current position to start from

[PATCH 4.17 17/45] usb: typec: wcove: Remove dependency on HW FSM

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Heikki Krogerus commit 05826ff135ee083d28c006fbde6e810f17437166 upstream. The USB Type-C PHY in Intel WhiskeyCove PMIC has build-in USB Type-C state machine which we were relying on to

[PATCH 4.17 12/45] usb-storage: Add support for FL_ALWAYS_SYNC flag in the UAS driver

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Kappner commit 8c4e97ddfe73a0958bb0abf7e6a3bc4cc3e04936 upstream. The ALWAYS_SYNC flag is currently honored by the usb-storage driver but not UAS and is required to work around

[PATCH 4.17 01/45] crypto: chelsio - request to HW should wrap

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Atul Gupta commit 4c826fed675dfffd8485c5477b616d61d1ec9e9a upstream. -Tx request and data is copied to HW Q in 64B desc, check for end of queue and adjust the current position to start from

[PATCH 4.17 17/45] usb: typec: wcove: Remove dependency on HW FSM

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Heikki Krogerus commit 05826ff135ee083d28c006fbde6e810f17437166 upstream. The USB Type-C PHY in Intel WhiskeyCove PMIC has build-in USB Type-C state machine which we were relying on to

[PATCH 4.17 15/45] phy: qcom-qusb2: Fix crash if nvmem cell not specified

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Manu Gautam commit 0b4555e776ba0712c6fafb98b226b21fd05d2427 upstream. Driver currently crashes due to NULL pointer deference while updating PHY tune register if nvmem cell is NULL. Since,

Re: [PATCH v6 18/29] fpga: dfl: add fpga manager platform driver for FME

2018-06-14 Thread Wu Hao
On Wed, Jun 13, 2018 at 08:16:42PM -0500, Moritz Fischer wrote: > Hi Hao, > > small nit below, looks good otherwise. > > On Tue, Jun 12, 2018 at 06:10:32PM +0800, Wu Hao wrote: > > This patch adds fpga manager driver for FPGA Management Engine (FME). It > > implements fpga_manager_ops for FPGA

Re: [PATCH v6 18/29] fpga: dfl: add fpga manager platform driver for FME

2018-06-14 Thread Wu Hao
On Wed, Jun 13, 2018 at 08:16:42PM -0500, Moritz Fischer wrote: > Hi Hao, > > small nit below, looks good otherwise. > > On Tue, Jun 12, 2018 at 06:10:32PM +0800, Wu Hao wrote: > > This patch adds fpga manager driver for FPGA Management Engine (FME). It > > implements fpga_manager_ops for FPGA

Re: Restartable Sequences system call merged into Linux

2018-06-14 Thread Florian Weimer
On 06/14/2018 03:49 PM, Pavel Machek wrote: Hi! - rseq_preempt(): on preemption, the scheduler sets the TIF_NOTIFY_RESUME thread flag, so rseq_handle_notify_resume() can check whether it's in a rseq critical section when returning to user-space, - rseq_signal_deliver(): on signal

Re: Restartable Sequences system call merged into Linux

2018-06-14 Thread Florian Weimer
On 06/14/2018 03:49 PM, Pavel Machek wrote: Hi! - rseq_preempt(): on preemption, the scheduler sets the TIF_NOTIFY_RESUME thread flag, so rseq_handle_notify_resume() can check whether it's in a rseq critical section when returning to user-space, - rseq_signal_deliver(): on signal

Re: [RFC PATCH 6/8] dts: coresight: Clean up the device tree graph bindings

2018-06-14 Thread Rob Herring
On Thu, Jun 14, 2018 at 2:53 AM, Suzuki K Poulose wrote: > On 13/06/18 22:07, Matt Sealey wrote: >> >> >> >>> -Original Message- >>> From: Mathieu Poirier >>> So, if the suggestion is to use an existing property "unit", I am fine with it, if people agree to it. >>> >>> >>> If

Re: [RFC PATCH 6/8] dts: coresight: Clean up the device tree graph bindings

2018-06-14 Thread Rob Herring
On Thu, Jun 14, 2018 at 2:53 AM, Suzuki K Poulose wrote: > On 13/06/18 22:07, Matt Sealey wrote: >> >> >> >>> -Original Message- >>> From: Mathieu Poirier >>> So, if the suggestion is to use an existing property "unit", I am fine with it, if people agree to it. >>> >>> >>> If

Re: [PATCH v2] staging: gdm724x: add error handling for nlmsg_put

2018-06-14 Thread Dan Carpenter
On Thu, Jun 14, 2018 at 07:31:51PM +0800, Zhouyang Jia wrote: > When nlmsg_put fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling nlmsg_put. > > Signed-off-by: Zhouyang Jia > --- > v1->v2: > - Add some cleanup > --- >

Re: [PATCH v2] staging: gdm724x: add error handling for nlmsg_put

2018-06-14 Thread Dan Carpenter
On Thu, Jun 14, 2018 at 07:31:51PM +0800, Zhouyang Jia wrote: > When nlmsg_put fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling nlmsg_put. > > Signed-off-by: Zhouyang Jia > --- > v1->v2: > - Add some cleanup > --- >

Re: [PATCH v4 1/5] sched/topology: Add check to backup comment about hotplug lock

2018-06-14 Thread Quentin Perret
On Thursday 14 Jun 2018 at 15:50:40 (+0200), Juri Lelli wrote: > On 14/06/18 09:47, Steven Rostedt wrote: > > On Thu, 14 Jun 2018 15:42:34 +0200 > > Juri Lelli wrote: > > > > > On 14/06/18 09:33, Steven Rostedt wrote: > > > > On Wed, 13 Jun 2018 14:17:07 +0200 > > > > Juri Lelli wrote: > > > >

Re: [PATCH v4 1/5] sched/topology: Add check to backup comment about hotplug lock

2018-06-14 Thread Quentin Perret
On Thursday 14 Jun 2018 at 15:50:40 (+0200), Juri Lelli wrote: > On 14/06/18 09:47, Steven Rostedt wrote: > > On Thu, 14 Jun 2018 15:42:34 +0200 > > Juri Lelli wrote: > > > > > On 14/06/18 09:33, Steven Rostedt wrote: > > > > On Wed, 13 Jun 2018 14:17:07 +0200 > > > > Juri Lelli wrote: > > > >

[PATCH] PM / OPP: Update voltage in case freq == old_freq

2018-06-14 Thread Waldemar Rymarkiewicz
This commit fixes a rare but possible case when the clk rate is updated without update of the regulator voltage. At boot up, CPUfreq checks if the system is running at the right freq. This is a sanity check in case a bootloader set clk rate that is outside of freq table present with cpufreq core.

[PATCH] PM / OPP: Update voltage in case freq == old_freq

2018-06-14 Thread Waldemar Rymarkiewicz
This commit fixes a rare but possible case when the clk rate is updated without update of the regulator voltage. At boot up, CPUfreq checks if the system is running at the right freq. This is a sanity check in case a bootloader set clk rate that is outside of freq table present with cpufreq core.

Re: [PATCH 2/3] perf alias: Rebuild alias expression string to make it comparable

2018-06-14 Thread Paul Clarke
On 06/14/2018 06:48 AM, Thomas Richter wrote: > PMU alias definitions in sysfs files may have spaces, newlines > and number with leading zeroes. Same alias definitions may > also appear in JSON files without spaces, etc. > > Scan alias definitions and remove leading zeroes, spaces, > newlines,

Re: [PATCH 2/3] perf alias: Rebuild alias expression string to make it comparable

2018-06-14 Thread Paul Clarke
On 06/14/2018 06:48 AM, Thomas Richter wrote: > PMU alias definitions in sysfs files may have spaces, newlines > and number with leading zeroes. Same alias definitions may > also appear in JSON files without spaces, etc. > > Scan alias definitions and remove leading zeroes, spaces, > newlines,

[PATCH v2] ALSA: lx6464es: add error handling for pci_ioremap_bar

2018-06-14 Thread Zhouyang Jia
When pci_ioremap_bar fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling pci_ioremap_bar. Signed-off-by: Zhouyang Jia --- v1->v2: - Add new goto label. --- sound/pci/lx6464es/lx6464es.c | 7 +++ 1 file changed, 7

[PATCH v2] ALSA: lx6464es: add error handling for pci_ioremap_bar

2018-06-14 Thread Zhouyang Jia
When pci_ioremap_bar fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling pci_ioremap_bar. Signed-off-by: Zhouyang Jia --- v1->v2: - Add new goto label. --- sound/pci/lx6464es/lx6464es.c | 7 +++ 1 file changed, 7

Re: [PATCH v4 4/5] sched/core: Prevent race condition between cpuset and __sched_setscheduler()

2018-06-14 Thread Juri Lelli
On 14/06/18 09:45, Steven Rostedt wrote: > On Wed, 13 Jun 2018 14:17:10 +0200 > Ju > > diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c > > index b42037e6e81d..d26fd4795aa3 100644 > > --- a/kernel/cgroup/cpuset.c > > +++ b/kernel/cgroup/cpuset.c > > @@ -2409,6 +2409,22 @@ void __init

Re: [PATCH v4 4/5] sched/core: Prevent race condition between cpuset and __sched_setscheduler()

2018-06-14 Thread Juri Lelli
On 14/06/18 09:45, Steven Rostedt wrote: > On Wed, 13 Jun 2018 14:17:10 +0200 > Ju > > diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c > > index b42037e6e81d..d26fd4795aa3 100644 > > --- a/kernel/cgroup/cpuset.c > > +++ b/kernel/cgroup/cpuset.c > > @@ -2409,6 +2409,22 @@ void __init

Re: Restartable Sequences system call merged into Linux

2018-06-14 Thread Pavel Machek
Hi! > >> - rseq_preempt(): on preemption, the scheduler sets the TIF_NOTIFY_RESUME > >> thread > >> flag, so rseq_handle_notify_resume() can check whether it's in a rseq > >> critical > >> section when returning to user-space, > >> - rseq_signal_deliver(): on signal delivery,

Re: [PATCH v4 1/5] sched/topology: Add check to backup comment about hotplug lock

2018-06-14 Thread Juri Lelli
On 14/06/18 09:47, Steven Rostedt wrote: > On Thu, 14 Jun 2018 15:42:34 +0200 > Juri Lelli wrote: > > > On 14/06/18 09:33, Steven Rostedt wrote: > > > On Wed, 13 Jun 2018 14:17:07 +0200 > > > Juri Lelli wrote: > > > > > > > From: Mathieu Poirier > > > > > > > > The comment above function

Re: Restartable Sequences system call merged into Linux

2018-06-14 Thread Pavel Machek
Hi! > >> - rseq_preempt(): on preemption, the scheduler sets the TIF_NOTIFY_RESUME > >> thread > >> flag, so rseq_handle_notify_resume() can check whether it's in a rseq > >> critical > >> section when returning to user-space, > >> - rseq_signal_deliver(): on signal delivery,

Re: [PATCH v4 1/5] sched/topology: Add check to backup comment about hotplug lock

2018-06-14 Thread Juri Lelli
On 14/06/18 09:47, Steven Rostedt wrote: > On Thu, 14 Jun 2018 15:42:34 +0200 > Juri Lelli wrote: > > > On 14/06/18 09:33, Steven Rostedt wrote: > > > On Wed, 13 Jun 2018 14:17:07 +0200 > > > Juri Lelli wrote: > > > > > > > From: Mathieu Poirier > > > > > > > > The comment above function

Re: [PATCH 1/2] ASoC: pxa: add binding for pxa2xx-ac97 audio complex

2018-06-14 Thread Mark Brown
On Wed, Jun 13, 2018 at 09:00:19PM +0200, Robert Jarzmik wrote: > Rob Herring writes: > > On Mon, Jun 11, 2018 at 10:22:10PM +0200, Robert Jarzmik wrote: > >> +Required properties: > >> + - compatible: "marvell,pxa2xx-ac97" > > Don't use wildcards in compatible strings. Though this is so

Re: [PATCH 1/2] ASoC: pxa: add binding for pxa2xx-ac97 audio complex

2018-06-14 Thread Mark Brown
On Wed, Jun 13, 2018 at 09:00:19PM +0200, Robert Jarzmik wrote: > Rob Herring writes: > > On Mon, Jun 11, 2018 at 10:22:10PM +0200, Robert Jarzmik wrote: > >> +Required properties: > >> + - compatible: "marvell,pxa2xx-ac97" > > Don't use wildcards in compatible strings. Though this is so

Re: [PATCH v4 1/5] sched/topology: Add check to backup comment about hotplug lock

2018-06-14 Thread Steven Rostedt
On Thu, 14 Jun 2018 15:42:34 +0200 Juri Lelli wrote: > On 14/06/18 09:33, Steven Rostedt wrote: > > On Wed, 13 Jun 2018 14:17:07 +0200 > > Juri Lelli wrote: > > > > > From: Mathieu Poirier > > > > > > The comment above function partition_sched_domains() clearly state that > > > the

Re: [PATCH v4 1/5] sched/topology: Add check to backup comment about hotplug lock

2018-06-14 Thread Steven Rostedt
On Thu, 14 Jun 2018 15:42:34 +0200 Juri Lelli wrote: > On 14/06/18 09:33, Steven Rostedt wrote: > > On Wed, 13 Jun 2018 14:17:07 +0200 > > Juri Lelli wrote: > > > > > From: Mathieu Poirier > > > > > > The comment above function partition_sched_domains() clearly state that > > > the

Re: [PATCH v4 2/5] sched/topology: Adding function partition_sched_domains_locked()

2018-06-14 Thread Juri Lelli
On 14/06/18 09:35, Steven Rostedt wrote: > On Wed, 13 Jun 2018 14:17:08 +0200 > Juri Lelli wrote: [...] > > +/* > > + * Call with hotplug lock held > > + */ > > +void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[], > > +struct sched_domain_attr

Re: [PATCH v4 2/5] sched/topology: Adding function partition_sched_domains_locked()

2018-06-14 Thread Juri Lelli
On 14/06/18 09:35, Steven Rostedt wrote: > On Wed, 13 Jun 2018 14:17:08 +0200 > Juri Lelli wrote: [...] > > +/* > > + * Call with hotplug lock held > > + */ > > +void partition_sched_domains(int ndoms_new, cpumask_var_t doms_new[], > > +struct sched_domain_attr

Re: [PATCH] Staging: comedi: ssv_dnp: fixed style line length warning

2018-06-14 Thread Dan Carpenter
On Wed, Jun 13, 2018 at 03:01:08PM -0400, Javier Martinez wrote: > Fixed style line length warning detected by checkpatch.pl in the file > ssv_dnp.c. > > Signed-off-by: Javier Martinez > --- > drivers/staging/comedi/drivers/ssv_dnp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH] Staging: comedi: ssv_dnp: fixed style line length warning

2018-06-14 Thread Dan Carpenter
On Wed, Jun 13, 2018 at 03:01:08PM -0400, Javier Martinez wrote: > Fixed style line length warning detected by checkpatch.pl in the file > ssv_dnp.c. > > Signed-off-by: Javier Martinez > --- > drivers/staging/comedi/drivers/ssv_dnp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: Restartable Sequences system call merged into Linux

2018-06-14 Thread Mathieu Desnoyers
- On Jun 14, 2018, at 9:32 AM, Florian Weimer fwei...@redhat.com wrote: > On 06/14/2018 03:25 PM, Pavel Machek wrote: > >> But the proposal wanted to add a syscall to thread creation, right? >> And I believe that may be noticeable. > > We already call set_robust_list, so we could just pass

Re: Restartable Sequences system call merged into Linux

2018-06-14 Thread Mathieu Desnoyers
- On Jun 14, 2018, at 9:32 AM, Florian Weimer fwei...@redhat.com wrote: > On 06/14/2018 03:25 PM, Pavel Machek wrote: > >> But the proposal wanted to add a syscall to thread creation, right? >> And I believe that may be noticeable. > > We already call set_robust_list, so we could just pass

Re: [PATCH v4 4/5] sched/core: Prevent race condition between cpuset and __sched_setscheduler()

2018-06-14 Thread Steven Rostedt
On Wed, 13 Jun 2018 14:17:10 +0200 Ju > diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c > index b42037e6e81d..d26fd4795aa3 100644 > --- a/kernel/cgroup/cpuset.c > +++ b/kernel/cgroup/cpuset.c > @@ -2409,6 +2409,22 @@ void __init cpuset_init_smp(void) >

Re: [PATCH v4 4/5] sched/core: Prevent race condition between cpuset and __sched_setscheduler()

2018-06-14 Thread Steven Rostedt
On Wed, 13 Jun 2018 14:17:10 +0200 Ju > diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c > index b42037e6e81d..d26fd4795aa3 100644 > --- a/kernel/cgroup/cpuset.c > +++ b/kernel/cgroup/cpuset.c > @@ -2409,6 +2409,22 @@ void __init cpuset_init_smp(void) >

Re: Restartable Sequences system call merged into Linux

2018-06-14 Thread Mathieu Desnoyers
- On Jun 14, 2018, at 9:25 AM, Pavel Machek pa...@ucw.cz wrote: > Hi! > >> >> It should be noted that there can be only one rseq TLS area >> >> registered per >> >> thread, >> >> which can then be used by many libraries and by the executable, so >> >> this is a >>

Re: Restartable Sequences system call merged into Linux

2018-06-14 Thread Mathieu Desnoyers
- On Jun 14, 2018, at 9:25 AM, Pavel Machek pa...@ucw.cz wrote: > Hi! > >> >> It should be noted that there can be only one rseq TLS area >> >> registered per >> >> thread, >> >> which can then be used by many libraries and by the executable, so >> >> this is a >>

Re: [PATCH v4 3/5] sched/core: Streamlining calls to task_rq_unlock()

2018-06-14 Thread Steven Rostedt
On Wed, 13 Jun 2018 14:17:09 +0200 Juri Lelli wrote: > From: Mathieu Poirier > > Calls to task_rq_unlock() are done several times in function > __sched_setscheduler(). This is fine when only the rq lock needs to be > handled but not so much when other locks come into play. > > This patch

Re: [PATCH v2 1/2] locking: Implement an algorithm choice for Wound-Wait mutexes

2018-06-14 Thread Thomas Hellstrom
On 06/14/2018 03:29 PM, Matthew Wilcox wrote: On Thu, Jun 14, 2018 at 01:54:15PM +0200, Thomas Hellstrom wrote: On 06/14/2018 01:36 PM, Peter Zijlstra wrote: Currently you don't allow mixing WD and WW contexts (which is not immediately obvious from the above code), and the above hard relies on

Re: [PATCH v4 3/5] sched/core: Streamlining calls to task_rq_unlock()

2018-06-14 Thread Steven Rostedt
On Wed, 13 Jun 2018 14:17:09 +0200 Juri Lelli wrote: > From: Mathieu Poirier > > Calls to task_rq_unlock() are done several times in function > __sched_setscheduler(). This is fine when only the rq lock needs to be > handled but not so much when other locks come into play. > > This patch

Re: [PATCH v2 1/2] locking: Implement an algorithm choice for Wound-Wait mutexes

2018-06-14 Thread Thomas Hellstrom
On 06/14/2018 03:29 PM, Matthew Wilcox wrote: On Thu, Jun 14, 2018 at 01:54:15PM +0200, Thomas Hellstrom wrote: On 06/14/2018 01:36 PM, Peter Zijlstra wrote: Currently you don't allow mixing WD and WW contexts (which is not immediately obvious from the above code), and the above hard relies on

[PATCH v2] HID: hid-ntrig: add error handling for sysfs_create_group

2018-06-14 Thread Zhouyang Jia
When sysfs_create_group fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling sysfs_create_group. Signed-off-by: Zhouyang Jia --- v1->v2: - Remove goto statement. --- drivers/hid/hid-ntrig.c | 2 ++ 1 file changed, 2

[PATCH v2] HID: hid-ntrig: add error handling for sysfs_create_group

2018-06-14 Thread Zhouyang Jia
When sysfs_create_group fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling sysfs_create_group. Signed-off-by: Zhouyang Jia --- v1->v2: - Remove goto statement. --- drivers/hid/hid-ntrig.c | 2 ++ 1 file changed, 2

Re: [PATCH v4 1/5] sched/topology: Add check to backup comment about hotplug lock

2018-06-14 Thread Juri Lelli
On 14/06/18 09:33, Steven Rostedt wrote: > On Wed, 13 Jun 2018 14:17:07 +0200 > Juri Lelli wrote: > > > From: Mathieu Poirier > > > > The comment above function partition_sched_domains() clearly state that > > the cpu_hotplug_lock should be held but doesn't mandate one to abide to > > it. > >

Re: [PATCH v4 1/5] sched/topology: Add check to backup comment about hotplug lock

2018-06-14 Thread Juri Lelli
On 14/06/18 09:33, Steven Rostedt wrote: > On Wed, 13 Jun 2018 14:17:07 +0200 > Juri Lelli wrote: > > > From: Mathieu Poirier > > > > The comment above function partition_sched_domains() clearly state that > > the cpu_hotplug_lock should be held but doesn't mandate one to abide to > > it. > >

[PATCH] MAINTAINERS: Update email-id of Sinan Kaya

2018-06-14 Thread Sinan Kaya
I'm no longer with QCOM. I am still interested in maintaining or reviewing PCI/DMA engine patches. Update email-id to an active one. Signed-off-by: Sinan Kaya --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 44fb3a1..dd9bd2d

[PATCH] MAINTAINERS: Update email-id of Sinan Kaya

2018-06-14 Thread Sinan Kaya
I'm no longer with QCOM. I am still interested in maintaining or reviewing PCI/DMA engine patches. Update email-id to an active one. Signed-off-by: Sinan Kaya --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 44fb3a1..dd9bd2d

Compliment of the day

2018-06-14 Thread Miss Ebtisam musa ibrahim
My Name is Miss Ebtisam musa Ibrahim.docx Description: MS-Word 2007 document

Compliment of the day

2018-06-14 Thread Miss Ebtisam musa ibrahim
My Name is Miss Ebtisam musa Ibrahim.docx Description: MS-Word 2007 document

Re: [PATCH v4 2/5] sched/topology: Adding function partition_sched_domains_locked()

2018-06-14 Thread Steven Rostedt
On Wed, 13 Jun 2018 14:17:08 +0200 Juri Lelli wrote: > From: Mathieu Poirier > > Introducing function partition_sched_domains_locked() by taking > the mutex locking code out of the original function. That way > the work done by partition_sched_domains_locked() can be reused > without dropping

Re: [PATCH v4 2/5] sched/topology: Adding function partition_sched_domains_locked()

2018-06-14 Thread Steven Rostedt
On Wed, 13 Jun 2018 14:17:08 +0200 Juri Lelli wrote: > From: Mathieu Poirier > > Introducing function partition_sched_domains_locked() by taking > the mutex locking code out of the original function. That way > the work done by partition_sched_domains_locked() can be reused > without dropping

Re: [PATCH v2 00/19] Dynamically load/remove serdev devices via sysfs*

2018-06-14 Thread Johan Hovold
On Thu, Jun 14, 2018 at 01:06:59PM +0200, Ricardo Ribalda Delgado wrote: > Hi Johan > On Thu, Jun 14, 2018 at 12:48 PM Johan Hovold wrote: > > > > Hi Ricardo, > > > > On Mon, Jun 11, 2018 at 01:52:16PM +0200, Ricardo Ribalda Delgado wrote: > > > There are some situations where it is interesting

Re: [PATCH v2 00/19] Dynamically load/remove serdev devices via sysfs*

2018-06-14 Thread Johan Hovold
On Thu, Jun 14, 2018 at 01:06:59PM +0200, Ricardo Ribalda Delgado wrote: > Hi Johan > On Thu, Jun 14, 2018 at 12:48 PM Johan Hovold wrote: > > > > Hi Ricardo, > > > > On Mon, Jun 11, 2018 at 01:52:16PM +0200, Ricardo Ribalda Delgado wrote: > > > There are some situations where it is interesting

<    4   5   6   7   8   9   10   11   12   13   >