[PATCH] dt-bindings: fsi-master-gpio: Document "no-gpio-delays" property

2018-05-28 Thread Benjamin Herrenschmidt
Support for this is being added to the driver but the original patch forgot to add this documentation. Signed-off-by: Benjamin Herrenschmidt --- Documentation/devicetree/bindings/fsi/fsi-master-gpio.txt | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH v2 10/11] arm64: dts: r8a77965-salvator-x: Enable DU external clocks and HDMI

2018-05-28 Thread Kuninori Morimoto
Hi Geert > > +_con { > > + remote-endpoint = <_dw_hdmi0_out>; > > +}; > > I think the hdmi0 and hdmi0_con parts can be moved to salvator-common.dtsi. > Can we do that now (with stubs?), or does this have to wait until r8a77965 has > received HDMI sound support? HDMI sound doesn't use

Re: [PATCH 05/15] fsi/fsi-master-gpio: Add "no-gpio-delays" option

2018-05-28 Thread Benjamin Herrenschmidt
On Tue, 2018-05-29 at 11:30 +1000, Benjamin Herrenschmidt wrote: > This adds support for an optional device-tree property that > makes the driver skip all the delays around clocking the > GPIOs and set it in the device-tree of common POWER9 based > OpenPower platforms. > > This useful on chips

Re: [PATCH 05/15] fsi/fsi-master-gpio: Add "no-gpio-delays" option

2018-05-28 Thread Benjamin Herrenschmidt
On Tue, 2018-05-29 at 11:30 +1000, Benjamin Herrenschmidt wrote: > This adds support for an optional device-tree property that > makes the driver skip all the delays around clocking the > GPIOs and set it in the device-tree of common POWER9 based > OpenPower platforms. > > This useful on chips

Re: [PATCH] cpuidle/powernv : Add Description for cpuidle state

