[PATCH 28/38] media: atomisp: get rid of isys_dma.h and isys_dma_local.h

2020-09-02 Thread Mauro Carvalho Chehab
There aren't much on this abstraction. Just move the defines to isys_dma_private.h and isys_dma_public.h, cleaning up the includes. Signed-off-by: Mauro Carvalho Chehab --- .../pci/css_2401_system/host/isys_dma.c | 10 +--- .../pci/css_2401_system/host/isys_dma_local.h | 21 - .../

[PATCH 26/38] media: atomisp: cleanup ifdefs from ia_css_debug.c

2020-09-02 Thread Mauro Carvalho Chehab
There are lots of code dependency there. Get rid of most of them. We can't remove everything, as there are some structs that are conditionally built if ISP2401. So, keep ifdefs only on such cases. Signed-off-by: Mauro Carvalho Chehab --- .../runtime/debug/interface/ia_css_debug.h| 6 - ..

[PATCH 33/38] media: atomisp: reorder functions at pixelgen_private.h

2020-09-02 Thread Mauro Carvalho Chehab
Reorder functions in order to declare before usage. Signed-off-by: Mauro Carvalho Chehab --- .../css_2401_system/host/pixelgen_private.h | 73 ++- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/css_2401_system/host/pixelgen_pr

[PATCH 24/38] media: atomisp: fix casts at atomisp_compat_ioctl32.c

2020-09-02 Thread Mauro Carvalho Chehab
There are several warnings reported by sparse with regards to wrong typecasts: drivers/staging/media/atomisp/pci/atomisp_compat_ioctl32.c:73:13: warning: incorrect type in assignment (different address spaces) drivers/staging/media/atomisp/pci/atomisp_compat_ioctl32.c:73:13: expecte

[PATCH 22/38] media: dvb-ttusb-budget: cleanup printk logic

2020-09-02 Thread Mauro Carvalho Chehab
Instead of calling printk(), use pr_foo() macros. While here, do some cleanup at the printed messages, as some has __func__, while others have the module name (sometimes spelled as "ttusb_dvb"). Signed-off-by: Mauro Carvalho Chehab --- .../media/usb/ttusb-budget/dvb-ttusb-budget.c | 118 +++

[PATCH 36/38] media: atomisp: csi_rx.c: add a missing includes

2020-09-02 Thread Mauro Carvalho Chehab
Due to that, smatch warns with: drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx.c:18:11: warning: symbol 'N_SHORT_PACKET_LUT_ENTRIES' was not declared. Should it be static? drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx.c:24:11: warning: symbol 'N_

[PATCH 14/38] media: vivid: move the devnode creation logic to a separate function

2020-09-02 Thread Mauro Carvalho Chehab
In order to reduce even further the size of the big vivid_create_instance() function, let's place the part of the logic which creates the device nodes into a separate function. With this and the past patches, those warnings finally vanishes: drivers/media/test-drivers/vivid/vi

[PATCH 21/38] media: dvb-ttusb-budget: don't use stack for USB transfers

2020-09-02 Thread Mauro Carvalho Chehab
As reported by smatch: drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c:311 ttusb_boot_dsp() error: doing dma on the stack (b) drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c:321 ttusb_boot_dsp() error: doing dma on the stack (b) drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c:3

[PATCH 00/38] media sparse/smatch warn fixes

2020-09-02 Thread Mauro Carvalho Chehab
While I was lately relying on Jenkins to report smatch/sparse issues, I discovered this week that the reports were missing such warnings I got it fixed already at builder.linuxtv.org, but there are several new warnings that got added over time. This series is meant to solve the ones that are repo

Re: [PATCH v6 3/3] drm/vkms: Add support for writeback

2020-09-02 Thread Liviu Dudau
On Sun, Aug 30, 2020 at 10:20:00AM -0400, Rodrigo Siqueira wrote: > This patch implements the necessary functions to add writeback support > for vkms. This feature is useful for testing compositors if you don't > have hardware with writeback support. > > Change in V4 (Emil and Melissa): > - Move s

Re: [PATCH 4/5] Add manpage for fsopen(2) and fsmount(2)

2020-09-02 Thread David Howells
Michael Kerrisk (man-pages) wrote: > The term "filesystem configuration context" is introduced, but never > really explained. I think it would be very helpful to have a sentence > or three that explains this concept at the start of the page. Does that need a .7 manpage? David

Re: [PATCH net-next 0/1] Support for VLAN interface over HSR/PRP

2020-09-02 Thread Murali Karicheri
All, On 9/1/20 3:54 PM, Murali Karicheri wrote: This series add support for creating VLAN interface over HSR or PRP interface. Typically industrial networks uses VLAN in deployment and this capability is needed to support these networks. This is tested using two TI AM572x IDK boards connected b

[PATCH 30/38] media: atomisp: don't check for ISP version for includes

2020-09-02 Thread Mauro Carvalho Chehab
As there aren't duplicated names anymore, and the end goal is to do runtime checks between ISP2400 and ISP2401, remove the part of the Makefile which changes the include places based on the compile-time version. This shouldn't cause any effect, but it will make easier for further patches meant to

