[PATCH v29 04/16] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

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

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

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

Re: [PATCH 3/4] powerpc/pseries/iommu: Move window-removing part of remove_ddw into remove_dma_window

2020-06-22 Thread Leonardo Bras
Hello Alexey, thanks for the feedback! On Mon, 2020-06-22 at 20:02 +1000, Alexey Kardashevskiy wrote: > > On 19/06/2020 15:06, Leonardo Bras wrote: > > Move the window-removing part of remove_ddw into a new function > > (remove_dma_window), so it can be used to remove other DMA windows. > > > >

Re: [PATCH v2] gpio: rcar: handle pm_runtime_get_sync failure case

2020-06-22 Thread Geert Uytterhoeven
Hi Bartosz, On Mon, Jun 22, 2020 at 6:54 PM Bartosz Golaszewski wrote: > śr., 17 cze 2020 o 09:43 Geert Uytterhoeven napisał(a): > > On Wed, Jun 17, 2020 at 9:40 AM Navid Emamdoost > > wrote: > > > Calling pm_runtime_get_sync increments the counter even in case of > > > failure, causing

[PATCH v29 11/16] leds: lp55xx: Add multicolor framework support to lp55xx

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

[PATCH v29 12/16] ARM: defconfig: u8500: Add LP55XX_COMMON config flag

2020-06-22 Thread Dan Murphy
The dependencies for the LP55XX LED drivers have been updated so that the child devices (i.e. LP5521) now depends on the LP55XX_COMMON config flag as opposed to the device selecting the LP55XX_COMMON flag. The LP55XX_COMMON needs to be set in the defconfig. CC: Linus Walleij Signed-off-by: Dan

[PATCH v29 14/16] leds: lp5521: Add multicolor framework multicolor brightness support

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

[PATCH v29 10/16] leds: lp55xx: Convert LED class registration to devm_*

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

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

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

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

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

[PATCH v29 00/16] Multicolor Framework v29

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

[PATCH v29 06/16] dt-bindings: leds: Convert leds-lp55xx to yaml

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

Re: [PATCH 4/4] powerpc/pseries/iommu: Remove default DMA window before creating DDW

2020-06-22 Thread Leonardo Bras
Hello Alexey, thanks for the feedback! On Mon, 2020-06-22 at 20:02 +1000, Alexey Kardashevskiy wrote: > > On 19/06/2020 15:06, Leonardo Bras wrote: > > On LoPAR "DMA Window Manipulation Calls", it's recommended to remove the > > default DMA window for the device, before attempting to configure a

[PATCH v29 03/16] leds: multicolor: Introduce a multicolor class definition

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

Re: [PATCH 1/2] x86/fpu: Reset MXCSR to default in kernel_fpu_begin()

2020-06-22 Thread Borislav Petkov
On Mon, Jun 22, 2020 at 11:40:38AM -0700, Andy Lutomirski wrote: > On Mon, Jun 22, 2020 at 11:38 AM Dave Hansen wrote: > > > > On 6/22/20 11:33 AM, Andy Lutomirski wrote: > > > Suppose you do: > > > > > > double x = 1.0; > > > > > > kernel_fpu_begin(); > > > > > > x += 2.0; > > > > > > We want to

[PATCH v29 15/16] leds: lp55xx: Fix file permissions to use DEVICE_ATTR macros

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

Re: [PATCH 2/4] powerpc/pseries/iommu: Implement ibm,reset-pe-dma-windows rtas call

2020-06-22 Thread Leonardo Bras
Hello Alexey, thanks for the feedback! On Mon, 2020-06-22 at 20:02 +1000, Alexey Kardashevskiy wrote: > > On 19/06/2020 15:06, Leonardo Bras wrote: > > Platforms supporting the DDW option starting with LoPAR level 2.7 implement > > ibm,ddw-extensions. The first extension available (index 2)

[PATCH v29 13/16] leds: lp5523: Update the lp5523 code to add multicolor brightness function

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

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

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

[PATCH v29 16/16] leds: lp5523: Fix various formatting issues in the code

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

[PATCH v29 02/16] leds: Add multicolor ID to the color ID list

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

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

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

Re: [PATCH 1/4] powerpc/pseries/iommu: Update call to ibm,query-pe-dma-windows

2020-06-22 Thread Leonardo Bras
Hello Alexey, thank you for the feedback! On Mon, 2020-06-22 at 20:02 +1000, Alexey Kardashevskiy wrote: > > On 19/06/2020 15:06, Leonardo Bras wrote: > > From LoPAR level 2.8, "ibm,ddw-extensions" index 3 can make the number of > > outputs from "ibm,query-pe-dma-windows" go from 5 to 6. > > >

[PATCH v2 0/2] Allow breaking up Thunderbolt/USB4 updates

