Re: [PATCH 4.19 00/52] 4.19.179-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:21:31PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.179 release. > There are 52 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [PATCH 4.4 00/30] 4.4.260-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:22:29PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.260 release. > There are 30 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:22:07PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.260 release. > There are 41 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH 4.14 00/39] 4.14.224-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:21:59PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.224 release. > There are 39 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

[PATCH] iio: kfifo: mask flags without zero-check in devm_iio_kfifo_buffer_setup()

2021-03-06 Thread Alexandru Ardelean
As pointed by Lars, this doesn't require a zero-check. Also, while looking at this a little closer at it (again), the masking can be done later, as there is a zero-check for 'mode_flags' anyway, which returns -EINVAL. And we only need the 'mode_flags' later in the logic. This change is more of a t

Re: [PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:22:07PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.260 release. > There are 41 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH 4.4 00/30] 4.4.260-rc1 review

2021-03-06 Thread Guenter Roeck
On Fri, Mar 05, 2021 at 01:22:29PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.260 release. > There are 30 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH v5 02/15] gpio: regmap: set gpio_chip of_node

2021-03-06 Thread Andy Shevchenko
On Sat, Mar 6, 2021 at 5:57 PM Álvaro Fernández Rojas wrote: > > This is needed for properly registering GPIO regmap as a child of a regmap > pin controller. Thanks for an update! ... > chip->parent = config->parent; > + if (config->fwnode) This... > + chip->of_no

Re: [PATCH] xhci: Remove unused value len from xhci_unmap_temp_buf

2021-03-06 Thread Greg Kroah-Hartman
On Sat, Mar 06, 2021 at 08:06:44PM +0800, zhangkun...@163.com wrote: > From: Zhang Kun > > The value assigned to len by sg_pcopy_from_buffer() never used for > anything, so remove it. > > Signed-off-by: Zhang Kun > --- > drivers/usb/host/xhci.c | 3 +-- > 1 file changed, 1 insertion(+), 2 dele

[PATCH v4 0/3] xen/events: bug fixes and some diagnostic aids

2021-03-06 Thread Juergen Gross
Those are fixes for XSA-332. The rest of the V3 patches have been applied already. There is one additional fix in patch 2 which addresses network outages when a guest is doing reboot loops. Juergen Gross (3): xen/events: reset affinity of 2-level event when tearing it down xen/events: don't u

[PATCH v4 2/3] xen/events: don't unmask an event channel when an eoi is pending

2021-03-06 Thread Juergen Gross
An event channel should be kept masked when an eoi is pending for it. When being migrated to another cpu it might be unmasked, though. In order to avoid this keep three different flags for each event channel to be able to distinguish "normal" masking/unmasking from eoi related masking/unmasking an

[PATCH v4 1/3] xen/events: reset affinity of 2-level event when tearing it down

2021-03-06 Thread Juergen Gross
When creating a new event channel with 2-level events the affinity needs to be reset initially in order to avoid using an old affinity from earlier usage of the event channel port. So when tearing an event channel down reset all affinity bits. The same applies to the affinity when onlining a vcpu:

[PATCH v4 3/3] xen/events: avoid handling the same event on two cpus at the same time

2021-03-06 Thread Juergen Gross
When changing the cpu affinity of an event it can happen today that (with some unlucky timing) the same event will be handled on the old and the new cpu at the same time. Avoid that by adding an "event active" flag to the per-event data and call the handler only if this flag isn't set. Cc: sta...

Re: [PATCH v3 2/8] xen/events: don't unmask an event channel when an eoi is pending

2021-03-06 Thread Jürgen Groß
On 23.02.21 10:26, Ross Lagerwall wrote: On 2021-02-19 15:40, Juergen Gross wrote: An event channel should be kept masked when an eoi is pending for it. When being migrated to another cpu it might be unmasked, though. In order to avoid this keep three different flags for each event channel to b

Re: [PATCH 2/2 v2] usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()'

2021-03-06 Thread Krzysztof Kozlowski
On 06/03/2021 15:21, Christophe JAILLET wrote: > Some 'clk_prepare_enable()' and 'clk_get()' must be undone in the error > handling path of the probe function, as already done in the remove > function. > > Fixes: 3fc154b6b813 ("USB Gadget driver for Samsung s3c2410 ARM SoC") > Signed-off-by: Chris

Re: [PATCH v10 1/2] scsi: ufs: Enable power management for wlun

2021-03-06 Thread Alan Stern
On Fri, Mar 05, 2021 at 06:54:24PM -0800, Asutosh Das (asd) wrote: > Now during my testing I see a weird issue sometimes (1 in 7). > Scenario - bootups > > Issue: > The supplier 'ufs_device_wlun 0:0:0:49488' goes into runtime suspend even > when one/more of its consumers are in RPM_ACTIVE state.

Re: [PATCH 1/2 V2] usb: gadget: s3c: Fix incorrect resources releasing

