Re: [PATCH 5.8 101/186] drm/radeon: Prefer lower feedback dividers

2020-09-09 Thread Greg Kroah-Hartman
On Wed, Sep 09, 2020 at 01:15:13PM +0200, Christian König wrote: > Hi Greg, > > please drop that patch. It turned out to break a lot of different setups and > we are going to revert it now. Ok, now dropped from all trees, thanks. greg k-h

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

2020-09-09 Thread Lukas Bulwahn
On Wed, 2 Sep 2020, John Mathew wrote: > Add documentation for > -scheduler overview > -scheduler state transtion > -CFS overview > -scheduler data structs > > Add rst for scheduler APIs and modify sched/core.c > to add kernel-doc comments. > > Suggested-by: Lukas Bulwahn > Co-developed-b

Re: [Linux-kernel-mentees] [PATCH] checkpatch: GIT_COMMIT_ID: handle commit messages with multiple quotes

2020-09-09 Thread Lukas Bulwahn
dropped the maintainers. On Wed, 9 Sep 2020, Ayush wrote: > Sir, > > > As the mentor in the linux kernel community bridge program, I usually > > inform the mentees when the review on the mentee mailing list has > > successfully concluded to a first acceptable state and I think it is well > > a

Re: [PATCH v6 2/2] Add Intel LGM soc DMA support.

2020-09-09 Thread Andy Shevchenko
On Wed, Sep 09, 2020 at 07:07:34AM +0800, Amireddy Mallikarjuna reddy wrote: > Add DMA controller driver for Lightning Mountain(LGM) family of SoCs. > > The main function of the DMA controller is the transfer of data from/to any > DPlus compliant peripheral to/from the memory. A memory to memory c

Re: [RFC PATCH v2] coresight: etm4x: Modify core-commit of cpu to avoid the overflow of HiSilicon ETM

2020-09-09 Thread Mike Leach
Hi, On Wed, 2 Sep 2020 at 11:36, Suzuki K Poulose wrote: > > On 08/27/2020 09:44 PM, Mathieu Poirier wrote: > > Hi Liu, > > > > On Wed, Aug 19, 2020 at 04:06:37PM +0800, Qi Liu wrote: > >> When too much trace information is generated on-chip, the ETM will > >> overflow, and cause data loss. This

Re: [PATCH] arm64: topology: Stop using MPIDR for topology information

2020-09-09 Thread Valentin Schneider
On 03/09/20 02:44, B wrote: >> -Original Message- >> From: Valentin Schneider [mailto:valentin.schnei...@arm.com] >> On 02/09/20 04:24, B wrote: >> > I agree with your idea to remove the topology functionality of MPIDR , >> > but I think we need also consider ARM32 and GIC. >> > >> >> Cou

Re: [RFC 0/5] disable pcplists during page isolation

2020-09-09 Thread David Hildenbrand
On 09.09.20 13:27, osalva...@suse.de wrote: > On 2020-09-09 12:54, Vlastimil Babka wrote: >> Thanks! I expect no performance change while no isolation is in >> progress, as >> there are no new tests added in alloc/free paths. During page isolation >> there's >> a single drain instead of once-per-

Re: PCI: Race condition in pci_create_sysfs_dev_files

2020-09-09 Thread Pali Rohár
Hello! I'm adding more people to loop. Can somebody look at these race conditions and my patch? On Friday 14 August 2020 10:08:24 Pali Rohár wrote: > Hello! I would like to remind this issue which I reported month ago. > > On Thursday 16 July 2020 13:04:23 Pali Rohár wrote: > > Hello Bjorn! > >

Re: [PATCH v2 3/7] mm/memory_hotplug: prepare passing flags to add_memory() and friends

2020-09-09 Thread Michael Ellerman
David Hildenbrand writes: > On 09.09.20 09:17, Greg Kroah-Hartman wrote: >> On Tue, Sep 08, 2020 at 10:10:08PM +0200, David Hildenbrand wrote: >>> We soon want to pass flags, e.g., to mark added System RAM resources. >>> mergeable. Prepare for that. >> >> What are these random "flags", and how do

Re: [PATCH V2 0/8] opp: Unconditionally call dev_pm_opp_of_remove_table()

2020-09-09 Thread Viresh Kumar
On 31-08-20, 16:39, Viresh Kumar wrote: > On 28-08-20, 11:37, Viresh Kumar wrote: > > Hello, > > > > This cleans up some of the user code around calls to > > dev_pm_opp_of_remove_table(). > > > > All the patches can be picked by respective maintainers directly except > > for the last patch, which

