[tip:ras/core] BUILD SUCCESS a0bc32b3cacf194dc479b342f006203fd1e1941a

2020-09-05 Thread kernel test robot
defconfig mips allyesconfig mips allmodconfig powerpc defconfig x86_64 randconfig-a006-20200905 x86_64 randconfig-a004-20200905 x86_64 randconfig

[tip:x86/urgent] BUILD SUCCESS 4facb95b7adaf77e2da73aafb9ba60996fe42a12

2020-09-05 Thread kernel test robot
allyesconfig sparc defconfig i386defconfig mips allyesconfig mips allmodconfig powerpc defconfig x86_64 randconfig-a006-20200905

[tip:x86/entry] BUILD SUCCESS d53d9bc0cf783e93b374de3895145c7375e570ba

2020-09-05 Thread kernel test robot
allyesconfig sparc defconfig i386defconfig mips allyesconfig mips allmodconfig powerpc defconfig x86_64 randconfig-a006-20200905

Re: [PATCH 3/8] asm-generic: fix unaligned access hamdling in raw_copy_{from,to}_user

2020-09-05 Thread Al Viro
On Fri, Sep 04, 2020 at 11:35:18PM +0100, Al Viro wrote: > Now, if you look at raw_copy_from_user() you'll see an interesting > picture: some architectures special-case the handling of small constant sizes. > Namely, > arc (any size; inlining in there is obscene, constant size or

Re: [RFC v2 11/11] scsi: storvsc: Support PAGE_SIZE larger than 4K

2020-09-05 Thread Boqun Feng
On Sat, Sep 05, 2020 at 02:55:48AM +, Michael Kelley wrote: > From: Boqun Feng Sent: Tuesday, September 1, 2020 8:01 > PM > > > > Hyper-V always use 4k page size (HV_HYP_PAGE_SIZE), so when > > communicating with Hyper-V, a guest should always use HV_HYP_PAGE_SIZE > > as the unit for page

RE: [PATCH v1 00/12] Intel FPGA Security Manager Class Driver

2020-09-05 Thread Wu, Hao
> Subject: [PATCH v1 00/12] Intel FPGA Security Manager Class Driver > > > These patches depend on the patchset: "add regmap-spi-avmm & Intel > Max10 BMC chip support" which is currently under review. > >-- > > This patchset

Re: [PATCH v2 1/1] Input: atmel_mxt_ts - implement I2C retries