2021-03-06 Thread Krzysztof Kozlowski
On 06/03/2021 15:21, Christophe JAILLET wrote: > Since commit 188db4435ac6 ("usb: gadget: s3c: use platform resources"), > 'request_mem_region()' and 'ioremap()' are no more used, so they don't need > to be undone in the error handling path of the probe and in the removre You ignored my comment ab

Re: [PATCH v3 2/2] tpm: in tpm2_del_space check if ops pointer is still valid

2021-03-06 Thread Lino Sanfilippo
Hi James, > On 05.02.21 01:34, James Bottomley wrote: >> The reporter went silent before we could get this tested, but could you >> try, please, because your patch is still hand rolling the ops get/put, >> just slightly better than it had been done previously. > > I tested your patch and it fixes

[PATCH v5 15/15] pinctrl: add a pincontrol driver for BCM6318

2021-03-06 Thread Álvaro Fernández Rojas
Add a pincontrol driver for BCM6318. BCM6318 allows muxing most GPIOs to different functions. BCM6318 is similar to BCM6328 with the addition of a pad register, and the GPIO meaning of the mux register changes based on the GPIO number. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Si

[PATCH v5 12/15] dt-bindings: add BCM63268 pincontroller binding documentation

2021-03-06 Thread Álvaro Fernández Rojas
Add binding documentation for the pincontrol core found in the BCM63268 family SoCs. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v5: change Documentation to dt-bindings in commit title v4: no changes v3: add new gpio node v2: remove in

[PATCH v5 11/15] pinctrl: add a pincontrol driver for BCM6368

2021-03-06 Thread Álvaro Fernández Rojas
Add a pincontrol driver for BCM6368. BCM6368 allows muxing the first 32 GPIOs onto alternative functions. Not all are documented. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v5: add changes suggested by Andy Shevchenko v4: no changes v3

[PATCH v5 14/15] dt-bindings: add BCM6318 pincontroller binding documentation

2021-03-06 Thread Álvaro Fernández Rojas
Add binding documentation for the pincontrol core found in BCM6318 SoCs. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v5: change Documentation to dt-bindings in commit title v4: no changes v3: add new gpio node v2: remove interrupts .

[PATCH v5 13/15] pinctrl: add a pincontrol driver for BCM63268

2021-03-06 Thread Álvaro Fernández Rojas
Add a pincontrol driver for BCM63268. BCM63268 allows muxing GPIOs to different functions. Depending on the mux, these are either single pin configurations or whole pin groups. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v5: add changes s

[PATCH v5 09/15] pinctrl: add a pincontrol driver for BCM6362

2021-03-06 Thread Álvaro Fernández Rojas
Add a pincotrol driver for BCM6362. BCM6362 allows muxing individual GPIO pins to the LED controller, to be available by the integrated wifi, or other functions. It also supports overlay groups, of which only NAND is documented. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Signed-of

[PATCH v5 10/15] dt-bindings: add BCM6368 pincontroller binding documentation

2021-03-06 Thread Álvaro Fernández Rojas
Add binding documentation for the pincontrol core found in BCM6368 SoCs. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v5: change Documentation to dt-bindings in commit title v4: no changes v3: add new gpio node v2: remove interrupts .

[PATCH v5 06/15] dt-bindings: add BCM6358 pincontroller binding documentation

2021-03-06 Thread Álvaro Fernández Rojas
Add binding documentation for the pincontrol core found in BCM6358 SoCs. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v5: change Documentation to dt-bindings in commit title v4: no changes v3: add new gpio node v2: remove interrupts .

[PATCH v5 08/15] dt-bindings: add BCM6362 pincontroller binding documentation

2021-03-06 Thread Álvaro Fernández Rojas
Add binding documentation for the pincontrol core found in BCM6362 SoCs. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v5: change Documentation to dt-bindings in commit title v4: no changes v3: add new gpio node v2: remove interrupts .

[PATCH v5 07/15] pinctrl: add a pincontrol driver for BCM6358

2021-03-06 Thread Álvaro Fernández Rojas
Add a pincotrol driver for BCM6358. BCM6358 allow overlaying different functions onto the GPIO pins. It does not support configuring individual pins but only whole groups. These groups may overlap, and still require the directions to be set correctly in the GPIO register. In addition the functions

[PATCH v5 04/15] dt-bindings: add BCM6328 pincontroller binding documentation

2021-03-06 Thread Álvaro Fernández Rojas
Add binding documentation for the pincontrol core found in BCM6328 SoCs. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v5: change Documentation to dt-bindings in commit title v4: no changes v3: add new gpio node v2: remove interrupts .

[PATCH v5 05/15] pinctrl: add a pincontrol driver for BCM6328

2021-03-06 Thread Álvaro Fernández Rojas
Add a pincontrol driver for BCM6328. BCM6328 supports muxing 32 pins as GPIOs, as LEDs for the integrated LED controller, or various other functions. Its pincontrol mux registers also control other aspects, like switching the second USB port between host and device mode. Signed-off-by: Jonas Gorsk

[PATCH v5 03/15] pinctrl: bcm: add bcm63xx base code

