Re: [PATCH] powerpc/pseries: Remove confusing warning message.

2019-10-01 Thread Stephen Rothwell
Hi Laurent, On Tue, 1 Oct 2019 15:29:28 +0200 Laurent Dufour wrote: > > Fixes: 1211ee61b4a8 ("powerpc/pseries: Read TLB Block Invalidate > Characteristics") > Reported-by: Stephen Rothwell Please use my external email address , thanks. -- Cheers, Stephen Rothwell pgpu_iF55Ewhm.pgp Descrip

Re: [PATCH 5.4-rc1 BUILD FIX] s390: mark __cpacf_query() as __always_inline

2019-10-01 Thread Heiko Carstens
On Wed, Oct 02, 2019 at 08:46:05AM +0200, Heiko Carstens wrote: > On Tue, Oct 01, 2019 at 10:08:01PM +0200, Jiri Kosina wrote: > > I am wondering how is it possible that none of the build-testing > > infrastructure we have running against linux-next caught this? Not enough > > non-x86 coverage? >

Re: [PATCH 5.4-rc1 BUILD FIX] s390: mark __cpacf_query() as __always_inline

2019-10-01 Thread Heiko Carstens
On Tue, Oct 01, 2019 at 10:08:01PM +0200, Jiri Kosina wrote: > arch/s390/kvm/kvm-s390.c calls on several places __cpacf_query() directly, > which makes it impossible to meet the "i" constraint for the asm operands > (opcode in this case). > > As we are now force-enabling CONFIG_OPTIMIZE_INLINING

Re: [PATCH v3 04/10] sched/fair: rework load_balance

2019-10-01 Thread Vincent Guittot
On Tue, 1 Oct 2019 at 18:53, Dietmar Eggemann wrote: > > On 01/10/2019 10:14, Vincent Guittot wrote: > > On Mon, 30 Sep 2019 at 18:24, Dietmar Eggemann > > wrote: > >> > >> Hi Vincent, > >> > >> On 19/09/2019 09:33, Vincent Guittot wrote: > > [...] > > >>> @@ -7347,7 +7362,7 @@ static int detach

Re: [PATCH 5.4-rc1 BUILD FIX] s390: mark __cpacf_query() as __always_inline

2019-10-01 Thread Christian Borntraeger
On 01.10.19 22:08, Jiri Kosina wrote: > arch/s390/kvm/kvm-s390.c calls on several places __cpacf_query() directly, > which makes it impossible to meet the "i" constraint for the asm operands > (opcode in this case). > > As we are now force-enabling CONFIG_OPTIMIZE_INLINING on all > architectu

Re: [PATCH v3 03/10] sched/fair: remove meaningless imbalance calculation

2019-10-01 Thread Vincent Guittot
On Tue, 1 Oct 2019 at 19:12, Valentin Schneider wrote: > > On 19/09/2019 08:33, Vincent Guittot wrote: > > clean up load_balance and remove meaningless calculation and fields before > > adding new algorithm. > > > > Signed-off-by: Vincent Guittot > > We'll probably want to squash the removal of f

Re: [PATCH 2/9] perf/core: Add PERF_SAMPLE_CGROUP feature

2019-10-01 Thread Namhyung Kim
Hi Tejun, Sorry for the late reply. On Sat, Sep 21, 2019 at 6:04 AM Tejun Heo wrote: > > On Fri, Sep 20, 2019 at 05:47:45PM +0900, Namhyung Kim wrote: > > Thanks for the sharing information! For 32-bit, while the ino itself is not > > monotonic, gen << 32 + ino is monotonic right? I think we c

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

2019-10-01 Thread Atish Patra
On Wed, 2019-10-02 at 09:53 +0800, Alan Kao wrote: > 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

Re: [PATCH 1/2] i2c: slave-eeprom: initialize empty eeprom properly

