[PATCH] habanalabs: set TPC Icache to 16 cache lines

2019-10-04 Thread Oded Gabbay
Reduce latency to memory during TPC kernel execution. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/goya/goya.c | 3 +++ drivers/misc/habanalabs/habanalabs.h | 7 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/misc/habanalabs/goya/goya.c b/drivers/misc/

Re: [PATCH 05/10] serial: stm32: Use of_device_get_match_data()

2019-10-04 Thread Greg Kroah-Hartman
On Fri, Oct 04, 2019 at 02:43:29PM -0700, Stephen Boyd wrote: > This driver casts away the constness of struct stm32_usart_info that is > pointed to by the of match table. Use of_device_get_match_data() instead > of of_match_device() here and push the const throughout the code so that > we don't ca

Re: [PATCH 06/10] usb: usb251xb: Use of_device_get_match_data()

2019-10-04 Thread Greg Kroah-Hartman
On Fri, Oct 04, 2019 at 02:43:30PM -0700, Stephen Boyd wrote: > Use the more modern API here instead of using of_match_device() and > avoid casting away const from the returned pointer by pushing the const > type through to the users. This nicely avoids referencing the match > table when it is unde

Re: [PATCH 5.3 000/344] 5.3.4-stable review

2019-10-04 Thread Greg Kroah-Hartman
On Fri, Oct 04, 2019 at 04:04:47PM -0700, Guenter Roeck wrote: > On Thu, Oct 03, 2019 at 05:49:25PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.3.4 release. > > There are 344 patches in this series, all will be posted as a response > > to this one. I

Re: [PATCH v2 1/4] habanalabs: Mark queue as expecting to CB handle or address

2019-10-04 Thread Oded Gabbay
On Thu, Oct 3, 2019 at 6:22 PM Tomer Tayar wrote: > > Jobs on some queues must be provided with a handle to a driver command > buffer object, while for other queues, jobs must be provided with an > address to a command buffer. > Currently the distinction is done based on the queue type, which is l

Re: [PATCH] habanalabs: Fix typos

2019-10-04 Thread Oded Gabbay
On Wed, Oct 2, 2019 at 4:53 PM Tomer Tayar wrote: > > s/paerser/parser/ > s/requeusted/requested/ > s/an JOB/a JOB/ > > Signed-off-by: Tomer Tayar > --- > drivers/misc/habanalabs/habanalabs.h | 2 +- > drivers/misc/habanalabs/hw_queue.c | 4 ++-- > include/uapi/misc/habanalabs.h | 2 +- >

Re: [PATCH 1/7] regulator: s5m8767: switch to using devm_fwnode_gpiod_get

2019-10-04 Thread kbuild test robot
Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on regulator/for-next] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

Re: [PATCH v5 01/10] mm/memunmap: Use the correct start and end pfn when removing pages from zone

2019-10-04 Thread Aneesh Kumar K.V
On 10/4/19 2:33 PM, David Hildenbrand wrote: On 04.10.19 11:00, David Hildenbrand wrote: On 03.10.19 18:48, Aneesh Kumar K.V wrote: On 10/1/19 8:33 PM, David Hildenbrand wrote: On 01.10.19 16:57, David Hildenbrand wrote: On 01.10.19 16:40, David Hildenbrand wrote: From: "Aneesh Kumar K.V"

Re: [PATCH 5/7] regulator: da9211: switch to using devm_fwnode_gpiod_get

2019-10-04 Thread kbuild test robot
Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on regulator/for-next] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

Hello Dear

2019-10-04 Thread Tracy William
Hello Dear, how are you today,I hope you are doing great. It is my great pleasure to contact you,I want to make a new and special friend,I hope you don't mind. My name is Tracy William from the United States, Am a french and English nationality. I will give you pictures and more details abo

Re: linux-next: Fixes tag needs some work in the kbuild-current tree

2019-10-04 Thread Masahiro Yamada
On Fri, Oct 4, 2019 at 3:05 PM Stephen Rothwell wrote: > > Hi all, > > In commit > > b2b94fe85175 ("scripts/setlocalversion: clear local variable to make it > work for sh") > > Fixes tag > > Fixes: commit 858805b336be ("kbuild: add $(BASH) to run scripts with > bash-extension") > > has these

Re: [PATCH] hugetlb: remove unused hstate in hugetlb_fault_mutex_hash()

2019-10-04 Thread kbuild test robot
Hi Wei, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

Re: [PATCH] hugetlb: remove unused hstate in hugetlb_fault_mutex_hash()

2019-10-04 Thread kbuild test robot
Hi Wei, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base'

Re: [PATCH 3/3] net: phy: fixed_phy: switch to using fwnode_gpiod_get_index

2019-10-04 Thread kbuild test robot
Hi Dmitry, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base'

Re: [PATCH 2/7] regulator: slg51000: switch to using fwnode_gpiod_get_index

2019-10-04 Thread kbuild test robot
Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on regulator/for-next] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

Re: [PATCH 1/3] net: phylink: switch to using fwnode_gpiod_get_index()

2019-10-04 Thread kbuild test robot
Hi Dmitry, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base'

[PATCH] dma-mapping: fix false positivse warnings in dma_common_free_remap()