2020-06-22 Thread Mario Limonciello
Currently updates to Thunderbolt and USB4 controllers are fully atomic actions. When writing into the non-active NVM nothing gets flushed to the hardware until authenticate is sent. There has been some desire to improve the perceived performance of these updates, particularly for userland that

[PATCH v2 2/2] thunderbolt: Add support for authenticate on disconnect

2020-06-22 Thread Mario Limonciello
Some external devices can support completing thunderbolt authentication when they are unplugged. For this to work though, the link controller must remain operational. The only device known to support this right now is the Dell WD19TB, so add a quirk for this. Signed-off-by: Mario Limonciello

[PATCH v2 1/2] thunderbolt: Add support for separating the flush to SPI and authenticate

2020-06-22 Thread Mario Limonciello
This allows userspace to have a shorter period of time that the device is unusable and to call it at a more convenient time. For example flushing the image may happen while the user is using the machine and authenticating/rebooting may happen while logging out. Signed-off-by: Mario Limonciello

Re: [PATCH v4 1/2] remoteproc: qcom: Add per subsystem SSR notification

2020-06-22 Thread Bjorn Andersson
On Sat 20 Jun 12:48 PDT 2020, risha...@codeaurora.org wrote: > On 2020-06-18 16:35, Bjorn Andersson wrote: > > On Thu 18 Jun 16:00 PDT 2020, Alex Elder wrote: > > > > > On 5/27/20 10:34 PM, Rishabh Bhatnagar wrote: > > > > Currently there is a single notification chain which is called whenever

arm-linux-gnueabi-ld: section .data VMA overlaps section __ksymtab VMA

2020-06-22 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: dd0d718152e4c65b173070d48ea9dfc06894c3e5 commit: a81068181aad78a5f6980408a4b6115d22bb8aed media: move CEC USB drivers to a separate directory date: 10 weeks ago config: arm-randconfig-r012-20200622

Re: [PATCH 21/21] perf/x86/intel/lbr: Support XSAVES for arch LBR read