Re: [PATCH v2] x86/asm: Replace __force_order with memory clobber

2020-09-02 Thread Arvind Sankar
On Wed, Sep 02, 2020 at 03:58:38PM +, David Laight wrote: > From: Arvind Sankar > > Sent: 02 September 2020 16:34 > > > > The CRn accessor functions use __force_order as a dummy operand to > > prevent the compiler from reordering the inline asm. > > > > The fact that the asm is volatile shoul

[PATCH 29/38] media: atomisp: get rid of ibuf_ctrl abstraction

2020-09-02 Thread Mauro Carvalho Chehab
Just move the stuff there to the places where this header is included. Signed-off-by: Mauro Carvalho Chehab --- .../css_2401_system/host/ibuf_ctrl_local.h| 1 + .../css_2401_system/host/ibuf_ctrl_private.h | 268 -- .../host/ibuf_ctrl_public.h | 94 -

[PATCH v2 2/2] dt-bindings: mfd: syscon: Document Exynos3 and Exynos5433 compatibles

2020-09-02 Thread Krzysztof Kozlowski
Document Samsung Exynos3 and Exynos5433 compatibles for system registers. Reviewed-by: Sylwester Nawrocki Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Rebase on first patch --- Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 1/2] phy: marvell: comphy: Convert internal SMCC firmware return codes to errno

2020-09-02 Thread Andrew Lunn
On Wed, Sep 02, 2020 at 04:43:43PM +0200, Pali Rohár wrote: > Driver ->power_on and ->power_off callbacks leaks internal SMCC firmware > return codes to phy caller. This patch converts SMCC error codes to > standard linux errno codes. Include file linux/arm-smccc.h already provides > defines for SM

Re: [PATCH 15/19] md: use bdev_check_media_change

2020-09-02 Thread Sergei Shtylyov
Hello! On 9/2/20 5:12 PM, Christoph Hellwig wrote: > The pcd driver does not have a ->revalidate_disk method, so it can just s/pcd/md/? > use bdev_check_media_change without any additional changes. > > Signed-off-by: Christoph Hellwig > --- > drivers/md/md.c | 2 +- > 1 file changed, 1 in

[PATCH v2 1/2] dt-bindings: mfd: syscon: Merge Samsung Exynos Sysreg bindings

2020-09-02 Thread Krzysztof Kozlowski
The Samsung Exynos System Registers (Sysreg) bindings are quite simple - just additional compatible to the syscon. They do not have any value so merge them into generic MFD syscon bindings. Suggested-by: Sylwester Nawrocki Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch

[PATCH 18/38] media: cx23885-alsa: number of pages should be unsigned long

2020-09-02 Thread Mauro Carvalho Chehab
As reported by smatch: drivers/media//pci/cx23885/cx23885-alsa.c:83 cx23885_alsa_dma_init() warn: should 'nr_pages << 12' be a 64 bit type? the number of patches should be unsigned long. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/cx23885/cx23885-alsa.c | 7 --- dri

[PATCH][next] xsk: fix incorrect memory allocation failure check on dma_map->dma_pages

2020-09-02 Thread Colin King
From: Colin Ian King The failed memory allocation check for dma_map->dma_pages is incorrect, it is null checking dma_map and not dma_map->dma_pages. Fix this. Addresses-Coverity: ("Logicall dead code") Fixes: 921b68692abb ("xsk: Enable sharing of dma mappings") Signed-off-by: Colin Ian King ---

[PATCH v2 2/2] staging: gdm724x: gdm_tty: replaced macro with a function

2020-09-02 Thread Antoni Przybylik
Changed return type to bool and removed inline specifier. Also added static specifier. Signed-off-by: Antoni Przybylik --- drivers/staging/gdm724x/gdm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c

[PATCH 20/38] media: saa7134-alsa.c: number of pages should be unsigned long

2020-09-02 Thread Mauro Carvalho Chehab
As reported by smatch: drivers/media/pci/saa7134/saa7134-alsa.c:267 saa7134_alsa_dma_init() warn: should 'nr_pages << 12' be a 64 bit type? the number of patches should be unsigned long. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/saa7134/saa7134-alsa.c | 7 --- dri

[PATCH v2 1/2] staging: gdm724x: gdm_tty: replaced macro with a function

2020-09-02 Thread Antoni Przybylik
This approach is more elegant and prevents some problems related to macros such as operator precedence in expanded expression. Signed-off-by: Antoni Przybylik --- drivers/staging/gdm724x/gdm_tty.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/staging

[PATCH 17/38] media: cx25821-alsa: number of pages should be unsigned long

2020-09-02 Thread Mauro Carvalho Chehab
As reported by smatch: drivers/media/pci/cx25821/cx25821-alsa.c:146 cx25821_alsa_dma_init() warn: should 'nr_pages << 12' be a 64 bit type? the number of patches should be unsigned long. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/cx25821/cx25821-alsa.c | 11 ++-

[PATCH 15/38] media: vivid: fix error path

2020-09-02 Thread Mauro Carvalho Chehab
If something fails after calling v4l2_device_register(), it should call v4l2_device_put(). Signed-off-by: Mauro Carvalho Chehab --- drivers/media/test-drivers/vivid/vivid-core.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/media/test-drivers/vivid/vivid-core.

