Re: [PATCH v3 0/8] OMAP3: convert opp-v1 to opp-v2 and read speed binned / 720MHz grade bits

2019-10-01 Thread H. Nikolaus Schaller
Hi Tony, > Am 17.09.2019 um 16:35 schrieb H. Nikolaus Schaller : > > Hi Tony, > >> Am 16.09.2019 um 18:28 schrieb Tony Lindgren : >> >> * H. Nikolaus Schaller [190911 17:48]: >>> CHANGES V3: >>> * make omap36xx control the abb-ldo and properly switch mode >>> (suggested by Adam Ford ) >>> *

Re: [PATCH] input: touchscreen: imx6ul_tsc: Use 'dev' instead of dereferencing it repeatedly

2019-10-01 Thread Michal Vokáč
On 01. 10. 19 1:08, Dmitry Torokhov wrote: On Tue, Sep 24, 2019 at 05:02:11PM +0800, Anson Huang wrote: Add helper variable dev = >dev to simply the code. Do we get any code savings from this? I noticed Anson submitted similar patches into various other subsystems. Here [1] is a very

Re: [PATCH] x86/PCI: Remove D0 PME capability on AMD FCH xHCI

2019-10-01 Thread Kai-Heng Feng
> On Oct 2, 2019, at 08:07, Bjorn Helgaas wrote: > > [+cc Alan, Mathias, Rafael, Lukas] > > On Mon, Sep 02, 2019 at 10:52:52PM +0800, Kai-Heng Feng wrote: >> There's an xHCI device that doesn't wake when a USB 2.0 device gets >> plugged to its USB 3.0 port. The driver's own runtime suspend

Re: [v2] fs: affs: fix a memory leak in affs_remount

2019-10-01 Thread Markus Elfring
> Hi Markus, thanks for your suggestions for improving the quality of > the patch. At the moment I prefer first get a confirmation from > contributors about the leak and then work on any possible improvements > for the patch. Please fix this patch as soon as possible if you care for the

Re: [v2] fs: affs: fix a memory leak in affs_remount

2019-10-01 Thread Markus Elfring
> Hi Markus, thanks for your suggestions for improving the quality of > the patch. At the moment I prefer first get a confirmation from > contributors about the leak and then work on any possible improvements > for the patch. Please fix this patch as soon as possible if you care for the

Re: [v2] spi: gpio: prevent memory leak in spi_gpio_probe

2019-10-01 Thread Markus Elfring
> Hi Markus, thanks for your suggestions for improving the quality of > the patch. At the moment I prefer first get a confirmation from > contributors about the leak and then work on any possible improvements > for the patch. Please fix this patch as soon as possible if you care for the

Re: [PATCH v2] perf script python: integrate page reclaim analyze script

2019-10-01 Thread Yafang Shao
On Tue, Oct 1, 2019 at 10:45 PM Mel Gorman wrote: > > On Mon, Sep 30, 2019 at 11:19:44PM -0400, Yafang Shao wrote: > > A new perf script page-reclaim is introduced in this patch. This new script > > is used to report the page reclaim details. The possible usage of this > > script is as bellow, >

RE: [PATCH] iommu/ipmmu-vmsa: Only call platform_get_irq() when interrupt is mandatory

2019-10-01 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Wednesday, October 2, 2019 3:06 AM > > As platform_get_irq() now prints an error when the interrupt does not > exist, calling it gratuitously causes scary messages like: > > ipmmu-vmsa e674.mmu: IRQ index 0 not found > > Fix this by

RE: [PATCH] serial: sh-sci: Use platform_get_irq_optional() for optional interrupts

2019-10-01 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Wednesday, October 2, 2019 3:08 AM > > As platform_get_irq() now prints an error when the interrupt does not > exist, scary warnings may be printed for optional interrupts: > > sh-sci e655.serial: IRQ index 1 not found > sh-sci

RE: [PATCH] phy: renesas: rcar-gen3-usb2: Use platform_get_irq_optional() for optional irq

2019-10-01 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Wednesday, October 2, 2019 3:11 AM > > As platform_get_irq() now prints an error when the interrupt does not > exist, a scary warning may be printed for an optional interrupt: > > phy_rcar_gen3_usb2 ee0a0200.usb-phy: IRQ index 0 not found > >

RE: [PATCH] mmc: renesas_sdhi: Do not use platform_get_irq() to count interrupts

2019-10-01 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Wednesday, October 2, 2019 3:07 AM > > As platform_get_irq() now prints an error when the interrupt does not > exist, counting interrupts by looping until failure causes the printing > of scary messages like: > > renesas_sdhi_internal_dmac

RE: [PATCH] mmc: sh_mmcif: Use platform_get_irq_optional() for optional interrupt

2019-10-01 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Wednesday, October 2, 2019 3:09 AM > > As platform_get_irq() now prints an error when the interrupt does not > exist, a scary warning may be printed for an optional interrupt: > > sh_mmcif ee20.mmc: IRQ index 1 not found > > Fix this by

RE: [PATCH] pinctrl: sh-pfc: Do not use platform_get_irq() to count interrupts

2019-10-01 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Wednesday, October 2, 2019 3:06 AM > > As platform_get_irq() now prints an error when the interrupt does not > exist, counting interrupts by looping until failure causes the printing > of scary messages like: > > sh-pfc

linux-next: Tree for Oct 2

