Re: [PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

2020-09-28 Thread Joe Perches
On Mon, 2020-09-28 at 15:49 +0530, Srinivasan Raju wrote: > This introduces the pureLiFi LiFi driver for LiFi-X, LiFi-XC > and LiFi-XL USB devices, which provide lightweight, highspeed secure and > fully networked wireless communications via light. trivial notes: > diff --git a/drivers/net/wirele

Re: linux-next: build failure after merge of the drm tree

2020-09-28 Thread Christoph Hellwig
On Mon, Sep 28, 2020 at 01:46:55PM +0200, Paul Cercueil wrote: >> dma_mmap_attrs can only be used on allocations from dma_mmap_attrs with >> the same attrs. As there is no allocation using DMA_ATTR_NON_CONSISTENT >> in the drm core, something looks very fishy here. > > Is that a fact? I don't see

Re: [PATCH v5 1/3] dt-bindings: mfd: lp87565: convert to yaml

2020-09-28 Thread Lee Jones
On Wed, 02 Sep 2020, Luca Ceresoli wrote: > Also apply a few smaller improvements: > > - document that the only possible I2C slave address is 0x60 as per the >datasheet and fix the second example accordingly > - The definition of "xxx-in-supply" was generic, thus define in detail the >p

Re: [PATCH v2 0/1] concurrency handling for zoned null-blk

2020-09-28 Thread Greg KH
On Mon, Sep 28, 2020 at 03:25:48PM +0530, Kanchan Joshi wrote: > Changes since v1: > - applied the refactoring suggested by Damien > > Kanchan Joshi (1): > null_blk: synchronization fix for zoned device > > drivers/block/null_blk.h | 1 + > drivers/block/null_blk_zoned.c | 22 ++

Re: [PATCH v3 1/1] PCI/ERR: Fix reset logic in pcie_do_recovery() call

2020-09-28 Thread Sinan Kaya
On 9/27/2020 10:43 PM, Kuppuswamy, Sathyanarayanan wrote: >> 2. no bus reset on NON_FATAL error through AER driver path. >> This already tells me that you need to split your change into >> multiple patches. >> >> Let's talk about this too. bus reset should be triggered via >> AER driver before info

Re: [PATCH v5 2/3] dt-bindings: mfd: add LP87524-Q1

2020-09-28 Thread Lee Jones
On Wed, 02 Sep 2020, Luca Ceresoli wrote: > Add the LP87524-Q1 to the bindings along with an example. This is a variant > of the LP87565-Q1 and LP87561-Q1 chips which already have bindings. > > Signed-off-by: Luca Ceresoli > > --- > > Changes in v5: > - describe the "regulators" node too (Rob

Re: [PATCH v5 3/3] mfd: lp87565: add LP87524-Q1 variant

2020-09-28 Thread Lee Jones
On Wed, 02 Sep 2020, Luca Ceresoli wrote: > Add support for the LP87524B/J/P-Q1 Four 4-MHz Buck Converter. This is a > variant of the LP87565 having 4 single-phase outputs and up to 10 A of > total output current. > > Signed-off-by: Luca Ceresoli > Acked-for-MFD-by: Lee Jones > > --- > > Chan

SPARC version of arch_validate_prot() looks broken (UAF read)

2020-09-28 Thread Jann Horn
>From what I can tell from looking at the code: SPARC's arch_validate_prot() looks up the VMA and peeks at it; that's not permitted though. do_mprotect_pkey() calls arch_validate_prot() before taking the mmap lock, so we can hit use-after-free reads if someone concurrently deletes a VMA we're look

Re: [PATCH v3 03/21] dt-bindings: arm: hisilicon: convert Hisilicon board/soc bindings to json-schema

2020-09-28 Thread Leizhen (ThunderTown)
On 2020/9/28 20:05, Wei Xu wrote: > Hi Zhen Lei, > > Thanks! > > On 2020/9/27 14:21, Zhen Lei wrote: >> Convert Hisilicon SoC bindings to DT schema format using json-schema. >> >> Signed-off-by: Zhen Lei >> --- >> .../bindings/arm/hisilicon/hisilicon.txt | 57 >> .

Re: [PATCH 2/2] ARM: decompressor: relax the loading restriction of the decompressed kernel

2020-09-28 Thread Ard Biesheuvel
On Mon, 28 Sep 2020 at 13:57, Leizhen (ThunderTown) wrote: > > > > On 2020/9/28 18:14, Ard Biesheuvel wrote: > > On Mon, 28 Sep 2020 at 11:27, Zhen Lei wrote: > >> > >> mov r4, pc > >> and r4, r4, #0xf800 //truncated to 128MiB boundary > >> add r4, r4, #TEXT_OFFSET//PA(_st

Re: [PATCH 4.4 20/46] fbcon: remove soft scrollback code

2020-09-28 Thread Greg KH
On Mon, Sep 28, 2020 at 11:36:57AM +0530, Ajay Kaher wrote: > > @@ -3378,7 +3054,6 @@ static const struct consw fb_con = { > > .con_font_default = fbcon_set_def_font, > > .con_font_copy = fbcon_copy_font, > > .con_set_palette= fbcon_set_palette, > > - .con_scrol

Re: [PATCH v3 1/1] PCI/ERR: Fix reset logic in pcie_do_recovery() call

2020-09-28 Thread Sinan Kaya
On 9/28/2020 7:17 AM, Sinan Kaya wrote: > This should remove/rescan logic should be inside DPC's slot_reset() > function BTW. Not here. Correct function name is dpc_handler(). I hope I did not create confusion with slot_reset() that gets called for each driver post recovery.

Re: [PATCH 3/5] perf tools: Copy metric events properly when expand cgroups

2020-09-28 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 24, 2020 at 09:44:53PM +0900, Namhyung Kim escreveu: > The metricgroup__copy_metric_events() is to handle metrics events when > expanding event for cgroups. As the metric events keep pointers to > evsel, it should be refreshed when events are cloned during the > operation. > > The per

Re: [PATCH] perf parse-events: Reduce casts around bp_addr

2020-09-28 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 25, 2020 at 03:01:03PM +0200, Jiri Olsa escreveu: > On Thu, Sep 24, 2020 at 05:39:03PM -0700, Ian Rogers wrote: > > perf_event_attr bp_addr is a u64. parse-events.y parses it as a u64, but > > casts it to a void* and then parse-events.c casts it back to a u64. > > Rather than all the ca

Re: [PATCH] perf test: Fix msan uninitialized use.

2020-09-28 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 23, 2020 at 04:37:08PM -0700, Nick Desaulniers escreveu: > On Wed, Sep 23, 2020 at 2:07 PM 'Ian Rogers' via Clang Built Linux > wrote: > > > > Ensure 'st' is initialized before an error branch is taken. > > Fixes test "67: Parse and process metrics" with LLVM msan: > > ==6757==WARNING:

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

2020-09-28 Thread Greg Kroah-Hartman
On Mon, Sep 28, 2020 at 02:29:34PM +0800, Shuo A Liu wrote: > On Mon 28.Sep'20 at 7:25:16 +0200, Greg Kroah-Hartman wrote: > > On Mon, Sep 28, 2020 at 11:50:30AM +0800, Shuo A Liu wrote: > > > > > + write_lock_bh(&acrn_vm_list_lock); > > > > > + list_add(&vm->list, &acrn_vm_list); > > > >

Re: [PATCHv5 4/6] drm/msm/a6xx: Add support for using system cache(LLC)

2020-09-28 Thread Sai Prakash Ranjan
Hi Jordan, On 2020-09-23 20:33, Jordan Crouse wrote: On Tue, Sep 22, 2020 at 11:48:17AM +0530, Sai Prakash Ranjan wrote: From: Sharat Masetty The last level system cache can be partitioned to 32 different slices of which GPU has two slices preallocated. One slice is used for caching GPU buffe

Re: [PATCHv5 5/6] iommu: arm-smmu-impl: Use table to list QCOM implementations

2020-09-28 Thread Sai Prakash Ranjan
On 2020-09-23 20:54, Robin Murphy wrote: On 2020-09-22 07:18, Sai Prakash Ranjan wrote: Use table and of_match_node() to match qcom implementation instead of multiple of_device_compatible() calls for each QCOM SMMU implementation. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-s

[no subject]

2020-09-28 Thread robert
Good day my good friend. How are you doing today? It has been long i hear from you, what is going on your side? Today i am very much happy to inform you about my success in getting those inheritance funds transferred under the co-operation of a new partner from India Asia. He is a Canadian but bas

[Regression] "tpm: Require that all digests are present in TCG_PCR_EVENT2 structures" causes null pointer dereference

2020-09-28 Thread Kai-Heng Feng
Commit 7f3d176f5f7e "tpm: Require that all digests are present in TCG_PCR_EVENT2 structures" causes a null pointer dereference on all laptops I have: [0.00] microcode: microcode updated early to revision 0xd6, date = 2020-04-27 [0.00] Linux version 5.8.0-rc6+ (gcc (Ubuntu 10.2.0

Re: [PATCH 4/7] perf inject: Do not load map/dso when injecting build-id

2020-09-28 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 25, 2020 at 04:26:19PM +0200, Jiri Olsa escreveu: > On Thu, Sep 24, 2020 at 11:46:32PM +0900, Namhyung Kim wrote: > > On Thu, Sep 24, 2020 at 03:44:44PM +0200, Jiri Olsa wrote: > > > On Thu, Sep 24, 2020 at 10:20:51PM +0900, Namhyung Kim wrote: > > > > On Thu, Sep 24, 2020 at 10:09 PM J

[PATCH][next] spi: hisi-sfc-v3xx: fix spelling mistake "occured" -> "occurred"

2020-09-28 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_err message. Fix it. Signed-off-by: Colin Ian King --- drivers/spi/spi-hisi-sfc-v3xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-hisi-sfc-v3xx.c b/drivers/spi/spi-hisi-sfc-v3xx.c index 46454dc2d

Re: [PATCH v3 2/3] media: atmel: introduce microchip csi2dc driver

2020-09-28 Thread Eugen.Hristev
On 07.09.2020 12:16, Eugen Hristev - M18282 wrote: > On 31.08.2020 11:50, Sakari Ailus wrote: > >> Hi Eugen, >> >> Thanks for the update. > > Hi Sakari, > > Thanks for reviewing, but, could you please help me understand your > review below ? > Gentle ping Thanks >> >> On Wed, Aug 26, 2020 at

[PATCH 4/8] usb: cdns3: Refactoring names in reusable code

2020-09-28 Thread Pawel Laszczak
Patch change the functions and objects names in reusable code. The reusable code includes core.c, core.h, drd.c and drd.h files. It also changes the names of all references to these functions and objects in other cdns3 files. There are a lot of changes, but all changes are very trivial. The reason

[PATCH 2/8] usb: cdns3: Split core.c into cdns3-plat and core.c file

2020-09-28 Thread Pawel Laszczak
Patch splits file core.c into core.c containing the common reusable code and cnd3-plat.c containing device platform specific code. These changes are required to make possible reuse DRD part of CDNS3 driver in CDNSP driver. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/Makefile | 2 +-

[PATCH 5/8] usb: cdns3: Changed type of gadget_dev in cdns structure

2020-09-28 Thread Pawel Laszczak
Patch changes the type for gadget_dev pointer in cdns structure from pointer to cdns3_device structure to void pointer. This filed is in reusable code and after this change it will be used to point to both cdns3_device or cdnsp_device objects. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/

[PATCH 8/8] usb: cdnsp: Add tracepoints for CDNSP driver

2020-09-28 Thread Pawel Laszczak
Patch adds the series of tracepoints that can be used for debugging issues detected in driver. Signed-off-by: Pawel Laszczak --- drivers/usb/cdnsp/Makefile | 5 + drivers/usb/cdnsp/debug.h | 583 + drivers/usb/cdnsp/ep0.c| 24 +- drivers/usb/cdnsp/gadget.c | 75 +

[PATCH 1/8] usb: cdns3: Add support for DRD CDNSP

2020-09-28 Thread Pawel Laszczak
Patch adds support for Cadence DRD Super Speed Plus controller(CDNSP). CDNSP DRD is a part of Cadence CDNSP controller. The DRD CDNSP controller has a lot of difference on hardware level but on software level is quite compatible with CDNS3 DRD. For this reason CDNS3 DRD part of CDNS3 driver was reu

[PATCH 0/8] Introduced new Cadence USBSSP DRD Driver.

2020-09-28 Thread Pawel Laszczak
This patch introduce new Cadence USBSS DRD driver to linux kernel. The Cadence USBSS DRD Controller is a highly configurable IP Core which can be instantiated as Dual-Role Device (DRD), Peripheral Only and Host Only (XHCI)configurations. The current driver has been validated with FPGA burned. We

[PATCH 3/8] usb: cdns3: Moves reusable code to separate module

2020-09-28 Thread Pawel Laszczak
Patch moves common reusable code used by cdns3 and cdnsp driver to cdns-usb-common library. This library include core.c, drd.c and host.c files. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/Kconfig | 8 drivers/usb/cdns3/Makefile| 8 +--- drivers/usb/cdns3/c

Re: Patch "ata: sata_mv, avoid trigerrable BUG_ON" has been added to the 4.4-stable tree

2020-09-28 Thread Greg KH
On Sun, Sep 27, 2020 at 02:11:18PM -0400, Sasha Levin wrote: > This is a note to let you know that I've just added the patch titled > > ata: sata_mv, avoid trigerrable BUG_ON > > to the 4.4-stable tree which can be found at: > > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable

Re: [PATCH 3/5] perf tools: Copy metric events properly when expand cgroups

2020-09-28 Thread Jiri Olsa
On Mon, Sep 28, 2020 at 08:54:04AM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Sep 25, 2020 at 03:51:33PM +0200, Jiri Olsa escreveu: > > On Fri, Sep 25, 2020 at 10:44:53PM +0900, Namhyung Kim wrote: > > > On Fri, Sep 25, 2020 at 10:26 PM Jiri Olsa wrote: > > > > On Thu, Sep 24, 2020 at 09:44:

Re: linux-next: manual merge of the net-next tree with the net tree

2020-09-28 Thread Andrew Lunn
> From: Stephen Rothwell > Date: Mon, 28 Sep 2020 12:42:10 +1000 > Subject: [PATCH] merge fix for "mdio: fix mdio-thunder.c dependency & build > error" > > Signed-off-by: Stephen Rothwell > --- > drivers/net/mdio/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/mdi

Re: remove alloc_vm_area v2

2020-09-28 Thread Christoph Hellwig
On Mon, Sep 28, 2020 at 01:13:38PM +0300, Joonas Lahtinen wrote: > I think we have a gap that after splitting the drm-intel-next pull requests > into > two the drm-intel/for-linux-next branch is now missing material from > drm-intel/drm-intel-gt-next. > > I think a simple course of action might b

Re: [PATCH v3 02/21] dt-bindings: arm: hisilicon: split the dt-bindings of each controller into a separate file

2020-09-28 Thread Wei Xu
Hi Zhen Lei, On 2020/9/27 14:21, Zhen Lei wrote: > Split the devicetree bindings of each Hisilicon controller from > hisilicon.txt into a separate file, the file name is the compatible name > attach the .txt file name extension. > > All Hi6220 dedicated controllers are grouped into subdirectory

[RESEND PATCH 1/2] perf/x86/intel: Add Jasper Lake support

2020-09-28 Thread kan . liang
From: Kan Liang The Jasper Lake processor is also a Tremont microarchitecture. From the perspective of Intel PMU, there is nothing changed compared with Elkhart Lake. Share the perf code with Elkhart Lake. Signed-off-by: Kan Liang --- arch/x86/events/intel/core.c | 1 + 1 file changed, 1 inser

[PATCH v3 1/2] iommu/iova: Retry from last rb tree node if iova search fails

2020-09-28 Thread vjitta
From: Vijayanand Jitta When ever a new iova alloc request comes iova is always searched from the cached node and the nodes which are previous to cached node. So, even if there is free iova space available in the nodes which are next to the cached node iova allocation can still fail because of thi

[PATCH v3 2/2] iommu/iova: Free global iova rcache on iova alloc failure

2020-09-28 Thread vjitta
From: Vijayanand Jitta When ever an iova alloc request fails we free the iova ranges present in the percpu iova rcaches and then retry but the global iova rcache is not freed as a result we could still see iova alloc failure even after retry as global rcache is holding the iova's which can cause

[RESEND PATCH 2/2] perf/x86/msr: Add Jasper Lake support

2020-09-28 Thread kan . liang
From: Kan Liang The Jasper Lake processor is also a Tremont microarchitecture. From the perspective of perf MSR, there is nothing changed compared with Elkhart Lake. Share the code path with Elkhart Lake. Signed-off-by: Kan Liang --- arch/x86/events/msr.c | 1 + 1 file changed, 1 insertion(+)

Re: Patch "ata: sata_mv, avoid trigerrable BUG_ON" has been added to the 4.4-stable tree

2020-09-28 Thread Greg KH
On Mon, Sep 28, 2020 at 02:30:57PM +0200, Greg KH wrote: > On Sun, Sep 27, 2020 at 02:11:18PM -0400, Sasha Levin wrote: > > This is a note to let you know that I've just added the patch titled > > > > ata: sata_mv, avoid trigerrable BUG_ON > > > > to the 4.4-stable tree which can be found at:

Re: [PATCH] time/sched_clock: mark sched_clock_read_begin as notrace

2020-09-28 Thread Quanyang Wang
Hi Peter, On 9/28/20 6:58 PM, Peter Zijlstra wrote: On Mon, Sep 28, 2020 at 06:49:52PM +0800, quanyang.w...@windriver.com wrote: From: Quanyang Wang Since sched_clock_read_begin is called by notrace function sched_clock, it shouldn't be traceable either, or else __ftrace_graph_caller will run

Re: [PATCH v2 2/2] iommu/iova: Free global iova rcache on iova alloc failure

2020-09-28 Thread Vijayanand Jitta
On 9/18/2020 8:11 PM, Robin Murphy wrote: > On 2020-08-20 13:49, vji...@codeaurora.org wrote: >> From: Vijayanand Jitta >> >> When ever an iova alloc request fails we free the iova >> ranges present in the percpu iova rcaches and then retry >> but the global iova rcache is not freed as a result

Re: [PATCH 4/9] ARM: syscall: always store thread_info->syscall

2020-09-28 Thread Arnd Bergmann
On Mon, Sep 28, 2020 at 11:41 AM Linus Walleij wrote: > > Hi Arnd, > > help me out here because I feel vaguely stupid... > > On Mon, Sep 7, 2020 at 5:38 PM Arnd Bergmann wrote: > > > { > > + if (IS_ENABLED(CONFIG_OABI_COMPAT)) > > + return task_thread_info(task)->syscall & >

[PATCH -next for tip:x86/pti] x86/tlb: drop unneeded local vars in enable_l1d_flush_for_task()

2020-09-28 Thread Lukas Bulwahn
Commit b6724f118d44 ("prctl: Hook L1D flushing in via prctl") checks the validity for enable_l1d_flush_for_task() and introduces some superfluous local variables for that implementation. make clang-analyzer on x86_64 tinyconfig caught my attention with: arch/x86/mm/tlb.c:332:2: warning: Value s

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

2020-09-28 Thread Vitaly Wool
On Tue, Aug 18, 2020 at 2:34 PM Barry Song wrote: > > Right now, all new ZIP drivers are adapted to crypto_acomp APIs rather > than legacy crypto_comp APIs. Tradiontal ZIP drivers like lz4,lzo etc > have been also wrapped into acomp via scomp backend. But zswap.c is still > using the old APIs. Tha

[PATCH] rcu/tree: nocb: Avoid raising softirq when CBs ready to execute

2020-09-28 Thread Joel Fernandes (Google)
During testing, I see it is possible that rcu_pending() returns 1 when offloaded callbacks are ready to execute thus raising the RCU softirq. However, softirq does not execute offloaded callbacks. They are executed in a kthread which is awakened independent of the softirq. The softirq ignores the

Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned

2020-09-28 Thread Jason Gunthorpe
On Sun, Sep 27, 2020 at 11:45:30AM -0700, Linus Torvalds wrote: > On Sun, Sep 27, 2020 at 11:16 AM Linus Torvalds > wrote: > > > > Btw, I'm not convinced about the whole "turn the pte read-only and > > then back". If the fork races with another thread doing a pinning > > fast-GUP on another CPU, t

Re: remove set_fs for riscv v2

2020-09-28 Thread Christoph Hellwig
On Sat, Sep 26, 2020 at 10:50:52AM -0700, Palmer Dabbelt wrote: > On Mon, 21 Sep 2020 21:37:52 PDT (-0700), Christoph Hellwig wrote: >> Given tht we've not made much progress with the common branch, >> are you fine just picking this up through the riscv tree for 5.10? >> >> I'll defer other archite

Re: [PATCH 2/2] printk: Make the console flush configurable in hotplug path

2020-09-28 Thread Greg KH
On Sun, Sep 27, 2020 at 07:05:34PM -0700, psoda...@codeaurora.org wrote: > On 2020-09-24 11:21, Thomas Gleixner wrote: > > On Thu, Sep 24 2020 at 08:33, Greg KH wrote: > > > On Wed, Sep 23, 2020 at 05:08:32PM -0700, Prasad Sodagudi wrote: > > > > +config CONSOLE_FLUSH_ON_HOTPLUG > > > > + boo

Re: [PATCH v2 0/5] io_uring: Fix async workqueue is not canceled on some corner case

2020-09-28 Thread Muchun Song
Ping guys. This is worth fixing. On Wed, Sep 23, 2020 at 7:44 PM Muchun Song wrote: > > We should make sure that async workqueue is canceled on exit, but on > some corner case, we found that the async workqueue is not canceled > on exit in the linux-5.4. So we started an in-depth investigation. >

Re: [PATCH v3 02/21] dt-bindings: arm: hisilicon: split the dt-bindings of each controller into a separate file

2020-09-28 Thread Leizhen (ThunderTown)
On 2020/9/28 20:37, Wei Xu wrote: > Hi Zhen Lei, > > > > On 2020/9/27 14:21, Zhen Lei wrote: >> Split the devicetree bindings of each Hisilicon controller from >> hisilicon.txt into a separate file, the file name is the compatible name >> attach the .txt file name extension. >> >> All Hi6220

Re: [PATCH v3 02/15] clk: tegra: Don't enable PLLE HW sequencer at init

2020-09-28 Thread Thierry Reding
On Wed, Sep 09, 2020 at 04:10:28PM +0800, JC Kuo wrote: > PLLE hardware power sequencer references PEX/SATA UPHY PLL hardware > power sequencers' output to enable/disable PLLE. PLLE hardware power > sequencer has to be enabled only after PEX/SATA UPHY PLL's sequencers > are enabled. > > Signed-off

Re: [PATCH 22/24] membarrier.2: Note that glibc does not provide a wrapper

2020-09-28 Thread G. Branden Robinson
At 2020-09-27T22:05:14+0200, Alejandro Colomar wrote: > Hi Branden, > > * G. Branden Robinson via linux-man: > > 1) > > > .EX > > .B int fstat(int \c > > .IB fd , \~\c > > .B struct stat *\c > > .IB statbuf ); > > .EE > > 2) > > > .EX > > .BI "int fstat(int " fd ", struct stat *" statbuf ); >

Re: [PATCH v3 01/15] clk: tegra: Add PLLE HW power sequencer control

2020-09-28 Thread Thierry Reding
On Wed, Sep 09, 2020 at 04:10:27PM +0800, JC Kuo wrote: > PLLE has a hardware power sequencer logic which is a state machine > that can power on/off PLLE without any software intervention. The > sequencer has two inputs, one from XUSB UPHY PLL and the other from > SATA UPHY PLL. PLLE provides refer

Re: [PATCH RFC 4/4] mm/page_alloc: place pages to tail in __free_pages_core()

2020-09-28 Thread Oscar Salvador
On Mon, Sep 28, 2020 at 10:36:00AM +0200, David Hildenbrand wrote: > Hi Oscar! Hi David :-) > > Old code: > > set_page_refcounted(): sets the refcount to 1. > __free_pages() > -> put_page_testzero(): sets it to 0 > -> free_the_page()->__free_pages_ok() > > New code: > > set_page_refcounte

Re: [PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

2020-09-28 Thread Srinivasan Raju
> Didn't look at the rest Thanks for your comments Joe, I will refactor the code for clarity, remove redundancy and address your comments. Regards Srini

[PATCH v11 0/6] ACPI: Support Generic Initiator proximity domains

2020-09-28 Thread Jonathan Cameron
It would be very nice to finally merge this support during the next cycle, so please take a look. I think we need acks covering x86, ARM and ACPI. Rafael took a look back in November at v5 and was looking for x86 and ARM acks. Whilst there is no ARM specific code left we probably still need an A

[PATCH v11 1/6] ACPI: Support Generic Initiator only domains

2020-09-28 Thread Jonathan Cameron
Generic Initiators are a new ACPI concept that allows for the description of proximity domains that contain a device which performs memory access (such as a network card) but neither host CPU nor Memory. This patch has the parsing code and provides the infrastructure for an architecture to associa

[PATCH 1/2] iio: adc: at91_adc: use of_device_get_match_data() helper

2020-09-28 Thread Alexandru Ardelean
This tries to solve a warning reported by the lkp bot: >> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable >> 'at91_adc_dt_ids' [-Wunused-const-variable] static const struct of_device_id at91_adc_dt_ids[] = { ^ 1 warning generated. This shows

[PATCH v11 2/6] x86: Support Generic Initiator only proximity domains

2020-09-28 Thread Jonathan Cameron
In common with memoryless domains we only register GI domains if the proximity node is not online. If a domain is already a memory containing domain, or a memoryless domain there is nothing to do just because it also contains a Generic Initiator. Signed-off-by: Jonathan Cameron --- v11: Improved

[PATCH v11 3/6] ACPI: Let ACPI know we support Generic Initiator Affinity Structures

2020-09-28 Thread Jonathan Cameron
Until we tell ACPI that we support generic initiators, it will have to operate in fall back domain mode and all _PXM entries should be on existing non GI domains. This patch sets the relevant OSC bit to make that happen. Signed-off-by: Jonathan Cameron --- v11: No change drivers/acpi/bus.c |

[PATCH 2/2] iio: adc: at91_adc: const-ify some driver data

2020-09-28 Thread Alexandru Ardelean
The main intent is to get rid of the cast for the void-pointer returned by of_device_get_match_data(). This requires const-ifying the 'caps' and 'registers' references on the at91_adc_state struct. The caps can be obtained also from the old platform_data (in the at91_adc_probe_pdata() function),

Re: [PATCH v3 00/15] Tegra XHCI controller ELPG support

2020-09-28 Thread Thierry Reding
On Wed, Sep 09, 2020 at 04:10:26PM +0800, JC Kuo wrote: > Tegra XHCI controler can be placed in ELPG (Engine Level PowerGated) > state for power saving when all of the connected USB devices are in > suspended state. This patch series includes clk, phy and pmc changes > that are required for properl

Re: [PATCH v2 1/9] lib: string_helpers: provide kfree_strarray()

2020-09-28 Thread Andy Shevchenko
On Mon, Sep 28, 2020 at 12:41:47PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > There's a common pattern of dynamically allocating an array of char > pointers and then also dynamically allocating each string in this > array. Provide a helper for freeing such a string array wi

[PATCH v11 4/6] ACPI: HMAT: Fix handling of changes from ACPI 6.2 to ACPI 6.3

2020-09-28 Thread Jonathan Cameron
In ACPI 6.3, the Memory Proximity Domain Attributes Structure changed substantially. One of those changes was that the flag for "Memory Proximity Domain field is valid" was deprecated. This was because the field "Proximity Domain for the Memory" became a required field and hence having a validity

[PATCH v11 5/6] node: Add access1 class to represent CPU to memory characteristics

2020-09-28 Thread Jonathan Cameron
New access1 class is nearly the same as access0, but always provides characteristics for CPUs to memory. The existing access0 class provides characteristics to nearest or direct connnect initiator which may be a Generic Initiator such as a GPU or network adapter. This new class allows thread pla

[PATCH v11 6/6] docs: mm: numaperf.rst Add brief description for access class 1.

2020-09-28 Thread Jonathan Cameron
Try to make minimal changes to the document which already describes access class 0 in a generic fashion (including IO initiatiors that are not CPUs). Signed-off-by: Jonathan Cameron --- v11: No change. Documentation/admin-guide/mm/numaperf.rst | 8 1 file changed, 8 insertions(+) dif

Re: [PATCH] dt-bindings: serial: fsl-imx-uart: fix i.MX 53 and 6 compatible matching

2020-09-28 Thread Rob Herring
On Fri, 25 Sep 2020 23:26:49 +0200, Krzysztof Kozlowski wrote: > The i.MX 53 and i.MX6Q DTS use two compatibles, i.MX 6SL/6SLL/SX three > so update the binding to fix dtbs_check warnings like: > > serial@21ec000: compatible: ['fsl,imx6q-uart', 'fsl,imx21-uart'] is not > valid under any of the g

[PATCH net-next] drivers/net/wan/hdlc_fr: Correctly handle special skb->protocol values

2020-09-28 Thread Xie He
The fr_hard_header function is used to prepend the header to skbs before transmission. It is used in 3 situations: 1) When a control packet is generated internally in this driver; 2) When a user sends an skb on an Ethernet-emulating PVC device; 3) When a user sends an skb on a normal PVC device. T

Re: [PATCH 2/8] selftests/vm: use a common gup_test.h

2020-09-28 Thread Jason Gunthorpe
On Sun, Sep 27, 2020 at 11:21:53PM -0700, John Hubbard wrote: > diff --git a/tools/testing/selftests/vm/Makefile > b/tools/testing/selftests/vm/Makefile > index d1ae706d9927..9cc6bc087461 100644 > +++ b/tools/testing/selftests/vm/Makefile > @@ -130,3 +130,5 @@ endif > $(OUTPUT)/userfaultfd: LDLIB

Re: [PATCH 2/2] ARM: decompressor: relax the loading restriction of the decompressed kernel

2020-09-28 Thread Geert Uytterhoeven
Hi Zhen, On Mon, Sep 28, 2020 at 2:15 PM Ard Biesheuvel wrote: > On Mon, 28 Sep 2020 at 13:57, Leizhen (ThunderTown) > wrote: > > On 2020/9/28 18:14, Ard Biesheuvel wrote: > > > On Mon, 28 Sep 2020 at 11:27, Zhen Lei wrote: > > >> > > >> mov r4, pc > > >> and r4, r4, #0xf800 //t

Re: cpudile warning on mx6q sabresd caused by eb1f00237aca ("lockdep,trace: Expose tracepoints")

2020-09-28 Thread Peter Zijlstra
On Mon, Sep 28, 2020 at 12:26:58PM +, Aisheng Dong wrote: > Hi Peter, > > We met a cpudile warning on mx6q sabresd board since v5.9-rc3 and also exist > in latest linux-next (next-20200925). > After some bisection, I found it’s caused by below patch. > Any suggestions about this issue? The w

Re: [PATCH v2 7/9] gpio: mockup: pass the chip label as device property

2020-09-28 Thread Andy Shevchenko
On Mon, Sep 28, 2020 at 12:41:53PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > While we do check the "chip-name" property in probe(), we never actually > use it. Let's pass the chip label to the driver using device properties > as we'll want to allow users to define their ow

Re: [PATCH] drm/nouveau/kms/nv50-: Fix clock checking algorithm in nv50_dp_mode_valid()

2020-09-28 Thread Ville Syrjälä
On Tue, Sep 22, 2020 at 05:05:10PM -0400, Lyude Paul wrote: > While I thought I had this correct (since it actually did reject modes > like I expected during testing), Ville Syrjala from Intel pointed out > that the logic here isn't correct. max_clock refers to the max symbol > rate supported by th

Re: [PATCH v2] PR_SPEC_DISABLE_NOEXEC support for arm64.

2020-09-28 Thread Will Deacon
Hi Anthony, On Tue, Sep 22, 2020 at 02:21:53AM -0700, Anthony Steinhauser wrote: > Support of Spectre v4 PR_SPEC_DISABLE_NOEXEC mitigation mode for on arm64. > > PR_SPEC_DISABLE_NOEXEC turns the mitigation on, but it is automatically > turned off whenever a new program is being execve'ed. > > Si

Re: [PATCH v2 8/9] gpio: mockup: use the generic 'gpio-line-names' property

2020-09-28 Thread Andy Shevchenko
On Mon, Sep 28, 2020 at 12:41:54PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > GPIO line names are currently created by the driver from the chip label. > We'll want to support custom formats for line names (for instance: to > name all lines the same) for user-space tests so

Re: [PATCH 8/8] selftests/vm: hmm-tests: remove the libhugetlbfs dependency

2020-09-28 Thread Jason Gunthorpe
On Sun, Sep 27, 2020 at 11:21:59PM -0700, John Hubbard wrote: > @@ -76,8 +79,6 @@ TEST_FILES := test_vmalloc.sh > KSFT_KHDR_INSTALL := 1 > include ../lib.mk > > -$(OUTPUT)/hmm-tests: LDLIBS += -lhugetlbfs > - > ifeq ($(ARCH),x86_64) > BINARIES_32 := $(patsubst %,$(OUTPUT)/%,$(BINARIES_32)) >

Re: [PATCH v3 03/15] phy: tegra: xusb: Move usb3 port init for Tegra210

2020-09-28 Thread Thierry Reding
On Wed, Sep 09, 2020 at 04:10:29PM +0800, JC Kuo wrote: > The programming sequence in tegra210_usb3_port_enable() is required > for both cold boot and SC7 exit, and must be performed only after > PEX/SATA UPHY is initialized. Therefore, this commit moves the > programming sequence to tegra210_usb3_

Re: [PATCH v2 1/9] lib: string_helpers: provide kfree_strarray()

2020-09-28 Thread Bartosz Golaszewski
On Mon, Sep 28, 2020 at 2:55 PM Andy Shevchenko wrote: > > On Mon, Sep 28, 2020 at 12:41:47PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > There's a common pattern of dynamically allocating an array of char > > pointers and then also dynamically allocating each string i

[PATCH 6/8] usb: cdnsp: Device side header file for CDNSP driver

2020-09-28 Thread Pawel Laszczak
Patch defines macros, registers and structures used by Device side driver. Because the size of main patch is very big, I’ve decided to create separate patch for gadget.h. It should simplify reviewing the code. Signed-off-by: Pawel Laszczak --- drivers/usb/cdnsp/gadget.h | 1459 +

[PATCH] mailmap: add Andrej Shadura

2020-09-28 Thread Andrej Shadura
From: Andrej Shadura Add a mapping for my old work email for BelDisplayTech to the personal email, and make sure the Collabora email has the correct spelling of the first name. Signed-off-by: Andrej Shadura --- .mailmap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.mailmap b/.mailmap

Re: [PATCH v3 04/15] phy: tegra: xusb: tegra210: Do not reset UPHY PLL

2020-09-28 Thread Thierry Reding
On Wed, Sep 09, 2020 at 04:10:30PM +0800, JC Kuo wrote: > Once UPHY PLL hardware power sequencer is enabled, do not assert > reset to PEX/SATA PLLs, otherwise UPHY PLL operation will be broken. > This commit removes reset_control_assert(pcie->rst) and > reset_control_assert(sata->rst) from PEX/SATA

Re: [PATCH v3 05/15] phy: tegra: xusb: Rearrange UPHY init on Tegra210

2020-09-28 Thread Thierry Reding
On Wed, Sep 09, 2020 at 04:10:31PM +0800, JC Kuo wrote: > This commit is a preparation for enabling XUSB SC7 support. > It rearranges Tegra210 XUSB PADCTL UPHY initialization sequence, > for the following reasons: > > 1. PLLE hardware power sequencer has to be enabled only after both >PEX UPHY

Re: [PATCH v3 06/15] phy: tegra: xusb: Add Tegra210 lane_iddq operation

2020-09-28 Thread Thierry Reding
On Wed, Sep 09, 2020 at 04:10:32PM +0800, JC Kuo wrote: > As per Tegra210 TRM, before changing lane assignments, driver should > keep lanes in IDDQ and sleep state; after changing lane assignments, > driver should bring lanes out of IDDQ. > This commit implements the required operations. > > Signe

Re: [PATCH v3 07/15] phy: tegra: xusb: Add sleepwalk and suspend/resume

2020-09-28 Thread Thierry Reding
On Wed, Sep 09, 2020 at 04:10:33PM +0800, JC Kuo wrote: > This commit adds sleepwalk/wake and suspend/resume interfaces > to Tegra XUSB PHY driver. > > Tegra XUSB host controller driver makes use of sleepwalk functions > to enable/disable sleepwalk circuit which is in always-on partition > and can

[PATCH v2 3/4] arm64: dts: mt8192: add mmc device node

2020-09-28 Thread Wenbin Mei
This commit adds mmc device node for mt8192 Signed-off-by: Wenbin Mei --- arch/arm64/boot/dts/mediatek/mt8192-evb.dts | 89 + arch/arm64/boot/dts/mediatek/mt8192.dtsi| 34 2 files changed, 123 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192-evb.dt

[PATCH v2 4/4] mmc: mediatek: Add subsys clock control for MT8192 msdc

2020-09-28 Thread Wenbin Mei
MT8192 msdc is an independent sub system, we need control more bus clocks for it. Add support for the additional subsys clocks to allow it to be configured appropriately. Signed-off-by: Wenbin Mei --- drivers/mmc/host/mtk-sd.c | 77 ++- 1 file changed, 59 inse

[PATCH v2 0/4] Add mmc support for MT8192 SoC

2020-09-28 Thread Wenbin Mei
Change in v2: Convert mtk-sd to json-schema Wenbin Mei (4): dt-bindings: mmc: Convert mtk-sd to json-schema mmc: dt-bindings: add support for MT8192 SoC arm64: dts: mt8192: add mmc device node mmc: mediatek: Add subsys clock control for MT8192 msdc --- This patch depends on [v4,1/3] arm64:

[PATCH v2 1/4] dt-bindings: mmc: Convert mtk-sd to json-schema

2020-09-28 Thread Wenbin Mei
Convert the mtk-sd binding to DT schema format using json-schema. Signed-off-by: Wenbin Mei Reviewed-by: Ulf Hansson --- .../devicetree/bindings/mmc/mtk-sd.txt| 75 .../devicetree/bindings/mmc/mtk-sd.yaml | 165 ++ 2 files changed, 165 insertions(+), 75 d

[PATCH v2 2/4] mmc: dt-bindings: add support for MT8192 SoC

2020-09-28 Thread Wenbin Mei
MT8192 mmc host ip is compatible with MT8183. Add support for this. Signed-off-by: Wenbin Mei Reviewed-by: Ulf Hansson --- Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc

Re: [PATCH v2 7/9] gpio: mockup: pass the chip label as device property

2020-09-28 Thread Bartosz Golaszewski
On Mon, Sep 28, 2020 at 3:00 PM Andy Shevchenko wrote: > > On Mon, Sep 28, 2020 at 12:41:53PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > While we do check the "chip-name" property in probe(), we never actually > > use it. Let's pass the chip label to the driver using

[PATCH 1/5] iio: adc: spear_adc: Replace indio_dev->mlock with own device lock

2020-09-28 Thread Mircea Caprioru
From: Sergiu Cuciurean As part of the general cleanup of indio_dev->mlock, this change replaces it with a local lock on the device's state structure. This is part of a bigger cleanup. Link: https://lore.kernel.org/linux-iio/CA+U=dsoo6yabe5odlp+efnpgfdjk5zeqecegkqjxxcvehlw...@mail.gmail.com/ Si

[PATCH 5/5] iio: adc: rockchip_saradc: Replace indio_dev->mlock with own device lock

2020-09-28 Thread Mircea Caprioru
From: Sergiu Cuciurean As part of the general cleanup of indio_dev->mlock, this change replaces it with a local lock on the device's state structure. This is part of a bigger cleanup. Link: https://lore.kernel.org/linux-iio/CA+U=dsoo6yabe5odlp+efnpgfdjk5zeqecegkqjxxcvehlw...@mail.gmail.com/ Si

[PATCH 2/5] iio: adc: palmas_gpadc: Replace indio_dev->mlock with own device lock

2020-09-28 Thread Mircea Caprioru
From: Sergiu Cuciurean As part of the general cleanup of indio_dev->mlock, this change replaces it with a local lock on the device's state structure. This is part of a bigger cleanup. Link: https://lore.kernel.org/linux-iio/CA+U=dsoo6yabe5odlp+efnpgfdjk5zeqecegkqjxxcvehlw...@mail.gmail.com/ Si

[PATCH 3/5] iio: adc: npcm_adc: Replace indio_dev->mlock with own device lock

2020-09-28 Thread Mircea Caprioru
From: Sergiu Cuciurean As part of the general cleanup of indio_dev->mlock, this change replaces it with a local lock on the device's state structure. This is part of a bigger cleanup. Link: https://lore.kernel.org/linux-iio/CA+U=dsoo6yabe5odlp+efnpgfdjk5zeqecegkqjxxcvehlw...@mail.gmail.com/ Si

[PATCH 4/5] iio: adc: vf610_adc: Replace indio_dev->mlock with own device lock

2020-09-28 Thread Mircea Caprioru
From: Sergiu Cuciurean As part of the general cleanup of indio_dev->mlock, this change replaces it with a local lock on the device's state structure. This is part of a bigger cleanup. Link: https://lore.kernel.org/linux-iio/CA+U=dsoo6yabe5odlp+efnpgfdjk5zeqecegkqjxxcvehlw...@mail.gmail.com/ Si

Re: [PATCH v3 08/15] soc/tegra: pmc: Provide usb sleepwalk register map

2020-09-28 Thread Thierry Reding
On Wed, Sep 09, 2020 at 04:10:34PM +0800, JC Kuo wrote: > This commit implements a register map which grants USB (UTMI and HSIC) > sleepwalk registers access to USB PHY drivers. The USB sleepwalk logic > is in PMC hardware block but USB PHY drivers have the best knowledge > of proper programming se

Re: [PATCH v3 09/15] arm64: tegra210: XUSB PADCTL add "nvidia,pmc" prop

2020-09-28 Thread Thierry Reding
On Wed, Sep 09, 2020 at 04:10:35PM +0800, JC Kuo wrote: > PMC driver provides USB sleepwalk registers access to XUSB PADCTL > driver. This commit adds a "nvidia,pmc" property which points to > PMC node to XUSB PADCTL device node. > > Signed-off-by: JC Kuo > --- > v3: >no change > > arch/arm

Re: [PATCH 5/5] perf: arm_spe: Decode SVE events

2020-09-28 Thread Dave Martin
On Tue, Sep 22, 2020 at 11:12:25AM +0100, Andre Przywara wrote: > The Scalable Vector Extension (SVE) is an ARMv8 architecture extension > that introduces very long vector operations (up to 2048 bits). (8192, in fact, though don't expect to see that on real hardware any time soon... qemu and the

Re: linux-next: build failure after merge of the drm tree

2020-09-28 Thread Paul Cercueil
Le lun. 28 sept. 2020 à 14:10, Christoph Hellwig a écrit : On Mon, Sep 28, 2020 at 01:46:55PM +0200, Paul Cercueil wrote: dma_mmap_attrs can only be used on allocations from dma_mmap_attrs with the same attrs. As there is no allocation using DMA_ATTR_NON_CONSISTENT in the drm core, so

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