[PATCH v2] power: supply: charger-manager: Fix info message in check_charging_duration()

2020-09-02 Thread Gustavo A. R. Silva
A few months ago, commit e132fc6bb89b ("power: supply: charger-manager: Make decisions focussed on battery status") changed the expression in the if statement from "duration > desc->discharging_max_duration_ms" to "duration > desc->charging_max_duration_ms", but the arguments for dev_info() were

[PATCH 08/38] media: serial_ir: use the right type for a dma address

2020-09-02 Thread Mauro Carvalho Chehab
As warned by smatch: drivers/media/rc/serial_ir.c:550 serial_ir_probe() warn: should '8 << ioshift' be a 64 bit type? the "8" constant should be unsigned long. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/rc/serial_ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 23/38] media: saa7134: avoid a shift overflow

2020-09-02 Thread Mauro Carvalho Chehab
As reported by smatch: drivers/media/pci/saa7134//saa7134-tvaudio.c:686 saa_dsp_writel() warn: should 'reg << 2' be a 64 bit type? On a 64-bits Kernel, the shift might be bigger than 32 bits. In real, this should never happen, but let's shut up the warning. Signed-off-by: Mauro Carvalho

[PATCH 16/38] media: videobuf-dma-sg: number of pages should be unsigned long

2020-09-02 Thread Mauro Carvalho Chehab
As reported by smatch: drivers/media/v4l2-core/videobuf-dma-sg.c:245 videobuf_dma_init_kernel() warn: should 'nr_pages << 12' be a 64 bit type? The printk should not be using %d for the number of pages. After looking better, the real problem here is that the number of pages should be lo

[PATCH 10/38] media: vivid: place the logic which disables ioctl on a separate function

2020-09-02 Thread Mauro Carvalho Chehab
Move this code out of the long vivid_create_instance() function. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/test-drivers/vivid/vivid-core.c | 182 +- 1 file changed, 96 insertions(+), 86 deletions(-) diff --git a/drivers/media/test-drivers/vivid/vivid-core.c b/drive

[PATCH 04/38] media: av7110_v4l: avoid a typecast

2020-09-02 Thread Mauro Carvalho Chehab
While smatch reports an issue there: drivers/media/pci/ttpci/av7110_v4l.c:163 ves1820_set_tv_freq() warn: unsigned 'freq' is never less than zero. drivers/media/pci/ttpci/av7110_v4l.c:165 ves1820_set_tv_freq() warn: unsigned 'freq' is never less than zero. The logic is actually

[PATCH 07/38] media: tda10021: avoid casts when using symbol_rate

2020-09-02 Thread Mauro Carvalho Chehab
The usage of castings and float point when checking for the setup based at the symbol_rate cause those warnings with smatch: drivers/media/dvb-frontends/tda10021.c:153 tda10021_set_symbolrate() warn: unsigned 'symbolrate' is never less than zero. drivers/media/dvb-frontends/tda100

Re: [PATCH v2 1/1] ARM: dts: bcm2711: Enable ddr modes on emmc2 controller

2020-09-02 Thread Stefan Wahren
Hi Tobias, Am 31.08.20 um 23:59 schrieb Tobias Schramm: > This commit enables ddr modes for eMMC storage on emmc2. > The bcm2711 supports eMMC storage using ddr modes. The board > layout of the Raspberry Pi 4 supports them, too. i want to inform you that Ulf Hansson already applied my driver chan

[PATCH 09/38] media: vivid: move the detection part out of vivid_create_instance

2020-09-02 Thread Mauro Carvalho Chehab
The vivid_create_instance() function is too harry. Smatch can't process it, because it takes too long. The detection part is an important piece of it. As such, there are even comments before and after such block. So, it makes sense to just move it to a separate function. Signed-off-by: Mauro Car

[PATCH 01/38] media: tda10086: cleanup symbol_rate setting logic

2020-09-02 Thread Mauro Carvalho Chehab
The original logic had an integer to unsigned integer conversion, plus a float-point math. While gcc should be able to do the match at compile time, other compilers might not do the same. Also, those produce the following warnings with static code analyzers: drivers/media/dvb-frontends/tda

[PATCH 02/38] media: v4l2-ioctl: avoid memory leaks on some time32 compat functions

2020-09-02 Thread Mauro Carvalho Chehab
There are some reports about possible memory leaks: drivers/media/v4l2-core//v4l2-ioctl.c:3203 video_put_user() warn: check that 'ev32' doesn't leak information (struct has a hole after 'type') drivers/media/v4l2-core//v4l2-ioctl.c:3230 video_put_user() warn: check that 'vb32' do

[PATCH 13/38] media: vivid: move the create queues to a separate function

2020-09-02 Thread Mauro Carvalho Chehab
Instead of placing everything inside vivid_create_instance(), we can move the part which creates per-type video queues into a separate function. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/test-drivers/vivid/vivid-core.c | 175 +- 1 file changed, 92 insertions(+), 83 d

[PATCH 11/38] media: vivid: move set_capabilities logic to a separate function