2018-05-28 Thread Stewart Smith
Abhishek Goel writes: > @@ -215,7 +216,7 @@ static inline void add_powernv_state(int index, const > char *name, >u64 psscr_val, u64 psscr_mask) > { > strlcpy(powernv_states[index].name, name, CPUIDLE_NAME_LEN); > -

Re: [PATCH] cpuidle/powernv : Add Description for cpuidle state

2018-05-28 Thread Stewart Smith
Abhishek Goel writes: > @@ -215,7 +216,7 @@ static inline void add_powernv_state(int index, const > char *name, >u64 psscr_val, u64 psscr_mask) > { > strlcpy(powernv_states[index].name, name, CPUIDLE_NAME_LEN); > -

[PATCH 03/15] fsi: gpio: Use a mutex to protect transfers

2018-05-28 Thread Benjamin Herrenschmidt
From: Jeremy Kerr Reduce time spent with interrupts disabled by limiting the critical sections to bitbanging FSI symbols. We only need to ensure exclusive use of the bus for an entire transfer, not that the transfer be performed in atomic context. Signed-off-by: Jeremy Kerr Signed-off-by:

[PATCH 03/15] fsi: gpio: Use a mutex to protect transfers

2018-05-28 Thread Benjamin Herrenschmidt
From: Jeremy Kerr Reduce time spent with interrupts disabled by limiting the critical sections to bitbanging FSI symbols. We only need to ensure exclusive use of the bus for an entire transfer, not that the transfer be performed in atomic context. Signed-off-by: Jeremy Kerr Signed-off-by:

[PATCH 12/15] fsi/fsi-master-gpio: More error handling cleanup

2018-05-28 Thread Benjamin Herrenschmidt
Remove calls to the empty and useless fsi_master_gpio_error() function, and report CRC errors as "FSI_ERR_NO_SLAVE" when reading an all 1's response. Signed-off-by: Benjamin Herrenschmidt --- drivers/fsi/fsi-master-gpio.c | 26 +- 1 file changed, 5 insertions(+), 21

[PATCH 12/15] fsi/fsi-master-gpio: More error handling cleanup

2018-05-28 Thread Benjamin Herrenschmidt
Remove calls to the empty and useless fsi_master_gpio_error() function, and report CRC errors as "FSI_ERR_NO_SLAVE" when reading an all 1's response. Signed-off-by: Benjamin Herrenschmidt --- drivers/fsi/fsi-master-gpio.c | 26 +- 1 file changed, 5 insertions(+), 21

include/linux/string.h:246:9: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length

2018-05-28 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 786b71f5b754273ccef6d9462e52062b3e1f9877 commit: 854e55ad289efe7991f0ada85d5846f5afb9 objtool, perf: Fix GCC 8 -Wrestrict error date: 2 months ago config: x86_64-randconfig-s4-05290856 (attached as

include/linux/string.h:246:9: warning: '__builtin_strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length

2018-05-28 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 786b71f5b754273ccef6d9462e52062b3e1f9877 commit: 854e55ad289efe7991f0ada85d5846f5afb9 objtool, perf: Fix GCC 8 -Wrestrict error date: 2 months ago config: x86_64-randconfig-s4-05290856 (attached as

Re: [PATCH] scsi: pm80xx: fix spelling mistake "UNSORPORTED" -> "SUPPORTED"

2018-05-28 Thread Martin K. Petersen
Colin, > Trivial fix to spelling mistake in pm8001_printk message text; also I > believe NOT_UNSUPPORTED should probably be NOT_SUPPORTED. Also fix the > indent of the pm8001_printk statement. Applied to 4.18/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: pm80xx: fix spelling mistake "UNSORPORTED" -> "SUPPORTED"

2018-05-28 Thread Martin K. Petersen
Colin, > Trivial fix to spelling mistake in pm8001_printk message text; also I > believe NOT_UNSUPPORTED should probably be NOT_SUPPORTED. Also fix the > indent of the pm8001_printk statement. Applied to 4.18/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: target: fix spelling mistake "Uknown" -> "Unknown"

2018-05-28 Thread Martin K. Petersen
Colin, > Trivial fix to spelling mistake in pr_err message text Applied to 4.18/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: target: fix spelling mistake "Uknown" -> "Unknown"

2018-05-28 Thread Martin K. Petersen
Colin, > Trivial fix to spelling mistake in pr_err message text Applied to 4.18/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

[PATCH 13/15] fsi/master-gpio: Replace bit_bit lock with IRQ disable/enable

2018-05-28 Thread Benjamin Herrenschmidt
From: Jeremy Kerr We currently use a spinlock (bit_lock) around operations that clock bits out of the FSI bus, and a mutex to protect against simultaneous access to the master. This means that bit_lock isn't needed for mutual exlusion, only to prevent timing issues when clocking bits out. To

[PATCH 13/15] fsi/master-gpio: Replace bit_bit lock with IRQ disable/enable

2018-05-28 Thread Benjamin Herrenschmidt
From: Jeremy Kerr We currently use a spinlock (bit_lock) around operations that clock bits out of the FSI bus, and a mutex to protect against simultaneous access to the master. This means that bit_lock isn't needed for mutual exlusion, only to prevent timing issues when clocking bits out. To

[PATCH 05/15] fsi/fsi-master-gpio: Add "no-gpio-delays" option

2018-05-28 Thread Benjamin Herrenschmidt
This adds support for an optional device-tree property that makes the driver skip all the delays around clocking the GPIOs and set it in the device-tree of common POWER9 based OpenPower platforms. This useful on chips like the AST2500 where the GPIO block is running at a fairly low clock

[PATCH 05/15] fsi/fsi-master-gpio: Add "no-gpio-delays" option

2018-05-28 Thread Benjamin Herrenschmidt
This adds support for an optional device-tree property that makes the driver skip all the delays around clocking the GPIOs and set it in the device-tree of common POWER9 based OpenPower platforms. This useful on chips like the AST2500 where the GPIO block is running at a fairly low clock

[PATCH 11/15] fsi/fsi-master-gpio: Implement CRC error recovery

2018-05-28 Thread Benjamin Herrenschmidt
The FSI protocol defines two modes of recovery from CRC errors, this implements both: - If the device returns an ECRC (it detected a CRC error in the command), then we simply issue the command again. - If the master detects a CRC error in the response, we send an E_POLL command which

[PATCH 11/15] fsi/fsi-master-gpio: Implement CRC error recovery

2018-05-28 Thread Benjamin Herrenschmidt
The FSI protocol defines two modes of recovery from CRC errors, this implements both: - If the device returns an ECRC (it detected a CRC error in the command), then we simply issue the command again. - If the master detects a CRC error in the response, we send an E_POLL command which

[PATCH 06/15] fsi/fsi-master-gpio: Reduce turnaround clocks

2018-05-28 Thread Benjamin Herrenschmidt
FSI_GPIO_PRIME_SLAVE_CLOCKS is the number of clocks if the "idle" phase between the end of a response and the beginning of the next one. It corresponds to tSendDelay in the FSI specification. The default value in the slave is 16 clocks. 100 is way overkill and significantly reduces the driver

[PATCH 00/15] fsi: Overall improvements and new SBE fifo driver

2018-05-28 Thread Benjamin Herrenschmidt
This series brings in a number of improvements to our FSI stack (one of the service interfaces for communicating between a BMC chip and our POWER processors). The GPIO based "Soft FSI" performance is significantly improved, and it's reliability as well. The SBE fifo driver provides the interface

[PATCH 06/15] fsi/fsi-master-gpio: Reduce turnaround clocks

2018-05-28 Thread Benjamin Herrenschmidt
FSI_GPIO_PRIME_SLAVE_CLOCKS is the number of clocks if the "idle" phase between the end of a response and the beginning of the next one. It corresponds to tSendDelay in the FSI specification. The default value in the slave is 16 clocks. 100 is way overkill and significantly reduces the driver

[PATCH 00/15] fsi: Overall improvements and new SBE fifo driver

2018-05-28 Thread Benjamin Herrenschmidt
This series brings in a number of improvements to our FSI stack (one of the service interfaces for communicating between a BMC chip and our POWER processors). The GPIO based "Soft FSI" performance is significantly improved, and it's reliability as well. The SBE fifo driver provides the interface

linux-next: manual merge of the vfs tree with the overlayfs tree

2018-05-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the vfs tree got a conflict in: fs/read_write.c between commit: 63ea46a359b2 ("vfs: dedupe: extract helper for a single dedup") from the overlayfs tree and commit: 227627114799 ("fs: avoid fdput() after failed fdget() in vfs_dedupe_file_range()")

linux-next: manual merge of the vfs tree with the overlayfs tree

2018-05-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the vfs tree got a conflict in: fs/read_write.c between commit: 63ea46a359b2 ("vfs: dedupe: extract helper for a single dedup") from the overlayfs tree and commit: 227627114799 ("fs: avoid fdput() after failed fdget() in vfs_dedupe_file_range()")

Re: [PATCH v8 4/6] cpuset: Make generate_sched_domains() recognize isolated_cpus

2018-05-28 Thread Waiman Long
On 05/28/2018 09:12 PM, Waiman Long wrote: > On 05/24/2018 06:28 AM, Juri Lelli wrote: >> On 17/05/18 16:55, Waiman Long wrote: >> >> [...] >> >>> @@ -849,7 +860,12 @@ static void rebuild_sched_domains_locked(void) >>> * passing doms with offlined cpu to partition_sched_domains(). >>> *

Re: [PATCH v8 4/6] cpuset: Make generate_sched_domains() recognize isolated_cpus

2018-05-28 Thread Waiman Long
On 05/28/2018 09:12 PM, Waiman Long wrote: > On 05/24/2018 06:28 AM, Juri Lelli wrote: >> On 17/05/18 16:55, Waiman Long wrote: >> >> [...] >> >>> @@ -849,7 +860,12 @@ static void rebuild_sched_domains_locked(void) >>> * passing doms with offlined cpu to partition_sched_domains(). >>> *

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-05-28 Thread Martin K. Petersen
Mike, I understand and appreciate your position but I still don't think the arguments for enabling DM multipath are sufficiently compelling. The whole point of ANA is for things to be plug and play without any admin intervention whatsoever. I also think we're getting ahead of ourselves a bit.

Re: [PATCH 0/3] Provide more fine grained control over multipathing

2018-05-28 Thread Martin K. Petersen
Mike, I understand and appreciate your position but I still don't think the arguments for enabling DM multipath are sufficiently compelling. The whole point of ANA is for things to be plug and play without any admin intervention whatsoever. I also think we're getting ahead of ourselves a bit.

Re: [PATCH v3 13/14] tracing/selftest: Add selftests to test trace_marker histogram triggers

2018-05-28 Thread Steven Rostedt
On Mon, 28 May 2018 01:32:58 +0900 Masami Hiramatsu wrote: > Hi Steve, > > On Fri, 25 May 2018 17:13:53 -0400 > Steven Rostedt wrote: > > > On Fri, 25 May 2018 17:12:29 -0400 > > Steven Rostedt wrote: > > > > > > > #!/bin/sh > > > > Hmm, I think I need to make this #!/bin/bash > >

Re: [PATCH v3 13/14] tracing/selftest: Add selftests to test trace_marker histogram triggers

2018-05-28 Thread Steven Rostedt
On Mon, 28 May 2018 01:32:58 +0900 Masami Hiramatsu wrote: > Hi Steve, > > On Fri, 25 May 2018 17:13:53 -0400 > Steven Rostedt wrote: > > > On Fri, 25 May 2018 17:12:29 -0400 > > Steven Rostedt wrote: > > > > > > > #!/bin/sh > > > > Hmm, I think I need to make this #!/bin/bash > >

Re: [PATCH v2 1/3] usb: gadget: ccid: add support for USB CCID Gadget Device

2018-05-28 Thread kbuild test robot
Hi Marcus, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on balbi-usb/next] [also build test WARNING on v4.17-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2 1/3] usb: gadget: ccid: add support for USB CCID Gadget Device

2018-05-28 Thread kbuild test robot
Hi Marcus, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on balbi-usb/next] [also build test WARNING on v4.17-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: Why is the length of max mount option a page size??

2018-05-28 Thread J. R. Okajima
Jungsub Shin: > I suffered this problem below environments. > > OS : Ubuntu 18.04 LTS / 4.15.0-20-generic / 64bit > AUFS module parameter : brs =3D 1 / allow_userns =3D N > Mount command : mount -t aufs -o

Re: Why is the length of max mount option a page size??

2018-05-28 Thread J. R. Okajima
Jungsub Shin: > I suffered this problem below environments. > > OS : Ubuntu 18.04 LTS / 4.15.0-20-generic / 64bit > AUFS module parameter : brs =3D 1 / allow_userns =3D N > Mount command : mount -t aufs -o

Re: [PATCH v8 4/6] cpuset: Make generate_sched_domains() recognize isolated_cpus

2018-05-28 Thread Waiman Long
On 05/24/2018 06:28 AM, Juri Lelli wrote: > On 17/05/18 16:55, Waiman Long wrote: > > [...] > >> @@ -849,7 +860,12 @@ static void rebuild_sched_domains_locked(void) >> * passing doms with offlined cpu to partition_sched_domains(). >> * Anyways, hotplug work item will rebuild sched

Re: [PATCH v8 4/6] cpuset: Make generate_sched_domains() recognize isolated_cpus

2018-05-28 Thread Waiman Long
On 05/24/2018 06:28 AM, Juri Lelli wrote: > On 17/05/18 16:55, Waiman Long wrote: > > [...] > >> @@ -849,7 +860,12 @@ static void rebuild_sched_domains_locked(void) >> * passing doms with offlined cpu to partition_sched_domains(). >> * Anyways, hotplug work item will rebuild sched

Re: scsi/qla2xxx: BUG_ON(blk_queued_rq(req) is triggered in blk_finish_request

2018-05-28 Thread jianchao.wang
Hi Himanshu do you need any other information ? Thanks Jianchao On 05/25/2018 02:48 PM, jianchao.wang wrote: > Hi Himanshu > > I'm afraid I cannot provide you the vmcore file, it is from our customer. > If any information needed in the vmcore, I could provide with you. > > In this scene,

Re: scsi/qla2xxx: BUG_ON(blk_queued_rq(req) is triggered in blk_finish_request

2018-05-28 Thread jianchao.wang
Hi Himanshu do you need any other information ? Thanks Jianchao On 05/25/2018 02:48 PM, jianchao.wang wrote: > Hi Himanshu > > I'm afraid I cannot provide you the vmcore file, it is from our customer. > If any information needed in the vmcore, I could provide with you. > > In this scene,

[RESEND PATCH v2] media: dvb-frontends: add Socionext SC1501A ISDB-S/T demodulator driver

2018-05-28 Thread Katsuhiro Suzuki
This patch adds a frontend driver for the Socionext SC1501A series and Socionext MN88443x ISDB-S/T demodulators. Signed-off-by: Katsuhiro Suzuki --- Changes since v1: - Fix sparse warning about type of constant - Use div_s64() instead of divide operator ---

[RESEND PATCH v2] media: dvb-frontends: add Socionext SC1501A ISDB-S/T demodulator driver

2018-05-28 Thread Katsuhiro Suzuki
This patch adds a frontend driver for the Socionext SC1501A series and Socionext MN88443x ISDB-S/T demodulators. Signed-off-by: Katsuhiro Suzuki --- Changes since v1: - Fix sparse warning about type of constant - Use div_s64() instead of divide operator ---

RE: [PATCH, net-next] net: ethernet: freescale: fix false-positive string overflow warning

2018-05-28 Thread Andy Duan
From: Arnd Bergmann Sent: 2018年5月28日 23:50 > While compile-testing on arm64 with gcc-8.1, I ran into a build diagnostic: > > drivers/net/ethernet/freescale/fec_main.c: In function 'fec_probe': > drivers/net/ethernet/freescale/fec_main.c:3517:25: error: '%d' directive > writing between 1 and 10

RE: [PATCH, net-next] net: ethernet: freescale: fix false-positive string overflow warning

2018-05-28 Thread Andy Duan
From: Arnd Bergmann Sent: 2018年5月28日 23:50 > While compile-testing on arm64 with gcc-8.1, I ran into a build diagnostic: > > drivers/net/ethernet/freescale/fec_main.c: In function 'fec_probe': > drivers/net/ethernet/freescale/fec_main.c:3517:25: error: '%d' directive > writing between 1 and 10

[RESEND PATCH] media: helene: fix xtal frequency setting at power on

2018-05-28 Thread Katsuhiro Suzuki
This patch fixes crystal frequency setting when power on this device. Signed-off-by: Katsuhiro Suzuki Acked-by: Abylay Ospan --- Changes from before: - Add Abylay's Ack --- drivers/media/dvb-frontends/helene.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[RESEND PATCH] media: helene: fix xtal frequency setting at power on

2018-05-28 Thread Katsuhiro Suzuki
This patch fixes crystal frequency setting when power on this device. Signed-off-by: Katsuhiro Suzuki Acked-by: Abylay Ospan --- Changes from before: - Add Abylay's Ack --- drivers/media/dvb-frontends/helene.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[RESEND PATCH] media: helene: fix tuning frequency of satellite

2018-05-28 Thread Katsuhiro Suzuki
This patch fixes tuning frequency of satellite to kHz. That as same as terrestrial one. Signed-off-by: Katsuhiro Suzuki --- drivers/media/dvb-frontends/helene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/helene.c

[RESEND PATCH] media: helene: fix tuning frequency of satellite

2018-05-28 Thread Katsuhiro Suzuki
This patch fixes tuning frequency of satellite to kHz. That as same as terrestrial one. Signed-off-by: Katsuhiro Suzuki --- drivers/media/dvb-frontends/helene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/helene.c

Re: [PATCH v8 6/6] cpuset: Allow reporting of sched domain generation info

2018-05-28 Thread Waiman Long
On 05/22/2018 09:53 AM, Juri Lelli wrote: > Hi, > > On 17/05/18 16:55, Waiman Long wrote: >> This patch enables us to report sched domain generation information. >> >> If DYNAMIC_DEBUG is enabled, issuing the following command >> >> echo "file cpuset.c +p" >

Re: [PATCH v8 6/6] cpuset: Allow reporting of sched domain generation info

2018-05-28 Thread Waiman Long
On 05/22/2018 09:53 AM, Juri Lelli wrote: > Hi, > > On 17/05/18 16:55, Waiman Long wrote: >> This patch enables us to report sched domain generation information. >> >> If DYNAMIC_DEBUG is enabled, issuing the following command >> >> echo "file cpuset.c +p" >

Re: [PATCH v8 2/6] cpuset: Add new v2 cpuset.sched.domain flag

2018-05-28 Thread Waiman Long
On 05/22/2018 08:57 AM, Juri Lelli wrote: > Hi, > > On 17/05/18 16:55, Waiman Long wrote: > > [...] > >> /** >> + * update_isolated_cpumask - update the isolated_cpus mask of parent cpuset >> + * @cpuset: The cpuset that requests CPU isolation >> + * @oldmask: The old isolated cpumask to be

Re: [PATCH v8 2/6] cpuset: Add new v2 cpuset.sched.domain flag

2018-05-28 Thread Waiman Long
On 05/22/2018 08:57 AM, Juri Lelli wrote: > Hi, > > On 17/05/18 16:55, Waiman Long wrote: > > [...] > >> /** >> + * update_isolated_cpumask - update the isolated_cpus mask of parent cpuset >> + * @cpuset: The cpuset that requests CPU isolation >> + * @oldmask: The old isolated cpumask to be

Re: [PATCH 4.16 000/272] 4.16.13-stable review

2018-05-28 Thread Guenter Roeck
On 05/28/2018 03:00 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.16.13 release. There are 272 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

Re: [PATCH 4.16 000/272] 4.16.13-stable review

2018-05-28 Thread Guenter Roeck
On 05/28/2018 03:00 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.16.13 release. There are 272 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

Re: [PATCH 4.14 000/496] 4.14.45-stable review

2018-05-28 Thread Guenter Roeck
On 05/28/2018 02:56 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.45 release. There are 496 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

Re: [PATCH 4.14 000/496] 4.14.45-stable review

2018-05-28 Thread Guenter Roeck
On 05/28/2018 02:56 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.45 release. There are 496 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

Re: [PATCH 4.9 000/329] 4.9.104-stable review

2018-05-28 Thread Guenter Roeck
On 05/28/2018 02:58 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.104 release. There are 329 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

Re: [PATCH 4.9 000/329] 4.9.104-stable review

2018-05-28 Thread Guenter Roeck
On 05/28/2018 02:58 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.104 release. There are 329 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

Re: [PATCH 4.4 000/268] 4.4.134-stable review

2018-05-28 Thread Guenter Roeck
On 05/28/2018 02:59 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.134 release. There are 268 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

Re: [PATCH 4.4 000/268] 4.4.134-stable review

2018-05-28 Thread Guenter Roeck
On 05/28/2018 02:59 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.134 release. There are 268 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

Re: [PATCH v3 net-next 2/2] tcp: minor optimization around tcp_hdr() usage in tcp receive path

2018-05-28 Thread Yafang Shao
On Tue, May 29, 2018 at 12:36 AM, Eric Dumazet wrote: > On Mon, May 28, 2018 at 8:36 AM Yafang Shao wrote: > >> This is additional to the commit ea1627c20c34 ("tcp: minor optimizations > around tcp_hdr() usage"). >> At this point, skb->data is same with tcp_hdr() as tcp header has not >> been

Re: [PATCH 3.18 000/185] 3.18.111-stable review

2018-05-28 Thread Guenter Roeck
On 05/28/2018 03:00 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.111 release. There are 185 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

Re: [PATCH v3 net-next 2/2] tcp: minor optimization around tcp_hdr() usage in tcp receive path

2018-05-28 Thread Yafang Shao
On Tue, May 29, 2018 at 12:36 AM, Eric Dumazet wrote: > On Mon, May 28, 2018 at 8:36 AM Yafang Shao wrote: > >> This is additional to the commit ea1627c20c34 ("tcp: minor optimizations > around tcp_hdr() usage"). >> At this point, skb->data is same with tcp_hdr() as tcp header has not >> been

Re: [PATCH 3.18 000/185] 3.18.111-stable review

2018-05-28 Thread Guenter Roeck
On 05/28/2018 03:00 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.111 release. There are 185 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

Re: Why is the length of max mount option a page size??

2018-05-28 Thread Jungsub Shin
On Fri, May 25, 2018 at 07:42:10PM +0900, J. R. Okajima wrote: > Jungsub Shin: > > I know that almost mount option short and page size is enough to > > contain almost mount options. but because of options for > > unionfs(overlay, aufs), lenght of mount option could be exceed it > > and cut. > > >

Re: Why is the length of max mount option a page size??

2018-05-28 Thread Jungsub Shin
On Fri, May 25, 2018 at 07:42:10PM +0900, J. R. Okajima wrote: > Jungsub Shin: > > I know that almost mount option short and page size is enough to > > contain almost mount options. but because of options for > > unionfs(overlay, aufs), lenght of mount option could be exceed it > > and cut. > > >

Re: [RFT v3 1/4] perf cs-etm: Generate branch sample for missed packets

2018-05-28 Thread Leo Yan
Hi Mathieu, On Mon, May 28, 2018 at 04:13:47PM -0600, Mathieu Poirier wrote: > Leo and/or Robert, > > On Mon, May 28, 2018 at 04:45:00PM +0800, Leo Yan wrote: > > Commit e573e978fb12 ("perf cs-etm: Inject capabilitity for CoreSight > > traces") reworks the samples generation flow from CoreSight

Re: [RFT v3 1/4] perf cs-etm: Generate branch sample for missed packets

2018-05-28 Thread Leo Yan
Hi Mathieu, On Mon, May 28, 2018 at 04:13:47PM -0600, Mathieu Poirier wrote: > Leo and/or Robert, > > On Mon, May 28, 2018 at 04:45:00PM +0800, Leo Yan wrote: > > Commit e573e978fb12 ("perf cs-etm: Inject capabilitity for CoreSight > > traces") reworks the samples generation flow from CoreSight

RE: [PATCH] PCI: hv: Do not wait forever on a device that has disappeared

2018-05-28 Thread Michael Kelley (EOSG)
> > Before the guest finishes the device initialization, the device can be > removed anytime by the host, and after that the host won't respond to > the guest's request, so the guest should be prepared to handle this > case. > > Signed-off-by: Dexuan Cui > Cc: Stephen Hemminger > Cc: K. Y.

RE: [PATCH] PCI: hv: Do not wait forever on a device that has disappeared

2018-05-28 Thread Michael Kelley (EOSG)
> > Before the guest finishes the device initialization, the device can be > removed anytime by the host, and after that the host won't respond to > the guest's request, so the guest should be prepared to handle this > case. > > Signed-off-by: Dexuan Cui > Cc: Stephen Hemminger > Cc: K. Y.

Re: [RFC PATCH v2 1/2] drm: Add generic colorkey properties

2018-05-28 Thread Dmitry Osipenko
On 29.05.2018 02:48, Dmitry Osipenko wrote: > inversion=true" if mask has form of 0x11000111, though this could be not For clarity: I meant s/0x11000111/0xFF000FFF/.

Re: [RFC PATCH v2 1/2] drm: Add generic colorkey properties

2018-05-28 Thread Dmitry Osipenko
On 29.05.2018 02:48, Dmitry Osipenko wrote: > inversion=true" if mask has form of 0x11000111, though this could be not For clarity: I meant s/0x11000111/0xFF000FFF/.

Re: [RFC V2] virtio: Add platform specific DMA API translation for virito devices

2018-05-28 Thread Benjamin Herrenschmidt
On Tue, 2018-05-29 at 09:48 +1000, Benjamin Herrenschmidt wrote: > > Well it's not supposed to be much slower for the static case. > > > > vhost has a cache so should be fine. > > > > A while ago Paolo implemented a translation cache which should be > > perfect for this case - most of the code

Re: [RFC V2] virtio: Add platform specific DMA API translation for virito devices

2018-05-28 Thread Benjamin Herrenschmidt
On Tue, 2018-05-29 at 09:48 +1000, Benjamin Herrenschmidt wrote: > > Well it's not supposed to be much slower for the static case. > > > > vhost has a cache so should be fine. > > > > A while ago Paolo implemented a translation cache which should be > > perfect for this case - most of the code

Re: [RFC PATCH v2 1/2] drm: Add generic colorkey properties

2018-05-28 Thread Dmitry Osipenko
On 28.05.2018 16:15, Ville Syrjälä wrote: > On Sat, May 26, 2018 at 06:56:22PM +0300, Dmitry Osipenko wrote: >> Color keying is the action of replacing pixels matching a given color >> (or range of colors) with transparent pixels in an overlay when >> performing blitting. Depending on the hardware

Re: [RFC PATCH v2 1/2] drm: Add generic colorkey properties

2018-05-28 Thread Dmitry Osipenko
On 28.05.2018 16:15, Ville Syrjälä wrote: > On Sat, May 26, 2018 at 06:56:22PM +0300, Dmitry Osipenko wrote: >> Color keying is the action of replacing pixels matching a given color >> (or range of colors) with transparent pixels in an overlay when >> performing blitting. Depending on the hardware

[PATCH] printk: make printk_safe_flush safe in NMI context

2018-05-28 Thread Hoeun Ryu
From: Hoeun Ryu Make printk_safe_flush() safe in NMI context. And printk_safe_flush_on_panic() is folded into this function. The prototype of printk_safe_flush() is changed to "void printk_safe_flush(bool panic)". nmi_trigger_cpumask_backtrace() can be called in NMI context. For example the

[PATCH] printk: make printk_safe_flush safe in NMI context

2018-05-28 Thread Hoeun Ryu
From: Hoeun Ryu Make printk_safe_flush() safe in NMI context. And printk_safe_flush_on_panic() is folded into this function. The prototype of printk_safe_flush() is changed to "void printk_safe_flush(bool panic)". nmi_trigger_cpumask_backtrace() can be called in NMI context. For example the

linux-next: manual merge of the overlayfs tree with the btrfs-kdave tree

2018-05-28 Thread Stephen Rothwell
Hi Miklos, Today's linux-next merge of the overlayfs tree got a conflict in: fs/btrfs/ioctl.c between commit: 0b4dc087e29a ("Btrfs: dedupe_file_range ioctl: remove 16MiB restriction") from the btrfs-kdave tree and commits: 83d499febfac ("vfs: dedpue: return loff_t") 7765f19ed5f9

linux-next: manual merge of the overlayfs tree with the btrfs-kdave tree

2018-05-28 Thread Stephen Rothwell
Hi Miklos, Today's linux-next merge of the overlayfs tree got a conflict in: fs/btrfs/ioctl.c between commit: 0b4dc087e29a ("Btrfs: dedupe_file_range ioctl: remove 16MiB restriction") from the btrfs-kdave tree and commits: 83d499febfac ("vfs: dedpue: return loff_t") 7765f19ed5f9

Re: [PATCH] usb/gadget: aspeed-vhub: add USB_LIBCOMPOSITE dependency

2018-05-28 Thread Benjamin Herrenschmidt
On Fri, 2018-05-25 at 18:07 +0200, Arnd Bergmann wrote: > Without that option, we run into a link failure: > > drivers/usb/gadget/udc/aspeed-vhub/hub.o: In function > `ast_vhub_std_hub_request': > hub.c:(.text+0x5b0): undefined reference to `usb_gadget_get_string' Thanks ! I hadn't realized

Re: [RFC V2] virtio: Add platform specific DMA API translation for virito devices

2018-05-28 Thread Benjamin Herrenschmidt
On Fri, 2018-05-25 at 20:45 +0300, Michael S. Tsirkin wrote: > On Thu, May 24, 2018 at 08:27:04AM +1000, Benjamin Herrenschmidt wrote: > > On Wed, 2018-05-23 at 21:50 +0300, Michael S. Tsirkin wrote: > > > > > I re-read that discussion and I'm still unclear on the > > > original question, since I

Re: [PATCH] usb/gadget: aspeed-vhub: add USB_LIBCOMPOSITE dependency

2018-05-28 Thread Benjamin Herrenschmidt
On Fri, 2018-05-25 at 18:07 +0200, Arnd Bergmann wrote: > Without that option, we run into a link failure: > > drivers/usb/gadget/udc/aspeed-vhub/hub.o: In function > `ast_vhub_std_hub_request': > hub.c:(.text+0x5b0): undefined reference to `usb_gadget_get_string' Thanks ! I hadn't realized

Re: [RFC V2] virtio: Add platform specific DMA API translation for virito devices

2018-05-28 Thread Benjamin Herrenschmidt
On Fri, 2018-05-25 at 20:45 +0300, Michael S. Tsirkin wrote: > On Thu, May 24, 2018 at 08:27:04AM +1000, Benjamin Herrenschmidt wrote: > > On Wed, 2018-05-23 at 21:50 +0300, Michael S. Tsirkin wrote: > > > > > I re-read that discussion and I'm still unclear on the > > > original question, since I

BUG: unable to handle kernel (3)

2018-05-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:861d9dd37526 Merge tag 'kbuild-fixes-v4.17-2' of git://git.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10bffd0f80 kernel config: https://syzkaller.appspot.com/x/.config?x=982e2df1b9e60b02

BUG: unable to handle kernel (3)

2018-05-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:861d9dd37526 Merge tag 'kbuild-fixes-v4.17-2' of git://git.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10bffd0f80 kernel config: https://syzkaller.appspot.com/x/.config?x=982e2df1b9e60b02

[PATCH V3 1/2] PCI: Try to clean up resources via remove if shutdown doesn't exist

2018-05-28 Thread Sinan Kaya
It is up to a driver to implement shutdown() callback. If shutdown() callback is not implemented, PCI device can have pending interrupt and even do DMA transactions while the system is going down. If kexec is in use, this can damage the newly booting kexec kernel or even prevent it from booting

[PATCH V3 1/2] PCI: Try to clean up resources via remove if shutdown doesn't exist

2018-05-28 Thread Sinan Kaya
It is up to a driver to implement shutdown() callback. If shutdown() callback is not implemented, PCI device can have pending interrupt and even do DMA transactions while the system is going down. If kexec is in use, this can damage the newly booting kexec kernel or even prevent it from booting

possible deadlock in sock_hash_free

2018-05-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7a1a98c171ea Merge branch 'bpf-sendmsg-hook' git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=131f406780 kernel config: https://syzkaller.appspot.com/x/.config?x=e4078980b886800c dashboard link:

possible deadlock in sock_hash_free

2018-05-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7a1a98c171ea Merge branch 'bpf-sendmsg-hook' git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=131f406780 kernel config: https://syzkaller.appspot.com/x/.config?x=e4078980b886800c dashboard link:

Re: [PATCH net-next] ifb: fix packets checksum

2018-05-28 Thread Jonathan Maxwell
On Sat, May 26, 2018 at 6:43 AM, David Miller wrote: > From: Jon Maxwell > Date: Fri, 25 May 2018 07:38:29 +1000 > >> Fixup the checksum for CHECKSUM_COMPLETE when pulling skbs on RX path. >> Otherwise we get splats when tc mirred is used to redirect packets to ifb. >> >> Before fix: >> >> nic:

Re: [PATCH net-next] ifb: fix packets checksum

2018-05-28 Thread Jonathan Maxwell
On Sat, May 26, 2018 at 6:43 AM, David Miller wrote: > From: Jon Maxwell > Date: Fri, 25 May 2018 07:38:29 +1000 > >> Fixup the checksum for CHECKSUM_COMPLETE when pulling skbs on RX path. >> Otherwise we get splats when tc mirred is used to redirect packets to ifb. >> >> Before fix: >> >> nic:

[PATCH v1 16/20] signal: make flush_sigqueue_mask() void

2018-05-28 Thread Christian Brauner
The return value of flush_sigqueue_mask() is never checked anywhere. Signed-off-by: Christian Brauner --- v0->v1: * patch introduced --- kernel/signal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c index c382ac346a81..0959965b523d

[PATCH v1 18/20] signal: make legacy_queue() return bool

2018-05-28 Thread Christian Brauner
legacy_queue() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v0->v1: * patch introduced --- kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/signal.c b/kernel/signal.c index

[PATCH v1 08/20] signal: simplify rt_sigaction()

2018-05-28 Thread Christian Brauner
The goto is not needed and does not add any clarity. Simply return -EINVAL on unexpected sigset_t struct size directly. Signed-off-by: Christian Brauner --- v0->v1: * patch unchanged --- kernel/signal.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git

[PATCH v1 11/20] signal: make sig_task_ignored() return bool

2018-05-28 Thread Christian Brauner
sig_task_ignored() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v0->v1: * patch introduced --- kernel/signal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c index

[PATCH v1 17/20] signal: make wants_signal() return bool

2018-05-28 Thread Christian Brauner
wants_signal() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v0->v1: * patch introduced --- kernel/signal.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c

[PATCH v1 16/20] signal: make flush_sigqueue_mask() void

2018-05-28 Thread Christian Brauner
The return value of flush_sigqueue_mask() is never checked anywhere. Signed-off-by: Christian Brauner --- v0->v1: * patch introduced --- kernel/signal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c index c382ac346a81..0959965b523d

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