2021-03-06 Thread Álvaro Fernández Rojas
Add a helper for registering BCM63XX pin controllers. Signed-off-by: Jonas Gorski Co-developed-by: Jonas Gorski Signed-off-by: Álvaro Fernández Rojas --- v5: add changes suggested by Andy Shevchenko v4: drop IRQ selects from Kconfig and add missing of_node_put() v3: add new patch with shared

[PATCH v5 02/15] gpio: regmap: set gpio_chip of_node

2021-03-06 Thread Álvaro Fernández Rojas
This is needed for properly registering GPIO regmap as a child of a regmap pin controller. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Michael Walle --- v5: switch to fwnode v4: fix documentation v3: introduce patch needed for properly parsing gpio-range drivers/gpio/gpio-regmap.c |

[PATCH v5 01/15] gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP

2021-03-06 Thread Álvaro Fernández Rojas
The current code doesn't check if GPIOLIB_IRQCHIP is enabled, which results in a compilation error when trying to build gpio-regmap if CONFIG_GPIOLIB_IRQCHIP isn't enabled. Fixes: 6a45b0e2589f ("gpiolib: Introduce gpiochip_irqchip_add_domain()") Suggested-by: Michael Walle Signed-off-by: Álvaro F

[PATCH v5 00/15] pinctrl: add BCM63XX pincontrol support

2021-03-06 Thread Álvaro Fernández Rojas
First of all, I've based this on the patches sent by Jonas Gorski back in 2016: https://www.spinics.net/lists/linux-gpio/msg15983.html http://patchwork.ozlabs.org/project/linux-gpio/patch/1471604025-21575-2-git-send-email-jonas.gor...@gmail.com/ I've tried to address all coments from Linus Walleij

Re: [PATCH V3 XRT Alveo 17/18] fpga: xrt: partition isolation platform driver

2021-03-06 Thread Tom Rix
On 2/17/21 10:40 PM, Lizhi Hou wrote: > Add partition isolation platform driver. partition isolation is > a hardware function discovered by walking firmware metadata. > A platform device node will be created for it. Partition isolation > function isolate the different fpga regions > > Signed-off-

[PATCH] [.mailmap] Add entry for Ramkumar Ramachandra

2021-03-06 Thread Ramkumar Ramachandra
Signed-off-by: Ramkumar Ramachandra --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index 85b93cdefc87..78bff5f1e881 100644 --- a/.mailmap +++ b/.mailmap @@ -282,6 +282,7 @@ Rafael J. Wysocki Rajesh Shah Ralf Baechle Ralf Wildenhues +Ramkumar Ramachand

Re: [PATCH] fpga: xilinx-pr-decoupler: Simplify code by using dev_err_probe()

2021-03-06 Thread Moritz Fischer
On Thu, Feb 04, 2021 at 02:36:11PM +0100, Michal Simek wrote: > Use already prepared dev_err_probe() introduced by commit a787e5400a1c > ("driver core: add device probe log helper"). > It simplifies EPROBE_DEFER handling. > > Signed-off-by: Michal Simek > --- > > drivers/fpga/xilinx-pr-decouple

Re: [PATCH] fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER

2021-03-06 Thread Moritz Fischer
On Thu, Feb 04, 2021 at 01:13:13PM +0100, Luca Ceresoli wrote: > The current code produces an error message on devm_gpiod_get() errors even > when the error is -EPROBE_DEFER, which should be silent. > > This has been observed producing a significant amount of messages like: > > xlnx-slave-spi

Re: [PATCH V3 XRT Alveo 16/18] fpga: xrt: DDR calibration platform driver

2021-03-06 Thread Tom Rix
On 2/17/21 10:40 PM, Lizhi Hou wrote: > Add DDR calibration driver. DDR calibration is a hardware function > discovered by walking firmware metadata. A platform device node will > be created for it. Hardware provides DDR calibration status through > this function. > > Signed-off-by: Sonal Santan

Re: [PATCH V3 XRT Alveo 15/18] fpga: xrt: clock frequence counter platform driver

2021-03-06 Thread Tom Rix
On 2/17/21 10:40 PM, Lizhi Hou wrote: > Add clock frequence counter driver. Clock frequence counter is > a hardware function discovered by walking xclbin metadata. A platform > device node will be created for it. Other part of driver can read the > actual clock frequence through clock frequence c

Re: [RFC v3] scripts: kernel-doc: fix typedef support for struct/union parsing

2021-03-06 Thread Matthew Wilcox
On Sat, Mar 06, 2021 at 01:18:38PM +0530, Aditya wrote: > On 6/3/21 11:55 am, Lukas Bulwahn wrote: > > I agree. That might be a suitable clean-up to keep the code for > > functions and struct/union parsing similar in style/spirit. > > > > Aditya, would you like to create a patch for that? > > Sur

Re:

2021-03-06 Thread Ms Ross
I'm the above named person Ms. Siena Ross, It is the situation of things surrounding me has made me to cry to you because I never knew things would turn this way after a painful death of my beloved husband during the Italian corona virus and I became sick since and very unwell up to the dates so do