2020-09-02 Thread Mauro Carvalho Chehab
Move such logic from vivid_create_instance(), as otherwise smatch takes forever. The vivid_create_instance() is still a too big for my taste. So, further cleanups are still needed. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/test-drivers/vivid/vivid-core.c | 161 +- 1

Re: [PATCH][next] xsk: Fix null check on error return path

2020-09-02 Thread Gustavo A. R. Silva
On Wed, Sep 02, 2020 at 05:12:51PM +0200, Björn Töpel wrote: > On 2020-09-02 17:07, Gustavo A. R. Silva wrote: > > Currently, dma_map is being checked, when the right object identifier > > to be null-checked is dma_map->dma_pages, instead. > > > > Fix this by null-checking dma_map->dma_pages. > >

Re: [PATCH 16/19] sd: use bdev_check_media_change

2020-09-02 Thread Sergei Shtylyov
On 9/2/20 5:12 PM, Christoph Hellwig wrote: > Switch to use bdev_check_media_change instead of check_disk_change and > call cd_revalidate_disk manually. As sd also calls sd_revalidate_disk s/cd/sd/? > manually during probe and open, , the extra call into ->revalidate_disk > from bdev_disk_ch

Re: [PATCH 06/14] block: lift setting the readahead size into the block layer

2020-09-02 Thread Mike Snitzer
On Wed, Sep 02 2020 at 11:11am -0400, Christoph Hellwig wrote: > On Wed, Aug 26, 2020 at 06:07:38PM -0400, Mike Snitzer wrote: > > On Sun, Jul 26 2020 at 11:03am -0400, > > Christoph Hellwig wrote: > > > > > Drivers shouldn't really mess with the readahead size, as that is a VM > > > concept.

Re: [PATCH v2 2/2] staging: gdm724x: gdm_tty: replaced macro with a function

2020-09-02 Thread Randy Dunlap
On 9/2/20 9:16 AM, Antoni Przybylik wrote: > Changed return type to bool and removed inline specifier. Also added > static specifier. why remove the inline specifier? thanks. > Signed-off-by: Antoni Przybylik > --- > drivers/staging/gdm724x/gdm_tty.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH v21 4/4] arm64: dts: mt8183: add scp node

2020-09-02 Thread Krzysztof Kozlowski
ou don't send emails to the list > > informing of the inclusion of a patch/series in your tree? > > > > Anyway applied now to v5.9-next/dts64 :) > > arm64 build dtbs failed on linux next 20200902. I just hit it as well... I wish the kernel was built after applying patches... it would make the next a better place. Best regards, Krzysztof

[PATCH V7 0/4] Signaling api support in glink/rpmsg clients

2020-09-02 Thread Deepak Kumar Singh
Change from version 6 In last series(v6) i had put wrong version(v5) for cover note. Which led to confusion for patch set series. In this series i have updated the label for cover letter(v7). There is no change in patches. Only cover note label is updated. Change from version 5 [V6,4/4] rpmsg: ch

[PATCH V7 2/4] rpmsg: glink: Add support to handle signals command

2020-09-02 Thread Deepak Kumar Singh
From: Arun Kumar Neelakantam Remote peripherals send signal notifications over glink with commandID 15. Add support to send and receive the signal command and convert the signals from NATIVE to TIOCM while receiving and vice versa while sending. Signed-off-by: Chris Lew Signed-off-by: Deepak K

[PATCH V7 1/4] rpmsg: core: Add signal API support

2020-09-02 Thread Deepak Kumar Singh
Some transports like Glink support the state notifications between clients using signals similar to serial protocol signals. Local glink client drivers can send and receive signals to glink clients running on remote processors. Add apis to support sending and receiving of signals by rpmsg clients.

Re: [PATCH 01/13] x86/entry: Fix AC assertion

2020-09-02 Thread Jürgen Groß
On 02.09.20 17:58, Brian Gerst wrote: On Wed, Sep 2, 2020 at 9:38 AM Peter Zijlstra wrote: From: Peter Zijlstra The WARN added in commit 3c73b81a9164 ("x86/entry, selftests: Further improve user entry sanity checks") unconditionally triggers on my IVB machine because it does not support SMAP

Re: [PATCH V3] Add GalaxyCore image sensor driver

2020-09-02 Thread Tomasz Figa
Hi everyone, On Tue, Sep 1, 2020 at 7:19 AM 吴兴育B01779 wrote: > > Hi Sakari, > > It seems the e-mails you're sending do not end up to LMML nor kernel.org > Patchwork. > ===>It looks like we need to fix this before patch can land in patchwork. > FYI, I'll take care of addressing the comments to v

[PATCH V7 4/4] rpmsg: char: Add signal callback and POLLPRI support

2020-09-02 Thread Deepak Kumar Singh
From: Arun Kumar Neelakantam Register a callback to get the signal notifications from rpmsg and send POLLPRI mask to indicate the signal change in POLL system call. Signed-off-by: Deepak Kumar Singh Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 22

