[PATCH v4 2/3] dt-bindings: avs: cpr: Convert binding to YAML schema

2021-01-19 Thread AngeloGioacchino Del Regno
Convert the qcom,cpr.txt document to YAML schema and place it in the appropriate directory, since this driver was moved from power/avs to soc/qcom, but forgets to move the documentation. Fixes: a7305e684fcf ("PM: AVS: qcom-cpr: Move the driver to the qcom specific drivers") Signed-off-by: AngeloG

Re: [f2fs-dev] [PATCH v3 1/5] f2fs: compress: add compress_inode to cache compressed blocks

2021-01-19 Thread Jaegeuk Kim
On 01/16, Chao Yu wrote: > On 2021/1/15 22:59, Jaegeuk Kim wrote: > > On 01/15, Chao Yu wrote: > > > On 2021/1/14 12:06, Jaegeuk Kim wrote: > > > > On 01/14, Chao Yu wrote: > > > > > On 2021/1/13 23:41, Jaegeuk Kim wrote: > > > > > > [58690.961685] F2FS-fs (vdb) : inject page get in > > > > > > f2

[PATCH v4 1/3] soc: qcom: cpr: Move common functions to new file

2021-01-19 Thread AngeloGioacchino Del Regno
In preparation for implementing a new driver that will be handling CPRv3, CPRv4 and CPR-Hardened, format out common functions to a new file. Signed-off-by: AngeloGioacchino Del Regno --- drivers/soc/qcom/Makefile | 2 +- drivers/soc/qcom/cpr-common.c | 382 + d

[PATCH v4 2/7] cpufreq: blacklist MSM8998 in cpufreq-dt-platdev

2021-01-19 Thread AngeloGioacchino Del Regno
Add the MSM8998 to the blacklist since the CPU scaling is handled out of this. Signed-off-by: AngeloGioacchino Del Regno --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c inde

Re: [PATCH 3/3] net: usb: cdc_ncm: don't spew notifications

2021-01-19 Thread Jakub Kicinski
On Fri, 15 Jan 2021 21:26:23 -0800 Grant Grundler wrote: > RTL8156 sends notifications about every 32ms. > Only display/log notifications when something changes. > > This issue has been reported by others: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1832472 > https://lkml.or

[PATCH v4 3/7] dt-bindings: arm: cpus: Document 'qcom,freq-domain' property

2021-01-19 Thread AngeloGioacchino Del Regno
From: Manivannan Sadhasivam Add devicetree documentation for 'qcom,freq-domain' property specific to Qualcomm CPUs. This property is used to reference the CPUFREQ node along with Domain ID (0/1). Signed-off-by: Manivannan Sadhasivam Signed-off-by: AngeloGioacchino Del Regno --- Documentation

[PATCH v4 7/7] dt-bindings: cpufreq: qcom-hw: Add bindings for 8998

2021-01-19 Thread AngeloGioacchino Del Regno
The OSM programming addition has been done under the qcom,cpufreq-hw-8998 compatible name: specify the requirement of two additional register spaces for this functionality. This implementation, with the same compatible, has been tested on MSM8998 and SDM630. Signed-off-by: AngeloGioacchino Del Reg

Re: [PATCH v5] modules: introduce the MODULE_SCMVERSION config

2021-01-19 Thread Will McVicker
Thanks for the review Masahiro! I'll upload v6 shortly. --Will On Sun, Jan 17, 2021 at 7:21 AM Masahiro Yamada wrote: > > On Fri, Jan 8, 2021 at 9:30 AM Will McVicker wrote: > > > > Config MODULE_SCMVERSION introduces a new module attribute -- > > `scmversion` -- which can be used to identify a

[PATCH v4 2/3] MAINTAINERS: Add entry for Qualcomm CPRv3/v4/Hardened driver

2021-01-19 Thread AngeloGioacchino Del Regno
Add maintainers entry for the Qualcomm CPR3/CPR4/CPRh driver. Signed-off-by: AngeloGioacchino Del Regno --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 66052be495fb..3d9f9037f1c7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14766,6 +14

Re: [PATCH v1 5/5] driver core: Set fw_devlink=on by default

2021-01-19 Thread Saravana Kannan
On Tue, Jan 19, 2021 at 10:08 AM Saravana Kannan wrote: > > On Tue, Jan 19, 2021 at 1:05 AM Geert Uytterhoeven > wrote: > > > > Hi Saravana, > > > > On Mon, Jan 18, 2021 at 10:19 PM Saravana Kannan > > wrote: > > > On Mon, Jan 18, 2021 at 11:16 AM Geert Uytterhoeven > > > wrote: > > > > On Mo

Re: [PATCH 1/3] phy: qcom-qusb2: Allow specifying default clock scheme

2021-01-19 Thread AngeloGioacchino Del Regno
Il 19/01/21 16:07, Vinod Koul ha scritto: Patch 2 had two blank lines getting inserted, I have fixed that up while applying.. so: Applied all, thanks Thank you!

Re: [PATCH v4 3/5] clk: qcom: clk-alpha-pll: Add support for Lucid 5LPE PLL