2019-10-04 Thread Andrey Smirnov
Commit 5cf4537975bb ("dma-mapping: introduce a dma_common_find_pages helper") changed invalid input check in dma_common_free_remap() from: if (!area || !area->flags != VM_DMA_COHERENT) to if (!area || !area->flags != VM_DMA_COHERENT || !area->pages) which seem to produce false positives

[PATCH] uverbs: prevent potential underflow

2019-10-04 Thread Dan Carpenter
The issue is in drivers/infiniband/core/uverbs_std_types_cq.c in the UVERBS_HANDLER(UVERBS_METHOD_CQ_CREATE) function. We check that: if (attr.comp_vector >= attrs->ufile->device->num_comp_vectors) { But we don't check that "attr.comp_vector" whether negative. It could potentially lead

Re: [PATCH 3/3] net: phy: fixed_phy: switch to using fwnode_gpiod_get_index

2019-10-04 Thread kbuild test robot
Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

Re: [PATCH 1/3] net: phylink: switch to using fwnode_gpiod_get_index()

2019-10-04 Thread kbuild test robot
Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

[GIT PULL] SCSI fixes for 5.4-rc1

2019-10-04 Thread James Bottomley
Twelve patches mostly small but obvious fixes or cosmetic but small updates, all in drivers. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The short changelog is: Austin Kim (1): scsi: qedf: Remove always false 'tmp_prio < 0' statement

Re: [PATCH V1] dt-bindings: pinctrl: qcom-pmic-gpio: Add support for pm6150/pm6150l

2019-10-04 Thread Bjorn Andersson
On Fri 04 Oct 04:20 PDT 2019, Kiran Gunda wrote: > Add support for the PM6150 and PM6150L GPIO support to the > Qualcomm PMIC GPIO binding. > > Signed-off-by: Kiran Gunda Acked-by: Bjorn Andersson > --- > Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 4 > drivers/pinctr

Re: KCSAN: data-race in taskstats_exit / taskstats_exit

2019-10-04 Thread Dmitry Vyukov
On Sat, Oct 5, 2019 at 6:26 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:b4bd9343 x86, kcsan: Enable KCSAN for x86 > git tree: https://github.com/google/ktsan.git kcsan > console output: https://syzkaller.appspot.com/x/log.txt?x=125329db60 > ke

KCSAN: data-race in taskstats_exit / taskstats_exit

2019-10-04 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:b4bd9343 x86, kcsan: Enable KCSAN for x86 git tree: https://github.com/google/ktsan.git kcsan console output: https://syzkaller.appspot.com/x/log.txt?x=125329db60 kernel config: https://syzkaller.appspot.com/x/.config?x=c0906

Re: Kernel Concurrency Sanitizer (KCSAN)

2019-10-04 Thread Dmitry Vyukov
On Sat, Oct 5, 2019 at 2:58 AM Eric Dumazet wrote: > > This one is tricky. What I think we need to avoid is an onslaught of > > patches adding READ_ONCE/WRITE_ONCE without a concrete analysis of the > > code being modified. My worry is that Joe Developer is eager to get their > > first patch into

Re: [PATCH] remoteproc: debug: Remove unneeded NULL check

2019-10-04 Thread Bjorn Andersson
On Mon 23 Sep 19:58 PDT 2019, Ding Xiang wrote: > debugfs_remove_recursive will do NULL check, so remove > the redundant null check > Nice, applied. Regards, Bjorn > Signed-off-by: Ding Xiang > --- > drivers/remoteproc/remoteproc_debugfs.c | 3 --- > 1 file changed, 3 deletions(-) > > diff

Re: [PATCH 4/4] hwspinlock: sprd: Use devm_hwspin_lock_register() to register hwlock controller

2019-10-04 Thread Bjorn Andersson
On Fri 27 Sep 00:10 PDT 2019, Baolin Wang wrote: > Use devm_hwspin_lock_register() to register the hwlock controller instead of > unregistering the hwlock controller explicitly when removing the device. > > Signed-off-by: Baolin Wang Thanks Baolin, series applied. Regards, Bjorn > --- > driv

Re: [PATCH] remoteproc: remove useless typedef

2019-10-04 Thread Bjorn Andersson
On Fri 04 Oct 10:44 PDT 2019, Clement Leger wrote: > rproc_handle_resources_t is not used anymore, remove it. > > Signed-off-by: Clement Leger Applied Thanks, Bjorn > --- > drivers/remoteproc/remoteproc_core.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/remoteproc/remo

Re: [PATCH] remoteproc: stm32: fix probe error case

2019-10-04 Thread Bjorn Andersson
On Fri 04 Oct 05:02 PDT 2019, Fabien Dessenne wrote: > If the rproc driver is probed before the mailbox driver and if the rproc > Device Tree node has some mailbox properties, the rproc driver probe > shall be deferred instead of being probed without mailbox support. > > Signed-off-by: Fabien Des

Re: [PATCH 0/3] Optimize the u8500_hsem hwlock driver

2019-10-04 Thread Bjorn Andersson
On Fri 27 Sep 01:27 PDT 2019, Baolin Wang wrote: > This patch set did some Optimization with changing to use devm_xxx() > APIs to simplify the code and make code more readable. > Applied, with Linus' r-b Thanks, Bjorn > Baolin Wang (3): > hwspinlock: u8500_hsem: Change to use > devm_plat

Re: DM3730 Bluetooth Performance differences between SERIAL_8250_OMAP vs SERIAL_OMAP

2019-10-04 Thread Adam Ford
On Fri, Oct 4, 2019 at 11:51 AM Adam Ford wrote: > > On Fri, Oct 4, 2019 at 9:08 AM Adam Ford wrote: > > > > On Fri, Oct 4, 2019 at 7:27 AM Yegor Yefremov > > wrote: > > > > > > Hi Adam, > > > > > > On Fri, Oct 4, 2019 at 12:39 PM Adam Ford wrote: > > > > > > > > On Fri, Oct 4, 2019 at 5:02 AM

Re: [PATCH v2] kheaders: making headers archive reproducible

2019-10-04 Thread Masahiro Yamada
On Fri, Oct 4, 2019 at 7:40 PM Dmitry Goldin wrote: > > From: Dmitry Goldin > > In commit 43d8ce9d65a5 ("Provide in-kernel headers to make > extending kernel easier") a new mechanism was introduced, for kernels > >=5.2, which embeds the kernel headers in the kernel image or a module > and exposes

Re: BISECTED: Compile error on 5.4-rc1

2019-10-04 Thread Masahiro Yamada
On Fri, Oct 4, 2019 at 5:26 PM Harald Arnesen wrote: > > I just tried to compile kernel 5.4-rc1 on my ThinkPad, which runs Devuan > Beowulf. Got the following: > > $ make bindeb-pkg > UPD include/config/kernel.release > sh ./scripts/package/mkdebian > dpkg-buildpackage -r"fakeroot -u" -a$(ca

Re: kbuild change breaks HiFive-U boot here

2019-10-04 Thread Masahiro Yamada
Hi Paul, On Sat, Oct 5, 2019 at 2:48 AM Paul Walmsley wrote: > > > Commit 858805b336be1cabb3d9033adaa3676574d12e37 ("kbuild: add $(BASH) to > run scripts with bash-extension") breaks my kernel test flow that targets > the HiFive Unleashed board. The boot traps during BBL early boot and > stops.

Re: [PATCH] kmemleak: Do not corrupt the object_list during clean-up

2019-10-04 Thread Alexey Kardashevskiy
On 04/10/2019 23:46, Catalin Marinas wrote: > In case of an error (e.g. memory pool too small), kmemleak disables > itself and cleans up the already allocated metadata objects. However, if > this happens early before the RCU callback mechanism is available, > put_object() skips call_rcu() and fr

Re: [PATCH v3 1/3] mm: kmemleak: Make the tool tolerant to struct scan_area allocation failures

2019-10-04 Thread Alexey Kardashevskiy
On 03/10/2019 18:41, Catalin Marinas wrote: > On Thu, Oct 03, 2019 at 04:13:07PM +1000, Alexey Kardashevskiy wrote: >> On 13/08/2019 02:06, Catalin Marinas wrote: >>> Object scan areas are an optimisation aimed to decrease the false >>> positives and slightly improve the scanning time of large o

Re: [Patch v2 19/21] media: v4l2-common: add pixel encoding support

2019-10-04 Thread kbuild test robot
Hi Benoit, I love your patch! Yet something to improve: [auto build test ERROR on linuxtv-media/master] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base'

[PATCH v3] media: vimc: Enable set resolution at the scaler src pad

2019-10-04 Thread Pedro Terra
Modify the scaler subdevice to accept setting the resolution of the source pad (previously the source resolution would always be 3 times the sink for both dimensions). Now any resolution can be set at src (even smaller ones) and the sink video will be scaled to match it. Test example: With the vim

Re: [PATCH v6 2/2] leds: Add control of the voltage/current regulator to the LED core

2019-10-04 Thread kbuild test robot
Hi Jean-Jacques, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on j.anaszewski-leds/for-next] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use

Re: [RFC PATCH] e1000e: Use rtnl_lock to prevent race conditions between net and pci/pm

2019-10-04 Thread David Z. Dai
On Fri, 2019-10-04 at 16:36 -0700, Alexander Duyck wrote: > From: Alexander Duyck > > This patch is meant to address possible race conditions that can exist > between network configuration and power management. A similar issue was > fixed for igb in commit 9474933caf21 ("igb: close/suspend race i

INQUIRY

2019-10-04 Thread Mrs Lubov Aleksandrov
Hello I am Mrs Lubov Aleksandrov from DAVSAR LLC Russia.I am in charge of sales . We are interested in your product .We would greatly appreciate receiving any information, brochures and price lists of your products. Thanks. Mrs Lubov Aleksandrov Sales General Manager of DAVSAR LLC) 14 Marks

Re: [PATCH v6 14/14] riscv: Make mmap allocation top-down by default

2019-10-04 Thread Atish Patra
On Thu, 2019-08-08 at 02:17 -0400, Alexandre Ghiti wrote: > In order to avoid wasting user address space by using bottom-up mmap > allocation scheme, prefer top-down scheme when possible. > > Before: > root@qemuriscv64:~# cat /proc/self/maps > 0001-00016000 r-xp fe:00 6389 /bin/

Re: [PATCH] nvme-pci: Shutdown when removing dead controller

2019-10-04 Thread Singh, Balbir
On Fri, 2019-10-04 at 11:36 -0400, Tyler Ramer wrote: > Here's a failure we had which represents the issue the patch is > intended to solve: > > Aug 26 15:00:56 testhost kernel: nvme nvme4: async event result 00010300 > Aug 26 15:01:27 testhost kernel: nvme nvme4: controller is down; will > reset:

Re: [cifs] semantics of IPC$ shares (was Re: [PATCH] devpts: Fix NULL pointer dereference in dcache_readdir())

2019-10-04 Thread Steve French
Your questions are interesting and rarely asked. On Fri, Oct 4, 2019 at 11:57 AM Al Viro wrote: > > On Fri, Oct 04, 2019 at 05:02:20PM +0100, Al Viro wrote: > > > * (possibly) cifs hitting the same on eviction by memory pressure > > alone > > (no locked inodes anywhere in sight). Possibly

RE: [EXT] [PATCH] mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf

2019-10-04 Thread Ganapathi Bhat
Hi Navid, > Fixes: fc3314609047 ("mwifiex: use pci_alloc/free_consistent APIs for PCIe") Thanks for the change; Acked-by: Ganapathi Bhat Regards, Ganapathi

RE: [EXT] [PATCH] mwifiex: pcie: Fix memory leak in mwifiex_pcie_init_evt_ring

2019-10-04 Thread Ganapathi Bhat
Hi Navid, > Fixes: 0732484b47b5 ("mwifiex: separate ring initialization and ring creation > routines") Thanks for the this change as well; Acked-by: Ganapathi Bhat Regards, Ganapathi

[PATCH] PCI: endpoint: cast the page number to phys_addr_t

2019-10-04 Thread Alan Mikhak
From: Alan Mikhak Modify pci_epc_mem_alloc_addr() to cast the variable 'pageno' from type 'int' to 'phys_addr_t' before shifting left. This cast is needed to avoid treating bit 31 of 'pageno' as the sign bit which would otherwise get sign-extended to produce a negative value. When added to the ba

[GIT] Networking

2019-10-04 Thread David Miller
1) ieeeu02154 atusb driver use and free, from Johan Hovold. 2) Need to validate TCA_CBQ_WRROPT netlink attributes, from Eric Dumazet. 3) txq null deref in mac80211, from Miaoqing Pan. 4) ionic driver needs to select NET_DEVLINK, from Arnd Bergmann. 5) Need to disable bh during nft_connlimi