[PATCH V7 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support

2020-09-02 Thread Deepak Kumar Singh
From: Arun Kumar Neelakantam Add TICOMGET and TIOCMSET ioctl support for rpmsg char device nodes to get/set the low level transport signals. Signed-off-by: Deepak Kumar Singh Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 54 +++-

[PATCH] RDMA/ucma: Fix resource leak on error path

2020-09-02 Thread Alex Dewar
In ucma_process_join(), if the call to xa_alloc() fails, the function will return without freeing mc. Fix this by jumping to the correct line. In the process I renamed the jump labels to something more memorable for extra clarity. Addresses-Coverity: ("Resource leak") Fixes: 95fe51096b7a ("RDMA/u

Re: [RFC PATCH] tools/x86: add kcpuid tool to show raw CPU features

2020-09-02 Thread Dave Hansen
On 9/2/20 8:40 AM, Borislav Petkov wrote: > When you need to add a new leaf, you simply extend the text file and the > tool parses it anew and has its all CPUID info uptodate. This way you > won't even have to recompile it. Adding new CPUID leafs would be adding new > lines to the file. > > For ex

[RFC PATCH v8 2/3] docs: scheduler: Add scheduler overview documentation

2020-09-02 Thread John Mathew
Add documentation for -scheduler overview -scheduler state transtion -CFS overview -scheduler data structs Add rst for scheduler APIs and modify sched/core.c to add kernel-doc comments. Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off-by: Mostafa Chamanara Co-devel

[RFC PATCH v8 0/3] Add scheduler overview documentation

2020-09-02 Thread John Mathew
This patch series updates the scheduler documentation to add more topics wrt to scheduler overview. New sections are added to provide a brief overview of the kernel structs used by the scheduler, scheduler invocation, and context switch. Previous version of the patch was reviewed at: https://lore.k

Re: [PATCH 01/13] x86/entry: Fix AC assertion

2020-09-02 Thread Andrew Cooper
On 02/09/2020 16:58, Brian Gerst wrote: > On Wed, Sep 2, 2020 at 9:38 AM Peter Zijlstra wrote: >> From: Peter Zijlstra >> >> The WARN added in commit 3c73b81a9164 ("x86/entry, selftests: Further >> improve user entry sanity checks") unconditionally triggers on my IVB >> machine because it does no

Re: [PATCH -v2] scipts/tags.sh: Add custom sort order

2020-09-02 Thread peterz
On Thu, Sep 03, 2020 at 12:58:14AM +0900, Masahiro Yamada wrote: > Sorry for the long delay. > > First, this patch breaks 'make TAGS' > if 'etags' is a symlink to exuberant ctags. > > > masahiro@oscar:~/ref/linux$ etags --version > Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren

[RFC PATCH v8 3/3] docs: scheduler: Add introduction to scheduler context-switch

2020-09-02 Thread John Mathew
Add documentation for introduction to -context-switch -x86 context-switch -MIPS context switch Suggested-by: Lukas Bulwahn Co-developed-by: Mostafa Chamanara Signed-off-by: Mostafa Chamanara Co-developed-by: Oleg Tsymbal Signed-off-by: Oleg Tsymbal Signed-off-by: John Mathew --- Document

[RFC PATCH v8 1/3] docs: scheduler: Restructure scheduler documentation.

2020-09-02 Thread John Mathew
Add new sections to enable addition of new documentation on the scheduler. Existing documentation is moved under the related new sections. The sections are - overview - sched-features - arch-specific.rst - sched-debugging.rst Suggested-by: Lukas Bulwahn Signed-off-by: John Mathew --- Do

Re: [PATCH 02/38] media: v4l2-ioctl: avoid memory leaks on some time32 compat functions

2020-09-02 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Wed, Sep 02, 2020 at 06:10:05PM +0200, Mauro Carvalho Chehab wrote: > There are some reports about possible memory leaks: > > drivers/media/v4l2-core//v4l2-ioctl.c:3203 video_put_user() warn: check > that 'ev32' doesn't leak information (struct has a

Re: [PATCH 5.8 000/253] 5.8.6-rc2 review

2020-09-02 Thread Naresh Kamboju
On Wed, 2 Sep 2020 at 13:18, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.6 release. > There are 253 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. > > Respo

[PATCH][next] RDMA/ucma: fix memory leak of mc on an xa_alloc failure

2020-09-02 Thread Colin King
From: Colin Ian King Currently when an xa_alloc failure occurs the error exit path leaks the allocated object mc. Fix this by adding an error return path that frees mc and rename error exit paths err3 to err4 and err2 to err3. Fixes: 95fe51096b7a ("RDMA/ucma: Remove mc_list and rely on xarray")

Re: [PATCH v2] power: supply: charger-manager: Fix info message in check_charging_duration()

2020-09-02 Thread Randy Dunlap
On 9/2/20 9:23 AM, Gustavo A. R. Silva wrote: > A few months ago, commit e132fc6bb89b ("power: supply: charger-manager: Make > decisions focussed on battery status") > changed the expression in the if statement from "duration > > desc->discharging_max_duration_ms" > to "duration > desc->charging_

Re: [PATCH V5 0/4] Signaling api support in glink/rpmsg clients

2020-09-02 Thread Deepak Kumar Singh
On 7/6/2020 11:34 PM, Mathieu Poirier wrote: Hi Deepak, On Fri, Jun 26, 2020 at 08:16:55PM +0530, Deepak Kumar Singh wrote: Change from version 5 [V5,4/4] rpmsg: char: Add signal callback and POLLPRI support Updated for sparse warning. Replaced POLLPRI => EPOLLPRI to fix warning. Change from

Re: [PATCH 01/13] x86/entry: Fix AC assertion

2020-09-02 Thread peterz
On Wed, Sep 02, 2020 at 06:24:27PM +0200, Jürgen Groß wrote: > On 02.09.20 17:58, Brian Gerst wrote: > > On Wed, Sep 2, 2020 at 9:38 AM Peter Zijlstra wrote: > > > > > > From: Peter Zijlstra > > > > > > The WARN added in commit 3c73b81a9164 ("x86/entry, selftests: Further > > > improve user ent

Re: [PATCH v7 6/6] Documentation: ACPI: Document allow-low-power-probe _DSD property

2020-09-02 Thread Sakari Ailus
Hi Rafael, Thank you for the review. On Wed, Sep 02, 2020 at 05:57:01PM +0200, Rafael J. Wysocki wrote: > On Tue, Sep 1, 2020 at 11:03 PM Sakari Ailus > wrote: > > > > Document the probe-low-power _DSD property and how it is used with I²C > > drivers. > > I would reorder the series to make this

[PATCH] arm64: dts: imx8mm-var-som: Add 32.768 kHz clock to PMIC

2020-09-02 Thread Krzysztof Kozlowski
The ROHM BD71847 PMIC has a 32.768 kHz clock. Adding necessary parent allows to probe the bd718x7 clock driver fixing boot errors: bd718xx-clk bd71847-clk.1.auto: No parent clk found bd718xx-clk: probe of bd71847-clk.1.auto failed with error -22 Signed-off-by: Krzysztof Kozlowski --- a

[PATCH] xsk: Free variable on error path

2020-09-02 Thread Alex Dewar
In xp_create_dma_map(), memory is allocated to dma_map->dma_pages, but then dma_map is erroneously compared to NULL, rather than the member. Fix this. Addresses-Coverity: ("Dead code") Fixes: 921b68692abb ("xsk: Enable sharing of dma mappings") Signed-off-by: Alex Dewar --- net/xdp/xsk_buff_pool

Re: [PATCH v7 6/6] Documentation: ACPI: Document allow-low-power-probe _DSD property

2020-09-02 Thread Rafael J. Wysocki
On Wed, Sep 2, 2020 at 6:31 PM Sakari Ailus wrote: > > Hi Rafael, > > Thank you for the review. > > On Wed, Sep 02, 2020 at 05:57:01PM +0200, Rafael J. Wysocki wrote: > > On Tue, Sep 1, 2020 at 11:03 PM Sakari Ailus > > wrote: > > > > > > Document the probe-low-power _DSD property and how it is u

Re: [PATCH v3 07/10] PCI: Add 'rcec' field to pci_dev for associated RCiEPs

2020-09-02 Thread Bjorn Helgaas
On Wed, Aug 12, 2020 at 09:46:56AM -0700, Sean V Kelley wrote: > From: Qiuxu Zhuo > > When attempting error recovery for an RCiEP associated with an RCEC device, > there needs to be a way to update the Root Error Status, the Uncorrectable > Error Status and the Uncorrectable Error Severity of the

Re: [PATCH 01/10] clk: at91: Drop unused at91sam9g45_pcr_layout

2020-09-02 Thread Alexandre Belloni
On 02/09/2020 17:03:39+0200, Krzysztof Kozlowski wrote: > The at91sam9g45_pcr_layout is not used so drop it to fix build warning: > > drivers/clk/at91/at91sam9g45.c:49:36: warning: > 'at91sam9g45_pcr_layout' defined but not used [-Wunused-const-variable=] > > Signed-off-by: Krzysztof Kozlow

Re: [PATCH v2] power: supply: charger-manager: Fix info message in check_charging_duration()

2020-09-02 Thread Gustavo A. R. Silva
On Wed, Sep 02, 2020 at 09:29:31AM -0700, Randy Dunlap wrote: > On 9/2/20 9:23 AM, Gustavo A. R. Silva wrote: > > A few months ago, commit e132fc6bb89b ("power: supply: charger-manager: > > Make decisions focussed on battery status") > > changed the expression in the if statement from "duration >

Re: [PATCH 5.4 000/213] 5.4.62-rc2 review

2020-09-02 Thread Naresh Kamboju
On Wed, 2 Sep 2020 at 13:18, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.62 release. > There are 213 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. > > Resp

[no subject]

2020-09-02 Thread hakima akondo
I emailed you earlier without a response, Haven't you received it? Please update me urgently for more clarification on time.

Re: [PATCH V5 0/4] Signaling api support in glink/rpmsg clients

2020-09-02 Thread Mathieu Poirier
On Wed, 2 Sep 2020 at 10:30, Deepak Kumar Singh wrote: > > > On 7/6/2020 11:34 PM, Mathieu Poirier wrote: > > Hi Deepak, > > > > On Fri, Jun 26, 2020 at 08:16:55PM +0530, Deepak Kumar Singh wrote: > >> Change from version 5 > >> [V5,4/4] rpmsg: char: Add signal callback and POLLPRI support > >> Up

Re: [PATCH v11 5/5] kdump: update Documentation about crashkernel

2020-09-02 Thread Catalin Marinas
On Tue, Aug 18, 2020 at 03:07:04PM +0800, chenzhou wrote: > diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c > index a8e34d97a894..4df18c7ea438 100644 > --- a/arch/arm64/mm/init.c > +++ b/arch/arm64/mm/init.c > @@ -147,7 +147,7 @@ static void __init reserve_crashkernel(void) > } >

Re: localmodconfig - "intel_rapl_perf config not found!!"

2020-09-02 Thread Masahiro Yamada
On Thu, Aug 27, 2020 at 1:30 AM Changbin Du wrote: > > On Tue, Aug 25, 2020 at 02:34:34PM -0700, Randy Dunlap wrote: > > On 8/25/20 2:12 PM, Randy Dunlap wrote: > > >> On Tue, Aug 25, 2020 at 2:13 PM Randy Dunlap > > >> wrote: > > >>> > > >>> so intel_rapl_perf is listed in your lsmod.cfg file:

Re: [PATCH 4.4 00/61] 4.4.235-rc2 review

2020-09-02 Thread Guenter Roeck
On Wed, Sep 02, 2020 at 09:48:35AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.235 release. > There are 61 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: [RFC PATCH] tools/x86: add kcpuid tool to show raw CPU features

2020-09-02 Thread peterz
On Thu, Aug 27, 2020 at 03:49:03PM +0800, Feng Tang wrote: > End users frequently want to know what features their processor > supports, independent of what the kernel supports. > > /proc/cpuinfo is great. It is omnipresent and since it is provided by > the kernel it is always as up to date as the

Re: [PATCH] drm/sun4i: Fix DE2 YVU handling

2020-09-02 Thread Jernej Škrabec
Dne sreda, 02. september 2020 ob 09:01:17 CEST je Roman Stratiienko napisal(a): > ср, 2 сент. 2020 г. в 00:58, Jernej Skrabec : > > Function sun8i_vi_layer_get_csc_mode() is supposed to return CSC mode > > but due to inproper return type (bool instead of u32) it returns just 0 > > or 1. Colors are

Re: [PATCH 4.9 00/78] 4.9.235-rc1 review

2020-09-02 Thread Guenter Roeck
On Tue, Sep 01, 2020 at 05:09:36PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.235 release. > There are 78 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 v2] power: supply: charger-manager: Fix info message in check_charging_duration()

2020-09-02 Thread Colin Ian King
On 02/09/2020 17:43, Gustavo A. R. Silva wrote: > On Wed, Sep 02, 2020 at 09:29:31AM -0700, Randy Dunlap wrote: >> On 9/2/20 9:23 AM, Gustavo A. R. Silva wrote: >>> A few months ago, commit e132fc6bb89b ("power: supply: charger-manager: >>> Make decisions focussed on battery status") >>> changed t

Re: [PATCH 4.14 00/91] 4.14.196-rc1 review

2020-09-02 Thread Guenter Roeck
On Tue, Sep 01, 2020 at 05:09:34PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.196 release. > There are 91 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] kconfig: streamline_config.pl: check defined(ENV variable) before using it