2020-06-22 Thread Cyrill Gorcunov
On Fri, Jun 19, 2020 at 07:04:09AM -0700, kan.li...@linux.intel.com wrote: ... > +static void intel_pmu_arch_lbr_read_xsave(struct cpu_hw_events *cpuc) > +{ > + struct x86_perf_task_context_arch_lbr_xsave *xsave = cpuc->lbr_xsave; > + struct arch_lbr_entry *lbr; > + int i; > + > +

Re: [PATCH 17/21] x86/fpu: Use proper mask to replace full instruction mask

2020-06-22 Thread Liang, Kan
On 6/22/2020 2:05 PM, Dave Hansen wrote: On 6/22/20 10:47 AM, Liang, Kan wrote: I'm wondering if we should just take these copy_*regs_to_*() functions and uninline them.  Yeah, they are basically wrapping one instruction, but it might literally be the most heavyweight instruction in the

Re: [PATCH] objtool: Fix memory leak in special_get_alts()

2020-06-22 Thread Markus Elfring
I propose to avoid a typo in the previous patch subject. > Free alt before returning to avoid memory leak. Would you like to add the tag “Fixes” to the commit message?

Re: [PATCH 08/16] nouveau/hmm: fault one page at a time

2020-06-22 Thread Ralph Campbell
On 6/22/20 10:22 AM, Jason Gunthorpe wrote: On Fri, Jun 19, 2020 at 02:56:41PM -0700, Ralph Campbell wrote: The SVM page fault handler groups faults into a range of contiguous virtual addresses and requests hmm_range_fault() to populate and return the page frame number of system memory mapped

Re: [RFC PATCH] xen/privcmd: Convert get_user_pages*() to pin_user_pages*()

2020-06-22 Thread Souptick Joarder
On Fri, Jun 19, 2020 at 1:00 PM John Hubbard wrote: > > On 2020-06-18 20:12, Souptick Joarder wrote: > > On Wed, Jun 17, 2020 at 11:29 PM Boris Ostrovsky > > wrote: > >> > >> On 6/16/20 11:14 PM, Souptick Joarder wrote: > >>> In 2019, we introduced pin_user_pages*() and now we are converting >

Re: [PATCH v6 14/19] mm: memcg/slab: remove memcg_kmem_get_cache()

2020-06-22 Thread Shakeel Butt
On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > The memcg_kmem_get_cache() function became really trivial, > so let's just inline it into the single call point: > memcg_slab_pre_alloc_hook(). > > It will make the code less bulky and can also help the compiler > to generate a better code.

Re: [PATCH 1/2] x86/fpu: Reset MXCSR to default in kernel_fpu_begin()

2020-06-22 Thread Andy Lutomirski
On Mon, Jun 22, 2020 at 11:38 AM Dave Hansen wrote: > > On 6/22/20 11:33 AM, Andy Lutomirski wrote: > > Suppose you do: > > > > double x = 1.0; > > > > kernel_fpu_begin(); > > > > x += 2.0; > > > > We want to make sure that GCC puts things in the right order. I > > suppose that even a memory

Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/admin-guide

2020-06-22 Thread Jonathan Neuschäfer
>Subject: [PATCH] Replace HTTP links with HTTPS ones: Documentation/admin-guide You already sent a patch with the exact same subject line. Please use an incrementing version number (PATCH v2, PATCH v3, etc.) for revised versions of a patch, and describe the differences below the --- line. This is

Re: [PATCH v2 11/16] media: sur40: Remove uninitialized_var() usage

2020-06-22 Thread Nick Desaulniers
On Fri, Jun 19, 2020 at 8:30 PM Kees Cook wrote: > > Using uninitialized_var() is dangerous as it papers over real bugs[1] > (or can in the future), and suppresses unrelated compiler warnings (e.g. > "unused variable"). If the compiler thinks it is uninitialized, either > simply initialize the

Re: [PATCH 3/5] Huawei BMA: Adding Huawei BMA driver: host_veth_drv

2020-06-22 Thread Andrew Lunn
On Tue, Jun 23, 2020 at 12:03:09AM +0800, yunaixin03...@163.com wrote: > From: yunaixin > > The BMA software is a system management software offered by Huawei. It > supports the status monitoring, performance monitoring, and event monitoring > of various components, including server CPUs,

Re: [PATCH v6 10/19] mm: memcg/slab: deprecate memory.kmem.slabinfo

2020-06-22 Thread Shakeel Butt
On Mon, Jun 22, 2020 at 11:25 AM Roman Gushchin wrote: > > On Mon, Jun 22, 2020 at 11:09:47AM -0700, Shakeel Butt wrote: > > On Mon, Jun 22, 2020 at 11:02 AM Roman Gushchin wrote: > > > > > > On Mon, Jun 22, 2020 at 10:12:46AM -0700, Shakeel Butt wrote: > > > > On Mon, Jun 8, 2020 at 4:07 PM

Re: [PATCH 1/2] x86/fpu: Reset MXCSR to default in kernel_fpu_begin()

2020-06-22 Thread Dave Hansen
On 6/22/20 11:33 AM, Andy Lutomirski wrote: > Suppose you do: > > double x = 1.0; > > kernel_fpu_begin(); > > x += 2.0; > > We want to make sure that GCC puts things in the right order. I > suppose that even a memory clobber is insufficient here, though. Even with CONFIG_PREEMPT disabled, we

Re: [PATCH 1/2] x86/fpu: Reset MXCSR to default in kernel_fpu_begin()

2020-06-22 Thread Petteri Aimonen
> We want to make sure that GCC puts things in the right order. I > suppose that even a memory clobber is insufficient here, though. amdgpu worked around that by using a noinline function:

LTP: crypto: af_alg02 regression on linux-next 20200621 tag

2020-06-22 Thread Naresh Kamboju
LTP crypto regressions noticed on linux next 20200621. The common case for all tests is timeout after 15 minutes which means tests got hung and LTP timers killed those test runs after timeout. The root cause of the failure is under investigation. ltp-crypto-tests: * af_alg02 - failed *

Re: [PATCH 1/2] x86/fpu: Reset MXCSR to default in kernel_fpu_begin()

2020-06-22 Thread Andy Lutomirski
On Mon, Jun 22, 2020 at 10:09 AM Borislav Petkov wrote: > > On Fri, Jun 19, 2020 at 11:01:44AM -0700, Andy Lutomirski wrote: > > On Fri, Jun 19, 2020 at 10:41 AM Borislav Petkov wrote: > > > > > > From: Petteri Aimonen > > > > > > Previously, kernel floating point code would run with the MXCSR

Re: Strange problem with SCTP+IPv6

2020-06-22 Thread Michael Tuexen
> On 22. Jun 2020, at 20:32, Marcelo Ricardo Leitner > wrote: > > On Mon, Jun 22, 2020 at 08:01:24PM +0200, Michael Tuexen wrote: >>> On 22. Jun 2020, at 18:57, Corey Minyard wrote: >>> >>> On Mon, Jun 22, 2020 at 08:01:23PM +0800, Xin Long wrote: On Sun, Jun 21, 2020 at 11:56 PM Corey

Re: Strange problem with SCTP+IPv6

2020-06-22 Thread Marcelo Ricardo Leitner
On Mon, Jun 22, 2020 at 08:01:24PM +0200, Michael Tuexen wrote: > > On 22. Jun 2020, at 18:57, Corey Minyard wrote: > > > > On Mon, Jun 22, 2020 at 08:01:23PM +0800, Xin Long wrote: > >> On Sun, Jun 21, 2020 at 11:56 PM Corey Minyard wrote: > >>> > >>> I've stumbled upon a strange problem with

Re: [PATCH v2 1/2] Bluetooth: btusb: fix up firmware download sequence

2020-06-22 Thread sean.wang
From: Sean Wang >Hi Sean, > >> From: Sean Wang >> >> Data RAM on the device have to be powered on before starting to >> download the firmware. >> >> v1->v2: >> rebased to bluetooth-next >> >> Fixes: a1c49c434e15 ("Bluetooth: btusb: Add protocol support for >> MediaTek MT7668U USB devices")

Re: [PATCH][next] mm/zswap: fix a couple of memory leaks and rework kzalloc failure check

2020-06-22 Thread Dan Carpenter
On Mon, Jun 22, 2020 at 04:35:46PM +0100, Colin King wrote: > From: Colin Ian King > > kzalloc failures return NULL on out of memory errors, so replace the > IS_ERR_OR_NULL check with the usual null pointer check. Fix two memory > leaks with on acomp and acomp_ctx by ensuring these objects are

Re: [PATCH 2/2] selftests/fpu: Add an FPU selftest

2020-06-22 Thread Andy Lutomirski
On Mon, Jun 22, 2020 at 10:12 AM Borislav Petkov wrote: > > On Fri, Jun 19, 2020 at 11:00:28AM -0700, Andy Lutomirski wrote: > > This should be cc-option, not cc-ifversion, I think. > > Why? For all the ridiculous distro gcc versions out there. Also, it seems less fragile, since it tests for

Re: [PATCH v6 10/19] mm: memcg/slab: deprecate memory.kmem.slabinfo

2020-06-22 Thread Roman Gushchin
On Mon, Jun 22, 2020 at 11:09:47AM -0700, Shakeel Butt wrote: > On Mon, Jun 22, 2020 at 11:02 AM Roman Gushchin wrote: > > > > On Mon, Jun 22, 2020 at 10:12:46AM -0700, Shakeel Butt wrote: > > > On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > > > > > > > Deprecate memory.kmem.slabinfo.

Re: [PATCH 4/5] Huawei BMA: Adding Huawei BMA driver: cdev_veth_drv

2020-06-22 Thread Andrew Lunn
On Tue, Jun 23, 2020 at 12:03:10AM +0800, yunaixin03...@163.com wrote: > From: yunaixin > > The BMA software is a system management software offered by Huawei. It > supports the status monitoring, performance monitoring, and event monitoring > of various components, including server CPUs,

Re: [PATCH] cros_ec_spi: Even though we're RT priority, don't bump cpu freq

2020-06-22 Thread Doug Anderson
Hi, On Fri, Jun 19, 2020 at 8:38 AM Qais Yousef wrote: > > On 06/18/20 14:18, Doug Anderson wrote: > > Hi, > > > > On Fri, Jun 12, 2020 at 5:52 AM Qais Yousef wrote: > > > > > > On 06/10/20 15:18, Douglas Anderson wrote: > > > > The cros_ec_spi driver is realtime priority so that it doesn't get

Re: [PATCH 5/5] Huawei BMA: Adding Huawei BMA driver: host_kbox_drv

2020-06-22 Thread Andrew Lunn
On Tue, Jun 23, 2020 at 12:03:11AM +0800, yunaixin03...@163.com wrote: > From: yunaixin > > The BMA software is a system management software offered by > Huawei. It supports the status monitoring, performance monitoring, > and event monitoring of various components, including server CPUs, >

[kbuild] drivers/usb/gadget/udc/fsl_udc_core.c:1055 fsl_ep_fifo_status() error: we previously assumed '_ep->desc' could be null (see line 1055)

2020-06-22 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 625d3449788f85569096780592549d0340e9c0c7 commit: 75eaa498c99eebf9f9237656f69469e50197cc0b usb: gadget: Correct NULL pointer checking in fsl gadget config: arm64-randconfig-m031-20200622 (attached as .config

[PATCH] Replace HTTP links with HTTPS ones: Documentation/admin-guide

2020-06-22 Thread Alexander A. Klimov
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 `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH] cros_ec_spi: Even though we're RT priority, don't bump cpu freq

2020-06-22 Thread Doug Anderson
Hi, On Fri, Jun 19, 2020 at 8:31 AM Qais Yousef wrote: > > Hi Doug, > > On 06/18/20 14:31, Doug Anderson wrote: > > Hi, > > > > On Fri, Jun 12, 2020 at 5:34 AM Qais Yousef wrote: > > > > > > On 06/12/20 10:24, Quentin Perret wrote: > > > > +CC Qais [FYI] > > > > > > Thanks for the CC. > > > > >

Re: [PATCH 0/5] Adding Huawei BMA drivers

2020-06-22 Thread Andrew Lunn
On Tue, Jun 23, 2020 at 12:03:06AM +0800, yunaixin03...@163.com wrote: > From: yunaixin > > This patch set contains 5 communication drivers for Huawei BMA software. > The BMA software is a system management software. It supports the status > monitoring, performance monitoring, and event

Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/admin-guide

2020-06-22 Thread Alexander A. Klimov
Am 22.06.20 um 00:04 schrieb Pavel Machek: Hi! Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. +++ b/Documentation/admin-guide/README.rst @@ -1,6 +1,6 @@ .. _readme: -Linux kernel release 5.x

[PATCH v2 3/8] selftests/binderfs: Fix harness API usage

2020-06-22 Thread Kees Cook
The binderfs test mixed the full harness API and the selftest API. Adjust to use only the harness API so that the harness API can switch to using the selftest API internally in future patches. Acked-by: Christian Brauner Signed-off-by: Kees Cook --- .../filesystems/binderfs/binderfs_test.c

[PATCH v2 5/8] selftests/harness: Switch to TAP output

2020-06-22 Thread Kees Cook
Using the kselftest_harness.h would result in non-TAP test reporting, which didn't make much sense given that all the requirements for using the low-level API were met. Switch to using ksft_*() helpers while retaining as much of a human-readability as possible. Signed-off-by: Kees Cook ---

[PATCH v2 4/8] selftests: Add header documentation and helpers

2020-06-22 Thread Kees Cook
Add "how to use this API" documentation to kselftest.h, and include some addition helpers and notes to make things easier to use. Additionally removes the incorrect "Bail out!" line from the standard exit path. The TAP13 specification says that "Bail out!" should be used when giving up before

[PATCH v2 6/8] selftests/harness: Refactor XFAIL into SKIP

2020-06-22 Thread Kees Cook
Plumb the old XFAIL result into a TAP SKIP. Signed-off-by: Kees Cook --- tools/testing/selftests/kselftest_harness.h | 64 ++- tools/testing/selftests/seccomp/seccomp_bpf.c | 8 +-- 2 files changed, 52 insertions(+), 20 deletions(-) diff --git

[PATCH v2 1/8] selftests/clone3: Reorder reporting output

2020-06-22 Thread Kees Cook
Selftest output reporting was happening before the TAP headers and plan had been emitted. Move the first test reports later. Acked-by: Christian Brauner Signed-off-by: Kees Cook --- tools/testing/selftests/clone3/clone3.c | 2 +-

[PATCH v2 8/8] selftests/harness: Report skip reason

2020-06-22 Thread Kees Cook
Use a share memory segment to pass string information between forked test and the test runner for the skip reason. Signed-off-by: Kees Cook --- tools/testing/selftests/kselftest_harness.h | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git

[PATCH v2 7/8] selftests/harness: Display signed values correctly

2020-06-22 Thread Kees Cook
Since forever the harness output for signed value tests have reported unsigned values to avoid casting. Instead, actually test the variable types and perform the correct casts and choose the correct format specifiers. Signed-off-by: Kees Cook --- tools/testing/selftests/kselftest_harness.h | 42

[PATCH v2 2/8] selftests: Remove unneeded selftest API headers

2020-06-22 Thread Kees Cook
Remove unused includes of the kselftest.h header. Acked-by: Christian Brauner Signed-off-by: Kees Cook --- tools/testing/selftests/pid_namespace/regression_enomem.c | 1 - tools/testing/selftests/pidfd/pidfd_getfd_test.c | 1 - tools/testing/selftests/pidfd/pidfd_setns_test.c

[PATCH v2 0/8] selftests/harness: Switch to TAP output

2020-06-22 Thread Kees Cook
Hi, v2: - switch harness from XFAIL to SKIP - pass skip reason from test into TAP output - add acks/reviews v1: https://lore.kernel.org/lkml/20200611224028.3275174-1-keesc...@chromium.org/ I finally got around to converting the kselftest_harness.h API to actually use the kselftest.h API so all

Re: [PATCH 2/2] selftests/fpu: Add an FPU selftest

2020-06-22 Thread Nick Desaulniers
On Mon, Jun 22, 2020 at 10:04 AM Borislav Petkov wrote: > > On Sun, Jun 21, 2020 at 03:55:00AM +0800, kernel test robot wrote: > > Hi Borislav, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on kselftest/next] > > [also build test ERROR on

Re: [PATCH] i2c: sprd: Fix runtime PM imbalance on error

2020-06-22 Thread Markus Elfring
> Fix this by … Please replace the beginning of this sentence with the tag “Fixes”. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=625d3449788f85569096780592549d0340e9c0c7#n183 Regards, Markus

Re: [RFC] Bypass filesystems for reading cached pages

2020-06-22 Thread Matthew Wilcox
On Mon, Jun 22, 2020 at 04:35:05PM +0200, Andreas Gruenbacher wrote: > I'm fine with not moving that functionality into the VFS. The problem > I have in gfs2 is that taking glocks is really expensive. Part of that > overhead is accidental, but we definitely won't be able to fix it in > the short

Re: [PATCH v3 01/13] iommu: Change type of pasid to unsigned int

2020-06-22 Thread Fenghua Yu
Hi, Christoph, On Thu, Jun 18, 2020 at 12:12:06AM -0700, Christoph Hellwig wrote: > On Wed, Jun 17, 2020 at 11:23:41AM -0700, Fenghua Yu wrote: > > PASID is defined as a few different types in iommu including "int", > > "u32", and "unsigned int". To be consistent and to match with ioasid's > >

Re: [PATCH 09/16] mm/hmm: add output flag for compound page mapping

2020-06-22 Thread Ralph Campbell
On 6/22/20 10:25 AM, Jason Gunthorpe wrote: On Fri, Jun 19, 2020 at 02:56:42PM -0700, Ralph Campbell wrote: hmm_range_fault() returns an array of page frame numbers and flags for how the pages are mapped in the requested process' page tables. The PFN can be used to get the struct page with

Re: [PATCH v6 10/19] mm: memcg/slab: deprecate memory.kmem.slabinfo

2020-06-22 Thread Shakeel Butt
On Mon, Jun 22, 2020 at 11:02 AM Roman Gushchin wrote: > > On Mon, Jun 22, 2020 at 10:12:46AM -0700, Shakeel Butt wrote: > > On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > > > > > Deprecate memory.kmem.slabinfo. > > > > > > An empty file will be presented if corresponding config

[PATCH 1/3] glibc: Perform rseq registration at C startup and thread creation (v21)

2020-06-22 Thread Mathieu Desnoyers
Register rseq TLS for each thread (including main), and unregister for each thread (excluding main). "rseq" stands for Restartable Sequences. See the rseq(2) man page proposed here: https://lkml.org/lkml/2018/9/19/647 Those are based on glibc master branch commit c013d5d3aa. The rseq system

Re: [PATCH v4 06/11] remoteproc: stm32: Properly set co-processor state when attaching

2020-06-22 Thread Bjorn Andersson
On Mon 01 Jun 10:55 PDT 2020, Mathieu Poirier wrote: > Introduce the required mechanic to set the state of the M4 in order > to properly deal with scenarios where the co-processor has been > stated by another entity. > > Mainly based on the work published by Arnaud Pouliquen [1]. > > [1].

[PATCH 2/3] Linux: Use rseq in sched_getcpu if available (v9)

2020-06-22 Thread Mathieu Desnoyers
When available, use the cpu_id field from __rseq_abi on Linux to implement sched_getcpu(). Fall-back on the vgetcpu vDSO if unavailable. Benchmarks: x86-64: Intel E5-2630 v3@2.40GHz, 16-core, hyperthreading glibc sched_getcpu(): 13.7 ns (baseline) glibc sched_getcpu() using

[PATCH] rcu/tree: Remove CONFIG_PREMPT_RCU check in force_qs_rnp

2020-06-22 Thread Neeraj Upadhyay
Remove CONFIG_PREMPT_RCU check in force_qs_rnp(). Originally, this check was required to skip executing fqs failsafe for rcu-sched, which was added in commit a77da14ce9af ("rcu: Yet another fix for preemption and CPU hotplug"). However, this failsafe has been removed, since then. So, cleanup the

Re: Good idea to rename files in include/uapi/ ?

2020-06-22 Thread Alexander A. Klimov
Am 22.06.20 um 13:37 schrieb Jan Engelhardt: On Monday 2020-06-15 01:34, Alexander A. Klimov wrote: A header file rename is no problem. We even have dummy headers Hmm.. if I understand all of you correctly, David, Stefano, Pablo and Al say like no, not a good idea, but only you, Jan, say

Re: [PATCH 17/21] x86/fpu: Use proper mask to replace full instruction mask

2020-06-22 Thread Dave Hansen
On 6/22/20 10:47 AM, Liang, Kan wrote: >> I'm wondering if we should just take these copy_*regs_to_*() functions >> and uninline them.  Yeah, they are basically wrapping one instruction, >> but it might literally be the most heavyweight instruction in the >> whole ISA. > > Thanks for the

Re: [PATCH v2 1/3] mfd: core: Make a best effort attempt to match devices with the correct of_nodes

2020-06-22 Thread Frank Rowand
On 2020-06-22 13:01, Frank Rowand wrote: > On 2020-06-22 10:10, Lee Jones wrote: >> On Mon, 22 Jun 2020, Frank Rowand wrote: >> >>> On 2020-06-22 03:50, Lee Jones wrote: On Thu, 18 Jun 2020, Frank Rowand wrote: > On 2020-06-15 04:26, Lee Jones wrote: >> On Sun, 14 Jun 2020, Frank

Re: [PATCH v6 13/19] mm: memcg/slab: simplify memcg cache creation

2020-06-22 Thread Shakeel Butt
On Mon, Jun 22, 2020 at 10:40 AM Roman Gushchin wrote: > > On Mon, Jun 22, 2020 at 10:29:29AM -0700, Shakeel Butt wrote: > > On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > > > > > Because the number of non-root kmem_caches doesn't depend on the > > > number of memory cgroups anymore

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-06-22 Thread Greg Kroah-Hartman
On Mon, Jun 22, 2020 at 01:48:45PM -0400, Tejun Heo wrote: > Hello, Ian. > > On Sun, Jun 21, 2020 at 12:55:33PM +0800, Ian Kent wrote: > > > > They are used for hotplugging and partitioning memory. The size of > > > > the > > > > segments (and thus the number of them) is dictated by the > > > >

Re: [PATCH v6 10/19] mm: memcg/slab: deprecate memory.kmem.slabinfo

2020-06-22 Thread Roman Gushchin
On Mon, Jun 22, 2020 at 10:12:46AM -0700, Shakeel Butt wrote: > On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin wrote: > > > > Deprecate memory.kmem.slabinfo. > > > > An empty file will be presented if corresponding config options are > > enabled. > > > > The interface is implementation dependent,

Re: [PATCH v2 6/8] arm64: dts: qcom: sdm630: Add sdm630 dts file

2020-06-22 Thread Konrad Dybcio
Hi Bjorn! Thanks for your review. I will address these issues and send a v3 shortly. Regards Konrad

Re: [PATCH v2 00/11] KVM: Support guest MAXPHYADDR < host MAXPHYADDR

2020-06-22 Thread Paolo Bonzini
On 22/06/20 19:57, Tom Lendacky wrote: >>> In bare-metal, there's no guarantee a CPU will report all the faults in a >>> single PF error code. And because of race conditions, software can never >>> rely on that behavior. Whenever the OS thinks it has cured an error, it >>> must always be able to

Re: [PATCH v2 1/3] mfd: core: Make a best effort attempt to match devices with the correct of_nodes

2020-06-22 Thread Frank Rowand
On 2020-06-22 10:10, Lee Jones wrote: > On Mon, 22 Jun 2020, Frank Rowand wrote: > >> On 2020-06-22 03:50, Lee Jones wrote: >>> On Thu, 18 Jun 2020, Frank Rowand wrote: >>> On 2020-06-15 04:26, Lee Jones wrote: > On Sun, 14 Jun 2020, Frank Rowand wrote: > >> Hi Lee, >> >>

Re: Strange problem with SCTP+IPv6

2020-06-22 Thread Michael Tuexen
> On 22. Jun 2020, at 18:57, Corey Minyard wrote: > > On Mon, Jun 22, 2020 at 08:01:23PM +0800, Xin Long wrote: >> On Sun, Jun 21, 2020 at 11:56 PM Corey Minyard wrote: >>> >>> I've stumbled upon a strange problem with SCTP and IPv6. If I create an >>> sctp listening socket on :: and set the

Re: [PATCH net-next 2/2] ipv6: fib6: avoid indirect calls from fib6_rule_lookup

2020-06-22 Thread Paolo Abeni
On Mon, 2020-06-22 at 09:25 -0700, Brian Vazquez wrote: > > Hi Paolo > On Mon, Jun 22, 2020 at 3:13 AM Paolo Abeni wrote: > > Hi, > > > > On Fri, 2020-06-19 at 20:14 -0700, Brian Vazquez wrote: > > > @@ -111,11 +111,13 @@ struct dst_entry *fib6_rule_lookup(struct net *net, > > > struct flowi6

Re: [PATCH v2 00/11] KVM: Support guest MAXPHYADDR < host MAXPHYADDR

2020-06-22 Thread Tom Lendacky
On 6/22/20 12:03 PM, Paolo Bonzini wrote: > On 22/06/20 18:33, Tom Lendacky wrote: >> I'm not a big fan of trapping #PF for this. Can't this have a performance >> impact on the guest? If I'm not mistaken, Qemu will default to TCG >> physical address size (40-bits), unless told otherwise, causing

Re: [PATCH AUTOSEL 5.7 004/388] ASoC: tegra: tegra_wm8903: Support nvidia, headset property

2020-06-22 Thread Mark Brown
On Mon, Jun 22, 2020 at 10:44:02AM -0400, Sasha Levin wrote: > On Mon, Jun 22, 2020 at 02:27:57PM +0100, Mark Brown wrote: > > On Mon, Jun 22, 2020 at 08:31:18AM -0400, Sasha Levin wrote: > > > How come? This is one of the things stable rules explicitly call for: > > > "New device IDs and quirks

Re: [PATCH v2 8/8] arm64: dts: qcom: Add support for Sony Xperia 10/10 Plus (Ganges platform)

2020-06-22 Thread Bjorn Andersson
On Mon 22 Jun 00:57 PDT 2020, Konrad Dybcio wrote: > From: Martin Botka > > Add device tree support for the Sony Xperia 10 and 10 > Plus smartphones. They are all based on the Sony Ganges > platform (sdm630/636) and share a lot of common code. > The differences are really minor, so a

Re: [PATCH v4] xfs: Fix false positive lockdep warning with sb_internal & fs_reclaim

2020-06-22 Thread Waiman Long
On 6/18/20 7:04 PM, Dave Chinner wrote: On Fri, Jun 19, 2020 at 08:58:10AM +1000, Dave Chinner wrote: On Thu, Jun 18, 2020 at 01:19:41PM -0400, Waiman Long wrote: diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 379cbff438bc..1b94b9bfa4d7 100644 --- a/fs/xfs/xfs_super.c +++

Re: [PATCH v2 7/8] arm64: dts: qcom: Add support for Sony Xperia XA2/Plus/Ultra (Nile platform)

2020-06-22 Thread Bjorn Andersson
On Mon 22 Jun 00:57 PDT 2020, Konrad Dybcio wrote: > Add device tree support for the Sony Xperia XA2, XA2 Plus and > XA2 Ultra smartphones. They are all based on the Sony Nile > platform (sdm630) and share a lot of common code. The > differences are really minor, so a Nile-common DTSI > has been

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-06-22 Thread Tejun Heo
On Fri, Jun 19, 2020 at 07:44:29PM -0700, Rick Lindsley wrote: > echo 0 > /sys/devices//system/memory/memory10374/online > > and boom - you've taken memory chunk 10374 offline. > > These changes are not just a whim. I used lockstat to measure contention > during boot. The addition of 250,000

Re: [PATCH v2 6/8] arm64: dts: qcom: sdm630: Add sdm630 dts file

2020-06-22 Thread Bjorn Andersson
On Mon 22 Jun 00:57 PDT 2020, Konrad Dybcio wrote: > Add devicetree files for SDM630 SoC and its pin configuration. > This commit adds basic nodes like cpu, psci and other required > configuration for booting up from eMMC to the serial console. > > Signed-off-by: Konrad Dybcio > --- >

Re: [PATCH 00/11] Add support for HiHope RZ/G2M[N] Rev.3.0/4.0

2020-06-22 Thread Lad, Prabhakar
Hi Geert, On Sun, Jun 7, 2020 at 7:35 PM Lad Prabhakar wrote: > > Hi All, > > This patch series adds supports for HiHope RZ/G2M[N] Rev.3.0/4.0 > boards. > > Patches are based on top of renesas-arm-dt-for-v5.9 branch [1]. > > [1]

Re: [PATCH v7 3/5] remoteproc: Add support for runtime PM

2020-06-22 Thread Arnaud POULIQUEN
Hi, On 6/11/20 11:17 PM, Suman Anna wrote: > On 6/10/20 11:39 PM, Bjorn Andersson wrote: >> On Wed 10 Jun 02:40 PDT 2020, Paul Cercueil wrote: >> >>> Hi, >>> >>> Le lun. 8 juin 2020 à 18:10, Suman Anna a écrit : Hi Paul, On 6/8/20 5:46 PM, Paul Cercueil wrote: > Hi Suman,

Re: [PATCH] crypto: sun8i-ce - Fix runtime PM imbalance in sun8i_ce_cipher_init

2020-06-22 Thread Markus Elfring
> Fix this by … Please replace the beginning of this sentence with the tag “Fixes”. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=625d3449788f85569096780592549d0340e9c0c7#n183 Regards, Markus

Re: [PATCH] ARM: exynos: clear L310_AUX_CTRL_FULL_LINE_ZERO in default l2c_aux_val

2020-06-22 Thread Krzysztof Kozlowski
On Fri, Jun 12, 2020 at 02:58:37PM +0100, Guillaume Tucker wrote: > This "alert" error message can be seen on exynos4412-odroidx2: > > L2C: platform modifies aux control register: 0x0207 -> 0x3e470001 > L2C: platform provided aux values permit register corruption. > > Followed by

Re: [PATCH v2 0/6] kernfs: proposed locking and concurrency improvement

2020-06-22 Thread Tejun Heo
Hello, Ian. On Sun, Jun 21, 2020 at 12:55:33PM +0800, Ian Kent wrote: > > > They are used for hotplugging and partitioning memory. The size of > > > the > > > segments (and thus the number of them) is dictated by the > > > underlying > > > hardware. > > > > This sounds so bad. There gotta be a

Re: [PATCH][v2] PM / s2idle: Clear _TIF_POLLING_NRFLAG before suspend to idle

2020-06-22 Thread Peter Zijlstra
On Mon, Jun 22, 2020 at 06:19:35PM +0200, Rafael J. Wysocki wrote: > > Fixes: b2a02fc43a1f ("smp: Optimize send_call_function_single_ipi()") > > Suggested-by: Peter Zijlstra (Intel) > > Reported-by: kbuild test robot > > Cc: "Rafael J. Wysocki" > > Cc: Len Brown > > Cc: Peter Zijlstra (Intel)

<    4   5   6   7   8   9   10   11   12   13   >