Re: [PATCH v2] media: v4l2-ctrl: add control for long term reference.

2020-08-27 Thread dikshita
Hi Hans, Thanks for your comments. On 2020-08-25 15:34, Hans Verkuil wrote: On 14/08/2020 07:29, Dikshita Agarwal wrote: LTR (Long Term Reference) frames are the frames that are encoded sometime in the past and stored in the DPB buffer list to be used as reference to encode future frames. This

Re: [PATCH v2 1/2] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-27 Thread Heikki Krogerus
On Thu, Aug 27, 2020 at 12:50:58PM +0800, cy_huang wrote: > From: ChiYuan Huang > > Mediatek MT6360 is a multi-functional IC that includes USB Type-C. > It works with Type-C Port Controller Manager to provide USB PD > and USB Type-C functionalities. > > Add fix to Prevent the race condition from

Re: [PATCH v2] irqchip/eznps: Fix build error for !ARC700 builds

2020-08-27 Thread Sebastian Andrzej Siewior
On 2020-08-25 11:05:18 [-0700], Vineet Gupta wrote: > eznps driver is supposed to be platform independent however it ends up > including stuff from inside arch/arc headers leading to rand config > build errors. > > Fix this specific reported error as quick hacks as the correct fixes are > too much

Re: [PATCH v18 00/32] per memcg lru_lock

2020-08-27 Thread Hugh Dickins
On Mon, 24 Aug 2020, Hugh Dickins wrote: > On Mon, 24 Aug 2020, Andrew Morton wrote: > > On Mon, 24 Aug 2020 20:54:33 +0800 Alex Shi > > wrote: > > > > > The new version which bases on v5.9-rc2. > > Well timed and well based, thank you Alex. Particulary helpful to me, > to include those that a

Re: [PATCH v2] perf expr: Force encapsulation on expr_id_data

2020-08-27 Thread kajoljain
On 8/26/20 9:27 PM, Jiri Olsa wrote: > On Wed, Aug 26, 2020 at 08:30:55AM -0700, Ian Rogers wrote: >> This patch resolves some undefined behavior where variables in >> expr_id_data were accessed (for debugging) without being defined. To >> better enforce the tagged union behavior, the struct is

Re: [PATCH 8/9] rpmsg: virtio: use rpmsg_ns driver to manage ns announcement

2020-08-27 Thread Arnaud POULIQUEN
On 8/27/20 12:10 AM, Mathieu Poirier wrote: > I had another very long look at this... I haven't had the time to look in > your > next serie so the end result is not yet clear in my head. But... > > In __rpmsg_create_channel() the new code is testing for VIRTIO_RPMSG_F_NS in > order to alloca

Re: [PATCH v3 5/7] libnvdimm: reduce an unnecessary if branch in nd_region_activate()

2020-08-27 Thread Leizhen (ThunderTown)
I will drop this patch, because I have a doubt: Suppose the nd_region->ndr_mappings is 4, and for each nd_region->mapping[], the value of num_flush is "0, 0, 4, 0", so the flush_data_size is "1 + 1 + 5 + 1", * sizeof(void *). But in ndrd_get_flush_wpq() or ndrd_set_flush_wpq(), the expression is "

Re: [RESEND PATCH v3 5/8] mtd: spi-nor: cadence-quadspi: Handle probe deferral while requesting DMA channel

2020-08-27 Thread Vignesh Raghavendra
On 8/26/20 7:01 PM, Jan Kiszka wrote: > On 26.08.20 14:18, Vignesh Raghavendra wrote: >> On 8/26/20 3:42 PM, Jan Kiszka wrote: >>> On 24.08.20 19:20, Jan Kiszka wrote: On 24.08.20 14:49, Jan Kiszka wrote: > On 24.08.20 13:45, Vignesh Raghavendra wrote: >> [...] >> Also, there seems

[tip:x86/fsgsbase] BUILD SUCCESS 1b9abd1755ad947d7c9913e92e7837b533124c90

2020-08-27 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/fsgsbase branch HEAD: 1b9abd1755ad947d7c9913e92e7837b533124c90 selftests/x86/fsgsbase: Test PTRACE_PEEKUSER for GSBASE with invalid LDT GS elapsed time: 722m configs tested: 149 configs skipped: 9 The following conf

Re: [PATCH 16/18] staging/media/tegra-vde: Clean up IOMMU workaround

2020-08-27 Thread Dmitry Osipenko
24.08.2020 17:01, Robin Murphy пишет: ... >> Robin, thank you very much for the clarifications! >> >> In accordance to yours comments, this patch can't be applied until Tegra >> SMMU will support IOMMU_DOMAIN_IDENTITY and implement def_domain_type() >> callback that returns IOMMU_DOMAIN_IDENTITY fo

[tip:master] BUILD SUCCESS d444af79439c392efe256742fb801a14f0793a71

2020-08-27 Thread kernel test robot
onfig-a016-20200826 i386 randconfig-a015-20200826 i386 randconfig-a014-20200826 i386 randconfig-a013-20200827 i386 randconfig-a012-20200827 i386 randconfig-a011-20200827 i386 randconfig-a016-202

[PATCH] dt-bindings: regulator: Convert mp886x to json-schema