Re: [PATCH] gpio: mockup: fix resource leak in error path

2020-09-09 Thread Bartosz Golaszewski
On Tue, Sep 8, 2020 at 3:45 PM Andy Shevchenko wrote: > > On Tue, Sep 08, 2020 at 03:07:49PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > If the module init function fails after creating the debugs directory, > > it's never removed. Add proper cleanup calls to avoid thi

Re: [PATCH V2 4/8] mmc: sdhci-msm: Unconditionally call dev_pm_opp_of_remove_table()

2020-09-09 Thread Viresh Kumar
On 31-08-20, 12:57, Ulf Hansson wrote: > On Mon, 31 Aug 2020 at 12:45, Viresh Kumar wrote: > > > > On 28-08-20, 10:43, Ulf Hansson wrote: > > > On Fri, 28 Aug 2020 at 08:08, Viresh Kumar > > > wrote: > > > > > > > > dev_pm_opp_of_remove_table() doesn't report any errors when it fails to > > > >

Re: [PATCH v2] dt-bindings: watchdog: sp-805: Convert to Json-schema

2020-09-09 Thread Viresh Kumar
On 09-09-20, 11:50, Andre Przywara wrote: > Convert the ARM SP-805 watchdog IP DT binding over to Json-schema. > > A straight-forward conversion, but the requirement for providing two > clocks got strengthened from "should" to "must". > > Signed-off-by: Andre Przywara > --- > Hi, > > this is ju