Re: [PATCH v1 2/2] iio: adc: add ADC driver for the TI TSC2046 controller

2021-03-06 Thread Jonathan Cameron
On Sat, 6 Mar 2021 14:28:52 +0100 Oleksij Rempel wrote: > On Fri, Mar 05, 2021 at 07:02:39PM +, Jonathan Cameron wrote: > > On Fri, 5 Mar 2021 14:38:13 +0100 > > Oleksij Rempel wrote: > > > > > Basically the TI TSC2046 touchscreen controller is 8 channel ADC > > > optimized for > > > the

[GIT PULL] perf tools fixes for v5.12

2021-03-06 Thread Arnaldo Carvalho de Melo
Hi Linus, Please consider pulling, Best regards, - Arnaldo Test results at the end of this message. The following changes since commit 7a7fd0de4a9804299793e564a555a49c1fc924cb: Merge branch 'kmap-conversion-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux (202

Re: [PATCH v1 3/4] IIO: acpi-als: Get rid of ACPICA message printing

2021-03-06 Thread Jonathan Cameron
On Fri, 05 Mar 2021 19:42:29 +0100 "Rafael J. Wysocki" wrote: > From: Rafael J. Wysocki > > Use acpi_evaluation_failure_warn() introduced previously instead of > the ACPICA-specific ACPI_EXCEPTION() macro to log warning messages > regarding ACPI object evaluation failures and drop the > ACPI_MO

[PATCH] ti: wlcore: fix error return code of wl1271_suspend()

2021-03-06 Thread Jia-Ju Bai
When wl is NULL, no error return code of wl1271_suspend() is assigned. To fix this bug, ret is assigned with -EINVAL in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/net/wireless/ti/wlcore/sdio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless

Re: [PATCH] net: mellanox: mlxsw: fix error return code of mlxsw_sp_router_nve_promote_decap()

2021-03-06 Thread Heiner Kallweit
On 06.03.2021 15:07, Jia-Ju Bai wrote: > When fib_entry is NULL, no error return code of > mlxsw_sp_router_nve_promote_decap() is assigned. > To fix this bug, err is assigned with -EINVAL in this case. > Again, are you sure this is a bug? To me it looks like it is intentional to not return an erro

Re: [PATCH][RFC] perf annotate: show full line locations with 'k' in UI

2021-03-06 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 15, 2021 at 01:34:29PM +0100, Martin Liška escreveu: > On 2/12/21 9:34 PM, Arnaldo Carvalho de Melo wrote: > > Another idea is to, when requested, reserve one line at the bottom to > > show what is the source codefile:line for where the TUI cursor is, i.e. > > you press down/up and the

[PATCH] media: tuners: fix error return code of hybrid_tuner_request_state()

2021-03-06 Thread Jia-Ju Bai
When kzalloc() fails and state is NULL, no error return code is assigned. To fix this bug, __ret is assigned with -ENOMEM in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/media/tuners/tuner-i2c.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/d

[PATCH 2/2 v2] usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()'

2021-03-06 Thread Christophe JAILLET
Some 'clk_prepare_enable()' and 'clk_get()' must be undone in the error handling path of the probe function, as already done in the remove function. Fixes: 3fc154b6b813 ("USB Gadget driver for Samsung s3c2410 ARM SoC") Signed-off-by: Christophe JAILLET --- v2: Fix a stupid error in the hash in Fi

[PATCH 1/2 V2] usb: gadget: s3c: Fix incorrect resources releasing

2021-03-06 Thread Christophe JAILLET
Since commit 188db4435ac6 ("usb: gadget: s3c: use platform resources"), 'request_mem_region()' and 'ioremap()' are no more used, so they don't need to be undone in the error handling path of the probe and in the removre function. Remove these calls and the unneeded 'rsrc_start' and 'rsrc_len' glob

[PATCH] staging: ralink-gdma: Check return code of device_reset

2021-03-06 Thread Giovanni Gherdovich
The device_reset() function is marked as "__must_check", thus the static analysis tool "sparse" complains that in ralink-gdma its return value is ignored. Log a warning in case it returns an error. Signed-off-by: Giovanni Gherdovich --- drivers/staging/ralink-gdma/ralink-gdma.c | 4 +++- 1 file

[PATCH] media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()

2021-03-06 Thread Jia-Ju Bai
When sun6i_video_remote_subdev() returns NULL to subdev, no error return code of sun6i_video_start_streaming() is assigned. To fix this bug, ret is assigned with -EINVAL in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c | 4

[PATCH] thermal: thermal_of: fix error return code of thermal_of_populate_bind_params()

