Re: INFO: task hung in corrupted (2)

2020-06-04 Thread Jiri Kosina
On Tue, 2 Jun 2020, Andrey Konovalov wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:b0c3ba31 Merge tag 'fsnotify_for_v5.7-rc8' of git://git.ke.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=14089eee10 > > ker

Re: [PATCH 01/10] x86/mm/numa: Remove uninitialized_var() usage

2020-06-04 Thread Miguel Ojeda
On Thu, Jun 4, 2020 at 9:58 AM Thomas Gleixner wrote: > > but if we ever lose the 1 then the above will silently compile the code > within the IS_ENABLED() section out. Yeah, I believe `IS_ENABLED()` is only meant for Kconfig symbols, not macro defs in general. A better option would be `__is_defi

Re: [PATCH 01/10] rcu: Directly lock rdp->nocb_lock on nocb code entrypoints

2020-06-04 Thread Frederic Weisbecker
On Fri, May 22, 2020 at 10:57:39AM -0700, Paul E. McKenney wrote: > On Wed, May 20, 2020 at 08:29:49AM -0400, Joel Fernandes wrote: > > Reviewed-by: Joel Fernandes (Google) > > Thank you for looking this over, Joel! > > Is it feasible to make rcu_nocb_lock*() and rcu_nocb_unlock*() "do the > rig

Re: [PATCH] pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken

2020-06-04 Thread Julia Lawall
On Thu, 4 Jun 2020, Joe Perches wrote: > On Thu, 2020-06-04 at 12:33 +0200, Julia Lawall wrote: > > > > On Thu, 4 Jun 2020, Joe Perches wrote: > > > > > On Thu, 2020-06-04 at 11:52 +0200, Julia Lawall wrote: > > > > Should Fixes also be used when the change will make it hard to port > > > > ot

io_wq_work task_pid is nonsense

2020-06-04 Thread Eric W. Biederman
I was looking at something else and I happened to come across the task_pid field in struct io_wq_work. The field is initialized with task_pid_vnr. Then it is used for cancelling pending work. The only appropriate and safe use of task_pid_vnr is for sending a pid value to userspace and that is

[GIT PULL] sound updates for 5.8-rc1

2020-06-04 Thread Takashi Iwai
Linus, please pull sound updates for v5.8-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-5.8-rc1 The topmost commit is d9b8fbf15d05350b36081eddafcf7b15aa1add50 sound updates for 5.8-rc1 It

Re: [PATCH v3 31/75] x86/head/64: Install boot GDT

2020-06-04 Thread Joerg Roedel
On Mon, May 18, 2020 at 10:23:13AM +0200, Borislav Petkov wrote: > On Tue, Apr 28, 2020 at 05:16:41PM +0200, Joerg Roedel wrote: > > @@ -480,6 +500,22 @@ SYM_DATA_LOCAL(early_gdt_descr_base, .quad > > INIT_PER_CPU_VAR(gdt_page)) > > SYM_DATA(phys_base, .quad 0x0) > > EXPORT_SYMBOL(phys_base) >

Re: [Patch v2] lib: test get_count_order/long in test_bitops.c

2020-06-04 Thread Geert Uytterhoeven
Hi Wei, On Wed, Jun 3, 2020 at 1:11 AM Wei Yang wrote: > Add some test for get_count_order/long in test_bitops.c. > > Signed-off-by: Wei Yang Thanks for your patch, which is now commit 7851d6639caeea40 ("lib: test get_count_order/long in test_bitops.c") in linux-next. > --- a/lib/test_bitops.c

Re: [PATCH v3 0/2] usb: xhci: Load Raspberry Pi 4 VL805's firmware

2020-06-04 Thread Marek Vasut
On 6/4/20 1:18 PM, Nicolas Saenz Julienne wrote: > On Mon, 2020-06-01 at 17:27 +0200, Marek Vasut wrote: >> On 6/1/20 4:41 PM, Nicolas Saenz Julienne wrote: >>> On Mon, 2020-06-01 at 13:12 +0200, Marek Vasut wrote: On 6/1/20 1:09 PM, Nicolas Saenz Julienne wrote: > On Mon, 2020-06-01 at 12

Re: [PATCH v3 40/75] x86/sev-es: Compile early handler code into kernel image

2020-06-04 Thread Joerg Roedel
On Wed, May 20, 2020 at 11:14:15AM +0200, Borislav Petkov wrote: > On Tue, Apr 28, 2020 at 05:16:50PM +0200, Joerg Roedel wrote: > > +static inline u64 sev_es_rd_ghcb_msr(void) > > +{ > > + return native_read_msr(MSR_AMD64_SEV_ES_GHCB); > > +} > > + > > +static inline void sev_es_wr_ghcb_msr(u64

[PATCH v1] scsi: ufs: Add SPDX GPL-2.0 to replace GPL v2 boilerplate

2020-06-04 Thread Bean Huo
From: Bean Huo Add SPDX GPL-2.0 to replace GPL v2 boilerplate, and remove wrapper function ufshcd_setup_clocks() Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd-pltfrm.c | 26 +- drivers/scsi/ufs/ufshcd.c| 62 +++- drivers/scsi/ufs/ufshcd.h

Re: [PATCH v2 0/5] Statsfs: a new ram-based file sytem for Linux kernel statistics

2020-06-04 Thread Amit Kucheria
On Tue, May 5, 2020 at 3:07 AM David Rientjes wrote: > > On Mon, 4 May 2020, Emanuele Giuseppe Esposito wrote: > > > There is currently no common way for Linux kernel subsystems to expose > > statistics to userspace shared throughout the Linux kernel; subsystems > > have to take care of gathering

Re: linux-next: build failure on powerpc 8xx with 16k pages

2020-06-04 Thread Peter Zijlstra
On Thu, Jun 04, 2020 at 12:17:23PM +0100, Will Deacon wrote: > Hi, [+Peter] > > On Thu, Jun 04, 2020 at 10:48:03AM +, Christophe Leroy wrote: > > Using mpc885_ads_defconfig with CONFIG_PPC_16K_PAGES instead of > > CONFIG_PPC_4K_PAGES, getting the following build failure: > > > > CC mm/

Re: [PATCH v2] gpiolib: split character device into gpiolib-cdev

2020-06-04 Thread Bartosz Golaszewski
wt., 2 cze 2020 o 16:11 Kent Gibson napisał(a): > > Split the cdev specific functionality out of gpiolib.c and into > gpiolib-cdev.c. This improves the readability and maintainability of both > the cdev and core gpiolib code. > > Suggested-by: Bartosz Golaszewski > Signed-off-by: Kent Gibson > >

[PATCH v26 00/15] Multicolor Framework v25

2020-06-04 Thread Dan Murphy
Hello This is the multi color LED framework. This framework presents clustered colored LEDs into an array and allows the user space to adjust the brightness of the cluster using a single file write. The individual colored LEDs intensities are controlled via a single file that is an array of LED

RE: [PATCH v1] scsi: ufs: Add SPDX GPL-2.0 to replace GPL v2 boilerplate

2020-06-04 Thread Winkler, Tomas
> > From: Bean Huo > > Add SPDX GPL-2.0 to replace GPL v2 boilerplate, and remove wrapper > function ufshcd_setup_clocks() You don't do that in a single patch, please split. > > Signed-off-by: Bean Huo > --- > drivers/scsi/ufs/ufshcd-pltfrm.c | 26 +- > drivers/scsi/ufs/ufshcd.

[PATCH v26 00/15] Multicolor Framework v26

2020-06-04 Thread Dan Murphy
Hello This is the multi color LED framework. This framework presents clustered colored LEDs into an array and allows the user space to adjust the brightness of the cluster using a single file write. The individual colored LEDs intensities are controlled via a single file that is an array of LED

[PATCH v26 02/15] leds: Add multicolor ID to the color ID list

2020-06-04 Thread Dan Murphy
Add a new color ID that is declared as MULTICOLOR as with the multicolor framework declaring a definitive color is not accurate as the node can contain multiple colors. Signed-off-by: Dan Murphy --- drivers/leds/led-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/led-core

[PATCH v26 03/15] leds: multicolor: Introduce a multicolor class definition

2020-06-04 Thread Dan Murphy
Introduce a multicolor class that groups colored LEDs within a LED node. The multi color class groups monochrome LEDs and allows controlling two aspects of the final combined color: hue and lightness. The former is controlled via the intensity file and the latter is controlled via brightness file.

[PATCH v26 04/15] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-06-04 Thread Dan Murphy
Introduce the bindings for the Texas Instruments LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 RGB LED device driver. The LP5036/30/24/18/12/9 can control RGB LEDs individually or as part of a control bank group. These devices have the ability to adjust the mixing control for the RGB LEDs to o

[PATCH v26 06/15] dt-bindings: leds: Convert leds-lp55xx to yaml

2020-06-04 Thread Dan Murphy
Convert the leds-lp55xx.txt to yaml binding. Signed-off-by: Dan Murphy --- .../devicetree/bindings/leds/leds-lp55xx.txt | 228 -- .../devicetree/bindings/leds/leds-lp55xx.yaml | 220 + 2 files changed, 220 insertions(+), 228 deletions(-) delete mode 100644 Docum

[PATCH v26 07/15] ARM: dts: n900: Add reg property to the LP5523 channel node

2020-06-04 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy Acked-by: T

[PATCH v26 01/15] dt: bindings: Add multicolor class dt bindings documention

2020-06-04 Thread Dan Murphy
Add DT bindings for the LEDs multicolor class framework. Add multicolor ID to the color ID list for device tree bindings. CC: Rob Herring Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- .../bindings/leds/leds-class-multicolor.yaml | 39 +++ inc

[PATCH v26 05/15] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-06-04 Thread Dan Murphy
Introduce the LP5036/30/24/18/12/9 RGB LED driver. The difference in these parts are the number of LED outputs where the: LP5036 can control 36 LEDs LP5030 can control 30 LEDs LP5024 can control 24 LEDs LP5018 can control 18 LEDs LP5012 can control 12 LEDs LP5009 can control 9 LEDs The device has

[PATCH v26 09/15] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes

2020-06-04 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy CC: Linus W

Re: [PATCH v4 1/7] kcov: cleanup debug messages

2020-06-04 Thread Dmitry Vyukov
On Thu, Mar 26, 2020 at 3:44 PM Andrey Konovalov wrote: > > Previous commit left a lot of excessive debug messages, clean them up. > > Signed-off-by: Andrey Konovalov Reviewed-by: Dmitry Vyukov > --- > kernel/kcov.c | 22 ++ > 1 file changed, 2 insertions(+), 20 deletions(

Re: [PATCH v4 2/7] kcov: fix potential use-after-free in kcov_remote_start

2020-06-04 Thread Dmitry Vyukov
On Thu, Mar 26, 2020 at 3:44 PM Andrey Konovalov wrote: > > If vmalloc() fails in kcov_remote_start() we'll access remote->kcov > without holding kcov_remote_lock, so remote might potentially be freed > at that point. Cache kcov pointer in a local variable. > > Signed-off-by: Andrey Konovalov Re

[PATCH v26 15/15] leds: lp5523: Fix various formatting issues in the code

2020-06-04 Thread Dan Murphy
Fix checkpatch errors and warnings for the LP5523.c device driver. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5523.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/leds/leds-lp5523.c b/dr

[PATCH v26 14/15] leds: lp55xx: Fix file permissions to use DEVICE_ATTR macros

2020-06-04 Thread Dan Murphy
Fix the checkpatch warnings for the use of the file permission macros. In converting the file permissions to the DEVICE_ATTR_XX macros the call back function names needed to be updated within the code. This means that the lp55xx_ needed to be dropped in the name to keep in harmony with the ABI doc

[PATCH v26 13/15] leds: lp5521: Add multicolor framework multicolor brightness support

2020-06-04 Thread Dan Murphy
Add the multicolor brightness call back to support the multicolor framework. This function allows setting the brightness across grouped LED channels in a single call. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 1 + drivers/leds

[PATCH v26 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

2020-06-04 Thread Dan Murphy
Add multicolor framework support for the lp55xx family. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 1 + drivers/leds/leds-lp5521.c| 14 +- drivers/leds/leds-lp5523.c| 14 +- dri

Re: [RFC PATCH] gpio: uapi: v2 proposal

2020-06-04 Thread Bartosz Golaszewski
śr., 27 maj 2020 o 07:58 Linus Walleij napisał(a): > > On Mon, May 25, 2020 at 4:19 PM Kent Gibson wrote: > > > > > +struct gpioline_config { > > > > + __u8 default_values[GPIOLINES_MAX]; > > > > > > So 32 bytes > > > > > > > Actually that one is 64 bytes, which is the same as v1, i.e. GPIO

[PATCH v26 12/15] leds: lp5523: Update the lp5523 code to add multicolor brightness function

2020-06-04 Thread Dan Murphy
Add the multicolor brightness call back to support the multicolor framework. This call back allows setting brightness on grouped channels in a single function. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 1 + drivers/leds/leds

Re: [PATCH] leds: mt6360: Add LED driver for MT6360

2020-06-04 Thread Pavel Machek
Hi! > Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, > and 3-channel RGB LED support Register/Flash/Breath Mode > > Signed-off-by: Gene Chen > base-commit: 098c4adf249c198519a4abebe482b1e6b8c50e47 Does this need device tree binding, too? > +++ b/drivers/leds/leds-mt6

[PATCH v26 08/15] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node

2020-06-04 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Acked-by: Pavel Machek Signed-off-by:

[PATCH v26 10/15] leds: lp55xx: Convert LED class registration to devm_*

2020-06-04 Thread Dan Murphy
Convert the LED class registration calls to the LED devm_* registration calls. Acked-by: Jacek Anaszewski Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5521.c| 9 +++-- drivers/leds/leds-lp5523.c| 9 +++-- drivers/leds/leds-lp5562.c|

Re: [PATCH v3 42/75] x86/sev-es: Setup GHCB based boot #VC handler

2020-06-04 Thread Joerg Roedel
On Wed, May 20, 2020 at 09:22:30PM +0200, Borislav Petkov wrote: > On Tue, Apr 28, 2020 at 05:16:52PM +0200, Joerg Roedel wrote: > > diff --git a/arch/x86/include/asm/sev-es.h b/arch/x86/include/asm/sev-es.h > > index b2cbcd40b52e..e1ed963a57ec 100644 > > --- a/arch/x86/include/asm/sev-es.h > > +++

[PATCH] clk: qcom: ipq4019: fix apss cpu overclocking

2020-06-04 Thread Robert Marko
From: Christian Lamparter There's an interaction issue between the clk changes:" clk: qcom: ipq4019: Add the apss cpu pll divider clock node clk: qcom: ipq4019: remove fixed clocks and add pll clocks " and the cpufreq-dt. cpufreq-dt is now spamming the kernel-log with the following: [ 1099.1906

Re: [PATCH v4 3/7] kcov: move t->kcov assignments into kcov_start/stop

2020-06-04 Thread Dmitry Vyukov
On Thu, Mar 26, 2020 at 3:44 PM Andrey Konovalov wrote: > > Every time kcov_start/stop() is called, t->kcov is also assigned, so > move the assignment into the functions. > > Signed-off-by: Andrey Konovalov Reviewed-by: Dmitry Vyukov > --- > kernel/kcov.c | 16 +++- > 1 file chang

linux-next: Fixes tag needs some work in the scmi tree

2020-06-04 Thread Stephen Rothwell
Hi all, In commit 8a8cd9a91081 ("arm: dts: vexpress: Move mcc node back into motherboard node") Fixes tag Fixes: d9258898ad49 ("arm64: dts: arm: vexpress: Move fixed devices out of bus node") has these problem(s): - Subject does not match target commit subject Just use git

Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-06-04 Thread Vincent Guittot
On Wed, 3 Jun 2020 at 18:52, Qais Yousef wrote: > > On 06/03/20 16:59, Vincent Guittot wrote: > > When I want to stress the fast path i usually use "perf bench sched pipe -T > > " > > The tip/sched/core on my arm octo core gives the following results for > > 20 iterations of perf bench sched pipe

[GIT PULL] LEDs changes for v5.8-rc1

2020-06-04 Thread Pavel Machek
The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git/ tags/leds-5.8-rc1 for you to fetch changes up to 59ea3c9faf3235

Re: [PATCH v2] crypto: cavium/nitrox - Fix 'nitrox_get_first_device()' when ndevlist is fully iterated

2020-06-04 Thread Herbert Xu
On Sat, May 30, 2020 at 03:35:37PM +0200, Christophe JAILLET wrote: > When a list is completely iterated with 'list_for_each_entry(x, ...)', x is > not NULL at the end. > > While at it, remove a useless initialization of the ndev variable. It > is overridden by 'list_for_each_entry'. > > Fixes: f

[PATCH] yam: fix possible memory leak in yam_init_driver

2020-06-04 Thread Wang Hai
If register_netdev(dev) fails, free_netdev(dev) needs to be called, otherwise a memory leak will occur. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reported-by: Hulk Robot Signed-off-by: Wang Hai --- drivers/net/hamradio/yam.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/hamradi

Re: [Patch v2] lib: test get_count_order/long in test_bitops.c

2020-06-04 Thread Wei Yang
On Thu, Jun 04, 2020 at 01:50:13PM +0200, Geert Uytterhoeven wrote: >Hi Wei, > >On Wed, Jun 3, 2020 at 1:11 AM Wei Yang wrote: >> Add some test for get_count_order/long in test_bitops.c. >> >> Signed-off-by: Wei Yang > >Thanks for your patch, which is now commit 7851d6639caeea40 ("lib: >test get_

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

2020-06-04 Thread Sudeep Holla
On Thu, Jun 04, 2020 at 10:13:28PM +1000, Stephen Rothwell wrote: > Hi all, > > In commit > > 8a8cd9a91081 ("arm: dts: vexpress: Move mcc node back into motherboard > node") > > Fixes tag > > Fixes: d9258898ad49 ("arm64: dts: arm: vexpress: Move fixed devices out of > bus node") > Sorry

Re: general protection fault in start_creating

2020-06-04 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:cb8e59cc Merge git://git.kernel.org/pub/scm/linux/kernel/g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=170f49de10 kernel config: https://syzkaller.appspot.com/x/.config?x=a16ddbc

Re: [PATCH] pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken

2020-06-04 Thread Dan Carpenter
On Thu, Jun 04, 2020 at 01:42:12PM +0200, Julia Lawall wrote: > OK, I recall a discussion with Dan where he suggested that some things > that were not actually bug fixes could also merit a Fixes tag. But it's > probably better if he weighs in directly. I generally think Fixes should only be used

Re: [PATCH 3/3] spi: bcm2835: Enable shared interrupt support

2020-06-04 Thread Mark Brown
On Wed, Jun 03, 2020 at 08:46:55PM -0700, Florian Fainelli wrote: > The SPI controller found in the BCM2711 and BCM7211 SoCs is instantiated > 5 times, with all instances sharing the same interrupt line. We > specifically match the two compatible strings here to determine whether > it is necessary

[PATCH] ARM: at91: pm: add missing put_device() call in at91_pm_sram_init()

2020-06-04 Thread yu kuai
if of_find_device_by_node() succeed, at91_pm_sram_init() doesn't have a corresponding put_device(). Thus add a jump target to fix the exception handling for this function implementation. Fixes: d2e467905596 ("ARM: at91: pm: use the mmio-sram pool to access SRAM") Signed-off-by: yu kuai --- arch/

Re: [PATCH] v4l2-ctrl: add control for thumnails

2020-06-04 Thread Stanimir Varbanov
Hi Hans, On 6/4/20 12:08 PM, Hans Verkuil wrote: > On 04/06/2020 11:02, Stanimir Varbanov wrote: >> Hi Hans, >> >> On 5/27/20 12:53 AM, Stanimir Varbanov wrote: >>> Hi Hans, >>> >>> On 5/26/20 3:04 PM, Hans Verkuil wrote: On 26/05/2020 10:54, Stanimir Varbanov wrote: > Add v4l2 control fo

RE: [PATCH V2 2/3] firmware: imx: add resource management api

2020-06-04 Thread Peng Fan
> Subject: RE: [PATCH V2 2/3] firmware: imx: add resource management api > [...] > > +/* > > + * Copyright (C) 2016 Freescale Semiconductor, Inc. > > + * Copyright 2017-2020 NXP > > + * > > + * Header file containing the public API for the System Controller > > +(SC) > > + * Power Management (PM

[PATCH] iommu: fsl_pamu: use kzfree() in fsl_pamu_probe()

2020-06-04 Thread Denis Efremov
Use kzfree() instead of opencoded memset with 0 followed by kfree(). Null check is not required since kzfree() checks for NULL internally. Signed-off-by: Denis Efremov --- drivers/iommu/fsl_pamu.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/iommu/fsl_pamu.c b/

Re: [PATCH] iommu: Check for deferred attach in iommu_group_do_dma_attach()

2020-06-04 Thread kernel test robot
Hi Joerg, I love your patch! Yet something to improve: [auto build test ERROR on iommu/next] [also build test ERROR on next-20200604] [cannot apply to v5.7] [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 '-

[PATCH v3 2/3] media: stm32-dcmi: Set minimum cpufreq requirement

2020-06-04 Thread Benjamin Gaignard
Before start streaming set cpufreq minimum frequency requirement. The cpufreq governor will adapt the frequencies and we will have no latency for handling interrupts. The frequency requirement is retrieved from the device-tree node. While streaming be notified if the IRQ affinity change thanks to

[PATCH v3 0/3] DCMI set minimum cpufreq requirement

2020-06-04 Thread Benjamin Gaignard
This series allow to STM32 camera interface (DCMI) to require a minimum frequency to the CPUs before start streaming frames from the sensor. The minimum frequency requirement is provided in the devide-tree node. Setting a minimum frequency for the CPUs is needed to ensure a quick handling of the i

[PATCH v3 1/3] dt-bindings: media: stm32-dcmi: Add DCMI min frequency property

2020-06-04 Thread Benjamin Gaignard
Document st,stm32-dcmi-min-frequency property which is used to request CPUs minimum frequency when streaming frames. Signed-off-by: Benjamin Gaignard --- Documentation/devicetree/bindings/media/st,stm32-dcmi.yaml | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetre

[PATCH v3 3/3] ARM: dts: stm32: Set DCMI frequency requirement for stm32mp15x

2020-06-04 Thread Benjamin Gaignard
Make sure that CPUs will at least run at 650Mhz when streaming sensor frames. Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32mp151.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi index 3ea05ba48215..f6d7

Re: linux-next: fix ups for clashes between akpm and powerpc trees

2020-06-04 Thread Michael Ellerman
Stephen Rothwell writes: > Hi all, > > On Thu, 4 Jun 2020 16:52:46 +1000 Stephen Rothwell > wrote: >> >> diff --git a/arch/powerpc/mm/kasan/8xx.c b/arch/powerpc/mm/kasan/8xx.c >> index db4ef44af22f..569d98a41881 100644 >> --- a/arch/powerpc/mm/kasan/8xx.c >> +++ b/arch/powerpc/mm/kasan/8xx.c >>

[PATCH] ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()

2020-06-04 Thread yu kuai
if of_find_device_by_node() succeed, imx_suspend_alloc_ocram() doesn't have a corresponding put_device(). Thus add a jump target to fix the exception handling for this function implementation. Fixes: 1579c7b9fe01 ("ARM: imx53: Set DDR pins to high impedance when in suspend to RAM.") Signed-off-by

Re: linux-next: manual merge of the ipsec-next tree with Linus' tree

2020-06-04 Thread David Ahern
On 6/4/20 12:41 AM, Steffen Klassert wrote: > On Wed, Jun 03, 2020 at 08:55:01PM -0600, David Ahern wrote: >> On 6/3/20 7:26 PM, Stephen Rothwell wrote: >>> >>> And now the net-next tree has been merged into Linus' tree without this fix >>> :-( >>> >> >> I took a look earlier and I think it is fin

Re: [RFC PATCH] gpio: uapi: v2 proposal

2020-06-04 Thread Bartosz Golaszewski
sob., 16 maj 2020 o 08:45 Kent Gibson napisał(a): > > Add a new version of the uAPI to address existing 32/64bit alignment > issues, add support for debounce, and provide some future proofing by > adding padding reserved for future use. > > Signed-off-by: Kent Gibson > I'm a bit late to the part

Re: [GIT PULL] SELinux patches for v5.8

2020-06-04 Thread Stephen Smalley
On Wed, Jun 3, 2020 at 6:39 PM Casey Schaufler wrote: > > On 6/3/2020 3:12 PM, James Morris wrote: > > On Wed, 3 Jun 2020, Casey Schaufler wrote: > > > >> The use of security modules was expected to be rare. > > This is not correct. Capabilities were ported to LSM and stacked from the > > beginnin

Re: [PATCH v25 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-06-04 Thread Pavel Machek
On Tue 2020-06-02 15:44:32, Rob Herring wrote: > On Tue, Jun 2, 2020 at 2:04 PM Pavel Machek wrote: > > > > On Wed 2020-05-27 08:35:06, Rob Herring wrote: > > > On Wed, May 27, 2020 at 7:39 AM Pavel Machek wrote: > > > > > > > > Hi! > > > > > > > > Thanks for reviews! > > > > > > > > > > +additio

Re: [Patch v2] lib: test get_count_order/long in test_bitops.c

2020-06-04 Thread Geert Uytterhoeven
Hi Wei, On Thu, Jun 4, 2020 at 2:28 PM Wei Yang wrote: > On Thu, Jun 04, 2020 at 01:50:13PM +0200, Geert Uytterhoeven wrote: > >On Wed, Jun 3, 2020 at 1:11 AM Wei Yang wrote: > >> Add some test for get_count_order/long in test_bitops.c. > >> > >> Signed-off-by: Wei Yang > > > >Thanks for your p

Re: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes

2020-06-04 Thread Christian Brauner
On Wed, Jun 03, 2020 at 07:22:57PM -0700, Kees Cook wrote: > On Thu, Jun 04, 2020 at 03:24:52AM +0200, Christian Brauner wrote: > > On Tue, Jun 02, 2020 at 06:10:41PM -0700, Sargun Dhillon wrote: > > > Previously there were two chunks of code where the logic to receive file > > > descriptors was du

[PATCH] ARM: imx6: add missing put_device() call in imx6q_suspend_init()

2020-06-04 Thread yu kuai
if of_find_device_by_node() succeed, imx6q_suspend_init() doesn't have a corresponding put_device(). Thus add a jump target to fix the exception handling for this function implementation. Signed-off-by: yu kuai --- arch/arm/mach-imx/pm-imx6.c | 10 ++ 1 file changed, 6 insertions(+), 4 d

Re: [PATCH] module: make module symbols visible after init

2020-06-04 Thread chengjian (D)
Hi, Petr, Jessica and Miroslav Thank you for your reply On 2020/6/4 16:57, Petr Mladek wrote: On Wed 2020-06-03 14:12:00, Cheng Jian wrote: It is really handful that module symbols can be found already when the module is MODULE_STATE_COMING state. It is used by livepatching, ftrace, and maybe

[PATCH] w1: Use kzfree() in w1_master_release()

2020-06-04 Thread Denis Efremov
Use kzfree() instead of memset() with 0 followed by kfree(). The pointer is allocated in w1_alloc_dev(). Signed-off-by: Denis Efremov --- drivers/w1/w1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index e58c7592008d..24baacf8314c 10064

Re: [PATCH] v4l2-ctrl: add control for thumnails

2020-06-04 Thread Hans Verkuil
On 04/06/2020 14:34, Stanimir Varbanov wrote: > Hi Hans, > > On 6/4/20 12:08 PM, Hans Verkuil wrote: >> On 04/06/2020 11:02, Stanimir Varbanov wrote: >>> Hi Hans, >>> >>> On 5/27/20 12:53 AM, Stanimir Varbanov wrote: Hi Hans, On 5/26/20 3:04 PM, Hans Verkuil wrote: > On 26/05/20

Re: [PATCH] v4l2-ctrl: add control for thumnails

2020-06-04 Thread Tomasz Figa
On Thu, Jun 4, 2020 at 2:56 PM Hans Verkuil wrote: > > On 04/06/2020 14:34, Stanimir Varbanov wrote: > > Hi Hans, > > > > On 6/4/20 12:08 PM, Hans Verkuil wrote: > >> On 04/06/2020 11:02, Stanimir Varbanov wrote: > >>> Hi Hans, > >>> > >>> On 5/27/20 12:53 AM, Stanimir Varbanov wrote: > Hi Ha

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-04 Thread Sudeep Holla
On Thu, Jun 04, 2020 at 12:42:06PM +0200, Rafael J. Wysocki wrote: > On Thu, Jun 4, 2020 at 6:41 AM Viresh Kumar wrote: > > > > On 04-06-20, 09:32, Xiongfeng Wang wrote: > > > On 2020/6/3 21:39, Rafael J. Wysocki wrote: > > > > The frequency value obtained by kicking the CPU out of idle > > > > ar

[PATCH] scsi: storvsc: Use kzfree() in storvsc_suspend()

2020-06-04 Thread Denis Efremov
Use kzfree() instead of memset() with 0 followed by kfree(). Signed-off-by: Denis Efremov --- drivers/scsi/storvsc_drv.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 072ed8728657..e5a19cd8a450 100644 --- a/d

Re: [PATCH v4 4/7] kcov: move t->kcov_sequence assignment

2020-06-04 Thread Dmitry Vyukov
On Thu, Mar 26, 2020 at 3:44 PM Andrey Konovalov wrote: > > Move t->kcov_sequence assignment before assigning t->kcov_mode > for consistency. > > Signed-off-by: Andrey Konovalov Reviewed-by: Dmitry Vyukov > --- > kernel/kcov.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -

Re: [PATCH v4 5/7] kcov: use t->kcov_mode as enabled indicator

2020-06-04 Thread Dmitry Vyukov
On Thu, Mar 26, 2020 at 3:44 PM Andrey Konovalov wrote: > > Currently kcov_remote_start() and kcov_remote_stop() check t->kcov to > find out whether the coverage is already being collected by the > current task. Use t->kcov_mode for that instead. This doesn't change > the overall behavior in any w

[rcu:rcu/test] BUILD SUCCESS 825986b77e4306c8d88168d071ddc0051fbc4433

2020-06-04 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test branch HEAD: 825986b77e4306c8d88168d071ddc0051fbc4433 torture: Remove qemu dependency on EFI firmware elapsed time: 635m configs tested: 98 configs skipped: 1 The following configs have been built su

Re: WARNING in kvm_inject_emulated_page_fault

2020-06-04 Thread syzbot
syzbot has bisected this bug to: commit ee1fa209f5e5ca5c1e76c7aa1c2aab292f371f4a Author: Junaid Shahid Date: Fri Mar 20 21:28:03 2020 + KVM: x86: Sync SPTEs when injecting page/EPT fault into L1 bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=138f49de10 start commit:

[PATCH] ARM: socfpga: add missing put_device() call in socfpga_setup_ocram_self_refresh()

2020-06-04 Thread yu kuai
if of_find_device_by_node() succeed, socfpga_setup_ocram_self_refresh() doesn't have a corresponding put_device(). Thus add a jump target to fix the exception handling for this function implementation. Fixes: 44fd8c7d4005 ("ARM: socfpga: support suspend to ram") Signed-off-by: yu kuai --- arch/a

Re: [PATCH 08/10] rcu: Allow to deactivate nocb on a CPU

2020-06-04 Thread Frederic Weisbecker
On Tue, May 26, 2020 at 06:49:08PM -0400, Joel Fernandes wrote: > On Tue, May 26, 2020 at 05:20:17PM -0400, Joel Fernandes wrote: > > > > The switch happens on the target with IRQs disabled and rdp->nocb_lock > > > held to avoid races between local callbacks handling and kthread > > > offloaded c

Re: [PATCH v2 4.19] tcp: fix TCP socks unreleased in BBR mode

2020-06-04 Thread Eric Dumazet
On Thu, Jun 4, 2020 at 2:01 AM wrote: > > From: Jason Xing > > When using BBR mode, too many tcp socks cannot be released because of > duplicate use of the sock_hold() in the manner of tcp_internal_pacing() > when RTO happens. Therefore, this situation maddly increases the slab > memory and then

Re: [PATCH v2 1/5] perf/x86/rapl: move RAPL support to common x86 code

2020-06-04 Thread Johannes Hirte
On 2020 Jun 01, Stephane Eranian wrote: > On Mon, Jun 1, 2020 at 5:39 AM Johannes Hirte > wrote: > > > > On 2020 Mai 27, Stephane Eranian wrote: > > > > ... > > > diff --git a/arch/x86/events/Makefile b/arch/x86/events/Makefile > > > index 6f1d1fde8b2de..12c42eba77ec3 100644 > > > --- a/arch/x86/e

Re: [PATCH v4 6/7] kcov: collect coverage from interrupts

2020-06-04 Thread Dmitry Vyukov
On Thu, Mar 26, 2020 at 3:44 PM Andrey Konovalov wrote: > > This change extends kcov remote coverage support to allow collecting > coverage from soft interrupts in addition to kernel background threads. > > To collect coverage from code that is executed in softirq context, a > part of that code ha

Re: [PATCH v4 7/7] usb: core: kcov: collect coverage from usb complete callback

2020-06-04 Thread Dmitry Vyukov
On Thu, Mar 26, 2020 at 3:44 PM Andrey Konovalov wrote: > > This patch adds kcov_remote_start/stop() callbacks around the urb > complete() callback that is executed in softirq context when dummy_hcd > is in use. As the result, kcov can be used to collect coverage from those > callbacks, which is u

Re: [PATCH 1/1] psi: eliminate kthread_worker from psi trigger scheduling mechanism

2020-06-04 Thread Peter Zijlstra
On Thu, May 28, 2020 at 12:54:42PM -0700, Suren Baghdasaryan wrote: > Each psi group requires a dedicated kthread_delayed_work and > kthread_worker. Since no other work can be performed using psi_group's > kthread_worker, the same result can be obtained using a task_struct and > a timer directly. T

Re: [PATCH 08/10] rcu: Allow to deactivate nocb on a CPU

2020-06-04 Thread Frederic Weisbecker
On Tue, May 26, 2020 at 05:20:17PM -0400, Joel Fernandes wrote: > On Wed, May 13, 2020 at 06:47:12PM +0200, Frederic Weisbecker wrote: > > Allow a CPU's rdp to quit the callback offlined mode. > > nit: s/offlined/offloaded/ ? Oh, looks like I did that everywhere :) > > > The switch happens on t

Re: [PATCH 0/2] sched/isolation: Isolate unbound kthreads

2020-06-04 Thread Peter Zijlstra
On Wed, May 27, 2020 at 04:29:07PM +0200, Frederic Weisbecker wrote: > Kthreads are harder to affine and isolate than user tasks. They can't > be placed inside cgroups/cpusets and the affinity for any newly > created kthread is always overriden from the inherited kthreadd's > affinity to system wid

Re: [PATCH v1] dt-bindings: leds: fix macro names for pca955x

2020-06-04 Thread Pavel Machek
On Wed 2020-06-03 11:15:16, Flavio Suligoi wrote: > The documentation reports the wrong macro names > related to the pca9532 instead of the pca955x > > Signed-off-by: Flavio Suligoi > Acked-by: Rob Herring Thanks, applied.

Re: WARNING in kvm_inject_emulated_page_fault

2020-06-04 Thread Paolo Bonzini
On 04/06/20 12:53, Vitaly Kuznetsov wrote: > Exception we're trying to inject comes from > > nested_vmx_get_vmptr() > kvm_read_guest_virt() >kvm_read_guest_virt_helper() > vcpu->arch.walk_mmu->gva_to_gpa() > > but it seems it is only set if GVA to GPA convertion fails. In case it > do

[PATCH v6] drm/msm/dpu: ensure device suspend happens during PM sleep

2020-06-04 Thread Kalyan Thota
"The PM core always increments the runtime usage counter before calling the ->suspend() callback and decrements it after calling the ->resume() callback" DPU and DSI are managed as runtime devices. When suspend is triggered, PM core adds a refcount on all the devices and calls device suspend, sinc

Re: [PATCH v18 4/4] leds: multicolor: Introduce a multicolor class definition

2020-06-04 Thread Pavel Machek
Hi! > > > +Description: read > > > + Maximum intensity level for the LED color within the array. > > > + The max intensities for each color must be entered based on the > > > + color_index array. > > I wonder if we should mention here that each LED within a cluster shou

[PATCH ghak124 v3] audit: log nftables configuration change events

2020-06-04 Thread Richard Guy Briggs
iptables, ip6tables, arptables and ebtables table registration, replacement and unregistration configuration events are logged for the native (legacy) iptables setsockopt api, but not for the nftables netlink api which is used by the nft-variant of iptables in addition to nftables itself. Add call

Re: [PATCH 09/10] treewide: Remove uninitialized_var() usage

2020-06-04 Thread Jason Gunthorpe
On Wed, Jun 03, 2020 at 04:32:02PM -0700, Kees Cook wrote: > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings > (e.g. "unused variable"). If the compiler thinks it is uninitialized, > either simply initialize

Re: [patch V9 00/39] x86/entry: Rework leftovers (was part V)

2020-06-04 Thread Peter Zijlstra
On Wed, Jun 03, 2020 at 08:18:44PM +0100, Andrew Cooper wrote: > Well that didn't last long... > > The new ISE (rev 39, published today) introduces BUS LOCK DEBUG > EXCEPTION which is now a second inverted polarity sticky bit (bit 11) in > %dr6. > > This one is liable to get more traction than R

Re: [PATCH] leds: lm355x: avoid enum conversion warning

2020-06-04 Thread Pavel Machek
Hi! > > > - reg_val = pdata->pass_mode; > > > + reg_val = (u32)pdata->pass_mode; > > > > Is this cast needed? I don't think there should be warning from going > > from an enumerated type to unsigned int. > > This cast is not needed for warnings, I added it for consistency

RE: [PATCH v3 1/4] fs, net: Standardize on file_receive helper to move fds across processes

2020-06-04 Thread David Laight
From: Christian Brauner > Sent: 04 June 2020 13:52 .. > For scm you can fail somewhere in the middle of putting any number of > file descriptors so you're left in a state with only a subset of > requested file descriptors installed so it's not really useful there. > And if you manage to install an

Re: [PATCH v2] soc: samsung: Add simple voltage coupler for Exynos5800

2020-06-04 Thread Marek Szyprowski
Hi Dmitry, On 02.06.2020 17:15, Dmitry Osipenko wrote: > 02.06.2020 16:02, Marek Szyprowski пишет: >> Add a simple custom voltage regulator coupler for Exynos5800 SoCs, which >> require coupling between "vdd_arm" and "vdd_int" regulators. This coupler >> ensures that the voltage balancing for the

Re: [patch V9 00/39] x86/entry: Rework leftovers (was part V)

2020-06-04 Thread Paolo Bonzini
On 04/06/20 15:25, Peter Zijlstra wrote: > It being enabled through IA32_DEBUGCTL instead of through DR7 means that > the current code doesn't disable it and this then means we can have > nested #DB again. /me bangs head on door > Who sodding throught this was a good idea ?! What happened to #AC

[RFC V1] mmc: core: Add partial initialization support

2020-06-04 Thread Veerabhadrarao Badiganti
From: Maya Erez This change adds the ability to partially initialize the MMC card by using card Sleep/Awake sequence (CMD5). Card will be sent to Sleep state during runtime/system suspend and will be woken up during runtime/system resume. By using this sequence the card doesn't need full initiali

[PATCH] x86/asm: Unify __ASSEMBLY__ blocks

2020-06-04 Thread Borislav Petkov
From: Borislav Petkov Merge the two ifndef __ASSEMBLY__ blocks. No functional changes. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/asm.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/x86/include/asm/asm.h b/arch/x86/include/asm/asm.h index 0f63585e

Re: [PATCH 0/6] leds: fix broken devres usage

2020-06-04 Thread Pavel Machek
Hi! > Several MFD child drivers register their class devices directly under > the parent device (about half of the MFD LED drivers do so). > > This means you cannot blindly do devres conversions so that > deregistration ends up being tied to the parent device, something which > leads to use-after

<    1   2   3   4   5   6   7   8   9   10   >