Re: WARNING: kmalloc bug in xdp_umem_create

2018-06-10 Thread Dmitry Vyukov
On Sun, Jun 10, 2018 at 3:03 PM, Björn Töpel wrote: >> On 2018/06/10 20:52, Dmitry Vyukov wrote: >> > On Sun, Jun 10, 2018 at 11:31 AM, Björn Töpel >> > wrote: >> >> Den sön 10 juni 2018 kl 04:53 skrev Tetsuo Handa >> >> : >> >>> >> >>> On 2018/06/10 7:47, syzbot wrote: >> Hello, >>

Re: WARNING: kmalloc bug in xdp_umem_create

2018-06-10 Thread Dmitry Vyukov
On Sun, Jun 10, 2018 at 3:03 PM, Björn Töpel wrote: >> On 2018/06/10 20:52, Dmitry Vyukov wrote: >> > On Sun, Jun 10, 2018 at 11:31 AM, Björn Töpel >> > wrote: >> >> Den sön 10 juni 2018 kl 04:53 skrev Tetsuo Handa >> >> : >> >>> >> >>> On 2018/06/10 7:47, syzbot wrote: >> Hello, >>

arch/microblaze/kernel/heartbeat.c:17:10: fatal error: asm/prom.h: No such file or directory

2018-06-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0dc7f9c6dd99891611fca5849cbc4c6965b690e commit: 96f0e6fcc9add1f063984be32073fe8b1d39b664 microblaze: remove redundant early_printk support date: 7 weeks ago config: microblaze-allyesconfig (attached as

arch/microblaze/kernel/heartbeat.c:17:10: fatal error: asm/prom.h: No such file or directory

2018-06-10 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0dc7f9c6dd99891611fca5849cbc4c6965b690e commit: 96f0e6fcc9add1f063984be32073fe8b1d39b664 microblaze: remove redundant early_printk support date: 7 weeks ago config: microblaze-allyesconfig (attached as

WARNING in destroy_workqueue

2018-06-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a16afaf7928b Merge tag 'for-v4.18' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15f66f9f80 kernel config: https://syzkaller.appspot.com/x/.config?x=314f2150f36c16ca

WARNING in destroy_workqueue

2018-06-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a16afaf7928b Merge tag 'for-v4.18' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15f66f9f80 kernel config: https://syzkaller.appspot.com/x/.config?x=314f2150f36c16ca

KASAN: use-after-free Read in getname_kernel

2018-06-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3ca24ce9ff76 Merge branch 'proc-cmdline' git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15ed37d780 kernel config: https://syzkaller.appspot.com/x/.config?x=314f2150f36c16ca dashboard link:

KASAN: use-after-free Read in getname_kernel

2018-06-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3ca24ce9ff76 Merge branch 'proc-cmdline' git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15ed37d780 kernel config: https://syzkaller.appspot.com/x/.config?x=314f2150f36c16ca dashboard link:

Re: [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-10 Thread Kuninori Morimoto
Hi Katsuhiro > > > This patch moves headphone and microphone detection to probe() of > > > snd_soc_card from init() of snd_soc_dai_link. This is because init() > > > is called (and an input device /dev/input/eventX is created too) > > > twice or above if simple card has two or more DAI links.

Re: [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-10 Thread Kuninori Morimoto
Hi Katsuhiro > > > This patch moves headphone and microphone detection to probe() of > > > snd_soc_card from init() of snd_soc_dai_link. This is because init() > > > is called (and an input device /dev/input/eventX is created too) > > > twice or above if simple card has two or more DAI links.

Re: [PATCH] arm: Initialize hrtimer-based broadcast clockevent

2018-06-10 Thread Jan Kiszka
On 2018-04-04 17:54, Jan Kiszka wrote: > On 2018-03-01 07:04, Jan Kiszka wrote: >> On 2018-01-22 07:06, Jan Kiszka wrote: >>> Analogously to 9358d755bd5c, this registers a broadcast clockevent in >>> case no hardware broadcast timer is available and the per-CPU timers can >>> be stopped in deep

Re: [PATCH] arm: Initialize hrtimer-based broadcast clockevent

2018-06-10 Thread Jan Kiszka
On 2018-04-04 17:54, Jan Kiszka wrote: > On 2018-03-01 07:04, Jan Kiszka wrote: >> On 2018-01-22 07:06, Jan Kiszka wrote: >>> Analogously to 9358d755bd5c, this registers a broadcast clockevent in >>> case no hardware broadcast timer is available and the per-CPU timers can >>> be stopped in deep

Re: [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-10 Thread Katsuhiro Suzuki
Hello Morimoto-san, > -Original Message- > From: Kuninori Morimoto > Sent: Monday, June 11, 2018 2:27 PM > To: Suzuki, Katsuhiro > Cc: Mark Brown ; alsa-de...@alsa-project.org; Masami Hiramatsu > ; Jassi Brar ; > linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org >

Re: [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-10 Thread Katsuhiro Suzuki
Hello Morimoto-san, > -Original Message- > From: Kuninori Morimoto > Sent: Monday, June 11, 2018 2:27 PM > To: Suzuki, Katsuhiro > Cc: Mark Brown ; alsa-de...@alsa-project.org; Masami Hiramatsu > ; Jassi Brar ; > linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org >

Re: [PATCH v3 1/3] cpufreq: imx6q: check speed grades for i.MX6ULL

2018-06-10 Thread Shawn Guo
On Tue, May 22, 2018 at 08:28:51AM +0200, Sébastien Szymanski wrote: > Check the max speed supported from the fuses for i.MX6ULL and update the > operating points table accordingly. > > Signed-off-by: Sébastien Szymanski Acked-by: Shawn Guo

Re: [PATCH v3 1/3] cpufreq: imx6q: check speed grades for i.MX6ULL

2018-06-10 Thread Shawn Guo
On Tue, May 22, 2018 at 08:28:51AM +0200, Sébastien Szymanski wrote: > Check the max speed supported from the fuses for i.MX6ULL and update the > operating points table accordingly. > > Signed-off-by: Sébastien Szymanski Acked-by: Shawn Guo

Re: [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-10 Thread Kuninori Morimoto
Hi Katsuhiro-san > This patch moves headphone and microphone detection to probe() of > snd_soc_card from init() of snd_soc_dai_link. This is because init() > is called (and an input device /dev/input/eventX is created too) > twice or above if simple card has two or more DAI links. > >

Re: [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-10 Thread Kuninori Morimoto
Hi Katsuhiro-san > This patch moves headphone and microphone detection to probe() of > snd_soc_card from init() of snd_soc_dai_link. This is because init() > is called (and an input device /dev/input/eventX is created too) > twice or above if simple card has two or more DAI links. > >

[PATCH] net: dsa: add error handling for pskb_trim_rcsum

2018-06-10 Thread Zhouyang Jia
When pskb_trim_rcsum fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling pskb_trim_rcsum. Signed-off-by: Zhouyang Jia --- net/dsa/tag_trailer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH] net: dsa: add error handling for pskb_trim_rcsum

2018-06-10 Thread Zhouyang Jia
When pskb_trim_rcsum fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling pskb_trim_rcsum. Signed-off-by: Zhouyang Jia --- net/dsa/tag_trailer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 4.16 01/48] mmap: introduce sane default mmap limits

2018-06-10 Thread Greg Kroah-Hartman
On Mon, Jun 11, 2018 at 08:12:45AM +1000, David Airlie wrote: > Can you make sure you pull in > > 76ef6b28ea4f81c3d511866a9b31392caa833126 (tag: > drm-fixes-for-v4.17-rc6-urgent) > Author: Dave Airlie > Date: Tue May 15 13:38:15 2018 +1000 > > drm: set FMODE_UNSIGNED_OFFSET for drm files

Re: [PATCH] ARM: dts: imx51-zii-rdu1: add rave-sp subdevices

2018-06-10 Thread Shawn Guo
On Thu, May 17, 2018 at 10:19:23PM +0300, Nikita Yushchenko wrote: > This adds rave-sp powerbutton and backlight devices to RDU1 device tree. > > Signed-off-by: Nikita Yushchenko > --- > arch/arm/boot/dts/imx51-zii-rdu1.dts | 8 > 1 file changed, 8 insertions(+) > > diff --git

Re: [PATCH 4.16 01/48] mmap: introduce sane default mmap limits

2018-06-10 Thread Greg Kroah-Hartman
On Mon, Jun 11, 2018 at 08:12:45AM +1000, David Airlie wrote: > Can you make sure you pull in > > 76ef6b28ea4f81c3d511866a9b31392caa833126 (tag: > drm-fixes-for-v4.17-rc6-urgent) > Author: Dave Airlie > Date: Tue May 15 13:38:15 2018 +1000 > > drm: set FMODE_UNSIGNED_OFFSET for drm files

Re: [PATCH] ARM: dts: imx51-zii-rdu1: add rave-sp subdevices

2018-06-10 Thread Shawn Guo
On Thu, May 17, 2018 at 10:19:23PM +0300, Nikita Yushchenko wrote: > This adds rave-sp powerbutton and backlight devices to RDU1 device tree. > > Signed-off-by: Nikita Yushchenko > --- > arch/arm/boot/dts/imx51-zii-rdu1.dts | 8 > 1 file changed, 8 insertions(+) > > diff --git

[PATCH] Input: add error handling for da9052_reg_write

2018-06-10 Thread Zhouyang Jia
When da9052_reg_write fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling da9052_reg_write. Signed-off-by: Zhouyang Jia --- drivers/input/touchscreen/da9052_tsi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

[PATCH] Input: add error handling for da9052_reg_write

2018-06-10 Thread Zhouyang Jia
When da9052_reg_write fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling da9052_reg_write. Signed-off-by: Zhouyang Jia --- drivers/input/touchscreen/da9052_tsi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

Re: [intel-sgx-kernel-dev] [PATCH v11 13/13] intel_sgx: in-kernel launch enclave

2018-06-10 Thread Andy Lutomirski
> On Jun 9, 2018, at 10:39 PM, Andy Lutomirski wrote: > > On Fri, Jun 8, 2018 at 10:32 AM Jarkko Sakkinen > wrote: >> >> The Launch Enclave (LE) generates cryptographic launch tokens for user >> enclaves. A launch token is used by EINIT to check whether the enclave >> is authorized to launch or

Re: [intel-sgx-kernel-dev] [PATCH v11 13/13] intel_sgx: in-kernel launch enclave

2018-06-10 Thread Andy Lutomirski
> On Jun 9, 2018, at 10:39 PM, Andy Lutomirski wrote: > > On Fri, Jun 8, 2018 at 10:32 AM Jarkko Sakkinen > wrote: >> >> The Launch Enclave (LE) generates cryptographic launch tokens for user >> enclaves. A launch token is used by EINIT to check whether the enclave >> is authorized to launch or

[PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-10 Thread Katsuhiro Suzuki
This patch moves headphone and microphone detection to probe() of snd_soc_card from init() of snd_soc_dai_link. This is because init() is called (and an input device /dev/input/eventX is created too) twice or above if simple card has two or more DAI links. Signed-off-by: Katsuhiro Suzuki ---

[PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-10 Thread Katsuhiro Suzuki
This patch moves headphone and microphone detection to probe() of snd_soc_card from init() of snd_soc_dai_link. This is because init() is called (and an input device /dev/input/eventX is created too) twice or above if simple card has two or more DAI links. Signed-off-by: Katsuhiro Suzuki ---

[PATCH v2 1/3] ASoC: simple-card-utils: move hp and mic detect gpios from simple-card

2018-06-10 Thread Katsuhiro Suzuki
This patch moves headphone and microphone jack detection gpios from simple-card driver. It is preparing for using this feature from other drivers. Signed-off-by: Katsuhiro Suzuki --- Changes from v1: - Move changes of audio-graph-card to other patch --- include/sound/simple_card_utils.h

[PATCH] pcmcia: add error handling for pcmcia_enable_device

2018-06-10 Thread Zhouyang Jia
When pcmcia_enable_device fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling pcmcia_enable_device. Signed-off-by: Zhouyang Jia --- drivers/scsi/pcmcia/qlogic_stub.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-)

[PATCH v2 3/3] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Katsuhiro Suzuki
This patch adds headphone and microphone jack detection gpios as same as simple-card driver. Signed-off-by: Katsuhiro Suzuki --- Changes from v1: - Move changes of audio-graph-card to other patch --- sound/soc/generic/audio-graph-card.c | 20 +++- 1 file changed, 19

[PATCH v2 1/3] ASoC: simple-card-utils: move hp and mic detect gpios from simple-card

2018-06-10 Thread Katsuhiro Suzuki
This patch moves headphone and microphone jack detection gpios from simple-card driver. It is preparing for using this feature from other drivers. Signed-off-by: Katsuhiro Suzuki --- Changes from v1: - Move changes of audio-graph-card to other patch --- include/sound/simple_card_utils.h

[PATCH] pcmcia: add error handling for pcmcia_enable_device

2018-06-10 Thread Zhouyang Jia
When pcmcia_enable_device fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling pcmcia_enable_device. Signed-off-by: Zhouyang Jia --- drivers/scsi/pcmcia/qlogic_stub.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-)

[PATCH v2 3/3] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Katsuhiro Suzuki
This patch adds headphone and microphone jack detection gpios as same as simple-card driver. Signed-off-by: Katsuhiro Suzuki --- Changes from v1: - Move changes of audio-graph-card to other patch --- sound/soc/generic/audio-graph-card.c | 20 +++- 1 file changed, 19

Re: [PATCH v2] ARM: DTS: imx53: Add support for imx53 HSC/DDC boards from K+P

2018-06-10 Thread Shawn Guo
On Sat, May 19, 2018 at 02:15:06PM +0200, Lukasz Majewski wrote: > This commit provides support for HSC and DDC boards from > Kieback GmbH vendor. > > Signed-off-by: Lukasz Majewski > --- > Changes for v2: > > - Remove not needed #address-cells and #size-cells in > the gpio_buttons node to

Re: [PATCH v2] ARM: DTS: imx53: Add support for imx53 HSC/DDC boards from K+P

2018-06-10 Thread Shawn Guo
On Sat, May 19, 2018 at 02:15:06PM +0200, Lukasz Majewski wrote: > This commit provides support for HSC and DDC boards from > Kieback GmbH vendor. > > Signed-off-by: Lukasz Majewski > --- > Changes for v2: > > - Remove not needed #address-cells and #size-cells in > the gpio_buttons node to

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

2018-06-10 Thread Zhouyang Jia
When nlmsg_put fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling nlmsg_put. Signed-off-by: Zhouyang Jia --- drivers/staging/gdm724x/netlink_k.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

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

2018-06-10 Thread Zhouyang Jia
When nlmsg_put fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling nlmsg_put. Signed-off-by: Zhouyang Jia --- drivers/staging/gdm724x/netlink_k.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH] optoe: driver to read/write SFP/QSFP EEPROMs

2018-06-10 Thread Randy Dunlap
Hi, On 06/10/2018 09:25 PM, Don Bollinger wrote: > diff --git a/drivers/misc/eeprom/Kconfig b/drivers/misc/eeprom/Kconfig > index 68a1ac929917..9a08e12756ee 100644 > --- a/drivers/misc/eeprom/Kconfig > +++ b/drivers/misc/eeprom/Kconfig > @@ -111,4 +111,22 @@ config EEPROM_IDT_89HPESX >

Re: [PATCH] optoe: driver to read/write SFP/QSFP EEPROMs

2018-06-10 Thread Randy Dunlap
Hi, On 06/10/2018 09:25 PM, Don Bollinger wrote: > diff --git a/drivers/misc/eeprom/Kconfig b/drivers/misc/eeprom/Kconfig > index 68a1ac929917..9a08e12756ee 100644 > --- a/drivers/misc/eeprom/Kconfig > +++ b/drivers/misc/eeprom/Kconfig > @@ -111,4 +111,22 @@ config EEPROM_IDT_89HPESX >

[PATCH] optoe: driver to read/write SFP/QSFP EEPROMs

2018-06-10 Thread Don Bollinger
optoe is an i2c based driver that supports read/write access to all the pages (tables) of MSA standard SFP and similar devices (conforming to the SFF-8472 spec) and MSA standard QSFP and similar devices (conforming to the SFF-8436 spec). These devices provide identification, operational status

[PATCH] optoe: driver to read/write SFP/QSFP EEPROMs

2018-06-10 Thread Don Bollinger
optoe is an i2c based driver that supports read/write access to all the pages (tables) of MSA standard SFP and similar devices (conforming to the SFF-8472 spec) and MSA standard QSFP and similar devices (conforming to the SFF-8436 spec). These devices provide identification, operational status

Re: [PATCH 2/2] IB/mad: Use IDR for agent IDs

2018-06-10 Thread Jason Gunthorpe
On Mon, Jun 11, 2018 at 07:34:25AM +0300, Leon Romanovsky wrote: > On Sun, Jun 10, 2018 at 02:30:27PM -0600, Jason Gunthorpe wrote: > > On Sun, Jun 10, 2018 at 03:25:05PM +0300, Leon Romanovsky wrote: > > > On Sun, Jun 10, 2018 at 03:43:05AM -0700, Matthew Wilcox wrote: > > > > On Sun, Jun 10,

Re: [PATCH 2/2] IB/mad: Use IDR for agent IDs

2018-06-10 Thread Jason Gunthorpe
On Mon, Jun 11, 2018 at 07:34:25AM +0300, Leon Romanovsky wrote: > On Sun, Jun 10, 2018 at 02:30:27PM -0600, Jason Gunthorpe wrote: > > On Sun, Jun 10, 2018 at 03:25:05PM +0300, Leon Romanovsky wrote: > > > On Sun, Jun 10, 2018 at 03:43:05AM -0700, Matthew Wilcox wrote: > > > > On Sun, Jun 10,

Re: [PATCH 0/5] can: enable multi-queue for SocketCAN devices

2018-06-10 Thread Oleksij Rempel
Hi, On 07.06.2018 17:14, Jonas Mark (BT-FIR/ENG1) wrote: > Hi Andy, > >>> The functionality bases on an external peripheral chip named Companion. >>> It offers two CAN interfaces, each has 8 prioritized transmit FIFOs as >>> well as one receive FIFO. Besides CAN, undisclosed additional

Re: [PATCH 0/5] can: enable multi-queue for SocketCAN devices

2018-06-10 Thread Oleksij Rempel
Hi, On 07.06.2018 17:14, Jonas Mark (BT-FIR/ENG1) wrote: > Hi Andy, > >>> The functionality bases on an external peripheral chip named Companion. >>> It offers two CAN interfaces, each has 8 prioritized transmit FIFOs as >>> well as one receive FIFO. Besides CAN, undisclosed additional

[PATCH] media: tm6000: add error handling for dvb_register_adapter

2018-06-10 Thread Zhouyang Jia
When dvb_register_adapter fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling dvb_register_adapter. Signed-off-by: Zhouyang Jia --- drivers/media/usb/tm6000/tm6000-dvb.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH] media: tm6000: add error handling for dvb_register_adapter

2018-06-10 Thread Zhouyang Jia
When dvb_register_adapter fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling dvb_register_adapter. Signed-off-by: Zhouyang Jia --- drivers/media/usb/tm6000/tm6000-dvb.c | 5 + 1 file changed, 5 insertions(+) diff --git

Re: [PATCH 2/2] IB/mad: Use IDR for agent IDs

2018-06-10 Thread Leon Romanovsky
On Sun, Jun 10, 2018 at 02:30:27PM -0600, Jason Gunthorpe wrote: > On Sun, Jun 10, 2018 at 03:25:05PM +0300, Leon Romanovsky wrote: > > On Sun, Jun 10, 2018 at 03:43:05AM -0700, Matthew Wilcox wrote: > > > On Sun, Jun 10, 2018 at 09:30:28AM +0300, Leon Romanovsky wrote: > > > > 1. IBTA spec

Re: [PATCH 2/2] IB/mad: Use IDR for agent IDs

2018-06-10 Thread Leon Romanovsky
On Sun, Jun 10, 2018 at 02:30:27PM -0600, Jason Gunthorpe wrote: > On Sun, Jun 10, 2018 at 03:25:05PM +0300, Leon Romanovsky wrote: > > On Sun, Jun 10, 2018 at 03:43:05AM -0700, Matthew Wilcox wrote: > > > On Sun, Jun 10, 2018 at 09:30:28AM +0300, Leon Romanovsky wrote: > > > > 1. IBTA spec

Re: [PATCH 0/7] Uprobes: Support SDT markers having reference count (semaphore)

2018-06-10 Thread Ravi Bangoria
Hi Masami, >>> Hmm, it sounds simple... maybe we can increment refctr in >>> install_breakpoint/ >>> remove_breakpoint? >> >> Not really, it would be simpler if I can put it inside install_breakpoint(). >> Consider an mmap() case. Probed instruction resides in the text section >> whereas >>

Re: [PATCH 0/7] Uprobes: Support SDT markers having reference count (semaphore)

2018-06-10 Thread Ravi Bangoria
Hi Masami, >>> Hmm, it sounds simple... maybe we can increment refctr in >>> install_breakpoint/ >>> remove_breakpoint? >> >> Not really, it would be simpler if I can put it inside install_breakpoint(). >> Consider an mmap() case. Probed instruction resides in the text section >> whereas >>

Re: [RESEND v2] dmaengine: pxa: add a default requestor policy

2018-06-10 Thread Vinod Koul
On 09-06-18, 14:43, Robert Jarzmik wrote: > Robert Jarzmik writes: > > > As what former drcmr -1 value meant, add a this as a default to each > > channel, ie. that by default no requestor line is used. > > > > This is specifically used for network drivers smc91x and smc911x, and > > needed for

Re: [RESEND v2] dmaengine: pxa: add a default requestor policy

2018-06-10 Thread Vinod Koul
On 09-06-18, 14:43, Robert Jarzmik wrote: > Robert Jarzmik writes: > > > As what former drcmr -1 value meant, add a this as a default to each > > channel, ie. that by default no requestor line is used. > > > > This is specifically used for network drivers smc91x and smc911x, and > > needed for

Re: [PATCH 0/7] Uprobes: Support SDT markers having reference count (semaphore)

2018-06-10 Thread Ravi Bangoria
Hi Oleg, On 06/08/2018 10:06 PM, Oleg Nesterov wrote: > Hello, > > I am travelling till the end of the next week, can't read this version > until I return. Just one question, > > On 06/06, Ravi Bangoria wrote: >> >> 1. One of the major reason was the deadlock between uprobe_lock and >>

Re: [PATCH 0/7] Uprobes: Support SDT markers having reference count (semaphore)

2018-06-10 Thread Ravi Bangoria
Hi Oleg, On 06/08/2018 10:06 PM, Oleg Nesterov wrote: > Hello, > > I am travelling till the end of the next week, can't read this version > until I return. Just one question, > > On 06/06, Ravi Bangoria wrote: >> >> 1. One of the major reason was the deadlock between uprobe_lock and >>

Re: [PATCH v3 9/9] x86: jump-labels: use macros instead of inline assembly

2018-06-10 Thread Nadav Amit
at 6:29 PM, h...@zytor.com wrote: > On June 10, 2018 7:19:11 AM PDT, Nadav Amit wrote: >> Use assembly macros for jump-labels and call them from inline assembly. >> This not only makes the code more readable, but also improves >> compilation decision, specifically inline decisions which GCC base

Re: [PATCH v3 9/9] x86: jump-labels: use macros instead of inline assembly

2018-06-10 Thread Nadav Amit
at 6:29 PM, h...@zytor.com wrote: > On June 10, 2018 7:19:11 AM PDT, Nadav Amit wrote: >> Use assembly macros for jump-labels and call them from inline assembly. >> This not only makes the code more readable, but also improves >> compilation decision, specifically inline decisions which GCC base

[RFC PATCH] kbuild: clean-up passing KCOV compiler flags

2018-06-10 Thread Masahiro Yamada
Now that the compiler support for KCOV is computed in the Kconfig phase, expensive $(call cc-option,...) calls no longer exist in scripts/Makefile.kcov . It shouldn't hurt to include scripts/Makefile.kcov everytime Kbuild descends into a sub-directory. Also, move ugly stuff from Makefile.lib to

[RFC PATCH] kbuild: clean-up passing KCOV compiler flags

2018-06-10 Thread Masahiro Yamada
Now that the compiler support for KCOV is computed in the Kconfig phase, expensive $(call cc-option,...) calls no longer exist in scripts/Makefile.kcov . It shouldn't hurt to include scripts/Makefile.kcov everytime Kbuild descends into a sub-directory. Also, move ugly stuff from Makefile.lib to

Re: [PATCH 1/2] arm64: avoid alloc memory on offline node

2018-06-10 Thread Xie XiuQi
Hi Michal, On 2018/6/7 20:21, Michal Hocko wrote: > On Thu 07-06-18 19:55:53, Hanjun Guo wrote: >> On 2018/6/7 18:55, Michal Hocko wrote: > [...] >>> I am not sure I have the full context but pci_acpi_scan_root calls >>> kzalloc_node(sizeof(*info), GFP_KERNEL, node) >>> and that should fall back

Re: [PATCH 1/2] arm64: avoid alloc memory on offline node

2018-06-10 Thread Xie XiuQi
Hi Michal, On 2018/6/7 20:21, Michal Hocko wrote: > On Thu 07-06-18 19:55:53, Hanjun Guo wrote: >> On 2018/6/7 18:55, Michal Hocko wrote: > [...] >>> I am not sure I have the full context but pci_acpi_scan_root calls >>> kzalloc_node(sizeof(*info), GFP_KERNEL, node) >>> and that should fall back

[PATCH] staging: clocking-wizard: prefer 'help' in Kconfig

2018-06-10 Thread Kyle Buzby
Fixes the checkpatch warning: WARNING: prefer 'help' over '---help---' for new help texts +config COMMON_CLK_XLNX_CLKWZRD Signed-off-by: Kyle Buzby --- drivers/staging/clocking-wizard/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] staging: clocking-wizard: prefer 'help' in Kconfig

2018-06-10 Thread Kyle Buzby
Fixes the checkpatch warning: WARNING: prefer 'help' over '---help---' for new help texts +config COMMON_CLK_XLNX_CLKWZRD Signed-off-by: Kyle Buzby --- drivers/staging/clocking-wizard/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [alsa-devel] [PATCH] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Katsuhiro Suzuki
Hello Morimoto-san, Thank you for your reviewing. On 06/11/18 08:52, Kuninori Morimoto wrote: Hi Katsuhiro-san Thank you for your patch This patch adds headphone and microphone jack detection gpios as same as simple-card driver. This feature move into simple-card-utils from simple-card to

Re: [alsa-devel] [PATCH] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Katsuhiro Suzuki
Hello Morimoto-san, Thank you for your reviewing. On 06/11/18 08:52, Kuninori Morimoto wrote: Hi Katsuhiro-san Thank you for your patch This patch adds headphone and microphone jack detection gpios as same as simple-card driver. This feature move into simple-card-utils from simple-card to

[PATCH] linux/linkage.h: replace VMLINUX_SYMBOL_STR() with __stringify()

2018-06-10 Thread Masahiro Yamada
With the special case handling for Blackfin and Metag was removed by commit 94e58e0ac312 ("export.h: remove code for prefixing symbols with underscore"), VMLINUX_SYMBOL_STR() is now equivalent to __stringify(). Replace some remaining usages in to prepare for the entire removal of

[PATCH] linux/linkage.h: replace VMLINUX_SYMBOL_STR() with __stringify()

2018-06-10 Thread Masahiro Yamada
With the special case handling for Blackfin and Metag was removed by commit 94e58e0ac312 ("export.h: remove code for prefixing symbols with underscore"), VMLINUX_SYMBOL_STR() is now equivalent to __stringify(). Replace some remaining usages in to prepare for the entire removal of

Re: [PATCH v4 1/2] power: supply: sbs-battery: don't assume MANUFACTURER_DATA formats

2018-06-10 Thread Phil Reid
On 9/06/2018 06:36, Brian Norris wrote: This driver was originally submitted for the TI BQ20Z75 battery IC (commit a7640bfa10c5 ("power_supply: Add driver for TI BQ20Z75 gas gauge IC")) and later renamed to express generic SBS support. While it's mostly true that this driver implemented a

Re: [PATCH v4 1/2] power: supply: sbs-battery: don't assume MANUFACTURER_DATA formats

2018-06-10 Thread Phil Reid
On 9/06/2018 06:36, Brian Norris wrote: This driver was originally submitted for the TI BQ20Z75 battery IC (commit a7640bfa10c5 ("power_supply: Add driver for TI BQ20Z75 gas gauge IC")) and later renamed to express generic SBS support. While it's mostly true that this driver implemented a

Re: [PATCH] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Katsuhiro Suzuki
Hello Morimoto-san, Thank you for your reviewing. > -Original Message- > From: Kuninori Morimoto > Sent: Monday, June 11, 2018 8:53 AM > To: Suzuki, Katsuhiro > Cc: Mark Brown ; alsa-de...@alsa-project.org; Masami Hiramatsu > ; Jassi Brar ; > linux-arm-ker...@lists.infradead.org;

Re: [PATCH] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Katsuhiro Suzuki
Hello Morimoto-san, Thank you for your reviewing. > -Original Message- > From: Kuninori Morimoto > Sent: Monday, June 11, 2018 8:53 AM > To: Suzuki, Katsuhiro > Cc: Mark Brown ; alsa-de...@alsa-project.org; Masami Hiramatsu > ; Jassi Brar ; > linux-arm-ker...@lists.infradead.org;

perfmon trouble

2018-06-10 Thread Al Viro
On Sat, Jun 09, 2018 at 04:51:08PM +0100, Al Viro wrote: > Stephane, could you comment on the situation in there? I realize that you > hadn't touched that thing in more than a decade, but I've no idea who else > might be familiar with that thing and it's very inconveniently special... Having

perfmon trouble

2018-06-10 Thread Al Viro
On Sat, Jun 09, 2018 at 04:51:08PM +0100, Al Viro wrote: > Stephane, could you comment on the situation in there? I realize that you > hadn't touched that thing in more than a decade, but I've no idea who else > might be familiar with that thing and it's very inconveniently special... Having

[PATCH] hid: intel_ish-hid: ipc: register more pm callbacks to support hibernation

2018-06-10 Thread Srinivas Pandruvada
From: Even Xu Current ish driver only register resume/suspend PM callbacks which don't support hibernation (suspend to disk). Now use the SIMPLE_DEV_PM_OPS() MACRO instead of struct dev_pm_ops directly. The suspend and resume functions will now be used for both suspend to RAM and hibernation.

[PATCH] hid: intel_ish-hid: ipc: register more pm callbacks to support hibernation

2018-06-10 Thread Srinivas Pandruvada
From: Even Xu Current ish driver only register resume/suspend PM callbacks which don't support hibernation (suspend to disk). Now use the SIMPLE_DEV_PM_OPS() MACRO instead of struct dev_pm_ops directly. The suspend and resume functions will now be used for both suspend to RAM and hibernation.

Re: [PATCH v3 9/9] x86: jump-labels: use macros instead of inline assembly

2018-06-10 Thread hpa
On June 10, 2018 7:19:11 AM PDT, Nadav Amit wrote: >Use assembly macros for jump-labels and call them from inline assembly. >This not only makes the code more readable, but also improves >compilation decision, specifically inline decisions which GCC base on >the number of new lines in inline

Re: [PATCH v3 9/9] x86: jump-labels: use macros instead of inline assembly

2018-06-10 Thread hpa
On June 10, 2018 7:19:11 AM PDT, Nadav Amit wrote: >Use assembly macros for jump-labels and call them from inline assembly. >This not only makes the code more readable, but also improves >compilation decision, specifically inline decisions which GCC base on >the number of new lines in inline

Re: what trees/branches to test on syzbot

2018-06-10 Thread Theodore Y. Ts'o
On Sun, Jun 10, 2018 at 08:11:05AM +0200, Dmitry Vyukov wrote: > > The set of trees where a crash happened is visible on dashboard, so > one can see if it's only linux-next or whole set of trees. Potentially > syzbot can act differently depending on this predicate, but I don't > see what should

Re: what trees/branches to test on syzbot

2018-06-10 Thread Theodore Y. Ts'o
On Sun, Jun 10, 2018 at 08:11:05AM +0200, Dmitry Vyukov wrote: > > The set of trees where a crash happened is visible on dashboard, so > one can see if it's only linux-next or whole set of trees. Potentially > syzbot can act differently depending on this predicate, but I don't > see what should

include/linux/syscalls.h:211:18: error: 'sys_mmap2' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigne

2018-06-10 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1aaccb5fa0eac996adde53538ca4b87a0b229ab7 commit: ee076e81fc14ca79334d02970cea66604f183a14 sparc: trivial conversions to {COMPAT_,}SYSCALL_DEFINE() date: 3

include/linux/syscalls.h:211:18: error: 'sys_mmap2' alias between functions of incompatible types 'long int(long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigne

2018-06-10 Thread kbuild test robot
Hi Al, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1aaccb5fa0eac996adde53538ca4b87a0b229ab7 commit: ee076e81fc14ca79334d02970cea66604f183a14 sparc: trivial conversions to {COMPAT_,}SYSCALL_DEFINE() date: 3

Bad MAINTAINERS patterns

2018-06-10 Thread Joe Perches
Given various renames and removals, the MAINTAINERS file patterns get out of sync with the actual files. It'd be nice if the various maintainers could fix these file patterns. $ ./scripts/get_maintainer.pl --self-test=patterns ./MAINTAINERS:1733: warning: no file matchesF:

Bad MAINTAINERS patterns

2018-06-10 Thread Joe Perches
Given various renames and removals, the MAINTAINERS file patterns get out of sync with the actual files. It'd be nice if the various maintainers could fix these file patterns. $ ./scripts/get_maintainer.pl --self-test=patterns ./MAINTAINERS:1733: warning: no file matchesF:

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

2018-06-10 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: 1aaccb5fa0eac996adde53538ca4b87a0b229ab7 commit: 819dd92b9c0bc7bce9097d8c1f14240f471bb386 bpfilter: switch to CC from HOSTCC date: 5 days ago config:

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

2018-06-10 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: 1aaccb5fa0eac996adde53538ca4b87a0b229ab7 commit: 819dd92b9c0bc7bce9097d8c1f14240f471bb386 bpfilter: switch to CC from HOSTCC date: 5 days ago config:

Re: [PATCH v3] mm: fix race between kmem_cache destroy, create and deactivate

2018-06-10 Thread Paul E. McKenney
On Sun, Jun 10, 2018 at 10:40:17AM -0700, Shakeel Butt wrote: > On Sun, Jun 10, 2018 at 9:32 AM Paul E. McKenney > wrote: > > > > On Sun, Jun 10, 2018 at 07:52:50AM -0700, Shakeel Butt wrote: > > > On Sat, Jun 9, 2018 at 3:20 AM Vladimir Davydov > > > wrote: > > > > > > > > On Tue, May 29, 2018

Re: [PATCH v3] mm: fix race between kmem_cache destroy, create and deactivate

2018-06-10 Thread Paul E. McKenney
On Sun, Jun 10, 2018 at 10:40:17AM -0700, Shakeel Butt wrote: > On Sun, Jun 10, 2018 at 9:32 AM Paul E. McKenney > wrote: > > > > On Sun, Jun 10, 2018 at 07:52:50AM -0700, Shakeel Butt wrote: > > > On Sat, Jun 9, 2018 at 3:20 AM Vladimir Davydov > > > wrote: > > > > > > > > On Tue, May 29, 2018

Re: [PATCH] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Kuninori Morimoto
Hi Katsuhiro-san Thank you for your patch > This patch adds headphone and microphone jack detection gpios as same > as simple-card driver. This feature move into simple-card-utils from > simple-card to avoid the duplicating code. > > Signed-off-by: Katsuhiro Suzuki > --- I think it can be 2

Re: [PATCH] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Kuninori Morimoto
Hi Katsuhiro-san Thank you for your patch > This patch adds headphone and microphone jack detection gpios as same > as simple-card driver. This feature move into simple-card-utils from > simple-card to avoid the duplicating code. > > Signed-off-by: Katsuhiro Suzuki > --- I think it can be 2

[PATCH 1/2] rcutorture: Disable RT throttling for boost tests

2018-06-10 Thread Joel Fernandes
From: "Joel Fernandes (Google)" Currently rcutorture is not able to torture RCU boosting properly. This is because the rcutorture's boost threads which are doing the torturing may be throttled due to RT throttling. This patch makes rcutorture use the right torture technique (unthrottled

[PATCH 2/2] rcutorture: Make boost test more robust

2018-06-10 Thread Joel Fernandes
From: "Joel Fernandes (Google)" Currently, with RCU_BOOST disabled, I get no failures when forcing rcutorture to test RCU boost priority inversion. The reason seems to be that we don't check for failures if the callback never ran at all for the duration of the boost-test loop. Further, the

[PATCH 1/2] rcutorture: Disable RT throttling for boost tests

2018-06-10 Thread Joel Fernandes
From: "Joel Fernandes (Google)" Currently rcutorture is not able to torture RCU boosting properly. This is because the rcutorture's boost threads which are doing the torturing may be throttled due to RT throttling. This patch makes rcutorture use the right torture technique (unthrottled

[PATCH 2/2] rcutorture: Make boost test more robust

2018-06-10 Thread Joel Fernandes
From: "Joel Fernandes (Google)" Currently, with RCU_BOOST disabled, I get no failures when forcing rcutorture to test RCU boost priority inversion. The reason seems to be that we don't check for failures if the callback never ran at all for the duration of the boost-test loop. Further, the

Re: [PATCH v4 3/4] mm/sparse: Add a new parameter 'data_unit_size' for alloc_usemap_and_memmap

2018-06-10 Thread Baoquan He
On 06/08/18 at 09:13am, Dave Hansen wrote: > On 06/08/2018 08:17 AM, Baoquan He wrote: > > > > Then inside alloc_usemap_and_memmap(), For each node, we get how many > > present sections on this node, call hook alloc_func(). Then we update > > the pointer to point at a new position of usemap_map[]

Re: [PATCH v4 3/4] mm/sparse: Add a new parameter 'data_unit_size' for alloc_usemap_and_memmap

2018-06-10 Thread Baoquan He
On 06/08/18 at 09:13am, Dave Hansen wrote: > On 06/08/2018 08:17 AM, Baoquan He wrote: > > > > Then inside alloc_usemap_and_memmap(), For each node, we get how many > > present sections on this node, call hook alloc_func(). Then we update > > the pointer to point at a new position of usemap_map[]

[PATCH 3/5] vt: introduce unicode mode for /dev/vcs

2018-06-10 Thread Nicolas Pitre
Now that the core vt code knows how to preserve unicode values for each displayed character, it is then possible to let user space access it via /dev/vcs*. Unicode characters are presented as 32 bit values in native endianity via the /dev/vcsu* devices, mimicking the simple /dev/vcs* devices.

[PATCH 3/5] vt: introduce unicode mode for /dev/vcs

2018-06-10 Thread Nicolas Pitre
Now that the core vt code knows how to preserve unicode values for each displayed character, it is then possible to let user space access it via /dev/vcs*. Unicode characters are presented as 32 bit values in native endianity via the /dev/vcsu* devices, mimicking the simple /dev/vcs* devices.

  1   2   3   >