Re: [PATCH v7] hwmon: add Corsair Commander Pro driver

2020-07-07 Thread Benjamin Tissoires
On Tue, Jul 7, 2020 at 12:20 PM Jiri Kosina wrote: > > On Mon, 29 Jun 2020, Guenter Roeck wrote: > > > On Fri, Jun 26, 2020 at 07:59:36AM +0200, Marius Zachmann wrote: > > > This is v7 of a driver for the Corsair Commander Pro. > > > It provides sysfs attributes for: > > > - Reading fan speed > >

Re: [RESEND 04/10] regulator: dbx500-prcmu: Remove unused function dbx500_regulator_testcase()

2020-07-07 Thread Linus Walleij
On Thu, Jun 25, 2020 at 9:17 PM Lee Jones wrote: > There isn't any code present within the current kernel to > override this 'weak' function. Besides returning '0', which > is never checked anyway, the whole function appears to be > superfluous. > > Consequently fixes W=1 warning: > > drivers/r

Re: [PATCH v2] powerpc/uaccess: Use flexible addressing with __put_user()/__get_user()

2020-07-07 Thread Christophe Leroy
Le 30/06/2020 à 03:19, Michael Ellerman a écrit : Michael Ellerman writes: Christophe Leroy writes: Hi Michael, I see this patch is marked as "defered" in patchwork, but I can't see any related discussion. Is it normal ? Because it uses the "m<>" constraint which didn't work on GCC 4.6.

Re: [PATCH] ARM: dts: arm-realview: Align L2 cache-controller nodename with dtschema

2020-07-07 Thread Linus Walleij
On Fri, Jun 26, 2020 at 10:05 AM Krzysztof Kozlowski wrote: > Fix dtschema validator warnings like: > l2-cache: $nodename:0: 'l2-cache' does not match > '^(cache-controller|cpu)(@[0-9a-f,]+)*$' > > Signed-off-by: Krzysztof Kozlowski Patch applied! Yours, Linus Walleij

Re: [PATCH] ARM: dts: ste: Align L2 cache-controller nodename with dtschema

2020-07-07 Thread Linus Walleij
On Fri, Jun 26, 2020 at 10:05 AM Krzysztof Kozlowski wrote: > Fix dtschema validator warnings like: > l2-cache: $nodename:0: 'l2-cache' does not match > '^(cache-controller|cpu)(@[0-9a-f,]+)*$' > > Signed-off-by: Krzysztof Kozlowski Patch applied. Yours, Linus Walleij

Re: [PATCH] ubifs: Fix a potential space leak problem while linking tmpfile

2020-07-07 Thread Richard Weinberger
- Ursprüngliche Mail - >>> Perhaps I misunderstood what commit 32fe905c17f001 ("ubifs: Fix >>> O_TMPFILE corner case in ubifs_link()") wanted to fix. >>> I think orphan area is used to remind filesystem don't forget to delete >>> inodes (whose nlink is 0) in next unclean rebooting. Generall

Re: [PATCH 0/2] Qualcomm MSM8226 TLMM binding and driver

2020-07-07 Thread Linus Walleij
On Sat, Jun 27, 2020 at 9:34 PM Bartosz Dudziak wrote: > Binding and driver for the Qualcomm MSM8226 TLMM pinctrl block This looks good to me, but I'm waiting for Bjorn to review it before applying. Yours, Linus Walleij

Re: [PATCH v3 01/20] Documentation: locking: Describe seqlock design and usage

2020-07-07 Thread Peter Zijlstra
On Tue, Jul 07, 2020 at 12:12:01PM +0200, Ahmed S. Darwish wrote: > On Mon, Jul 06, 2020 at 11:04:39PM +0200, Peter Zijlstra wrote: > > On Tue, Jun 30, 2020 at 07:44:33AM +0200, Ahmed S. Darwish wrote: > > > +Sequence counters (:c:type:`seqcount_t`) > > > + >

Re: [PATCH] pinctrl: amd: Honor IRQ trigger type requested by the caller

2020-07-07 Thread Linus Walleij
On Fri, Jun 26, 2020 at 11:10 PM Furquan Shaikh wrote: > This change drops the override in `amd_gpio_irq_set_type()` that > ignores the IRQ trigger type settings from the caller. The device > driver (caller) is in a better position to identify the right trigger > type for the device based on the

arch/nios2/include/asm/irqflags.h:12:9: sparse: sparse: context imbalance in 'move_pages_to_lru' - unexpected unlock