2020-09-05 Thread Dmitry Osipenko
03.09.2020 18:59, Jiada Wang пишет: > From: Nick Dyer > > Some maXTouch chips (eg mXT1386) will not respond on the first I2C request > when they are in a sleep state. It must be retried after a delay for the > chip to wake up. > > Signed-off-by: Nick Dyer > Acked-by: Yufeng Shen > (cherry

Re: [PATCH v2 3/3] openrisc: Fix issue with get_user for 64-bit values

2020-09-05 Thread Luc Van Oostenryck
On Sat, Sep 05, 2020 at 10:19:35PM +0900, Stafford Horne wrote: Hi, The change for 64-bit get_user() looks good to me. But I wonder, given that openrisc is big-endian, what will happen you have the opposite situation: u32 *ptr; u64 val; ... get_user(val, ptr);

[PATCH v2 06/10] dt-bindings: rtc: Add bindings for Netronix embedded controller RTC

2020-09-05 Thread Jonathan Neuschäfer
The Netronix EC implements an RTC with the following functionality: - Calendar-based time keeping with single-second resolution - Automatic power-on with single-minute resolution - Alarm at single-second resolution This binding only supports timekeeping for now. Signed-off-by: Jonathan

[PATCH v2 07/10] rtc: Introduce RTC_TIMESTAMP_END_2255

2020-09-05 Thread Jonathan Neuschäfer
Some RTCs store the year as an 8-bit number relative to the year 2000. This results in a maximum timestamp of 2255-12-31 23:59:59. Signed-off-by: Jonathan Neuschäfer --- v2: - New patch --- include/linux/rtc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/rtc.h

[PATCH v2 05/10] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-09-05 Thread Jonathan Neuschäfer
The Netronix EC provides a PWM output which is used for the backlight on some ebook readers. This patches adds a driver for the PWM output. Signed-off-by: Jonathan Neuschäfer --- v2: - Various grammar and style improvements, as suggested by Uwe Kleine-König, Lee Jones, and Alexandre Belloni -

[PATCH v7 02/20] gpiolib: cdev: replace strncpy with strscpy

2020-09-05 Thread Kent Gibson
Replace usage of strncpy with strscpy to remove -Wstringop-truncation warnings. The structs being populated are zeroed, to prevent stack leakage as they are returned to userspace, so strscpy performs the equivalent function without the warnings. Reported-by: kernel test robot Signed-off-by:

[PATCH v7 03/20] gpio: uapi: define GPIO_MAX_NAME_SIZE for array sizes

2020-09-05 Thread Kent Gibson
Replace constant array sizes with a macro constant to clarify the source of array sizes, provide a place to document any constraints on the size, and to simplify array sizing in userspace if constructing structs from their composite fields. Signed-off-by: Kent Gibson ---

[PATCH v7 01/20] gpiolib: cdev: desc_to_lineinfo should set info offset

2020-09-05 Thread Kent Gibson
Set the value of the line info offset in desc_to_lineinfo, rather than relying on it being passed in the info. This makes the function behave as you would expect from the name - it generates the line info corresponding to a given GPIO desc. Signed-off-by: Kent Gibson --- There are some

[PATCH v7 04/20] gpio: uapi: define uAPI v2

2020-09-05 Thread Kent Gibson
Add a new version of the uAPI to address existing 32/64-bit alignment issues, add support for debounce and event sequence numbers, allow requested lines with different configurations, and provide some future proofing by adding padding reserved for future use. The alignment issue relates to the

[PATCH v7 05/20] gpiolib: make cdev a build option

2020-09-05 Thread Kent Gibson
Make the gpiolib-cdev module a build option. This allows the CDEV interface to be removed from the kernel to reduce kernel size in applications where is it not required, and provides the parent for other other CDEV interface specific build options to follow. Suggested-by: Bartosz Golaszewski

[PATCH v7 09/20] gpiolib: cdev: support edge detection for uAPI v2

2020-09-05 Thread Kent Gibson
Add support for edge detection to lines requested using GPIO_V2_GET_LINE_IOCTL. The edge_detector implementation is based on the v1 lineevent implementation. Signed-off-by: Kent Gibson --- drivers/gpio/gpiolib-cdev.c | 262 drivers/gpio/gpiolib.c | 2

[PATCH v7 07/20] gpiolib: cdev: support GPIO_V2_GET_LINE_IOCTL and GPIO_V2_LINE_GET_VALUES_IOCTL

2020-09-05 Thread Kent Gibson
Add support for requesting lines using the GPIO_V2_GET_LINE_IOCTL, and returning their current values using GPIO_V2_LINE_GET_VALUES_IOCTL. The struct linereq implementation is based on the v1 struct linehandle implementation. Signed-off-by: Kent Gibson --- The linereq_ioctl() is a simple

[PATCH v7 11/20] gpiolib: cdev: support GPIO_V2_LINE_SET_VALUES_IOCTL

2020-09-05 Thread Kent Gibson
Add support for the GPIO_V2_LINE_SET_VALUES_IOCTL. Signed-off-by: Kent Gibson --- drivers/gpio/gpiolib-cdev.c | 61 + 1 file changed, 61 insertions(+) diff --git a/drivers/gpio/gpiolib-cdev.c b/drivers/gpio/gpiolib-cdev.c index 0d4d217a6e15..8edf7dc30cd3

[PATCH v7 10/20] gpiolib: cdev: support GPIO_V2_LINE_SET_CONFIG_IOCTL

2020-09-05 Thread Kent Gibson
Add support for GPIO_V2_LINE_SET_CONFIG_IOCTL, the uAPI v2 line set config ioctl. Signed-off-by: Kent Gibson --- drivers/gpio/gpiolib-cdev.c | 88 + 1 file changed, 88 insertions(+) diff --git a/drivers/gpio/gpiolib-cdev.c b/drivers/gpio/gpiolib-cdev.c index

[PATCH v7 12/20] gpiolib: cdev: support setting debounce

2020-09-05 Thread Kent Gibson
Add support for setting debounce on a line via the GPIO uAPI. Where debounce is not supported by hardware, a software debounce is provided. The implementation of the software debouncer waits for the line to be stable for the debounce period before determining if a level change, and a

[PATCH v7 13/20] gpio: uapi: document uAPI v1 as deprecated

2020-09-05 Thread Kent Gibson
Update uAPI documentation to deprecate v1 structs and ioctls. Signed-off-by: Kent Gibson --- include/uapi/linux/gpio.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/include/uapi/linux/gpio.h b/include/uapi/linux/gpio.h index 87074886e73d..8f768c66fa96 100644

[PATCH v7 15/20] tools: gpio: port gpio-watch to v2 uAPI

2020-09-05 Thread Kent Gibson
Port the gpio-watch tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/gpio-watch.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/gpio/gpio-watch.c b/tools/gpio/gpio-watch.c index 5cea24fddfa7..6f048350a27e 100644 ---

[PATCH v7 17/20] tools: gpio: port gpio-hammer to v2 uAPI

2020-09-05 Thread Kent Gibson
Port the gpio-hammer tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/gpio-hammer.c | 32 +--- tools/gpio/gpio-utils.c | 164 --- tools/gpio/gpio-utils.h | 46 ++- 3 files changed, 197 insertions(+), 45 deletions(-)

[PATCH v7 18/20] tools: gpio: port gpio-event-mon to v2 uAPI

2020-09-05 Thread Kent Gibson
Port the gpio-event-mon tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/gpio-event-mon.c | 91 +++-- 1 file changed, 47 insertions(+), 44 deletions(-) diff --git a/tools/gpio/gpio-event-mon.c b/tools/gpio/gpio-event-mon.c index

[PATCH v7 19/20] tools: gpio: add multi-line monitoring to gpio-event-mon

2020-09-05 Thread Kent Gibson
Extend gpio-event-mon to support monitoring multiple lines. This would require multiple lineevent requests to implement using uAPI v1, but can be performed with a single line request using uAPI v2. Signed-off-by: Kent Gibson --- tools/gpio/gpio-event-mon.c | 45

RE: [PATCH v1 01/12] fpga: fpga security manager class driver

2020-09-05 Thread Wu, Hao
> On 9/4/20 5:23 PM, Moritz Fischer wrote: > > Hi Russ, > > > > On Fri, Sep 04, 2020 at 04:52:54PM -0700, Russ Weight wrote: > >> Create the Intel Security Manager class driver. The security > >> manager provides interfaces to manage secure updates for the > >> FPGA and BMC images that are stored

[PATCH v7 20/20] tools: gpio: add debounce support to gpio-event-mon

2020-09-05 Thread Kent Gibson
Add support for debouncing monitored lines to gpio-event-mon. Signed-off-by: Kent Gibson --- tools/gpio/gpio-event-mon.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/tools/gpio/gpio-event-mon.c b/tools/gpio/gpio-event-mon.c index

[PATCH v7 14/20] tools: gpio: port lsgpio to v2 uAPI

2020-09-05 Thread Kent Gibson
Port the lsgpio tool to the latest GPIO uAPI. Signed-off-by: Kent Gibson --- tools/gpio/lsgpio.c | 60 - 1 file changed, 38 insertions(+), 22 deletions(-) diff --git a/tools/gpio/lsgpio.c b/tools/gpio/lsgpio.c index b08d7a5e779b..deda38244026 100644

[PATCH v7 08/20] gpiolib: cdev: support GPIO_V2_GET_LINEINFO_IOCTL and GPIO_V2_GET_LINEINFO_WATCH_IOCTL

2020-09-05 Thread Kent Gibson
Add support for GPIO_V2_GET_LINEINFO_IOCTL and GPIO_V2_GET_LINEINFO_WATCH_IOCTL. The core of this change is the event kfifo switching to contain struct gpioline_info_changed_v2, instead of v1 as v2 is richer. The two uAPI versions are mostly independent - other than where they both provide line

[PATCH v7 16/20] tools: gpio: rename nlines to num_lines

2020-09-05 Thread Kent Gibson
Rename nlines to num_lines to be consistent with other usage for fields describing the number of entries in an array. Signed-off-by: Kent Gibson --- tools/gpio/gpio-hammer.c | 26 +- tools/gpio/gpio-utils.c | 20 ++-- tools/gpio/gpio-utils.h | 6 +++---

[PATCH v7 06/20] gpiolib: add build option for CDEV v1 ABI

2020-09-05 Thread Kent Gibson
Add a build option to allow the removal of the CDEV v1 ABI. Suggested-by: Bartosz Golaszewski Signed-off-by: Kent Gibson --- This patch is before the v2 implementation, and is non-functional until that patch, as some parts of that patch would be written slightly differently if removing v1 was

[PATCH v7 00/20] gpio: cdev: add uAPI v2

2020-09-05 Thread Kent Gibson
This patchset defines and implements a new version of the GPIO CDEV uAPI to address existing 32/64-bit alignment issues, add support for debounce, event sequence numbers, and allow for requested lines with different configurations. It provides some future proofing by adding optional configuration

[PATCH v2 04/10] dt-bindings: pwm: Add bindings for PWM function in Netronix EC

2020-09-05 Thread Jonathan Neuschäfer
The Netronix embedded controller as found in Kobo Aura and Tolino Shine supports one PWM channel, which is used to control the frontlight brightness on these devices. Signed-off-by: Jonathan Neuschäfer --- v2: - Add plaintext binding to patch description, for comparison - Fix pwm-cells property

[PATCH v2 02/10] dt-bindings: mfd: Add binding for Netronix's embedded controller

2020-09-05 Thread Jonathan Neuschäfer
This EC is found in e-book readers of multiple brands (e.g. Kobo, Tolino), and is typically implemented as a TI MSP430 microcontroller. It controls different functions of the system, such as power on/off, RTC, PWM for the backlight. The exact functionality provided can vary between boards.

[PATCH v2 03/10] mfd: Add base driver for Netronix embedded controller

2020-09-05 Thread Jonathan Neuschäfer
The Netronix embedded controller is a microcontroller found in some e-book readers designed by the ODM Netronix, Inc. It contains RTC, battery monitoring, system power management, and PWM functionality. This driver implements register access and version detection. Third-party hardware

[PATCH v2 01/10] dt-bindings: Add vendor prefix for Netronix, Inc.

2020-09-05 Thread Jonathan Neuschäfer
Netronix, Inc. (http://www.netronixinc.com/) makes ebook reader board designs, which are for example used in Kobo and Tolino devices. An alternative prefix for Netronix would be "ntx", which is already used in code released by Netronix. It is shorter, but perhaps less clear. Signed-off-by:

[PATCH v2 00/10] Netronix embedded controller driver for Kobo and Tolino ebook readers

2020-09-05 Thread Jonathan Neuschäfer
This patchset adds basic support for the embedded controller found on older ebook reader boards designed by/with the ODM Netronix Inc.[1] and sold by Kobo or Tolino, for example the Kobo Aura and the Tolino Shine. These drivers are based on information contained in the vendor kernel sources, but

Re: [PATCH v2 1/3] openrisc: Reserve memblock for initrd

2020-09-05 Thread Stafford Horne
On Sat, Sep 05, 2020 at 10:19:33PM +0900, Stafford Horne wrote: > Recently OpenRISC added support for external initrd images, but I found > some instability when using larger buildroot initrd images. It turned > out that I forgot to reserve the memblock space for the initrd image. > > This patch

Re: [PATCH v2 0/3] OpenRISC fixes for 5.9

2020-09-05 Thread Stafford Horne
On Sat, Sep 05, 2020 at 10:19:32PM +0900, Stafford Horne wrote: > Changes since v1: > > - Now a series, v1 was only the "Reserve memblock for initrd" patch > - Added fixes for compiler issues pointed out by the kbuild robot Forgot to mention: - Updated "Reserve memblock for initrd", as per

[PATCH v2 3/3] openrisc: Fix issue with get_user for 64-bit values

2020-09-05 Thread Stafford Horne
A build failure was raised by kbuild with the following error. drivers/android/binder.c: Assembler messages: drivers/android/binder.c:3861: Error: unrecognized keyword/register name `l.lwz ?ap,4(r24)' drivers/android/binder.c:3866: Error: unrecognized keyword/register name `l.addi

[PATCH v2 2/3] openrisc: Fix cache API compile issue when not inlining

2020-09-05 Thread Stafford Horne
I found this when compiling a kbuild random config with GCC 11. The config enables CONFIG_DEBUG_SECTION_MISMATCH, which sets CFLAGS -fno-inline-functions-called-once. This causes the call to cache_loop in cache.c to not be inlined causing the below compile error. In file included from

[PATCH v2 1/3] openrisc: Reserve memblock for initrd

2020-09-05 Thread Stafford Horne
Recently OpenRISC added support for external initrd images, but I found some instability when using larger buildroot initrd images. It turned out that I forgot to reserve the memblock space for the initrd image. This patch fixes the instability issue by reserving memblock space. Fixes:

[PATCH v2 0/3] OpenRISC fixes for 5.9

2020-09-05 Thread Stafford Horne
Changes since v1: - Now a series, v1 was only the "Reserve memblock for initrd" patch - Added fixes for compiler issues pointed out by the kbuild robot This is a few fixes found during testing 5.9. Stafford Horne (3): openrisc: Reserve memblock for initrd openrisc: Fix cache API compile

[PATCH 5/7] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation

2020-09-05 Thread Luka Kovacic
Add the iei-wt61p803-puzzle driver sysfs interface documentation to allow monitoring and control of the microcontroller from user space. Signed-off-by: Luka Kovacic Cc: Luka Perkov --- .../stable/sysfs-driver-iei-wt61p803-puzzle | 65 +++ 1 file changed, 65 insertions(+)

[PATCH 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-09-05 Thread Luka Kovacic
Add support for the iEi WT61P803 PUZZLE LED driver. Currently only the front panel power LED is supported. This driver depends on the iEi WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov --- drivers/leds/Kconfig| 8 ++ drivers/leds/Makefile

[PATCH 7/7] arm64: dts: marvell: Add a device tree for the iEi Puzzle-M801 board

2020-09-05 Thread Luka Kovacic
Add initial support for the iEi Puzzle-M801 1U Rackmount Network Appliance board. The board is based on the quad-core Marvell Armada 8040 SoC and supports up to 16 GB of DDR4 2400 MHz ECC RAM. It has a PCIe x16 slot (x2 lanes only) and an M.2 type B slot. Main system hardware: 2x USB 3.0 4x

[PATCH 3/7] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-09-05 Thread Luka Kovacic
Add the iEi WT61P803 PUZZLE HWMON driver, that handles the fan speed control via PWM, reading fan speed and reading on-board temperature sensors. The driver registers a HWMON device and a simple thermal cooling device to enable in-kernel fan management. This driver depends on the iEi WT61P803

[PATCH 2/7] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

2020-09-05 Thread Luka Kovacic
Add a driver for the iEi WT61P803 PUZZLE microcontroller, used in some iEi Puzzle series devices. The microcontroller controls system power, temperature sensors, fans and LEDs. This driver implements the core functionality for device communication over the system serial (serdev bus). It handles

[PATCH 6/7] MAINTAINERS: Add an entry for the iEi WT61P803 PUZZLE driver

2020-09-05 Thread Luka Kovacic
Add an entry for the iEi WT61P803 PUZZLE driver (MFD, HWMON, LED drivers). Signed-off-by: Luka Kovacic Cc: Luka Perkov --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e4647c84c987..01a85d753d81 100644 --- a/MAINTAINERS +++

[PATCH 0/7] Add support for the iEi Puzzle-M801 board

2020-09-05 Thread Luka Kovacic
This patchset adds support for the iEi Puzzle-M801 1U Rackmount Network Appliance and for the iEi WT61P803 PUZZLE microcontroller, which enables some board specific features like fan and LED control, system power management and temperature sensor reading. The platform is based on the popular

[PATCH 1/7] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings

2020-09-05 Thread Luka Kovacic
Add the iEi WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED drivers. A new vendor prefix is also added accordingly for IEI Integration Corp. Signed-off-by: Luka Kovacic Cc: Luka Perkov --- .../hwmon/iei,wt61p803-puzzle-hwmon.yaml | 41 ++

[PATCH] scsi: libsas: Fix error path in sas_notify_lldd_dev_found()

2020-09-05 Thread Dan Carpenter
In sas_notify_lldd_dev_found(), if we can't find a device, then it seems like the wrong thing to mark the device as found and to increment the reference count. None of the callers ever drop the reference in that situation. Fixes: 735f7d2fedf5 ("[SCSI] libsas: fix domain_device leak")

Re: [PATCH v2 1/4] genirq: Walk the irq_data hierarchy when resending an interrupt

2020-09-05 Thread Valentin Schneider
On 05/09/20 10:26, Marc Zyngier wrote: > > Maybe considering the irqchip stack along a vertical axis is the wrong > thing to do, and that looking at it as a volume would be marginally > better? > > How about innermost (close to the CPU) vs outermost (close to the > device)? > > I guess this

[PATCH] staging: media: atomisp: Fix bool-related style issues

2020-09-05 Thread Alex Dewar
Address the following issues: * unnecessary comparison to true/false * use of 0/1 instead of bool values * unnecessary conversion to bool These were fixed using the following Coccinelle scripts: * scripts/coccinelle/misc/bool{init,conv,return}.cocci Build-tested with allmodconfig.

[PATCH] blk-mq: Fix refcounting leak in __blk_mq_register_dev()

2020-09-05 Thread Dan Carpenter
There is a kobject_add() hidden in the call to kobject_add(). ret = kobject_add(q->mq_kobj, kobject_get(>kobj), "%s", "mq"); ^^^ It needs to be release on the error path. Fixes: 320ae51feed5 ("blk-mq: new multi-queue block IO

[PATCH] phy: ti: am654: Fix a leak in serdes_am654_probe()

2020-09-05 Thread Dan Carpenter
If devm_phy_create() fails then we need to call of_clk_del_provider(node) to undo the call to of_clk_add_provider(). Fixes: 71e2f5c5c224 ("phy: ti: Add a new SERDES driver for TI's AM654x SoC") Signed-off-by: Dan Carpenter --- drivers/phy/ti/phy-am654-serdes.c | 6 -- 1 file changed, 4

Re: [PATCH] i2c: amd_mp2: handle num is 0 input for i2c_amd_xfer

2020-09-05 Thread Elie Morisse
Acked-by: Elie Morisse Le ven. 4 sept. 2020 à 20:06, a écrit : > > From: Tom Rix > > clang static analyzer reports this problem > > i2c-amd-mp2-plat.c:174:9: warning: Branch condition evaluates > to a garbage value > return err ? err : num; >^~~ > > err is not

[PATCH v2 -next] remoteproc: k3-dsp: Fix return value check in k3_dsp_rproc_of_get_memories()

2020-09-05 Thread YueHaibing
In case of error, the function devm_ioremap_wc() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: 6edbe024ba17 ("remoteproc: k3-dsp: Add a remoteproc driver of K3 C66x DSPs") Signed-off-by: YueHaibing Acked-by: Suman Anna

Re: remove set_fs for riscv

2020-09-05 Thread Arnd Bergmann
On Sat, Sep 5, 2020 at 9:17 AM Christoph Hellwig wrote: > > On Fri, Sep 04, 2020 at 08:15:03PM +0200, Arnd Bergmann wrote: > > Is there a bigger plan for the rest? I can probably have a look at the Arm > > OABI code if nobody else working on that yet. > > m68knommu seems mostly trivial and not

[PATCH -next] Bluetooth: btmtksdio: use NULL instead of zero

2020-09-05 Thread YueHaibing
Fix sparse warnings: drivers/bluetooth/btmtksdio.c:499:57: warning: Using plain integer as NULL pointer drivers/bluetooth/btmtksdio.c:533:57: warning: Using plain integer as NULL pointer Signed-off-by: YueHaibing --- drivers/bluetooth/btmtksdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH -next] RDMA/bnxt_re: Remove set but not used variable 'qplib_ctx'

2020-09-05 Thread YueHaibing
drivers/infiniband/hw/bnxt_re/main.c:1012:25: warning: variable ‘qplib_ctx’ set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing --- drivers/infiniband/hw/bnxt_re/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/infiniband/hw/bnxt_re/main.c

[PATCH 2/2] xfs: don't update mtime on COW faults

2020-09-05 Thread Mikulas Patocka
When running in a dax mode, if the user maps a page with MAP_PRIVATE and PROT_WRITE, the xfs filesystem would incorrectly update ctime and mtime when the user hits a COW fault. This breaks building of the Linux kernel. How to reproduce: 1. extract the Linux kernel tree on dax-mounted xfs

[PATCH 1/2] ext2: don't update mtime on COW faults

2020-09-05 Thread Mikulas Patocka
When running in a dax mode, if the user maps a page with MAP_PRIVATE and PROT_WRITE, the ext2 filesystem would incorrectly update ctime and mtime when the user hits a COW fault. This breaks building of the Linux kernel. How to reproduce: 1. extract the Linux kernel tree on dax-mounted ext2

Re: make misbehavior on ext2 in dax mode (was: a crash when running strace from persistent memory)

2020-09-05 Thread Mikulas Patocka
On Fri, 4 Sep 2020, Mikulas Patocka wrote: > Hmm, so I've found another bug in dax mode. > > If you extract the Linux kernel tree on dax-based ext2 filesystem (use the > real ext2 driver, not ext4), and then you run make twice, the second > invocation will rebuild everything. It seems like

Re: [PATCH AUTOSEL 5.8 25/42] ceph: fix inode number handling on arches with 32-bit ino_t

2020-09-05 Thread Sasha Levin
On Mon, Aug 31, 2020 at 06:08:32PM +0200, Ilya Dryomov wrote: On Mon, Aug 31, 2020 at 5:30 PM Sasha Levin wrote: From: Jeff Layton [ Upstream commit ebce3eb2f7ef9f6ef01a60874ebd232450107c9a ] Tuan and Ulrich mentioned that they were hitting a problem on s390x, which has a 32-bit ino_t

Re: [PATCH AUTOSEL 5.8 11/42] nvme: skip noiob for zoned devices

2020-09-05 Thread Sasha Levin
On Mon, Aug 31, 2020 at 09:38:18AM -0600, Keith Busch wrote: On Mon, Aug 31, 2020 at 11:29:03AM -0400, Sasha Levin wrote: From: Keith Busch [ Upstream commit c41ad98bebb8f4f0335b3c50dbb7583a6149dce4 ] Zoned block devices reuse the chunk_sectors queue limit to define zone boundaries. If a

Re: [PATCH AUTOSEL 5.8 07/42] speakup: Fix wait_for_xmitr for ttyio case

2020-09-05 Thread Sasha Levin
On Mon, Aug 31, 2020 at 05:33:45PM +0200, Greg Kroah-Hartman wrote: On Mon, Aug 31, 2020 at 11:28:59AM -0400, Sasha Levin wrote: From: Samuel Thibault [ Upstream commit 2b86d9b8ec6efb86fc5ea44f2d49b1df17f699a1 ] This was missed while introducing the tty-based serial access. The only

[GIT PULL] Compiler Attributes for v5.9-rc4

2020-09-05 Thread Miguel Ojeda
Hi Linus, Luc requested me to pick a sparse fix on my queue, so here it goes along with other two trivial Compiler Attributes ones (also from Luc). Cheers, Miguel The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd: Linux 5.9-rc2 (2020-08-23 14:08:43 -0700) are

[PATCH] staging: rtl8188eu: clean up whitespace in wpa_set_encryption()

2020-09-05 Thread Michael Straube
Clean up unnecessary whitespace in wpa_set_encryption() by removing extra spaces and replacing tabs with spaces. Clears a checkpatch error. ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 12

Re: [PATCH v9 0/5] Add support for iMX8MQ Display Controller Subsystem

2020-09-05 Thread Guido Günther
Hi Laurentiu, On Fri, Jul 31, 2020 at 10:54:29AM +0200, Guido Günther wrote: > Hi, > On Fri, Jul 31, 2020 at 11:18:28AM +0300, Laurentiu Palcu wrote: > > From: Laurentiu Palcu > > > > Hi, > > > > This patchset adds initial DCSS support for iMX8MQ chip. Initial support > > includes only graphics

[GIT PULL] clang-format for v5.9-rc4

2020-09-05 Thread Miguel Ojeda
Hi Linus, We are in the middle of the cycle, so here is the usual update for clang-format. Cheers, Miguel The following changes since commit f75aef392f869018f78cfedf3c320a6b3fcfda6b: Linux 5.9-rc3 (2020-08-30 16:01:54 -0700) are available in the Git repository at:

[GIT PULL] auxdisplay for v5.9-rc4

2020-09-05 Thread Miguel Ojeda
Hi Linus, Please pull this trivial change to auxdisplay. Cheers, Miguel The following changes since commit bcf876870b95592b52519ed4aafcf9d95999bc9c: Linux 5.8 (2020-08-02 14:21:45 -0700) are available in the Git repository at: https://github.com/ojeda/linux.git

[PATCH -next] powerpc/eeh: fix compile warning with CONFIG_PROC_FS=n

2020-09-05 Thread Yang Yingliang
Fix the compile warning: arch/powerpc/kernel/eeh.c:1639:12: error: 'proc_eeh_show' defined but not used [-Werror=unused-function] static int proc_eeh_show(struct seq_file *m, void *v) Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- arch/powerpc/kernel/eeh.c | 2 ++ 1 file changed,

Re: [PATCH v14 08/10] ptp: arm64: Enable ptp_kvm for arm64

2020-09-05 Thread Marc Zyngier
On Fri, 04 Sep 2020 10:27:42 +0100, Jianyong Wu wrote: > > Currently, there is no mechanism to keep time sync between guest and host > in arm64 virtualization environment. Time in guest will drift compared > with host after boot up as they may both use third party time sources > to correct their

[PATCH -next] powerpc/book3s64: fix link error with CONFIG_PPC_RADIX_MMU=n

2020-09-05 Thread Yang Yingliang
Fix link error when CONFIG_PPC_RADIX_MMU is disabled: powerpc64-linux-gnu-ld: arch/powerpc/platforms/pseries/lpar.o:(.toc+0x0): undefined reference to `mmu_pid_bits' Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- arch/powerpc/mm/book3s64/mmu_context.c | 4

Re: [PATCH v6 5/9] kernel: Implement selective syscall userspace redirection

2020-09-05 Thread Matthew Wilcox
On Fri, Sep 04, 2020 at 04:31:43PM -0400, Gabriel Krisman Bertazi wrote: > +int set_syscall_user_dispatch(int mode, unsigned long dispatcher_start, > + unsigned long dispatcher_end, char __user > *selector) > +{ > + switch (mode) { > + case PR_SYS_DISPATCH_OFF:

Greetings

2020-09-05 Thread DR. TIJANI IBRA
Greetings, I wonder why you continue neglecting my emails. Please, acknowledge the receipt of this message in reference to the subject above as I intend to send to you the details of the mail. Sometimes, try to check your spam box because most of these correspondences fall out sometimes in SPAM

RE

2020-09-05 Thread db.bankdirec...@gmail.com

Re: [PATCH v14 07/10] arm64/kvm: Add hypercall service for kvm ptp.

2020-09-05 Thread Marc Zyngier
On Fri, 04 Sep 2020 10:27:41 +0100, Jianyong Wu wrote: > > ptp_kvm will get this service through smccc call. > The service offers wall time and counter cycle of host for guest. > caller must explicitly determines which cycle of virtual counter or > physical counter to return if it needs counter

Re: [PATCH v14 08/10] ptp: arm64: Enable ptp_kvm for arm64

2020-09-05 Thread Marc Zyngier
On Fri, 04 Sep 2020 10:27:42 +0100, Jianyong Wu wrote: > > Currently, there is no mechanism to keep time sync between guest and host > in arm64 virtualization environment. Time in guest will drift compared > with host after boot up as they may both use third party time sources > to correct their

Re: [PATCH] tools feature: Add missing -lzstd to the fast path feature detection

2020-09-05 Thread Alexey Budankov
On 04.09.2020 23:26, Arnaldo Carvalho de Melo wrote: > We were failing that due to GTK2+ and then for the ZSTD test, which made > test-all.c, the fast path feature detection file to fail and thus > trigger building all of the feature tests, slowing down the test. > > Eventually the ZSTD test

[PATCH] MAINTAINERS: repair reference in LYNX PCS MODULE

2020-09-05 Thread Lukas Bulwahn
Commit 0da4c3d393e4 ("net: phy: add Lynx PCS module") added the files in ./drivers/net/pcs/, but the new LYNX PCS MODULE section refers to ./drivers/net/phy/. Hence, ./scripts/get_maintainer.pl --self-test=patterns complains: warning: no file matchesF:drivers/net/phy/pcs-lynx.c Repair

INFO: trying to register non-static key in unmap_page_range

2020-09-05 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:b51594df Merge tag 'docs-5.9-3' of git://git.lwn.net/linux git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=148e765690 kernel config: https://syzkaller.appspot.com/x/.config?x=3c5f6ce8d5b68299

RE: remove the last set_fs() in common code, and remove it for x86 and powerpc v3

2020-09-05 Thread David Laight
From: Christophe Leroy > Sent: 05 September 2020 08:16 > > Le 04/09/2020 à 23:01, David Laight a écrit : > > From: Alexey Dobriyan > >> Sent: 04 September 2020 18:58 ... > > What is this strange %fs register you are talking about. > > Figure 2-4 only has CS, DS, SS and ES. > > > > Intel added

INFO: rcu detected stall in __run_timers (5)

2020-09-05 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:29523c5e bpf: Fix build without BPF_LSM. git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=112d38ae90 kernel config: https://syzkaller.appspot.com/x/.config?x=230cd4f722256978 dashboard link:

Re: Linux 5.8.7

2020-09-05 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt index 2cf3affa1be7..96c0b1440c9c 100644 --- a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt +++

Linux 5.8.7

2020-09-05 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.8.7 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:

Re: Linux 5.4.63

2020-09-05 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt index 2cf3affa1be7..96c0b1440c9c 100644 --- a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt +++

Linux 5.4.63

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

Re: [PATCH v2 02/20] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-05 Thread Clément Péron
Hi Samuel, On Fri, 4 Sep 2020 at 05:16, Samuel Holland wrote: > > Clément, > > On 9/3/20 3:30 PM, Clément Péron wrote: > > From: Jernej Skrabec > > > > H6 I2S is very similar to that in H3, except it supports up to 16 > > channels. > > > > Signed-off-by: Jernej Skrabec > > Signed-off-by:

[PATCH] block: Use helper function blk_mq_sched_needs_restart()

2020-09-05 Thread Miaohe Lin
Use helper function blk_mq_sched_needs_restart() to check if hardware queue needs restart. Signed-off-by: Miaohe Lin --- block/blk-mq-sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-mq-sched.c b/block/blk-mq-sched.c index d2790e5b06d1..dc837fd26e17

[PATCH] block: Use helper function blk_mq_hctx_stopped() in blk_mq_run_work_fn()

2020-09-05 Thread Miaohe Lin
Use helper function blk_mq_hctx_stopped() to check if hardware queue stopped in blk_mq_run_work_fn(). Signed-off-by: Miaohe Lin --- block/blk-mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index b3d2785eefe9..d089825f9cd1 100644 ---

[PATCH] block: Fix various comments

2020-09-05 Thread Miaohe Lin
Fix various comments including wrong function names, global variable name and so on. Signed-off-by: Miaohe Lin --- block/bio.c | 2 +- block/blk-cgroup.c | 2 +- block/blk-mq.c | 4 ++-- block/blk-throttle.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH] block: Fix potential page reference leak in __bio_iov_append_get_pages()

2020-09-05 Thread Miaohe Lin
When bio_add_hw_page() failed, we left page reference still held in pages. Release these references and advance the iov_iter according to what we have done successfully yet. Fixes: 0512a75b98f8 ("block: Introduce REQ_OP_ZONE_APPEND") Signed-off-by: Miaohe Lin --- block/bio.c | 12 +++-

Re: [PATCH 5.8 00/17] 5.8.7-rc1 review

2020-09-05 Thread Greg Kroah-Hartman
On Fri, Sep 04, 2020 at 12:23:45PM -0700, Guenter Roeck wrote: > On Fri, Sep 04, 2020 at 03:29:59PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.7 release. > > There are 17 patches in this series, all will be posted as a response > > to this one.

[PATCH] sched: Fix some comments

2020-09-05 Thread Miaohe Lin
Since commit dfa50b605c2a ("sched: Make finish_task_switch() return 'struct rq *'"), prev == current is incorrect in finish_task_switch(). Also fix a typo in the comment of struct dl_bandwidth. Signed-off-by: Miaohe Lin --- kernel/sched/core.c | 4 ++-- kernel/sched/sched.h | 2 +- 2 files

Re: [PATCH 5.8 00/17] 5.8.7-rc1 review

2020-09-05 Thread Greg Kroah-Hartman
On Fri, Sep 04, 2020 at 02:11:08PM -0600, Shuah Khan wrote: > On 9/4/20 7:29 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.7 release. > > There are 17 patches in this series, all will be posted as a response > > to this one. If anyone has any issues

Re: [PATCH v2 1/4] genirq: Walk the irq_data hierarchy when resending an interrupt

2020-09-05 Thread Marc Zyngier
Hi Valentin, On Fri, 04 Sep 2020 20:28:38 +0100, Valentin Schneider wrote: > > > Hi Marc, > > On 03/09/20 19:32, Marc Zyngier wrote: > > On resending an interrupt, we only check the topmost irqchip for > > a irq_retrigger callback. However, this callback could be implemented > > at a lower

Re: [PATCH net v2] drivers/net/wan/hdlc_fr: Add needed_headroom for PVC devices

2020-09-05 Thread Xie He
On Fri, Sep 4, 2020 at 9:36 PM Jakub Kicinski wrote: > > Applied to net, thank you! Thank you, Jakub!

<    1   2   3   4   >