Re: [PATCH] perf test record+probe_libc_inet_pton: expect [unknown] for ping as well

2018-06-30 Thread Li Zhijian
On 06/29/2018 11:17 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 28, 2018 at 03:16:00PM +0800, Li Zhijian escreveu: On system which has not installed debuginfo of iputils(ping) will fail like: ~/lkp/linux/tools/perf$ sudo ./perf test ping -v I think that we should try to check if the

Re: [PATCH] perf test record+probe_libc_inet_pton: expect [unknown] for ping as well

2018-06-30 Thread Li Zhijian
On 06/29/2018 11:17 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 28, 2018 at 03:16:00PM +0800, Li Zhijian escreveu: On system which has not installed debuginfo of iputils(ping) will fail like: ~/lkp/linux/tools/perf$ sudo ./perf test ping -v I think that we should try to check if the

[PATCH 2/2] x86/intel_rdt: cpu information accessible for pseudo-locked regions

2018-06-30 Thread Reinette Chatre
When a resource group enters pseudo-locksetup mode it reflects that the platform supports cache pseudo-locking and the resource group is unused, ready to be used for a pseudo-locked region. Until it is set up as a pseudo-locked region the resource group is "locked down" such that no new tasks or

[PATCH 0/2] x86/intel_rdt: Display CPUs associated with pseudo-locked region

2018-06-30 Thread Reinette Chatre
Dear Maintainers, The cpus and cpus_list resctrl files are locked down when the resource group enters pseudo-locksetup mode and remains locked down when the resource group transitions to pseudo-locked mode. This was done to ensure a resource group in pseudo-locksetup mode is and remain unused

[PATCH 2/2] x86/intel_rdt: cpu information accessible for pseudo-locked regions

2018-06-30 Thread Reinette Chatre
When a resource group enters pseudo-locksetup mode it reflects that the platform supports cache pseudo-locking and the resource group is unused, ready to be used for a pseudo-locked region. Until it is set up as a pseudo-locked region the resource group is "locked down" such that no new tasks or

[PATCH 0/2] x86/intel_rdt: Display CPUs associated with pseudo-locked region

2018-06-30 Thread Reinette Chatre
Dear Maintainers, The cpus and cpus_list resctrl files are locked down when the resource group enters pseudo-locksetup mode and remains locked down when the resource group transitions to pseudo-locked mode. This was done to ensure a resource group in pseudo-locksetup mode is and remain unused

[PATCH 1/2] x86/intel_rdt: Support restoration of subset of permissions

2018-06-30 Thread Reinette Chatre
As the mode of a resource group changes, the operations it can support may also change. One way in which the supported operations are managed is to modify the permissions of the files within the resource group's resctrl directory. At the moment only two possible permissions are supported: the

[PATCH 1/2] x86/intel_rdt: Support restoration of subset of permissions

2018-06-30 Thread Reinette Chatre
As the mode of a resource group changes, the operations it can support may also change. One way in which the supported operations are managed is to modify the permissions of the files within the resource group's resctrl directory. At the moment only two possible permissions are supported: the

[PATCH 1/2] x86/intel_rdt: Move pseudo_lock_region_clear

2018-06-30 Thread Reinette Chatre
The pseudo_lock_region_clear() function is moved to earlier in the file in preparation for its use in functions that currently appear before it. No functional change. Signed-off-by: Reinette Chatre --- arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 46 ++--- 1 file changed, 23

[PATCH 1/2] x86/intel_rdt: Move pseudo_lock_region_clear

2018-06-30 Thread Reinette Chatre
The pseudo_lock_region_clear() function is moved to earlier in the file in preparation for its use in functions that currently appear before it. No functional change. Signed-off-by: Reinette Chatre --- arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c | 46 ++--- 1 file changed, 23

[PATCH 0/2] x86/intel_rdt: Fix cache pseudo-locking error path cleanup