2020-07-07 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bfe91da29bfad9941d5d703d45e29f0812a20724 commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH date: 8 months ago config: nios2-randconfig-s031-20200707 (attached as .config

[PATCH v2] usb: core: fix quirks_param_set() writing to a const pointer

2020-07-07 Thread Kars Mulder
The function quirks_param_set() takes as argument a const char* pointer to the new value of the usbcore.quirks parameter. It then casts this pointer to a non-const char* pointer and passes it to the strsep() function, which overwrites the value. Fix this by creating a copy of the value using kstrd

[PATCH v2] ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename

2020-07-07 Thread Zhihao Cheng
There a wrong orphan node deleting in error handling path in ubifs_jnl_update() and ubifs_jnl_rename(), which may cause following error msg: UBIFS error (ubi0:0 pid 1522): ubifs_delete_orphan [ubifs]: missing orphan ino 65 Fix this by checking whether the node has been operated for adding to

BUG: KASAN: use-after-free in show_pwq

2020-07-07 Thread Daniel Wagner
Hi, while trying to debug something completely unrelated to this report I stumpled the KASAN splatter below. This happens with v5.8-rc4 and most of the memory debug config options enabled. Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 0: cpus=0 node=0 flags=0x0 nice

Re: [PATCH 1/3] spi: spi-geni-qcom: Avoid clock setting if not needed

2020-07-07 Thread Doug Anderson
Hi Mark, On Tue, Jul 7, 2020 at 5:08 AM Mark Brown wrote: > > On Wed, Jul 01, 2020 at 05:45:07PM -0700, Douglas Anderson wrote: > > Every SPI transfer could have a different clock rate. The > > spi-geni-qcom controller code to deal with this was never very well > > optimized and has always had a

Re: [PATCH net-next v2 3/3] net: ethtool: Remove PHYLIB direct dependency

2020-07-07 Thread Michal Kubecek
On Mon, Jul 06, 2020 at 09:56:03PM +0200, Andrew Lunn wrote: > On Mon, Jul 06, 2020 at 11:40:00AM -0700, Jakub Kicinski wrote: > > On Sun, 5 Jul 2020 21:27:58 -0700 Florian Fainelli wrote: > > > + ops = ethtool_phy_ops; > > > + if (!ops || !ops->start_cable_test) { > > > > nit: don't think member

Re: [RESEND Patch v2 3/4] mm/mremap: calculate extent in one place

2020-07-07 Thread Wei Yang
On Tue, Jul 07, 2020 at 01:47:22PM +0300, Kirill A. Shutemov wrote: >On Tue, Jul 07, 2020 at 09:38:56AM +0800, Wei Yang wrote: >> On Mon, Jul 06, 2020 at 01:07:29PM +0300, Kirill A. Shutemov wrote: >> >On Fri, Jun 26, 2020 at 09:52:15PM +0800, Wei Yang wrote: >> >> Page tables is moved on the base

[PATCH v4] mm/zswap: move to use crypto_acomp API for hardware acceleration

2020-07-07 Thread Barry Song
right now, all new ZIP drivers are using crypto_acomp APIs rather than legacy crypto_comp APIs. But zswap.c is still using the old APIs. That means zswap won't be able to use any new zip drivers in kernel. This patch moves to use cryto_acomp APIs to fix the problem. On the other hand, tradiontal c

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

2020-07-07 Thread Qais Yousef
On 07/07/20 12:39, Valentin Schneider wrote: > > On 06/07/20 15:28, Qais Yousef wrote: > > RT tasks by default run at the highest capacity/performance level. When > > uclamp is selected this default behavior is retained by enforcing the > > requested uclamp.min (p->uclamp_req[UCLAMP_MIN]) of the R

Re: [PATCH v3 06/20] seqlock: Extend seqcount API with associated locks

2020-07-07 Thread Peter Zijlstra
On Tue, Jul 07, 2020 at 10:40:24AM +0200, Ahmed S. Darwish wrote: > On Mon, Jul 06, 2020 at 11:21:48PM +0200, Peter Zijlstra wrote: > > On Tue, Jun 30, 2020 at 07:44:38AM +0200, Ahmed S. Darwish wrote: > > > +#include > > > > Why? why not include those lines directly here? Having it in a separate

Re: [mm] 4e2c82a409: ltp.overcommit_memory01.fail

2020-07-07 Thread Qian Cai
On Tue, Jul 07, 2020 at 02:06:19PM +0200, Michal Hocko wrote: > On Tue 07-07-20 07:43:48, Qian Cai wrote: > > > > > > > On Jul 7, 2020, at 6:28 AM, Michal Hocko wrote: > > > > > > Would you have any examples? Because I find this highly unlikely. > > > OVERCOMMIT_NEVER only works when virtual me

[PATCH 1/2] drm/panel-simple: Fix inverted V/H SYNC for Frida FRD350H54004 panel

2020-07-07 Thread Paul Cercueil
The FRD350H54004 panel was marked as having active-high VSYNC and HSYNC signals, which sorts-of worked, but resulted in the picture fading out under certain circumstances. Fix this issue by marking VSYNC and HSYNC signals active-low. Fixes: 7b6bd8433609 ("drm/panel: simple: Add support for the Fr

[PATCH 2/2] drm/panel-simple: Add 50 Hz mode to the Frida FRD350H54004 panel

2020-07-07 Thread Paul Cercueil
By changing the pixel clock and the length of the back porch, it is possible to obtain a perfect 50 Hz refresh rate. Signed-off-by: Paul Cercueil --- drivers/gpu/drm/panel/panel-simple.c | 43 +++- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/drivers/gp

Re: [PATCH v7 04/36] drm: amdgpu: fix common struct sg_table related issues

2020-07-07 Thread Marek Szyprowski
Hi Christian, On 22.06.2020 15:27, Christian König wrote: > Am 19.06.20 um 12:36 schrieb Marek Szyprowski: >> The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() >> function >> returns the number of the created entries in the DMA address space. >> However the subsequent calls to the

Re: [PATCH v9 11/15] perf stat: implement control commands handling

2020-07-07 Thread Alexey Budankov
On 06.07.2020 22:34, Jiri Olsa wrote: > On Mon, Jul 06, 2020 at 05:47:54PM +0300, Alexey Budankov wrote: >> >> On 06.07.2020 15:34, Jiri Olsa wrote: >>> On Fri, Jul 03, 2020 at 10:47:22AM +0300, Alexey Budankov wrote: Implement handling of 'enable' and 'disable' control commands co

Re: [PATCH v6 0/2] sched: Optionally skip uclamp logic in fast path

2020-07-07 Thread Qais Yousef
On 07/07/20 14:29, Vincent Guittot wrote: > On Mon, 6 Jul 2020 at 12:41, Qais Yousef wrote: > > > > On 07/03/20 14:09, Vincent Guittot wrote: > > > I have run the perf bench sched pipe that have have already run > > > previously with this v6 and the results are similar to my previous > > > tests:

greetings

2020-07-07 Thread Hamza Mohammed
COMPENSATION PAYMENT THROUGH ATM VISA CARD Attn: Beneficiaries This is to officially inform you that we have verified your inheritance file fund presently on my desk, and I found out that you have not received your payment due to your lack of co-operation and not fulfilling the obligations givi

Re: [PATCH 1/2] clk: x86: Change name from ST to FCH

2020-07-07 Thread kernel test robot
Hi Akshu, Thank you for the patch! Yet something to improve: [auto build test ERROR on clk/clk-next] [also build test ERROR on v5.8-rc4 next-20200707] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https

Re: [PATCH v9 11/15] perf stat: implement control commands handling

2020-07-07 Thread Jiri Olsa
On Tue, Jul 07, 2020 at 04:07:42PM +0300, Alexey Budankov wrote: > > On 06.07.2020 22:34, Jiri Olsa wrote: > > On Mon, Jul 06, 2020 at 05:47:54PM +0300, Alexey Budankov wrote: > >> > >> On 06.07.2020 15:34, Jiri Olsa wrote: > >>> On Fri, Jul 03, 2020 at 10:47:22AM +0300, Alexey Budankov wrote: > >

Re: [PATCH v2] usb: core: fix quirks_param_set() writing to a const pointer

2020-07-07 Thread Greg Kroah-Hartman
On Tue, Jul 07, 2020 at 02:51:02PM +0200, Kars Mulder wrote: > The function quirks_param_set() takes as argument a const char* pointer > to the new value of the usbcore.quirks parameter. It then casts this > pointer to a non-const char* pointer and passes it to the strsep() > function, which overwr

[PATCH net-next] mvpp2: fix pointer check

2020-07-07 Thread Matteo Croce
From: Matteo Croce priv->page_pool is an array, so comparing against it will always return true. Do a meaningful check by checking priv->page_pool[0] instead. While at it, clear the page_pool pointers on deallocation, or when an allocation error happens during init. Reported-by: Colin Ian King

Re: [PATCH v9 11/15] perf stat: implement control commands handling

2020-07-07 Thread Alexey Budankov
On 07.07.2020 16:14, Jiri Olsa wrote: > On Tue, Jul 07, 2020 at 04:07:42PM +0300, Alexey Budankov wrote: >> >> On 06.07.2020 22:34, Jiri Olsa wrote: >>> On Mon, Jul 06, 2020 at 05:47:54PM +0300, Alexey Budankov wrote: On 06.07.2020 15:34, Jiri Olsa wrote: > On Fri, Jul 03, 2020 at 1

Re: [PATCH] vmalloc: Removing incorrect logs when vmalloc failed

2020-07-07 Thread Uladzislau Rezki
On Tue, Jul 07, 2020 at 03:18:54PM +0530, Anshuman Khandual wrote: > > > On 07/07/2020 02:43 PM, Tian Tao wrote: > > It is not possible to increase size with vmalloc= in arm64 > > architecture and it will mislead.however vmalloc return failure > > is a rare occurrence in 'many architectures inclu

Re: [PATCH V2 0/6] Add frequency / voltage scaling support for IPQ6018 SoC

2020-07-07 Thread Kathiravan T
Hi Bjorn, Can you help to review the below patches in this series? dt-bindings: soc: qcom: Add IPQ6018 compatible soc: qcom: smd-rpm: Add IPQ6018 compatible Hi Rob, Can you help to review the YAML schema in this series? Thanks, Kathiravan T. On 6/23/2020 10:47 AM, Kathiravan T wrote: IPQ

Re: [PATCH net-next 08/12] bridge: mrp: Implement the MRP Interconnect API

2020-07-07 Thread Nikolay Aleksandrov
On 06/07/2020 12:18, Horatiu Vultur wrote: > Thie patch adds support for MRP Interconnect. Similar with the MRP ring, > if the HW can't generate MRP_InTest frames, then the SW will try to > generate them. And if also the SW fails to generate the frames then an > error is return to userspace. > > T

[GIT PULL] Btrfs fixes for 5.8-rc5

2020-07-07 Thread David Sterba
Hi, please pull the following fixes, thanks. - regression fix of a leak in global block reserve accounting - fix a (hard to hit) race of readahead vs releasepage that could lead to crash - convert all remaining uses of comment fall through annotations to the pseudo keyword - fix crash when

[PATCH] btrfs : fix memory leak in add_block_entry

2020-07-07 Thread trix
From: Tom Rix clang static analysis flags this error fs/btrfs/ref-verify.c:290:3: warning: Potential leak of memory pointed to by 're' [unix.Malloc] kfree(be); ^ The problem is in this block of code if (root_objectid) {

Re: [PATCH] sched/fair: handle case of task_h_load() returning 0

2020-07-07 Thread Vincent Guittot
On Thu, 2 Jul 2020 at 18:28, Vincent Guittot wrote: > > On Thu, 2 Jul 2020 at 18:11, Valentin Schneider > wrote: > > > > > > On 02/07/20 15:42, Vincent Guittot wrote: > > > task_h_load() can return 0 in some situations like running stress-ng > > > mmapfork, which forks thousands of threads, in a

Re: [PATCH v6 6/7] seccomp: Introduce addfd ioctl to seccomp user notifier

2020-07-07 Thread Christian Brauner
On Mon, Jul 06, 2020 at 01:17:19PM -0700, Kees Cook wrote: > From: Sargun Dhillon > > This adds a seccomp notifier ioctl which allows for the listener to > "add" file descriptors to a process which originated a seccomp user > notification. This allows calls like mount, and mknod to be "implemente

lfpc: kernel BUG at arch/x86/mm/physaddr.c:28!

2020-07-07 Thread Daniel Wagner
Hi, While trying to debug something in qla2xxx I enabled KASAN. As it turns out, KASAN finds something in lpfc (and not qla2xxx so far). I was able to reproduce this with v5.8-rc4 and the current mkp/queue branch. Almost all memory debug options are enabled. Not sure which one is able to trigger

Re: [PATCH v3 2/2] devicetree: hwmon: shtc1: Add sensirion,shtc1.yaml

2020-07-07 Thread Guenter Roeck
On Tue, Jul 07, 2020 at 04:01:03PM +0800, Chris Ruehl wrote: > Add documentation for the newly added DTS support in the shtc1 driver. > To align with the drivers logic to have high precision by default > a boolean sensirion,low_precision is used to switch to low precision. > > Signed-off-by: Chris

Re: [PATCH RESEND v9 18/18] media: platform: Add jpeg enc feature

2020-07-07 Thread Tomasz Figa
On Tue, Jul 7, 2020 at 8:47 AM Xia Jiang wrote: > > On Tue, 2020-06-30 at 16:53 +, Tomasz Figa wrote: > > Hi Xia, > > > > On Tue, Jun 30, 2020 at 10:56:21AM +0800, Xia Jiang wrote: > > > On Thu, 2020-06-11 at 18:46 +, Tomasz Figa wrote: > > > > Hi Xia, > > > > > > > > On Thu, Jun 04, 2020

Re: [PATCH v3 1/2] hwmon: shtc1: add support for device tree bindings

2020-07-07 Thread Guenter Roeck
On Tue, Jul 07, 2020 at 04:01:02PM +0800, Chris Ruehl wrote: > Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. > > Signed-off-by: Chris Ruehl For my reference: Reviewed-by: Guenter Roeck Waiting for feedback/approval from DT maintainers. Thanks, Guenter > --- > driver

Re: [PATCH v1] PCI: controller: convert to devm_platform_ioremap_resource()

2020-07-07 Thread Lorenzo Pieralisi
On Wed, May 27, 2020 at 12:01:10AM +0800, Dejin Zheng wrote: > use devm_platform_ioremap_resource() to simplify code, it > contains platform_get_resource() and devm_ioremap_resource(). > > Signed-off-by: Dejin Zheng > --- > drivers/pci/controller/dwc/pci-exynos.c | 4 +--- > drivers/pci/controll

Re: [Tech-board-discuss] [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-07 Thread Steven Rostedt
On Tue, 7 Jul 2020 09:49:21 +0300 Mike Rapoport wrote: > > But that's all fine. The change is easy to do and is more descriptive > > even if I can't find terms that don't collide with my internal grammar > > checker. ;) > > How about yeslist and nolist? ;-) I was thinking good-list / bad-list

Re: [PATCH 3/3] spi: spi-geni-qcom: Get rid of most overhead in prepare_message()

2020-07-07 Thread Akash Asthana
On 7/2/2020 6:15 AM, Douglas Anderson wrote: There's a bunch of overhead in spi-geni-qcom's prepare_message. Get rid of it. Before this change spi_geni_prepare_message() took around 14.5 us. After this change, spi_geni_prepare_message() takes about 1.75 us (as measured by ftrace). What's he

[PATCH v3 2/2] ubi: fastmap: Free fastmap next anchor peb during detach

2020-07-07 Thread Zhihao Cheng
ubi_wl_entry related with the fm_next_anchor PEB is not freed during detach, which causes a memory leak. Don't forget to release fm_next_anchor PEB while detaching ubi from mtd when CONFIG_MTD_UBI_FASTMAP is enabled. Signed-off-by: Zhihao Cheng Fixes: 4b68bf9a69d22d ("ubi: Select fastmap anchor P

[PATCH v3 0/2] ubi: fastmap: Produce and release fm_anchor peb correctly

2020-07-07 Thread Zhihao Cheng
v1 -> v2: Adapt Sascha's suggestions for fm_diabled checking in __erase_worker(). v2 -> v3: Free fm_anchor peb during cloing fastmap. Zhihao Cheng (2): ubi: fastmap: Don't produce the initial next anchor PEB when fastmap is disabled ubi: fastmap: Free fastmap next anchor peb during det

[PATCH v3 1/2] ubi: fastmap: Don't produce the initial next anchor PEB when fastmap is disabled

2020-07-07 Thread Zhihao Cheng
Following process triggers a memleak caused by forgetting to release the initial next anchor PEB (CONFIG_MTD_UBI_FASTMAP is disabled): 1. attach -> __erase_worker -> produce the initial next anchor PEB 2. detach -> ubi_fastmap_close (Do nothing, it should have released the initial next anchor PE

Re: [Tech-board-discuss] [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology

2020-07-07 Thread Steven Rostedt
On Tue, 7 Jul 2020 01:54:23 -0700 Kees Cook wrote: > "I will whitelist the syscall" -- sounds correct to me (same for > "it is whitelisted" or "it is in whitelisting mode"). > > "I will allow-list the syscall" -- sounds wrong to me (same for > "it is allow-listed" or "it is in allow-listing mode

Re: [RESEND PATCH v5 0/6] arm64: tlb: add support for TTL feature

2020-07-07 Thread Catalin Marinas
On Thu, 25 Jun 2020 16:03:08 +0800, Zhenyu Ye wrote: > In order to reduce the cost of TLB invalidation, ARMv8.4 provides > the TTL field in TLBI instruction. The TTL field indicates the > level of page table walk holding the leaf entry for the address > being invalidated. This series provide supp

[PATCH] drm/meson: overlay: fix build failure

2020-07-07 Thread Neil Armstrong
The recent GCC compiler is very picky with the VD_H_START() and AFBC_DEC_PIXEL_BGN_H() macros, triggering a runtime assert error as: In function 'meson_overlay_setup_scaler_params', inlined from 'meson_overlay_atomic_update' at drivers/gpu/drm/meson/meson_overlay.c:542:2: ./include/linux/compi

Re: [PATCH v4 4/7] iommu/vt-d: Handle non-page aligned address

2020-07-07 Thread kernel test robot
Hi Jacob, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on iommu/next] [also build test WARNING on linux/master linus/master v5.8-rc4 next-20200707] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to

Re: [PATCH] PCI: aardvark: Indicate error in 'val' when config read fails

2020-07-07 Thread Lorenzo Pieralisi
On Fri, Jun 19, 2020 at 12:56:18PM +0200, Pali Rohár wrote: > Hello Lorenzo! Could you please review this patch? > > On Monday 01 June 2020 15:03:15 Pali Rohár wrote: > > Most callers of config read do not check for return value. But most of the > > ones that do, checks for error indication in 'va

Re: [PATCH v3 0/2] selftests: pidfd: prefer ksft_test_result_skip to ksft_exit_*

2020-07-07 Thread Christian Brauner
On Tue, Jul 07, 2020 at 06:19:34AM -0400, Paolo Bonzini wrote: > Calling ksft_exit_* results in executing fewer tests than planned, which > is wrong for ksft_exit_skip or suboptimal (because it results in a bail > out) for ksft_exit_fail_msg. > > Using ksft_test_result_skip instead skips only one

Re: [PATCH v3 1/2] PM / domains: Introduce multi PM domains helpers

2020-07-07 Thread Ulf Hansson
On Wed, 24 Jun 2020 at 12:33, Daniel Baluta wrote: > > From: Daniel Baluta > > This patch introduces helpers support for multi PM domains. > > API consists of: > > 1) dev_multi_pm_attach - powers up all PM domains associated with a given > device. Because we can attach one PM domain per device, w

security/apparmor/policy_unpack_test.c:449 policy_unpack_test_unpack_u32_with_null_name() error: uninitialized symbol 'data'.

2020-07-07 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf commit: 4d944bcd4e731ab7bfe8d01a7041ea0ebdc090f1 apparmor: add AppArmor KUnit tests for policy unpack date: 6 months ago config: x86_64-randconfig-m001-20200702 (at

Re: [PATCH 1/2] clk: x86: Change name from ST to FCH

2020-07-07 Thread kernel test robot
Hi Akshu, Thank you for the patch! Yet something to improve: [auto build test ERROR on clk/clk-next] [also build test ERROR on v5.8-rc4 next-20200707] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in https

Re: [mm] 4e2c82a409: ltp.overcommit_memory01.fail

2020-07-07 Thread Michal Hocko
On Tue 07-07-20 09:04:36, Qian Cai wrote: > On Tue, Jul 07, 2020 at 02:06:19PM +0200, Michal Hocko wrote: > > On Tue 07-07-20 07:43:48, Qian Cai wrote: > > > > > > > > > > On Jul 7, 2020, at 6:28 AM, Michal Hocko wrote: > > > > > > > > Would you have any examples? Because I find this highly unl

Re: [PATCH] xfs: fix non-quota build breakage

2020-07-07 Thread Darrick J. Wong
On Tue, Jul 07, 2020 at 12:28:25PM +1000, Dave Chinner wrote: > > From: Dave Chinner > > Oops, I forgot that you can config out quotas because nobody > ever does that when they build XFS anymore. > > Fixes: 018dc1667913 ("xfs: use direct calls for dquot IO completion") > > Signed-off-by: Dave

undefined reference to `start_isolate_page_range'

2020-07-07 Thread kernel test robot
: microblaze-randconfig-r011-20200707 (attached as .config) compiler: microblaze-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout

[PATCH 10/10] scsi: megaraid: megaraid_sas: Convert forward-declarations to prototypes

2020-07-07 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/megaraid/megaraid_sas_base.c:240:5: warning: no previous prototype for ‘megasas_readl’ [-Wmissing-prototypes] 240 | u32 megasas_readl(struct megasas_instance *instance, | ^ drivers/scsi/megaraid/megaraid_sas_base.c:301:

[PATCH 00/10] Fix a bunch SCSI related W=1 warnings

2020-07-07 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. There are a whole lot more of these. More fixes to follow. Lee Jones (10): scsi: megaraid: megaraid_mm: Strip excess function param description

[PATCH 01/10] scsi: megaraid: megaraid_mm: Strip excess function param description

2020-07-07 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/megaraid/megaraid_mm.c:105: warning: Excess function parameter 'inode' description in 'mraid_mm_ioctl' Cc: Kashyap Desai Cc: Sumit Saxena Cc: Shivasharan S Cc: megaraidlinux@broadcom.com Signed-off-by: Lee Jones --- drivers/

[PATCH 04/10] scsi: megaraid: megaraid_sas_fusion: Fix-up a whole myriad of kerneldoc misdemeanours

2020-07-07 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/megaraid/megaraid_sas_fusion.c:106: warning: Function parameter or member 'instance' not described in 'megasas_adp_reset_wait_for_ready' drivers/scsi/megaraid/megaraid_sas_fusion.c:106: warning: Function parameter or member 'do_adp_

[PATCH 07/10] scsi: pcmcia: nsp_cs: Use new __printf() format notation

2020-07-07 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/pcmcia/nsp_cs.c: In function ‘nsp_cs_message’: drivers/scsi/pcmcia/nsp_cs.c:143:2: warning: function ‘nsp_cs_message’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format] drivers/scsi/pcmcia/nsp_cs.c:

[PATCH 09/10] scsi: libfc: fc_disc: Fix-up some incorrectly referenced function parameters

2020-07-07 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/scsi/libfc/fc_disc.c:343: warning: Function parameter or member 'disc' not described in 'fc_disc_gpn_ft_req' drivers/scsi/libfc/fc_disc.c:343: warning: Excess function parameter 'lport' description in 'fc_disc_gpn_ft_req' drivers/scsi/l

[PATCH 05/10] scsi: megaraid: megaraid_sas_base: Provide prototypes for non-static functions

2020-07-07 Thread Lee Jones
For Megaraid DebugFS functions called from 'megaraid_sas_base.c'. Fixes the following W=1 kernel build warning(s): drivers/scsi/megaraid/megaraid_sas_debugfs.c:102:6: warning: no previous prototype for ‘megasas_init_debugfs’ [-Wmissing-prototypes] 102 | void megasas_init_debugfs(void) | ^

[PATCH 03/10] scsi: fdomain: Mark 'fdomain_pm_ops' as __maybe_unused

2020-07-07 Thread Lee Jones
Not all source files which include 'fdomain.h' make use of 'fdomain_pm_ops' leaving them defined but unused. Mark it as __maybe_unused to tell the compiler this is not only acceptable, but expected. Fixes the following W=1 kernel build warning(s): In file included from drivers/scsi/pcmcia/fdoma

[PATCH 06/10] scsi: aha152x: Remove unused variable 'ret'

2020-07-07 Thread Lee Jones
Looks to be unused since 2014. Fixes the following W=1 kernel build warning(s): drivers/scsi/aha152x.c: In function ‘datai_run’: drivers/scsi/aha152x.c:2033:9: warning: variable ‘data’ set but not used [-Wunused-but-set-variable] 2033 | int data; | ^~~~ Cc: "Juergen E. Fischer" Signed-off-

[PATCH 08/10] scsi: pcmcia: nsp_cs: Remove unused variable 'dummy'

2020-07-07 Thread Lee Jones
There is no need to populate an unused variable, even if the read is required. Fixes the following W=1 kernel build warning(s): drivers/scsi/pcmcia/nsp_cs.c: In function ‘nsp_cs_message’: drivers/scsi/pcmcia/nsp_cs.c:143:2: warning: function ‘nsp_cs_message’ might be a candidate for ‘gnu_print

[PATCH 02/10] scsi: megaraid: megaraid_mbox: Fix some kerneldoc bitrot

2020-07-07 Thread Lee Jones
Some function parameters have changed without updating the documentation. Fixes the following W=1 kernel build warning(s): drivers/scsi/megaraid/megaraid_mbox.c:3314: warning: Excess function parameter 'level' description in 'megaraid_mbox_display_scb' drivers/scsi/megaraid/megaraid_mbox.c:398

Re: [PATCH] PCI: aardvark: Indicate error in 'val' when config read fails

2020-07-07 Thread Pali Rohár
On Tuesday 07 July 2020 14:53:11 Lorenzo Pieralisi wrote: > On Fri, Jun 19, 2020 at 12:56:18PM +0200, Pali Rohár wrote: > > Hello Lorenzo! Could you please review this patch? > > > > On Monday 01 June 2020 15:03:15 Pali Rohár wrote: > > > Most callers of config read do not check for return value.

Re: [PATCH v5 1/2] gpio: add GPO driver for PCA9570

2020-07-07 Thread Sungbo Eo
On 20. 7. 6. 오후 9:00, Andy Shevchenko wrote: On Mon, Jul 6, 2020 at 2:21 PM Bartosz Golaszewski wrote:> On Sun, Jul 5, 2020 at 3:31 PM Sungbo Eo wrote: NXP PCA9570 is a 4-bit I2C GPO expander without interrupt functionality. Its ports are controlled only by a data byte without register addre

Re: [PATCH] x86/resctrl: Fix memory bandwidth counter width for AMD

2020-07-07 Thread Greg KH
On Wed, Jul 01, 2020 at 05:13:45PM -0500, Babu Moger wrote: > [ Upstream commit 2c18bd525c47f882f033b0a813ecd09c93e1ecdf ] > > Memory bandwidth is calculated reading the monitoring counter > at two intervals and calculating the delta. It is the software’s > responsibility to read the count often e

Re: [PATCH] jffs2: fix UAF problem

2020-07-07 Thread Joakim Tjernlund
Maintainer ping ? Jocke On Wed, 2020-06-24 at 18:59 +, Joakim Tjernlund wrote: > > Nice find, I just came across a deadlock wrt GC and rmdir, > hopefully this is he fix. > > This needs to go to stable too, sooner rather than later. > >  Jocke > > On Fri, 2020-06-19 at 17:06 +0800, Zhe

Re: [PATCH v7 00/12] Multiple fixes in PCIe qcom driver

2020-07-07 Thread Lorenzo Pieralisi
On Mon, Jun 15, 2020 at 11:05:56PM +0200, Ansuel Smith wrote: > This contains multiple fix for PCIe qcom driver. > Some optional reset and clocks were missing. > Fix a problem with no PARF programming that cause kernel lock on load. > Add support to force gen 1 speed if needed. (due to hardware lim

Re: [PATCH v2 07/15] perf ftrace: show trace column header

2020-07-07 Thread Changbin Du
On Fri, Jul 03, 2020 at 03:20:15PM +0900, Namhyung Kim wrote: > On Sat, Jun 27, 2020 at 10:38 PM Changbin Du wrote: > > > > This makes perf-ftrace display column header before printing trace. > > > > $ sudo perf ftrace > > \# tracer: function > > \# > > \# entries-in-buffer/entries-written: 0/0

Re: [PATCH net-next 08/12] bridge: mrp: Implement the MRP Interconnect API

2020-07-07 Thread Horatiu Vultur
The 07/07/2020 16:27, Nikolay Aleksandrov wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On 06/07/2020 12:18, Horatiu Vultur wrote: > > Thie patch adds support for MRP Interconnect. Similar with the MRP ring, > > if the HW can't generate

Re: ath9k broken [was: Linux 5.7.3]

2020-07-07 Thread Greg Kroah-Hartman
On Fri, Jun 26, 2020 at 04:40:18PM +0200, Gabriel C wrote: > Am Fr., 26. Juni 2020 um 15:51 Uhr schrieb Gabriel C > : > > > > Am Fr., 26. Juni 2020 um 15:40 Uhr schrieb Greg Kroah-Hartman > > : > > > > > > On Fri, Jun 26, 2020 at 01:48:59PM +0200, Gabriel C wrote: > > > > Am Do., 25. Juni 2020 um 1

Re: [PATCH net-next] hinic: add firmware update support

2020-07-07 Thread luobin (L)
On 2020/7/7 0:57, Jakub Kicinski wrote: > On Mon, 6 Jul 2020 22:54:06 +0800 Luo bin wrote: >> add support to update firmware with with "ethtool -f" cmd >> >> Signed-off-by: Luo bin > > drivers/net/ethernet/huawei/hinic/hinic_ethtool.c:1996:44: warning: missing > braces around initializer > drive

Re: (EXT) Re: Consistent block device references for root= cmdline

2020-07-07 Thread Ulf Hansson
On Thu, 11 Jun 2020 at 13:20, Matthias Schiffer wrote: > > On Wed, 2020-06-10 at 16:52 +0200, Ulf Hansson wrote: > > On Wed, 10 Jun 2020 at 15:15, Matthias Schiffer > > wrote: > > > > > > Hello all, > > > > > > there have been numerous attempts to make the numbering of mmcblk > > > devices consis

Re: kbuild: Improve descriptions for the make parameter “C”

2020-07-07 Thread Markus Elfring
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Makefile?id=cdd3bb54332f82295ed90cd0c09c78cd0c0ee822#n201 > > “… > # Use 'make C=1' to enable checking of only re-compiled files. > # Use 'make C=2' to enable checking of *all* source files, regardless > # of whether they are

Re: [PATCH] ASoC: amd: add ACPI dependency check

2020-07-07 Thread Mark Brown
On Tue, 7 Jul 2020 16:16:41 +0530, Vijendar Mukunda wrote: > Add ACPI dependency for evaluating DMIC hardware > runtime. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: amd: add ACPI dependency check commit: 68d1abe186d1c865923d

Re: [PATCH] ASoC: fsl: mpc8610_hpcd: Add missing of_node_put()

2020-07-07 Thread Mark Brown
On Tue, 7 Jul 2020 19:47:47 +0800, Yi Wang wrote: > After finishing using device node got from of_find_compatible_node(), > of_node_put() needs to be called. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: fsl: mpc8610_hpcd: Add missi

Re: [PATCHv4] ASoC: da7213: add default clock handling

2020-07-07 Thread Mark Brown
On Fri, 26 Jun 2020 18:46:23 +0200, Sebastian Reichel wrote: > This adds default clock/PLL configuration to the driver > for usage with generic drivers like simple-card for usage > with a fixed rate clock. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next T

Re: [PATCH] ASoC: core: Remove only the registered component in devm functions

2020-07-07 Thread Mark Brown
On Tue, 7 Jul 2020 09:42:37 +0200, Maxime Ripard wrote: > The ASoC devm_ functions that register a component > (devm_snd_soc_register_component and devm_snd_dmaengine_pcm_register) will > clean their component by running snd_soc_unregister_component. > > snd_soc_unregister_component will then remo

Re: [PATCH] MAINTAINERS: Add Shengjiu to reviewer list of sound/soc/fsl

2020-07-07 Thread Mark Brown
On Thu, 2 Jul 2020 12:31:02 -0700, Nicolin Chen wrote: > Add Shengjiu who's actively working on the latest fsl/nxp audio drivers. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] MAINTAINERS: Add Shengjiu to reviewer list of sound/soc/fsl

Re: [PATCH] regulator: fan53880: Add support for COMPILE_TEST

2020-07-07 Thread Mark Brown
On Tue, 07 Jul 2020 12:57:31 +0200, Christoph Fritz wrote: > This patch adds support for COMPILE_TEST while fixing a warning when > no support for device tree is there. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: fan5388

Re: [PATCH 0/3] spi: spi-geni-qcom: Avoid a bunch of per-transfer overhead

2020-07-07 Thread Mark Brown
On Wed, 1 Jul 2020 17:45:06 -0700, Douglas Anderson wrote: > This series tries to reduce a whole bunch of overhead in each SPI > transfer. Much of this overhead is new with the recent interconnect > changes, but even without those changes we still had some overhead > that we could avoid. Let's av

Re: [PATCH v2] MAINTAINERS: Add Shengjiu to reviewer list of sound/soc/fsl

2020-07-07 Thread Mark Brown
On Mon, 6 Jul 2020 21:58:29 -0700, Nicolin Chen wrote: > Add Shengjiu who's actively working on the latest fsl/nxp audio drivers. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] MAINTAINERS: Add Shengjiu to reviewer list of sound/soc/fsl

Re: [PATCH v7] hwmon: add Corsair Commander Pro driver

2020-07-07 Thread Guenter Roeck
On Fri, Jun 26, 2020 at 07:59:36AM +0200, Marius Zachmann wrote: > This is v7 of a driver for the Corsair Commander Pro. > It provides sysfs attributes for: > - Reading fan speed > - Reading temp sensors > - Reading voltage values > - Writing pwm and reading last written pwm > - Reading fan and tem

Re: Packet gets stuck in NOLOCK pfifo_fast qdisc

2020-07-07 Thread Paolo Abeni
On Thu, 2020-07-02 at 11:08 -0700, Josh Hunt wrote: > On 7/2/20 2:45 AM, Paolo Abeni wrote: > > Hi all, > > > > On Thu, 2020-07-02 at 08:14 +0200, Jonas Bonn wrote: > > > Hi Cong, > > > > > > On 01/07/2020 21:58, Cong Wang wrote: > > > > On Wed, Jul 1, 2020 at 9:05 AM Cong Wang > > > > wrote: >

Re: PHY reset handling during DT parsing

2020-07-07 Thread Andrew Lunn
On Mon, Jul 06, 2020 at 08:13:31PM +0200, Maxime Ripard wrote: > Hi, > > I came across an issue today on an Allwinner board, but I believe it's a > core issue. > > That board is using the stmac driver together with a phy that happens to > have a reset GPIO, except that that GPIO will never be cla

Re: [PATCH v9 11/15] perf stat: implement control commands handling

2020-07-07 Thread Jiri Olsa
On Tue, Jul 07, 2020 at 04:24:28PM +0300, Alexey Budankov wrote: > > On 07.07.2020 16:14, Jiri Olsa wrote: > > On Tue, Jul 07, 2020 at 04:07:42PM +0300, Alexey Budankov wrote: > >> > >> On 06.07.2020 22:34, Jiri Olsa wrote: > >>> On Mon, Jul 06, 2020 at 05:47:54PM +0300, Alexey Budankov wrote: > >

[PATCH V3] arm64/cpufeature: Validate feature bits spacing in arm64_ftr_regs[]

2020-07-07 Thread Anshuman Khandual
arm64_feature_bits for a register in arm64_ftr_regs[] are in a descending order as per their shift values. Validate that these features bits are defined correctly and do not overlap with each other. This check protects against any inadvertent erroneous changes to the register definitions. Cc: Cata

Re: [Freedreno] [PATCH v2 2/6] iommu/io-pgtable: Allow a pgtable implementation to skip TLB operations

2020-07-07 Thread Rob Clark
On Tue, Jul 7, 2020 at 4:34 AM Robin Murphy wrote: > > On 2020-06-26 21:04, Jordan Crouse wrote: > > Allow a io-pgtable implementation to skip TLB operations by checking for > > NULL pointers in the helper functions. It will be up to to the owner > > of the io-pgtable instance to make sure that th

Re: [PATCH v2 1/1] power: Emit changed uevent on wakeup_sysfs_add/remove

2020-07-07 Thread Greg Kroah-Hartman
On Mon, Jul 06, 2020 at 02:07:17PM -0700, Abhishek Pandit-Subedi wrote: > Udev rules that depend on the power/wakeup attribute don't get triggered > correctly if device_set_wakeup_capable is called after the device is > created. This can happen for several reasons (driver sets wakeup after > device

Re: [PATCH v7 01/36] drm: prime: add common helper to check scatterlist contiguity

2020-07-07 Thread Andrzej Hajda
On 19.06.2020 12:36, Marek Szyprowski wrote: > It is a common operation done by DRM drivers to check the contiguity > of the DMA-mapped buffer described by a scatterlist in the > sg_table object. Let's add a common helper for this operation. > > Signed-off-by: Marek Szyprowski > --- > drivers/

Re: [EXT] [PATCH 2/5] net: fec: enable to use PPS feature without time stamping

2020-07-07 Thread Sergey Organov
Andy Duan writes: > From: Sergey Organov Sent: Monday, July 6, 2020 10:26 PM >> PPS feature could be useful even when hardware time stamping of network >> packets is not in use, so remove offending check for this condition from >> fec_ptp_enable_pps(). > > If hardware time stamping of network pa

Re: [RFC 2/4] fs: Add IOCB_NOIO flag for generic_file_read_iter

2020-07-07 Thread Andreas Gruenbacher
On Thu, Jul 2, 2020 at 8:06 PM Linus Torvalds wrote: > On Thu, Jul 2, 2020 at 9:51 AM Andreas Gruenbacher > wrote: > > Add an IOCB_NOIO flag that indicates to generic_file_read_iter that it > > shouldn't trigger any filesystem I/O for the actual request or for > > readahead. This allows to do t

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