Re: [PATCH 4/5] x86/apic: Support 15 bits of APIC ID in IOAPIC/MSI where available

2020-10-08 Thread Thomas Gleixner
On Thu, Oct 08 2020 at 13:54, Thomas Gleixner wrote: > On Wed, Oct 07 2020 at 13:20, David Woodhouse wrote: >> diff --git a/arch/x86/kernel/apic/msi.c b/arch/x86/kernel/apic/msi.c >> index 2825e003259c..85206f971284 100644 >> --- a/arch/x86/kernel/apic/msi.c >> +++ b/arch/x86/kernel/apic/msi.c >> @

Re: [PATCH] printk: handle blank console arguments passed in.

2020-10-08 Thread Sergey Senozhatsky
On (20/10/08 11:01), Petr Mladek wrote: > > + it is yet another way to affect the amount of messages > on console. We already have console_loglevel, ignore_loglevel. True. Yes, there are "alternative" ways of doing this, but what we have to face here is - console= has been used for a long t

Re: [PATCH 5/5] x86/kvm: Add KVM_FEATURE_MSI_EXT_DEST_ID

2020-10-08 Thread Thomas Gleixner
On Wed, Oct 07 2020 at 13:20, David Woodhouse wrote: > From: David Woodhouse > > This allows the host to indicate that IOAPIC and MSI emulation supports > 15-bit destination IDs, allowing up to 32768 CPUs without interrupt > remapping. > > cf. https://patchwork.kernel.org/patch/11816693/ for qemu

Re: [PATCH 1/4] mm: introduce vma_set_file function v2

2020-10-08 Thread Christian König
Am 08.10.20 um 13:39 schrieb Matthew Wilcox: On Thu, Oct 08, 2020 at 01:23:39PM +0200, Christian König wrote: drivers/dma-buf/dma-buf.c | 16 +--- drivers/gpu/drm/etnaviv/etnaviv_gem.c | 4 +--- drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c | 3 +-- drivers/

Re: [PATCH] lm3697: Rename struct into more appropiate name

2020-10-08 Thread ultracoolguy
Gotcha. >From now on I'm gonna respond with this new email: ultracool...@disroot.org . Oct 7, 2020, 14:56 by dmur...@ti.com: > Gabriel > > On 10/7/20 7:21 AM, ultracool...@tutanota.com wrote: > >> The reason I didn't use git send-mail earlier is because Tutanota doesn't >> supports SMTP and Pro

Re: [PATCH] mm/vmalloc.c: check the addr first

2020-10-08 Thread Hui Su
On Mon, Sep 28, 2020 at 11:04:34AM -0700, Ira Weiny wrote: > On Mon, Sep 28, 2020 at 12:33:37AM +0800, Hui Su wrote: > > As the comments said, if @addr is NULL, no operation > > is performed, check the addr first in vfree() and > > vfree_atomic() maybe a better choice. > > I don't see how this cha

[PATCH v1] cpufreq: mediatek-hw: Register EM power table

2020-10-08 Thread Hector Yuan
Register to energy model framework with CPU power efficiency table. This patch depends on Mediatek cpufreq HW driver patch submitted by Hector Yuan. https://lkml.org/lkml/2020/9/10/13 Hector.Yuan (1): cpufreq: mediatek-hw: Register EM power table drivers/cpufreq/mediatek-cpufreq-hw.c | 50

[PATCH v1 1/1] cpufreq: mediatek-hw: Register EM power table

2020-10-08 Thread Hector Yuan
From: "Hector.Yuan" Register CPU power table to energy model framework Signed-off-by: Hector.Yuan --- drivers/cpufreq/mediatek-cpufreq-hw.c | 50 + 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/drivers/cpufreq/mediatek-cpufreq-hw.c b/drivers

Re: INFO: rcu detected stall in __se_sys_mount

2020-10-08 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:c85fb28b Merge tag 'arm64-fixes' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16b1804f90 kernel config: https://syzkaller.appspot.com/x/.config?x=de7f697

[PATCH 2/2] net: smc: fix missing brace warning for old compilers

2020-10-08 Thread Pujin Shi
For older versions of gcc, the array = {0}; will cause warnings: net/smc/smc_llc.c: In function 'smc_llc_add_link_local': net/smc/smc_llc.c:1212:9: warning: missing braces around initializer [-Wmissing-braces] struct smc_llc_msg_add_link add_llc = {0}; ^ net/smc/smc_llc.c:1212:9: warni

Re: Re: [PATCH 5/5] i2c: geni: sdm845: dont perform DMA for the oneplus6

2020-10-08 Thread Wolfram Sang
On Thu, Oct 08, 2020 at 10:46:05AM +, Caleb Connolly wrote: > On 2020-10-08 11:03, Wolfram Sang wrote: > > On Wed, Oct 07, 2020 at 05:49:35PM +, Caleb Connolly wrote: > >> The OnePlus 6/T has the same issues as the c630 causing a crash when DMA > >> is used for i2c, so disable it. > >> > >>

[PATCH 1/2] net: smc: fix missing brace warning for old compilers

2020-10-08 Thread Pujin Shi
For older versions of gcc, the array = {0}; will cause warnings: net/smc/smc_llc.c: In function 'smc_llc_send_link_delete_all': net/smc/smc_llc.c:1317:9: warning: missing braces around initializer [-Wmissing-braces] struct smc_llc_msg_del_link delllc = {0}; ^ net/smc/smc_llc.c:1317:9:

Re: [PATCH] printk: handle blank console arguments passed in.