2021-03-06 Thread Jia-Ju Bai
When kcalloc() fails and __tcbp is NULL, no error return code of thermal_of_populate_bind_params() is assigned. To fix this bug, ret is assigned with -ENOMEM in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/thermal/thermal_of.c | 4 +++- 1 file changed, 3 insertions(+

Re: [PATCH v2 RESEND] coccinelle: misc: add minmax script

2021-03-06 Thread Julia Lawall
On Fri, 19 Feb 2021, Denis Efremov wrote: > Check for opencoded min(), max() implementations. > > Signed-off-by: Denis Efremov > --- > > Changes in v2: > - <... ...> instead of ... when any > - org mode reports fixed > - patch rule to drop excessive () > > scripts/coccinelle/misc/minmax.co

[PATCH] net: mellanox: mlxsw: fix error return code of mlxsw_sp_router_nve_promote_decap()

2021-03-06 Thread Jia-Ju Bai
When fib_entry is NULL, no error return code of mlxsw_sp_router_nve_promote_decap() is assigned. To fix this bug, err is assigned with -EINVAL in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 4 +++- 1 file changed, 3 in

[PATCH v3 3/3] gpio: xilinx: Utilize generic bitmap_get_value and _set_value

2021-03-06 Thread Syed Nayyar Waris
This patch reimplements the xgpio_set_multiple() function in drivers/gpio/gpio-xilinx.c to use the new generic functions: bitmap_get_value() and bitmap_set_value(). The code is now simpler to read and understand. Moreover, instead of looping for each bit in xgpio_set_multiple() function, now we can

[PATCH v3 2/3] gpio: thunderx: Utilize for_each_set_nbits macro

2021-03-06 Thread Syed Nayyar Waris
This patch reimplements the thunderx_gpio_set_multiple function in drivers/gpio/gpio-thunderx.c to use the new for_each_set_nbits macro. Instead of looping for each bank in thunderx_gpio_set_multiple function, now we can skip bank which is not set and save cycles. Cc: Robert Richter Cc: Bartosz G

[PATCH v3 1/3] gpiolib: Introduce the for_each_set_nbits macro

2021-03-06 Thread Syed Nayyar Waris
This macro iterates for each group of bits (clump) with set bits, within a bitmap memory region. For each iteration, "start" is set to the bit offset of the found clump, while the respective clump value is stored to the location pointed by "clump". Additionally, the bitmap_get_value() and bitmap_se

[PATCH v3 0/3] Introduce the for_each_set_nbits macro

2021-03-06 Thread Syed Nayyar Waris
Hello Bartosz, Since this patchset primarily affects GPIO drivers, would you like to pick it up through your GPIO tree? This patchset introduces a new generic version of for_each_set_nbits. The previous version of for_each_set_clump8 used a fixed size 8-bit clump, but the new generic version can

[PATCH] media: flexcop-usb: delete unneeded return

2021-03-06 Thread Julia Lawall
No need for a return after a break; Signed-off-by: Julia Lawall --- drivers/media/usb/b2c2/flexcop-usb.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/usb/b2c2/flexcop-usb.c b/drivers/media/usb/b2c2/flexcop-usb.c index e731243267e4..01d22834f4ac 100644 --- a/drivers/media

[PATCH] infiniband: hw: cxgb4: fix error return code of close_listsrv_rpl()

2021-03-06 Thread Jia-Ju Bai
When ep is NULL, no error code of close_listsrv_rpl() is returned. To fix this bug, close_listsrv_rpl() returns -EINVAL in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/infiniband/hw/cxgb4/cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver

Re: [PATCH 1/1] KVM: x86: to track if L1 is running L2 VM

2021-03-06 Thread Paolo Bonzini
On 05/03/21 23:57, Dongli Zhang wrote: The new per-cpu stat 'nested_run' is introduced in order to track if L1 VM is running or used to run L2 VM. An example of the usage of 'nested_run' is to help the host administrator to easily track if any L1 VM is used to run L2 VM. Suppose there is issue t

[PATCH] infiniband: hw: cxgb4: fix error return code of pass_open_rpl()

2021-03-06 Thread Jia-Ju Bai
When ep is NULL, no error code of pass_open_rpl() is returned. To fix this bug, pass_open_rpl() returns -EINVAL in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/infiniband/hw/cxgb4/cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infini

[PATCH] net: mellanox: mlx5: fix error return code of mlx5e_stats_flower()

2021-03-06 Thread Jia-Ju Bai
When mlx5e_tc_get_counter() returns NULL to counter or mlx5_devcom_get_peer_data() returns NULL to peer_esw, no error return code of mlx5e_stats_flower() is assigned. To fix this bug, err is assigned with -EINVAL in these cases. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/net

Re: [PATCH][RESEND] iio: dac: ad5686: Add support for AD5673R/AD5677R

2021-03-06 Thread Jonathan Cameron
On Wed, 17 Feb 2021 09:41:02 +0200 Alexandru Ardelean wrote: > From: Mircea Caprioru > > The AD5673R/AD5677R are low power, 16-channel, 12-/16-bit buffered voltage > output digital-to-analog converters (DACs). They include a 2.5 V internal > reference (enabled by default). > > These devices ar

Re: [PATCH v2 0/3] Introduce the for_each_set_clump macro

2021-03-06 Thread Syed Nayyar Waris
On Wed, Mar 3, 2021 at 8:13 PM Bartosz Golaszewski wrote: > > On Fri, Feb 12, 2021 at 2:19 PM Syed Nayyar Waris > wrote: > > > > Hello Bartosz, > > > > Since this patchset primarily affects GPIO drivers, would you like > > to pick it up through your GPIO tree? > > > > Sure, as soon as you figure

Re: [PATCH] security: tomoyo: fix error return code of tomoyo_update_domain()

2021-03-06 Thread Tetsuo Handa
On 2021/03/06 22:03, Jia-Ju Bai wrote: > When mutex_lock_interruptible() fails, the error return code of > tomoyo_update_domain() is not properly assigned. > To fix this bug, error is assigned with the return value of > mutex_lock_interruptible(), and then error is checked. Thanks for a patch, but

Re: [PATCH] tool/perf/bench: fix misspellings using codespell

2021-03-06 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 05, 2021 at 01:22:12AM -0800, menglong8.d...@gmail.com escreveu: > From: Xiong Zhenwu > > $ codespell ./tool/perf/bench > tools/perf/bench/inject-buildid.c:375: tihs ==> this > > Fix a typo found by codespell. Thanks, applied. - Arnaldo > Signed-off-by: Xiong Zhenwu > --- >

[PATCH] rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()

2021-03-06 Thread Jia-Ju Bai
When idr_find() returns NULL to intent, no error return code of qcom_glink_rx_data() is assigned. To fix this bug, ret is assigned with -ENOENT in this case. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/rpmsg/qcom_glink_native.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] interconnect: core: fix error return code of icc_link_destroy()