Re: [PATCH] net: qlogic: Fix memory leak in ql_alloc_large_buffers

2019-10-04 Thread David Miller
From: Navid Emamdoost Date: Fri, 4 Oct 2019 15:24:39 -0500 > In ql_alloc_large_buffers, a new skb is allocated via netdev_alloc_skb. > This skb should be released if pci_dma_mapping_error fails. > > Fixes: 0f8ab89e825f ("qla3xxx: Check return code from pci_map_single() in > ql_release_to_lrg_b

Re: [RFC PATCH 00/13] XOM for KVM guest userspace

2019-10-04 Thread Andy Lutomirski
On Fri, Oct 4, 2019 at 1:10 PM Edgecombe, Rick P wrote: > > On Fri, 2019-10-04 at 07:56 -0700, Andy Lutomirski wrote: > > On Thu, Oct 3, 2019 at 2:38 PM Rick Edgecombe > > wrote: > > > > > > This patchset enables the ability for KVM guests to create execute-only > > > (XO) > > > memory by utiliz

Re: [PATCH v2] riscv: add support for SECCOMP and SECCOMP_FILTER

2019-10-04 Thread Paul Walmsley
On Fri, 27 Sep 2019, Kees Cook wrote: > On Wed, Aug 28, 2019 at 6:30 PM Paul Walmsley > wrote: > > On Mon, 26 Aug 2019, Kees Cook wrote: > > > > > On Mon, Aug 26, 2019 at 09:39:50AM -0700, David Abdurachmanov wrote: > > > > I don't have the a build with SECCOMP for the board right now, so it > >

Re: [PATCH v2] riscv: add support for SECCOMP and SECCOMP_FILTER

2019-10-04 Thread Paul Walmsley
Hello Shuah, On Thu, 22 Aug 2019, David Abdurachmanov wrote: > This patch was extensively tested on Fedora/RISCV (applied by default on > top of 5.2-rc7 kernel for <2 months). The patch was also tested with 5.3-rc > on QEMU and SiFive Unleashed board. > > libseccomp (userspace) was rebased: > ht

Re: [PATCH] mm/rmap.c: reuse mergeable anon_vma as parent when fork

2019-10-04 Thread Matthew Wilcox
On Sat, Oct 05, 2019 at 07:48:45AM +0800, Wei Yang wrote: > On Fri, Oct 04, 2019 at 09:11:20AM -0700, Matthew Wilcox wrote: > >On Sat, Oct 05, 2019 at 12:06:32AM +0800, Wei Yang wrote: > >> After this change, kernel build test reduces 20% anon_vma allocation. > > > >But does it have any effect on e

Re: [PATCH v3 0/3] selftests: netfilter: introduce test cases for ipvs

2019-10-04 Thread Haishuang Yan
> On 2019年10月4日, at 下午7:47, Duncan Roe wrote: > > On Thu, Oct 03, 2019 at 10:41:06PM +0800, Haishuang Yan wrote: >> >> >>> On 2019??10??2??, at 9:27, Duncan Roe >>> wrote: >>> >>> On Tue, Oct 01, 2019 at 09:34:13PM +0300, Julian Anastasov wrote: Hello, On Tue,

Re: Kernel Concurrency Sanitizer (KCSAN)

2019-10-04 Thread Eric Dumazet
On 9/20/19 8:54 AM, Will Deacon wrote: > > This one is tricky. What I think we need to avoid is an onslaught of > patches adding READ_ONCE/WRITE_ONCE without a concrete analysis of the > code being modified. My worry is that Joe Developer is eager to get their > first patch into the kernel, so

Re: [PATCH] arm64: dts: rockchip: Fix usb-c on Hugsun X99 TV Box

2019-10-04 Thread Vivek Unune
On Fri, Oct 04, 2019 at 11:45:08PM +0200, Heiko Stuebner wrote: > Hi Vivek, > > Am Montag, 30. September 2019, 01:46:15 CEST schrieb Vivek Unune: > > On Sun, Sep 29, 2019 at 01:22:17PM +0200, Vicente Bergas wrote: > > > On Sunday, September 29, 2019 5:22:30 AM CEST, Vivek Unune wrote: > > > > Fix

Re: [Patch v2 19/21] media: v4l2-common: add pixel encoding support

2019-10-04 Thread kbuild test robot
Hi Benoit, I love your patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [cannot apply to v5.4-rc1 next-20191004] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base'

[PATCH] hugetlb: remove unused hstate in hugetlb_fault_mutex_hash()

2019-10-04 Thread Wei Yang
The first parameter hstate in function hugetlb_fault_mutex_hash() is not used anymore. This patch removes it. Signed-off-by: Wei Yang Suggested-by: Andrew Morton --- fs/hugetlbfs/inode.c| 4 ++-- include/linux/hugetlb.h | 4 ++-- mm/hugetlb.c| 12 ++-- mm/userfaultfd.

Re: [PATCH] sched/fair: scale quota and period without losing quota/period ratio precision

2019-10-04 Thread Xuewei Zhang
On Fri, Oct 4, 2019 at 6:14 AM Phil Auld wrote: > > On Thu, Oct 03, 2019 at 07:05:56PM -0700 Xuewei Zhang wrote: > > +cc neeln...@google.com and hao...@google.com, they helped a lot > > for this issue. Sorry I forgot to include them when sending out the patch. > > > > On Thu, Oct 3, 2019 at 5:55 P

Re: [PATCH] r8152: Set macpassthru in reset_resume callback

2019-10-04 Thread David Miller
From: Kai-Heng Feng Date: Fri, 4 Oct 2019 20:51:04 +0800 > r8152 may fail to establish network connection after resume from system > suspend. > > If the USB port connects to r8152 lost its power during system suspend, > the MAC address was written before is lost. The reason is that The MAC > ad

Re: [PATCH] tty: serial: fsl_lpuart: Fix lpuart_flush_buffer()

2019-10-04 Thread Vivien Didelot
Hi Andrey, On Fri, 4 Oct 2019 14:55:37 -0700, Andrey Smirnov wrote: > Fix incorrect read-modify-write sequence in lpuart_flush_buffer() that > was reading from UARTPFIFO and writing to UARTCFIFO instead of > operating solely on the latter. > > Fixes: 9bc19af9dacb ("tty: serial: fsl_lpuart: Flu

Re: [PATCH 4.14 000/185] 4.14.147-stable review

2019-10-04 Thread shuah
On 10/4/19 11:51 AM, Dan Rue wrote: On Thu, Oct 03, 2019 at 05:51:18PM +0200, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.147 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

Re: [PATCH] nvme: fix uninitialized return of ret when sysfs_create_link fails

2019-10-04 Thread Sagi Grimberg
This was already fixed and merged (by Dan) On 10/2/19 5:43 AM, Colin King wrote: From: Colin Ian King Currently when the call to sysfs_create_link fails the error exit path returns an uninitialized value in variable ret. Fix this by returning the error code returned from the failed call to sys

Re: [PATCH] ARM: dts: am3874-iceboard: Fix 'i2c-mux-idle-disconnect' usage

2019-10-04 Thread Graeme Smecher
Hi Andrey, On 2019-10-03 6:45 p.m., Andrey Smirnov wrote: > According to > Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.txt, > i2c-mux-idle-disconnect is a property of a parent node since it > pertains to the mux/switch as a whole, so move it there and drop all > of the concurrences in ch

Re: [PATCH] .gitattributes: Use 'dts' diff driver for dts files

2019-10-04 Thread Stephen Boyd
Quoting Randy Dunlap (2019-10-04 15:08:08) > On 10/4/19 2:23 PM, Stephen Boyd wrote: > > > > diff --git a/.gitattributes b/.gitattributes > > index 89c411b5ce6b..4b32eaa9571e 100644 > > --- a/.gitattributes > > +++ b/.gitattributes > > @@ -1,2 +1,4 @@ > > *.c diff=cpp > > *.h diff=cpp > > +*

Re: [PATCH 01/11] iomap: add tracing for the readpage / readpages

2019-10-04 Thread Darrick J. Wong
On Tue, Oct 01, 2019 at 09:11:42AM +0200, Christoph Hellwig wrote: > Lift the xfs code for tracing address space operations to the iomap > layer. > > Signed-off-by: Christoph Hellwig > --- > fs/iomap/buffered-io.c | 7 +++ > include/trace/events/iomap.h | 27 ++

Re: [PATCH] mm/rmap.c: reuse mergeable anon_vma as parent when fork

2019-10-04 Thread Wei Yang
On Fri, Oct 04, 2019 at 07:45:26PM -0400, Rik van Riel wrote: >On Sat, 2019-10-05 at 00:06 +0800, Wei Yang wrote: >> In function __anon_vma_prepare(), we will try to find anon_vma if it >> is >> possible to reuse it. While on fork, the logic is different. >> >> Since commit 5beb49305251 ("mm: chan

Re: [PATCH] mm/rmap.c: reuse mergeable anon_vma as parent when fork

2019-10-04 Thread Wei Yang
On Fri, Oct 04, 2019 at 09:11:20AM -0700, Matthew Wilcox wrote: >On Sat, Oct 05, 2019 at 12:06:32AM +0800, Wei Yang wrote: >> After this change, kernel build test reduces 20% anon_vma allocation. > >But does it have any effect on elapsed time or peak memory consumption? Do the same kernel build te

Re: [PATCH] mm/rmap.c: reuse mergeable anon_vma as parent when fork

2019-10-04 Thread Rik van Riel
On Sat, 2019-10-05 at 00:06 +0800, Wei Yang wrote: > In function __anon_vma_prepare(), we will try to find anon_vma if it > is > possible to reuse it. While on fork, the logic is different. > > Since commit 5beb49305251 ("mm: change anon_vma linking to fix > multi-process server scalability issue"

Re: [PATCH] fs/userfaultfd.c: simplify the calculation of new_flags

2019-10-04 Thread Wei Yang
On Fri, Oct 04, 2019 at 07:28:34PM -0400, Andrea Arcangeli wrote: >On Sat, Oct 05, 2019 at 06:46:40AM +0800, Wei Yang wrote: >> On Wed, Oct 02, 2019 at 08:45:05PM -0400, Andrea Arcangeli wrote: >> >Hello, >> > >> >On Tue, Aug 06, 2019 at 01:38:59PM +0800, Wei Yang wrote: >> >> Finally new_flags equ

[RFC PATCH] e1000e: Use rtnl_lock to prevent race conditions between net and pci/pm

2019-10-04 Thread Alexander Duyck
From: Alexander Duyck This patch is meant to address possible race conditions that can exist between network configuration and power management. A similar issue was fixed for igb in commit 9474933caf21 ("igb: close/suspend race in netif_device_detach"). In addition it consolidates the code so th

Re: [PATCH 08/16] KVM: VMX: Check for full VMX support when verifying CPU compatibility

2019-10-04 Thread Jim Mattson
On Fri, Oct 4, 2019 at 2:56 PM Sean Christopherson wrote: > > Explicitly check the current CPU's VMX feature flag when verifying > compatibility across physical CPUs. This effectively adds a check on > IA32_FEATURE_CONTROL to ensure that VMX is fully enabled on all CPUs. > > Signed-off-by: Sean C

[PATCH] soc: qcom: llcc: Name regmaps to avoid collisions

2019-10-04 Thread Stephen Boyd
We'll end up with debugfs collisions if we don't give names to the regmaps created inside this driver. Copy the template config over into this function and give the regmap the same name as the resource name. Fixes: 7f9c136216c7 ("soc: qcom: Add broadcast base for Last Level Cache Controller (LLCC

Re: [PATCH] fs/userfaultfd.c: simplify the calculation of new_flags

2019-10-04 Thread Andrea Arcangeli
On Sat, Oct 05, 2019 at 06:46:40AM +0800, Wei Yang wrote: > On Wed, Oct 02, 2019 at 08:45:05PM -0400, Andrea Arcangeli wrote: > >Hello, > > > >On Tue, Aug 06, 2019 at 01:38:59PM +0800, Wei Yang wrote: > >> Finally new_flags equals old vm_flags *OR* vm_flags. > >> > >> It is not necessary to mask t

Re: [PATCH 07/16] KVM: VMX: Use VMX feature flag to query BIOS enabling

2019-10-04 Thread Jim Mattson
On Fri, Oct 4, 2019 at 2:56 PM Sean Christopherson wrote: > > Replace KVM's manual checks on IA32_FEATURE_CONTROL with a query on the > boot CPU's VMX feature flag. The VMX flag is now cleared during boot if > VMX isn't fully enabled via IA32_FEATURE_CONTROL, including the case > where IA32_FEATU

Re: [PATCH 05/16] KVM: VMX: Drop initialization of IA32_FEATURE_CONTROL MSR

2019-10-04 Thread Jim Mattson
On Fri, Oct 4, 2019 at 2:56 PM Sean Christopherson wrote: > > Remove the code to initialize IA32_FEATURE_CONTROL MSR when KVM is > loaded now that the MSR is initialized during boot on all CPUs that > support VMX, i.e. can possibly load kvm_intel. > > Signed-off-by: Sean Christopherson Reviewed-b

Re: [PATCH] rculist: Describe variadic macro argument in a Sphinx-compatible way

2019-10-04 Thread Jonathan Neuschäfer
On Fri, Oct 04, 2019 at 03:24:39PM -0700, Paul E. McKenney wrote: > On Fri, Oct 04, 2019 at 11:54:02PM +0200, Jonathan Neuschäfer wrote: > > Without this patch, Sphinx shows "variable arguments" as the description > > of the cond argument, rather than the intended description, and prints > > the fo

Re: [PATCH v3 3/3] clk: qcom: Add Global Clock controller (GCC) driver for SC7180

2019-10-04 Thread Stephen Boyd
Quoting Taniya Das (2019-10-04 10:39:31) > Hi Stephen, > > On 10/3/2019 9:31 PM, Stephen Boyd wrote: > > Quoting Taniya Das (2019-10-03 03:31:15) > >> Hi Stephen, > >> > >> On 10/1/2019 8:08 PM, Stephen Boyd wrote: > >>> > >>> Why do you want to keep them critical and registered? I'm suggesting >

[PATCH 2/3] net: phy: fixed_phy: fix use-after-free when checking link GPIO

2019-10-04 Thread Dmitry Torokhov
If we fail to locate GPIO for any reason other than deferral or not-found-GPIO, we try to print device tree node info, however if might be freed already as we called of_node_put() on it. Signed-off-by: Dmitry Torokhov --- drivers/net/phy/fixed_phy.c | 7 ++- 1 file changed, 2 insertions(+),

[PATCH 3/3] net: phy: fixed_phy: switch to using fwnode_gpiod_get_index

2019-10-04 Thread Dmitry Torokhov
gpiod_get_from_of_node() is being retired in favor of [devm_]fwnode_gpiod_get_index(), that behaves similar to [devm_]gpiod_get_index(), but can work with arbitrary firmware node. It will also be able to support secondary software nodes. Let's switch this driver over. Signed-off-by: Dmitry Torokh

[PATCH 0/3] net: phy: switch to using fwnode_gpiod_get_index

2019-10-04 Thread Dmitry Torokhov
This series switches phy drivers form using fwnode_get_named_gpiod() and gpiod_get_from_of_node() that are scheduled to be removed in favor of fwnode_gpiod_get_index() that behaves more like standard gpiod_get_index() and will potentially handle secondary software nodes in cases we need to augment

[PATCH 1/3] net: phylink: switch to using fwnode_gpiod_get_index()

2019-10-04 Thread Dmitry Torokhov
Instead of fwnode_get_named_gpiod() that I plan to hide away, let's use the new fwnode_gpiod_get_index() that mimics gpiod_get_index(), but works with arbitrary firmware node. Reviewed-by: Andy Shevchenko Signed-off-by: Dmitry Torokhov --- drivers/net/phy/phylink.c | 4 ++-- 1 file changed, 2

[PATCH 5/7] regulator: da9211: switch to using devm_fwnode_gpiod_get

2019-10-04 Thread Dmitry Torokhov
devm_gpiod_get_from_of_node() is being retired in favor of devm_fwnode_gpiod_get_index(), that behaves similar to devm_gpiod_get_index(), but can work with arbitrary firmware node. It will also be able to support secondary software nodes. Let's switch this driver over. Signed-off-by: Dmitry Torok

[PATCH 6/7] regulator: tps65132: switch to using devm_fwnode_gpiod_get()

2019-10-04 Thread Dmitry Torokhov
devm_fwnode_get_index_gpiod_from_child() is going away as the name is too unwieldy, let's switch to using the new devm_fwnode_gpiod_get(). Note that we no longer need to check for NULL as devm_fwnode_gpiod_get() will return -ENOENT if GPIO is missing. Signed-off-by: Dmitry Torokhov --- drivers

[PATCH 4/7] regulator: s2mps11: switch to using devm_fwnode_gpiod_get

2019-10-04 Thread Dmitry Torokhov
devm_gpiod_get_from_of_node() is being retired in favor of devm_fwnode_gpiod_get_index(), that behaves similar to devm_gpiod_get_index(), but can work with arbitrary firmware node. It will also be able to support secondary software nodes. Let's switch this driver over. Signed-off-by: Dmitry Torok

[PATCH 3/7] regulator: tps65090: switch to using devm_fwnode_gpiod_get

2019-10-04 Thread Dmitry Torokhov
devm_gpiod_get_from_of_node() is being retired in favor of devm_fwnode_gpiod_get_index(), that behaves similar to devm_gpiod_get_index(), but can work with arbitrary firmware node. It will also be able to support secondary software nodes. Let's switch this driver over. Signed-off-by: Dmitry Torok

[PATCH 0/7] regulator: switch to using [devm_]fwnode_gpiod_get_index

2019-10-04 Thread Dmitry Torokhov
This series swiches regulator drivers form using [devm_]gpiod_get_from_of_node() that is scheduled to be removed in favor of [devm_]fwnode_gpiod_get_index() that behaves more like standard [devm_]gpiod_get_index() and will potentially handle secondary software nodes in cases we need to augment plat

[PATCH 2/7] regulator: slg51000: switch to using fwnode_gpiod_get_index

2019-10-04 Thread Dmitry Torokhov
devm_gpiod_get_from_of_node() is being retired in favor of [devm_]fwnode_gpiod_get_index(), that behaves similar to devm_gpiod_get_index(), but can work with arbitrary firmware node. It will also be able to support secondary software nodes. Let's switch this driver over. Note that now that we hav

[PATCH 7/7] regulator: max77686: switch to using fwnode_gpiod_get_index

2019-10-04 Thread Dmitry Torokhov
gpiod_get_from_of_node() is being retired in favor of fwnode_gpiod_get_index(), that behaves similar to gpiod_get_index(), but can work with arbitrary firmware node. It will also be able to support secondary software nodes. Let's switch this driver over. Signed-off-by: Dmitry Torokhov --- dri

[PATCH 1/7] regulator: s5m8767: switch to using devm_fwnode_gpiod_get

2019-10-04 Thread Dmitry Torokhov
devm_gpiod_get_from_of_node() is being retired in favor of devm_fwnode_gpiod_get_index(), that behaves similar to devm_gpiod_get_index(), but can work with arbitrary firmware node. It will also be able to support secondary software nodes. Let's switch this driver over. Signed-off-by: Dmitry Torok

Re: [PATCH 3.16 00/87] 3.16.75-rc1 review

2019-10-04 Thread Guenter Roeck
On Wed, Oct 02, 2019 at 08:06:50PM +0100, Ben Hutchings wrote: > This is the start of the stable review cycle for the 3.16.75 release. > There are 87 patches in this series, which will be posted as responses > to this one. If anyone has any issues with these being applied, please > let me know. >

Re: [PATCH 5.3 000/344] 5.3.4-stable review

2019-10-04 Thread Guenter Roeck
On Thu, Oct 03, 2019 at 05:49:25PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.3.4 release. > There are 344 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.

Re: [PATCH 5.2 000/313] 5.2.19-stable review

2019-10-04 Thread Guenter Roeck
On Thu, Oct 03, 2019 at 05:49:38PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.2.19 release. > There are 313 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

Re: [PATCH 4.19 000/211] 4.19.77-stable review

2019-10-04 Thread Guenter Roeck
On Thu, Oct 03, 2019 at 05:51:06PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.77 release. > There are 211 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 kno

Re: [PATCH 4.14 000/185] 4.14.147-stable review

2019-10-04 Thread Guenter Roeck
On Thu, Oct 03, 2019 at 05:51:18PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.147 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 kn

Re: [PATCH 4.9 000/129] 4.9.195-stable review

2019-10-04 Thread Guenter Roeck
On Thu, Oct 03, 2019 at 05:52:03PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.195 release. > There are 129 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 kno

Re: [PATCH 4.4 00/99] 4.4.195-stable review

2019-10-04 Thread Guenter Roeck
On Thu, Oct 03, 2019 at 05:52:23PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.195 release. > There are 99 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

Re: [PATCH v9 17/17] Documentation/x86/64: Add documentation for GS/FS addressing mode

2019-10-04 Thread Randy Dunlap
On 10/4/19 11:16 AM, Chang S. Bae wrote: > From: Thomas Gleixner > > --- Reviewed-by: Randy Dunlap Thanks. > > Changes from v8: > * Fixed typos (Randy Dunlap) > * Massaged a few sentences that were previously edited by Thomas. > > Changes from v7: > * Rewritten the documentation and changel

Re: [PATCH] tty: serial: fsl_lpuart: Fix lpuart_flush_buffer()

2019-10-04 Thread Andrew Lunn
On Fri, Oct 04, 2019 at 02:55:37PM -0700, Andrey Smirnov wrote: > Fix incorrect read-modify-write sequence in lpuart_flush_buffer() that > was reading from UARTPFIFO and writing to UARTCFIFO instead of > operating solely on the latter. > > Fixes: 9bc19af9dacb ("tty: serial: fsl_lpuart: Flush HW FI

Re: [PATCH] fs/userfaultfd.c: simplify the calculation of new_flags

2019-10-04 Thread Wei Yang
On Wed, Oct 02, 2019 at 08:45:05PM -0400, Andrea Arcangeli wrote: >Hello, > >On Tue, Aug 06, 2019 at 01:38:59PM +0800, Wei Yang wrote: >> Finally new_flags equals old vm_flags *OR* vm_flags. >> >> It is not necessary to mask them first. >> >> Signed-off-by: Wei Yang >> --- >> fs/userfaultfd.c |

  1   2   3   4   5   6   7   8   9   >