2019-10-01 Thread Bjorn Ardo
Hi, I sent in another patch earlier that added support for specifying a file in devicetree to initilize the eeprom from, corresponding to the case of pre-flashed eeprom. Maybe these two patches should be merged so this initialization is only done if no file is specified? /BA On 10/1/19 6:

[PATCH 2/2] dt-bindings: peci: aspeed: Add AST2600 compatible

2019-10-01 Thread Chia-Wei, Wang
Document the AST2600 PECI controller compatible string. Signed-off-by: Chia-Wei, Wang --- Documentation/devicetree/bindings/peci/peci-aspeed.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/peci/peci-aspeed.txt b/Documentation/devicetree/bindings/peci/pe

[PATCH 0/2] peci: aspeed: Add AST2600 compatible

2019-10-01 Thread Chia-Wei, Wang
Update the Aspeed PECI driver with the AST2600 compatible string. A new comptabile string is needed for the extended HW feature of AST2600. Chia-Wei, Wang (2): peci: aspeed: Add AST2600 compatible string dt-bindings: peci: aspeed: Add AST2600 compatible Documentation/devicetree/bindings/peci

[PATCH 1/2] peci: aspeed: Add AST2600 compatible string

2019-10-01 Thread Chia-Wei, Wang
The AST2600 SoC contains the same register set as AST25xx. Signed-off-by: Chia-Wei, Wang --- drivers/peci/peci-aspeed.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/peci/peci-aspeed.c b/drivers/peci/peci-aspeed.c index 51cb2563ceb6..4eed119dc83b 100644 --- a/drivers/peci/peci-aspe

Re: [PATCH] can: gs_usb: prevent memory leak

2019-10-01 Thread Marc Kleine-Budde
On 9/20/19 4:44 AM, Navid Emamdoost wrote: > In gs_can_open if usb_submit_urb fails the allocated urb should be > released. > > Signed-off-by: Navid Emamdoost > --- > drivers/net/can/usb/gs_usb.c | 1 + > 1 file changed, 1 insertion(+) Added Fixes line and added stable@v.k.o on Cc. Marc -- P

Re: [PATCH][next] can: fix resource leak of skb on error return paths

2019-10-01 Thread Marc Kleine-Budde
On 9/18/19 12:11 PM, Colin King wrote: > From: Colin Ian King > > Currently the error return paths do not free skb and this results > in a memory leak. Fix this by freeing them before the return. > > Addresses-Coverity: ("Resource leak") > Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 prot

[PATCH v2 0/2] KASAN support for RISC-V

2019-10-01 Thread Nick Hu
KASAN is an important runtime memory debugging feature in linux kernel which can detect use-after-free and out-of- bounds problems. Changes in v2: - Remove the porting of memmove and exclude the check instead. - Fix some code noted by Christoph Hellwig Nick Hu (2): kasan: Archs don't check

[PATCH v2 1/2] kasan: Archs don't check memmove if not support it.

2019-10-01 Thread Nick Hu
Skip the memmove checking for those archs who don't support it. Signed-off-by: Nick Hu --- mm/kasan/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/kasan/common.c b/mm/kasan/common.c index 6814d6d6a023..897f9520bab3 100644 --- a/mm/kasan/common.c +++ b/mm/kasan/common.c @@ -107

[PATCH v2 2/2] riscv: Add KASAN support

2019-10-01 Thread Nick Hu
This patch ports the feature Kernel Address SANitizer (KASAN). Note: The start address of shadow memory is at the beginning of kernel space, which is 2^64 - (2^39 / 2) in SV39. The size of the kernel space is 2^38 bytes so the size of shadow memory should be 2^38 / 8. Thus, the shadow memory would

Re: [PATCH] clk: sunxi-ng: h6: Allow GPU to change parent rate