2019-10-01 Thread Stephen Rothwell
Hi all, Changes since 20191001: My fixes tree contains: 04e6dac68d9b ("powerpc/64s/radix: fix for "tidy up TLB flushing code" and !CONFIG_PPC_RADIX_MMU") The akpm-current tree gained a conflict against the jc_docs tree. Non-merge commits (relative to Linus' tree): 974

Re: [RFC PATCH] xen/gntdev: Stop abusing DT of_dma_configure API

2019-10-01 Thread Oleksandr Andrushchenko
On 10/1/19 9:23 PM, Stefano Stabellini wrote: > On Thu, 26 Sep 2019, Rob Herring wrote: >> On Thu, Sep 26, 2019 at 6:16 AM Oleksandr Andrushchenko >> wrote: >>> On 9/26/19 1:46 PM, Robin Murphy wrote: On 2019-09-26 11:17 am, Oleksandr Andrushchenko wrote: > On 9/26/19 12:49 PM, Julien

Re: [PATCH] x86/xen: Return from panic notifier

2019-10-01 Thread Jürgen Groß
On 01.10.19 17:16, Boris Ostrovsky wrote: Currently execution of panic() continues until Xen's panic notifier (xen_panic_event()) is called at which point we make a hypercall that never returns. This means that any notifier that is supposed to be called later as well as significant part of

Re: [PATCH] rtl8xxxu: prevent leaking urb

2019-10-01 Thread Kalle Valo
Navid Emamdoost wrote: > In rtl8xxxu_submit_int_urb if usb_submit_urb fails the allocated urb > should be released. > > Signed-off-by: Navid Emamdoost > Reviewed-by: Chris Chiu Patch applied to wireless-drivers-next.git, thanks. a2cdd07488e6 rtl8xxxu: prevent leaking urb --

Re: [PATCH 0/3] PCI: pciehp: Do not turn off slot if presence comes up after link

2019-10-01 Thread Stuart Hayes
On Tue, Oct 1, 2019 at 11:13 PM Lukas Wunner wrote: > > On Tue, Oct 01, 2019 at 05:14:16PM -0400, Stuart Hayes wrote: > > This patch set is based on a patch set [1] submitted many months ago by > > Alexandru Gagniuc, who is no longer working on it. > > > > [1]

Re: [PATCH v7] rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver

2019-10-01 Thread Kalle Valo
Chris Chiu wrote: > We have 3 laptops which connect the wifi by the same RTL8723BU. > The PCI VID/PID of the wifi chip is 10EC:B720 which is supported. > They have the same problem with the in-kernel rtl8xxxu driver, the > iperf (as a client to an ethernet-connected server) gets ~1Mbps. >

Re: [PATCH v2] rtl8xxxu: add bluetooth co-existence support for single antenna

2019-10-01 Thread Kalle Valo
Chris Chiu wrote: > The RTL8723BU suffers the wifi disconnection problem while bluetooth > device connected. While wifi is doing tx/rx, the bluetooth will scan > without results. This is due to the wifi and bluetooth share the same > single antenna for RF communication and they need to have a

Re: [PATCH v2] rtl8xxxu: add bluetooth co-existence support for single antenna

2019-10-01 Thread Kalle Valo
Chris Chiu wrote: > The RTL8723BU suffers the wifi disconnection problem while bluetooth > device connected. While wifi is doing tx/rx, the bluetooth will scan > without results. This is due to the wifi and bluetooth share the same > single antenna for RF communication and they need to have a

Re: ptrace/strace and freezer oddities and v5.2+ kernels

2019-10-01 Thread Bruce Ashfield
On Tue, Oct 1, 2019 at 10:01 PM Roman Gushchin wrote: > > On Tue, Oct 01, 2019 at 12:14:18PM -0400, Bruce Ashfield wrote: > > Hi all, > > > > Hi Bruce! > > > The Yocto project has an upcoming release this fall, and I've been trying to > > sort through some issues that are happening with kernel

[PATCH] arm64: dts: qcom: db845c: Enable LVS 1 and 2

2019-10-01 Thread Bjorn Andersson
vreg_lvs1a_1p8 and vreg_lvs2a_1p8 are both feeding pins in the low speed connectors and should as such alway be on, so enable them. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH v2 17/35] net/wireless: Use kmemdup rather than duplicating its implementation

2019-10-01 Thread Kalle Valo
Fuqian Huang wrote: > kmemdup is introduced to duplicate a region of memory in a neat way. > Rather than kmalloc/kzalloc + memcpy, which the programmer needs to > write the size twice (sometimes lead to mistakes), kmemdup improves > readability, leads to smaller code and also reduce the chances

Re: [PATCH 0/3] PCI: pciehp: Do not turn off slot if presence comes up after link

2019-10-01 Thread Lukas Wunner
On Tue, Oct 01, 2019 at 05:14:16PM -0400, Stuart Hayes wrote: > This patch set is based on a patch set [1] submitted many months ago by > Alexandru Gagniuc, who is no longer working on it. > > [1] https://patchwork.kernel.org/cover/10909167/ > [v3,0/4] PCI: pciehp: Do not turn off slot if

Re: [PATCH bpf 2/2] selftests/bpf: test_progs: don't leak server_fd in test_sockopt_inherit

2019-10-01 Thread Brian Vazquez
Thanks for reviewing the patches Andrii! Although Daniel fixed them and applied them correctly. On Tue, Oct 1, 2019 at 8:20 PM Andrii Nakryiko wrote: > > On Tue, Oct 1, 2019 at 10:40 AM Brian Vazquez wrote: > > > > I don't think there is a need to add "test_progs:" to subject, " >

