Re: [PATCH] pstore: fix crypto dependencies without compression

2018-04-06 Thread Arnd Bergmann
On Fri, Apr 6, 2018 at 8:38 AM, Tobias Regnery wrote: > Commit 58eb5b670747 ("pstore: fix crypto dependencies") fixed up the crypto > dependencies but missed the case when no compression is selected. > > With CONFIG_PSTORE=y, CONFIG_PSTORE_COMPRESS=n and CONFIG_CRYPTO=m we see > the following lin

Re: [PATCH 4.4 014/134] perf tools: Make perf_event__synthesize_mmap_events() scale

2018-04-06 Thread Greg Kroah-Hartman
On Thu, Mar 29, 2018 at 05:13:56PM +0100, Ben Hutchings wrote: > On Mon, 2018-03-19 at 19:04 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Stephane Eranian > > > > > > [ Upstream commit

Re: [PATCH 3/8] bindings: PCI: designware: Add support for the EP in designware driver

2018-04-06 Thread Kishon Vijay Abraham I
Hi, On Tuesday 03 April 2018 06:50 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 03/04/2018 11:55, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Tuesday 03 April 2018 04:13 PM, Gustavo Pimentel wrote: >>> Hi Kishon, >>> >>> On 02/04/2018 06:35, Kishon Vijay Abraham I wrote: On We

Re: [PATCH v2] xen/privcmd: add IOCTL_PRIVCMD_MMAP_RESOURCE

2018-04-06 Thread kbuild test robot
/commits/Paul-Durrant/xen-privcmd-add-IOCTL_PRIVCMD_MMAP_RESOURCE/20180406-121749 base: https://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git linux-next config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https

Re: [PATCH 4.4 092/134] cpufreq: Fix governor module removal race

2018-04-06 Thread Greg Kroah-Hartman
On Sun, Apr 01, 2018 at 09:56:41PM +0100, Ben Hutchings wrote: > On Mon, 2018-03-19 at 19:06 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: "Rafael J. Wysocki" > > > > > > [ Upstream comm

INFO: rcu detected stall in __snd_pcm_lib_xfer (2)

2018-04-06 Thread syzbot
Hello, syzbot hit the following crash on upstream commit e02d37bf55a9a36f22427fd6dd733fe104d817b6 (Thu Apr 5 17:42:07 2018 +) Merge tag 'sound-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=7e3f31a52646

Re: [PATCH] mm: shmem: enable thp migration (Re: [PATCH v1] mm: consider non-anonymous thp as unmovable page)

2018-04-06 Thread Michal Hocko
On Fri 06-04-18 05:14:53, Naoya Horiguchi wrote: > On Fri, Apr 06, 2018 at 03:07:11AM +, Horiguchi Naoya(堀口 直也) wrote: > ... > > - > > From e31ec037701d1cc76b26226e4b66d8c783d40889 Mon Sep 17 00:00:00 2001 > > From: Naoya Horiguchi > > Date: Fri, 6 Apr 2018 10:58:35 +0900 > > Subject: [PAT

INFO: rcu detected stall in io_playback_transfer

2018-04-06 Thread syzbot
Hello, syzbot hit the following crash on upstream commit e02d37bf55a9a36f22427fd6dd733fe104d817b6 (Thu Apr 5 17:42:07 2018 +) Merge tag 'sound-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=4f2016cf5185

INFO: rcu detected stall in snd_pcm_oss_write3 (2)

2018-04-06 Thread syzbot
Hello, syzbot hit the following crash on upstream commit e02d37bf55a9a36f22427fd6dd733fe104d817b6 (Thu Apr 5 17:42:07 2018 +) Merge tag 'sound-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=150189c10342

Re: [4.9, 137/145] spi: bcm-qspi: shut up warning about cfi header inclusion

2018-04-06 Thread gre...@linuxfoundation.org
On Tue, Apr 03, 2018 at 10:46:07AM -0700, Florian Fainelli wrote: > On 02/23/2018 10:27 AM, gre...@linuxfoundation.org wrote: > > 4.9-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Arnd Bergmann > > > > When CONFIG_MTD_CFI is dis

[GIT PULL] mtd: Changes for 4.17

2018-04-06 Thread Boris Brezillon
Hello Linus, Here is the MTD PR for 4.17. See below for the list of changes queued for this release. Regards, Boris The following changes since commit 91ab883eb21325ad80f3473633f794c78ac87f51: Linux 4.16-rc2 (2018-02-18 17:29:42 -0800) are available in the git repository at: git://git.in

Re: [PATCH 3/6] aio: refactor read/write iocb setup

2018-04-06 Thread Christoph Hellwig
On Fri, Apr 06, 2018 at 04:21:46AM +0100, Al Viro wrote: > On Wed, Mar 28, 2018 at 09:26:36AM +0200, Christoph Hellwig wrote: > > + struct inode *inode = file_inode(file); > > + > > req->ki_flags |= IOCB_WRITE; > > file_start_write(file); > > - ret = aio_

INFO: rcu detected stall in n_tty_receive_char_special

2018-04-06 Thread syzbot
Hello, syzbot hit the following crash on upstream commit 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 (Sat Mar 31 01:52:36 2018 +) kernel.h: Retain constant expression output for max()/min() syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=18df353d7540aa6b5467 Unfortunately, I d

Re: INFO: rcu detected stall in n_tty_receive_char_special

2018-04-06 Thread Dmitry Vyukov
On Fri, Apr 6, 2018 at 9:12 AM, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 (Sat Mar 31 01:52:36 2018 +) > kernel.h: Retain constant expression output for max()/min() > syzbot dashboard link: > https://syzkaller.appspo

Re: regression: twl4030 audio/clock stopped working in v4.16

2018-04-06 Thread Peter Ujfalusi
On 2018-04-05 17:43, H. Nikolaus Schaller wrote: > Hi Peter, > >> Am 05.04.2018 um 13:05 schrieb Peter Ujfalusi : >> >> Nikolaus, >> >> can you CC me also, I have almost missed this... > > Ah, good. Thanks for quick response! I was just starting to setup git > bisect... I think it got broken

Re: [PATCH] ring-buffer: Add set/clear_current_oom_origin() during allocations

2018-04-06 Thread Zhaoyang Huang
On Fri, Apr 6, 2018 at 7:36 AM, Joel Fernandes wrote: > Hi Steve, > > On Thu, Apr 5, 2018 at 12:57 PM, Joel Fernandes wrote: >> On Thu, Apr 5, 2018 at 6:43 AM, Steven Rostedt wrote: >>> On Wed, 4 Apr 2018 16:59:18 -0700 >>> Joel Fernandes wrote: >>> Happy to try anything else, BTW when the

Re: [PATCH 2/8] PCI: dwc: designware: Add support for endpoint mode

2018-04-06 Thread Kishon Vijay Abraham I
Hi, On Wednesday 04 April 2018 03:50 PM, Gustavo Pimentel wrote: > On 02/04/2018 06:34, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: >>> The PCIe controller dual mode is capable of operating in host mode as well >>> as endpoint mode by con

Re: [RFC] virtio: Use DMA MAP API for devices without an IOMMU

2018-04-06 Thread Christoph Hellwig
On Fri, Apr 06, 2018 at 08:23:10AM +0530, Anshuman Khandual wrote: > On 04/06/2018 02:48 AM, Benjamin Herrenschmidt wrote: > > On Thu, 2018-04-05 at 21:34 +0300, Michael S. Tsirkin wrote: > >>> In this specific case, because that would make qemu expect an iommu, > >>> and there isn't one. > >> > >>

Re: [PATCH v9 04/10] jiffies: Introduce USER_TICK_USEC and redefine TICK_USEC

2018-04-06 Thread Rafael J. Wysocki
On Friday, April 6, 2018 3:09:55 AM CEST Frederic Weisbecker wrote: > On Wed, Apr 04, 2018 at 10:38:34AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Since the subsequent changes will need a TICK_USEC definition > > analogous to TICK_NSEC, rename the existing TICK_USEC as >

Re: [PATCH 4.4 15/97] genirq: Use irqd_get_trigger_type to compare the trigger type for shared IRQs

2018-04-06 Thread Greg Kroah-Hartman
On Tue, Apr 03, 2018 at 03:17:16PM +0100, Ben Hutchings wrote: > On Fri, 2018-03-23 at 10:54 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Hans de Goede > > > > > > [ Upstream commit 382

Re: [4.9, 137/145] spi: bcm-qspi: shut up warning about cfi header inclusion

2018-04-06 Thread Arnd Bergmann
On Fri, Apr 6, 2018 at 9:09 AM, gre...@linuxfoundation.org wrote: > On Tue, Apr 03, 2018 at 10:46:07AM -0700, Florian Fainelli wrote: >> On 02/23/2018 10:27 AM, gre...@linuxfoundation.org wrote: >> > 4.9-stable review patch. If anyone has any objections, please let me know. >> > >> >

Re: regression, imx6 and sgtl5000 sound problems

2018-04-06 Thread Nicolin Chen
On Fri, Apr 06, 2018 at 07:46:37AM +0300, Mika Penttilä wrote: > > With recent merge to pre 4.17-rc, audio stopped workin (or it's hearable but > way too slow). > imx6q + sgtl5000 codec. Could you please be more specific at your test cases? Which board? Whose is the DAI master? Which sample rat

Re: [PATCH v9 05/10] cpuidle: Return nohz hint from cpuidle_select()

2018-04-06 Thread Rafael J. Wysocki
On Friday, April 6, 2018 4:44:14 AM CEST Frederic Weisbecker wrote: > On Wed, Apr 04, 2018 at 10:39:50AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > Index: linux-pm/kernel/time/tick-sched.c > > === > > --- linux-pm

Re: [PATCH 4.4 51/97] mfd: palmas: Reset the POWERHOLD mux during power off

2018-04-06 Thread Greg Kroah-Hartman
On Tue, Apr 03, 2018 at 09:49:14PM +0100, Ben Hutchings wrote: > On Fri, 2018-03-23 at 10:54 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Keerthy > > > > > > [ Upstream commit 85fdaf8eb

Re: [PATCH] pstore: fix crypto dependencies without compression

2018-04-06 Thread Tobias Regnery
On 06.04.18, Arnd Bergmann wrote: > On Fri, Apr 6, 2018 at 8:38 AM, Tobias Regnery > wrote: > > Commit 58eb5b670747 ("pstore: fix crypto dependencies") fixed up the crypto > > dependencies but missed the case when no compression is selected. > > > > With CONFIG_PSTORE=y, CONFIG_PSTORE_COMPRESS=n

Re: [PATCH 4.4 52/97] mtip32xx: use runtime tag to initialize command header

2018-04-06 Thread Greg Kroah-Hartman
On Tue, Apr 03, 2018 at 10:01:05PM +0100, Ben Hutchings wrote: > On Fri, 2018-03-23 at 10:54 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Ming Lei > > > > > > [ Upstream commit a4e84aae

Re: [PATCH 4.4 63/97] md/raid10: skip spare disk as first disk

2018-04-06 Thread Greg Kroah-Hartman
On Tue, Apr 03, 2018 at 10:32:09PM +0100, Ben Hutchings wrote: > On Fri, 2018-03-23 at 10:54 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Shaohua Li > > > > > > [ Upstream commit b50633

Re: [PATCH 4/8] Input: elantech - split device info into a separate structure

2018-04-06 Thread kbuild test robot
/0day-ci/linux/commits/Benjamin-Tissoires/Input-support-for-latest-Lenovo-thinkpads-series-80/20180406-110729 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers

[RFC PATCH] Input: elantech_query_info() can be static

2018-04-06 Thread kbuild test robot
Fixes: 3fedcdbcc4b9 ("Input: elantech - split device info into a separate structure") Signed-off-by: Fengguang Wu --- elantech.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index d485664..980dfd7 1006

Re: [PATCH 4.4 68/97] net: hns: fix ethtool_get_strings overflow in hns driver

2018-04-06 Thread Greg Kroah-Hartman
On Tue, Apr 03, 2018 at 10:39:43PM +0100, Ben Hutchings wrote: > On Fri, 2018-03-23 at 10:54 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Timmy Li > > > > > > [ Upstream commit 412b65d1

Re: [PATCH v3 3/6] spi: sun6i: restrict transfer length in PIO-mode

2018-04-06 Thread Maxime Ripard
On Thu, Apr 05, 2018 at 04:44:16PM +0300, Sergey Suloev wrote: > On 04/05/2018 04:17 PM, Mark Brown wrote: > > On Thu, Apr 05, 2018 at 12:59:35PM +0300, Sergey Suloev wrote: > > > On 04/05/2018 12:19 PM, Maxime Ripard wrote: > > > > The point of that patch was precisely to allow to send more data t

[PATCH v2] pstore: fix crypto dependencies without compression

2018-04-06 Thread Tobias Regnery
Commit 58eb5b670747 ("pstore: fix crypto dependencies") fixed up the crypto dependencies but missed the case when no compression is selected. With CONFIG_PSTORE=y, CONFIG_PSTORE_COMPRESS=n and CONFIG_CRYPTO=m we see the following link error: fs/pstore/platform.o: In function `pstore_register': (

Re: [RFC PATCH 1/1 v2] vmscan: Support multiple kswapd threads per node

2018-04-06 Thread Michal Hocko
On Thu 05-04-18 23:25:14, Buddy Lumpkin wrote: > > > On Apr 4, 2018, at 11:10 PM, Michal Hocko wrote: > > > > On Wed 04-04-18 21:49:54, Buddy Lumpkin wrote: > >> v2: > >> - Make update_kswapd_threads_node less racy > >> - Handle locking for case where CONFIG_MEMORY_HOTPLUG=n > > > > Please do n

Re: [PATCH 4.4 92/97] ip6_vti: adjust vti mtu according to mtu of lower device

2018-04-06 Thread Greg Kroah-Hartman
On Thu, Apr 05, 2018 at 05:36:36PM +0200, Stefano Brivio wrote: > On Wed, 04 Apr 2018 01:09:16 +0100 > Ben Hutchings wrote: > > > On Fri, 2018-03-23 at 10:55 +0100, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch.  If anyone has any objections, please let me > > > know. > > > > > >

Re: make xmldocs failed with error after 4.17 merge period

2018-04-06 Thread Heikki Krogerus
On Fri, Apr 06, 2018 at 12:38:42PM +0900, Masanari Iida wrote: > After merge following patch during 4.17 merger period, > make xmldocs start to fail with error. > > [bdecb33af34f79cbfbb656661210f77c8b8b5b5f] > usb: typec: API for controlling USB Type-C Multiplexers > > Error messages. > reST mar

Re: [PATCH v3] scsi: Introduce sdev_printk_ratelimited to throttle frequent printk

2018-04-06 Thread Petr Mladek
On Tue 2018-04-03 14:04:40, Wen Yang wrote: > There would be so many same lines printed by frequent printk if one > disk went wrong, like, > [ 546.185242] sd 0:1:0:0: rejecting I/O to offline device > [ 546.185258] sd 0:1:0:0: rejecting I/O to offline device > [ 546.185280] sd 0:1:0:0: rejecting

Re: [PATCH 4.4 29/63] watchdog: hpwdt: fix unused variable warning

2018-04-06 Thread Greg Kroah-Hartman
On Tue, Mar 20, 2018 at 11:19:39PM +, Ben Hutchings wrote: > On Sun, 2018-03-18 at 11:14 +0100, Greg Kroah-Hartman wrote: > > On Fri, Mar 16, 2018 at 04:55:37PM -0600, Jerry Hoemann wrote: > > > > > > Greg, > > > > > > Sorry, if I'm missing something, but I see 3 patches for > > > hpwdt queue

[PATCH 2/2] clk: spear: fix WDT clock definition on SPEAr600

2018-04-06 Thread Quentin Schulz
There is no SPEAr600 device named "wdt". Instead, the description of the WDT (watchdog) was recently added to the Device Tree, and the device name is "fc88.wdt", so we should associate the WDT fixed rate clock to this device name. Signed-off-by: Quentin Schulz --- drivers/clk/spear/spear6xx_

[PATCH 1/2] ARM: SPEAr600: add DT description of the watchdog

2018-04-06 Thread Quentin Schulz
The SPEAr600 has a built-in watchdog which already has a DT binding described in Documentation/devicetree/bindings/watchdog/sp805-wdt.txt. Let's add the description of the watchdog device in the SPEAr600 Device Tree. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/spear600.dtsi | 8

[PATCH] qla2xxx: correctly shift host byte

2018-04-06 Thread Johannes Thumshirn
The host byte has to be shifted by 16 not 6. Signed-off-by: Johannes Thumshirn --- drivers/scsi/qla2xxx/qla_isr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 89f93ebd819d..49d67e1d571f 100644 --- a/driv

Re: WARNING in xfrm6_tunnel_net_exit

2018-04-06 Thread syzbot
syzbot has found reproducer for the following crash on upstream commit 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 (Sat Mar 31 01:52:36 2018 +) kernel.h: Retain constant expression output for max()/min() syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=777bf170a89e7b326405 So fa

Re: make xmldocs failed with error after 4.17 merge period

2018-04-06 Thread Greg KH
On Fri, Apr 06, 2018 at 10:51:09AM +0300, Heikki Krogerus wrote: > On Fri, Apr 06, 2018 at 12:38:42PM +0900, Masanari Iida wrote: > > After merge following patch during 4.17 merger period, > > make xmldocs start to fail with error. > > > > [bdecb33af34f79cbfbb656661210f77c8b8b5b5f] > > usb: typec

Re: [PATCH v2] pstore: fix crypto dependencies without compression

2018-04-06 Thread Arnd Bergmann
On Fri, Apr 6, 2018 at 9:25 AM, Tobias Regnery wrote: > Commit 58eb5b670747 ("pstore: fix crypto dependencies") fixed up the crypto > dependencies but missed the case when no compression is selected. > > With CONFIG_PSTORE=y, CONFIG_PSTORE_COMPRESS=n and CONFIG_CRYPTO=m we see > the following lin

Re: [PATCH 2/2] clk: spear: fix WDT clock definition on SPEAr600

2018-04-06 Thread Viresh Kumar
On 06-04-18, 09:50, Quentin Schulz wrote: > There is no SPEAr600 device named "wdt". Instead, the description of the > WDT (watchdog) was recently added to the Device Tree, and the device > name is "fc88.wdt", so we should associate the WDT fixed rate clock > to this device name. > > Signed-of

Re: [PATCH 1/2] ARM: SPEAr600: add DT description of the watchdog

2018-04-06 Thread Viresh Kumar
On 06-04-18, 09:50, Quentin Schulz wrote: > The SPEAr600 has a built-in watchdog which already has a DT binding > described in Documentation/devicetree/bindings/watchdog/sp805-wdt.txt. > > Let's add the description of the watchdog device in the SPEAr600 Device > Tree. > > Signed-off-by: Quentin S

Re: [PATCH v9 05/10] cpuidle: Return nohz hint from cpuidle_select()

2018-04-06 Thread Peter Zijlstra
On Fri, Apr 06, 2018 at 04:44:14AM +0200, Frederic Weisbecker wrote: > You can move that to tick_sched_do_timer() to avoid code duplication. I expect the reason I didn't was that it didn't have @ts, but that's easily fixable. > Also these constants are very opaque. And even with proper symbols it

Re: [PATCH] usbip: vhci_hcd: check rhport before using in vhci_hub_control()

2018-04-06 Thread Sergei Shtylyov
Hello! On 4/6/2018 1:31 AM, Shuah Khan wrote: Validate !rhport < 0 before using it to access port_status array. Why '!'? Signed-off-by: Shuah Khan --- drivers/usb/usbip/vhci_hcd.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/usbip/vhci_hcd.c b/driver

[PATCH] writeback: safer lock nesting

2018-04-06 Thread Greg Thelen
lock_page_memcg()/unlock_page_memcg() use spin_lock_irqsave/restore() if the page's memcg is undergoing move accounting, which occurs when a process leaves its memcg for a new one that has memory.move_charge_at_immigrate set. unlocked_inode_to_wb_begin,end() use spin_lock_irq/spin_unlock_irq() if

Re: AMD graphics performance regression in 4.15 and later

2018-04-06 Thread Christian König
Hi Jean, yeah, that is a known problem. Using huge pages improves the performance because of better TLB usage, but for the cost of higher allocation overhead. What we found is that firefox is doing something rather strange by allocating large textures and then just trowing them away again imm

Re: [PATCH] writeback: safer lock nesting

2018-04-06 Thread Michal Hocko
On Fri 06-04-18 01:03:24, Greg Thelen wrote: [...] > diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c > index d4d04fee568a..d51bae5a53e2 100644 > --- a/fs/fs-writeback.c > +++ b/fs/fs-writeback.c > @@ -746,10 +746,11 @@ int inode_congested(struct inode *inode, int cong_bits) > if (inode &&

Re: WARNING in kill_block_super

2018-04-06 Thread Michal Hocko
On Wed 04-04-18 19:53:07, Tetsuo Handa wrote: > Al and Michal, are you OK with this patch? Maybe I've misunderstood, but hasn't Al explained [1] that the appropriate fix is in the fs code? [1] http://lkml.kernel.org/r/20180402143415.gc30...@zeniv.linux.org.uk -- Michal Hocko SUSE Labs

Re: [PATCH 05/20] afs: Implement @sys substitution handling

2018-04-06 Thread David Howells
Al Viro wrote: > > +static struct dentry *afs_lookup_atsys(struct inode *dir, struct dentry > > *dentry, > > + struct key *key) > > +{ > > > + ret = lookup_one_len(buf, parent, len); > > Er... Parent is locked only shared here and lookup_one_len() se

Re: [PATCH v9 05/10] cpuidle: Return nohz hint from cpuidle_select()

2018-04-06 Thread Rafael J. Wysocki
On Friday, April 6, 2018 4:44:14 AM CEST Frederic Weisbecker wrote: > On Wed, Apr 04, 2018 at 10:39:50AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > Index: linux-pm/kernel/time/tick-sched.c > > === > > --- linux-pm

Re: AMD graphics performance regression in 4.15 and later

2018-04-06 Thread Christian König
Hi Jean, found the bug reports. Here is the original bug report from the kernel: https://bugzilla.kernel.org/show_bug.cgi?id=198511 And here is an fdo bug report where we tried to investigate the root cause, but didn't had time for that yet: https://bugs.freedesktop.org/show_bug.cgi?id=1050

Re: [PATCH 05/20] afs: Implement @sys substitution handling

2018-04-06 Thread David Howells
Al Viro wrote: > lookup_one_len() seriously depends upon exclusive lock In the code it says: WARN_ON_ONCE(!inode_is_locked(base->d_inode)); which checks i_rwsem, but in the banner comment it says: * The caller must hold base->i_mutex. is one of these wrong? David

Re: regression, imx6 and sgtl5000 sound problems

2018-04-06 Thread Mika Penttilä
On 04/06/2018 10:23 AM, Nicolin Chen wrote: > On Fri, Apr 06, 2018 at 07:46:37AM +0300, Mika Penttilä wrote: >> >> With recent merge to pre 4.17-rc, audio stopped workin (or it's hearable but >> way too slow). >> imx6q + sgtl5000 codec. > > Could you please be more specific at your test cases? >

Re: make xmldocs failed with error after 4.17 merge period

2018-04-06 Thread Heikki Krogerus
On Fri, Apr 06, 2018 at 09:57:34AM +0200, Greg KH wrote: > On Fri, Apr 06, 2018 at 10:51:09AM +0300, Heikki Krogerus wrote: > > On Fri, Apr 06, 2018 at 12:38:42PM +0900, Masanari Iida wrote: > > > After merge following patch during 4.17 merger period, > > > make xmldocs start to fail with error. >

Re: [PATCH 4.4 071/101] spi: davinci: use dma_mapping_error()

2018-04-06 Thread Greg Kroah-Hartman
On Wed, Jul 05, 2017 at 03:24:37PM +0100, Ben Hutchings wrote: > On Mon, 2017-07-03 at 15:35 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Kevin Hilman > > > > > > [ Upstream commit c5a2

[PATCH] Documentation: typec.rst: Mark ascii art as a comment

2018-04-06 Thread Heikki Krogerus
To prevent processing of ascii art as reStructuredText elements, marking it as a comment. Reported-by: Masanari Iida Fixes: bdecb33af34f ("usb: typec: API for controlling USB Type-C Multiplexers") Signed-off-by: Heikki Krogerus --- Documentation/driver-api/usb/typec.rst | 2 +- 1 file changed,

[PATCH] vhost-net: set packet weight of tx polling to 2 * vq size

2018-04-06 Thread 张海斌
handle_tx will delay rx for tens or even hundreds of milliseconds when tx busy polling udp packets with small length(e.g. 1byte udp payload), because setting VHOST_NET_WEIGHT takes into account only sent-bytes but no single packet length. Ping-Latencies shown below were tested between two Virtual

Re: [PATCH 0/8] use struct pt_regs based syscall calling for x86-64

2018-04-06 Thread Ingo Molnar
* Dominik Brodowski wrote: > On Thu, Apr 05, 2018 at 05:19:33PM +0200, Ingo Molnar wrote: > > Ok, this series looks mostly good to me, but AFAICS this breaks the UML > > build: > > > > make[2]: *** No rule to make target 'archheaders'. Stop. > > arch/um/Makefile:119: recipe for target 'arch

Re: [PATCH 4.4 10/43] net: cavium: liquidio: Avoid dma_unmap_single on uninitialized ndata

2018-04-06 Thread Greg Kroah-Hartman
On Wed, May 10, 2017 at 04:30:34PM +0100, Ben Hutchings wrote: > On Mon, 2017-05-01 at 14:27 -0700, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Florian Fainelli > > > > commit 8e6ce7ebeb34f099

Re: [PATCH] ata: ahci-platform: add reset control support

2018-04-06 Thread Hans de Goede
Hi, On 06-04-18 06:48, Kunihiko Hayashi wrote: Hi Hans, On Thu, 5 Apr 2018 16:08:24 +0200 Hans de Goede wrote: Hi, On 05-04-18 16:00, Hans de Goede wrote: Hi, On 05-04-18 15:54, Thierry Reding wrote: On Thu, Apr 05, 2018 at 03:27:03PM +0200, Hans de Goede wrote: Hi, On 05-04-18 15:17, P

Re: 答复: Re: [PATCH v2] scsi: Introduce sdev_printk_ratelimited to throttlefrequent printk

2018-04-06 Thread Petr Mladek
On Tue 2018-04-03 14:19:43, wen.yan...@zte.com.cn wrote: > On the other hand,queue_lock is big, looping doing something under spinlock > > may locked many things and taking a long time, may cause some problems. > > So This code needs to be optimized later: > > scsi_request_fn() > { > for

Re: [PATCH 0/8] use struct pt_regs based syscall calling for x86-64

2018-04-06 Thread Dominik Brodowski
On Fri, Apr 06, 2018 at 10:23:22AM +0200, Ingo Molnar wrote: > > * Dominik Brodowski wrote: > > > On Thu, Apr 05, 2018 at 05:19:33PM +0200, Ingo Molnar wrote: > > > Ok, this series looks mostly good to me, but AFAICS this breaks the UML > > > build: > > > > > > make[2]: *** No rule to make ta

Re: make xmldocs failed with error after 4.17 merge period

2018-04-06 Thread Greg KH
On Fri, Apr 06, 2018 at 11:15:55AM +0300, Heikki Krogerus wrote: > On Fri, Apr 06, 2018 at 09:57:34AM +0200, Greg KH wrote: > > On Fri, Apr 06, 2018 at 10:51:09AM +0300, Heikki Krogerus wrote: > > > On Fri, Apr 06, 2018 at 12:38:42PM +0900, Masanari Iida wrote: > > > > After merge following patch d

Re: [PATCH 0/8] use struct pt_regs based syscall calling for x86-64

2018-04-06 Thread Dominik Brodowski
On Fri, Apr 06, 2018 at 10:23:22AM +0200, Ingo Molnar wrote: > > * Dominik Brodowski wrote: > > > On Thu, Apr 05, 2018 at 05:19:33PM +0200, Ingo Molnar wrote: > > > Ok, this series looks mostly good to me, but AFAICS this breaks the UML > > > build: > > > > > > make[2]: *** No rule to make ta

Re: [PATCH] tpm: moves the delay_msec increment after sleep in tpm_transmit()

2018-04-06 Thread Nayna Jain
On 04/05/2018 03:42 PM, Jarkko Sakkinen wrote: On Mon, Apr 02, 2018 at 09:50:06PM +0530, Nayna Jain wrote: Commit e2fb992d82c6 ("tpm: add retry logic") introduced a new loop to handle the TPM2_RC_RETRY error. The loop retries the command after sleeping for the specified time, which is incremen

Re: [RFC] virtio: Use DMA MAP API for devices without an IOMMU

2018-04-06 Thread Benjamin Herrenschmidt
On Fri, 2018-04-06 at 00:16 -0700, Christoph Hellwig wrote: > On Fri, Apr 06, 2018 at 08:23:10AM +0530, Anshuman Khandual wrote: > > On 04/06/2018 02:48 AM, Benjamin Herrenschmidt wrote: > > > On Thu, 2018-04-05 at 21:34 +0300, Michael S. Tsirkin wrote: > > > > > In this specific case, because that

Re: [PATCH] genirq: only scan the present CPUs

2018-04-06 Thread Dou Liyang
Hi Thomas, Peter, At 04/03/2018 07:23 PM, Peter Zijlstra wrote: On Tue, Apr 03, 2018 at 12:25:56PM +0200, Thomas Gleixner wrote: On Mon, 2 Apr 2018, Li RongQing wrote: lots of application will read /proc/stat, like ps and vmstat, but we find the reading time are spreading on Purley platform w

Re: 答复: Re: [PATCH v2] scsi: Introduce sdev_printk_ratelimited to throttlefrequent printk

2018-04-06 Thread Petr Mladek
On Fri 2018-04-06 10:30:16, Petr Mladek wrote: > On Tue 2018-04-03 14:19:43, wen.yan...@zte.com.cn wrote: > > On the other hand,queue_lock is big, looping doing something under spinlock > > > > may locked many things and taking a long time, may cause some problems. > > > > So This code needs to

Re: [PATCH] genirq: only scan the present CPUs

2018-04-06 Thread Peter Zijlstra
On Fri, Apr 06, 2018 at 04:42:14PM +0800, Dou Liyang wrote: > Hi Thomas, Peter, > > At 04/03/2018 07:23 PM, Peter Zijlstra wrote: > > On Tue, Apr 03, 2018 at 12:25:56PM +0200, Thomas Gleixner wrote: > > > On Mon, 2 Apr 2018, Li RongQing wrote: > > > > > > > lots of application will read /proc/sta

mmotm git tree since-4.16 branch created (was: mmotm 2018-04-05-16-59 uploaded)

2018-04-06 Thread Michal Hocko
I have just created since-4.16 branch in mm git tree (http://git.kernel.org/?p=linux/kernel/git/mhocko/mm.git;a=summary). It is based on v2018-04-05-16-59 tag in Linus tree and mmotm-2018-04-05-16-59. As usual mmotm trees are tagged with signed tag (finger print BB43 1E25 7FB8 660F F2F1 D22D 48E2

Re: [PATCH] genirq: only scan the present CPUs

2018-04-06 Thread Peter Zijlstra
On Fri, Apr 06, 2018 at 11:02:28AM +0200, Peter Zijlstra wrote: > On Fri, Apr 06, 2018 at 04:42:14PM +0800, Dou Liyang wrote: > > Hi Thomas, Peter, > > > > At 04/03/2018 07:23 PM, Peter Zijlstra wrote: > > > On Tue, Apr 03, 2018 at 12:25:56PM +0200, Thomas Gleixner wrote: > > > > On Mon, 2 Apr 201

Re: [PATCH 05/20] afs: Implement @sys substitution handling

2018-04-06 Thread David Howells
How about the attached changes? Note that I've put the checks for ".", ".." and names containing '/' in the functions where the strings for @sys and @cell are set. David --- diff --git a/fs/afs/dir.c b/fs/afs/dir.c index a14ea4280590..5e3a0ed2043f 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c @@ -

Re: [RfC PATCH] Add udmabuf misc device

2018-04-06 Thread Gerd Hoffmann
Hi, > > * The general interface should be able to express sharing from any > > guest:guest, not just guest:host. Arbitrary G:G sharing might be > > something some hypervisors simply aren't able to support, but the > > userspace API itself shouldn't make assumptions or restrict tha

Re: KASAN: alloca-out-of-bounds Read in unwind_next_frame

2018-04-06 Thread Dmitry Vyukov
On Fri, Apr 6, 2018 at 2:02 AM, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 06dd3dfeea60e2a6457a6aedf97afc8e6d2ba497 (Thu Apr 5 03:07:20 2018 +) > Merge tag 'char-misc-4.17-rc1' of > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc > syzbot dash

Re: [PATCH v7 2/5] arm: arm64: page_alloc: reduce unnecessary binary search in memblock_next_valid_pfn()

2018-04-06 Thread Russell King - ARM Linux
On Thu, Apr 05, 2018 at 05:50:54AM -0700, Matthew Wilcox wrote: > On Thu, Apr 05, 2018 at 08:44:12PM +0800, Jia He wrote: > > > > > > On 4/5/2018 7:34 PM, Matthew Wilcox Wrote: > > > On Thu, Apr 05, 2018 at 01:04:35AM -0700, Jia He wrote: > > > > Commit b92df1de5d28 ("mm: page_alloc: skip over re

Re: make xmldocs failed with error after 4.17 merge period

2018-04-06 Thread Heikki Krogerus
On Fri, Apr 06, 2018 at 10:30:10AM +0200, Greg KH wrote: > On Fri, Apr 06, 2018 at 11:15:55AM +0300, Heikki Krogerus wrote: > > On Fri, Apr 06, 2018 at 09:57:34AM +0200, Greg KH wrote: > > > On Fri, Apr 06, 2018 at 10:51:09AM +0300, Heikki Krogerus wrote: > > > > On Fri, Apr 06, 2018 at 12:38:42PM

Re: [PATCH] Documentation: typec.rst: Mark ascii art as a comment

2018-04-06 Thread Heikki Krogerus
On Fri, Apr 06, 2018 at 11:22:29AM +0300, Heikki Krogerus wrote: > To prevent processing of ascii art as reStructuredText > elements, marking it as a comment. I will change this, and use literal-block instead. > Reported-by: Masanari Iida > Fixes: bdecb33af34f ("usb: typec: API for controlling U

Re: [PATCH V3 4/4] genirq/affinity: irq vector spread among online CPUs as far as possible

2018-04-06 Thread Ming Lei
Hi Thomas, On Wed, Apr 04, 2018 at 09:38:26PM +0200, Thomas Gleixner wrote: > On Wed, 4 Apr 2018, Ming Lei wrote: > > On Wed, Apr 04, 2018 at 10:25:16AM +0200, Thomas Gleixner wrote: > > > In the example above: > > > > > > > > > irq 39, cpu list 0,4 > > > > > > irq 40, cpu list 1,6 > > >

Re: [PATCH v4 3/9] vsprintf: Do not check address of well-known strings

2018-04-06 Thread Petr Mladek
On Thu 2018-04-05 15:30:51, Rasmus Villemoes wrote: > On 2018-04-04 10:58, Petr Mladek wrote: > > We are going to check the address using probe_kernel_address(). It will > > be more expensive and it does not make sense for well known address. > > > > This patch splits the string() function. The va

Re: [PATCH] Documentation: typec.rst: Mark ascii art as a comment

2018-04-06 Thread Jani Nikula
On Fri, 06 Apr 2018, Heikki Krogerus wrote: > To prevent processing of ascii art as reStructuredText > elements, marking it as a comment. Please don't. This hides the ascii art from the generated documentation. The right fix is to use a reStructuredText literal block like this: diff --git a/Doc

Re: [PATCH 0/8] use struct pt_regs based syscall calling for x86-64

2018-04-06 Thread Ingo Molnar
* Dominik Brodowski wrote: > On Fri, Apr 06, 2018 at 10:23:22AM +0200, Ingo Molnar wrote: > > > > * Dominik Brodowski wrote: > > > > > On Thu, Apr 05, 2018 at 05:19:33PM +0200, Ingo Molnar wrote: > > > > Ok, this series looks mostly good to me, but AFAICS this breaks the UML > > > > build: >

Re: [PATCH v2] Add udmabuf misc device

2018-04-06 Thread Gerd Hoffmann
Hi, > The pages backing a DMA-buf are not allowed to move (at least not without a > patch set I'm currently working on), but for certain MM operations to work > correctly you must be able to modify the page tables entries and move the > pages backing them around. > > For example try to use fork

Re: [PATCH 0/8] use struct pt_regs based syscall calling for x86-64

2018-04-06 Thread Dominik Brodowski
On Fri, Apr 06, 2018 at 11:20:46AM +0200, Ingo Molnar wrote: > > * Dominik Brodowski wrote: > > > On Fri, Apr 06, 2018 at 10:23:22AM +0200, Ingo Molnar wrote: > > > > > > * Dominik Brodowski wrote: > > > > > > > On Thu, Apr 05, 2018 at 05:19:33PM +0200, Ingo Molnar wrote: > > > > > Ok, this s

Re: [RfC PATCH] Add udmabuf misc device

2018-04-06 Thread Oleksandr Andrushchenko
On 04/06/2018 12:07 PM, Gerd Hoffmann wrote: Hi, * The general interface should be able to express sharing from any guest:guest, not just guest:host. Arbitrary G:G sharing might be something some hypervisors simply aren't able to support, but the userspace API itself shoul

Re: [PATCH] ata: ahci-platform: add reset control support

2018-04-06 Thread Kunihiko Hayashi
Hi Hans, On Fri, 6 Apr 2018 10:29:37 +0200 Hans de Goede wrote: > Hi, > > On 06-04-18 06:48, Kunihiko Hayashi wrote: > > Hi Hans, > > > On Thu, 5 Apr 2018 16:08:24 +0200 > > Hans de Goede wrote: > > >> Hi, > >> > >> On 05-04-18 16:00, Hans de Goede wrote: > >>> Hi, > On 05-04-18 15:54, Th

Re: [PATCH v4 8/9] vsprintf: Prevent crash when dereferencing invalid pointers

2018-04-06 Thread Rasmus Villemoes
On 2018-04-04 10:58, Petr Mladek wrote: > diff --git a/lib/vsprintf.c b/lib/vsprintf.c > index 3551b7957d9e..1a080a75a825 100644 > --- a/lib/vsprintf.c > +++ b/lib/vsprintf.c > @@ -599,12 +599,46 @@ char *__string(char *buf, char *end, const char *s, > struct printf_spec spec) > return wide

Re: [PATCH v5 12/44] clk: davinci: Add platform information for TI DA850 PSC

2018-04-06 Thread Sekhar Nori
Hi Bart, On Thursday 05 April 2018 09:21 PM, Bartosz Golaszewski wrote: > 2018-04-05 16:36 GMT+02:00 Sekhar Nori : >> On Thursday 05 April 2018 07:14 PM, Bartosz Golaszewski wrote: >>> 2018-04-05 15:09 GMT+02:00 Sekhar Nori : Hi Bartosz, On Friday 09 February 2018 10:18 PM, Michael

Re: [PATCH V3 4/4] genirq/affinity: irq vector spread among online CPUs as far as possible

2018-04-06 Thread Thomas Gleixner
On Fri, 6 Apr 2018, Ming Lei wrote: > > I will post V4 soon by using cpu_present_mask in the 1st stage irq spread. > And it should work fine for Kashyap's case in normal cases. No need to resend. I've changed it already and will push it out after lunch. Thanks, tglx

[bisected] 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 oopses on s390

2018-04-06 Thread Sebastian Ott
Hi, Today's kernel oopsed on s390. Bisect points to: 3c8ba0d61d04 ("kernel.h: Retain constant expression output for max()/min()") [1.898277] dasd-eckd 0.0.3304: DASD with 4 KB/block, 21636720 KB total size, 48 KB/track, compatible disk layout [1.898308] [ cut here ]--

Re: [PATCH V4 2/2] mmc: sdhci-msm: support voltage pad switching

2018-04-06 Thread Vijay Viswanath
On 3/29/2018 4:23 AM, Doug Anderson wrote: Hi, On Wed, Mar 28, 2018 at 6:08 AM, Vijay Viswanath wrote: From: Krishna Konda The PADs for SD card are dual-voltage that support 3v/1.8v. Those PADs have a control signal (io_pad_pwr_switch/mode18 ) that indicates whether the PAD works in 3v or

Re: [RfC PATCH] Add udmabuf misc device

2018-04-06 Thread Daniel Stone
Hi Gerd, On 14 March 2018 at 08:03, Gerd Hoffmann wrote: >> Either mlock account (because it's mlocked defacto), and get_user_pages >> won't do that for you. >> >> Or you write the full-blown userptr implementation, including mmu_notifier >> support (see i915 or amdgpu), but that also requires Ch

A question of sleeping with interrupts are disabled in start_kernel()

2018-04-06 Thread Jia-Ju Bai
Hello, I have a question of the call path init/main.c: init/main.c: start_kernel() -> kernel/events/core.c: perf_pmu_register() -> kernel/events/core.c: perf_event_init() -> kernel/events/core.c: pmu_dev_alloc() In this call path, start_kernel() calls local_irq_disable() to disable the interrup

drivers/gpu/drm/bridge/sil-sii8620.c:2405: undefined reference to `extcon_unregister_notifier'

2018-04-06 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 38c23685b273cfb4ccf31a199feccce3bdcb5d83 commit: 688838442147d9dd94c2ef7c2c31a35cf150c5fa drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL date: 4 weeks ago config: i386-randconfig-x0-

Re: arch/arm/kernel/setup.c fails to compile for NOMMU

2018-04-06 Thread Michal Hocko
On Fri 25-08-17 08:45:40, Michal Hocko wrote: > On Thu 24-08-17 17:17:41, Russell King - ARM Linux wrote: > > On Fri, Aug 18, 2017 at 01:24:02PM +0200, Michal Hocko wrote: > > > Hi Russel, > > > I have a battery of configs for compile testing and for some time I've > > > been seeing the following c

Re: [PATCH] gpio: dwapb: Add support for 32 interrupts

2018-04-06 Thread Geert Uytterhoeven
Hi Phil, On Thu, Apr 5, 2018 at 11:42 AM, Phil Edworthy wrote: > On 30 March 2018 22:26 Andy Shevchenko wrote: >> On Wed, Mar 28, 2018 at 5:22 PM, Phil Edworthy wrote: >> > The DesignWare GPIO IP can be configured for either 1 or 32 >> > interrupts, >> >> 1 to 32, or just a choice between two? >

Re: [PATCH resend] mm/page_alloc: fix comment is __get_free_pages

2018-04-06 Thread Michal Hocko
On Wed 29-11-17 17:04:46, Michal Hocko wrote: [...] > From 000bb422fe07adbfa8cd8ed953b18f48647a45d6 Mon Sep 17 00:00:00 2001 > From: Michal Hocko > Date: Wed, 29 Nov 2017 17:02:33 +0100 > Subject: [PATCH] mm: drop VM_BUG_ON from __get_free_pages > > There is no real reason to blow up just because

Re: [PATCH 1/5] arm64: entry: isb in el1_irq

2018-04-06 Thread James Morse
Hi Yury, On 05/04/18 18:17, Yury Norov wrote: > Kernel text patching framework relies on IPI to ensure that other > SMP cores observe the change. Target core calls isb() in IPI handler (Odd, if its just to synchronize the CPU, taking the IPI should be enough). > path, but not at the beginning o

  1   2   3   4   5   6   7   8   9   10   >