2020-10-08 Thread Sergey Senozhatsky
On (20/10/08 10:50), Petr Mladek wrote: > On Wed 2020-10-07 21:30:44, Sergey Senozhatsky wrote: > > On (20/10/07 09:28), Petr Mladek wrote: > > > > > > /* > > >* Dirty hack to prevent using any console with tty > > >* binding as a fallback and adding the empty > >

Re: [patch 1/2] nohz: only wakeup a single target cpu when kicking a task

2020-10-08 Thread Peter Zijlstra
On Wed, Oct 07, 2020 at 03:01:52PM -0300, Marcelo Tosatti wrote: > When adding a tick dependency to a task, its necessary to > wakeup the CPU where the task resides to reevaluate tick > dependencies on that CPU. > > However the current code wakes up all nohz_full CPUs, which > is unnecessary. >

Re: [PATCH v2 3/7] mm, page_alloc: remove setup_pageset()

2020-10-08 Thread Michal Hocko
On Thu 08-10-20 13:41:57, Vlastimil Babka wrote: > We initialize boot-time pagesets with setup_pageset(), which sets high and > batch values that effectively disable pcplists. > > We can remove this wrapper if we just set these values for all pagesets in > pageset_init(). Non-boot pagesets then su

Re: [PATCH v1 1/6] staging: qlge: Initialize devlink health dump framework for the dlge driver

2020-10-08 Thread Willem de Bruijn
On Thu, Oct 8, 2020 at 7:58 AM Coiby Xu wrote: > > Initialize devlink health dump framework for the dlge driver so the > coredump could be done via devlink. > > Signed-off-by: Coiby Xu > @@ -4556,6 +4559,13 @@ static int qlge_probe(struct pci_dev *pdev, > struct ql_adapter *qdev = NULL;

Re: [PATCH] docs: Make automarkup ready for Sphinx 3.1+

2020-10-08 Thread Mauro Carvalho Chehab
Em Thu, 8 Oct 2020 12:31:27 +0100 Matthew Wilcox escreveu: > On Thu, Oct 08, 2020 at 08:03:06AM +0200, Mauro Carvalho Chehab wrote: > > Em Thu, 8 Oct 2020 03:47:06 +0100 > > Matthew Wilcox escreveu: > > > > > On Thu, Oct 08, 2020 at 02:15:24AM +, Nícolas F. R. A. Prado wrote: > > > > >

Re: [PATCH] perf/core: Fix hung issue on perf stat command during cpu hotplug

2020-10-08 Thread kajoljain
On 8/27/20 12:17 PM, Kajol Jain wrote: > Commit 2ed6edd33a21 ("perf: Add cond_resched() to task_function_call()") > added assignment of ret value as -EAGAIN in case function > call to 'smp_call_function_single' fails. > For non-zero ret value, it did > 'ret = !ret ? data.ret : -EAGAIN;', which a

Re: [PATCH v3] i2c: mv64xxx: Add bus error recovery

2020-10-08 Thread Wolfram Sang
oN tHU, aug 27, 2020 at 10:35:16AM +1200, Mark Tomlinson wrote: > This adds i2c bus recovery to the mv64xxx driver. > > Implement bus recovery to recover from SCL/SDA stuck low. > > This uses the generic recovery function, setting the clock/data lines as > GPIO pins, and sending 9 clocks to try a

[PATCH 03/13] selftests: add vmaccess to .gitignore

2020-10-08 Thread Tommi Rantala
Commit 2de4e82318c7 ("selftests/ptrace: add test cases for dead-locks") added vmaccess testcase, add the binary to .gitignore Fixes: 2de4e82318c7 ("selftests/ptrace: add test cases for dead-locks") Signed-off-by: Tommi Rantala --- tools/testing/selftests/ptrace/.gitignore | 1 + 1 file changed,

[PATCH 01/13] selftests: filter kselftest headers from command in lib.mk

2020-10-08 Thread Tommi Rantala
Commit 1056d3d2c97e ("selftests: enforce local header dependency in lib.mk") added header dependency to the rule, but as the rule uses $^, the headers are added to the compiler command line. This can cause unexpected precompiled header files being generated when compilation fails: $ echo { >> o

[PATCH 13/13] selftests: binderfs: use SKIP instead of XFAIL

2020-10-08 Thread Tommi Rantala
XFAIL is gone since 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP"), use SKIP instead. Fixes: 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") Signed-off-by: Tommi Rantala --- .../selftests/filesystems/binderfs/binderfs_test.c| 8 1 file changed, 4 inser

[PATCH 05/13] selftests: pidfd: use ksft_test_result_skip() when skipping test

2020-10-08 Thread Tommi Rantala
There's planned tests != run tests in pidfd_test when some test is skipped: $ ./pidfd_test TAP version 13 1..8 [...] # pidfd_send_signal signal recycled pid test: Skipping test # Planned tests != run tests (8 != 7) # Totals: pass:7 fail:0 xfail:0 xpass:0 skip:0 error:0 Fix by using

[PATCH 02/13] selftests: pidfd: fix compilation errors due to wait.h

2020-10-08 Thread Tommi Rantala
Drop unneeded header inclusion to fix pidfd compilation errors seen in Fedora 32: In file included from pidfd_open_test.c:9: ../../../../usr/include/linux/wait.h:17:16: error: expected identifier before numeric constant 17 | #define P_ALL 0 |^ Signed-off-by: Tommi Rant

[PATCH 04/13] selftests/harness: prettify SKIP message whitespace again

2020-10-08 Thread Tommi Rantala
Commit 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") replaced XFAIL with SKIP in the output. Add one more space to make the output aligned and pretty again. Fixes: 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") Signed-off-by: Tommi Rantala --- tools/testing/selftests

[PATCH 00/13] selftests fixes

2020-10-08 Thread Tommi Rantala
Hi, small fixes to issues I hit with selftests. Tommi Rantala (13): selftests: filter kselftest headers from command in lib.mk selftests: pidfd: fix compilation errors due to wait.h selftests: add vmaccess to .gitignore selftests/harness: prettify SKIP message whitespace again selftests:

[PATCH 09/13] selftests: android: fix multiple definition of sock_name

2020-10-08 Thread Tommi Rantala
Fix multiple definition of sock_name compilation error: tools/testing/selftests/android/ion/ipcsocket.h:8: multiple definition of `sock_name' Signed-off-by: Tommi Rantala --- tools/testing/selftests/android/ion/ipcsocket.c | 1 + tools/testing/selftests/android/ion/ipcsocket.h | 2 -- 2 file

[PATCH 11/13] selftests: core: use SKIP instead of XFAIL in close_range_test.c

2020-10-08 Thread Tommi Rantala
XFAIL is gone since 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP"), use SKIP instead. Fixes: 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") Signed-off-by: Tommi Rantala --- tools/testing/selftests/core/close_range_test.c | 8 1 file changed, 4 insertions(+),

[PATCH 07/13] selftests: pidfd: add CONFIG_CHECKPOINT_RESTORE=y to config

2020-10-08 Thread Tommi Rantala
kcmp syscall is used in pidfd_getfd_test.c, so add CONFIG_CHECKPOINT_RESTORE=y to config to ensure kcmp is available. Signed-off-by: Tommi Rantala --- tools/testing/selftests/pidfd/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/pidfd/config b/tools/testing/se

[PATCH 08/13] selftests: pidfd: drop needless linux/kcmp.h inclusion in pidfd_setns_test.c

2020-10-08 Thread Tommi Rantala
kcmp is not used in pidfd_setns_test.c, so do not include Signed-off-by: Tommi Rantala --- tools/testing/selftests/pidfd/pidfd_setns_test.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/pidfd/pidfd_setns_test.c b/tools/testing/selftests/pidfd/pidfd_setns_test.c ind

[PATCH 10/13] selftests: proc: fix warning: _GNU_SOURCE redefined

2020-10-08 Thread Tommi Rantala
Makefile already contains -D_GNU_SOURCE, so we can remove it from the *.c files. Signed-off-by: Tommi Rantala --- tools/testing/selftests/proc/proc-loadavg-001.c | 1 - tools/testing/selftests/proc/proc-self-syscall.c | 1 - tools/testing/selftests/proc/proc-uptime-002.c | 1 - 3 files change

[PATCH 12/13] selftests: clone3: use SKIP instead of XFAIL

2020-10-08 Thread Tommi Rantala
XFAIL is gone since 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP"), use SKIP instead. Fixes: 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP") Signed-off-by: Tommi Rantala --- tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c | 2 +- 1 file changed, 1 insert

[PATCH 06/13] selftests: pidfd: skip test on kcmp() ENOSYS

2020-10-08 Thread Tommi Rantala
Skip test if kcmp() is not available, for example if kernel is compiled without CONFIG_CHECKPOINT_RESTORE=y. Signed-off-by: Tommi Rantala --- tools/testing/selftests/pidfd/pidfd_getfd_test.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/pidfd/pid

Re: [PATCH v5 4/5] docs: counter: Document character device interface

2020-10-08 Thread William Breathitt Gray
On Thu, Oct 08, 2020 at 10:09:09AM +0200, Pavel Machek wrote: > Hi! > > > +int main(void) > > +{ > > +struct pollfd pfd = { .events = POLLIN }; > > +struct counter_event event_data[2]; > > + > > +pfd.fd = open("/dev/counter0", O_RDWR)

Re: [PATCH v2 5/7] mm, page_alloc: cache pageset high and batch in struct zone

2020-10-08 Thread Michal Hocko
On Thu 08-10-20 13:41:59, Vlastimil Babka wrote: > All per-cpu pagesets for a zone use the same high and batch values, that are > duplicated there just for performance (locality) reasons. This patch adds the > same variables also to struct zone as a shared copy. > > This will be useful later for m

[PATCH v4 2/3] dmaengine: add peripheral configuration

2020-10-08 Thread Vinod Koul
Some complex dmaengine controllers have capability to program the peripheral device, so pass on the peripheral configuration as part of dma_slave_config Signed-off-by: Vinod Koul --- include/linux/dmaengine.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/dmaengine.h b/in

[PATCH v4 1/3] dt-bindings: dmaengine: Document qcom,gpi dma binding

2020-10-08 Thread Vinod Koul
Add devicetree binding documentation for GPI DMA controller implemented on Qualcomm SoCs Signed-off-by: Vinod Koul --- .../devicetree/bindings/dma/qcom,gpi.yaml | 86 +++ include/dt-bindings/dma/qcom-gpi.h| 11 +++ 2 files changed, 97 insertions(+) create mode 10

[PATCH v4 0/3] dmaengine: Add support for QCOM GSI dma controller

2020-10-08 Thread Vinod Koul
This series adds support for Qcom GSI dma controller found on Qualcomm SoCs. This controller can program the peripheral configuration so we add additional parameters in dma_slave_config for configuring the peripherals like spi and i2c. Changes in v3: - Update the i2c tre creation based on testing

[PATCH v3 3/3] arm64: dts: Enabled MHI device over PCIe

2020-10-08 Thread Gokul Sriram Palanisamy
Enabled MHI device support over PCIe and added memory reservation required for MHI enabled QCN9000 PCIe card. Signed-off-by: Gokul Sriram Palanisamy --- arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi | 47 ++ 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/

Re: [PATCH v2 0/5] platform/surface: Create a platform subdirectory for Microsoft Surface devices

2020-10-08 Thread Maximilian Luz
On 10/8/20 1:44 PM, Hans de Goede wrote: Hi Maximilian, On 10/5/20 6:03 PM, Maximilian Luz wrote: As has come up in the discussion around [RFC PATCH] Add support for Microsoft Surface System Aggregator Module it may make sense to add a Microsoft Surface specific platform subdirectory. Andy

[PATCH v3 1/3] dt-bindings: qcom: Add ipq8074 bindings

2020-10-08 Thread Gokul Sriram Palanisamy
Document the new device-tree bindings for boards HK10-C1 and HK10-C2 based on ipq8074 SoC. Signed-off-by: Gokul Sriram Palanisamy Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/qcom.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/a

[PATCH v3 2/3] arm64: dts: Add board support for HK10

2020-10-08 Thread Gokul Sriram Palanisamy
Add initial support for IPQ8074 SoC based HK10-C1 and HK10-C2 evaluation boards. Signed-off-by: Gokul Sriram Palanisamy --- arch/arm64/boot/dts/qcom/Makefile| 2 + arch/arm64/boot/dts/qcom/ipq8074-hk10-c1.dts | 11 arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dts | 14 + arch/a

[PATCH v3 0/3] Add board support for HK10 board variants

2020-10-08 Thread Gokul Sriram Palanisamy
Added support for HK10-C1 and HK10-C2 board variants based on IPQ8074 SoC. Both these variants support dual QCN9000 PCIe cards that uses MHI communication protocol over PCIe. In addition, HK10-C1 support on-chip radio. Both these variants slightly differ in clock configuation for ethernet. This se

[PATCH v4 3/3] dmaengine: qcom: Add GPI dma driver

2020-10-08 Thread Vinod Koul
This controller provides DMAengine capabilities for a variety of peripheral buses such as I2C, UART, and SPI. By using GPI dmaengine driver, bus drivers can use a standardize interface that is protocol independent to transfer data between memory and peripheral. Signed-off-by: Vinod Koul --- driv

Re: [PATCH 2/2] thermal: power allocator: estimate sustainable power only once

2020-10-08 Thread Lukasz Luba
Hi Ionela, On 10/8/20 11:14 AM, Ionela Voinescu wrote: Hi Lukasz, On Friday 02 Oct 2020 at 13:24:16 (+0100), Lukasz Luba wrote: The sustainable power value might come from the Device Tree or can be estimated in run time. There is no need to estimate every time when the governor is called and t

[PATCH] m68k: avoid xchg() warning

2020-10-08 Thread Arnd Bergmann
gcc warns about the value of xchg()/cmpxchg() being unused in some cases: net/core/filter.c: In function 'bpf_clear_redirect_map': arch/m68k/include/asm/cmpxchg.h:137:3: warning: value computed is not used [-Wunused-value] 106 | #define cmpxchg(ptr, o, n) cmpxchg_local((ptr), (o), (n)) net/core

RE: [PATCH v4 1/4] firmware: keembay: Add support for Arm Trusted Firmware Service call

2020-10-08 Thread Zulkifli, Muhammad Husaini
Hi Sudeep, >-Original Message- >From: Sudeep Holla >Sent: Thursday, October 8, 2020 5:45 PM >To: Zulkifli, Muhammad Husaini >Cc: Hunter, Adrian ; michal.si...@xilinx.com; >Shevchenko, Andriy ; ulf.hans...@linaro.org; >linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux

Re: [patch 2/2] nohz: change signal tick dependency to wakeup CPUs of member tasks

2020-10-08 Thread Peter Zijlstra
On Wed, Oct 07, 2020 at 03:01:53PM -0300, Marcelo Tosatti wrote: > Rather than waking up all nohz_full CPUs on the system, only wakeup > the target CPUs of member threads of the signal. > > Reduces interruptions to nohz_full CPUs. > > Signed-off-by: Marcelo Tosatti > > Index: linux-2.6/kernel/

Re: [PATCH] mm: fix some comments in page_alloc.c and mempolicy.c

2020-10-08 Thread Hui Su
On Thu, Oct 01, 2020 at 09:17:29AM -0700, Joe Perches wrote: > On Thu, 2020-10-01 at 14:27 +0200, David Hildenbrand wrote: > > On 25.09.20 18:06, Hui Su wrote: > > > 1. the cpuset.c has been moved from kernel/cpuset.c to > > > kernel/cgroup/cpuset.c long time ago, but the comment is stale, > > > so

Re: [PATCH 1/6] tracehook: clear TIF_NOTIFY_RESUME in tracehook_notify_resume()

2020-10-08 Thread Oleg Nesterov
Jens, sorry for delay.. On 10/05, Jens Axboe wrote: > > All the callers currently do this, clean it up and move the clearing > into tracehook_notify_resume() instead. To me this looks like a good cleanup regardless. Oleg.

Re: [PATCH] sched,fair: use list_for_each_entry() in print_cfs_stats()

2020-10-08 Thread Hui Su
On Tue, Sep 29, 2020 at 11:56:42AM +0200, Dietmar Eggemann wrote: > On 25/09/2020 21:10, Hui Su wrote: > > Macro for_each_leaf_cfs_rq_safe() use list_for_each_entry_safe(), > > which can against removal of list entry, but we only > > print the cfs_rq data and won't remove the list entry in > > prin

Re: [PATCH v18 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-10-08 Thread Linus Walleij
Hi Ben, thanks for your patch! I noticed this today and pay some interest because in the past I used with implementing the support for TCM memory on ARM32. On Mon, Oct 5, 2020 at 6:06 PM Ben Levinsky wrote: > Add binding for ZynqMP R5 OpenAMP. > > Represent the RPU domain resources in one devi

Re: [PATCH] printk: handle blank console arguments passed in.

2020-10-08 Thread Sergey Senozhatsky
On (20/10/08 21:20), Sergey Senozhatsky wrote: [..] > > > Let me dump my findings so far. I still don't understand what exactly > > > crashes the laptop (blank screen is not very helpful). > > > > > > So, things start with the "preferred_console = -1". In console_setup() > > > we call __add_prefer

[PATCH] arm64: dts: qcom: pm6150x: add ADC_TM definitions

2020-10-08 Thread Jishnu Prakash
Add ADC_TM peripheral definitions for PM6150 and PM6150L. Add ADC peripheral definition for PM6150l, which is needed for ADC_TM. Signed-off-by: Jishnu Prakash --- arch/arm64/boot/dts/qcom/pm6150.dtsi | 10 ++ arch/arm64/boot/dts/qcom/pm6150l.dtsi | 24 2 files c

Re: [PATCH 1/3] ARM: dts: BCM5301X: Linksys EA9500 make use of pinctrl

2020-10-08 Thread Vivek Unune
On Thu, Oct 08, 2020 at 02:26:21AM +0200, Andrew Lunn wrote: > On Wed, Oct 07, 2020 at 05:46:33PM -0400, Vivek Unune wrote: > > On Wed, Oct 07, 2020 at 11:01:34PM +0200, Andrew Lunn wrote: > > > On Wed, Oct 07, 2020 at 03:01:50PM -0400, Vivek Unune wrote: > > > > Forgo the use of mmioreg mdio mux i

[PATCH] arm64: dts: qcom: pm6150x: add ADC_TM definitions

2020-10-08 Thread Jishnu Prakash
This patch is meant to add ADC_TM definitions on PM6150 and PM6150l, for a customer variant of SC7180. It is dependent on the following patch series by Dmitry Baryshkov: "qcom: pm8150: add support for thermal monitoring". This change was tested along with the driver changes in the patch series and

Re: [PATCH 10/13] PCI: revoke mappings like devmem

2020-10-08 Thread Jason Gunthorpe
On Thu, Oct 08, 2020 at 12:49:54AM -0700, Dan Williams wrote: > > This is what got me thinking maybe this needs to be a bit bigger > > generic infrastructure - eg enter this scheme from fops mmap and > > everything else is in mm/user_iomem.c > > It still requires every file that can map physical

[PATCH v3] platform/mellanox: mlxbf-pmc: Add Mellanox BlueField PMC driver

2020-10-08 Thread Shravan Kumar Ramani
The performance modules in BlueField are present in several hardware blocks and each block provides access to these stats either through counters that can be programmed to monitor supported events or through memory-mapped registers that hold the relevant information. The hardware blocks that includ

Re: [PATCH v2 7/7] mm, page_alloc: disable pcplists during memory offline

2020-10-08 Thread Michal Hocko
On Thu 08-10-20 13:42:01, Vlastimil Babka wrote: > Memory offline relies on page isolation can race with process freeing pages to > pcplists in a way that a page from isolated pageblock can end up on pcplist. "Memory offlining relies on page isolation to guarantee a forward progress because pages

Re: [PATCH] KVM: SVM: Use a separate vmcb for the nested L2 guest

2020-10-08 Thread Cathy Avery
On 10/8/20 6:54 AM, Maxim Levitsky wrote: On Thu, 2020-10-08 at 13:39 +0300, Maxim Levitsky wrote: On Thu, 2020-10-08 at 13:23 +0300, Maxim Levitsky wrote: On Thu, 2020-10-08 at 07:52 +0200, Paolo Bonzini wrote: On 08/10/20 00:14, Maxim Levitsky wrote: + if (svm->vmcb01->control.asid ==

Re: [PATCH v3 3/3] dt-bindings: touchscreen: Add binding for Novatek NT36xxx series driver

2020-10-08 Thread Rob Herring
On Wed, Oct 7, 2020 at 1:05 PM wrote: > > From: AngeloGioacchino Del Regno Please send to DT list so checks run and it's in my review queue. > > Add binding for the Novatek NT36xxx series touchscreen driver. > > Signed-off-by: AngeloGioacchino Del Regno > --- > .../input/touchscreen/novatek,n

Re: checkpatch.pl: REPEATED_WORD: massive false positive in MAINTAINERS

2020-10-08 Thread Joe Perches
On Thu, 2020-10-08 at 13:50 +0200, Lukas Bulwahn wrote: > Dear Joe, dear Dwaipayan, > > while maintaining MAINTAINERS, I noticed that the REPEATED_WORD check, > which in general is a great addition to checkpatch.pl, generates a massive > number of warnings due to one specific pattern in the MAINT

Re: [PATCH v2 1/2] dt-bindings: gpio: pca953x: Add support for the NXP PCAL9554B/C

2020-10-08 Thread Linus Walleij
On Thu, Oct 8, 2020 at 9:36 AM Mike Looijmans wrote: > On 07-10-2020 11:58, Linus Walleij wrote: > > On Tue, Oct 6, 2020 at 9:32 PM Rob Herring wrote: > >> On Wed, Sep 30, 2020 at 11:50:38AM +0200, Linus Walleij wrote: > >>> On Wed, Sep 30, 2020 at 11:21 AM Mike Looijmans > >>> wrote: > >>> > >

Re: [PATCH v1 1/6] staging: qlge: Initialize devlink health dump framework for the dlge driver

2020-10-08 Thread Coiby Xu
On Thu, Oct 08, 2020 at 08:22:44AM -0400, Willem de Bruijn wrote: On Thu, Oct 8, 2020 at 7:58 AM Coiby Xu wrote: Initialize devlink health dump framework for the dlge driver so the coredump could be done via devlink. Signed-off-by: Coiby Xu @@ -4556,6 +4559,13 @@ static int qlge_probe(str

Re: [PATCH 5/5] x86/kvm: Add KVM_FEATURE_MSI_EXT_DEST_ID

2020-10-08 Thread David Woodhouse
On Thu, 2020-10-08 at 14:05 +0200, Thomas Gleixner wrote: > Why MSI_EXT_DEST_ID? It's enabling that for MSI and IO/APIC. The > underlying mechanism might be the same, but APIC_EXT_DEST_ID is more > general and then you might also make the explanation of that bit > match the changelog. It's enablin

[PATCH] ARM: at91: sam9x60 SiP types added to soc description

2020-10-08 Thread nicolas.ferre
From: Kai Stuhlemmer Adding SAM9X60 SIP variants to the soc description list. Signed-off-by: Kai Stuhlemmer Signed-off-by: Nicolas Ferre --- drivers/soc/atmel/soc.c | 6 ++ drivers/soc/atmel/soc.h | 3 +++ 2 files changed, 9 insertions(+) diff --git a/drivers/soc/atmel/soc.c b/drivers/so

Re: [PATCH v1 1/1] cpufreq: mediatek-hw: Register EM power table

2020-10-08 Thread Lukasz Luba
Hi Hector, On 10/8/20 1:13 PM, Hector Yuan wrote: From: "Hector.Yuan" Register CPU power table to energy model framework Signed-off-by: Hector.Yuan --- drivers/cpufreq/mediatek-cpufreq-hw.c | 50 + 1 file changed, 38 insertions(+), 12 deletions(-) diff -

Re: [PATCH v2 3/7] mm, page_alloc: remove setup_pageset()

2020-10-08 Thread Vlastimil Babka
On 10/8/20 2:23 PM, Michal Hocko wrote: On Thu 08-10-20 13:41:57, Vlastimil Babka wrote: We initialize boot-time pagesets with setup_pageset(), which sets high and batch values that effectively disable pcplists. We can remove this wrapper if we just set these values for all pagesets in pageset_

Re: [PATCH 2/6] kernel: add task_sigpending() helper

2020-10-08 Thread Oleg Nesterov
On 10/05, Jens Axboe wrote: > > static inline int signal_pending_state(long state, struct task_struct *p) > { > if (!(state & (TASK_INTERRUPTIBLE | TASK_WAKEKILL))) > return 0; > - if (!signal_pending(p)) > + if (!task_sigpending(p)) > return 0; This loo

Re: [PATCH 11/25] ASoC: sun8i-codec: Enable all supported clock inversions

2020-10-08 Thread Maxime Ripard
On Mon, Oct 05, 2020 at 11:29:51PM -0500, Samuel Holland wrote: > > On 10/5/20 6:30 AM, Maxime Ripard wrote: > > On Wed, Sep 30, 2020 at 09:11:34PM -0500, Samuel Holland wrote: > > > When using the I2S, LEFT_J, or RIGHT_J format, the hardware supports > > > independent BCLK and LRCK inversion cont

Stable backport request for fixing the issue of not being able to create a new pid_ns

2020-10-08 Thread Wen Yang
After the process exits, the following three dentries still refer to the pid: /proc/ /proc//ns /proc//ns/pid https://bugzilla.kernel.org/show_bug.cgi?id=208613 According to the commit f333c700c610 ("pidns: Add a limit on the number of pid namespaces"), if the pid cannot be released, it may result

Re: [PATCH 4/5] x86/apic: Support 15 bits of APIC ID in IOAPIC/MSI where available

2020-10-08 Thread David Woodhouse
On Thu, 2020-10-08 at 13:54 +0200, Thomas Gleixner wrote: > On Wed, Oct 07 2020 at 13:20, David Woodhouse wrote: > > > > + /* > > +* If the hypervisor supports extended destination ID in IOAPIC > > +* and MSI, that increases the maximum APIC ID that can be used > > +* for non-remapp

[PATCH v2 0/2] Tegra194 cpufreq driver misc changes

2020-10-08 Thread Sumit Gupta
This patch set has below two changes: 1) get consistent cpuinfo_cur_freq value from freq_table. 2) Fix unlisted boot freq warning by setting closest higher freq from freq_table if the boot frequency gets filtered while creating freq_table in kernel. v1[1] -> v2: - Minor changes to improve co

[PATCH v2 1/2] cpufreq: tegra194: get consistent cpuinfo_cur_freq

2020-10-08 Thread Sumit Gupta
Frequency returned by 'cpuinfo_cur_freq' using counters is not fixed and keeps changing slightly. This change returns a consistent value from freq_table. If the reconstructed frequency has acceptable delta from the last written value, then return the frequency corresponding to the last written ndiv

[PATCH v2 2/2] cpufreq: tegra194: Fix unlisted boot freq warning

2020-10-08 Thread Sumit Gupta
Warning coming during boot because the boot freq set by bootloader gets filtered out due to big freq steps while creating freq_table. Fix this by setting closest higher frequency from freq_table. Warning: cpufreq: cpufreq_online: CPU0: Running at unlisted freq cpufreq: cpufreq_online: CPU0: Unl

Re: [PATCH 20/25] ASoC: sun8i-codec: Protect the clock rate while streams are open

2020-10-08 Thread Maxime Ripard
On Mon, Oct 05, 2020 at 11:43:51PM -0500, Samuel Holland wrote: > On 10/5/20 7:01 AM, Maxime Ripard wrote: > > On Wed, Sep 30, 2020 at 09:11:43PM -0500, Samuel Holland wrote: > >> The codec's clock input is shared among all AIFs, and shared with other > >> audio-related hardware in the SoC, includi

Re: [PATCH 4/6] ALSA: hdspm: Fix typo arbitary

2020-10-08 Thread Takashi Iwai
On Thu, 08 Oct 2020 10:47:44 +0200, Naoki Hayama wrote: > > Fix comment typo. > s/arbitary/arbitrary/ > > Signed-off-by: Naoki Hayama Applied now. Thanks. Takashi

Re: [PATCH v2 3/7] mm, page_alloc: remove setup_pageset()

2020-10-08 Thread Michal Hocko
On Thu 08-10-20 14:56:13, Vlastimil Babka wrote: > On 10/8/20 2:23 PM, Michal Hocko wrote: > > On Thu 08-10-20 13:41:57, Vlastimil Babka wrote: > > > We initialize boot-time pagesets with setup_pageset(), which sets high and > > > batch values that effectively disable pcplists. > > > > > > We can

Re: [PATCH V5 1/3] soc: qcom: geni: Remove "iova" check

2020-10-08 Thread Wolfram Sang
On Thu, Oct 01, 2020 at 02:14:23PM +0530, Roja Rani Yarubandi wrote: > Remove "iova" check from geni_se_tx_dma_unprep and geni_se_rx_dma_unprep > fucntions as invalidating with dma_mapping_error() is enough. > > Signed-off-by: Roja Rani Yarubandi Applied to for-next, thanks! The other patches n

[PATCH v5 1/3] dt-bindings: pinctrl: Add bindings for pinctrl-microchip-sgpio driver

2020-10-08 Thread Lars Povlsen
This adds DT bindings for the Microsemi/Microchip SGPIO controller, bindings microchip,sparx5-sgpio, mscc,ocelot-sgpio and mscc,luton-sgpio. Signed-off-by: Lars Povlsen --- .../pinctrl/microchip,sparx5-sgpio.yaml | 140 ++ 1 file changed, 140 insertions(+) create mode 1006

[PATCH v5 2/3] pinctrl: pinctrl-microchip-sgpio: Add pinctrl driver for Microsemi Serial GPIO

2020-10-08 Thread Lars Povlsen
This adds a pinctrl driver for the Microsemi/Microchip Serial GPIO (SGPIO) device used in various SoC's. Signed-off-by: Lars Povlsen --- MAINTAINERS | 1 + drivers/pinctrl/Kconfig | 18 + drivers/pinctrl/Makefile | 1 + driver

[PATCH v5 0/3] pinctrl: Adding support for Microchip/Microsemi serial GPIO controller

2020-10-08 Thread Lars Povlsen
The series add support for the serial GPIO controller used by Microchip Sparx5, as well as (MSCC) ocelot/jaguar2 SoCs. v5 changes (driver comments from Linus): - Collect bank data in sgpio_bank struct - Add is_input boolean to sgpio_bank struct - Use single-bit bitmasks in sgpio_output_set() and s

[PATCH v5 3/3] arm64: dts: sparx5: Add SGPIO devices

2020-10-08 Thread Lars Povlsen
This adds SGPIO devices for the Sparx5 SoC and configures it for the applicable reference boards. Signed-off-by: Lars Povlsen --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 91 ++ .../boot/dts/microchip/sparx5_pcb125.dts | 5 + .../dts/microchip/sparx5_pcb134_board.dtsi| 258

Re: [PATCH v3 1/4] genirq/irqdomain: Allow partial trimming of irq_data hierarchy

2020-10-08 Thread Marc Zyngier
On 2020-10-08 12:22, Thomas Gleixner wrote: On Wed, Oct 07 2020 at 13:45, Marc Zyngier wrote: +/** + * irq_domain_trim_hierarchy - Trim the uninitialized part of a irq hierarchy + * @virq: IRQ number to trim where the hierarchy is to be trimmed + * + * Drop the partial irq_data hierarchy

[PATCH v3 0/2] Add a separate DWC3 OF driver for Xilinx platforms

2020-10-08 Thread Manish Narani
This patch series documents the Xilinx Versal DWC3 controller. This also adds a new Xilinx specific driver for adding new features in the future. Changes in v2: - Addressed review comments from v1 - merged normal and runtime suspend resume functions as they are same

[PATCH v3 1/2] dt-bindings: usb: dwc3-xilinx: Add documentation for Versal DWC3 Controller

2020-10-08 Thread Manish Narani
Add documentation for Versal DWC3 controller. Add required property 'reg' for the same. Also add optional properties for snps,dwc3. Signed-off-by: Manish Narani --- .../devicetree/bindings/usb/dwc3-xilinx.txt | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --gi

Re: [PATCH v2] media: mtk-vcodec: fix builds when remoteproc is disabled

2020-10-08 Thread Hans Verkuil
Hi Alexandre, On 04/10/2020 14:22, Alexandre Courbot wrote: > The addition of MT8183 support added a dependency on the SCP remoteproc > module. However the initial patch used the "select" Kconfig directive, > which may result in the SCP module to not be compiled if remoteproc was > disabled. In su

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

2020-10-08 Thread Manish Narani
Add a new driver for supporting Xilinx platforms. This driver is used for some sequence of operations required for Xilinx USB controllers. This driver is also used to choose between PIPE clock coming from SerDes and the Suspend Clock. Before the controller is out of reset, the clock selection shoul

Re: [PATCH v3 3/3] arm64: dts: Enabled MHI device over PCIe

2020-10-08 Thread Manivannan Sadhasivam
Hi, On Thu, Oct 08, 2020 at 06:02:24PM +0530, Gokul Sriram Palanisamy wrote: > Enabled MHI device support over PCIe and added memory > reservation required for MHI enabled QCN9000 PCIe card. > > Signed-off-by: Gokul Sriram Palanisamy > --- > arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi | 47 > ++

Re: [PATCH] KVM: SVM: Use a separate vmcb for the nested L2 guest

2020-10-08 Thread Maxim Levitsky
On Thu, 2020-10-08 at 08:46 -0400, Cathy Avery wrote: > On 10/8/20 6:54 AM, Maxim Levitsky wrote: > > On Thu, 2020-10-08 at 13:39 +0300, Maxim Levitsky wrote: > > > On Thu, 2020-10-08 at 13:23 +0300, Maxim Levitsky wrote: > > > > On Thu, 2020-10-08 at 07:52 +0200, Paolo Bonzini wrote: > > > > > On

Re: [PATCH v2] media: mtk-vcodec: fix builds when remoteproc is disabled

2020-10-08 Thread Hans Verkuil
On 08/10/2020 15:07, Hans Verkuil wrote: > Hi Alexandre, > > On 04/10/2020 14:22, Alexandre Courbot wrote: >> The addition of MT8183 support added a dependency on the SCP remoteproc >> module. However the initial patch used the "select" Kconfig directive, >> which may result in the SCP module to n

Re: [PATCH 00/14] drm/amd/pm: Replace one-element arrays with flexible-array members

2020-10-08 Thread Gustavo A. R. Silva
On Thu, Oct 08, 2020 at 09:19:47AM +0200, Christian König wrote: > Am 07.10.20 um 18:01 schrieb Gustavo A. R. Silva: > > Hi all, > > > > This series aims to replace one-element arrays with flexible-array > > members. > > > > There is a regular need in the kernel to provide a way to declare having

Re: [PATCH] perf/core: Fix hung issue on perf stat command during cpu hotplug

2020-10-08 Thread Peter Zijlstra
On Thu, Oct 08, 2020 at 05:55:35PM +0530, kajoljain wrote: > > > On 8/27/20 12:17 PM, Kajol Jain wrote: > > Commit 2ed6edd33a21 ("perf: Add cond_resched() to task_function_call()") > > added assignment of ret value as -EAGAIN in case function > > call to 'smp_call_function_single' fails. > > For

Re: [PATCH 0/7] wfx: move out from the staging area

2020-10-08 Thread Dan Carpenter
There are some static checker warnings to look at from linux-next from Tuesday. drivers/staging/wfx/hif_tx.c:319 hif_join() error: we previously assumed 'channel' could be null (see line 315) drivers/staging/wfx/main.c:228 wfx_send_pdata_pds() warn: potential NULL parameter dereference 'tmp_buf'

[tip: perf/core] perf: Fix task_function_call() error handling

2020-10-08 Thread tip-bot2 for Kajol Jain
The following commit has been merged into the perf/core branch of tip: Commit-ID: 84ad70320241566e028ada955c694ab92f3351e3 Gitweb: https://git.kernel.org/tip/84ad70320241566e028ada955c694ab92f3351e3 Author:Kajol Jain AuthorDate:Thu, 27 Aug 2020 12:17:32 +05:30 Committer:

Re: linux-next: manual merge of the sunxi tree with the arm-soc tree

2020-10-08 Thread Maxime Ripard
Hi Stephen, On Tue, Oct 06, 2020 at 02:56:37PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the sunxi tree got a conflict in: > > arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi > > between commit: > > 0dea1794f3b4 ("arm64: allwinner: A100: add the basical Allwin

Re: [PATCH 02/12] samples: configfs: order includes alphabetically

2020-10-08 Thread Bartosz Golaszewski
On Wed, Oct 7, 2020 at 3:43 PM Christoph Hellwig wrote: > > On Thu, Sep 24, 2020 at 02:45:16PM +0200, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > The preferred coding style is to order all includes alphabetically for > > improved readability. There's no need for the configfs

Re: [PATCH 2/6] kernel: add task_sigpending() helper

2020-10-08 Thread Oleg Nesterov
On 10/05, Jens Axboe wrote: > > @@ -4447,7 +4447,7 @@ SYSCALL_DEFINE0(pause) > __set_current_state(TASK_INTERRUPTIBLE); > schedule(); > } > - return -ERESTARTNOHAND; > + return task_sigpending(current) ? -ERESTARTNOHAND : -ERESTARTSYS; > } > > #endif > @@

Re: [PATCH v1 1/6] staging: qlge: Initialize devlink health dump framework for the dlge driver

2020-10-08 Thread Dan Carpenter
On Thu, Oct 08, 2020 at 07:58:03PM +0800, Coiby Xu wrote: > Initialize devlink health dump framework for the dlge driver so the > coredump could be done via devlink. > > Signed-off-by: Coiby Xu > --- > drivers/staging/qlge/Kconfig| 1 + > drivers/staging/qlge/Makefile | 2 +- > d

Re: checkpatch.pl: REPEATED_WORD: massive false positive in MAINTAINERS

2020-10-08 Thread Dwaipayan Ray
On Thu, Oct 8, 2020 at 6:18 PM Joe Perches wrote: > > On Thu, 2020-10-08 at 13:50 +0200, Lukas Bulwahn wrote: > > Dear Joe, dear Dwaipayan, > > > > while maintaining MAINTAINERS, I noticed that the REPEATED_WORD check, > > which in general is a great addition to checkpatch.pl, generates a massive

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