2020-09-02 Thread Masahiro Yamada
On Thu, Aug 27, 2020 at 6:21 AM Randy Dunlap wrote: > > From: Randy Dunlap > > A user reported: > 'Use of uninitialized value $ENV{"LMC_KEEP"} in split at > ./scripts/kconfig/streamline_config.pl line 596.' > > so first check that $ENV{LMC_KEEP} is defined before trying > to use it. > > Fixes: c

Re: [PATCH 4.19 000/125] 4.19.143-rc1 review

2020-09-02 Thread Guenter Roeck
On Tue, Sep 01, 2020 at 05:09:15PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.143 release. > There are 125 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kn

Re: [PATCH 5.4 000/213] 5.4.62-rc2 review

2020-09-02 Thread Guenter Roeck
On Wed, Sep 02, 2020 at 09:48:59AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.62 release. > There are 213 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 0/4] kselftests/arm64: add PAuth tests

2020-09-02 Thread Dave Martin
On Fri, Aug 28, 2020 at 02:16:02PM +0100, Boyan Karatotev wrote: > Pointer Authentication (PAuth) is a security feature introduced in ARMv8.3. > It introduces instructions to sign addresses and later check for potential > corruption using a second modifier value and one of a set of keys. The > sign

Re: [PATCH 1/4] kselftests/arm64: add a basic Pointer Authentication test