2019-10-01 Thread Maxime Ripard
Hi, On Tue, Oct 01, 2019 at 10:06:56PM +0200, Jernej Skrabec wrote: > GPU PLL was designed with dynamic frequency switching in mind so driver > can adjust rate based on the GPU load. > > Allow GPU clock to change parent rate (GPU PLL is the only possible > parent of GPU clock). > > Signed-off-by:

[PATCH v3 1/4] dt-bindings: memory-controllers: Add Exynos5422 DMC interrupts description

2019-10-01 Thread Lukasz Luba
Add description for optional interrupt lines. It provides a new operation mode, which uses internal performance counters interrupt when overflow. This is more reliable than using default polling mode implemented in devfreq. Signed-off-by: Lukasz Luba --- .../bindings/memory-controllers/exynos542

[PATCH v3 3/4] ARM: dts: exynos: map 0x10000 SFR instead of 0x100 in DMC Exynos5422

2019-10-01 Thread Lukasz Luba
There is a need to access registers at address offset near 0x1. These registers are private DMC performance counters, which might be used as interrupt trigger when overflow. Potential usage is to skip polling in devfreq framework and switch to interrupt managed bandwidth control. Signed-off-by

[PATCH v3 4/4] memory: samsung: exynos5422-dmc: Add support for interrupt from performance counters

2019-10-01 Thread Lukasz Luba
Introduce a new interrupt driven mechanism for managing speed of the memory controller. The interrupts are generated due to performance counters overflow. The performance counters might track memory reads, writes, transfers, page misses, etc. In the basic algorithm tracking read transfers and calcu

[PATCH v3 2/4] ARM: dts: exynos: Add interrupt to DMC controller in Exynos5422

2019-10-01 Thread Lukasz Luba
Add interrupt to Dynamic Memory Controller in Exynos5422 and Odroid XU3-family boards. It will be used instead of devfreq polling mode governor. The interrupt is connected to performance counters private for DMC, which might track utilisation of the memory channels. Signed-off-by: Lukasz Luba ---

[PATCH v3 0/4] Exynos5 DMC interrupt mode

2019-10-01 Thread Lukasz Luba
Hi all, This is a v3 patch set for the Exynos5 Dynamic Memory Controller driver which could be found in Krzysztof's for-next branch [1]. It adds interrupt mode which does not relay on devfreq polling. Instead of checking the device state by the framework, driver uses local performance event count

Re: [PATCH v13 0/8] Exynos5 Dynamic Memory Controller driver

2019-10-01 Thread Lukasz Luba
On 10/1/19 9:29 PM, Krzysztof Kozlowski wrote: > On Wed, Aug 21, 2019 at 12:42:55PM +0200, Lukasz Luba wrote: >> Hi all, >> >> This is v13 which makes cosmetic changes. It is based on current mainline >> (v5.3-rc5) with with devfreq/for-next where there is a PPMU patch [1]. >> >> The patch set ad

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 ) >>> * ad

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 = &pdev->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 d

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 ca

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 correctnes

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 correctnes

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 correctnes

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 moving

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 e655

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 ee14

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 ca

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 e606.pin-controller:

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)

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 Gra

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 panic

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 -- https://patchwo

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] https://patchwork.kernel.org/cover/10

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. > Neverth

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 mec

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 mec

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 5.2

[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 a/arch/arm64/boot/dts/

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 o

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 pres

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, " > test_sockopt_

[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: conve

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 memory.{low,mi

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 kmem.slabinf

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 seein

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 rv6

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 ind

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 > Tested

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'

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) { >> si

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: > > > > > > > > But

[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 1006

[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(+) create

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 selfte

[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: 0010:tiocm

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 eac

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 RWF_WRITE_LIFE_NOT_

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 copy

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 Pessi

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 m

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 ua

[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 n

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'

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 ACPI_HMAT_MEMOR

[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 in

[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'

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 a

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 po

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 conf

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 at

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: Dmitr

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 > --- > d

[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 wou

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 pro

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: i3

  1   2   3   4   5   6   7   8   9   10   >