2021-01-19 Thread AngeloGioacchino Del Regno
Il 18/01/21 05:43, Vinod Koul ha scritto: From: Vivek Aknurwar Lucid 5LPE is a slightly different Lucid PLL with different offsets and porgramming sequence so add support for these Signed-off-by: Vivek Aknurwar Signed-off-by: Jeevan Shriram [vkoul: rebase and tidy up for upstream] Signed-off

Re: [PATCH v4 1/2] arm: lib: xor-neon: remove unnecessary GCC < 4.6 warning

2021-01-19 Thread Nathan Chancellor
On Tue, Jan 19, 2021 at 03:17:23PM +0200, Adrian Ratiu wrote: > From: Nathan Chancellor > > Drop warning because kernel now requires GCC >= v4.9 after > commit 6ec4476ac825 ("Raise gcc version requirement to 4.9") > and clarify that -ftree-vectorize now always needs enabling > for GCC by directly

[PATCH v4 6/7] dt-bindings: regulator: qcom-labibb: Document SCP/OCP interrupts

2021-01-19 Thread AngeloGioacchino Del Regno
Short-Circuit Protection (SCP) and Over-Current Protection (OCP) are now implemented in the driver: document the interrupts. This also fixes wrong documentation about the SCP interrupt for LAB. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Bjorn Andersson --- .../regulator/qcom-labibb

[PATCH v4 2/7] regulator: qcom-labibb: Implement current limiting

2021-01-19 Thread AngeloGioacchino Del Regno
LAB and IBB regulators can be current-limited by setting the appropriate registers, but this operation is granted only after sending an unlock code for secure access. Besides the secure access, it would be possible to use the regmap helper for get_current_limit, as there is no security blocking re

Re: [PATCH v7 3/3] perf-stat: enable counting events for BPF programs

2021-01-19 Thread Song Liu
> On Jan 19, 2021, at 8:31 AM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Jan 19, 2021 at 11:42:49AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Tue, Jan 19, 2021 at 11:31:44AM -0300, Arnaldo Carvalho de Melo escreveu: >>> Em Tue, Jan 19, 2021 at 12:48:19AM +, Song Liu escreveu: >

Re: [PATCH bpf-next v2] samples/bpf: Update README.rst and Makefile for manually compiling LLVM and clang

2021-01-19 Thread Fangrui Song
On 2021-01-19, Tiezhu Yang wrote: The current llvm/clang build procedure in samples/bpf/README.rst is out of date. See below that the links are not accessible any more. $ git clone http://llvm.org/git/llvm.git Cloning into 'llvm'... fatal: unable to access 'http://llvm.org/git/llvm.git/': Maximu

[PATCH v4 3/7] regulator: qcom-labibb: Implement pull-down, softstart, active discharge

2021-01-19 Thread AngeloGioacchino Del Regno
Soft start is required to avoid inrush current during LAB ramp-up and IBB ramp-down, protecting connected hardware to which we supply voltage. Since soft start is configurable on both LAB and IBB regulators, it was necessary to add two DT properties, respectively "qcom,soft-start-us" to control LA

Re: [PATCH 12/22] perf daemon: Allow only one daemon over base directory