2021-03-06 Thread Jia-Ju Bai
When krealloc() fails and new is NULL, no error return code of icc_link_destroy() is assigned. To fix this bug, ret is assigned with -ENOMEM hen new is NULL. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/interconnect/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/d

Re: [PATCH v1 2/2] iio: adc: add ADC driver for the TI TSC2046 controller

2021-03-06 Thread Oleksij Rempel
On Fri, Mar 05, 2021 at 07:02:39PM +, Jonathan Cameron wrote: > On Fri, 5 Mar 2021 14:38:13 +0100 > Oleksij Rempel wrote: > > > Basically the TI TSC2046 touchscreen controller is 8 channel ADC optimized > > for > > the touchscreen use case. By implementing it as IIO ADC device, we can > > ma

[PATCH] staging: vc04_services: vchiq_arm: fix error return code of vchiq_release_internal() and vchiq_use_internal()

2021-03-06 Thread Jia-Ju Bai
When arm_state is NULL, no error return code of vchiq_release_internal() and vchiq_use_internal() is assigned. To fix this bug, ret is assigned with VCHIQ_ERROR. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 8 ++-- 1 file

Re: [PATCH] perf config: add annotate.demangle{,_kernel}

2021-03-06 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 26, 2021 at 11:08:12AM +0100, Martin Liška escreveu: > On 2/26/21 11:03 AM, Martin Liška wrote: > > On 2/23/21 8:49 PM, Arnaldo Carvalho de Melo wrote: > > > Please consider making this configurable (if not already) via > > > ~/.perfconfig, 'perf config', sure in a followup patch. > >

[PATCH] mm:process_vm_access: remove duplicate include

2021-03-06 Thread menglong8 . dong
From: Zhang Yunkai 'linux/compat.h' included in 'process_vm_access.c' is duplicated. Signed-off-by: Zhang Yunkai --- mm/process_vm_access.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/process_vm_access.c b/mm/process_vm_access.c index f5fee9cf90f8..4bcc11958089 100644 --- a/mm/proces

Re: "struct perf_sample_data" alignment

2021-03-06 Thread Ingo Molnar
* Alexei Starovoitov wrote: > > This seems to be it... (completely untested) > > > > --- > > diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h > > index 3f7f89ea5e51..918a296d2ca2 100644 > > --- a/include/linux/perf_event.h > > +++ b/include/linux/perf_event.h > > @@ -1032,7