2020-08-27 Thread Jisheng Zhang
Convert the mp886x binding to DT schema format using json-schema. Signed-off-by: Jisheng Zhang --- .../devicetree/bindings/regulator/mp886x.txt | 31 -- .../bindings/regulator/mps,mp886x.yaml| 61 +++ 2 files changed, 61 insertions(+), 31 deletions(-) delete mod

[PATCH 2/2] EDAC/ti: Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: 86a18ee21e5e ("EDAC, ti: Add support for TI keystone and DRA7xx EDAC") Signed-off-by: Krzysztof Kozlowski --- drivers/edac/ti_edac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) dif

[PATCH 1/2] EDAC/aspeed: Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: 9b7e6242ee4e ("EDAC, aspeed: Add an Aspeed AST2500 EDAC driver") Signed-off-by: Krzysztof Kozlowski --- drivers/edac/aspeed_edac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) dif

Re: (EXT) Re: (EXT) Re: [PATCH] of: skip disabled CPU nodes

2020-08-27 Thread Matthias Schiffer
On Wed, 2020-08-26 at 13:26 -0600, Rob Herring wrote: > On Wed, Aug 26, 2020 at 8:47 AM Frank Rowand > wrote: > > > > Hi Rob, > > > > On 2020-08-26 08:54, Matthias Schiffer wrote: > > > On Wed, 2020-08-26 at 08:01 -0500, Frank Rowand wrote: > > > > On 2020-08-26 07:02, Matthias Schiffer wrote: >

Re: [PATCH v2 1/2] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-27 Thread 啟原黃
Heikki Krogerus 於 2020年8月27日 週四 下午3:00寫道: > > On Thu, Aug 27, 2020 at 12:50:58PM +0800, cy_huang wrote: > > From: ChiYuan Huang > > > > Mediatek MT6360 is a multi-functional IC that includes USB Type-C. > > It works with Type-C Port Controller Manager to provide USB PD > > and USB Type-C function

[PATCH 2/2] drm/tve200: Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: 179c02fe90a4 ("drm/tve200: Add new driver for TVE200") Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/tve200/tve200_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 1/2] drm/mcde: Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: 5fc537bfd000 ("drm/mcde: Add new driver for ST-Ericsson MCDE") Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mcde/mcde_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH v4 1/3] io_uring: use an enumeration for io_uring_register(2) opcodes

2020-08-27 Thread Stefano Garzarella
On Wed, Aug 26, 2020 at 01:52:38PM -0600, Andreas Dilger wrote: > On Aug 26, 2020, at 1:43 PM, Kees Cook wrote: > > > > On Thu, Aug 13, 2020 at 05:32:52PM +0200, Stefano Garzarella wrote: > >> The enumeration allows us to keep track of the last > >> io_uring_register(2) opcode available. > >> >

Re: [PATCH v4 2/3] io_uring: add IOURING_REGISTER_RESTRICTIONS opcode