[PATCH v2] IB/hfi1: prevent memory leak in sdma_init

2019-10-01 Thread Navid Emamdoost
In sdma_init if rhashtable_init fails the allocated memory for tmp_sdma_rht should be released. Fixes: 5a52a7acf7e2 ("IB/hfi1: NULL pointer dereference when freeing rhashtable") Signed-off-by: Navid Emamdoost --- Changes in v2: -- added Fixes tag. --- drivers/infiniband/hw/hfi1/sdma.c

Re: [PATCH bpf 2/2] selftests/bpf: test_progs: don't leak server_fd in test_sockopt_inherit

2019-10-01 Thread Andrii Nakryiko
On Tue, Oct 1, 2019 at 10:40 AM Brian Vazquez wrote: > I don't think there is a need to add "test_progs:" to subject, " test_sockopt_inherit" is specific enough ;) > server_fd needs to be close if pthread can't be created. typo: closed > > Fixes: e3e02e1d9c24 ("selftests/bpf: test_progs:

linux-next: manual merge of the akpm-current tree with the jc_docs tree

2019-10-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: Documentation/admin-guide/cgroup-v2.rst between commit: 6ee0fac199e1 ("docs: fix memory.low description in cgroup-v2.rst") from the jc_docs tree and commit: 3968bb6dec48 ("mm, memcg: proportional

Re: [PATCH bpf 1/2] selftests/bpf: test_progs: don't leak server_fd in tcp_rtt

2019-10-01 Thread Andrii Nakryiko
On Tue, Oct 1, 2019 at 10:39 AM Brian Vazquez wrote: > > server_fd needs to be closed if pthread can't be created. > > Fixes: 8a03222f508b ("selftests/bpf: test_progs: fix client/server race > in tcp_rtt") Fixes tag hast to be on single line, no wrapping. Besides that: Acked-by: Andrii Nakryiko

Re: [PATCH RFC 00/14] The new slab memory controller

2019-10-01 Thread Roman Gushchin
On Tue, Oct 01, 2019 at 05:12:02PM +0200, Michal Koutný wrote: > On Thu, Sep 05, 2019 at 02:45:44PM -0700, Roman Gushchin wrote: > > Roman Gushchin (14): > > [...] > > mm: memcg/slab: use one set of kmem_caches for all memory cgroups > From that commit's message: > > > 6) obsoletes

Re: ptrace/strace and freezer oddities and v5.2+ kernels

2019-10-01 Thread Roman Gushchin
On Tue, Oct 01, 2019 at 12:14:18PM -0400, Bruce Ashfield wrote: > Hi all, > Hi Bruce! > The Yocto project has an upcoming release this fall, and I've been trying to > sort through some issues that are happening with kernel 5.2+ .. although > there is a specific yocto kernel, I'm testing and

Re: [v6 PATCH] RISC-V: Remove unsupported isa string info print

2019-10-01 Thread Alan Kao
On Tue, Oct 01, 2019 at 03:10:16AM -0700, h...@infradead.org wrote: > On Tue, Oct 01, 2019 at 08:22:37AM +, Atish Patra wrote: > > riscv_of_processor_hartid() or seems to be a better candidate. We > > already check if "rv" is present in isa string or not. I will extend > > that to check for

Re: [PATCH v2 1/1] xen-netfront: do not use ~0U as error return value for xennet_fill_frags()

2019-10-01 Thread David Miller
From: Dongli Zhang Date: Tue, 1 Oct 2019 21:56:41 +0800 > xennet_fill_frags() uses ~0U as return value when the sk_buff is not able > to cache extra fragments. This is incorrect because the return type of > xennet_fill_frags() is RING_IDX and 0x is an expected value for > ring buffer

Re: Many unexpected warnings with current sparse

2019-10-01 Thread Luc Van Oostenryck
On Tue, Oct 01, 2019 at 08:24:45PM -0500, Steve French wrote: > On Tue, Oct 1, 2019 at 7:19 PM Luc Van Oostenryck > wrote: > > > > On Tue, Oct 01, 2019 at 06:14:23PM -0500, Steve French wrote: > > > It may be related to the following sparse make warning: > > > > > > No rule to make target > > >

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

2019-10-01 Thread Duncan Roe
On Tue, Oct 01, 2019 at 09:34:13PM +0300, Julian Anastasov wrote: > > Hello, > > On Tue, 1 Oct 2019, Haishuang Yan wrote: > > > This series patch include test cases for ipvs. > > > > The test topology is who as below: > > +--+ > > |

Re: [PATCH net-next v2] vsock/virtio: add support for MSG_PEEK

2019-10-01 Thread David Miller
From: Matias Ezequiel Vara Larsen Date: Mon, 30 Sep 2019 18:25:23 + > This patch adds support for MSG_PEEK. In such a case, packets are not > removed from the rx_queue and credit updates are not sent. > > Signed-off-by: Matias Ezequiel Vara Larsen > Reviewed-by: Stefano Garzarella >

Re: Many unexpected warnings with current sparse

2019-10-01 Thread Steve French
On Tue, Oct 1, 2019 at 7:19 PM Luc Van Oostenryck wrote: > > On Tue, Oct 01, 2019 at 06:14:23PM -0500, Steve French wrote: > > It may be related to the following sparse make warning: > > > > No rule to make target > > '/usr/include/x86_64-linux-gnu/bits/huge_val.h', needed by > > 'sparse-llvm.o'

Re: [PATCH v10 12/16] leds: lp55xx: Add multicolor framework support to lp55xx

2019-10-01 Thread kbuild test robot
Hi Dan, I love your patch! Yet something to improve: [auto build test ERROR on j.anaszewski-leds/for-next] [cannot apply to v5.4-rc1 next-20191001] [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 net v3] vsock: Fix a lockdep warning in __vsock_release()

2019-10-01 Thread David Miller
From: Dexuan Cui Date: Mon, 30 Sep 2019 18:43:50 + > Lockdep is unhappy if two locks from the same class are held. > > Fix the below warning for hyperv and virtio sockets (vmci socket code > doesn't have the issue) by using lock_sock_nested() when __vsock_release() > is called recursively:

Re: [PATCH v8 1/5] kasan: support backing vmalloc space with real shadow memory

2019-10-01 Thread Daniel Axtens
Hi, >> /* >> * Find a place in the tree where VA potentially will be >> * inserted, unless it is merged with its sibling/siblings. >> @@ -741,6 +752,10 @@ merge_or_add_vmap_area(struct vmap_area *va, >> if (sibling->va_end == va->va_start) { >>

Re: [PATCH 1/1] sched/rt: avoid contend with CFS task

2019-10-01 Thread Jing-Ting Wu
On Thu, 2019-09-19 at 16:11 +0100, Qais Yousef wrote: > On 09/19/19 16:37, Vincent Guittot wrote: > > On Thu, 19 Sep 2019 at 16:32, Vincent Guittot > > wrote: > > > > > > On Thu, 19 Sep 2019 at 16:23, Qais Yousef wrote: > > > > > > > > On 09/19/19 14:27, Vincent Guittot wrote: > > > > > > > >

[PATCH v4 2/2] arm64: dts: qcom: msm8998: Add gpucc node

2019-10-01 Thread Jeffrey Hugo
Add MSM8998 GPU Clock Controller DT node. Signed-off-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 5a9efd749fa6..896f37c936ee

[PATCH v4 1/2] clk: qcom: Add MSM8998 GPU Clock Controller (GPUCC) driver

2019-10-01 Thread Jeffrey Hugo
The GPUCC manages the clocks for the Adreno GPU found on MSM8998. Signed-off-by: Jeffrey Hugo --- drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/gpucc-msm8998.c | 346 +++ 3 files changed, 356 insertions(+)

Re: [PATCH v2 1/3] selftests: netfilter: add ipvs test script

2019-10-01 Thread Duncan Roe
On Tue, Oct 01, 2019 at 11:50:33AM +0200, Simon Horman wrote: > On Fri, Sep 27, 2019 at 02:21:04PM +0800, Haishuang Yan wrote: > > Test virutal server via directing routing for IPv4. > > > > Tested: > > > > # selftests: netfilter: ipvs.sh > > # Testing DR mode... > > # ipvs.sh: PASS > > ok 6

[PATCH v4 0/2] MSM8998 GPUCC Support

2019-10-01 Thread Jeffrey Hugo
The Adreno GPU on MSM8998 has its own clock controller, which is a dependency for bringing up the GPU. This series gets the gpucc all in place as another step on the road to getting the GPU enabled. v4: -rebase onto mmcc series -remove clk_get from the clock provider v3: -drop accepted DT patch

Re: [PATCH net] hso: fix NULL-deref on tty open

2019-10-01 Thread David Miller
From: Johan Hovold Date: Mon, 30 Sep 2019 17:12:41 +0200 > Fix NULL-pointer dereference on tty open due to a failure to handle a > missing interrupt-in endpoint when probing modem ports: > > BUG: kernel NULL pointer dereference, address: 0006 > ... > RIP:

Re: [EXT] Re: [PATCH v5] arm64: dts: ls1028a: Add esdhc node in dts

2019-10-01 Thread Shawn Guo
On Tue, Sep 24, 2019 at 03:02:04AM +, Yinbo Zhu wrote: > Hi Shawn Guo, > > I see that you had merged my patch, but I don't see that in > url = git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git master > branch. > Please help check. My master branch will only get updated to

Re: [PATCH v3 0/3] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2019-10-01 Thread Jens Axboe
On 10/1/19 5:12 PM, Song Liu wrote: > On Fri, Sep 20, 2019 at 8:58 AM Eugene Syromiatnikov wrote: >> >> Hello. >> >> This is a small fix of a typo (or, more specifically, some remnant of >> the old patch version spelling) in RWH_WRITE_LIFE_NOT_SET constant, >> which is named as

Re: [PATCH v11 0/6] mm / virtio: Provide support for unused page reporting

2019-10-01 Thread Alexander Duyck
On Tue, Oct 1, 2019 at 12:16 PM Nitesh Narayan Lal wrote: > > > On 10/1/19 12:21 PM, Alexander Duyck wrote: > > On Tue, 2019-10-01 at 17:35 +0200, David Hildenbrand wrote: > >> On 01.10.19 17:29, Alexander Duyck wrote: > >>> This series provides an asynchronous means of reporting to a hypervisor

Re: [PATCH] PCI: Add Loongson vendor ID and device IDs

2019-10-01 Thread Tiezhu Yang
On 10/01/2019 08:50 PM, Bjorn Helgaas wrote: On Tue, Oct 01, 2019 at 10:53:44AM +0800, Tiezhu Yang wrote: On 09/30/2019 10:02 PM, Andrew Murray wrote: On Mon, Sep 30, 2019 at 12:55:20PM +0800, Tiezhu Yang wrote: Add the Loongson vendor ID and device IDs to pci_ids.h to be used in the future.

Re: [PATCH] nios2: force the string buffer NULL-terminated

2019-10-01 Thread Ley Foon Tan
On Mon, 2019-08-05 at 18:17 +0800, Wang Xiayang wrote: > strncpy() does not ensure NULL-termination when the input string > size equals to the destination buffer size COMMAND_LINE_SIZE. > Besides, grep under arch/ with 'boot_command_line' shows > no other arch-specific code uses strncpy() when

Re: [PATCH v7 4/4] ftrace: Add an option for tracing console latencies

2019-10-01 Thread Joel Fernandes
On Fri, Sep 20, 2019 at 05:22:19PM +0200, Viktor Rosendahl (BMW) wrote: > This new trace option "console-latency" will enable the latency > tracers to trace the console latencies. Previously this has always been > implicitely disabled. I guess this is because they are considered > to be well known

[PATCH v4] media: vimc: Implement debayer control for mean window size

2019-10-01 Thread Arthur Moraes do Lago
Add mean window size parameter for debayer filter as a control in vimc-debayer. vimc-debayer was patched to allow changing mean window parameter of the filter without needing to reload the driver. The parameter can now be set using a v4l2-ctl control(mean_window_size). Co-developed-by: Laís

Re: [PATCH v7 2/4] preemptirq_delay_test: Add the burst feature and a sysfs trigger

2019-10-01 Thread Joel Fernandes
On Fri, Sep 20, 2019 at 05:22:17PM +0200, Viktor Rosendahl (BMW) wrote: > This burst feature enables the user to generate a burst of > preempt/irqsoff latencies. This makes it possible to test whether we > are able to detect latencies that systematically occur very close to > each other. > > The

Re: [RFC][PATCH] sysctl: Remove the sysctl system call

2019-10-01 Thread Jann Horn
+Kostya (code owner for LLVM sanitizer_common) as FYI On Wed, Oct 2, 2019 at 12:54 AM Eric W. Biederman wrote: > Kees Cook writes: > > On Tue, Oct 01, 2019 at 01:36:32PM -0500, Eric W. Biederman wrote: [...] > > I think you can actually take this further and remove (or at least > > empty) the

[PATCH] ARM: dts: imx6q-logicpd: Fix 3.3V regulator on SDHC1

2019-10-01 Thread Adam Ford
NVCC_SD1 is driven by a selector which chooses between 3.3V and 1.8. Currently, this is pulled down by a 10k resistor, but occasionally, voltage spikes on this rail cause the regulator to jump between 1.8 and 3.3V. This patch explicitly sets GPIO_19 to choose the 3.3V rail by forcing this IO pin

[PATCH] ARM: dts: imx6q-logicpd: Fix 3.3V regulator on SDHC1

2019-10-01 Thread Adam Ford
NVCC_SD1 is driven by a selector which chooses between 3.3V and 1.8. Currently, this is pulled down by a 10k resistor, but occasionally, voltage spikes on this rail cause the regulator to jump between 1.8 and 3.3V. This patch explicitly sets GPIO_19 to choose the 3.3V rail by forcing this IO pin

Re: [PATCH v7 1/4] ftrace: Implement fs notification for tracing_max_latency

2019-10-01 Thread Joel Fernandes
Some nits, but others looks good: On Fri, Sep 20, 2019 at 05:22:16PM +0200, Viktor Rosendahl (BMW) wrote: > This patch implements the feature that the tracing_max_latency file, > e.g. /sys/kernel/debug/tracing/tracing_max_latency will receive > notifications through the fsnotify framework when a

Re: [PATCH v10 12/16] leds: lp55xx: Add multicolor framework support to lp55xx

2019-10-01 Thread kbuild test robot
Hi Dan, I love your patch! Yet something to improve: [auto build test ERROR on j.anaszewski-leds/for-next] [cannot apply to v5.4-rc1 next-20191001] [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] acpi/hmat: ACPI_HMAT_MEMORY_PD_VALID is deprecated in ACPI-6.3

2019-10-01 Thread Daniel Black
On Tue, 3 Sep 2019 11:03:45 +1000 Daniel Black wrote: > On Mon, 2 Sep 2019 23:28:50 +0200 > "Rafael J. Wysocki" wrote: > > > On Tue, Aug 6, 2019 at 6:24 AM Daniel Black wrote: > > > > > > ACPI-6.3 corresponds to when hmat revision was bumped from > > > 1 to 2. In this version

[PATCH] ARM: dts: imx6q-logicpd: Re-Enable SNVS power key

2019-10-01 Thread Adam Ford
A previous patch disabled the SNVS power key by default which breaks the ability for the imx6q-logicpd board to wake from sleep. This patch re-enables this feature for this board. Fixes: 770856f0da5d ("ARM: dts: imx6qdl: Enable SNVS power key according to board design") Signed-off-by: Adam Ford

Re: [PATCH v6 00/19] More improvements for Tegra30 devfreq driver

2019-10-01 Thread Chanwoo Choi
Hello Dmitry and Thierry, On 19. 10. 2. 오전 6:15, Dmitry Osipenko wrote: > 12.08.2019 00:22, Dmitry Osipenko пишет: >> Hello, >> >> This series addresses some additional review comments that were made by >> Thierry Reding to [1], makes several important changes to the driver, >> fixing excessive

[PATCH] ARM: dts: imx6q-logicpd: Re-Enable SNVS power key

2019-10-01 Thread Adam Ford
A previous patch disabled the SNVS power key by default which breaks the ability for the imx6q-logicpd board to wake from sleep. This patch re-enables this feature for this board. Fixes: 770856f0da5d ("ARM: dts: imx6qdl: Enable SNVS power key according to board design") Signed-off-by: Adam Ford

Re: Many unexpected warnings with current sparse

2019-10-01 Thread Luc Van Oostenryck
On Tue, Oct 01, 2019 at 06:14:23PM -0500, Steve French wrote: > It may be related to the following sparse make warning: > > No rule to make target > '/usr/include/x86_64-linux-gnu/bits/huge_val.h', needed by > 'sparse-llvm.o' > > I don't see huge_val.h in the Ubuntu 19 version of libc6-dev Yes,

Re: [PATCH v10 06/16] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-10-01 Thread kbuild test robot
Hi Dan, I love your patch! Yet something to improve: [auto build test ERROR on j.anaszewski-leds/for-next] [cannot apply to v5.4-rc1 next-20191001] [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 14/15] mm: Align THP mappings for non-DAX

2019-10-01 Thread Kirill A. Shutemov
On Tue, Oct 01, 2019 at 10:08:30AM -0600, William Kucharski wrote: > > > > On Oct 1, 2019, at 8:20 AM, Kirill A. Shutemov wrote: > > > > On Tue, Oct 01, 2019 at 06:18:28AM -0600, William Kucharski wrote: > >> > >> > >> On 10/1/19 5:32 AM, Kirill A. Shutemov wrote: > >>> On Tue, Oct 01, 2019

Re: [PATCH v6 18/19] PM / devfreq: tegra30: Support variable polling interval

2019-10-01 Thread Chanwoo Choi
Hi, On 19. 8. 12. 오전 6:23, Dmitry Osipenko wrote: > The ACTMON governor is interrupt-driven and currently hardware's polling > interval is fixed to 16ms in the driver. Devfreq supports variable polling > interval by the generic governors, let's re-use the generic interface for > changing of the

Re: [PATCH v5 04/10] mm/memory_hotplug: Don't access uninitialized memmaps in shrink_zone_span()

2019-10-01 Thread kbuild test robot
Hi David, I love your patch! Perhaps something to improve: [auto build test WARNING on mmotm/master] url: https://github.com/0day-ci/linux/commits/David-Hildenbrand/mm-memory_hotplug-Shrink-zones-before-removing-memory/20191002-054310 base: git://git.cmpxchg.org/linux-mmotm.git master

Re: [PATCH] x86/PCI: Remove D0 PME capability on AMD FCH xHCI

2019-10-01 Thread Bjorn Helgaas
[+cc Alan, Mathias, Rafael, Lukas] On Mon, Sep 02, 2019 at 10:52:52PM +0800, Kai-Heng Feng wrote: > There's an xHCI device that doesn't wake when a USB 2.0 device gets > plugged to its USB 3.0 port. The driver's own runtime suspend callback > was called, PME# signaling was enabled, but it stays

Re: [PATCH v3 3/4] mm: don't expose non-hugetlb page to fast gup prematurely

2019-10-01 Thread Yu Zhao
On Tue, Oct 01, 2019 at 03:31:51PM -0700, John Hubbard wrote: > On 9/26/19 10:06 PM, Yu Zhao wrote: > > On Thu, Sep 26, 2019 at 08:26:46PM -0700, John Hubbard wrote: > >> On 9/26/19 3:20 AM, Kirill A. Shutemov wrote: > >>> On Wed, Sep 25, 2019 at 04:26:54PM -0600, Yu Zhao wrote: > On Wed, Sep

Re: [PATCH v6 14/19] PM / devfreq: tegra30: Don't enable consecutive-down interrupt on startup

2019-10-01 Thread Chanwoo Choi
On 19. 8. 12. 오전 6:23, Dmitry Osipenko wrote: > The consecutive-down event tells that we should perform frequency > de-boosting, but boosting is in a reset state on start and hence the > event won't do anything useful for us and it will be just a dummy > interrupt request. > > Signed-off-by:

Re: [PATCH v6 11/19] PM / devfreq: tegra30: Use CPUFreq notifier

2019-10-01 Thread Chanwoo Choi
Hi, On 19. 8. 12. 오전 6:23, Dmitry Osipenko wrote: > The CPU's client need to take into account that CPUFreq may change > while memory activity not, staying high. Thus an appropriate frequency > notifier should be used in addition to the clk-notifier. > > Signed-off-by: Dmitry Osipenko > --- >

[PATCH] mm thp: shrink deferred split THPs harder

2019-10-01 Thread Yang Shi
The deferred split THPs may get accumulated with some workloads, they would get shrunk when memory pressure is hit. Now we use DEFAULT_SEEKS to determine how many objects would get scanned then split if possible, but actually they are not like other system cache objects, i.e. inode cache which

Re: DVB-T2 Stick

2019-10-01 Thread Mauro Carvalho Chehab
Em Wed, 2 Oct 2019 00:19:05 +0200 Gonsolo escreveu: > Hi! > > > Secondly there are lots of coding style issues, see: > > https://www.kernel.org/doc/html/v4.10/process/coding-style.html > > I addressed most of these except one "#if 0" warning from checkpatch. > > > I'm afraid there are many

Re: [PATCH v5 04/10] mm/memory_hotplug: Don't access uninitialized memmaps in shrink_zone_span()

2019-10-01 Thread kbuild test robot
Hi David, I love your patch! Yet something to improve: [auto build test ERROR on mmotm/master] url: https://github.com/0day-ci/linux/commits/David-Hildenbrand/mm-memory_hotplug-Shrink-zones-before-removing-memory/20191002-054310 base: git://git.cmpxchg.org/linux-mmotm.git master config:

Re: [PATCH] PCI/IOV: update num_VFs earlier

2019-10-01 Thread Bjorn Helgaas
On Fri, Apr 26, 2019 at 10:11:54AM +0200, CREGUT Pierre IMT/OLN wrote: > I also initially thought that kobject_uevent generated the netlink event > but this is not the case. This is generated by the specific driver in use. > For the Intel i40e driver, this is the call to i40e_do_reset_safe in >

Re: [PATCH 1/2] x86: math-emu: check __copy_from_user result

2019-10-01 Thread Kees Cook
On Tue, Oct 01, 2019 at 04:23:34PM +0200, Arnd Bergmann wrote: > The new __must_check annotation on __copy_from_user successfully > identified some code that has lacked the check since at least > linux-2.1.73: > > arch/x86/math-emu/reg_ld_str.c:88:2: error: ignoring return value of function >

[PATCH V4 1/3] drm/panel: simple: Add Logic PD Type 28 display support

2019-10-01 Thread Adam Ford
Previously, there was an omap panel-dpi driver that would read generic timings from the device tree and set the display timing accordingly. This driver was removed so the screen no longer functions. This patch modifies the panel-simple file to setup the timings to the same values previously

Re: [PATCH v6 10/19] PM / devfreq: tegra30: Reduce unnecessary interrupts activity

2019-10-01 Thread Chanwoo Choi
Hi, On 19. 8. 12. 오전 6:23, Dmitry Osipenko wrote: > There are cases where unnecessary ACTMON interrupts could be avoided, > like when one memory client device requests higher clock rate than the > other or when clock rate is manually limited using sysfs devfreq > parameters. These cases could be

Re: [PATCH v6 09/19] PM / devfreq: tegra30: Use kHz units uniformly in the code

2019-10-01 Thread Chanwoo Choi
On 19. 8. 12. 오전 6:23, Dmitry Osipenko wrote: > Now that all kHz-conversion related bugs are fixed, we can use the kHz > uniformly. This makes code cleaner and avoids integer divisions in the > code, which is useful in a case of Tegra30 that has Cortex A9 CPU that > doesn't support integer

Re: [PATCH v2 5/5] MIPS: JZ4780: DTS: Add CPU nodes

2019-10-01 Thread Paul Burton
Hi Alexandre, On Tue, Oct 01, 2019 at 09:09:48PM +0200, Alexandre GRIVEAUX wrote: > The JZ4780 have 2 core, adding to DT. > > Signed-off-by: Alexandre GRIVEAUX > --- > arch/mips/boot/dts/ingenic/jz4780.dtsi | 17 + > 1 file changed, 17 insertions(+) > > diff --git

Re: Many unexpected warnings with current sparse

2019-10-01 Thread Steve French
It may be related to the following sparse make warning: No rule to make target '/usr/include/x86_64-linux-gnu/bits/huge_val.h', needed by 'sparse-llvm.o' I don't see huge_val.h in the Ubuntu 19 version of libc6-dev Will send you the kernel config - but I am using the default one from the Ubuntu

Re: [PATCH v3 0/3] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2019-10-01 Thread Song Liu
On Fri, Sep 20, 2019 at 8:58 AM Eugene Syromiatnikov wrote: > > Hello. > > This is a small fix of a typo (or, more specifically, some remnant of > the old patch version spelling) in RWH_WRITE_LIFE_NOT_SET constant, > which is named as RWF_WRITE_LIFE_NOT_SET currently. Since the name > with "H"

Re: Many unexpected warnings with current sparse

2019-10-01 Thread Luc Van Oostenryck
On Tue, Oct 01, 2019 at 11:28:16AM -0500, Steve French wrote: > Updated sparse to get rid of some unneeded kernel sparse check > warnings but now get many more > > I get 100s of warnings similar to > > ./include/linux/quota.h:114:17: error: Expected ( after asm > ./include/linux/quota.h:114:17:

Re: [PATCH] md/raid0: Fix an error message in raid0_make_request()

2019-10-01 Thread Song Liu
On Fri, Sep 20, 2019 at 11:00 PM Dan Carpenter wrote: > > The first argument to WARN() is supposed to be a condition. The > original code will just print the mdname() instead of the full warning > message. > > Fixes: c84a1372df92 ("md/raid0: avoid RAID0 data corruption due to layout >

[PATCH] ARM: dts: rockchip: Use interpolated brightness tables for veyron

2019-10-01 Thread Matthias Kaehlcke
Use interpolated brightness tables (added by commit 573fe6d1c25 ("backlight: pwm_bl: Linear interpolation between brightness-levels") for veyron, instead of specifying every single step. Another option would be to switch to a perceptual brightness curve (CIE 1931), with the caveat that it would

Re: [PATCH 3/3] PCI: pciehp: Add dmi table for in-band presence disabled

2019-10-01 Thread Stuart Hayes
On Tue, Oct 1, 2019 at 4:36 PM Alex G. wrote: > > > > On 10/1/19 4:14 PM, Stuart Hayes wrote: > > Some systems have in-band presence detection disabled for hot-plug PCI > > slots, > > but do not report this in the slot capabilities 2 (SLTCAP2) register. On > > these systems, presence detect can

Re: [PATCH bpf 0/2] selftests/bpf: test_progs: don't leak fd in bpf

2019-10-01 Thread Daniel Borkmann
On Tue, Oct 01, 2019 at 10:37:26AM -0700, Brian Vazquez wrote: > This patch series fixes some fd leaks in tcp_rtt and > test_sockopt_inherit bpf prof_tests. > > Brian Vazquez (2): > selftests/bpf: test_progs: don't leak server_fd in tcp_rtt > selftests/bpf: test_progs: don't leak server_fd in

RE: [PATCH 5.2 02/45] smb3: fix unmount hang in open_shroot

2019-10-01 Thread Pavel Shilovskiy
-Original Message- From: Sasha Levin Sent: Tuesday, October 1, 2019 3:49 PM > On Tue, Oct 01, 2019 at 08:41:43PM +, Pavel Shilovskiy wrote: > >Hi Greg, > > > >Are you going to apply this patch to the 5.3.y stable kernel? The patch is > >applicable there too. > > I will, yes.

Re: [RFC][PATCH] sysctl: Remove the sysctl system call

2019-10-01 Thread Eric W. Biederman
Kees Cook writes: > On Tue, Oct 01, 2019 at 01:36:32PM -0500, Eric W. Biederman wrote: >> >> This system call has been deprecated almost since it was introduced, and >> in a survey of the linux distributions I can no longer find any of them >> that enable CONFIG_SYSCTL_SYSCALL. The only

[PATCH 3/7] irqchip/irq-bcm2835: Add support for 7211 interrupt controller

2019-10-01 Thread Florian Fainelli
BCM7211 has a number of similarities with BCM2836, except the register offsets are different and the bank bits are also different, account for all of these differences. Signed-off-by: Florian Fainelli --- drivers/irqchip/irq-bcm2835.c | 86 +-- 1 file changed, 72

[PATCH 7/7] irqchip/irq-bcm283x: Add registration prints

2019-10-01 Thread Florian Fainelli
With many different kind of interrupt controllers available and used on 7211, add prints to help determine which ones are registered. Signed-off-by: Florian Fainelli --- drivers/irqchip/irq-bcm2835.c | 9 + drivers/irqchip/irq-bcm2836.c | 2 ++ 2 files changed, 11 insertions(+) diff

[PATCH 6/7] irqchip: Build BCM283X_IRQ for ARCH_BRCMSTB

2019-10-01 Thread Florian Fainelli
Now that irq-bcm2835.c and irq-bcm2836.c have been updated to support BCM7211 which is under ARCH_BRCMSTB, build both drivers for ARCH_BRCMSTB. Signed-off-by: Florian Fainelli --- drivers/irqchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/Kconfig

[PATCH 4/7] dt-bindings: interrupt-controller: Add brcm,bcm7211-l1-intc binding

2019-10-01 Thread Florian Fainelli
BCM7211 uses a very similar root interrupt controller than what exists on BCM2836, define a specific compatible string to key off specific behavior. Signed-off-by: Florian Fainelli --- .../bindings/interrupt-controller/brcm,bcm2836-l1-intc.txt| 4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH 5.2 02/45] smb3: fix unmount hang in open_shroot

2019-10-01 Thread Sasha Levin
On Tue, Oct 01, 2019 at 08:41:43PM +, Pavel Shilovskiy wrote: Hi Greg, Are you going to apply this patch to the 5.3.y stable kernel? The patch is applicable there too. I will, yes. -- Thanks, Sasha

[PATCH 5/7] irqchip/irq-bcm2836: Add support for the 7211 interrupt controller

2019-10-01 Thread Florian Fainelli
The root interrupt controller on 7211 is about identical to the one existing on BCM2836, except that the SMP cross call are done through the standard ARM GIC-400 interrupt controller. This interrupt controller is used for side band wake-up signals though. Signed-off-by: Florian Fainelli ---

[PATCH 0/7] irqchip/irq-bcm283x update for BCM7211

2019-10-01 Thread Florian Fainelli
Hi Marc, Jason, Thomas, This patch series updates the BCM2835 and BCM2836 interrupt controller drivers to support BCM7211 which can make use of those drivers in some configurations where the ARM GIC is muxed out and the legacy ARM interrupt controller is used instead. Thank you! Florian

[PATCH 1/7] irqchip: Introduce Kconfig symbol to build irq-bcm283x.c

2019-10-01 Thread Florian Fainelli
Both irq-bcm2835.c and irq-bcm2836.c are currently used with ARCH_BCM2835 but are soon going to be used with ARCH_BRCMSTB, introduce a Kconfig symbol to make that those drivers selected/built by other platforms. Signed-off-by: Florian Fainelli --- drivers/irqchip/Kconfig | 5 +

[PATCH 2/7] dt-bindings: interrupt-controller: Add brcm,bcm7211-armctrl-ic binding

2019-10-01 Thread Florian Fainelli
BCM7211 features a second level interrupt controller similar in nature to BCM2836, with a few modifications to the register offsets, document that specific compatible string. Signed-off-by: Florian Fainelli --- .../interrupt-controller/brcm,bcm2835-armctrl-ic.txt| 6 -- 1 file

  1   2   3   4   5   6   7   8   9   10   >