2020-09-02 Thread Dave Martin
On Fri, Aug 28, 2020 at 02:16:03PM +0100, Boyan Karatotev wrote: > PAuth signs and verifies return addresses on the stack. It does so by > inserting a Pointer Authentication code (PAC) into some of the unused top > bits of an address. This is achieved by adding paciasp/autiasp instructions > at the

Re: ptrace_syscall_32 is failing

2020-09-02 Thread Andy Lutomirski
On Wed, Sep 2, 2020 at 1:29 AM Thomas Gleixner wrote: > > On Tue, Sep 01 2020 at 17:09, Andy Lutomirski wrote: > > On Tue, Sep 1, 2020 at 4:50 PM Thomas Gleixner wrote: > >> > I think that they almost work for x86, but not quite as > >> > indicated by this bug. Even if we imagine we can somehow

Re: [PATCH 6/7] arm64: dts: ti: k3-*: Use generic adc for node names

2020-09-02 Thread Suman Anna
On 9/1/20 5:30 PM, Nishanth Menon wrote: > Use adc@ naming for nodes following standard conventions of device > tree (section 2.2.2 Generic Names recommendation in [1]). > > [1] https://github.com/devicetree-org/devicetree-specification/tree/v0.3 > > Suggested-by: Suman Anna > Signed-off-by: Nis