Re: [PATCH v2 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-09-09 Thread Pali Rohár
On Wednesday 09 September 2020 17:42:01 Joseph Hwang wrote: > It is desirable to define the HCI packet payload sizes of > USB alternate settings so that they can be exposed to user > space. > > Reviewed-by: Alain Michaud > Reviewed-by: Abhishek Pandit-Subedi > Signed-off-by: Joseph Hwang > ---

Re: [PATCH 1/1] efi/libstub: DRAM base calculation

2020-09-09 Thread Maxim Uvarov
On Wed, 9 Sep 2020 at 13:47, Ard Biesheuvel wrote: > > On Wed, 9 Sep 2020 at 13:44, Maxim Uvarov wrote: > > > > On Wed, 9 Sep 2020 at 11:17, Ard Biesheuvel wrote: > > > > > > (+ Atish, Palmer) > > > > > > On Fri, 4 Sep 2020 at 18:50, Heinrich Schuchardt > > > wrote: > > > > > > > > In the memo

Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs

2020-09-09 Thread Bartosz Golaszewski
On Wed, Sep 9, 2020 at 12:30 PM Uwe Kleine-König wrote: > > On Wed, Sep 09, 2020 at 11:43:24AM +0200, Bartosz Golaszewski wrote: > > On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum wrote: > > > > > > The gpio-siox driver uses handle_nested_irq() to implement its > > > interrupt support. This is only

Re: [PATCH][next] mt7601u: Use fallthrough pseudo-keyword

2020-09-09 Thread Joe Perches
On Tue, 2020-09-01 at 12:36 -0500, Gustavo A. R. Silva wrote: > Replace the existing /* fall through */ comments and its variants with > the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary > fall-through markings when it is the case. [] > diff --git a/drivers/net/wireless/mediatek

Re: [git pull] drm fixes for 5.9-rc4

2020-09-09 Thread Harald Arnesen
Linus Torvalds [08.09.2020 20:19]: > On Fri, Sep 4, 2020 at 2:51 PM Harald Arnesen wrote: >> >> Still doesn't work without the three reverts >> (763fedd6a216, 9e0f9464e2ab, 7ac2d2536dfa)... > > So this didn't make rc4, but it's in my tree now. > > Harald, I'm assuming things work for you again

Re: [PATCH] mm: don't rely on system state to detect hot-plug operations

2020-09-09 Thread Michal Hocko
On Wed 09-09-20 11:21:58, Laurent Dufour wrote: > Le 09/09/2020 à 11:09, Michal Hocko a écrit : > > On Wed 09-09-20 09:48:59, Laurent Dufour wrote: > > > Le 09/09/2020 à 09:40, Michal Hocko a écrit : [...] > > > > > In > > > > > that case, the system is able to boot but later hot-plug operation >

Re: [PATCH v2 0/3] gpiolib: generalize GPIO line names property

2020-09-09 Thread Bartosz Golaszewski
On Wed, Sep 9, 2020 at 12:34 PM Andy Shevchenko wrote: > > On Wed, Sep 09, 2020 at 10:54:23AM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > I initially sent this as part of the gpio-mockup overhaul but since > > these patches are indepentent and the work on gpio-mockup m

[PATCH] media: imx274: add support for sensor mode6, 1280x540

2020-09-09 Thread Eugen Hristev
Add support for the mode 6 for the sensor, this mode uses 3/8 subsampling and 3 horizontal binning. Aspect ratio is changed. Split the bin_ratio variable into two parts, one for width and one for height, as the ratio is no longer preserved when doing subsampling in this mode. Signed-off-by: Eugen

Re: [RFC 0/5] disable pcplists during page isolation

2020-09-09 Thread Vlastimil Babka
On 9/8/20 8:29 PM, David Hildenbrand wrote: > On 07.09.20 18:36, Vlastimil Babka wrote: >> As per the discussions [1] [2] this is an attempt to implement David's >> suggestion that page isolation should disable pcplists to avoid races. This >> is >> done without extra checks in fast paths, as I me

Re: [PATCH] fsync.2: ERRORS: add EIO and ENOSPC

2020-09-09 Thread Michael Kerrisk (man-pages)
Hello Jeff, On 9/8/20 9:44 PM, Jeff Layton wrote: > On Tue, 2020-09-08 at 13:27 +0200, Jan Kara wrote: >> Added Jeff to CC since he has written the code... >> >> On Mon 07-09-20 09:11:06, Michael Kerrisk (man-pages) wrote: >>> [Widening the CC to include Andrew and linux-fsdevel@] >>> [Milan: than

Re: [PATCH] fsync.2: ERRORS: add EIO and ENOSPC

2020-09-09 Thread Michael Kerrisk (man-pages)
Hello Jan, Thank you for jumping in on this thread. On 9/8/20 1:27 PM, Jan Kara wrote: > Added Jeff to CC since he has written the code... > > On Mon 07-09-20 09:11:06, Michael Kerrisk (man-pages) wrote: >> [Widening the CC to include Andrew and linux-fsdevel@] >> [Milan: thanks for the patch, b

[PATCH v2] dt-bindings: watchdog: sp-805: Convert to Json-schema

2020-09-09 Thread Andre Przywara
Convert the ARM SP-805 watchdog IP DT binding over to Json-schema. A straight-forward conversion, but the requirement for providing two clocks got strengthened from "should" to "must". Signed-off-by: Andre Przywara --- Hi, this is just the bindings conversion patch, updated to address Rob's com

linux-next: Fixes tag needs some work in the mediatek tree

2020-09-09 Thread Stephen Rothwell
Hi all, In commit 845d404207f1 ("arm: dts: mt7623: move display nodes to separate mt7623n.dtsi") Fixes tag Fixes: 1f6ed224594 ("arm: dts: mt7623: add Mali-450 device node") has these problem(s): - SHA1 should be at least 12 digits long Can be fixed by setting core.abbrev to 12 (or m

Re: [PATCH v3] mtd: spinand: micron: add support for MT29F2G01AAAED

2020-09-09 Thread Miquel Raynal
Hi Thirumalesha, Thirumalesha Narasimhappa wrote on Wed, 9 Sep 2020 18:44:42 +0800: > The MT29F2G01AAAED is a single die, 2Gb Micron SPI NAND Flash with 4-bit > ECC > > Signed-off-by: Thirumalesha Narasimhappa > --- Changelog, please? > drivers/mtd/nand/spi/micron.c | 141 +

Re: [RFC 5/5] mm, page_alloc: disable pcplists during page isolation

2020-09-09 Thread Vlastimil Babka
Here's a version that will apply on top of next-20200908. The first 4 patches need no change. 8< >From 8febc17272b8e8b378e2e5ea5e76b2616f029c5b Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Mon, 7 Sep 2020 17:20:39 +0200 Subject: [PATCH] mm, page_alloc: disable pcplists during pag

Re: [PATCH 1/1] efi/libstub: DRAM base calculation

2020-09-09 Thread Ard Biesheuvel
On Wed, 9 Sep 2020 at 13:44, Maxim Uvarov wrote: > > On Wed, 9 Sep 2020 at 11:17, Ard Biesheuvel wrote: > > > > (+ Atish, Palmer) > > > > On Fri, 4 Sep 2020 at 18:50, Heinrich Schuchardt wrote: > > > > > > In the memory map the regions with the lowest addresses may be of type > > > EFI_RESERVED_

Re: [PATCH 1/1] efi/libstub: DRAM base calculation

2020-09-09 Thread Maxim Uvarov
On Wed, 9 Sep 2020 at 11:17, Ard Biesheuvel wrote: > > (+ Atish, Palmer) > > On Fri, 4 Sep 2020 at 18:50, Heinrich Schuchardt wrote: > > > > In the memory map the regions with the lowest addresses may be of type > > EFI_RESERVED_TYPE. The reserved areas may be discontinuous relative to the > > re

Re: [PATCH printk v4 5/6] printk: ringbuffer: add finalization/extension support

2020-09-09 Thread Dan Carpenter
Hi John, url: https://github.com/0day-ci/linux/commits/John-Ogness/printk-reimplement-LOG_CONT-handling/20200909-115852 base:dff9f829e5b0181d4ed9d35aa62d695292399b54 config: x86_64-randconfig-m001-20200909 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix the issue

[PATCH v3] mtd: spinand: micron: add support for MT29F2G01AAAED

2020-09-09 Thread Thirumalesha Narasimhappa
The MT29F2G01AAAED is a single die, 2Gb Micron SPI NAND Flash with 4-bit ECC Signed-off-by: Thirumalesha Narasimhappa --- drivers/mtd/nand/spi/micron.c | 141 -- 1 file changed, 101 insertions(+), 40 deletions(-) diff --git a/drivers/mtd/nand/spi/micron.c b/drive

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

2020-09-09 Thread Pavel Machek
Hi! > > 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. > > Can we make it OF independent? > See below how to achieve this. Is there reason to believe this will be fo

Re: [PATCH v2 0/3] gpiolib: generalize GPIO line names property

2020-09-09 Thread Andy Shevchenko
On Wed, Sep 09, 2020 at 10:54:23AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > I initially sent this as part of the gpio-mockup overhaul but since > these patches are indepentent and the work on gpio-mockup may become > more complicated - I'm sending these separately. > > T

Re: [PATCH 2/2] Add driver for Moortec MR75203 PVT controller

2020-09-09 Thread Andy Shevchenko
On Wed, Sep 09, 2020 at 02:52:05PM +0800, Rahul Tanwar wrote: > PVT controller (MR75203) is used to configure & control > Moortec embedded analog IP which contains temprature > sensor(TS), voltage monitor(VM) & process detector(PD) > modules. Add driver to support MR75203 PVT controller. ... > +#

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

2020-09-09 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: Kent

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

2020-09-09 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 n

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

2020-09-09 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 wrappe

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

2020-09-09 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 i

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

2020-09-09 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 v8 09/20] gpiolib: cdev: support edge detection for uAPI v2

2020-09-09 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 v8 11/20] gpiolib: cdev: support GPIO_V2_LINE_SET_VALUES_IOCTL

2020-09-09 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 b6da92d9dba1..12d5c6543c15 1006

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

2020-09-09 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 -

Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs

2020-09-09 Thread Uwe Kleine-König
On Wed, Sep 09, 2020 at 11:43:24AM +0200, Bartosz Golaszewski wrote: > On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum wrote: > > > > The gpio-siox driver uses handle_nested_irq() to implement its > > interrupt support. This is only capable of handling threaded irq > > actions. For a hardirq action it

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

2020-09-09 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 --- a/tools/gpio

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

2020-09-09 Thread Lukas Bulwahn
On Wed, 2 Sep 2020, John Mathew wrote: > Add new sections to enable addition of new documentation on > the scheduler. Existing documentation is moved under the related > new sections. The sections are > - overview > - sched-features > - arch-specific.rst > - sched-debugging.rst > > Sug

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

2020-09-09 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 v8 18/20] tools: gpio: port gpio-event-mon to v2 uAPI

2020-09-09 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 1a303a81aee

[PATCH V3] scripts: coccicheck: Do not use shift command when rule is specified

2020-09-09 Thread Sumera Priyadarsini
The command "make coccicheck C=1 CHECK=scripts/coccicheck" results in the error: ./scripts/coccicheck: line 65: -1: shift count out of range This happens because every time the C variable is specified, the shell arguments need to be "shifted" in order to take only the last argument, which

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

2020-09-09 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 corresponding

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

2020-09-09 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 e50bb107ea3a..bd5ea3c

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

2020-09-09 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 v8 19/20] tools: gpio: add multi-line monitoring to gpio-event-mon