Re: [PATCH 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs

2021-03-06 Thread Henning Schild
Am Sat, 6 Mar 2021 13:54:53 +0100 schrieb Henning Schild : > Am Fri, 5 Mar 2021 19:25:55 +0100 > schrieb Henning Schild : > > > Am Wed, 3 Mar 2021 21:56:15 +0100 > > schrieb Henning Schild : > > > > > Am Wed, 3 Mar 2021 21:48:21 +0100 > > > schrieb Henning Schild : > > > > > > > Am Wed, 3

Re: [PATCH 00/11] pragma once: treewide conversion

2021-03-06 Thread Miguel Ojeda
On Fri, Mar 5, 2021 at 10:25 PM Linus Torvalds wrote: > > And regardless of even _those_ issues, you still should do all the > other syntactic tokenization stuff (ie all the quoting, the the > character handling: 'a' is a valid C token, but if you see the string > "it's" outside of a comment, that

Re: [PATCH 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs

2021-03-06 Thread Henning Schild
Am Fri, 5 Mar 2021 19:25:55 +0100 schrieb Henning Schild : > Am Wed, 3 Mar 2021 21:56:15 +0100 > schrieb Henning Schild : > > > Am Wed, 3 Mar 2021 21:48:21 +0100 > > schrieb Henning Schild : > > > > > Am Wed, 3 Mar 2021 20:31:34 +0100 > > > schrieb Pavel Machek : > > > > > > > Hi! > > > >

[PATCH] security: tomoyo: fix error return code of tomoyo_update_domain()

2021-03-06 Thread Jia-Ju Bai
When mutex_lock_interruptible() fails, the error return code of tomoyo_update_domain() is not properly assigned. To fix this bug, error is assigned with the return value of mutex_lock_interruptible(), and then error is checked. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- security/tomo

[PATCH] clocksourc: Fix the comments to __clocksource_register_scale

2021-03-06 Thread Hailong Liu
From: Hailong Liu The return value of __clocksource_register_scale() is awlays 0, which does not match the comments. Signed-off-by: Hailong Liu --- kernel/time/clocksource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.

Re: [PATCH RESEND WITH CCs v3 4/4] perf tools: determine if LR is the return address

2021-03-06 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 05, 2021 at 10:54:03AM +0200, James Clark escreveu: > I've tested this patchset on a few different applications and have seen it > significantly improve > quality of frame pointer stacks on aarch64. For example with GDB 10 and > default build options, > 'bfd_calc_gnu_debuglink_crc32'

Re: A note on the 5.12-rc1 tag

2021-03-06 Thread Ingo Molnar
* Linus Torvalds wrote: > But I also can heartily just recommend that people who already _did_ > start on rc1 to rebase their current - hopefully not extensive - work. Thanks for the heads-up - we just rebased about 50 commits in -tip to avoid this bug: our normal workflow is to jump on -rc1

[PATCH] pinctrl: ti: fix error return code of ti_iodelay_probe()

2021-03-06 Thread Jia-Ju Bai
When ti_iodelay_pinconf_init_dev() fails, no error return code of ti_iodelay_probe() is assigned. To fix this bug, ret is assigned with the return value of ti_iodelay_pinconf_init_dev(), and then ret is checked. Reported-by: TOTE Robot Signed-off-by: Jia-Ju Bai --- drivers/pinctrl/ti/pinctrl-ti

Re: [PATCH 1/3] perf skel: Remove some unused variables.

2021-03-06 Thread Arnaldo Carvalho de Melo
Em Sat, Mar 06, 2021 at 12:08:38AM -0800, Ian Rogers escreveu: > Fixes -Wall warnings. Thanks, tested all with: $ make BUILD_BPF_SKEL=1 PYTHON=python3 O=/tmp/build/perf -C tools/perf install-bin Which makes me realize we need to turn both python3 and building the bpf skel to be the default...

[PATCH] watchdog:dw_wdt: remove duplicate include

2021-03-06 Thread menglong8 . dong
From: Zhang Yunkai 'linux/kernel.h' included in 'dw_wdt.c' is duplicated. It is also included in the 17th line. Signed-off-by: Zhang Yunkai --- drivers/watchdog/dw_wdt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index 32d0e1781e63.

Re: [PATCH] arm64: dts: imx8mp: add wdog2/3 nodes

2021-03-06 Thread Fabio Estevam
Hi Peng, On Sat, Mar 6, 2021 at 8:41 AM wrote: > > From: Peng Fan > > There is wdog[2,3] in i.MX8MP, so add them, all wdogs share the > same clock root, so use the wdog1 clk here. The patch looks good, but I don't understand this sentence where you state that "all wdogs share the same clock roo

[PATCH] thermal:ti-soc-thermal: remove duplicate include in ti-bandgap

2021-03-06 Thread menglong8 . dong
From: Zhang Yunkai 'of_device.h' included in 'ti-bandgap.c' is duplicated. It is also included in the 25th line. Signed-off-by: Zhang Yunkai --- drivers/thermal/ti-soc-thermal/ti-bandgap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/ti-soc-thermal/ti-bandgap.c b/drivers

Re: [PATCH v6] ARM: Implement SLS mitigation

2021-03-06 Thread Linus Walleij
On Fri, Mar 5, 2021 at 10:53 AM Will Deacon wrote: > I still don't see why SLS is worth a compiler mitigation which will affect > all CPUs that run the kernel binary, but Spectre-v1 is not. In other words, > the big thing missing from this is a justification as to why SLS is a > problem worth wor

Re: [PATCH v5] ARM: Implement SLS mitigation

2021-03-06 Thread Linus Walleij
On Fri, Mar 5, 2021 at 12:23 AM Jian Cai wrote: > On Wed, Mar 3, 2021 at 7:04 AM Linus Walleij wrote: > > > > On Tue, Feb 23, 2021 at 3:36 AM Jian Cai wrote: > > > > > This patch adds CONFIG_HARDEN_SLS_ALL that can be used to turn on > > > -mharden-sls=all, which mitigates the straight-line spec

[tip: x86/urgent] x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2

2021-03-06 Thread tip-bot2 for Josh Poimboeuf
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: e504e74cc3a2c092b05577ce3e8e013fae7d94e6 Gitweb: https://git.kernel.org/tip/e504e74cc3a2c092b05577ce3e8e013fae7d94e6 Author:Josh Poimboeuf AuthorDate:Fri, 05 Feb 2021 08:24:02 -06:00 Committ

[tip: x86/urgent] x86/unwind/orc: Silence warnings caused by missing ORC data

2021-03-06 Thread tip-bot2 for Josh Poimboeuf
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: b59cc97674c947861783ca92b9a6e7d043adba96 Gitweb: https://git.kernel.org/tip/b59cc97674c947861783ca92b9a6e7d043adba96 Author:Josh Poimboeuf AuthorDate:Fri, 05 Feb 2021 08:24:03 -06:00 Committ

[tip: x86/urgent] x86/entry: Fix entry/exit mismatch on failed fast 32-bit syscalls

2021-03-06 Thread tip-bot2 for Andy Lutomirski
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 5d5675df792ff67e74a500c4c94db0f99e6a10ef Gitweb: https://git.kernel.org/tip/5d5675df792ff67e74a500c4c94db0f99e6a10ef Author:Andy Lutomirski AuthorDate:Thu, 04 Mar 2021 11:05:54 -08:00 Commit

[PATCH v4] RISC-V: enable XIP

2021-03-06 Thread Vitaly Wool
Introduce XIP (eXecute In Place) support for RISC-V platforms. It allows code to be executed directly from non-volatile storage directly addressable by the CPU, such as QSPI NOR flash which can be found on many RISC-V platforms. This makes way for significant optimization of RAM footprint. The XIP

[tip: x86/mm] x86/mm/tlb: Open-code on_each_cpu_cond_mask() for tlb_is_not_lazy()

2021-03-06 Thread tip-bot2 for Nadav Amit
The following commit has been merged into the x86/mm branch of tip: Commit-ID: 6035152d8eebe16a5bb60398d3e05dc7799067b0 Gitweb: https://git.kernel.org/tip/6035152d8eebe16a5bb60398d3e05dc7799067b0 Author:Nadav Amit AuthorDate:Sat, 20 Feb 2021 15:17:06 -08:00 Committer:

[tip: x86/mm] smp: Run functions concurrently in smp_call_function_many_cond()

2021-03-06 Thread tip-bot2 for Nadav Amit
The following commit has been merged into the x86/mm branch of tip: Commit-ID: a32a4d8a815c4eb6dc64b8962dc13a9dfae70868 Gitweb: https://git.kernel.org/tip/a32a4d8a815c4eb6dc64b8962dc13a9dfae70868 Author:Nadav Amit AuthorDate:Sat, 20 Feb 2021 15:17:04 -08:00 Committer:

[tip: x86/mm] x86/mm/tlb: Unify flush_tlb_func_local() and flush_tlb_func_remote()

2021-03-06 Thread tip-bot2 for Nadav Amit
The following commit has been merged into the x86/mm branch of tip: Commit-ID: 4c1ba3923e6c8aa736e40f481a278c21b956c072 Gitweb: https://git.kernel.org/tip/4c1ba3923e6c8aa736e40f481a278c21b956c072 Author:Nadav Amit AuthorDate:Sat, 20 Feb 2021 15:17:05 -08:00 Committer:

[tip: x86/mm] x86/mm/tlb: Privatize cpu_tlbstate

2021-03-06 Thread tip-bot2 for Nadav Amit
The following commit has been merged into the x86/mm branch of tip: Commit-ID: 2f4305b19fe6a2a261d76c21856c5598f7d878fe Gitweb: https://git.kernel.org/tip/2f4305b19fe6a2a261d76c21856c5598f7d878fe Author:Nadav Amit AuthorDate:Sat, 20 Feb 2021 15:17:08 -08:00 Committer:

[tip: x86/mm] x86/mm/tlb: Flush remote and local TLBs concurrently

2021-03-06 Thread tip-bot2 for Nadav Amit
The following commit has been merged into the x86/mm branch of tip: Commit-ID: 4ce94eabac16b1d2c95762b40f49e5654ab288d7 Gitweb: https://git.kernel.org/tip/4ce94eabac16b1d2c95762b40f49e5654ab288d7 Author:Nadav Amit AuthorDate:Sat, 20 Feb 2021 15:17:07 -08:00 Committer:

[tip: x86/mm] x86/mm/tlb: Remove unnecessary uses of the inline keyword

2021-03-06 Thread tip-bot2 for Nadav Amit
The following commit has been merged into the x86/mm branch of tip: Commit-ID: 1608e4cf31b88c8c448ce13aa1d77969dda6bdb7 Gitweb: https://git.kernel.org/tip/1608e4cf31b88c8c448ce13aa1d77969dda6bdb7 Author:Nadav Amit AuthorDate:Sat, 20 Feb 2021 15:17:11 -08:00 Committer:

<    1   2   3   4   5   >