Re: [PATCH 5.8 000/253] 5.8.6-rc2 review

2020-09-02 Thread Guenter Roeck
On Wed, Sep 02, 2020 at 09:49:11AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.8.6 release. > There are 253 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: [RFC PATCH] tools/x86: add kcpuid tool to show raw CPU features

2020-09-02 Thread Borislav Petkov
On Wed, Sep 02, 2020 at 09:25:17AM -0700, Dave Hansen wrote: > Ugh. I hate text parsers. But, I do see what you're getting at. That's why it'll be a simple one. Nothing fancy. I'm hoping the final version would be somewhat readable to humans too. > If we do this, I bet having each value on its

Re: [RFC PATCH] tools/x86: add kcpuid tool to show raw CPU features

2020-09-02 Thread Dave Hansen
On 9/2/20 9:45 AM, pet...@infradead.org wrote: > On Thu, Aug 27, 2020 at 03:49:03PM +0800, Feng Tang wrote: >> End users frequently want to know what features their processor >> supports, independent of what the kernel supports. >> >> /proc/cpuinfo is great. It is omnipresent and since it is provid

Re: [PATCH V2 6/6] perf intel-pt: Document snapshot control command

2020-09-02 Thread Alexey Budankov
On 01.09.2020 12:37, Adrian Hunter wrote: > The documentation descibes snapshot mode. Update it to include the new > snapshot control command. > > Signed-off-by: Adrian Hunter > --- > tools/perf/Documentation/perf-intel-pt.txt | 23 +++--- > 1 file changed, 20 insertions(+), 3

Re: [PATCH 7/7] arm64: dts: ti: k3-*: Fix up node_name_chars_strict errors

2020-09-02 Thread Suman Anna
On 9/1/20 5:30 PM, Nishanth Menon wrote: > Building with W=2 throws up a bunch of easy to fixup errors.. > node_name_chars_strict is one of them.. Knock those out. > > Signed-off-by: Nishanth Menon > --- > arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 6 +++--- > arch/arm64/boot/dts/ti/k3-am

Re: [RFC PATCH] tools/x86: add kcpuid tool to show raw CPU features

2020-09-02 Thread Borislav Petkov
On Wed, Sep 02, 2020 at 06:45:38PM +0200, pet...@infradead.org wrote: > We really should clear the CPUID bits when the kernel explicitly > disables things. Actually, you want to *disable* the functionality behind it by clearing a bit in CR4 - and yes, not all features have CR4 bits - so that luser

Re: [PATCH 5/7] arm64: dts: ti: k3-am65-wakeup: Use generic temperature-sensor for node name

2020-09-02 Thread Suman Anna
On 9/1/20 5:30 PM, Nishanth Menon wrote: > Use temperature-sensor@ naming for nodes following standard conventions of > device > tree (section 2.2.2 Generic Names recommendation in [1]). > > [1] https://github.com/devicetree-org/devicetree-specification/tree/v0.3 > > Suggested-by: Suman Anna >

Re: [PATCH v2] rpmsg: Avoid double-free in mtk_rpmsg_register_device

2020-09-02 Thread Mathieu Poirier
On Wed, Sep 02, 2020 at 07:07:15PM +0800, Nicolas Boichat wrote: > If rpmsg_register_device fails, it will call > mtk_rpmsg_release_device which already frees mdev. > > Fixes: 7017996951fde84 ("rpmsg: add rpmsg support for mt8183 SCP.") The SHA should be 12 characters instead of 15. With that:

Re: [PATCH] drm/sun4i: Fix DE2 YVU handling

2020-09-02 Thread Roman Stratiienko
ср, 2 сент. 2020 г. в 19:46, Jernej Škrabec : > > Dne sreda, 02. september 2020 ob 09:01:17 CEST je Roman Stratiienko > napisal(a): > > ср, 2 сент. 2020 г. в 00:58, Jernej Skrabec : > > > Function sun8i_vi_layer_get_csc_mode() is supposed to return CSC mode > > > but due to inproper return type (bo

Re: [PATCH 1/2] phy: marvell: comphy: Convert internal SMCC firmware return codes to errno

2020-09-02 Thread Pali Rohár
On Wednesday 02 September 2020 18:13:28 Andrew Lunn wrote: > On Wed, Sep 02, 2020 at 04:43:43PM +0200, Pali Rohár wrote: > > Driver ->power_on and ->power_off callbacks leaks internal SMCC firmware > > return codes to phy caller. This patch converts SMCC error codes to > > standard linux errno code

  1   2   3   4   5   6   7   8   9   10   >