2020-09-09 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 --

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

2020-09-09 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(-) diff

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

2020-09-09 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 gpi

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

2020-09-09 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 Sig

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

2020-09-09 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 instance

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

2020-09-09 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 --- include/uapi/linux/gpio.

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

2020-09-09 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 f

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

2020-09-09 Thread Felipe Balbi
Hi, Manish Narani writes: >> -Original Message- >> From: Felipe Balbi >> Sent: Tuesday, September 1, 2020 5:45 PM >> >> >> > + goto err; >> >> > + } >> >> > + >> >> > + ret = dwc3_xlnx_rst_assert(priv_data->apbrst); >> >> > + if (ret < 0) { >> >> > +

linux-next: Tree for Sep 9

2020-09-09 Thread Stephen Rothwell
Hi all, Changes since 20200908: The v4l-dvb tree lost its build failure. The bpf-next tree still had its build failure so I used the version from next-20200903. The nand tree still had its build failure so I used the version from next-20200903. The tip tree lost its build failure. The rcu tre

Re: [PATCH 1/1] USB: PHY: JZ4770: Fix uninitialized value written to HW register

2020-09-09 Thread Pavel Machek
Hi! > >>> -reg = USBPCR_IDPULLUP_OTG | USBPCR_VBUSVLDEXT > >>> | USBPCR_TXPREEMPHTUNE | > >>> +return USBPCR_IDPULLUP_OTG | USBPCR_VBUSVLDEXT | > >>> USBPCR_TXPREEMPHTUNE | > >>> USBPCR_COMMONONN | USBPCR_POR; > >>> -writel(reg, priv->base + REG_USBPC

Re: [PATCH v7 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-09 Thread Cheng-yi Chiang
On Wed, Sep 9, 2020 at 5:23 PM Cheng-yi Chiang wrote: > > On Wed, Sep 9, 2020 at 4:34 AM Rob Herring wrote: > > > > On Mon, Sep 07, 2020 at 06:00:38PM +0800, Cheng-Yi Chiang wrote: > > > Add devicetree bindings documentation file for sc7180 sound card. > > > > > > Signed-off-by: Cheng-Yi Chiang

Re: [PATCH] dt-bindings: mfd: Correct interrupt flags in examples

2020-09-09 Thread Vaittinen, Matti
On Wed, 2020-09-09 at 11:20 +0200, k...@kernel.org wrote: > On Wed, Sep 09, 2020 at 08:57:36AM +, Vaittinen, Matti wrote: > > Hello Krzysztof, > > > > On Wed, 2020-09-09 at 10:17 +0200, k...@kernel.org wrote: > > > On Wed, Sep 09, 2020 at 06:30:44AM +, Vaittinen, Matti wrote: > > > > On Tu

Re: [PATCH v1] x86/defconfigs: Unbreak 32-bit defconfig builds

2020-09-09 Thread Andy Shevchenko
On Wed, Sep 09, 2020 at 10:00:20AM +0200, Ingo Molnar wrote: > * Andy Shevchenko wrote: > > On Tue, Sep 08, 2020 at 02:13:54PM +0200, Ingo Molnar wrote: > > > * Andy Shevchenko wrote: ... > > uname => x86_64 > > make i386_defconfig > > > > It was very convenient to not supply ARCH when build o

Re: [RFC PATCH 00/30] ima: Introduce IMA namespace

2020-09-09 Thread Dr. Greg
On Mon, Sep 07, 2020 at 12:50:07PM +0100, Luke Hinds wrote: Good morning, I hope the week is going well for everyone. > On Sun, Sep 6, 2020 at 6:15 PM Dr. Greg wrote: > > Just to be clear, we are not campaigning or advocating what we have > > done but are simply providing background for discussi

[PATCH 1/1] extcon: release memory after both provider and user are unregistered

2020-09-09 Thread Peter Chen
From: Peter Chen When the both extcon provider (eg, tcpci) and user (controller driver) are built as module, if the extcon provider is removed first, the use-after-free oops (see below) will be showed when removing extcon user module. The reason is the edev (extcon device) and supported_cable are

Re: [PATCH 1/2] ASoC: tlv320adcx140: Avoid accessing invalid gpio_reset

2020-09-09 Thread Camel Guo
Hi Peter, Thanks for your comment. I will make a new one like what you said. On 9/8/20 2:03 PM, Peter Ujfalusi wrote: Hi, On 08/09/2020 14.59, Peter Ujfalusi wrote: On 08/09/2020 11.35, Camel Guo wrote: From: Camel Guo When gpio_reset is not well defined in devicetree, the adcx140->gpio_

Re: [PATCH v2 1/6] dt-bindings: timers: sp-804: Convert to json-schema

2020-09-09 Thread André Przywara
On 08/09/2020 18:28, Rob Herring wrote: > On Fri, 28 Aug 2020 15:20:13 +0100, Andre Przywara wrote: >> This converts the DT binding documentation for the ARM SP-804 timer IP >> over to json-schema. >> Most properties are just carried over, the clocks property requirement >> (either one or three clo

Re: [PATCH 1/2] ASoC: tlv320adcx140: Avoid accessing invalid gpio_reset

2020-09-09 Thread Camel Guo
Mark On 9/8/20 7:20 PM, Mark Brown wrote: On Tue, 8 Sep 2020 10:35:20 +0200, Camel Guo wrote: When gpio_reset is not well defined in devicetree, the adcx140->gpio_reset is an error code instead of NULL. In this case, adcx140->gpio_reset should not be used by adcx140_reset. This commit sets it N

Re: [Linux-kernel-mentees] [PATCH] checkpatch: GIT_COMMIT_ID: handle commit messages with multiple quotes

2020-09-09 Thread Lukas Bulwahn
On Tue, 8 Sep 2020, Ayush wrote: > > I think all your examples are broken. > > > > I think all should start with revert > > i.e.: Reverts commit ("description...") > > Actually I am talking about those commits which referenced a revert commit. > > For example: > > If I want to mention a re

Re: [PATCH v2 01/15] scsi: megaraid_sas: use generic power management

2020-09-09 Thread Vaibhav Gupta
On Tue, Sep 08, 2020 at 12:32:09PM -0500, Bjorn Helgaas wrote: > On Mon, Jul 20, 2020 at 07:04:14PM +0530, Vaibhav Gupta wrote: > > With legacy PM hooks, it was the responsibility of a driver to manage PCI > > states and also the device's power state. The generic approach is to let > > the PCI core

Re: INFO: task hung in io_sq_thread_stop

2020-09-09 Thread Stefano Garzarella
On Wed, Sep 09, 2020 at 01:49:22AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:dff9f829 Add linux-next specific files for 20200908 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=112f880d90 > kernel config

Re: [PATCH printk v4 4/6] printk: ringbuffer: change representation of states

2020-09-09 Thread Petr Mladek
On Tue 2020-09-08 22:34:57, John Ogness wrote: > Rather than deriving the state by evaluating bits within the flags > area of the state variable, assign the states explicit values and > set those values in the flags area. Introduce macros to make it > simple to read and write state values for the s

KMSAN: uninit-value in skb_release_data (3)

2020-09-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3b3ea602 x86: add failure injection to get/put/clear_user git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=15bdcb3590 kernel config: https://syzkaller.appspot.com/x

Re: [External] Re: [PATCH] mm/vmscan: fix infinite loop in drop_slab_node

2020-09-09 Thread Chris Down
Muchun Song writes: 1. Double the threshold currently hard coded as "10" with each iteration suggested by Vlastimil. It is also a good idea. I think this sounds reasonable, although I'd like to see what the difference in reclaim looks like in practice. 2. In the while loop, we can check

general protection fault in skb_release_data (2)

2020-09-09 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:19162fd4 hv_netvsc: Fix hibernation for mlx5 VF driver git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=163310f190 kernel config: https://syzkaller.appspot.com/x/.config?x=bd46548257448703 dashboard link

[PATCH] net: wireless: fix unmet direct dependendices config warning when !CRYPTO

2020-09-09 Thread Necip Fazil Yildiran
When LIB80211_CRYPT_CCMP is enabled and CRYPTO is disabled, it results in unmet direct dependencies config warning. The reason is that LIB80211_CRYPT_CCMP selects CRYPTO_AES and CRYPTO_CCM, which are subordinate to CRYPTO. This is reproducible with CRYPTO disabled and R8188EU enabled, where R8188EU

Re: [PATCH v2 1/7] ASoC/soundwire: bus: use property to set interrupt masks

2020-09-09 Thread Mark Brown
On Tue, Sep 08, 2020 at 09:45:15PM +0800, Bard Liao wrote: > From: Pierre-Louis Bossart > > Add a slave-level property and program the SCP_INT1_MASK as desired by > the codec driver. Since there is no DisCo property this has to be an > implementation-specific firmware property or hard-coded in th

Re: [PATCH v2 08/11] misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960

2020-09-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Sep 2020 10:44:42 +0200 Mauro Carvalho Chehab escreveu: > Em Wed, 9 Sep 2020 10:35:55 +0200 > Greg Kroah-Hartman escreveu: > > > On Mon, Sep 07, 2020 at 05:59:32PM +0200, Mauro Carvalho Chehab wrote: > > > From: Yu Chen > > > > > > The HiKey960 has a fairly complex USB configurati

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

2020-09-09 Thread Bartosz Golaszewski
On Wed, Sep 9, 2020 at 11:49 AM Kent Gibson wrote: > > On Wed, Sep 09, 2020 at 11:41:35AM +0200, Bartosz Golaszewski wrote: > > On Wed, Sep 9, 2020 at 11:35 AM Kent Gibson wrote: > > > > > > On Wed, Sep 09, 2020 at 11:26:00AM +0200, Bartosz Golaszewski wrote: > > > > On Wed, Sep 9, 2020 at 11:24

Re: [PATCH] arm64: dts: mt8173-elm: fix supported values for regulator-allowed-modes of da9211

2020-09-09 Thread Matthias Brugger
On 04/09/2020 10:02, Enric Balletbo i Serra wrote: Hi Dafna, Thank you to work on this. On 3/9/20 16:28, Dafna Hirschfeld wrote: According to the datasheet the allowed modes for the da9211 regulator are sync and auto mode. This should be changed in the devicetree. This also fix an error mes

[PATCH v3] Improve perf option help information in perf.txt

2020-09-09 Thread Zejiang Tang
Perf could use many options, such as:-vv, --exec-path, --html-path, -p, --paginate,--no-pager, --debugfs-dir, --buildid-dir, --list-cmds, --list-opts. Add these options in perf.txt. Signed-off-by: Zejiang Tang --- tools/perf/Documentation/perf.txt | 69 ++- 1

Re: [PATCH 2/3] perf metricgroup: Fix uncore metric expressions

2020-09-09 Thread Namhyung Kim
Hi Ian, On Wed, Sep 9, 2020 at 5:02 PM Ian Rogers wrote: > > A metric like DRAM_BW_Use has on SkylakeX events uncore_imc/cas_count_read/ > and uncore_imc/case_count_write/. These events open 6 events per socket > with pmu names of uncore_imc_[0-5]. The current metric setup code in > find_evsel_gr

[Linux-kernel-mentees] [PATCH v3] block/scsi-ioctl: Prevent kernel-infoleak in scsi_put_cdrom_generic_arg()

2020-09-09 Thread Peilin Ye
scsi_put_cdrom_generic_arg() is potentially copying uninitialized stack memory to userspace, since the compiler may leave a 3-byte hole in the middle of `cgc32`. Prevent it by adding a padding field to `struct compat_cdrom_generic_command`. Cc: sta...@vger.kernel.org Fixes: f3ee6e63a9df ("compat_i

[PATCH v5 1/2] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-09 Thread Hector Yuan
From: "Hector.Yuan" Add MT6779 cpufreq HW support. Signed-off-by: Hector.Yuan --- drivers/cpufreq/Kconfig.arm | 12 ++ drivers/cpufreq/Makefile |1 + drivers/cpufreq/mediatek-cpufreq-hw.c | 289 + 3 files changed, 302 insertions(+)

[PATCH v5] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-09-09 Thread Hector Yuan
The CPUfreq HW present in some Mediatek chipsets offloads the steps necessary for changing the frequency of CPUs. The driver implements the cpufreq driver interface for this hardware engine. This patch depends on the MT6799 DTS patch submitted by Hanks Chen https://lkml.org/lkml/2020/8/4/1094

[PATCH v5 2/2] dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW

2020-09-09 Thread Hector Yuan
From: "Hector.Yuan" Add devicetree bindings for MediaTek HW driver. Signed-off-by: Hector.Yuan --- .../bindings/cpufreq/cpufreq-mediatek-hw.yaml | 141 1 file changed, 141 insertions(+) create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-h

Re: [PATCH] Remove duplicate include file

2020-09-09 Thread Mike Rapoport
On Wed, Sep 09, 2020 at 05:36:32PM +0800, Yi Li wrote: > Remove duplicate include file > > Signed-off-by: Yi Li Reviewed-by: Mike Rapoport > --- > arch/arm/mm/mmu.c | 1 - > mm/slab.h | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c > in

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

2020-09-09 Thread Kent Gibson
On Wed, Sep 09, 2020 at 11:41:35AM +0200, Bartosz Golaszewski wrote: > On Wed, Sep 9, 2020 at 11:35 AM Kent Gibson wrote: > > > > On Wed, Sep 09, 2020 at 11:26:00AM +0200, Bartosz Golaszewski wrote: > > > On Wed, Sep 9, 2020 at 11:24 AM Kent Gibson wrote: > > > > > > > > On Sat, Sep 05, 2020 at 0

[PATCH v3 0/2] PCI: Add new Unisoc PCIe driver

2020-09-09 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Changes from v1: 1) Test this patch on top of Rob Herring's 40 part series of DWC clean-ups: https://lore.kernel.org/linux-pci/20200821035420.380495-1-r...@kernel.org/ 2)

[PATCH v3 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller

2020-09-09 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- drivers/pci/controller/dwc/Kconfig | 13 ++ drivers/pci/controller/dwc/Makefile| 1 + drivers/pci/controller/dwc/pcie-sprd.c | 231

[PATCH v3 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller

2020-09-09 Thread Hongtao Wu
From: Hongtao Wu This series adds PCIe bindings for Unisoc SoCs. This controller is based on DesignWare PCIe IP. Signed-off-by: Hongtao Wu --- .../devicetree/bindings/pci/sprd-pcie.yaml | 101 + 1 file changed, 101 insertions(+) create mode 100644 Documentation/dev

[PATCH] perf: Turn kernel address filters into linear address filters

2020-09-09 Thread Alexander Shishkin
One thing that the address filters can't do at the moment is cover anonymous mappings. Apparently, there is code out there that generates executable code in anonymous mappings and executes it in place. And at the moment we only allow file-based address filters for userspace. The easiest way to do

Re: [PATCH v3 06/17] virt: acrn: Introduce VM management interfaces

2020-09-09 Thread Greg Kroah-Hartman
On Wed, Sep 09, 2020 at 05:08:25PM +0800, shuo.a@intel.com wrote: > From: Shuo Liu > > The VM management interfaces expose several VM operations to ACRN > userspace via ioctls. For example, creating VM, starting VM, destroying > VM and so on. > > The ACRN Hypervisor needs to exchange data wi

Re: [PATCH v2] gpio: siox: explicitly support only threaded irqs

2020-09-09 Thread Bartosz Golaszewski
On Mon, Sep 7, 2020 at 5:32 PM Ahmad Fatoum wrote: > > The gpio-siox driver uses handle_nested_irq() to implement its > interrupt support. This is only capable of handling threaded irq > actions. For a hardirq action it triggers a NULL pointer oops. > (It calls action->thread_fn which is NULL then

Re: [PATCH v6 3/4] arm: dts: mt7623: add display subsystem related device nodes

2020-09-09 Thread Matthias Brugger
On 04/09/2020 13:00, Frank Wunderlich wrote: From: Ryder Lee Add display subsystem related device nodes for MT7623. Cc: Chun-Kuang Hu Signed-off-by: chunhui dai Signed-off-by: Bibby Hsieh Signed-off-by: Ryder Lee Signed-off-by: Frank Wunderlich Tested-by: Frank Wunderlich Applied to

[PATCH v2 0/2] To support the HFP WBS, a chip vendor may choose a particular

2020-09-09 Thread Joseph Hwang
USB alternate seeting of which the packet size is distinct. The patches are to expose the packet size to user space so that the user space does not need to hard code those values. We have verified this patch on Chromebooks which use - Realtek 8822CE controller with USB alt setting 1 - Intel contro

Re: [PATCH v2 7/7] hv_balloon: try to merge system ram resources

2020-09-09 Thread Wei Liu
On Tue, Sep 08, 2020 at 10:10:12PM +0200, David Hildenbrand wrote: > Let's try to merge system ram resources we add, to minimize the number > of resources in /proc/iomem. We don't care about the boundaries of > individual chunks we added. > > Cc: Andrew Morton > Cc: Michal Hocko > Cc: "K. Y. Sri

[PATCH v2 1/2] Bluetooth: btusb: define HCI packet sizes of USB Alts

2020-09-09 Thread Joseph Hwang
It is desirable to define the HCI packet payload sizes of USB alternate settings so that they can be exposed to user space. Reviewed-by: Alain Michaud Reviewed-by: Abhishek Pandit-Subedi Signed-off-by: Joseph Hwang --- Changes in v2: - 1/2: Used sco_mtu instead of a new sco_pkt_len member in h

<    5   6   7   8   9   10   11   12   13   >