2020-08-27 Thread Stefano Garzarella
On Wed, Aug 26, 2020 at 12:46:24PM -0700, Kees Cook wrote: > On Thu, Aug 13, 2020 at 05:32:53PM +0200, Stefano Garzarella wrote: > > +/* > > + * io_uring_restriction->opcode values > > + */ > > +enum { > > + /* Allow an io_uring_register(2) opcode */ > > + IORING_RESTRICTION_REGISTER_OP, > > +

[PATCH] jfs: Fix memleak in dbAdjCtl

2020-08-27 Thread Dinghao Liu
When dbBackSplit() fails, mp should be released to prevent memleak. It's the same when dbJoin() fails. Signed-off-by: Dinghao Liu --- fs/jfs/jfs_dmap.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fs/jfs/jfs_dmap.c b/fs/jfs/jfs_dmap.c index 7dfcab2a2da6..619deeeb3d

Re: fsl_espi errors on v5.7.15

2020-08-27 Thread Nicholas Piggin
Excerpts from Heiner Kallweit's message of August 26, 2020 4:38 pm: > On 26.08.2020 08:07, Chris Packham wrote: >> >> On 26/08/20 1:48 pm, Chris Packham wrote: >>> >>> On 26/08/20 10:22 am, Chris Packham wrote: On 25/08/20 7:22 pm, Heiner Kallweit wrote: > I've been staring at

Re: [PATCH 2/2] EDAC/ti: Fix handling of platform_get_irq() error

2020-08-27 Thread Tero Kristo
On 27/08/2020 10:07, Krzysztof Kozlowski wrote: platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: 86a18ee21e5e ("EDAC, ti: Add support for TI keystone and DRA7xx EDAC") Signed-off-by: Krzysztof Kozlowski Reviewed-by: Tero Kristo --- dr

[v2 PATCH] crypto: af_alg - Work around empty control messages without MSG_MORE

2020-08-27 Thread Herbert Xu
On Thu, Aug 27, 2020 at 08:40:01AM +0200, Ard Biesheuvel wrote: > > It is part of iwd - just build that and run 'make check' > > With your patch applied, the occurrence of sendmsg() in > operate_cipher() triggers the warn_once(), but if I add MSG_MORE > there, the test hangs. I see. This is a di

Re: [PATCH] usb: atm: don't use snprintf() for sysfs attrs

2020-08-27 Thread Greg Kroah-Hartman
On Thu, Aug 27, 2020 at 08:42:06AM +0200, Rasmus Villemoes wrote: > On 25/08/2020 00.23, Alex Dewar wrote: > > kernel/cpu.c: don't use snprintf() for sysfs attrs > > > > As per the documentation (Documentation/filesystems/sysfs.rst), > > snprintf() should not be used for formatting values returned

Re: [PATCH] compiler-clang: add build check for clang 10.0.1

2020-08-27 Thread Sedat Dilek
On Wed, Aug 26, 2020 at 11:01 PM Kees Cook wrote: > > On Wed, Aug 26, 2020 at 01:14:19PM -0700, Nick Desaulniers wrote: > > During Plumbers 2020, we voted to just support the latest release of > > Clang for now. Add a compile time check for this. > > > > Older clang's may work, but we will likely

Re: [PATCH v4 0/2] staging: android: Remove BUG/BUG_ON from ion

2020-08-27 Thread Christoph Hellwig
On Tue, Aug 25, 2020 at 08:52:29AM +0200, Greg Kroah-Hartman wrote: > On Tue, Aug 25, 2020 at 07:47:29AM +0100, Christoph Hellwig wrote: > > On Fri, Aug 21, 2020 at 06:27:04PM +0300, Tomer Samara wrote: > > > Remove BUG/BUG_ON from androind/ion > > > > Please just remove ion. It has been rejected

Re: [PATCH v4 3/3] io_uring: allow disabling rings during the creation

2020-08-27 Thread Stefano Garzarella
On Wed, Aug 26, 2020 at 12:50:31PM -0700, Kees Cook wrote: > On Thu, Aug 13, 2020 at 05:32:54PM +0200, Stefano Garzarella wrote: > > This patch adds a new IORING_SETUP_R_DISABLED flag to start the > > rings disabled, allowing the user to register restrictions, > > buffers, files, before to start pr

Re: [PATCH] compiler-clang: add build check for clang 10.0.1

2020-08-27 Thread Sedat Dilek
On Wed, Aug 26, 2020 at 11:26 PM Nathan Chancellor wrote: > > On Wed, Aug 26, 2020 at 11:17:34PM +0200, Miguel Ojeda wrote: > > On Wed, Aug 26, 2020 at 10:14 PM Nick Desaulniers > > wrote: > > > > > > During Plumbers 2020, we voted to just support the latest release of > > > Clang for now. Add a

[PATCH V2] scsi: ufs-pci: Add LTR support for Intel controllers

2020-08-27 Thread Adrian Hunter
Intel host controllers support the setting of latency tolerance. Accordingly, implement the PM QoS ->set_latency_tolerance() callback. The raw register values are also exposed via debugfs. Signed-off-by: Adrian Hunter --- Changes in V2: Put debugfs code altogether drivers/scsi/ufs/u

[PATCH 2/3] dt-bindings: remoteproc: stm32_rproc: update for firmware synchronization

2020-08-27 Thread Arnaud Pouliquen
Add new properties description used to attach to a pre-loaded firmware according to the commit 9276536f455b3 ("remoteproc: stm32: Parse syscon that will manage M4 synchronisation") which updates the driver part. Signed-off-by: Arnaud Pouliquen --- .../bindings/remoteproc/st,stm32-rproc.yaml |

[PATCH 1/3] dt-bindings: arm: stm32: Add compatible for syscon tamp node

2020-08-27 Thread Arnaud Pouliquen
Since commit ad440432d1f9 ("dt-bindings: mfd: Ensure 'syscon' has a more specific compatible") It is required to provide at least 2 compatibles string for syscon node. This patch documents the new compatible for stm32 SoC to support TAMP registers access. Signed-off-by: Arnaud Pouliquen --- Docu

[PATCH 3/3] ARM: dts: stm32: update stm32mp151 for remote proc synchronisation support

2020-08-27 Thread Arnaud Pouliquen
Two backup registers are used to store the Cortex-M4 state and the resource table address. Declare the tamp node and add associated properties in m4_rproc node to allow Linux to attach to a firmware loaded by the first boot stages. Associated driver implementation is available in commit 9276536f45

[PATCH 0/3] ARM: stm32: add DT properties for remote proc synchronisation

2020-08-27 Thread Arnaud Pouliquen
This series implements the DT part associated to the commit 9276536f455b3 ("remoteproc: stm32: Parse syscon that will manage M4 synchronisation") Arnaud Pouliquen (3): dt-bindings: arm: stm32: Add compatible for syscon tamp node dt-bindings: remoteproc: stm32_rproc: update for firmware syn

[PATCH v10 3/4] media: docs: add glossary.rst with common terms used at V4L2 spec

2020-08-27 Thread Mauro Carvalho Chehab
Add a glossary of terms used within the media userspace API documentation, as several concepts are complex enough to cause misunderstandings. Signed-off-by: Mauro Carvalho Chehab --- .../userspace-api/media/glossary.rst | 216 ++ Documentation/userspace-api/media/index.r

[PATCH v10 4/4] media: open.rst: document mc-centric and video-node-centric

2020-08-27 Thread Mauro Carvalho Chehab
When we added support for omap3, back in 2010, we added a new type of V4L2 devices that aren't fully controlled via the V4L2 device node. Yet, we have never clearly documented in the V4L2 specification the differences between the two types. Let's document them based on the the current implementat

[PATCH v10 2/4] media: open.rst: remove the minor number range

2020-08-27 Thread Mauro Carvalho Chehab
minor numbers use to range between 0 to 255, but that was changed a long time ago. While it still applies when CONFIG_VIDEO_FIXED_MINOR_RANGES, when the minor number is dynamically allocated, this may not be true. In any case, this is not relevant, as udev will take care of it. So, remove this use

[PATCH v10 1/4] media: open.rst: better document device node naming

2020-08-27 Thread Mauro Carvalho Chehab
Right now, only kAPI documentation describes the device naming. However, such description is needed at the uAPI too. Add it, and describe how to get an unique identifier for a given device. Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- .../userspace-api/media/v4l/open.rst

[PATCH v10 0/4] Add a glossary for the media subsystem

2020-08-27 Thread Mauro Carvalho Chehab
There are too many technical terms at the media subsystem, and sometimes the same thing is refered differently at the documentation and on the ML and IRC discussions. Let's add a glossary to the uAPI documentation, in order to start using a common vocabulary at the subsystem's discussion and to le

Re: [PATCH] dma-pool: Fix an uninitialized variable bug in atomic_pool_expand()

2020-08-27 Thread Christoph Hellwig
Thanks, applied to the dma-mapping for-linux tree.

Re: [PATCH] compiler-clang: add build check for clang 10.0.1

2020-08-27 Thread Sedat Dilek
On Wed, Aug 26, 2020 at 10:14 PM Nick Desaulniers wrote: > > During Plumbers 2020, we voted to just support the latest release of > Clang for now. Add a compile time check for this. > > Older clang's may work, but we will likely drop workarounds for older > versions. > > Link: https://github.com/

Re: [PATCH v4 0/3] io_uring: add restrictions to support untrusted applications and guests

2020-08-27 Thread Stefano Garzarella
On Wed, Aug 26, 2020 at 12:40:24PM -0700, Kees Cook wrote: > On Wed, Aug 26, 2020 at 10:47:36AM -0600, Jens Axboe wrote: > > On 8/25/20 9:20 AM, Stefano Garzarella wrote: > > > Hi Jens, > > > this is a gentle ping. > > > > > > I'll respin, using memdup_user() for restriction registration. > > > I'

[PATCH 1/4] Input: ep93xx_keypad - Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: 60214f058f44 ("Input: ep93xx_keypad - update driver to new core support") Signed-off-by: Krzysztof Kozlowski --- drivers/input/keyboard/ep93xx_keypad.c | 4 ++-- 1 file changed, 2 insertions(+)

Re: [PATCH 01/19] char_dev: replace cdev_map with an xarray

2020-08-27 Thread Hannes Reinecke
On 8/26/20 8:24 AM, Christoph Hellwig wrote: > None of the complicated overlapping regions bits of the kobj_map are > required for the character device lookup, so just a trivial xarray > instead. > > Signed-off-by: Christoph Hellwig > --- > fs/char_dev.c | 94 +---

[PATCH 2/4] Input: omap4-keypad - Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: f3a1ba60dbdb ("Input: omap4-keypad - use platform device helpers") Signed-off-by: Krzysztof Kozlowski --- drivers/input/keyboard/omap4-keypad.c | 6 ++ 1 file changed, 2 insertions(+), 4 de

[PATCH 3/4] Input: twl4030_keypad - Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: 7abf38d6d13c ("Input: twl4030-keypad - add device tree support") Signed-off-by: Krzysztof Kozlowski --- drivers/input/keyboard/twl4030_keypad.c | 6 ++ 1 file changed, 2 insertions(+), 4 de

[PATCH 4/4] Input: sun4i-ps2 - Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: e443631d20f5 ("Input: serio - add support for Alwinner A10/A20 PS/2 controller") Signed-off-by: Krzysztof Kozlowski --- drivers/input/serio/sun4i-ps2.c | 5 ++--- 1 file changed, 2 insertions(

Re: [PATCH 07/19] ide: remove ide_{,un}register_region

2020-08-27 Thread Hannes Reinecke
On 8/26/20 8:24 AM, Christoph Hellwig wrote: > There is no need to ever register the fake gendisk used for ide-tape. > > Signed-off-by: Christoph Hellwig > --- > drivers/ide/ide-probe.c | 32 > drivers/ide/ide-tape.c | 2 -- > include/linux/ide.h | 3 --- >

[PATCH] maiblox: mediatek: Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: 623a6143a845 ("mailbox: mediatek: Add Mediatek CMDQ driver") Signed-off-by: Krzysztof Kozlowski --- drivers/mailbox/mtk-cmdq-mailbox.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-

Re: [PATCH] maiblox: mediatek: Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
On Thu, 27 Aug 2020 at 09:26, Krzysztof Kozlowski wrote: > > platform_get_irq() returns -ERRNO on error. In such case comparison > to 0 would pass the check. > > Fixes: 623a6143a845 ("mailbox: mediatek: Add Mediatek CMDQ driver") > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mailbox/mtk-

Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline

2020-08-27 Thread Pavel Machek
Hi! > >> It's a Thinkpad T520. > > > > Oh, so this is a 64-bit machine? Yeah, that patch to flush vmalloc > > ranges won't make any difference on x86-64. > > > > Or are you for some reason running a 32-bit kernel on that thing? Have > > you tried building a 64-bit one (user-space can be 32-bit,

[PATCH] security/keys: use kvfree_sensitive()

2020-08-27 Thread Denis Efremov
Use kvfree_sensitive() instead of open-coding it. Signed-off-by: Denis Efremov --- security/keys/big_key.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/security/keys/big_key.c b/security/keys/big_key.c index 691347dea3c1..d17e5f09eeb8 100644 --- a/security/keys/bi

Re: [PATCH 2/2] ARM: dts: imx6qdl: tqma6: minor fixes

2020-08-27 Thread Matthias Schiffer
On Wed, 2020-08-26 at 10:49 -0300, Fabio Estevam wrote: > On Wed, Aug 26, 2020 at 10:13 AM Matthias Schiffer > wrote: > > > Using GPIOs for chipselect would require different pinmuxing. Also, > > why > > use GPIOs, when the SPI controller has this built in? > > In the initial chips with the ECSP

[PATCH v2] maiblox: mediatek: Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case casting to u32 and comparing to 0 would pass the check. Fixes: 623a6143a845 ("mailbox: mediatek: Add Mediatek CMDQ driver") Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Correct u32->int, 2. Fix left-over '!'. --- drivers/

[PATCH v2 25/32] wireless: ath: wil6210: wmi: Fix formatting and demote non-conforming function headers

2020-08-27 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/wmi.c:52: warning: Incorrect use of kernel-doc format: * Addressing - theory of operations drivers/net/wireless/ath/wil6210/wmi.c:70: warning: Incorrect use of kernel-doc format: * @sparrow_fw_mapping provides

Re: [PATCH 5.8 00/16] 5.8.5-rc1 review

2020-08-27 Thread Greg Kroah-Hartman
On Wed, Aug 26, 2020 at 01:58:25PM -0700, Guenter Roeck wrote: > On 8/26/20 5:02 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.5 release. > > There are 16 patches in this series, all will be posted as a response > > to this one. If anyone has any issues

[tip: x86/urgent] x86/irq: Unbreak interrupt affinity setting

2020-08-27 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: e027f799cdd70400c5485b1a54f482255985 Gitweb: https://git.kernel.org/tip/e027f799cdd70400c5485b1a54f482255985 Author:Thomas Gleixner AuthorDate:Wed, 26 Aug 2020 22:21:44 +02:00 Commit

[tip: x86/urgent] x86/hotplug: Silence APIC only after all interrupts are migrated

2020-08-27 Thread tip-bot2 for Ashok Raj
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 52d6b926aabc47643cd910c85edb262b7f44c168 Gitweb: https://git.kernel.org/tip/52d6b926aabc47643cd910c85edb262b7f44c168 Author:Ashok Raj AuthorDate:Wed, 26 Aug 2020 21:12:10 -07:00 Committer:

[PATCH] memory: fsl-corenet-cf: Fix handling of platform_get_irq() error

2020-08-27 Thread Krzysztof Kozlowski
platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: 54afbec0d57f ("memory: Freescale CoreNet Coherency Fabric error reporting driver") Signed-off-by: Krzysztof Kozlowski --- drivers/memory/fsl-corenet-cf.c | 6 ++ 1 file changed, 2 insertio

[PATCH v2 26/32] wireless: ath: wil6210: interrupt: Demote comment header which is clearly not kernel-doc

2020-08-27 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/interrupt.c:652: warning: Function parameter or member 'irq' not described in 'wil6210_thread_irq' drivers/net/wireless/ath/wil6210/interrupt.c:652: warning: Function parameter or member 'cookie' not described in

Printing bitfields in the kernel (Re: [PATCH] drm: Parse Colorimetry data block from EDID)

2020-08-27 Thread Pekka Paalanen
On Wed, 26 Aug 2020 22:23:28 +0800 Algea Cao wrote: > CEA 861.3 spec adds colorimetry data block for HDMI. > Parsing the block to get the colorimetry data from > panel. > > Signed-off-by: Algea Cao > --- > > drivers/gpu/drm/drm_edid.c | 45 + > include/drm

Re: Linux 5.8.5

2020-08-27 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 9a7a416f2d84..f47073a3b474 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 8 -SUBLEVEL = 4 +SUBLEVEL = 5 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/drivers/net/ethernet/amazon

[PATCH v2 27/32] wireless: ath: wil6210: txrx: Demote obvious abuse of kernel-doc

2020-08-27 Thread Lee Jones
None of these headers provide any parameter documentation. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/txrx.c:259: warning: Function parameter or member 'wil' not described in 'wil_vring_alloc_skb' drivers/net/wireless/ath/wil6210/txrx.c:259: warning: Func

Linux 5.8.5

2020-08-27 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.8.5 kernel. All users of the 5.8 kernel series must upgrade. The updated 5.8.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.8.y and can be browsed at the normal kernel.org git web browser:

Linux 5.7.19

2020-08-27 Thread Greg Kroah-Hartman
-- Note, this is the LAST 5.7.y kernel to be released. This release series is now end-of-life, please move to 5.8.y at this point in time. I'm announcing the release of the 5.7.19 kernel. All users of the 5.7 kernel series must upgrade. The updated 5.7.y git tree can be fou

[PATCH v2 28/32] wireless: ath: wil6210: txrx_edma: Demote comments which are clearly not kernel-doc

2020-08-27 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/txrx_edma.c:155: warning: Function parameter or member 'wil' not described in 'wil_ring_alloc_skb_edma' drivers/net/wireless/ath/wil6210/txrx_edma.c:155: warning: Function parameter or member 'ring' not described

Re: Linux 5.7.19

2020-08-27 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index b56456c45c97..b60ba59cfb19 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 7 -SUBLEVEL = 18 +SUBLEVEL = 19 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/arch/powerpc/kernel/cpu_s

Re: [PATCH 1/3 v3] mfd: ipaq-micro: Fix platform_get_irq's error checking

2020-08-27 Thread Krzysztof Kozlowski
On Sun, 19 Nov 2017 at 05:28, Arvind Yadav wrote: > > The platform_get_irq() function returns negative if an error occurs. > zero or positive number on success. platform_get_irq() error checking > for zero is not correct. > > Signed-off-by: Arvind Yadav > --- > changes in v2 : > Add

Re: [PATCH v2] m68k: Replace HTTP links with HTTPS ones

2020-08-27 Thread Geert Uytterhoeven
On Wed, Aug 26, 2020 at 8:52 PM Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn't contain

[PATCH v2 30/32] wireless: ath: wil6210: pmc: Demote a few nonconformant kernel-doc function headers

2020-08-27 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/pmc.c:43: warning: Function parameter or member 'wil' not described in 'wil_pmc_alloc' drivers/net/wireless/ath/wil6210/pmc.c:43: warning: Function parameter or member 'num_descriptors' not described in 'wil_pmc_

[PATCH v2 31/32] wireless: ath: wil6210: wil_platform: Demote kernel-doc header to standard comment block

2020-08-27 Thread Lee Jones
There has been no attempt to document any of the function parameters here. Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/wil_platform.c:27: warning: Function parameter or member 'dev' not described in 'wil_platform_init' drivers/net/wireless/ath/wil6210/wil_

Re: [v2 PATCH] crypto: af_alg - Work around empty control messages without MSG_MORE

2020-08-27 Thread Ard Biesheuvel
On Thu, 27 Aug 2020 at 09:15, Herbert Xu wrote: > > On Thu, Aug 27, 2020 at 08:40:01AM +0200, Ard Biesheuvel wrote: > > > > It is part of iwd - just build that and run 'make check' > > > > With your patch applied, the occurrence of sendmsg() in > > operate_cipher() triggers the warn_once(), but if

Re: [PATCH 12/30] wireless: ath: wil6210: wmi: Correct misnamed function parameter 'ptr_'

2020-08-27 Thread Lee Jones
> > Are you applying them in order? > > It may be affected by: > > wireless: ath: wil6210: wmi: Fix formatting and demote non-conforming > function headers > > I'll also rebase onto the latest -next and resubmit. I just rebased all 3 sets onto the latest -next (next-20200827) without issue. Not sure what problem you're seeing. Did you apply the first set before attempting the second? -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog

[PATCH] crypto: sun8i-ss - remove redundant memzero_explicit()

2020-08-27 Thread Denis Efremov
Remove redundant memzero_explicit() in sun8i_ss_cipher() before calling kfree_sensitive(). kfree_sensitive() will zero the memory with memzero_explicit(). Signed-off-by: Denis Efremov --- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drive

Re: [PATCH 07/30] net: wireless: broadcom: b43: main: Add braces around empty statements

2020-08-27 Thread Kalle Valo
Lee Jones writes: > On Fri, 14 Aug 2020, Kalle Valo wrote: > >> Lee Jones writes: >> >> > On Fri, 14 Aug 2020, Kalle Valo wrote: >> > >> >> Lee Jones writes: >> >> >> >> > Fixes the following W=1 kernel build warning(s): >> >> > >> >> > drivers/net/wireless/broadcom/b43/main.c: In function

[PATCH] btrfs: ref-verify: Fix memleak in add_extent_data_ref

2020-08-27 Thread Dinghao Liu
When lookup_root_entry() fails, ref should be freed just like when insert_ref_entry() fails. Signed-off-by: Dinghao Liu --- fs/btrfs/ref-verify.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/btrfs/ref-verify.c b/fs/btrfs/ref-verify.c index 7f03dbe5b609..712f5cfde404 100644 --- a/fs/btr

Re: [PATCH 2/2] usb: dwc3: Add driver for Xilinx platforms

2020-08-27 Thread Chunfeng Yun
On Thu, 2020-08-27 at 00:14 +0530, Manish Narani wrote: > Add a new driver for supporting Xilinx platforms. This driver handles > the USB 3.0 PHY initialization and PIPE control & reset operations for > ZynqMP platforms. This also handles the USB 2.0 PHY initialization and > reset operations for Ve

Re: [PATCH v3 1/1] extcon: ptn5150: Set the VBUS and POLARITY property capability

2020-08-27 Thread Chanwoo Choi
On 8/27/20 3:51 PM, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Set the capability value of property for VBUS and POLARITY. > > Signed-off-by: Ramuthevar Vadivel Murugan > > --- > drivers/extcon/extcon-ptn5150.c | 7 +++ > 1 file changed, 7 insertions(+) > >

[gustavoars-linux:for-linus/kspp] BUILD SUCCESS 14fb4700629bc65efba8369644546a7edf64c81a

2020-08-27 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git for-linus/kspp branch HEAD: 14fb4700629bc65efba8369644546a7edf64c81a afs: Remove erroneous fallthough annotation elapsed time: 722m configs tested: 119 configs skipped: 6 The following configs have been built

Re: [PATCH] Documentation/powerpc: fix malformed table in syscall64-abi

2020-08-27 Thread Michael Ellerman
On Sun, 23 Aug 2020 17:31:16 -0700, Randy Dunlap wrote: > Fix malformed table warning in powerpc/syscall64-abi.rst by making > two tables and moving the headings. > > Documentation/powerpc/syscall64-abi.rst:53: WARNING: Malformed table. > Text in column margin in table line 2. > > === ===

Re: [PATCH] Revert "powerpc/powernv/idle: Replace CPU feature check with PVR check"

2020-08-27 Thread Michael Ellerman
On Wed, 26 Aug 2020 13:59:18 +0530, Pratik Rajesh Sampat wrote: > Cpuidle stop state implementation has minor optimizations for P10 > where hardware preserves more SPR registers compared to P9. > The current P9 driver works for P10, although does few extra > save-restores. P9 driver can provide the

Re: [patch V2 27/46] x86/xen: Rework MSI teardown

2020-08-27 Thread Jürgen Groß
On 26.08.20 13:16, Thomas Gleixner wrote: From: Thomas Gleixner X86 cannot store the irq domain pointer in struct device without breaking XEN because the irq domain pointer takes precedence over arch_*_msi_irqs() fallbacks. XENs MSI teardown relies on default_teardown_msi_irqs() which invokes

Re: [patch V2 28/46] x86/xen: Consolidate XEN-MSI init

2020-08-27 Thread Jürgen Groß
On 26.08.20 13:16, Thomas Gleixner wrote: From: Thomas Gleixner X86 cannot store the irq domain pointer in struct device without breaking XEN because the irq domain pointer takes precedence over arch_*_msi_irqs() fallbacks. To achieve this XEN MSI interrupt management needs to be wrapped into

Re: [PATCH] powerpc/32s: Fix module loading failure when VMALLOC_END is over 0xf0000000

2020-08-27 Thread Michael Ellerman
On Fri, 21 Aug 2020 07:15:25 + (UTC), Christophe Leroy wrote: > In is_module_segment(), when VMALLOC_END is over 0xf000, > ALIGN(VMALLOC_END, SZ_256M) has value 0. > > In that case, addr >= ALIGN(VMALLOC_END, SZ_256M) is always > true then is_module_segment() always returns false. > > Use

Re: [PATCH] video: fbdev: controlfb: Fix build for COMPILE_TEST=y && PPC_PMAC=n

2020-08-27 Thread Michael Ellerman
On Fri, 21 Aug 2020 20:49:10 +1000, Michael Ellerman wrote: > The build is currently broken, if COMPILE_TEST=y and PPC_PMAC=n: > > linux/drivers/video/fbdev/controlfb.c: In function > ‘control_set_hardware’: > linux/drivers/video/fbdev/controlfb.c:276:2: error: implicit declaration of >

Re: fix block device size update serialization v2

2020-08-27 Thread Christoph Hellwig
Jens, can you consider this for 5.9? It reliably fixes the reported hangs with nvme hotremoval that we've had for a few releases. On Sun, Aug 23, 2020 at 11:10:40AM +0200, Christoph Hellwig wrote: > Hi Jens, > > this series fixes how we update i_size for the block device inodes (and > thus the b

Re: [PATCH v2 03/11] sched,idle,rcu: Push rcu_idle deeper into the idle path

2020-08-27 Thread peterz
On Wed, Aug 26, 2020 at 09:24:19PM -0400, Joel Fernandes wrote: > On Wed, Aug 26, 2020 at 09:18:26PM -0400, Joel Fernandes wrote: > > On Fri, Aug 21, 2020 at 10:47:41AM +0200, Peter Zijlstra wrote: > > > Lots of things take locks, due to a wee bug, rcu_lockdep didn't notice > > > that the locking t

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

2020-08-27 Thread Feng Tang
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 kernel. But, it can be ambiguous about processor features which can

Re: [PATCH] remove comment about sparse not supporting __has_attribute

2020-08-27 Thread Miguel Ojeda
Hi Luc, On Tue, Aug 25, 2020 at 1:25 AM Luc Van Oostenryck wrote: > > Sparse supports __has_attribute() since 2018-08-31, so the comment > is not true anymore but more importantly is rather confusing. > > So remove it. > > Signed-off-by: Luc Van Oostenryck Thanks! Queuing it. Cheers, Miguel

Re: [PATCH 12/30] net: wireless: cisco: airo: Fix a myriad of coding style issues

2020-08-27 Thread Kalle Valo
Ondrej Zary writes: > On Monday 17 August 2020 20:27:06 Jesse Brandeburg wrote: >> On Mon, 17 Aug 2020 16:27:01 +0300 >> Kalle Valo wrote: >> >> > I was surprised to see that someone was using this driver in 2015, so >> > I'm not sure anymore what to do. Of course we could still just remove >>

Re: [PATCH] fix comment concerning GCC 4.6

2020-08-27 Thread Miguel Ojeda
Hi Luc, On Tue, Aug 25, 2020 at 1:25 AM Luc Van Oostenryck wrote: > > GCC 4.6 is not supported anymore, so remove a reference to it, > leaving just the part about version prior GCC 5. > > Signed-off-by: Luc Van Oostenryck Queueing this one too, thanks. Cheers, Miguel

Re: [RFC 0/3] cpufreq: cppc: Add support for frequency invariance

2020-08-27 Thread Viresh Kumar
On 25-08-20, 10:56, Ionela Voinescu wrote: > I've been putting some more thought/code into this one and I believe > something as follows might look nicer as well as cover a few corner cases > (ignore implementation details for now, they can be changed): I saw the other patchset you sent where AMU

Re: [GIT PULL] USB fixes for 5.9-rc3

2020-08-27 Thread Krzysztof Kozlowski
On Wed, 26 Aug 2020 at 17:03, Marek Szyprowski wrote: > > Hi Greg, > > On 26.08.2020 15:43, Greg KH wrote: > > The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5: > > > >Linux 5.9-rc1 (2020-08-16 13:04:57 -0700) > > > > are available in the Git repository at: > > > >

Re: [PATCH v3 1/1] extcon: ptn5150: Set the VBUS and POLARITY property capability

2020-08-27 Thread Ramuthevar, Vadivel MuruganX
Hi, On 27/8/2020 3:56 pm, Chanwoo Choi wrote: On 8/27/20 3:51 PM, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Set the capability value of property for VBUS and POLARITY. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 7 +++ 1

Re: [PATCH v2 03/11] sched,idle,rcu: Push rcu_idle deeper into the idle path

2020-08-27 Thread Thomas Gleixner
On Thu, Aug 27 2020 at 09:47, peterz wrote: > On Wed, Aug 26, 2020 at 09:24:19PM -0400, Joel Fernandes wrote: >> On Wed, Aug 26, 2020 at 09:18:26PM -0400, Joel Fernandes wrote: >> > On Fri, Aug 21, 2020 at 10:47:41AM +0200, Peter Zijlstra wrote: >> > > Lots of things take locks, due to a wee bug, r

[tip: sched/core] sched/topology: Move sd_flag_debug out of linux/sched/topology.h

2020-08-27 Thread tip-bot2 for Valentin Schneider
The following commit has been merged into the sched/core branch of tip: Commit-ID: 8fca9494d4b4d6b57b1398cd473feb308df656db Gitweb: https://git.kernel.org/tip/8fca9494d4b4d6b57b1398cd473feb308df656db Author:Valentin Schneider AuthorDate:Tue, 25 Aug 2020 14:32:15 +01:00 Com

[tip: locking/core] lockdep: Use raw_cpu_*() for per-cpu variables

2020-08-27 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the locking/core branch of tip: Commit-ID: fddf9055a60dfcc97bda5ef03c8fa4108ed555c5 Gitweb: https://git.kernel.org/tip/fddf9055a60dfcc97bda5ef03c8fa4108ed555c5 Author:Peter Zijlstra AuthorDate:Thu, 20 Aug 2020 09:13:30 +02:00 Commi

[tip: locking/core] locking/selftest: Add test cases for queued_read_lock()

2020-08-27 Thread tip-bot2 for Boqun Feng
The following commit has been merged into the locking/core branch of tip: Commit-ID: ad56450db86413ff911eb527b5a49e04a4345e61 Gitweb: https://git.kernel.org/tip/ad56450db86413ff911eb527b5a49e04a4345e61 Author:Boqun Feng AuthorDate:Fri, 07 Aug 2020 15:42:37 +08:00 Committer

[tip: locking/core] lockdep: Adjust check_redundant() for recursive read change

2020-08-27 Thread tip-bot2 for Boqun Feng
The following commit has been merged into the locking/core branch of tip: Commit-ID: 68e305678583f13a67e2ce22088c2520bd4f97b4 Gitweb: https://git.kernel.org/tip/68e305678583f13a67e2ce22088c2520bd4f97b4 Author:Boqun Feng AuthorDate:Fri, 07 Aug 2020 15:42:29 +08:00 Committer

Re: [PATCH 08/30] net: wireless: ath: carl9170: Mark 'ar9170_qmap' as __maybe_unused

2020-08-27 Thread Kalle Valo
Lee Jones writes: > On Mon, 17 Aug 2020, Kalle Valo wrote: > >> Rasmus Villemoes writes: >> >> > On 14/08/2020 17.14, Christian Lamparter wrote: >> >> On 2020-08-14 13:39, Lee Jones wrote: >> >>> 'ar9170_qmap' is used in some source files which include carl9170.h, >> >>> but not all of them.  M

  1   2   3   4   5   6   7   8   9   10   >