[PATCH v19 06/10] fs/ntfs3: Add compression

2021-01-28 Thread Konstantin Komarov
This patch adds different types of NTFS-applicable compressions: - lznt - lzx - xpress Latter two (lzx, xpress) implement Windows Compact OS feature and were taken from ntfs-3g system comression plugin authored by Eric Biggers (https://github.com/ebiggers/ntfs-3g-system-compression) which were port

[PATCH v19 05/10] fs/ntfs3: Add attrib operations

2021-01-28 Thread Konstantin Komarov
This adds attrib operations Signed-off-by: Konstantin Komarov --- fs/ntfs3/attrib.c | 2085 +++ fs/ntfs3/attrlist.c | 457 ++ fs/ntfs3/xattr.c| 1072 ++ 3 files changed, 3614 insertions(+) create mode 100644 fs/ntfs3/att

[PATCH v19 10/10] fs/ntfs3: Add MAINTAINERS

2021-01-28 Thread Konstantin Komarov
This adds MAINTAINERS Signed-off-by: Konstantin Komarov --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 992fe3b0900a..33fc38d7bb2f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12668,6 +12668,13 @@ T: git git://git.kernel.org/pub/s

[PATCH v19 01/10] fs/ntfs3: Add headers and misc files

2021-01-28 Thread Konstantin Komarov
This adds headers and misc files Signed-off-by: Konstantin Komarov --- fs/ntfs3/debug.h | 62 +++ fs/ntfs3/ntfs.h| 1238 fs/ntfs3/ntfs_fs.h | 1065 + fs/ntfs3/upcase.c | 100 4 files changed, 2465 ins

[PATCH v19 08/10] fs/ntfs3: Add Kconfig, Makefile and doc

2021-01-28 Thread Konstantin Komarov
This adds Kconfig, Makefile and doc Signed-off-by: Konstantin Komarov --- Documentation/filesystems/ntfs3.rst | 107 fs/ntfs3/Kconfig| 45 fs/ntfs3/Makefile | 31 3 files changed, 183 insertions(+) create

[PATCH v19 07/10] fs/ntfs3: Add NTFS journal

2021-01-28 Thread Konstantin Komarov
This adds NTFS journal Signed-off-by: Konstantin Komarov --- fs/ntfs3/fslog.c | 5204 ++ 1 file changed, 5204 insertions(+) create mode 100644 fs/ntfs3/fslog.c diff --git a/fs/ntfs3/fslog.c b/fs/ntfs3/fslog.c new file mode 100644 index ..

[PATCH v19 09/10] fs/ntfs3: Add NTFS3 in fs/Kconfig and fs/Makefile

2021-01-28 Thread Konstantin Komarov
This adds NTFS3 in fs/Kconfig and fs/Makefile Signed-off-by: Konstantin Komarov --- fs/Kconfig | 1 + fs/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/fs/Kconfig b/fs/Kconfig index aa4c12282301..eae96d55ab67 100644 --- a/fs/Kconfig +++ b/fs/Kconfig @@ -145,6 +145,7 @@ menu "DOS

[PATCH 2/2] i3c: Make remove callback return void

2021-01-28 Thread Uwe Kleine-König
The driver core ignores the return value of struct bus_type::remove() because there is only little that can be done. To simplify the quest to make this function return void, let struct i3c_driver::remove() return void, too. This makes it obvious that returning an error code is a bad idea and future

[PATCH 1/2] i3c: Handle drivers without probe or remove callback

2021-01-28 Thread Uwe Kleine-König
A registered driver without a probe callback doesn't make sense, so refuse to register such a driver. (Otherwise i3c_device_probe() yields a NULL pointer exception.) A driver without remove is possible, e.g. when all resources are freed using devm callbacks. So guard the call to driver->remove by

Re: [PATCH v11 2/9] arm64: dts: mt8183: refine gamma compatible name

2021-01-28 Thread Enric Balletbo Serra
Hi Hsin-Yi, Thank you for your patch. Missatge de Hsin-Yi Wang del dia dj., 28 de gen. 2021 a les 8:28: > > From: Yongqiang Niu > > mt8183 gamma is different with mt8173 > remove mt8173 compatible name for mt8183 gamma > Should this patch contain? Fixes: 91f9c963ce79 ("arm64: dts: mt8183: Add

[PATCH 1/2] i3c: Handle drivers without probe or remove callback

2021-01-28 Thread Uwe Kleine-König
A registered driver without a probe callback doesn't make sense, so refuse to register such a driver. (Otherwise i3c_device_probe() yields a NULL pointer exception.) A driver without remove is possible, e.g. when all resources are freed using devm callbacks. So guard the call to driver->remove by

Re: [PATCH] eeprom: at24: Add permission to write_timeout

2021-01-28 Thread Greg Kroah-Hartman
On Thu, Jan 28, 2021 at 10:04:42AM +0100, Bartosz Golaszewski wrote: > On Thu, Jan 28, 2021 at 9:10 AM Jenny Ho wrote: > > > > Need to change timeout time for different use > > cases to prevent I2C error cases. Open the api > > and allow Read/Write permission to write_timeout > > > > Signed-off-by

linux-next: Tree for Jan 28

2021-01-28 Thread Stephen Rothwell
Hi all, Changes since 20210127: Removed tree: notifications (at least temporarily) The risc-v tree gained a conflict against the arm64 tree. The scsi-mkp tree lost its build failure. The gpio-brgl tree gained a conflict against the arm-soc tree. The pinctrl tree lost its build failure. The a

Re: [PATCH v3 3/3] dt-bindings: i2c: qcom,i2c-qup: Document noise rejection properties

2021-01-28 Thread Wolfram Sang
> + qcom,noise-reject-sda: > +$ref: /schemas/types.yaml#/definitions/uint32 > +description: Noise rejection level for the SDA line. > +minimum: 0 > +maximum: 3 > +default: 0 What does this u32 describe? I wonder if we can introduce a generic property instead of a vendor-speci

[PATCH bpf-next] MAINTAINERS: BPF: Update web-page bpf.io to ebpf.io to avoid redirects

2021-01-28 Thread Tiezhu Yang
When I open https://bpf.io/, it seems too slow. $ curl -s -S -L https://bpf.io/ -o /dev/null -w '%{time_redirect}\n' 2.373 $ curl -s -S -L https://bpf.io/ -o /dev/null -w '%{url_effective}\n' https://ebpf.io/ $ curl -s -S -L https://ebpf.io/ -o /dev/null -w '%{time_redirect}\n' 0.000 So update

Re: [PATCH v2 4/7] i2c: i2c-core-acpi: Add i2c_acpi_dev_name()

2021-01-28 Thread Daniel Scally
On 28/01/2021 09:00, Wolfram Sang wrote: >>> There's a real danger of a memory leak, as the function name sounds very >>> similar to dev_name() or acpi_dev_name() and those don't allocate >>> memory. I'm not sure what a better name would be, but given that this >>> function is only used in patch 6/

Re: [PATCH V3 08/14] coresight: core: Add support for dedicated percpu sinks

2021-01-28 Thread Suzuki K Poulose
On 1/27/21 8:55 AM, Anshuman Khandual wrote: Add support for dedicated sinks that are bound to individual CPUs. (e.g, TRBE). To allow quicker access to the sink for a given CPU bound source, keep a percpu array of the sink devices. Also, add support for building a path to the CPU local sink from

Re: [PATCH v2 4/7] i2c: i2c-core-acpi: Add i2c_acpi_dev_name()

2021-01-28 Thread Wolfram Sang
> Just to clarify; "open-code" meaning inline it in the caller like > Laurent said, right? Yes. signature.asc Description: PGP signature

linux-5.10.11 build failure

2021-01-28 Thread Chris Clayton
Hi, Building 5.10.11 fails on my (x86-64) laptop thusly: .. AS arch/x86/entry/thunk_64.o CC arch/x86/entry/vsyscall/vsyscall_64.o AS arch/x86/realmode/rm/header.o CC arch/x86/mm/pat/set_memory.o CC arch/x86/events/amd/core.o CC arch/x86/kernel/fpu/init.o

Re: [PATCH v2] nvme-multipath: Early exit if no path is available

2021-01-28 Thread Chao Leng
On 2021/1/28 15:58, Daniel Wagner wrote: On Thu, Jan 28, 2021 at 09:31:30AM +0800, Chao Leng wrote: --- a/drivers/nvme/host/multipath.c +++ b/drivers/nvme/host/multipath.c @@ -221,7 +221,7 @@ static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head, } for (ns =

Re: [PATCH v2 4/7] i2c: i2c-core-acpi: Add i2c_acpi_dev_name()

2021-01-28 Thread Daniel Scally
On 28/01/2021 09:17, Wolfram Sang wrote: >> Just to clarify; "open-code" meaning inline it in the caller like >> Laurent said, right? > Yes. > Thanks - will do that and drop this one then

Re: [PATCH v4 0/3] Add support for x509 certs with NIST p256 and p192 keys

2021-01-28 Thread David Howells
This (sub)set is intended to go through the keyrings tree or is it all going through the crypto tree now? David

Re: [PATCH] i2c-imx.c: Synthesize end of transaction events without idle interrupts

2021-01-28 Thread Wolfram Sang
On Thu, Jan 14, 2021 at 05:27:11PM -0800, Kevin Herbert wrote: > The loop sends either one or two events to the slave driver. If the > state is I2C_SLAVE_READ_REQUESTED, we synthesize the > I2C_SLAVE_READ_PROCESSED event, and then our state becomes > I2C_SLAVE_READ_PROCESSED. In all other states, w

Re: [PATCH] i2c: mv64xxx: Add runtime PM support

2021-01-28 Thread Wolfram Sang
On Sun, Jan 03, 2021 at 04:51:46AM -0600, Samuel Holland wrote: > To save power, gate the clock when the bus is inactive, during system > sleep, and during shutdown. On some platforms, specifically Allwinner > A13/A20, gating the clock implicitly resets the module as well. Since > the module alread

Re: [PATCH v16 07/11] secretmem: use PMD-size pages to amortize direct map fragmentation

2021-01-28 Thread Mike Rapoport
On Tue, Jan 26, 2021 at 01:08:23PM +0100, Michal Hocko wrote: > On Tue 26-01-21 12:56:48, David Hildenbrand wrote: > > On 26.01.21 12:46, Michal Hocko wrote: > > > On Thu 21-01-21 14:27:19, Mike Rapoport wrote: > > > > From: Mike Rapoport > > > > > > > > Removing a PAGE_SIZE page from the direct

Re: short-circuit and over-current IRQs

2021-01-28 Thread Vaittinen, Matti
On Wed, 2021-01-27 at 16:32 +, Mark Brown wrote: > On Wed, Jan 27, 2021 at 03:34:46PM +0100, AngeloGioacchino Del Regno > wrote: > > Il 27/01/21 13:56, Matti Vaittinen ha scritto: > > > I can only speak for BD9576MUF - which has two limits for > > > monitored > > > entity (temperature/voltage)

Re: [PATCH 1/1] dma-buf: heaps: Map system heap pages as managed by linux vm

2021-01-28 Thread Christoph Hellwig
On Thu, Jan 28, 2021 at 12:38:17AM -0800, Suren Baghdasaryan wrote: > Currently system heap maps its buffers with VM_PFNMAP flag using > remap_pfn_range. This results in such buffers not being accounted > for in PSS calculations because vm treats this memory as having no > page structs. Without pag

Re: [PATCH v7 3/5] counter: Add character device interface

2021-01-28 Thread Oleksij Rempel
Hello William, On Fri, Dec 25, 2020 at 07:15:36PM -0500, William Breathitt Gray wrote: > This patch introduces a character device interface for the Counter > subsystem. Device data is exposed through standard character device read > operations. Device data is gathered when a Counter event is push

Re: [PATCH v10] staging: fbtft: add tearing signal detect

2021-01-28 Thread carlis
On Thu, 28 Jan 2021 08:52:33 +0200 Kari Argillander wrote: > On Thu, Jan 28, 2021 at 09:42:58AM +0800, carlis wrote: > > On Thu, 28 Jan 2021 00:32:22 +0200 > > Kari Argillander wrote: > > > > #include "fbtft.h" > > > > > > > > #define DRVNAME "fb_st7789v" > > > > @@ -66,6 +69,32 @@ enum st

Re: [PATCH v2] nvme-multipath: Early exit if no path is available

2021-01-28 Thread Hannes Reinecke
On 1/28/21 10:18 AM, Chao Leng wrote: On 2021/1/28 15:58, Daniel Wagner wrote: On Thu, Jan 28, 2021 at 09:31:30AM +0800, Chao Leng wrote: --- a/drivers/nvme/host/multipath.c +++ b/drivers/nvme/host/multipath.c @@ -221,7 +221,7 @@ static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_he

Re: [PATCH v3 1/3] platform/chrome: cros_ec: Add SW_FRONT_PROXIMITY MKBP define

2021-01-28 Thread Enric Balletbo Serra
Hi Stephen, Thank you for your patch. Please cc'me for the patches related to the chrome/platform subsystem. Missatge de Stephen Boyd del dia dj., 28 de gen. 2021 a les 9:48: > > Some cros ECs support a front proximity MKBP event via > 'EC_MKBP_FRONT_PROXIMITY'. Add this define so it can be used

Re: [PATCH v4] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-28 Thread josephjang
> diff --git a/MAINTAINERS b/MAINTAINERS > index 867157311dc8..ecd988b4a838 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7788,6 +7788,8 @@ F:include/linux/freezer.h > F: include/linux/pm.h > F: include/linux/suspend.h > F: kernel/power/ > +F: kernel/power/suspend

Re: [PATCH 2/2] xfs: set WQ_SYSFS on all workqueues in debug mode

2021-01-28 Thread Christoph Hellwig
On Wed, Jan 27, 2021 at 10:03:36PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong > > When CONFIG_XFS_DEBUG=y, set WQ_SYSFS on all workqueues that we create > so that we (developers) have a means to monitor cpu affinity and whatnot > for background workers. In the next patchset we'll expo

Re: [PATCH v4] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-28 Thread josephjang
> diff --git a/MAINTAINERS b/MAINTAINERS > index 867157311dc8..ecd988b4a838 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -7788,6 +7788,8 @@ F:include/linux/freezer.h > F: include/linux/pm.h > F: include/linux/suspend.h > F: kernel/power/ > +F: kernel/power/suspend

Re: [PATCH] PCI: dwc: layerscape: convert to builtin_platform_driver()

2021-01-28 Thread Geert Uytterhoeven
Hi Saravana, On Wed, Jan 27, 2021 at 6:11 PM Saravana Kannan wrote: > On Wed, Jan 27, 2021 at 8:56 AM Geert Uytterhoeven > wrote: > > On Wed, Jan 27, 2021 at 5:42 PM Saravana Kannan > > wrote: > > > On Tue, Jan 26, 2021 at 11:43 PM Geert Uytterhoeven > > > wrote: > > > > On Wed, Jan 27, 2021

Re: [PATCH V3 09/14] arm64: Add TRBE definitions

2021-01-28 Thread Suzuki K Poulose
On 1/27/21 8:55 AM, Anshuman Khandual wrote: This adds TRBE related registers and corresponding feature macros. Cc: Mathieu Poirier Cc: Mike Leach Cc: Suzuki K Poulose Cc: Catalin Marinas Cc: Mark Rutland Cc: Will Deacon Signed-off-by: Anshuman Khandual Reviewed-by: Suzuki K Poulose

Re: PROBLEM: Crash after mm: fix initialization of struct page for holes in memory layout

2021-01-28 Thread Mike Rapoport
On Thu, Jan 28, 2021 at 10:45:49AM +0800, Baoquan He wrote: > On 01/27/21 at 08:26pm, Mike Rapoport wrote: > > Hi Lukasz, > > > > On Wed, Jan 27, 2021 at 02:15:53PM +0100, Łukasz Majczak wrote: > > > Hi Mike, > > > > > > I have started bisecting your patch and I have figured out that there > > >

[PATCH] net/ethernet: convert to use module_platform_driver in octeon_mgmt.c

2021-01-28 Thread dingsenjie
From: dingsenjie Simplify the code by using module_platform_driver macro for octeon_mgmt. Signed-off-by: dingsenjie --- drivers/net/ethernet/cavium/octeon/octeon_mgmt.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/net/ethernet/cavium/octeon/octeon_m

Re: linux-5.10.11 build failure

2021-01-28 Thread Greg Kroah-Hartman
On Thu, Jan 28, 2021 at 09:17:10AM +, Chris Clayton wrote: > Hi, > > Building 5.10.11 fails on my (x86-64) laptop thusly: > > .. > > AS arch/x86/entry/thunk_64.o > CC arch/x86/entry/vsyscall/vsyscall_64.o > AS arch/x86/realmode/rm/header.o > CC arch/x86/mm/pat/set_

Re: [PATCH 0/3] Add initial support for BQ Aquaris X5

2021-01-28 Thread Stephan Gerhold
On Wed, Jan 27, 2021 at 11:24:07PM +0100, Pavel Machek wrote: > > > How close are you to having useful phone calls? > > > > You can do phone calls (with audio) and you can use mobile data, if you > > have the patches for that. :) I'm trying to find time to finish up the > > drivers needed for that

Re: [PATCH V3 10/14] arm64: nvhe: Allow TRBE access at EL1

2021-01-28 Thread Suzuki K Poulose
On 1/27/21 9:58 AM, Marc Zyngier wrote: On 2021-01-27 08:55, Anshuman Khandual wrote: From: Suzuki K Poulose When the kernel is booted at EL2 in a nvhe configuration, enable the TRBE access to the EL1. The EL1 still can't trace EL2, unless EL2 permits explicitly via TRFCR_EL2.E2TRE. Cc: Will

Re: sparc32: boot fails with > 256 MB memory after switch to NO_BOOTMEM

2021-01-28 Thread Mike Rapoport
On Wed, Jan 27, 2021 at 04:03:00PM +0100, Andreas Larsson wrote: > > > Commit cca079ef8ac29a7c02192d2bad2ffe4c0c5ffdd0 makes sparc32 use > memblocks instead of the previous bootmem solution. Unfortunately, due > to this: > > #define PAGE_OFFSET 0xf000 > #define __va(x)((void *)(

Re: [PATCH] bcache: dont reset bio opf in bch_data_insert_start

2021-01-28 Thread Dongsheng Yang
Hi Christop: 在 2021/1/28 星期四 上午 1:37, Christoph Hellwig 写道: But the old code is also completely broken. We can't just OR in the op, as that implicitly assumes the old op was 0 (REQ_OP_READ). Yes, indeed, there is an assume that the op is just possible to be 0 (REQ_OP_READ) or 1 (REQ_OP_WRIT

Re: [PATCH v2] nvme-multipath: Early exit if no path is available

2021-01-28 Thread Daniel Wagner
On Thu, Jan 28, 2021 at 05:18:56PM +0800, Chao Leng wrote: > It is impossible to return NULL for nvme_next_ns(head, old). block nvme0n1: no usable path - requeuing I/O block nvme0n1: no usable path - requeuing I/O block nvme0n1: no usable path - requeuing I/O block nvme0n1: no usable path - re

[PATCH] mtd: parser_imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()

2021-01-28 Thread Dan Carpenter
If the kstrtouint() calls fail, then this should return a negative error code but it currently returns success. Fixes: dd84cb022b31 ("mtd: bcm63xxpart: move imagetag parsing to its own parser") Signed-off-by: Dan Carpenter --- drivers/mtd/parsers/parser_imagetag.c | 4 1 file changed, 4 in

[PATCH v6] power: suspend: Move dpm_watchdog to suspend.c and enhance it

2021-01-28 Thread Joseph Jang
Since dpm_watchdog just cover two functions __device_suspend() and device_resume(), we proposed to move it to core power suspend.c to extend its coverage and monitor more devices suspend hand issues. We propose to use new name suspend watchdog and new timeout handler to cover more sleep hang issue

Re: [PATCH 2/2] drm/panel: simple: add samsung,s6e3fa2 panel

2021-01-28 Thread Iskren Chernev
On 12/30/20 5:17 PM, Iskren Chernev wrote: > From: Samuel Pascua > > This panel is used on the Samsung Galaxy S5 (klte). > > Signed-off-by: Samuel Pascua > --- > drivers/gpu/drm/panel/panel-simple.c | 30 > 1 file changed, 30 insertions(+) > > diff --git a/driv

Re: [PATCH v10] staging: fbtft: add tearing signal detect

2021-01-28 Thread Geert Uytterhoeven
Hi Kari, On Thu, Jan 28, 2021 at 7:53 AM Kari Argillander wrote: > On Thu, Jan 28, 2021 at 09:42:58AM +0800, carlis wrote: > > On Thu, 28 Jan 2021 00:32:22 +0200 > > Kari Argillander wrote: > > > > #include "fbtft.h" > > > > > > > > #define DRVNAME "fb_st7789v" > > > > @@ -66,6 +69,32 @@ enum

Re: [PATCH] eeprom: at24: Add permission to write_timeout

2021-01-28 Thread Bartosz Golaszewski
On Thu, Jan 28, 2021 at 10:12 AM Greg Kroah-Hartman wrote: > > On Thu, Jan 28, 2021 at 10:04:42AM +0100, Bartosz Golaszewski wrote: > > On Thu, Jan 28, 2021 at 9:10 AM Jenny Ho wrote: > > > > > > Need to change timeout time for different use > > > cases to prevent I2C error cases. Open the api >

Re: [PATCH V3 10/14] arm64: nvhe: Allow TRBE access at EL1

2021-01-28 Thread Marc Zyngier
On 2021-01-28 09:34, Suzuki K Poulose wrote: On 1/27/21 9:58 AM, Marc Zyngier wrote: On 2021-01-27 08:55, Anshuman Khandual wrote: From: Suzuki K Poulose When the kernel is booted at EL2 in a nvhe configuration, enable the TRBE access to the EL1. The EL1 still can't trace EL2, unless EL2 perm

Re: [PATCH v3 2/3] dt-bindings: iio: Add cros ec proximity yaml doc

2021-01-28 Thread Enric Balletbo Serra
Hi Stephen, Thank you for your patch. Just a minor comment. Missatge de Stephen Boyd del dia dj., 28 de gen. 2021 a les 9:45: > > Some cros ECs support a front proximity MKBP event via > 'EC_MKBP_FRONT_PROXIMITY'. Add a DT binding to document this feature via > a node that is a child of the main

Re: [PATCH V3 10/14] arm64: nvhe: Allow TRBE access at EL1

2021-01-28 Thread Suzuki K Poulose
On 1/28/21 9:46 AM, Marc Zyngier wrote: On 2021-01-28 09:34, Suzuki K Poulose wrote: On 1/27/21 9:58 AM, Marc Zyngier wrote: On 2021-01-27 08:55, Anshuman Khandual wrote: From: Suzuki K Poulose When the kernel is booted at EL2 in a nvhe configuration, enable the TRBE access to the EL1. The E

Re: [PATCH v2 00/15] drm/vc4: hdmi: Add CEC support for the BCM2711

2021-01-28 Thread Maxime Ripard
Hi! On Mon, Jan 25, 2021 at 10:03:44PM +0100, Nicolas Saenz Julienne wrote: > Hi, > > On Mon, 2021-01-11 at 15:22 +0100, Maxime Ripard wrote: > > Hi, > > > > Here's a series introducing the CEC support for the BCM2711 found on the > > RaspberryPi4. > > > > The BCM2711 HDMI controller uses a sim

[PATCH v3] ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode

2021-01-28 Thread Hermann Lauer
BPi Pro needs TX and RX delay for Gbit to work reliable and avoid high packet loss rates. The realtek phy driver overrides the settings of the pull ups for the delays, so fix this for BananaPro. Fixes: 10662a33dcd9 ("ARM: dts: sun7i: Add dts file for Bananapro board") Signed-off-by: Hermann Lauer

Re: [RESEND, V2] i2c: mediatek: Move suspend and resume handling to NOIRQ phase

2021-01-28 Thread Wolfram Sang
On Tue, Jan 26, 2021 at 07:37:00PM +0800, Qii Wang wrote: > Hi Wolfram, > > On Sat, 2021-01-09 at 16:29 +0800, qii.w...@mediatek.com wrote: > > From: Qii Wang > > > > Some i2c device driver indirectly uses I2C driver when it is now > > being suspended. The i2c devices driver is suspended during

Re: [PATCH v3 3/3] iio: proximity: Add a ChromeOS EC MKBP proximity driver

2021-01-28 Thread Enric Balletbo Serra
Hi Stephen, Thank you for your patch. Missatge de Stephen Boyd del dia dj., 28 de gen. 2021 a les 9:48: > > Add support for a ChromeOS EC proximity driver that exposes a "front" > proximity sensor via the IIO subsystem. The EC decides when front > proximity is near and sets an MKBP switch 'EC_MK

Re: [PATCH v10] staging: fbtft: add tearing signal detect

2021-01-28 Thread Kari Argillander
On Thu, Jan 28, 2021 at 10:42:54AM +0100, Geert Uytterhoeven wrote: > Hi Kari, > > On Thu, Jan 28, 2021 at 7:53 AM Kari Argillander > wrote: > > On Thu, Jan 28, 2021 at 09:42:58AM +0800, carlis wrote: > > > On Thu, 28 Jan 2021 00:32:22 +0200 > > > Kari Argillander wrote: > > > > > @@ -82,6 +111,

Re: [PATCH v1 1/2] mm/cma: expose all pages to the buddy if activation of an area fails

2021-01-28 Thread Oscar Salvador
On Wed, Jan 27, 2021 at 11:18:12AM +0100, David Hildenbrand wrote: > Right now, if activation fails, we might already have exposed some pages to > the buddy for CMA use (although they will never get actually used by CMA), > and some pages won't be exposed to the buddy at all. > > Let's check for "

Re: [PATCH] PCI: dwc: layerscape: convert to builtin_platform_driver()

2021-01-28 Thread Tony Lindgren
Hi, * Michael Walle [210125 19:52]: > Although I do have the changes for the builtin_platform_driver_probe() > ready, I don't think it makes much sense to send these unless we agree > on the increased memory footprint. While there are just a few > builtin_platform_driver_probe() and memory increa

Re: linux-5.10.11 build failure

2021-01-28 Thread Bhaskar Chowdhury
On 10:34 Thu 28 Jan 2021, Greg Kroah-Hartman wrote: On Thu, Jan 28, 2021 at 09:17:10AM +, Chris Clayton wrote: Hi, Building 5.10.11 fails on my (x86-64) laptop thusly: .. AS arch/x86/entry/thunk_64.o CC arch/x86/entry/vsyscall/vsyscall_64.o AS arch/x86/realmode/rm/head

Re: [PATCH] procfs/dmabuf: Add /proc//task//dmabuf_fds

2021-01-28 Thread Pekka Paalanen
On Wed, 27 Jan 2021 12:01:55 +0100 Christian König wrote: > Somewhat correct. This interface here really doesn't make sense since > the file descriptor representation of DMA-buf is only meant to be used > for short term usage. > > E.g. the idea is that you can export a DMA-buf fd from your dev

[PATCH] drm/ttm: Use __GFP_NOWARN for huge pages in ttm_pool_alloc_page

2021-01-28 Thread Michel Dänzer
From: Michel Dänzer Without __GFP_NOWARN, attempts at allocating huge pages can trigger dmesg splats like below (which are essentially noise, since TTM falls back to normal pages if it can't get a huge one). [ 9556.710241] clinfo: page allocation failure: order:9, mode:0x194dc2(GFP_HIGHUSER|__G

Re: [PATCH] drm/lima: add governor data with pre-defined thresholds

2021-01-28 Thread Lukasz Luba
On 1/27/21 7:35 PM, Christian Hewitt wrote: On 27 Jan 2021, at 3:11 pm, Lukasz Luba wrote: On 1/27/21 10:24 AM, Lukasz Luba wrote: Hi Christian, On 1/25/21 8:18 AM, Christian Hewitt wrote: This patch adapts the panfrost pre-defined thresholds change [0] to the lima driver to improve real

Re: [PATCH v8 15/18] virt: acrn: Introduce ioeventfd

2021-01-28 Thread Shuo A Liu
On Wed 27.Jan'21 at 15:20:34 +0100, Greg Kroah-Hartman wrote: On Fri, Jan 22, 2021 at 07:01:19PM +0800, shuo.a@intel.com wrote: From: Shuo Liu ioeventfd is a mechanism to register PIO/MMIO regions to trigger an eventfd signal when written to by a User VM. ACRN userspace can register any ar

Re: linux-5.10.11 build failure

2021-01-28 Thread Chris Clayton
On 28/01/2021 09:34, Greg Kroah-Hartman wrote: > On Thu, Jan 28, 2021 at 09:17:10AM +, Chris Clayton wrote: >> Hi, >> >> Building 5.10.11 fails on my (x86-64) laptop thusly: >> >> .. >> >> AS arch/x86/entry/thunk_64.o >> CC arch/x86/entry/vsyscall/vsyscall_64.o >> AS arch/

Re: [PATCH v2] drm/lima: add governor data with pre-defined thresholds

2021-01-28 Thread Lukasz Luba
On 1/27/21 7:40 PM, Christian Hewitt wrote: This patch adapts the panfrost pre-defined thresholds change [0] to the lima driver to improve real-world performance. The upthreshold value has been set to ramp GPU frequency to max freq faster (compared to panfrost) to compensate for the lower over

[v2] PCI: Avoid unsync of LTR mechanism configuration

2021-01-28 Thread mingchuang.qiao
From: Mingchuang Qiao In bus scan flow, the "LTR Mechanism Enable" bit of DEVCTL2 register is configured in pci_configure_ltr(). If device and bridge both support LTR mechanism, the "LTR Mechanism Enable" bit of device and bridge will be enabled in DEVCTL2 register. And pci_dev->ltr_path will be

[PATCH -next] mm/nommu: Fix return type of filemap_map_pages()

2021-01-28 Thread Geert Uytterhoeven
If CONFIG_MMU is not set (e.g. m68k/m5272c3_defconfig): mm/nommu.c:1671:6: error: conflicting types for ‘filemap_map_pages’ 1671 | void filemap_map_pages(struct vm_fault *vmf, | ^ In file included from mm/nommu.c:20: ./include/linux/mm.h:2578:19: not

[PATCH] opp: Update bandwidth requirements based on scaling up/down

2021-01-28 Thread Viresh Kumar
The bandwidth must be scaled at a different point in the code flow based on if we are scaling up or down the frequency, otherwise this may cause undesired effects as the device will try to use more of the memory bandwidth which may be shared across several devices. Much like how regulators and requ

Re: [PATCH v3 05/22] media: camss: Refactor VFE HW version support

2021-01-28 Thread Robert Foss
Hey Nicolas, Thanks for the review! On Thu, 28 Jan 2021 at 01:19, Nicolas Boichat wrote: > > On Wed, Jan 27, 2021 at 10:56 PM Robert Foss wrote: > > > > In order to support Qualcomm ISP hardware architectures that diverge > > from older architectures, the VFE subdevice driver needs to be refact

Re: [PATCH v5 04/20] dt-bindings: mfd: axp20x: Add AXP305 compatible (plus optional IRQ)

2021-01-28 Thread Maxime Ripard
On Wed, Jan 27, 2021 at 05:24:44PM +, Andre Przywara wrote: > The AXP305 PMIC used in AXP805 seems to be fully compatible to the > AXP805 PMIC, so add the proper chain of compatible strings. > > Also at least on one board (Orangepi Zero2) there is no interrupt line > connected to the CPU, so m

Re: [PATCH V2] Fix unsynchronized access to sev members through svm_register_enc_region

2021-01-28 Thread Paolo Bonzini
On 27/01/21 17:15, Peter Gonda wrote: Grab kvm->lock before pinning memory when registering an encrypted region; sev_pin_memory() relies on kvm->lock being held to ensure correctness when checking and updating the number of pinned pages. Add a lockdep assertion to help prevent future regressions

Re: [PATCH v5 06/20] mfd: axp20x: Allow AXP chips without interrupt lines

2021-01-28 Thread Maxime Ripard
On Wed, Jan 27, 2021 at 05:24:46PM +, Andre Przywara wrote: > Currently the AXP chip requires to have its IRQ line connected to some > interrupt controller, and will fail probing when this is not the case. > > On a new Allwinner SoC (H616) there is no NMI pin anymore, and at > least one board

Re: [PATCH v2 3/9] gpio: ep93xx: Fix wrong irq numbers in port F

2021-01-28 Thread Alexander Sverdlin
Hi! On Wed, 2021-01-27 at 13:46 +0300, Nikita Shubin wrote: > Port F irq's should be statically mapped to EP93XX_GPIO_F_IRQ_BASE. > > So we need to specify girq->first otherwise: > > "If device tree is used, then first_irq will be 0 and > irqs get mapped dynamically on the fly" > > And that's n

Re: [PATCH 2/2] nds32: use get_kernel_nofault in dump_mem

2021-01-28 Thread Christoph Hellwig
On Tue, Jul 21, 2020 at 01:28:00PM +0200, Christoph Hellwig wrote: > Can you pich the patches up in the nds32 tree for Linus? There are > not short-term dependencies on them. It seems like these patches are still sitting in linux-next and never made it to Linus/

Re: [PATCH v2 2/9] gpio: ep93xx: Fix single irqchip with multi gpiochips

2021-01-28 Thread Alexander Sverdlin
Hi! On Wed, 2021-01-27 at 13:46 +0300, Nikita Shubin wrote: > Fixes the following warnings which results in interrupts disabled on > port B/F: > > gpio gpiochip1: (B): detected irqchip that is shared with multiple > gpiochips: please fix the driver. > gpio gpiochip5: (F): detected irqchip that i

Re: [PATCH 3/8] lib: bitmap: fold nbits into region struct

2021-01-28 Thread Andy Shevchenko
On Thu, Jan 28, 2021 at 2:52 AM Yury Norov wrote: > On Wed, Jan 27, 2021 at 12:02 AM Paul Gortmaker > wrote: ... > > So, this change was added because Yury suggested that I "..store > > nmaskbits in the struct region, and avoid passing nmaskbits as a > > parameter." > > > > To which I originall

Re: [PATCH v2 0/9] gpio: ep93xx: fixes series patch

2021-01-28 Thread Alexander Sverdlin
Hello Linus, On Wed, 2021-01-27 at 22:54 +0100, Linus Walleij wrote: > > Series of patches to fix ep93xx gpio driver to make IRQ's working. > > > > The following are fix patches (these are enough to get gpio-ep93xx > > working with modern kernel): > > I see that there is a strange level of atten

Re: linux-5.10.11 build failure

2021-01-28 Thread torvic9
Maybe you need something like this: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/entry&id=5e6dca82bcaa49348f9e5fcb48df4881f6d6c4ae Greetings, Tor

Re: [PATCH v5 12/20] dt-bindings: rtc: sun6i: Add H616 compatible string

2021-01-28 Thread Maxime Ripard
On Wed, Jan 27, 2021 at 05:24:52PM +, Andre Przywara wrote: > Add the obvious compatible name to the existing RTC binding, and pair > it with the existing H6 fallback compatible string, as the devices are > compatible. > > Signed-off-by: Andre Przywara > Acked-by: Rob Herring Acked-by: Maxi

Re: [PATCH v5 15/20] dt-bindings: net: sun8i-emac: Add H616 compatible string

2021-01-28 Thread Maxime Ripard
On Wed, Jan 27, 2021 at 05:24:55PM +, Andre Przywara wrote: > Add the obvious compatible name to the existing EMAC binding, and pair > it with the existing A64 fallback compatible string, as the devices are > compatible. > > On the way use enums to group the compatible devices together. > > S

Re: [PATCH v5 16/20] net: stmmac: dwmac-sun8i: Prepare for second EMAC clock register

2021-01-28 Thread Maxime Ripard
On Wed, Jan 27, 2021 at 05:24:56PM +, Andre Przywara wrote: > The Allwinner H616 SoC has two EMAC controllers, with the second one > being tied to the internal PHY, but also using a separate EMAC clock > register. > > To tell the driver about which clock register to use, we add a parameter > t

Re: [RFC PATCH 29/34] power/swap: use bio_new in hib_submit_io

2021-01-28 Thread Rafael J. Wysocki
On Thu, Jan 28, 2021 at 8:21 AM Chaitanya Kulkarni wrote: > Please explain in the changelog why making this change is a good idea. > Signed-off-by: Chaitanya Kulkarni > --- > kernel/power/swap.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/kernel/power/swap.c

Re: [PATCH v1 2/2] mm/page_alloc: count CMA pages per zone and print them in /proc/zoneinfo

2021-01-28 Thread Oscar Salvador
On Wed, Jan 27, 2021 at 11:18:13AM +0100, David Hildenbrand wrote: > Let's count the number of CMA pages per zone and print them in > /proc/zoneinfo. > > Having access to the total number of CMA pages per zone is helpful for > debugging purposes to know where exactly the CMA pages ended up, and to

Re: [PATCH] PM: sleep: core: Resume suspended device if direct-complete is disabled

2021-01-28 Thread Rafael J. Wysocki
On Thu, Jan 28, 2021 at 9:11 AM Takashi Iwai wrote: > > On Thu, 31 Dec 2020 07:03:19 +0100, > Kai-Heng Feng wrote: > > > > HDA controller can't be runtime-suspended after commit 215a22ed31a1 > > ("ALSA: hda: Refactor codjc PM to use direct-complete optimization"), > > which enables direct-complete

Re: [PATCH 1/3] mm, slub: use pGp to print page flags

2021-01-28 Thread Vlastimil Babka
On 1/28/21 3:19 AM, Yafang Shao wrote: > As pGp has been already introduced in printk, we'd better use it to make > the output human readable. > > Before this change, the output is, > [ 6155.716018] INFO: Slab 0x4027dd4f objects=33 used=3 > fp=0x8cd1579c flags=0x17c0010200 >

Re: [PATCH 2/2] soc: sunxi: mbus: Remove DE2 display engine compatibles

2021-01-28 Thread Maxime Ripard
On Wed, Jan 27, 2021 at 02:03:03PM +0100, Paul Kocialkowski wrote: > Hi, > > On Fri 15 Jan 21, 18:58, Paul Kocialkowski wrote: > > The DE2 display engine hardware takes physical addresses that do not > > need PHYS_BASE subtracted. As a result, they should not be present > > on the mbus driver matc

Re: [PATCH v11 1/9] arm64: dts: mt8183: rename rdma fifo size

2021-01-28 Thread Enric Balletbo Serra
Hi Hsin-Yi, Thank you for the patch. Missatge de Hsin-Yi Wang del dia dj., 28 de gen. 2021 a les 8:28: > > From: Yongqiang Niu > > property name must include only lowercase and '-' > This is a leftover while I forward ported the patch, the rdma_fifo_size only existed on the downstream kernels,

[GIT PULL for v5.11-rc6] media fixes

2021-01-28 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v5.11-2 For: - a V4L2 core regression at videobuf2 when checking for single-plane dmabuf; - a change at uAPI header v4l2-subdev.h, fixing a breakage as BIT() macro is not availa

Re: [PATCH v2] scsi: ufs: Give clk scaling min gear a value

2021-01-28 Thread Bean Huo
On Wed, 2021-01-27 at 18:49 -0800, Can Guo wrote: > The initialization of clk_scaling.min_gear was removed by mistake. > This > change adds it back, otherwise clock scaling down would fail. > > Fixes: 4543d9d78227 ("scsi: ufs: Refactor > ufshcd_init/exit_clk_scaling/gating()") > > Signed-off-by:

Re: [PATCH] b43: Remove redundant code

2021-01-28 Thread Julian Calaby
Hi . , (No proper name in the from field or signed-off-by, as you're already aware) On Thu, Jan 28, 2021 at 7:53 PM Abaci Team wrote: > > Fix the following coccicheck warnings: > > ./drivers/net/wireless/broadcom/b43/phy_n.c:4640:2-4: WARNING: possible > condition with no effect (if == else)

Re: [PATCH 0/8] MUSE: Userspace backed MTD v3

2021-01-28 Thread Miquel Raynal
Hi Richard, Richard Weinberger wrote on Mon, 25 Jan 2021 00:19:59 +0100: > I'm happy to announce the first non-RFC version of this patch set. > Over the xmas holidays I found some time to experiment with various userspace > implementations of MTDs and gave the kernel side more fine-tuning. > >

Re: [PATCH v7 4/7] crypto: add ecc curve and expose them

2021-01-28 Thread Ard Biesheuvel
On Thu, 28 Jan 2021 at 06:04, Herbert Xu wrote: > > On Fri, Jan 22, 2021 at 03:09:52PM +0800, Meng Yu wrote: > > 1. Add ecc curves(P224, P384, P521) for ECDH; > > OK I think this is getting unwieldy. > > In light of the fact that we already have hardware that supports > a specific subset of curves

Re: [PATCH 1/1] iommu/vt-d: Consolidate duplicate cache invaliation code

2021-01-28 Thread Joerg Roedel
On Thu, Jan 14, 2021 at 04:50:21PM +0800, Lu Baolu wrote: > The pasid based IOTLB and devTLB invalidation code is duplicate in > several places. Consolidate them by using the common helpers. > > Signed-off-by: Lu Baolu > --- > drivers/iommu/intel/pasid.c | 18 ++-- > drivers/iommu/intel/

Re: [PATCH 1/1] iommu/vt-d: Add qi_submit trace event

2021-01-28 Thread Joerg Roedel
On Thu, Jan 14, 2021 at 05:04:00PM +0800, Lu Baolu wrote: > This adds a new trace event to track the submissions of requests to the > invalidation queue. This event will provide the information like: > - IOMMU name > - Invalidation type > - Descriptor raw data > > A sample output like: > | qi_subm

Re: [PATCH 1/1] kernel/smp: Split call_single_queue into 3 queues

2021-01-28 Thread Sebastian Andrzej Siewior
On 2021-01-28 03:55:06 [-0300], Leonardo Bras wrote: > Currently, during flush_smp_call_function_queue(): > - All items are transversed once, for inverting. > - The SYNC items are transversed twice. > - The ASYNC & IRQ_WORK items are transversed tree times. > - The TTWU items are transversed four t

Re: [PATCH 1/1] iommu/vt-d: Preset Access/Dirty bits for IOVA over FL

2021-01-28 Thread Joerg Roedel
On Fri, Jan 15, 2021 at 08:42:02AM +0800, Lu Baolu wrote: > The Access/Dirty bits in the first level page table entry will be set > whenever a page table entry was used for address translation or write > permission was successfully translated. This is always true when using > the first-level page t

Re: [RFC PATCH 4/8] x86/power: Restore Key Locker internal key from the ACPI S3/4 sleep states

2021-01-28 Thread Rafael J. Wysocki
On Wed, Dec 16, 2020 at 6:47 PM Chang S. Bae wrote: > > When the system state switches to these sleep states, the internal key gets > reset. Since this system transition is transparent to userspace, the > internal key needs to be restored properly. > > Key Locker provides a mechanism to back up th

Re: [PATCH 2/3] mm, slub: don't combine pr_err with INFO

2021-01-28 Thread Vlastimil Babka
On 1/28/21 3:19 AM, Yafang Shao wrote: > It is strange to combine "pr_err" with "INFO", so let's clean them up. > This patch is motivated by David's comment[1]. > > - before the patch > [ 8846.517809] INFO: Slab 0xf42a2c60 objects=33 used=3 > fp=0x60d32ca8 flags=0x17c0010200(s

Re: [PATCH] PCI: dwc: layerscape: convert to builtin_platform_driver()

2021-01-28 Thread Tony Lindgren
* Geert Uytterhoeven [210128 09:32]: > It wasn't. The regression is that the driver no longer probes at first > try, because its dependencies are now probed later. The question is: > why are the dependencies now probed later? How to fix that? I'm afraid that may be unfixable.. It depends on th

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