2021-01-19 Thread Jiri Olsa
On Tue, Jan 19, 2021 at 02:37:42PM +0900, Namhyung Kim wrote: SNIP > > > > +static int check_lock(struct daemon *daemon) > > +{ > > + char path[PATH_MAX]; > > + char buf[20]; > > + int fd, pid; > > + ssize_t len; > > + > > + scnprintf(path, sizeof(path), "%s/lock", d

[PATCH v4 0/7] Really implement Qualcomm LAB/IBB regulators

2021-01-19 Thread AngeloGioacchino Del Regno
Okay, the title may be a little "aggressive"? However, the qcom-labibb driver wasn't really .. doing much. The current form of this driver is only taking care of enabling or disabling the regulators, which is pretty useless if they were not pre-set from the bootloader, which sets them only if conti

RE: [PATCH v4 1/2] arm: lib: xor-neon: remove unnecessary GCC < 4.6 warning

2021-01-19 Thread David Laight
From: Adrian Ratiu > Sent: 19 January 2021 13:17 > To: linux-arm-ker...@lists.infradead.org > > Drop warning because kernel now requires GCC >= v4.9 after > commit 6ec4476ac825 ("Raise gcc version requirement to 4.9") > and clarify that -ftree-vectorize now always needs enabling > for GCC by direc

Re: [PATCH v4 1/2] arm: lib: xor-neon: remove unnecessary GCC < 4.6 warning

2021-01-19 Thread Nick Desaulniers
On Tue, Jan 19, 2021 at 1:35 PM Arnd Bergmann wrote: > > On Tue, Jan 19, 2021 at 10:18 PM 'Nick Desaulniers' via Clang Built > Linux wrote: > > > > On Tue, Jan 19, 2021 at 5:17 AM Adrian Ratiu > > wrote: > > > diff --git a/arch/arm/lib/xor-neon.c b/arch/arm/lib/xor-neon.c > > > index b99dd8e1c9

[PATCH 06/14] rtc: ds3232: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds3232.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-ds3232.c b/drivers/rtc/rtc-ds3232.c index 16b89035d135..535e4a88fbb6 100644

[PATCH 02/14] rtc: asm9260: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-asm9260.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-asm9260.c b/drivers/rtc/rtc-asm9260.c index 3ab81cdec00b..de795e489f71 100

Re: [PATCH 1/1] PCI: add Telit Vendor ID

2021-01-19 Thread Bjorn Helgaas
On Tue, Jan 19, 2021 at 11:27:57AM +0100, Daniele Palmas wrote: > Add Telit Vendor ID to pci_ids.h >From the top of the file: * Do not add new entries to this file unless the definitions * are shared between multiple drivers. If this is the case, include this patch in a series that a

Re: [PATCH v4 1/2] arm: lib: xor-neon: remove unnecessary GCC < 4.6 warning

2021-01-19 Thread Nick Desaulniers
On Tue, Jan 19, 2021 at 2:04 PM David Laight wrote: > > From: Adrian Ratiu > > Sent: 19 January 2021 13:17 > > To: linux-arm-ker...@lists.infradead.org > > > > Drop warning because kernel now requires GCC >= v4.9 after > > commit 6ec4476ac825 ("Raise gcc version requirement to 4.9") > > and clarif

[PATCH 08/14] rtc: m41t80: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-m41t80.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c index e3ddd660d68c..ee0c1be0354e 100

[PATCH 01/14] rtc: ac100: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ac100.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-ac100.c b/drivers/rtc/rtc-ac100.c index 1ddbef99e38f..92f690542ad2 100644 ---

[PATCH 04/14] rtc: ds1307: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1307.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index 183cf7c01364..cd8e438bc9c4 100644

[PATCH 13/14] rtc: rx8025: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rx8025.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx8025.c index a24f85893f90..c914091819ba 100644

[PATCH 10/14] rtc: pcf2123: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-pcf2123.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-pcf2123.c b/drivers/rtc/rtc-pcf2123.c index 534ffc91eec1..0f58cac81d8c 1006

Re: [PATCH 1/1] PCI: add Telit Vendor ID

2021-01-19 Thread Bjorn Helgaas
On Tue, Jan 19, 2021 at 04:06:21PM -0600, Bjorn Helgaas wrote: > On Tue, Jan 19, 2021 at 11:27:57AM +0100, Daniele Palmas wrote: > > Add Telit Vendor ID to pci_ids.h > > From the top of the file: > > * Do not add new entries to this file unless the definitions > * are shared between m

[PATCH 14/14] rtc: stm32: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-stm32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-stm32.c b/drivers/rtc/rtc-stm32.c index d774aa18f57a..75a8924ba12b 100644 ---

[PATCH 1/3] arm64/ptrace: don't clobber task registers on syscall entry/exit traps

2021-01-19 Thread Andrei Vagin
ip/r12 for AArch32 and x7 for AArch64 is used to indicate whether or not the stop has been signalled from syscall entry or syscall exit. This means that: - Any writes by the tracer to this register during the stop are ignored/discarded. - The actual value of the register is not available during

[PATCH 3/3] selftest/arm64/ptrace: add a test for NT_ARM_PRSTATUS

2021-01-19 Thread Andrei Vagin
Test output: TAP version 13 1..1 # selftests: arm64/ptrace: ptrace_syscall_regs_test # 1..3 # ok 1 NT_PRSTATUS: x7 0 # ok 2 NT_ARM_PRSTATUS: x7 686920776f726c64 # ok 3 The child exited with code 0. # # Totals: pass:3 fail:0 xfail:0 xpass:0 skip:0 error:0 ok 1 selftests: arm64/ptrace: ptrac

[PATCH 0/3] arm64/ptrace: allow to get all registers on syscall traps

2021-01-19 Thread Andrei Vagin
Right now, ip/r12 for AArch32 and x7 for AArch64 is used to indicate whether or not the stop has been signalled from syscall entry or syscall exit. This means that: - Any writes by the tracer to this register during the stop are ignored/discarded. - The actual value of the register is not avail

[PATCH 2/3] arm64/ptrace: introduce NT_ARM_PRSTATUS to get a full set of registers

2021-01-19 Thread Andrei Vagin
This is an alternative to NT_PRSTATUS that clobbers ip/r12 on AArch32, x7 on AArch64 when a tracee is stopped in syscall entry or syscall exit traps. Signed-off-by: Andrei Vagin --- arch/arm64/kernel/ptrace.c | 39 ++ include/uapi/linux/elf.h | 1 + 2 files

Re: Splicing to/from a tty

2021-01-19 Thread Oliver Giles
On Wed Jan 20, 2021 at 5:56 AM NZDT, Robert Karszniewicz wrote: > > I have bisected this issue down to this commit: > 4d03e3cc5982 ("fs: don't allow kernel reads and writes without iter > ops") > > Another case I've also noticed is writing to a serial connection: > kernel write not supported for fi

Re: [PATCH v4] drivers/soc/litex: Add restart handler

2021-01-19 Thread Stafford Horne
On Wed, Jan 20, 2021 at 06:34:44AM +0900, Stafford Horne wrote: > On Tue, Jan 19, 2021 at 09:09:38AM +0100, Geert Uytterhoeven wrote: > > Let the LiteX SoC Controller register a restart handler, which resets > > the LiteX SoC by writing 1 to CSR_CTRL_RESET_ADDR. > > > > Signed-off-by: Geert Uytter

[PATCH 12/14] rtc: rx8010: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rx8010.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-rx8010.c b/drivers/rtc/rtc-rx8010.c index 1a05e4654290..95e751c8048e 100644

[PATCH 09/14] rtc: mcp795: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-mcp795.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp795.c index 21cbf7f892e8..bad7792b6ca5 100644

[PATCH 11/14] rtc: rv3029: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-rv3029c2.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c index c1f4c0bba1e5..71102c7fbd

Re: [PATCH v2 net-next 1/1] Allow user to set metric on default route learned via Router Advertisement.

2021-01-19 Thread praveen chaudhary
> On Jan 16, 2021, at 9:13 AM, David Ahern wrote: > > On 1/15/21 1:02 AM, Praveen Chaudhary wrote: >> For IPv4, default route is learned via DHCPv4 and user is allowed to change >> metric using config etc/network/interfaces. But for IPv6, default route can >> be learned via RA, for which, curr

Re: [PATCH 3/6] dt-bindings: serial: renesas,hscif: Add r8a779a0 support

2021-01-19 Thread Wolfram Sang
On Mon, Dec 28, 2020 at 12:27:10PM +0100, Wolfram Sang wrote: > Signed-off-by: Wolfram Sang > --- Can we apply this via the serial tree? Or shall we take it via renesas-soc? Thanks! > Documentation/devicetree/bindings/serial/renesas,hscif.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff -

Re: [STABLE BACKPORT 4.4.y, 4.9.y and 4.14.y] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-19 Thread Nick Desaulniers
On Mon, Jan 18, 2021 at 5:54 AM Will Deacon wrote: > > commit dca5244d2f5b94f1809f0c02a549edf41ccd5493 upstream. > > GCC versions >= 4.9 and < 5.1 have been shown to emit memory references > beyond the stack pointer, resulting in memory corruption if an interrupt > is taken after the stack pointer

[PATCH 03/14] rtc: ds1305: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1305.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-ds1305.c b/drivers/rtc/rtc-ds1305.c index 8c2ab29c3d91..9ef107b99b65 100644

[PATCH 07/14] rtc: hym8563: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-hym8563.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-hym8563.c b/drivers/rtc/rtc-hym8563.c index 24e0095be058..0751cae27285 1006

[PATCH 05/14] rtc: ds1685: use rtc_lock/rtc_unlock

2021-01-19 Thread Alexandre Belloni
Avoid accessing directly rtc->ops_lock and use the RTC core helpers. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-ds1685.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-ds1685.c b/drivers/rtc/rtc-ds1685.c index d69c807af29b..75db7ab654a5 100644

Re: [PATCH v2] mm/hugetlb: avoid unnecessary hugetlb_acct_memory() call

2021-01-19 Thread Mike Kravetz
On 1/15/21 1:44 AM, Miaohe Lin wrote: > Hi: > > On 2021/1/15 17:28, Oscar Salvador wrote: >> On Fri, Jan 15, 2021 at 04:20:13AM -0500, Miaohe Lin wrote: >>> When gbl_reserve is 0, hugetlb_acct_memory() will do nothing except holding >>> and releasing hugetlb_lock. We should avoid this unnecessary

[PATCH v4 1/7] regulator: qcom-labibb: Switch voltage ops from linear_range to linear

2021-01-19 Thread AngeloGioacchino Del Regno
The LAB and IBB regulator have just one range and it is useless to use linear_range ops, as these are used to express multiple linear ranges. Switch list_voltage and map_voltage callbacks to *_linear instead. Signed-off-by: AngeloGioacchino Del Regno --- drivers/regulator/qcom-labibb-regulator

Re: rcutorture initrd/nolibc build on ARMv8?

2021-01-19 Thread Willy Tarreau
On Tue, Jan 19, 2021 at 06:16:37PM +0100, Willy Tarreau wrote: > > | ${CROSS_COMPILE}gcc -fno-asynchronous-unwind-tables -fno-ident \ > > | -nostdlib -include ../../../../include/nolibc/nolibc.h \ > > | -lgcc -s -static -Os -o init init.c > > OK I'll retry this, thank you! For me

Re: [PATCH v1 1/1] arm64: dts: stingray: fix usb dma address translation

2021-01-19 Thread Ray Jui
On 1/18/2021 9:34 PM, Rayagonda Kokatanur wrote: > From: Bharat Gooty > > Add a non-empty dma-ranges so that dma address translation > happens. > > Fixes: 2013a4b684b6 ("arm64: dts: broadcom: clear the warnings caused by > empty dma-ranges") > > Signed-off-by: Bharat Gooty > Signed-off-by:

Re: [PATCH v3 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2021-01-19 Thread Babu Moger
On 1/19/21 12:31 PM, Sean Christopherson wrote: > On Fri, Jan 15, 2021, Babu Moger wrote: >> --- >> arch/x86/include/asm/svm.h |4 +++- >> arch/x86/kvm/svm/sev.c |4 >> arch/x86/kvm/svm/svm.c | 19 +++ >> 3 files changed, 22 insertions(+), 5 deletions(-) >

[PATCH v4 4/7] dt-bindings: regulator: qcom-labibb: Document soft start properties

2021-01-19 Thread AngeloGioacchino Del Regno
Document properties to configure soft start and discharge resistor for LAB and IBB respectively. Signed-off-by: AngeloGioacchino Del Regno Reviewed-by: Bjorn Andersson --- .../bindings/regulator/qcom-labibb-regulator.yaml | 10 ++ 1 file changed, 10 insertions(+) diff --git a/Do

Re: [PATCH v2 6/7] platform: x86: Add intel_skl_int3472 driver

2021-01-19 Thread Andy Shevchenko
On Tue, Jan 19, 2021 at 06:36:31PM +0200, Laurent Pinchart wrote: > On Tue, Jan 19, 2021 at 11:33:58AM +0200, Andy Shevchenko wrote: > > On Tue, Jan 19, 2021 at 12:11:40AM +, Daniel Scally wrote: > > > On 18/01/2021 21:19, Daniel Scally wrote: ... > > See my previous reply. TL;DR: you have to

Re: [PATCH v7 3/3] perf-stat: enable counting events for BPF programs

2021-01-19 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 19, 2021 at 09:54:50PM +, Song Liu escreveu: > > > > On Jan 19, 2021, at 8:31 AM, Arnaldo Carvalho de Melo > > wrote: > > > > Em Tue, Jan 19, 2021 at 11:42:49AM -0300, Arnaldo Carvalho de Melo escreveu: > >> Em Tue, Jan 19, 2021 at 11:31:44AM -0300, Arnaldo Carvalho de Melo >

Re: [PATCH v7 12/17] PCI: Revoke mappings like devmem

2021-01-19 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 3:32 PM Greg Kroah-Hartman wrote: > > On Tue, Jan 19, 2021 at 09:17:55AM +0100, Daniel Vetter wrote: > > On Fri, Nov 27, 2020 at 5:42 PM Daniel Vetter > > wrote: > > > > > > Since 3234ac664a87 ("/dev/mem: Revoke mappings when a driver claims > > > the region") /dev/kmem z

Re: [PATCH v4 1/2] drivers/misc: sysgenid: add system generation id driver

2021-01-19 Thread Randy Dunlap
Hi-- On 1/12/21 4:15 AM, Adrian Catangiu wrote: > - Background and problem > > --- > Documentation/misc-devices/sysgenid.rst | 240 + > drivers/misc/Kconfig| 16 ++ > drivers/misc/Makefile | 1 + > drivers/misc/sysgenid.c

Re: [PATCH v7 3/3] perf-stat: enable counting events for BPF programs

2021-01-19 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 19, 2021 at 12:48:19AM +, Song Liu escreveu: > > On Jan 18, 2021, at 11:38 AM, Arnaldo Carvalho de Melo > > wrote: > We are looking at two issues: > 1. Cannot recursively attach; > 2. prog FD 3 doesn't have valid btf. > #1 was caused by the verifier disallowing attaching fentry

Re: [PATCH v7 12/17] PCI: Revoke mappings like devmem

2021-01-19 Thread Greg Kroah-Hartman
On Tue, Jan 19, 2021 at 09:17:55AM +0100, Daniel Vetter wrote: > On Fri, Nov 27, 2020 at 5:42 PM Daniel Vetter wrote: > > > > Since 3234ac664a87 ("/dev/mem: Revoke mappings when a driver claims > > the region") /dev/kmem zaps ptes when the kernel requests exclusive > > acccess to an iomem region.

Re: [PATCH v2 06/34] dt-bindings: Add bindings for Keem Bay VPU IPC driver

2021-01-19 Thread Alessandrelli, Daniele
Hi Rob, Thanks for your review. On Mon, 2021-01-11 at 13:24 -0600, Rob Herring wrote: > On Fri, Jan 08, 2021 at 01:25:32PM -0800, mgr...@linux.intel.com > wrote: > > From: Paul Murphy > > > > Add DT bindings documentation for the Keem Bay VPU IPC driver. > > > > Cc: Rob Herring > > Cc: device

Re: [PATCH v4 4/5] arm64: mte: Enable async tag check fault

2021-01-19 Thread Catalin Marinas
On Mon, Jan 18, 2021 at 06:30:32PM +, Vincenzo Frascino wrote: > static void update_sctlr_el1_tcf0(u64 tcf0) > { > /* ISB required for the kernel uaccess routines */ > @@ -235,6 +273,15 @@ void mte_thread_switch(struct task_struct *next) > /* avoid expensive SCTLR_EL1 accesses if

Re: [RFC v3 2/2] vfio/platform: msi: add Broadcom platform devices

2021-01-19 Thread Alex Williamson
On Fri, 15 Jan 2021 10:24:33 +0100 Auger Eric wrote: > Hi Vikas, > On 1/15/21 7:35 AM, Vikas Gupta wrote: > > Hi Eric, > > > > On Tue, Jan 12, 2021 at 2:52 PM Auger Eric wrote: > >> > >> Hi Vikas, > >> > >> On 12/14/20 6:45 PM, Vikas Gupta wrote: > >>> Add msi support for Broadcom platform

Re: [PATCH] resource: Remove unneeded semicolon

2021-01-19 Thread Rafael J. Wysocki
On 1/18/2021 2:50 AM, Chengyang Fan wrote: Remove a superfluous semicolon after function definition. Signed-off-by: Chengyang Fan --- include/linux/ioport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/ioport.h b/include/linux/ioport.h index fe48b7840665.

Re: [PATCH v3 04/12] opp: Add dev_pm_opp_sync_regulators()

2021-01-19 Thread Dmitry Osipenko
19.01.2021 07:58, Viresh Kumar пишет: > On 18-01-21, 21:35, Dmitry Osipenko wrote: >> 18.01.2021 11:20, Viresh Kumar пишет: +int dev_pm_opp_sync_regulators(struct device *dev) +{ + struct opp_table *opp_table; + struct regulator *reg; + int i, ret = 0; + + /*

Re: [PATCHv4 0/4] perf tools: Allow to enable/disable events via control pipe

2021-01-19 Thread Arnaldo Carvalho de Melo
Em Sun, Dec 27, 2020 at 12:20:34AM +0100, Jiri Olsa escreveu: > hi, > adding support to enable/disable specific events via control > file via following commands: > > # echo 'enable sched:sched_process_fork' > control > # echo 'disabled sched:sched_process_fork' > control > > v4 changes: >

Re: [PATCH bpf-next v2 2/3] virtio-net: support IFF_TX_SKB_NO_LINEAR

2021-01-19 Thread Alexander Lobakin
From: Xuan Zhuo Date: Tue, 19 Jan 2021 17:45:11 +0800 > Virtio net supports the case where the skb linear space is empty, so add > priv_flags. > > Signed-off-by: Xuan Zhuo > --- > drivers/net/virtio_net.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/v

[PATCH] arm64: kernel: Make IPI_WAKEUP under control of CONFIG_ARM64_ACPI_PARKING_PROTOCOL

2021-01-19 Thread Chen Jun
since commit 5e89c55e4ed81d7abb1ce8828db35fa389dc0e90 ("arm64: kernel: implement ACPI parking protocol") On arm64, IPI 6 will be wasted without setting CONFIG_ARM64_ACPI_PARKING_PROTOCOL. Signed-off-by: Chen Jun --- arch/arm64/kernel/smp.c | 4 1 file changed, 4 insertions(+) diff --git a

Re: mmotm 2021-01-19-13-36 uploaded (ZONE_DEVICE)

2021-01-19 Thread Randy Dunlap
On 1/19/21 1:37 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2021-01-19-13-36 has been uploaded to > >https://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > https://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my

Re: [PATCH RFC 07/30] mm/swap: Introduce the idea of special swap ptes

2021-01-19 Thread Peter Xu
On Mon, Jan 18, 2021 at 03:40:13PM -0400, Jason Gunthorpe wrote: > Does the stuff in hmm.c need updating too? > > if (!pte_present(pte)) { > swp_entry_t entry = pte_to_swp_entry(pte); This idea should be cross-tree, so yes.. even if I'm not 100% sure whether HMM would be a

[PATCH] arch/arm/mm/mmu.c: Remove duplicate header

2021-01-19 Thread Hailong liu
From: Hailong Liu Remove asm/fixmap.h which is included more than once. Signed-off-by: Hailong Liu --- arch/arm/mm/mmu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index c06ebfbc48c4..a25b660c3017 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mm

Re: [PATCH] sched/eas: Don't update misfit status if the task is pinned

2021-01-19 Thread Vincent Guittot
On Tue, 19 Jan 2021 at 14:54, Valentin Schneider wrote: > > On 19/01/21 14:34, Vincent Guittot wrote: > > On Tue, 19 Jan 2021 at 13:08, Qais Yousef wrote: > >> > >> If the task is pinned to a cpu, setting the misfit status means that > >> we'll unnecessarily continuously attempt to migrate the ta

Re: [PATCH v4 3/5] kasan: Add report for async mode

2021-01-19 Thread Vincenzo Frascino
On 1/19/21 1:04 PM, Catalin Marinas wrote: > On Mon, Jan 18, 2021 at 06:30:31PM +, Vincenzo Frascino wrote: >> KASAN provides an asynchronous mode of execution. >> >> Add reporting functionality for this mode. >> >> Cc: Dmitry Vyukov >> Cc: Andrey Ryabinin >> Cc: Alexander Potapenko >> Cc

[PATCH v2] dmabuf: Add the capability to expose DMA-BUF stats in sysfs

2021-01-19 Thread Hridya Valsaraju
This patch allows statistics to be enabled for each DMA-BUF in sysfs by enabling the config CONFIG_DMABUF_SYSFS_STATS. The following stats will be exposed by the interface: /sys/kernel/dmabuf/buffers//exporter_name /sys/kernel/dmabuf/buffers//size /sys/kernel/dmabuf/buffers//attachments//device /

Re: [RFC PATCH 00/37] block: introduce bio_init_fields()

2021-01-19 Thread Mike Snitzer
On Tue, Jan 19 2021 at 12:05am -0500, Chaitanya Kulkarni wrote: > Hi, > > This is a *compile only RFC* which adds a generic helper to initialize > the various fields of the bio that is repeated all the places in > file-systems, block layer, and drivers. > > The new helper allows callers to init

Re: [PATCH v6 00/12] SVM cleanup and INVPCID feature support

2021-01-19 Thread Jim Mattson
On Mon, Sep 14, 2020 at 11:33 AM Babu Moger wrote: > Thanks Paolo. Tested Guest/nested guest/kvm units tests. Everything works > as expected. Debian 9 does not like this patch set. As a kvm guest, it panics on a Milan CPU unless booted with 'nopcid'. Gmail mangles long lines, so please see the a

Re: [PATCH v4 19/21] regulator: hi6421v600-regulator: move it from staging

2021-01-19 Thread Mauro Carvalho Chehab
Em Tue, 19 Jan 2021 16:19:50 + Mark Brown escreveu: > On Tue, Jan 19, 2021 at 05:10:45PM +0100, Mauro Carvalho Chehab wrote: > > > +static int hi6421_spmi_regulator_get_voltage_sel(struct regulator_dev > > *rdev) > > +{ > > > +static int hi6421_spmi_regulator_set_voltage_sel(struct regul

[PATCH 4/4] scsi: ufs-debugfs: Add user-defined exception event rate limiting

2021-01-19 Thread Adrian Hunter
An enabled user-specified exception event that does not clear quickly will repeatedly cause the handler to run. That could unduly disturb the driver behaviour being tested or debugged. To prevent that add debugfs file exception_event_rate_limit_ms. When a exception event happens, it is disabled, an

[PATCH v4 22/21] regulator: hi6421v600-regulator: use some regmap helpers

2021-01-19 Thread Mauro Carvalho Chehab
Now that the driver was ported to use regmap, let's use some help functions in order to simplify the code a little bit. Suggested-by: Mark Brown Signed-off-by: Mauro Carvalho Chehab --- drivers/regulator/hi6421v600-regulator.c | 45 ++-- 1 file changed, 3 insertions(+), 42 d

Re: [PATCH 1/4] perf tools: Allow to enable/disable events via control file

2021-01-19 Thread Arnaldo Carvalho de Melo
Em Sun, Dec 27, 2020 at 12:20:35AM +0100, Jiri Olsa escreveu: > Adding new control events to enable/disable specific event. > The interface string for control file are: > > 'enable ' > 'disable ' > > when received the command, perf will scan the current evlist > for and if found it's enabled

[PATCH 0/4] scsi: ufs-debugfs: Add UFS Exception Event reporting

2021-01-19 Thread Adrian Hunter
Hi Here are patches to add a tracepoint for UFS Exception Events and to allow users to enable specific exception events without affecting the driver's use of exception events. Adrian Hunter (4): scsi: ufs: Add exception event tracepoint scsi: ufs: Add exception event definitions

[PATCH 1/4] scsi: ufs: Add exception event tracepoint

2021-01-19 Thread Adrian Hunter
Currently, exception event status can be read from wExceptionEventStatus attribute (sysfs file attributes/exception_event_status under the UFS host controller device directory). Polling that attribute to track UFS exception events is impractical, so add a tracepoint to track exception events for te

[PATCH 2/4] scsi: ufs: Add exception event definitions

2021-01-19 Thread Adrian Hunter
For readability and completeness, add exception event definitions. Signed-off-by: Adrian Hunter --- drivers/scsi/ufs/ufs.h | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/ufs/ufs.h b/drivers/scsi/ufs/ufs.h index 09c7cc8a678d..5d4a2740a159 100644 --- a/

Re: [PATCH v4 1/2] arm: lib: xor-neon: remove unnecessary GCC < 4.6 warning

2021-01-19 Thread Nick Desaulniers
On Tue, Jan 19, 2021 at 2:04 PM Nick Desaulniers wrote: > > On Tue, Jan 19, 2021 at 1:35 PM Arnd Bergmann wrote: > > > > On Tue, Jan 19, 2021 at 10:18 PM 'Nick Desaulniers' via Clang Built > > Linux wrote: > > > > > > On Tue, Jan 19, 2021 at 5:17 AM Adrian Ratiu > > > wrote: > > > > diff --git

Re: [PATCH] nvme: fix handling mapping failure

2021-01-19 Thread Marc Orr
On Tue, Jan 19, 2021 at 10:00 AM Christoph Hellwig wrote: > > On Tue, Jan 19, 2021 at 09:53:36AM -0800, Marc Orr wrote: > > This patch ensures that when `nvme_map_data()` fails to map the > > addresses in a scatter/gather list: > > > > * The addresses are not incorrectly unmapped. The underlying >

Re: [PATCH 2/2] usb typec: tcpci: mt6360: Add vbus supply into dt-binding description

2021-01-19 Thread Rob Herring
On Fri, Jan 15, 2021 at 10:13:21PM +0800, cy_huang wrote: > From: ChiYuan Huang > > Add external vbus source into dt-binding description. > > Signed-off-by: ChiYuan Huang > --- > Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml | 7 +++ > 1 file changed, 7 insertions(+) > >

Greetings,

2021-01-19 Thread Mrs. Nefi Setu
-- I'm Mrs. Nefi Setu, did you Receive the (FUND), that was paid to you? please, do not hesitate to Let me know with your full name:.. for immediate verification notice, Thanks, Mrs. Nefi Setu, Foreign Remittance Director Sincerely Yours, Respectfully, Mr Bill T Winters, Group Chief Executive

Re: [PATCH 2/2] media: dt-bindings: media: venus: Add sdm660 DT schema

2021-01-19 Thread Rob Herring
On Fri, Jan 15, 2021 at 07:52:52PM +0100, AngeloGioacchino Del Regno wrote: > Add new qcom,sdm660-venus DT binding schema. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../bindings/media/qcom,sdm660-venus.yaml | 164 ++ > 1 file changed, 164 insertions(+) > creat

Re: [PATCH 2/2] media: dt-bindings: media: venus: Add sdm660 DT schema

2021-01-19 Thread AngeloGioacchino Del Regno
Il 20/01/21 00:17, Rob Herring ha scritto: On Fri, Jan 15, 2021 at 07:52:52PM +0100, AngeloGioacchino Del Regno wrote: Add new qcom,sdm660-venus DT binding schema. Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/media/qcom,sdm660-venus.yaml | 164 ++ 1 file c

Re: [PATCH v6 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-19 Thread Rob Herring
On Tue, 19 Jan 2021 13:46:21 +0100, Mike Looijmans wrote: > This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, > the accelerometer part. > > Signed-off-by: Mike Looijmans > > --- > > Changes in v6: > I't been almost a year since the last commit, sorry... > Fixed the yaml err

Re: [PATCH v2] lib: add basic KUnit test for lib/math

2021-01-19 Thread Daniel Latypov
On Mon, Jan 18, 2021 at 2:36 AM Andy Shevchenko wrote: > > On Thu, Jan 14, 2021 at 10:27:00AM -0800, Daniel Latypov wrote: > > Add basic test coverage for files that don't require any config options: > > * gcd.c > > * lcm.c > > * int_sqrt.c > > * reciprocal_div.c > > (Ignored int_pow.c since it's

Re: [STABLE BACKPORT 4.4.y, 4.9.y and 4.14.y] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-19 Thread Nathan Chancellor
On Tue, Jan 19, 2021 at 02:15:43PM -0800, Nick Desaulniers wrote: > On Mon, Jan 18, 2021 at 5:54 AM Will Deacon wrote: > > > > commit dca5244d2f5b94f1809f0c02a549edf41ccd5493 upstream. > > > > GCC versions >= 4.9 and < 5.1 have been shown to emit memory references > > beyond the stack pointer, res

[PATCH v3] lib: add basic KUnit test for lib/math

2021-01-19 Thread Daniel Latypov
Add basic test coverage for files that don't require any config options: * gcd.c * lcm.c * int_sqrt.c * reciprocal_div.c (Ignored int_pow.c since it's a simple textbook algorithm.) These tests aren't particularly interesting, but they * provide short and simple examples of parameterized tests * pr

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

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:33PM +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 v6 14/15] usb: host: xhci-tegra: Unlink power domain devices

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:45PM +0800, JC Kuo wrote: > This commit unlinks xhci-tegra platform device with SS/host power > domain devices. Reasons for this change is - at ELPG entry, PHY > sleepwalk and wake configuration need to be done before powering > down SS/host partitions, and PHY need be

Re: [PATCH v6 15/15] xhci: tegra: Enable ELPG for runtime/system PM

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:46PM +0800, JC Kuo wrote: > This commit implements the complete programming sequence for ELPG > entry and exit. > > 1. At ELPG entry, invokes tegra_xusb_padctl_enable_phy_sleepwalk() > and tegra_xusb_padctl_enable_phy_wake() to configure XUSB PADCTL > sleepwa

[PATCH 0/2] thermal: Replace thermal_notify_framework with thermal_zone_device_update

2021-01-19 Thread Thara Gopinath
thermal_notify_framework just updates for a single trip point where as thermal_zone_device_update does other bookkeeping like updating the temperature of the thermal zone, running through the list of trip points and setting the next trip point etc. Since the later is a more thorough version of for

[PATCH net v2] net: mscc: ocelot: Fix multicast to the CPU port

2021-01-19 Thread Alban Bedel
Multicast entries in the MAC table use the high bits of the MAC address to encode the ports that should get the packets. But this port mask does not work for the CPU port, to receive these packets on the CPU port the MAC_CPU_COPY flag must be set. Because of this IPv6 was effectively not working b

[PATCH 1/2] net: wireless: intel: iwlwifi: mvm: tt: Replace thermal_notify_framework

2021-01-19 Thread Thara Gopinath
thermal_notify_framework just updates for a single trip point where as thermal_zone_device_update does other bookkeeping like updating the temperature of the thermal zone and setting the next trip point etc. Replace thermal_notify_framework with thermal_zone_device_update as the later is more thoro

Re: [PATCH] bcache: consider the fragmentation when update the writeback rate

2021-01-19 Thread Coly Li
On 1/19/21 8:56 PM, Dongdong Tao wrote: > From: dongdong tao > > Current way to calculate the writeback rate only considered the > dirty sectors, this usually works fine when the fragmentation > is not high, but it will give us unreasonable small rate when > we are under a situation that very few

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