2018-06-30 Thread Reinette Chatre
Dear Maintainers, A bug exists in the error handling code during pseudo-lock region creation. When an error occurs early during pseudo-lock region creation the pseudo_lock_region struct is not cleaned up properly but remains associated with the resource group (since it remains in pseudo-locksetup

[PATCH 0/2] x86/intel_rdt: Fix cache pseudo-locking error path cleanup

2018-06-30 Thread Reinette Chatre
Dear Maintainers, A bug exists in the error handling code during pseudo-lock region creation. When an error occurs early during pseudo-lock region creation the pseudo_lock_region struct is not cleaned up properly but remains associated with the resource group (since it remains in pseudo-locksetup

[PATCH 2/2] x86/intel_rdt: Fix cleanup of plr structure on error

2018-06-30 Thread Reinette Chatre
When a resource group enters pseudo-locksetup mode a pseudo_lock_region is associated with it. When the user writes to the resource group's schemata file the CBM of the requested pseudo-locked region is entered into the pseudo_lock_region struct. If any part of pseudo-lock region creation fails

[PATCH 2/2] x86/intel_rdt: Fix cleanup of plr structure on error

2018-06-30 Thread Reinette Chatre
When a resource group enters pseudo-locksetup mode a pseudo_lock_region is associated with it. When the user writes to the resource group's schemata file the CBM of the requested pseudo-locked region is entered into the pseudo_lock_region struct. If any part of pseudo-lock region creation fails

Re: [PATCH v3 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-06-30 Thread Peter Rosin
On June 30, 2018 3:33:29 PM GMT+02:00, Manivannan Sadhasivam wrote: >Add Actions Semiconductor Owl family S900 I2C driver. > >Signed-off-by: Manivannan Sadhasivam >--- > drivers/i2c/busses/Kconfig | 7 + > drivers/i2c/busses/Makefile | 1 + > drivers/i2c/busses/i2c-owl.c | 477

Re: [PATCH v3 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-06-30 Thread Peter Rosin
On June 30, 2018 3:33:29 PM GMT+02:00, Manivannan Sadhasivam wrote: >Add Actions Semiconductor Owl family S900 I2C driver. > >Signed-off-by: Manivannan Sadhasivam >--- > drivers/i2c/busses/Kconfig | 7 + > drivers/i2c/busses/Makefile | 1 + > drivers/i2c/busses/i2c-owl.c | 477

Re: [PATCH v2] PCI/AER: Fix aerdrv loading with "pcie_ports=native" parameter

2018-06-30 Thread Alex G
On 06/30/2018 04:31 PM, Bjorn Helgaas wrote: [+cc Borislav, linux-acpi, since this involves APEI/HEST] Borislav is not the relevant maintainer here, since we're not contingent on APEI handling. I think Keith has a lot more experience with this part of the kernel. On Tue, Jun 19, 2018 at

Re: [PATCH v2] PCI/AER: Fix aerdrv loading with "pcie_ports=native" parameter

2018-06-30 Thread Alex G
On 06/30/2018 04:31 PM, Bjorn Helgaas wrote: [+cc Borislav, linux-acpi, since this involves APEI/HEST] Borislav is not the relevant maintainer here, since we're not contingent on APEI handling. I think Keith has a lot more experience with this part of the kernel. On Tue, Jun 19, 2018 at

Re: [PATCH v2] iio: humidity: hts221: Fix sensor reads after resume

2018-06-30 Thread Shrirang Bagul
On Thu, 2018-06-28 at 11:05 +0200, Lorenzo Bianconi wrote: > > AV_CONF register (RH & TEMP. oversampling ratio's) and CTRL1 register > > (ODR & BDU settings) values are lost after suspend. > > > > While the change in AV_CONF updates the sensor resolution modes > > (overriding the user

Re: [PATCH v2] iio: humidity: hts221: Fix sensor reads after resume

2018-06-30 Thread Shrirang Bagul
On Thu, 2018-06-28 at 11:05 +0200, Lorenzo Bianconi wrote: > > AV_CONF register (RH & TEMP. oversampling ratio's) and CTRL1 register > > (ODR & BDU settings) values are lost after suspend. > > > > While the change in AV_CONF updates the sensor resolution modes > > (overriding the user

/tmp/ccqW4TZ5.s:35: Error: .err encountered

2018-06-30 Thread kbuild test robot
Hi Dmitry, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 883c9ab9eb595f8542d01e55d29a346c8d96862e commit: 758517202bd2e427664857c9f2aa59da36848aca arm: port KCOV to arm date: 2 weeks ago config: arm-allmodconfig

/tmp/ccqW4TZ5.s:35: Error: .err encountered

2018-06-30 Thread kbuild test robot
Hi Dmitry, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 883c9ab9eb595f8542d01e55d29a346c8d96862e commit: 758517202bd2e427664857c9f2aa59da36848aca arm: port KCOV to arm date: 2 weeks ago config: arm-allmodconfig

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Linus Torvalds
On Sat, Jun 30, 2018 at 8:42 PM Benjamin Herrenschmidt wrote: > > But what if something *else* still holds a reference to the kobject ? > It could be anything really... t But that's fine. Then the object will continue to exist, and the sysfs file will continue to exist, and you won't get a new

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Linus Torvalds
On Sat, Jun 30, 2018 at 8:42 PM Benjamin Herrenschmidt wrote: > > But what if something *else* still holds a reference to the kobject ? > It could be anything really... t But that's fine. Then the object will continue to exist, and the sysfs file will continue to exist, and you won't get a new

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Benjamin Herrenschmidt
(This is a resend with lkml added for background & archival purposes) On Sat, 2018-06-30 at 12:29 -0700, Linus Torvalds wrote: > On Thu, Jun 28, 2018 at 7:19 PM Benjamin Herrenschmidt > wrote: > > > > For devices with a class, we create a "glue" directory between > > the parent device and the

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Benjamin Herrenschmidt
(This is a resend with lkml added for background & archival purposes) On Sat, 2018-06-30 at 12:29 -0700, Linus Torvalds wrote: > On Thu, Jun 28, 2018 at 7:19 PM Benjamin Herrenschmidt > wrote: > > > > For devices with a class, we create a "glue" directory between > > the parent device and the

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Benjamin Herrenschmidt
On Sat, 2018-06-30 at 19:18 -0700, Linus Torvalds wrote: > On Sat, Jun 30, 2018 at 7:07 PM Linus Torvalds > wrote: > > > > Those locks won't protect kobj races in _general_ (ie there is no > > locking between two totally unrelated buses), but they *should* > > serialize the case of a device

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Benjamin Herrenschmidt
On Sat, 2018-06-30 at 19:18 -0700, Linus Torvalds wrote: > On Sat, Jun 30, 2018 at 7:07 PM Linus Torvalds > wrote: > > > > Those locks won't protect kobj races in _general_ (ie there is no > > locking between two totally unrelated buses), but they *should* > > serialize the case of a device

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Benjamin Herrenschmidt
On Sat, 2018-06-30 at 19:07 -0700, Linus Torvalds wrote: > [ Ben - feel free to post the missing emails to lkml too ] > > On Sat, Jun 30, 2018 at 6:56 PM Benjamin Herrenschmidt > wrote: > > > > On Sat, 2018-06-30 at 12:29 -0700, Linus Torvalds wrote: > > > > > > Because normally, the last

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Benjamin Herrenschmidt
On Sat, 2018-06-30 at 19:07 -0700, Linus Torvalds wrote: > [ Ben - feel free to post the missing emails to lkml too ] > > On Sat, Jun 30, 2018 at 6:56 PM Benjamin Herrenschmidt > wrote: > > > > On Sat, 2018-06-30 at 12:29 -0700, Linus Torvalds wrote: > > > > > > Because normally, the last

I will wait for positive answer

2018-06-30 Thread Yuehan Pan
Good day, My name is Mr.Yuehan Pan, working as head of risk in Bank of China. I'm looking for an investment manager / partner who will represents me in a mutual business. Please contact me in my private email for more details. e-mail (yuehanpa...@gmail.com) Waiting for your news. Thank

I will wait for positive answer

2018-06-30 Thread Yuehan Pan
Good day, My name is Mr.Yuehan Pan, working as head of risk in Bank of China. I'm looking for an investment manager / partner who will represents me in a mutual business. Please contact me in my private email for more details. e-mail (yuehanpa...@gmail.com) Waiting for your news. Thank

Re: [PATCH v5] ARM: dts: imx51-zii-rdu1: fix touchscreen pinctrl

2018-06-30 Thread Shawn Guo
On Thu, Jun 21, 2018 at 07:10:00PM +0100, Nick Dyer wrote: > The pinctrl settings were incorrect for the touchscreen interrupt line, > causing > an interrupt storm. This change has been tested with both the atmel_mxt_ts and > RMI4 drivers on the RDU1 units. > > The value 0x4 comes from the value

Re: [PATCH v5] ARM: dts: imx51-zii-rdu1: fix touchscreen pinctrl

2018-06-30 Thread Shawn Guo
On Thu, Jun 21, 2018 at 07:10:00PM +0100, Nick Dyer wrote: > The pinctrl settings were incorrect for the touchscreen interrupt line, > causing > an interrupt storm. This change has been tested with both the atmel_mxt_ts and > RMI4 drivers on the RDU1 units. > > The value 0x4 comes from the value

[PATCH] iio: add channel type for frequency

2018-06-30 Thread David Lechner
This adds a new type for frequency to the IIO channel type enumeration. Units are in Hz. Signed-off-by: David Lechner --- drivers/iio/industrialio-core.c | 1 + include/uapi/linux/iio/types.h | 1 + tools/iio/iio_event_monitor.c | 1 + 3 files changed, 3 insertions(+) diff --git

[PATCH] iio: add channel type for frequency

2018-06-30 Thread David Lechner
This adds a new type for frequency to the IIO channel type enumeration. Units are in Hz. Signed-off-by: David Lechner --- drivers/iio/industrialio-core.c | 1 + include/uapi/linux/iio/types.h | 1 + tools/iio/iio_event_monitor.c | 1 + 3 files changed, 3 insertions(+) diff --git

Re: [PATCH 2/2] ARM: dts: imx6ul: Add DTS for ConnectCore 6UL SBC Express

2018-06-30 Thread Shawn Guo
On Tue, Jun 19, 2018 at 09:32:14AM +0200, Alex Gonzalez wrote: > The ConnectCore 6UL Single Board Computer (SBC) Express contains the > ConnectCore 6UL System-On-Module. > > Its hardware specifications are: > > * 256MB DDR3 memory > * 256MB NAND flash > * Single Ethernet > * USB Host and USB-OTG

Re: [PATCH 2/2] ARM: dts: imx6ul: Add DTS for ConnectCore 6UL SBC Express

2018-06-30 Thread Shawn Guo
On Tue, Jun 19, 2018 at 09:32:14AM +0200, Alex Gonzalez wrote: > The ConnectCore 6UL Single Board Computer (SBC) Express contains the > ConnectCore 6UL System-On-Module. > > Its hardware specifications are: > > * 256MB DDR3 memory > * 256MB NAND flash > * Single Ethernet > * USB Host and USB-OTG

Re: [PATCH 1/2] ARM: dts: imx6ul: Add DTS for ConnectCore 6UL System-On-Module (SOM)

2018-06-30 Thread Shawn Guo
On Tue, Jun 19, 2018 at 09:32:13AM +0200, Alex Gonzalez wrote: > The ConnectCore 6UL System-On-Module has the following hardware > specification: > > * Based on a NXP i.MX6UL SoC > * Industrial temperature ranges (-40ºC to +85ºC) > * Up to 1GB DDR3 memory > * Up to 2GB NAND flash > * Dual

Re: [PATCH 1/2] ARM: dts: imx6ul: Add DTS for ConnectCore 6UL System-On-Module (SOM)

2018-06-30 Thread Shawn Guo
On Tue, Jun 19, 2018 at 09:32:13AM +0200, Alex Gonzalez wrote: > The ConnectCore 6UL System-On-Module has the following hardware > specification: > > * Based on a NXP i.MX6UL SoC > * Industrial temperature ranges (-40ºC to +85ºC) > * Up to 1GB DDR3 memory > * Up to 2GB NAND flash > * Dual

tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h

2018-06-30 Thread kbuild test robot
Hi Alexei, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 883c9ab9eb595f8542d01e55d29a346c8d96862e commit: 819dd92b9c0bc7bce9097d8c1f14240f471bb386 bpfilter: switch to CC from HOSTCC date: 4 weeks ago config:

tools/include/asm-generic/bitsperlong.h:14:2: error: #error Inconsistent word size. Check asm/bitsperlong.h

2018-06-30 Thread kbuild test robot
Hi Alexei, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 883c9ab9eb595f8542d01e55d29a346c8d96862e commit: 819dd92b9c0bc7bce9097d8c1f14240f471bb386 bpfilter: switch to CC from HOSTCC date: 4 weeks ago config:

Re: [PATCH V2 2/2] ARM: dts: imx6ul: add GPIO clocks

2018-06-30 Thread Shawn Guo
On Fri, Jun 29, 2018 at 11:39:38AM -0700, Stephen Boyd wrote: > Quoting Shawn Guo (2018-06-27 17:52:18) > > On Mon, Jun 25, 2018 at 03:14:39AM +, Anson Huang wrote: > > > Gentle Ping... > > > > I cannot apply this dts patch until the clock patch is landed on > > mainline, because it has a

Re: [PATCH V2 2/2] ARM: dts: imx6ul: add GPIO clocks

2018-06-30 Thread Shawn Guo
On Fri, Jun 29, 2018 at 11:39:38AM -0700, Stephen Boyd wrote: > Quoting Shawn Guo (2018-06-27 17:52:18) > > On Mon, Jun 25, 2018 at 03:14:39AM +, Anson Huang wrote: > > > Gentle Ping... > > > > I cannot apply this dts patch until the clock patch is landed on > > mainline, because it has a

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Linus Torvalds
On Sat, Jun 30, 2018 at 7:07 PM Linus Torvalds wrote: > > Those locks won't protect kobj races in _general_ (ie there is no > locking between two totally unrelated buses), but they *should* > serialize the case of a device being added within one class. No? Side note: there had *better* be some

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Linus Torvalds
On Sat, Jun 30, 2018 at 7:07 PM Linus Torvalds wrote: > > Those locks won't protect kobj races in _general_ (ie there is no > locking between two totally unrelated buses), but they *should* > serialize the case of a device being added within one class. No? Side note: there had *better* be some

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Linus Torvalds
[ Ben - feel free to post the missing emails to lkml too ] On Sat, Jun 30, 2018 at 6:56 PM Benjamin Herrenschmidt wrote: > > On Sat, 2018-06-30 at 12:29 -0700, Linus Torvalds wrote: > > > > Because normally, the last kobject_put() really does do a synchronous > > kobject_del(). So normally, this

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-06-30 Thread Linus Torvalds
[ Ben - feel free to post the missing emails to lkml too ] On Sat, Jun 30, 2018 at 6:56 PM Benjamin Herrenschmidt wrote: > > On Sat, 2018-06-30 at 12:29 -0700, Linus Torvalds wrote: > > > > Because normally, the last kobject_put() really does do a synchronous > > kobject_del(). So normally, this

[PATCH 1/4] HID: multitouch: add MT_QUIRK_NOT_SEEN_MEANS_UP to MT_CLS_WIN_8 quirks

2018-06-30 Thread Joey Pabalinas
The firmware found in the touch screen of the Surface Pro 3 is slightly buggy and occasionally doesn't send lift off reports for contacts; add MT_QUIRK_NOT_SEEN_MEANS_UP to .quirks to compensate for the missed reports. Signed-off-by: Joey Pabalinas 1 file changed, 2 insertions(+), 1

[PATCH 1/4] HID: multitouch: add MT_QUIRK_NOT_SEEN_MEANS_UP to MT_CLS_WIN_8 quirks

2018-06-30 Thread Joey Pabalinas
The firmware found in the touch screen of the Surface Pro 3 is slightly buggy and occasionally doesn't send lift off reports for contacts; add MT_QUIRK_NOT_SEEN_MEANS_UP to .quirks to compensate for the missed reports. Signed-off-by: Joey Pabalinas 1 file changed, 2 insertions(+), 1

[PATCH 4/4] HID: multitouch: remove unneeded else conditional cases

2018-06-30 Thread Joey Pabalinas
Elide lone `else` cases and replace `else if` clauses with plain `if` conditionals when they occur immediately after return statements. Signed-off-by: Joey Pabalinas 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index

[PATCH 0/4] reduce Surface Pro 3 multitouch jitter

2018-06-30 Thread Joey Pabalinas
The Surface Pro 3 firmware doesn't reliably send contact lift off reports nor handle invalid report values gracefully. To reduce touchscreen input jitter: - add MT_QUIRK_NOT_SEEN_MEANS_UP to the MT_CLS_WIN_8 - drop invalid report values Joey Pabalinas (4): HID: multitouch: add

[PATCH 4/4] HID: multitouch: remove unneeded else conditional cases

2018-06-30 Thread Joey Pabalinas
Elide lone `else` cases and replace `else if` clauses with plain `if` conditionals when they occur immediately after return statements. Signed-off-by: Joey Pabalinas 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index

[PATCH 0/4] reduce Surface Pro 3 multitouch jitter

2018-06-30 Thread Joey Pabalinas
The Surface Pro 3 firmware doesn't reliably send contact lift off reports nor handle invalid report values gracefully. To reduce touchscreen input jitter: - add MT_QUIRK_NOT_SEEN_MEANS_UP to the MT_CLS_WIN_8 - drop invalid report values Joey Pabalinas (4): HID: multitouch: add

[PATCH 2/4] HID: multitouch: don't check HID_GROUP_MULTITOUCH_WIN_8 for serial protocol

2018-06-30 Thread Joey Pabalinas
The HID_GROUP_MULTITOUCH_WIN_8 group never needs to check for the serial protocol, so avoid setting `td->serial_maybe = true;` in order to avoid an unnecessary mt_post_parse_default_settings() call Signed-off-by: Joey Pabalinas 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 3/4] HID: multitouch: drop reports containing invalid values

2018-06-30 Thread Joey Pabalinas
Avoid processing reports containing invalid values to reduce multitouch input stutter. Signed-off-by: Joey Pabalinas 1 file changed, 9 insertions(+) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index c0654db0b736543ca0..08b50e5908cecdda66 100644 ---

[PATCH 2/4] HID: multitouch: don't check HID_GROUP_MULTITOUCH_WIN_8 for serial protocol

2018-06-30 Thread Joey Pabalinas
The HID_GROUP_MULTITOUCH_WIN_8 group never needs to check for the serial protocol, so avoid setting `td->serial_maybe = true;` in order to avoid an unnecessary mt_post_parse_default_settings() call Signed-off-by: Joey Pabalinas 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 3/4] HID: multitouch: drop reports containing invalid values

2018-06-30 Thread Joey Pabalinas
Avoid processing reports containing invalid values to reduce multitouch input stutter. Signed-off-by: Joey Pabalinas 1 file changed, 9 insertions(+) diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index c0654db0b736543ca0..08b50e5908cecdda66 100644 ---

Re: [PATCH] synaptics: Enable RMI4 for Clevo P870DM laptops

2018-06-30 Thread Teika Kazura
@Rosen: Ok, then I'll make a patch, and will ask you to test it. Wait for a moment. Thanks for your reply. (It's a burden for me, too. ;-) From: Rosen Penev Subject: Re: [PATCH] synaptics: Enable RMI4 for Clevo P870DM laptops Date: Sat, 30 Jun 2018 11:57:32 -0700 >> Hi, Rosen. Thank you for

Re: [PATCH] synaptics: Enable RMI4 for Clevo P870DM laptops

2018-06-30 Thread Teika Kazura
@Rosen: Ok, then I'll make a patch, and will ask you to test it. Wait for a moment. Thanks for your reply. (It's a burden for me, too. ;-) From: Rosen Penev Subject: Re: [PATCH] synaptics: Enable RMI4 for Clevo P870DM laptops Date: Sat, 30 Jun 2018 11:57:32 -0700 >> Hi, Rosen. Thank you for

[PATCH v2] thermal: i.MX: Allow thermal probe to fail gracefully in case of bad calibration.

2018-06-30 Thread Jean-Christophe Dubois
Without this fix, the thermal probe on i.MX6 might trigger a division by zero exception later in the probe if the calibration does fail. Note: This linux behavior (Division by zero in kernel) has been triggered on a Qemu i.MX6 emulation where parameters in nvmem were not set. With this fix the

[PATCH v2] thermal: i.MX: Allow thermal probe to fail gracefully in case of bad calibration.

2018-06-30 Thread Jean-Christophe Dubois
Without this fix, the thermal probe on i.MX6 might trigger a division by zero exception later in the probe if the calibration does fail. Note: This linux behavior (Division by zero in kernel) has been triggered on a Qemu i.MX6 emulation where parameters in nvmem were not set. With this fix the

Re: [PATCH v2] PCI/AER: Fix aerdrv loading with "pcie_ports=native" parameter

2018-06-30 Thread Bjorn Helgaas
[+cc Borislav, linux-acpi, since this involves APEI/HEST] On Tue, Jun 19, 2018 at 02:58:20PM -0500, Alexandru Gagniuc wrote: > According to the documentation, "pcie_ports=native", linux should use > native AER and DPC services. While that is true for the _OSC method > parsing, this is not the

Re: [PATCH v2] PCI/AER: Fix aerdrv loading with "pcie_ports=native" parameter

2018-06-30 Thread Bjorn Helgaas
[+cc Borislav, linux-acpi, since this involves APEI/HEST] On Tue, Jun 19, 2018 at 02:58:20PM -0500, Alexandru Gagniuc wrote: > According to the documentation, "pcie_ports=native", linux should use > native AER and DPC services. While that is true for the _OSC method > parsing, this is not the

Re: [PATCH v4 1/2] iio: dac: Add AD5758 support

2018-06-30 Thread Andy Shevchenko
On Fri, Jun 29, 2018 at 11:38 AM, Stefan Popa wrote: > The AD5758 is a single channel DAC with 16-bit precision which uses the > SPI interface that operates at clock rates up to 50MHz. > > The output can be configured as voltage or current and is available on a > single terminal. > > Datasheet: >

Re: [PATCH v4 1/2] iio: dac: Add AD5758 support

2018-06-30 Thread Andy Shevchenko
On Fri, Jun 29, 2018 at 11:38 AM, Stefan Popa wrote: > The AD5758 is a single channel DAC with 16-bit precision which uses the > SPI interface that operates at clock rates up to 50MHz. > > The output can be configured as voltage or current and is available on a > single terminal. > > Datasheet: >

Re: [PATCH v2] PCI / ACPI / PM: Resume bridges w/o drivers on suspend-to-RAM

2018-06-30 Thread Rafael J. Wysocki
On Fri, Jun 29, 2018 at 9:19 PM, Bjorn Helgaas wrote: > On Fri, Jun 29, 2018 at 10:34:40AM +0200, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> It is reported that commit c62ec4610c40 (PM / core: Fix direct_complete >> handling for devices with no callbacks) introduced a system

Re: [PATCH v2] PCI / ACPI / PM: Resume bridges w/o drivers on suspend-to-RAM

2018-06-30 Thread Rafael J. Wysocki
On Fri, Jun 29, 2018 at 9:19 PM, Bjorn Helgaas wrote: > On Fri, Jun 29, 2018 at 10:34:40AM +0200, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> It is reported that commit c62ec4610c40 (PM / core: Fix direct_complete >> handling for devices with no callbacks) introduced a system

Re: [PATCH v3 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-06-30 Thread Andy Shevchenko
On Sat, Jun 30, 2018 at 4:33 PM, Manivannan Sadhasivam wrote: > Add Actions Semiconductor Owl family S900 I2C driver. Thanks for an update. Few left comments and it would LGTM. > +static int owl_i2c_reset(struct owl_i2c_dev *i2c_dev) > +{ > + mdelay(1); But now, since it's not used in

Re: [PATCH v3 5/6] i2c: Add Actions Semiconductor Owl family S900 I2C driver

2018-06-30 Thread Andy Shevchenko
On Sat, Jun 30, 2018 at 4:33 PM, Manivannan Sadhasivam wrote: > Add Actions Semiconductor Owl family S900 I2C driver. Thanks for an update. Few left comments and it would LGTM. > +static int owl_i2c_reset(struct owl_i2c_dev *i2c_dev) > +{ > + mdelay(1); But now, since it's not used in

Re: [PATCH v3 2/6] arm64: dts: actions: Add Actions Semiconductor S900 I2C controller nodes

2018-06-30 Thread Peter Rosin
On June 30, 2018 3:33:26 PM GMT+02:00, Manivannan Sadhasivam wrote: >Add I2C controller nodes for Actions Semiconductor S900 SoC. > >Signed-off-by: Manivannan Sadhasivam >--- > arch/arm64/boot/dts/actions/s900.dtsi | 60 +++ > 1 file changed, 60 insertions(+) > >diff

Re: [PATCH v3 2/6] arm64: dts: actions: Add Actions Semiconductor S900 I2C controller nodes

2018-06-30 Thread Peter Rosin
On June 30, 2018 3:33:26 PM GMT+02:00, Manivannan Sadhasivam wrote: >Add I2C controller nodes for Actions Semiconductor S900 SoC. > >Signed-off-by: Manivannan Sadhasivam >--- > arch/arm64/boot/dts/actions/s900.dtsi | 60 +++ > 1 file changed, 60 insertions(+) > >diff

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-30 Thread Christoph von Recklinghausen
On 06/30/2018 04:11 PM, Kees Cook wrote: > On Wed, Jun 27, 2018 at 5:07 AM, Chris von Recklinghausen > wrote: >> Enabling HARDENED_USER_COPY causes measurable regressions in > nit: HARDENED_USERCOPY > >> networking performance, up to 8% under UDP flood. >> >> I'm running an a small packet UDP

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-30 Thread Christoph von Recklinghausen
On 06/30/2018 04:11 PM, Kees Cook wrote: > On Wed, Jun 27, 2018 at 5:07 AM, Chris von Recklinghausen > wrote: >> Enabling HARDENED_USER_COPY causes measurable regressions in > nit: HARDENED_USERCOPY > >> networking performance, up to 8% under UDP flood. >> >> I'm running an a small packet UDP

Re: /tmp/cctnQ1CM.s:35: Error: .err encountered

2018-06-30 Thread Olof Johansson
On Sat, Jun 30, 2018 at 11:12 AM, Andrew Morton wrote: > On Sat, 30 Jun 2018 11:07:20 -0700 Andrew Morton > wrote: > >> On Sat, 30 Jun 2018 12:27:09 +0200 Dmitry Vyukov wrote: >> >> > > tree: >> > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> > > head:

Re: /tmp/cctnQ1CM.s:35: Error: .err encountered

2018-06-30 Thread Olof Johansson
On Sat, Jun 30, 2018 at 11:12 AM, Andrew Morton wrote: > On Sat, 30 Jun 2018 11:07:20 -0700 Andrew Morton > wrote: > >> On Sat, 30 Jun 2018 12:27:09 +0200 Dmitry Vyukov wrote: >> >> > > tree: >> > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> > > head:

[GIT PULL] parisc architecture code cleanups and fixes

2018-06-30 Thread Helge Deller
Hi Linus, please pull some patches for the parisc architecture from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.18-1 Nothing exiting in this patchset, just small cleanups of header files, kernel now defaults to 4 CPUs when building a SMP kernel, mark 16-

[GIT PULL] parisc architecture code cleanups and fixes

2018-06-30 Thread Helge Deller
Hi Linus, please pull some patches for the parisc architecture from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.18-1 Nothing exiting in this patchset, just small cleanups of header files, kernel now defaults to 4 CPUs when building a SMP kernel, mark 16-

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-30 Thread Kees Cook
On Wed, Jun 27, 2018 at 5:07 AM, Chris von Recklinghausen wrote: > Enabling HARDENED_USER_COPY causes measurable regressions in nit: HARDENED_USERCOPY > networking performance, up to 8% under UDP flood. > > I'm running an a small packet UDP flood using pktgen vs. a host b2b > connected. On the

Re: [PATCH v3] add param that allows bootline control of hardened usercopy

2018-06-30 Thread Kees Cook
On Wed, Jun 27, 2018 at 5:07 AM, Chris von Recklinghausen wrote: > Enabling HARDENED_USER_COPY causes measurable regressions in nit: HARDENED_USERCOPY > networking performance, up to 8% under UDP flood. > > I'm running an a small packet UDP flood using pktgen vs. a host b2b > connected. On the

Re: [PATCH] PCI/AER: Adopt lspci naming convention for AER prints

2018-06-30 Thread Bjorn Helgaas
On Tue, Jun 26, 2018 at 11:44:15AM -0400, Tyler Baicar wrote: > lspci uses abbreviated naming for AER error strings. Adopt the > same naming convention for the AER printing so they match. > > Signed-off-by: Tyler Baicar Applied with Oza's reviewed-by to pci/aer for v4.19, thanks! > --- >

Re: [PATCH] PCI/AER: Adopt lspci naming convention for AER prints

2018-06-30 Thread Bjorn Helgaas
On Tue, Jun 26, 2018 at 11:44:15AM -0400, Tyler Baicar wrote: > lspci uses abbreviated naming for AER error strings. Adopt the > same naming convention for the AER printing so they match. > > Signed-off-by: Tyler Baicar Applied with Oza's reviewed-by to pci/aer for v4.19, thanks! > --- >

Re: [PATCH 1/2] drivers: core: Don't try to use a dead glue_dir

2018-06-30 Thread Linus Torvalds
On Thu, Jun 28, 2018 at 7:21 PM Benjamin Herrenschmidt wrote: > > Under some circumstances (such as when using kobject debugging) > a gluedir whose kref is 0 might remain in the class kset for > a long time. The reason is that we don't actively remove glue > dirs when they become empty, but

Re: [PATCH 1/2] drivers: core: Don't try to use a dead glue_dir

2018-06-30 Thread Linus Torvalds
On Thu, Jun 28, 2018 at 7:21 PM Benjamin Herrenschmidt wrote: > > Under some circumstances (such as when using kobject debugging) > a gluedir whose kref is 0 might remain in the class kset for > a long time. The reason is that we don't actively remove glue > dirs when they become empty, but

Re: [PATCH] staging: mt7621-pinctrl: Replaces "unsigned" with "unsigned int", fixes mixed indentation, and puts spaces after commas.

2018-06-30 Thread Dan Carpenter
On Sat, Jun 30, 2018 at 01:17:29PM -0400, Peter Vernia wrote: > Signed-off-by: Peter Vernia The subject is over 72 characters or whatever the limit is and there isn't a commit message. regards, dan carpenter

Re: [PATCH] staging: mt7621-pinctrl: Replaces "unsigned" with "unsigned int", fixes mixed indentation, and puts spaces after commas.

2018-06-30 Thread Dan Carpenter
On Sat, Jun 30, 2018 at 01:17:29PM -0400, Peter Vernia wrote: > Signed-off-by: Peter Vernia The subject is over 72 characters or whatever the limit is and there isn't a commit message. regards, dan carpenter

[GIT PULL] ARM: SoC fixes

2018-06-30 Thread Olof Johansson
Hi Linus, The following changes since commit 86676c4685f774d818f7a6c401c925bbf2a92903: arm64: dts: uniphier: fix widget name of headphone for LD11/LD20 boards (2018-06-27 07:14:47 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git

[GIT PULL] ARM: SoC fixes

2018-06-30 Thread Olof Johansson
Hi Linus, The following changes since commit 86676c4685f774d818f7a6c401c925bbf2a92903: arm64: dts: uniphier: fix widget name of headphone for LD11/LD20 boards (2018-06-27 07:14:47 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git

Re: [PATCH V3] PCI: Enable PASID when End-to-End TLP is supported by all bridges

2018-06-30 Thread Bjorn Helgaas
On Sat, Jun 30, 2018 at 11:24:24AM -0400, Sinan Kaya wrote: > A PCIe endpoint carries the process address space identifier (PASID) in > the TLP prefix as part of the memory read/write transaction. The address > information in the TLP is relevant only for a given PASID context. > > An IOMMU takes

Re: [PATCH V3] PCI: Enable PASID when End-to-End TLP is supported by all bridges

2018-06-30 Thread Bjorn Helgaas
On Sat, Jun 30, 2018 at 11:24:24AM -0400, Sinan Kaya wrote: > A PCIe endpoint carries the process address space identifier (PASID) in > the TLP prefix as part of the memory read/write transaction. The address > information in the TLP is relevant only for a given PASID context. > > An IOMMU takes

Re: [PATCH V2] PCI: Enable PASID when End-to-End TLP is supported by all bridges

2018-06-30 Thread Bjorn Helgaas
On Sat, Jun 30, 2018 at 10:45:21AM -0400, Sinan Kaya wrote: > On 6/29/2018 8:49 PM, Bjorn Helgaas wrote: > > On Tue, Jun 19, 2018 at 10:14:46PM -0400, Sinan Kaya wrote: > >> A PCIe endpoint carries the process address space identifier (PASID) in > >> the TLP prefix as part of the memory read/write

Re: [PATCH V2] PCI: Enable PASID when End-to-End TLP is supported by all bridges

2018-06-30 Thread Bjorn Helgaas
On Sat, Jun 30, 2018 at 10:45:21AM -0400, Sinan Kaya wrote: > On 6/29/2018 8:49 PM, Bjorn Helgaas wrote: > > On Tue, Jun 19, 2018 at 10:14:46PM -0400, Sinan Kaya wrote: > >> A PCIe endpoint carries the process address space identifier (PASID) in > >> the TLP prefix as part of the memory read/write

Re: [PATCH] vmw_pvrdma: Release netdev when vmxnet3 module is removed

2018-06-30 Thread Dan Carpenter
Hi Neil, I love your patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Neil-Horman/vmw_pvrdma-Release-netdev-when-vmxnet3-module-is-removed/20180628-232414 smatch warnings: drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c:987 pvrdma_pci_probe() warn: variable

Re: [PATCH] vmw_pvrdma: Release netdev when vmxnet3 module is removed

2018-06-30 Thread Dan Carpenter
Hi Neil, I love your patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Neil-Horman/vmw_pvrdma-Release-netdev-when-vmxnet3-module-is-removed/20180628-232414 smatch warnings: drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c:987 pvrdma_pci_probe() warn: variable

Re: [GIT PULL] x86 fixes

2018-06-30 Thread Linus Torvalds
On Sat, Jun 30, 2018 at 1:49 AM Ingo Molnar wrote: > > --- a/arch/x86/entry/entry_32.S > +++ b/arch/x86/entry/entry_32.S > @@ -477,7 +477,7 @@ ENTRY(entry_SYSENTER_32) > * whereas POPF does not.) > */ > addl$PT_EFLAGS-PT_DS, %esp /* point esp at pt_regs->flags */ >

Re: [GIT PULL] x86 fixes

2018-06-30 Thread Linus Torvalds
On Sat, Jun 30, 2018 at 1:49 AM Ingo Molnar wrote: > > --- a/arch/x86/entry/entry_32.S > +++ b/arch/x86/entry/entry_32.S > @@ -477,7 +477,7 @@ ENTRY(entry_SYSENTER_32) > * whereas POPF does not.) > */ > addl$PT_EFLAGS-PT_DS, %esp /* point esp at pt_regs->flags */ >

Re: [PATCH v2 0/2] PCI Quirk Patchset for Microsemi Switchtec NTB

2018-06-30 Thread Bjorn Helgaas
On Fri, Jun 29, 2018 at 08:50:02PM -0500, Bjorn Helgaas wrote: > On Wed, May 23, 2018 at 01:18:04PM -0700, dme...@gigaio.com wrote: > > From: Doug Meyer > > > > This is a resend of the patch series to enable Microsemi Switchtec > > NTB configurations to run with the IOMMU in the hosts turned on.

Re: [PATCH v2 0/2] PCI Quirk Patchset for Microsemi Switchtec NTB

2018-06-30 Thread Bjorn Helgaas
On Fri, Jun 29, 2018 at 08:50:02PM -0500, Bjorn Helgaas wrote: > On Wed, May 23, 2018 at 01:18:04PM -0700, dme...@gigaio.com wrote: > > From: Doug Meyer > > > > This is a resend of the patch series to enable Microsemi Switchtec > > NTB configurations to run with the IOMMU in the hosts turned on.

Re: [PATCH] synaptics: Enable RMI4 for Clevo P870DM laptops

2018-06-30 Thread Rosen Penev
On Sat, Jun 23, 2018 at 11:05 PM Teika Kazura wrote: > > Hi, Rosen. Thank you for your patch. (@Jan Steffens and @Pablo Cholaky: > Thanks for your reports.) But I'm afraid some more work is necessary. Let me > propose some points. Too much work for me. I'll just use the kernel pareameter. > >

Re: [PATCH] synaptics: Enable RMI4 for Clevo P870DM laptops

2018-06-30 Thread Rosen Penev
On Sat, Jun 23, 2018 at 11:05 PM Teika Kazura wrote: > > Hi, Rosen. Thank you for your patch. (@Jan Steffens and @Pablo Cholaky: > Thanks for your reports.) But I'm afraid some more work is necessary. Let me > propose some points. Too much work for me. I'll just use the kernel pareameter. > >

  1   2   3   >