Re: [PATCH v4] staging: comedi: Improved readability of function comedi_nsamples_left.

2018-06-14 Thread Chris Opperman
Hi Ian/Dan, In that case I'll stick to the cut-off line format in future. Thanks! Kind Regards, Chris Opperman

Re: [PATCH v4] staging: comedi: Improved readability of function comedi_nsamples_left.

2018-06-14 Thread Chris Opperman
Hi Ian/Dan, In that case I'll stick to the cut-off line format in future. Thanks! Kind Regards, Chris Opperman

Re: [PATCH v5] staging: comedi: Improved readability of function comedi_nsamples_left.

2018-06-14 Thread Chris Opperman
Hi Ian, Thank you! Are there any more steps for me to take to complete this patch process? Kind Regards, Chris Opperman

Re: [PATCH v5] staging: comedi: Improved readability of function comedi_nsamples_left.

2018-06-14 Thread Chris Opperman
Hi Ian, Thank you! Are there any more steps for me to take to complete this patch process? Kind Regards, Chris Opperman

Re: [PATCH 0/3] Some more changes for stack protector config symbols

2018-06-14 Thread Kees Cook
On Thu, Jun 14, 2018 at 3:36 AM, Masahiro Yamada wrote: > Hi Linus, > > While I was checking the renaming commit, > I noticed some more fixups. > > The first two patches take care of what I missed to update. > > The last one is another renaming for consistency. > (Sorry, I should have asked you

Re: [PATCH 0/3] Some more changes for stack protector config symbols

2018-06-14 Thread Kees Cook
On Thu, Jun 14, 2018 at 3:36 AM, Masahiro Yamada wrote: > Hi Linus, > > While I was checking the renaming commit, > I noticed some more fixups. > > The first two patches take care of what I missed to update. > > The last one is another renaming for consistency. > (Sorry, I should have asked you

Re: [PATCH v2 0/4] ALSA: usb-audio: Insertion Control for BADD Adaptors.

2018-06-14 Thread Takashi Iwai
On Thu, 14 Jun 2018 16:05:54 +0200, Jorge Sanjuan wrote: > > Thanks for review! > > Here is what's new in this V2: > - Split the patchset into a more sensible series. > > This patchset adds support for the Insertion Control for BADD devices > (subset of UAC3). > > This control is only

Re: [PATCH v2 0/4] ALSA: usb-audio: Insertion Control for BADD Adaptors.

2018-06-14 Thread Takashi Iwai
On Thu, 14 Jun 2018 16:05:54 +0200, Jorge Sanjuan wrote: > > Thanks for review! > > Here is what's new in this V2: > - Split the patchset into a more sensible series. > > This patchset adds support for the Insertion Control for BADD devices > (subset of UAC3). > > This control is only

Re: [PATCH] selftests: kselftest_harness: return Kselftest Skip code for skipped tests

2018-06-14 Thread Shuah Khan
On 06/13/2018 10:06 PM, Kees Cook wrote: > On Wed, Jun 13, 2018 at 6:34 PM, Shuah Khan (Samsung OSG) > wrote: >> When a test is skipped because of unmet dependencies and/or unsupported >> configuration, kselftest_harness exits with error which is treated as a >> fail by the Kselftest framework.

Re: [PATCH] selftests: kselftest_harness: return Kselftest Skip code for skipped tests

2018-06-14 Thread Shuah Khan
On 06/13/2018 10:06 PM, Kees Cook wrote: > On Wed, Jun 13, 2018 at 6:34 PM, Shuah Khan (Samsung OSG) > wrote: >> When a test is skipped because of unmet dependencies and/or unsupported >> configuration, kselftest_harness exits with error which is treated as a >> fail by the Kselftest framework.

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

2018-06-14 Thread Takashi Iwai
On Thu, 14 Jun 2018 15:51:46 +0200, Zhouyang Jia wrote: > > 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.

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

2018-06-14 Thread Takashi Iwai
On Thu, 14 Jun 2018 15:51:46 +0200, Zhouyang Jia wrote: > > 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.

Re: [PATCH v3] ALSA: sonicvibes: add error handling for snd_ctl_add

2018-06-14 Thread Takashi Iwai
On Thu, 14 Jun 2018 13:41:37 +0200, Zhouyang Jia wrote: > > When snd_ctl_add fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling snd_ctl_add. > > Signed-off-by: Zhouyang Jia > --- > v1->v2: > - Check the return value of

Re: [PATCH v3] ALSA: sonicvibes: add error handling for snd_ctl_add

2018-06-14 Thread Takashi Iwai
On Thu, 14 Jun 2018 13:41:37 +0200, Zhouyang Jia wrote: > > When snd_ctl_add fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling snd_ctl_add. > > Signed-off-by: Zhouyang Jia > --- > v1->v2: > - Check the return value of

Re: [PATCHv3 04/17] mm/page_alloc: Handle allocation for encrypted memory

2018-06-14 Thread Kirill A. Shutemov
On Wed, Jun 13, 2018 at 06:07:40PM +, Dave Hansen wrote: > On 06/12/2018 07:39 AM, Kirill A. Shutemov wrote: > > For encrypted memory, we need to allocated pages for a specific > > encryption KeyID. > > "allocate" ^ > > > There are two cases when we need to allocate a

Re: [PATCHv3 04/17] mm/page_alloc: Handle allocation for encrypted memory

2018-06-14 Thread Kirill A. Shutemov
On Wed, Jun 13, 2018 at 06:07:40PM +, Dave Hansen wrote: > On 06/12/2018 07:39 AM, Kirill A. Shutemov wrote: > > For encrypted memory, we need to allocated pages for a specific > > encryption KeyID. > > "allocate" ^ > > > There are two cases when we need to allocate a

Re: [PATCH 3.18 00/21] 3.18.113-stable review

2018-06-14 Thread Guenter Roeck
On Wed, Jun 13, 2018 at 05:09:11PM -0700, Kevin Hilman wrote: > Greg Kroah-Hartman writes: > > > On Tue, Jun 12, 2018 at 03:08:12PM -0700, kernelci.org bot wrote: > >> stable-rc/linux-3.18.y boot: 52 boots: 28 failed, 18 passed with 1 > >> offline, 5 conflicts (v3.18.112-22-gb0582263e3c9) > >>

Re: [PATCH 3.18 00/21] 3.18.113-stable review

2018-06-14 Thread Guenter Roeck
On Wed, Jun 13, 2018 at 05:09:11PM -0700, Kevin Hilman wrote: > Greg Kroah-Hartman writes: > > > On Tue, Jun 12, 2018 at 03:08:12PM -0700, kernelci.org bot wrote: > >> stable-rc/linux-3.18.y boot: 52 boots: 28 failed, 18 passed with 1 > >> offline, 5 conflicts (v3.18.112-22-gb0582263e3c9) > >>

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

2018-06-14 Thread Johan Hovold
On Thu, Jun 14, 2018 at 05:20:40PM +0200, Ricardo Ribalda Delgado wrote: > Hi Johan, > On Thu, Jun 14, 2018 at 4:55 PM Johan Hovold wrote: > > > > On Thu, Jun 14, 2018 at 04:06:18PM +0200, Ricardo Ribalda Delgado wrote: > > > Hi Johan, > > > On Thu, Jun 14, 2018 at 3:34 PM Johan Hovold wrote: >

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

2018-06-14 Thread Johan Hovold
On Thu, Jun 14, 2018 at 05:20:40PM +0200, Ricardo Ribalda Delgado wrote: > Hi Johan, > On Thu, Jun 14, 2018 at 4:55 PM Johan Hovold wrote: > > > > On Thu, Jun 14, 2018 at 04:06:18PM +0200, Ricardo Ribalda Delgado wrote: > > > Hi Johan, > > > On Thu, Jun 14, 2018 at 3:34 PM Johan Hovold wrote: >

[PATCH v4] dcdbas: Add support for WSMT ACPI table

2018-06-14 Thread Stuart Hayes
If the WSMT ACPI table is present and indicates that a fixed communication buffer should be used, use the firmware-specified buffer instead of allocating a buffer in memory for communications between the dcdbas driver and firmare. Signed-off-by: Stuart Hayes --- v2 Bumped driver version to

[PATCH v4] dcdbas: Add support for WSMT ACPI table

2018-06-14 Thread Stuart Hayes
If the WSMT ACPI table is present and indicates that a fixed communication buffer should be used, use the firmware-specified buffer instead of allocating a buffer in memory for communications between the dcdbas driver and firmare. Signed-off-by: Stuart Hayes --- v2 Bumped driver version to

[PATCH 3/3] ds2490.c: Move struct open braces to previous line

2018-06-14 Thread Henriette Hofmeier
Move open braces of two structs to the declaration line, as criticized by checkpatch. Signed-off-by: Henriette Hofmeier Signed-off-by: Florian Harbecke --- drivers/w1/masters/ds2490.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/w1/masters/ds2490.c

[PATCH 3/3] ds2490.c: Move struct open braces to previous line

2018-06-14 Thread Henriette Hofmeier
Move open braces of two structs to the declaration line, as criticized by checkpatch. Signed-off-by: Henriette Hofmeier Signed-off-by: Florian Harbecke --- drivers/w1/masters/ds2490.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/w1/masters/ds2490.c

Re: [RFC V2 3/3] perf: qcom: Add Falkor CPU PMU IMPLEMENTATION DEFINED event support

2018-06-14 Thread Agustin Vega-Frias
Hi, On 2018-06-13 09:02, Will Deacon wrote: On Wed, Jun 13, 2018 at 01:59:58PM +0100, Marc Zyngier wrote: On 13/06/18 11:35, Will Deacon wrote: [...] > Great :( We need to make sure we disable EL0 access during boot then, but > that means we need to prove for the existence of this thing in

Re: [RFC V2 3/3] perf: qcom: Add Falkor CPU PMU IMPLEMENTATION DEFINED event support

2018-06-14 Thread Agustin Vega-Frias
Hi, On 2018-06-13 09:02, Will Deacon wrote: On Wed, Jun 13, 2018 at 01:59:58PM +0100, Marc Zyngier wrote: On 13/06/18 11:35, Will Deacon wrote: [...] > Great :( We need to make sure we disable EL0 access during boot then, but > that means we need to prove for the existence of this thing in

[PATCH 1/3] ds2490.c: Add required spaces

2018-06-14 Thread Henriette Hofmeier
Add missing spaces in for- and while-loops reported missing by checkpatch. Signed-off-by: Henriette Hofmeier Signed-off-by: Florian Harbecke --- drivers/w1/masters/ds2490.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/w1/masters/ds2490.c

[PATCH 1/3] ds2490.c: Add required spaces

2018-06-14 Thread Henriette Hofmeier
Add missing spaces in for- and while-loops reported missing by checkpatch. Signed-off-by: Henriette Hofmeier Signed-off-by: Florian Harbecke --- drivers/w1/masters/ds2490.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/w1/masters/ds2490.c

[PATCH 2/3] ds2490.c: Remove unnecessary whitespace

2018-06-14 Thread Henriette Hofmeier
Remove unnecessary whitespace criticized by checkpatch. Signed-off-by: Henriette Hofmeier Signed-off-by: Florian Harbecke --- drivers/w1/masters/ds2490.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/masters/ds2490.c b/drivers/w1/masters/ds2490.c index

[PATCH 2/3] ds2490.c: Remove unnecessary whitespace

2018-06-14 Thread Henriette Hofmeier
Remove unnecessary whitespace criticized by checkpatch. Signed-off-by: Henriette Hofmeier Signed-off-by: Florian Harbecke --- drivers/w1/masters/ds2490.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/masters/ds2490.c b/drivers/w1/masters/ds2490.c index

[PATCH 0/3] drivers/w1/masters/ds2490: Correct errors reported by checkpatch

2018-06-14 Thread Henriette Hofmeier
Remove unnecessary spaces, add required spaced and move braces to fix errors reported by checkpatch. Henriette Hofmeier (3): ds2490.c: Add required spaces ds2490.c: Remove unnecessary whitespace ds2490.c: Move struct open braces to previous line drivers/w1/masters/ds2490.c | 16

[PATCH 0/3] drivers/w1/masters/ds2490: Correct errors reported by checkpatch

2018-06-14 Thread Henriette Hofmeier
Remove unnecessary spaces, add required spaced and move braces to fix errors reported by checkpatch. Henriette Hofmeier (3): ds2490.c: Add required spaces ds2490.c: Remove unnecessary whitespace ds2490.c: Move struct open braces to previous line drivers/w1/masters/ds2490.c | 16

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 4:55 PM Johan Hovold wrote: > > On Thu, Jun 14, 2018 at 04:06:18PM +0200, Ricardo Ribalda Delgado wrote: > > Hi Johan, > > On Thu, Jun 14, 2018 at 3:34 PM Johan Hovold wrote: > > > > And there are more issues with the series which are less apparent than > > >

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 4:55 PM Johan Hovold wrote: > > On Thu, Jun 14, 2018 at 04:06:18PM +0200, Ricardo Ribalda Delgado wrote: > > Hi Johan, > > On Thu, Jun 14, 2018 at 3:34 PM Johan Hovold wrote: > > > > And there are more issues with the series which are less apparent than > > >

[PATCH v7 4/4] MAINTAINERS: Add entry for the Qualcomm BMS

2018-06-14 Thread Craig Tatlor
Signed-off-by: Craig Tatlor --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c125f705f78..be485caf9313 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11646,6 +11646,12 @@ W: http://wireless.kernel.org/en/users/Drivers/ath9k S:

[PATCH v7 4/4] MAINTAINERS: Add entry for the Qualcomm BMS

2018-06-14 Thread Craig Tatlor
Signed-off-by: Craig Tatlor --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9c125f705f78..be485caf9313 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11646,6 +11646,12 @@ W: http://wireless.kernel.org/en/users/Drivers/ath9k S:

[PATCH v7 3/4] dt-bindings: power: supply: qcom_bms: Add bindings

2018-06-14 Thread Craig Tatlor
Add bindings for the Qualcomm Battery Monitoring system. Signed-off-by: Craig Tatlor Reviewed-by: Rob Herring --- * Changes from v6: s/celcius/celsius change uah to uAh. * Changes from v5:

[PATCH v7 3/4] dt-bindings: power: supply: qcom_bms: Add bindings

2018-06-14 Thread Craig Tatlor
Add bindings for the Qualcomm Battery Monitoring system. Signed-off-by: Craig Tatlor Reviewed-by: Rob Herring --- * Changes from v6: s/celcius/celsius change uah to uAh. * Changes from v5:

[PATCH v7 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-06-14 Thread Craig Tatlor
This patch adds a driver for the BMS (Battery Monitoring System) block of the PM8941 PMIC, it uses a lookup table defined in the device tree to generate a capacity from the BMS supplied OCV, it then amends the coulomb counter to that to increase the accuracy of the estimated capacity.

[PATCH v7 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-06-14 Thread Craig Tatlor
This patch adds a driver for the BMS (Battery Monitoring System) block of the PM8941 PMIC, it uses a lookup table defined in the device tree to generate a capacity from the BMS supplied OCV, it then amends the coulomb counter to that to increase the accuracy of the estimated capacity.

[PATCH v7 1/4] fixp-arith: add a linear interpolation function

2018-06-14 Thread Craig Tatlor
Adds a function to interpolate against two points, this is carried arount as a helper function by tons of drivers. Signed-off-by: Craig Tatlor Reviewed-by: Linus Walleij --- include/linux/fixp-arith.h | 20 1 file changed, 20 insertions(+) diff --git

[PATCH v7 1/4] fixp-arith: add a linear interpolation function

2018-06-14 Thread Craig Tatlor
Adds a function to interpolate against two points, this is carried arount as a helper function by tons of drivers. Signed-off-by: Craig Tatlor Reviewed-by: Linus Walleij --- include/linux/fixp-arith.h | 20 1 file changed, 20 insertions(+) diff --git

Re: Restartable Sequences system call merged into Linux

2018-06-14 Thread Mathieu Desnoyers
- On Jun 14, 2018, at 10:41 AM, Florian Weimer fwei...@redhat.com wrote: > On 06/14/2018 04:36 PM, Mathieu Desnoyers wrote: >> - On Jun 14, 2018, at 10:00 AM, Florian Weimer fwei...@redhat.com wrote: >> >>> On 06/14/2018 03:49 PM, Pavel Machek wrote: Hi! >>> -

Re: Restartable Sequences system call merged into Linux

2018-06-14 Thread Mathieu Desnoyers
- On Jun 14, 2018, at 10:41 AM, Florian Weimer fwei...@redhat.com wrote: > On 06/14/2018 04:36 PM, Mathieu Desnoyers wrote: >> - On Jun 14, 2018, at 10:00 AM, Florian Weimer fwei...@redhat.com wrote: >> >>> On 06/14/2018 03:49 PM, Pavel Machek wrote: Hi! >>> -

Re: linux-next: Tree for Jun 4 (fs/afs/)

2018-06-14 Thread David Howells
Randy Dunlap wrote: > ../fs/afs/proc.c:604:2: error: implicit declaration of function > ‘proc_create_net_data_write’ [-Werror=implicit-function-declaration] I've given Al a patch for this. David

Re: linux-next: Tree for Jun 4 (fs/afs/)

2018-06-14 Thread David Howells
Randy Dunlap wrote: > ../fs/afs/proc.c:604:2: error: implicit declaration of function > ‘proc_create_net_data_write’ [-Werror=implicit-function-declaration] I've given Al a patch for this. David

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

2018-06-14 Thread Matt Sealey
Hi Rob, To take this in a somewhat different direction... > > No, the above comment is about using "unit" ( if it is a standard > > property for specifying something specific to hardware) instead of > > "coresight,hwid". I would prefer to stick to the DT graph bindings, > > because : > > "unit"

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

2018-06-14 Thread Matt Sealey
Hi Rob, To take this in a somewhat different direction... > > No, the above comment is about using "unit" ( if it is a standard > > property for specifying something specific to hardware) instead of > > "coresight,hwid". I would prefer to stick to the DT graph bindings, > > because : > > "unit"

[PATCH 4.17 11/45] usbip: vhci_sysfs: fix potential Spectre v1

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit a0d6ec88090d7b1b008429c44532a388e29bb1bd upstream. pdev_nr and rhport can be controlled by user-space, hence leading to a potential exploitation of the Spectre

[PATCH 4.17 11/45] usbip: vhci_sysfs: fix potential Spectre v1

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit a0d6ec88090d7b1b008429c44532a388e29bb1bd upstream. pdev_nr and rhport can be controlled by user-space, hence leading to a potential exploitation of the Spectre

[PATCH 4.17 10/45] NFC: pn533: dont send USB data off of the stack

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit dbafc28955fa6779dc23d1607a0fee5e509a278b upstream. It's amazing that this driver ever worked, but now that x86 doesn't allow USB data to be sent off of the stack, it

[PATCH 4.17 10/45] NFC: pn533: dont send USB data off of the stack

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit dbafc28955fa6779dc23d1607a0fee5e509a278b upstream. It's amazing that this driver ever worked, but now that x86 doesn't allow USB data to be sent off of the stack, it

[PATCH 4.17 13/45] usb-storage: Add compatibility quirk flags for G-Technologies G-Drive

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 ca7d9515d0e6825351ce106066cea1f60e40b1c8 upstream. The "G-Drive" (sold by G-Technology) external USB 3.0 drive hangs on write access under UAS and usb-storage: [

[PATCH 4.17 13/45] usb-storage: Add compatibility quirk flags for G-Technologies G-Drive

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 ca7d9515d0e6825351ce106066cea1f60e40b1c8 upstream. The "G-Drive" (sold by G-Technology) external USB 3.0 drive hangs on write access under UAS and usb-storage: [

Re: [PATCH 1/3] perf alias: Remove trailing newline when reading sysfs files

2018-06-14 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 14, 2018 at 01:48:43PM +0200, Thomas Richter escreveu: > Remove a trailing newline when reading sysfs file contents > + /* Remove trailing newline from sysfs file */ > + cp = strrchr(buf, '\n'); > + if (cp) > + *cp = '\0'; > + We have rtrim() - Arnaldo

Re: [PATCH 1/3] perf alias: Remove trailing newline when reading sysfs files

2018-06-14 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 14, 2018 at 01:48:43PM +0200, Thomas Richter escreveu: > Remove a trailing newline when reading sysfs file contents > + /* Remove trailing newline from sysfs file */ > + cp = strrchr(buf, '\n'); > + if (cp) > + *cp = '\0'; > + We have rtrim() - Arnaldo

[PATCH 4.17 16/45] usb: core: message: remove extra endianness conversion in usb_set_isoch_delay

2018-06-14 Thread Greg Kroah-Hartman
4.17-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.17 16/45] usb: core: message: remove extra endianness conversion in usb_set_isoch_delay

2018-06-14 Thread Greg Kroah-Hartman
4.17-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.17 14/45] Input: xpad - add GPD Win 2 Controller USB IDs

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 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 14/45] Input: xpad - add GPD Win 2 Controller USB IDs

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 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 18/45] usb: gadget: function: printer: avoid wrong list handling in printer_write()

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 4a014a7339f441b0851ce012f469c0fadac61c81 upstream. When printer_write() calls usb_ep_queue(), a udc driver (e.g. renesas_usbhs driver) may call

[PATCH 4.17 18/45] usb: gadget: function: printer: avoid wrong list handling in printer_write()

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 4a014a7339f441b0851ce012f469c0fadac61c81 upstream. When printer_write() calls usb_ep_queue(), a udc driver (e.g. renesas_usbhs driver) may call

[PATCH 4.17 05/45] kvm: fix typo in flag name

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin commit 766d3571d8e50d3a73b77043dc632226f9e6b389 upstream. KVM_X86_DISABLE_EXITS_HTL really refers to exit on halt. Obviously a typo: should be named

[PATCH 4.17 05/45] kvm: fix typo in flag name

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin commit 766d3571d8e50d3a73b77043dc632226f9e6b389 upstream. KVM_X86_DISABLE_EXITS_HTL really refers to exit on halt. Obviously a typo: should be named

[PATCH v2 0/4] ALSA: usb-audio: Insertion Control for BADD Adaptors.

2018-06-14 Thread Jorge Sanjuan
Thanks for review! Here is what's new in this V2: - Split the patchset into a more sensible series. This patchset adds support for the Insertion Control for BADD devices (subset of UAC3). This control is only pressent in the HEADSET ADAPTER BADD profile. The USB interrupt pipe shall be present

[PATCH v2 0/4] ALSA: usb-audio: Insertion Control for BADD Adaptors.

2018-06-14 Thread Jorge Sanjuan
Thanks for review! Here is what's new in this V2: - Split the patchset into a more sensible series. This patchset adds support for the Insertion Control for BADD devices (subset of UAC3). This control is only pressent in the HEADSET ADAPTER BADD profile. The USB interrupt pipe shall be present

[PATCH v2 2/4] ALSA: usb-audio: Change in connectors control creation interface

2018-06-14 Thread Jorge Sanjuan
Change build_connector_control() and get_connector_control_name() so they take `struct usb_mixer_interface` as input argument instead of `struct mixer_build`. This is preliminary work to add support for connectors control for UAC3 BADD devices. No functional change. Signed-off-by: Jorge Sanjuan

[PATCH v2 2/4] ALSA: usb-audio: Change in connectors control creation interface

2018-06-14 Thread Jorge Sanjuan
Change build_connector_control() and get_connector_control_name() so they take `struct usb_mixer_interface` as input argument instead of `struct mixer_build`. This is preliminary work to add support for connectors control for UAC3 BADD devices. No functional change. Signed-off-by: Jorge Sanjuan

[PATCH 4.17 06/45] kvm: nVMX: Enforce cpl=0 for VMX instructions

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Felix Wilhelm commit 727ba748e110b4de50d142edca9d6a9b7e6111d8 upstream. VMX instructions executed inside a L1 VM will always trigger a VM exit even when executed with cpl 3. This means we

[PATCH 4.17 06/45] kvm: nVMX: Enforce cpl=0 for VMX instructions

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Felix Wilhelm commit 727ba748e110b4de50d142edca9d6a9b7e6111d8 upstream. VMX instructions executed inside a L1 VM will always trigger a VM exit even when executed with cpl 3. This means we

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

2018-06-14 Thread Johan Hovold
On Thu, Jun 14, 2018 at 04:06:18PM +0200, Ricardo Ribalda Delgado wrote: > Hi Johan, > On Thu, Jun 14, 2018 at 3:34 PM Johan Hovold wrote: > > And there are more issues with the series which are less apparent than > > the rx (and partial tx) regression. > > Any hints about this? What else

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

2018-06-14 Thread Johan Hovold
On Thu, Jun 14, 2018 at 04:06:18PM +0200, Ricardo Ribalda Delgado wrote: > Hi Johan, > On Thu, Jun 14, 2018 at 3:34 PM Johan Hovold wrote: > > And there are more issues with the series which are less apparent than > > the rx (and partial tx) regression. > > Any hints about this? What else

[PATCH 4.17 07/45] KVM: x86: pass kvm_vcpu to kvm_read_guest_virt and kvm_write_guest_virt_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 ce14e868a54edeb2e30cb7a7b104a2fc4b9d76ca upstream. Int the next patch the emulator's .read_std and .write_std callbacks will grow another argument, which is not needed in

[PATCH 4.17 07/45] KVM: x86: pass kvm_vcpu to kvm_read_guest_virt and kvm_write_guest_virt_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 ce14e868a54edeb2e30cb7a7b104a2fc4b9d76ca upstream. Int the next patch the emulator's .read_std and .write_std callbacks will grow another argument, which is not needed in

Re: [PATCH v3 4/6] thermal: tsens: Add support for SDM845

2018-06-14 Thread Amit Kucheria
Hi Rob, Thanks for the review. On Thu, Jun 14, 2018 at 5:21 PM Rob Herring wrote: > > On Thu, Jun 14, 2018 at 4:43 AM, Amit Kucheria > wrote: > > SDM845 uses the TSENS v2 IP block > > > > Signed-off-by: Amit Kucheria > > --- > > Documentation/devicetree/bindings/thermal/qcom-tsens.txt | 1 +

Re: [PATCH v3 4/6] thermal: tsens: Add support for SDM845

2018-06-14 Thread Amit Kucheria
Hi Rob, Thanks for the review. On Thu, Jun 14, 2018 at 5:21 PM Rob Herring wrote: > > On Thu, Jun 14, 2018 at 4:43 AM, Amit Kucheria > wrote: > > SDM845 uses the TSENS v2 IP block > > > > Signed-off-by: Amit Kucheria > > --- > > Documentation/devicetree/bindings/thermal/qcom-tsens.txt | 1 +

[PATCH 4.17 08/45] kvm: x86: use correct privilege level for sgdt/sidt/fxsave/fxrstor access

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 3c9fa24ca7c9c47605672916491f79e8ccacb9e6 upstream. The functions that were used in the emulation of fxrstor, fxsave, sgdt and sidt were originally meant for task

[PATCH 4.17 08/45] kvm: x86: use correct privilege level for sgdt/sidt/fxsave/fxrstor access

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 3c9fa24ca7c9c47605672916491f79e8ccacb9e6 upstream. The functions that were used in the emulation of fxrstor, fxsave, sgdt and sidt were originally meant for task

[PATCH v2 4/4] ALSA: usb-audio: Always create the interrupt pipe for the mixer

2018-06-14 Thread Jorge Sanjuan
An UAC3 BADD device may also include an interrupt status pipe to report changes on the HEADSET ADAPTER terminals. The creation of the status pipe is dependent on the device reporting that it has it. Signed-off-by: Jorge Sanjuan --- sound/usb/mixer.c | 8 +--- 1 file changed, 5

[PATCH v2 4/4] ALSA: usb-audio: Always create the interrupt pipe for the mixer

2018-06-14 Thread Jorge Sanjuan
An UAC3 BADD device may also include an interrupt status pipe to report changes on the HEADSET ADAPTER terminals. The creation of the status pipe is dependent on the device reporting that it has it. Signed-off-by: Jorge Sanjuan --- sound/usb/mixer.c | 8 +--- 1 file changed, 5

[PATCH 4.17 00/45] 4.17.2-stable review

2018-06-14 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.17.2 release. There are 45 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat Jun 16 13:21:05 UTC 2018. Anything

[PATCH 4.17 00/45] 4.17.2-stable review

2018-06-14 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.17.2 release. There are 45 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat Jun 16 13:21:05 UTC 2018. Anything

[PATCH 4.17 20/45] usb: gadget: udc: renesas_usb3: should remove debugfs

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 1990cf7c21ea185cec98c6d45a82c04481261e35 upstream. This patch fixes an issue that this driver doesn't remove its debugfs. Fixes: 43ba968b00ea ("usb: gadget: udc:

[PATCH 4.17 20/45] usb: gadget: udc: renesas_usb3: should remove debugfs

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 1990cf7c21ea185cec98c6d45a82c04481261e35 upstream. This patch fixes an issue that this driver doesn't remove its debugfs. Fixes: 43ba968b00ea ("usb: gadget: udc:

[PATCH 4.17 32/45] tty: pl011: Avoid spuriously stuck-off interrupts

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit 4a7e625ce50412a7711efa0f2ef0b96ce3826759 upstream. Commit 9b96fbacda34 ("serial: PL011: clear pending interrupts") clears the RX and receive timeout interrupts on pl011

[PATCH 4.17 32/45] tty: pl011: Avoid spuriously stuck-off interrupts

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit 4a7e625ce50412a7711efa0f2ef0b96ce3826759 upstream. Commit 9b96fbacda34 ("serial: PL011: clear pending interrupts") clears the RX and receive timeout interrupts on pl011

[PATCH 4.17 31/45] arm64: defconfig: Enable CONFIG_PINCTRL_MT7622 by default

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sean Wang commit 1e31927aa64545ee97a2a41db9984c9931afc50a upstream. Recently kernelCI reported the board mt7622-rfb1 has a fail test with kernel: ERROR: did not start booting whose details

[PATCH 4.17 31/45] arm64: defconfig: Enable CONFIG_PINCTRL_MT7622 by default

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Sean Wang commit 1e31927aa64545ee97a2a41db9984c9931afc50a upstream. Recently kernelCI reported the board mt7622-rfb1 has a fail test with kernel: ERROR: did not start booting whose details

[PATCH 4.17 33/45] crypto: ccree - correct host regs offset

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gilad Ben-Yossef commit 281a58c8326ca62ca6341f9d2cc2eb08044670e8 upstream. The product signature and HW revision register have different offset on the older HW revisions. This fixes the

[PATCH 4.17 33/45] crypto: ccree - correct host regs offset

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Gilad Ben-Yossef commit 281a58c8326ca62ca6341f9d2cc2eb08044670e8 upstream. The product signature and HW revision register have different offset on the older HW revisions. This fixes the

Re: [RFC Patch 3/3] KVM/x86: Add tlb_remote_flush callback support for vmcs

2018-06-14 Thread Tianyu Lan
On 6/14/2018 6:33 PM, Vitaly Kuznetsov wrote: > Tianyu Lan writes: > >> On 6/12/2018 11:12 PM, Vitaly Kuznetsov wrote: >>> Tianyu Lan writes: >>> +static int vmx_remote_flush_tlb(struct kvm *kvm) +{ + struct kvm_vcpu *vcpu = kvm_get_vcpu(kvm, 0); + + if

Re: [RFC Patch 3/3] KVM/x86: Add tlb_remote_flush callback support for vmcs

2018-06-14 Thread Tianyu Lan
On 6/14/2018 6:33 PM, Vitaly Kuznetsov wrote: > Tianyu Lan writes: > >> On 6/12/2018 11:12 PM, Vitaly Kuznetsov wrote: >>> Tianyu Lan writes: >>> +static int vmx_remote_flush_tlb(struct kvm *kvm) +{ + struct kvm_vcpu *vcpu = kvm_get_vcpu(kvm, 0); + + if

[PATCH 4.17 35/45] Input: elan_i2c - add ELAN0612 (Lenovo v330 14IKB) ACPI ID

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Wienke commit e6e7e9cd8eed0e18217c899843bffbe8c7dae564 upstream. Add ELAN0612 to the list of supported touchpads; this ID is used in Lenovo v330 14IKB devices. Bugzilla:

Re: [PATCH v6 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-06-14 Thread Linus Walleij
On Wed, Jun 13, 2018 at 6:06 PM, Craig Tatlor wrote: > This patch adds a driver for the BMS (Battery Monitoring System) > block of the PM8941 PMIC, it uses a lookup table defined in the > device tree to generate a capacity from the BMS supplied OCV, it > then amends the coulomb counter to that

[PATCH 4.17 35/45] Input: elan_i2c - add ELAN0612 (Lenovo v330 14IKB) ACPI ID

2018-06-14 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Wienke commit e6e7e9cd8eed0e18217c899843bffbe8c7dae564 upstream. Add ELAN0612 to the list of supported touchpads; this ID is used in Lenovo v330 14IKB devices. Bugzilla:

Re: [PATCH v6 2/4] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-06-14 Thread Linus Walleij
On Wed, Jun 13, 2018 at 6:06 PM, Craig Tatlor wrote: > This patch adds a driver for the BMS (Battery Monitoring System) > block of the PM8941 PMIC, it uses a lookup table defined in the > device tree to generate a capacity from the BMS supplied OCV, it > then amends the coulomb counter to that

[PATCH 4.17 42/45] crypto: cavium - Limit result reading attempts

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 c782a8c43e94ba6c09e9de2d69b5e3a5840ce61c upstream. After issuing a request an endless loop was used to read the completion state from memory which is asynchronously updated

[PATCH 4.17 42/45] crypto: cavium - Limit result reading attempts

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 c782a8c43e94ba6c09e9de2d69b5e3a5840ce61c upstream. After issuing a request an endless loop was used to read the completion state from memory which is asynchronously updated

Re: Requirement to get BAR pci_bus_address in user space

2018-06-14 Thread Christoph Hellwig
On Thu, Jun 14, 2018 at 08:50:15AM -0600, Alex Williamson wrote: > I don't understand the CQ vs CMB, but I think I gather that there's some > sort of buffer that's allocated from within the devices MMIO BAR and > some programming of the device needs to reference that buffer. > Wouldn't you

Re: Requirement to get BAR pci_bus_address in user space

2018-06-14 Thread Christoph Hellwig
On Thu, Jun 14, 2018 at 08:50:15AM -0600, Alex Williamson wrote: > I don't understand the CQ vs CMB, but I think I gather that there's some > sort of buffer that's allocated from within the devices MMIO BAR and > some programming of the device needs to reference that buffer. > Wouldn't you

<    1   2   3   4   5   6   7   8   9   10   >