Re: [PATCH v3 4/7] iommu/mediatek: Delete the leaf in the tlb flush

2019-10-15 Thread Robin Murphy
On 15/10/2019 06:25, Yong Wu wrote: On Mon, 2019-10-14 at 15:22 +0100, Robin Murphy wrote: On 14/10/2019 07:38, Yong Wu wrote: In our tlb range flush, we don't care the "leaf". Remove it to simplify the code. no functional change. Presumably you don't care about the granule either? Yes. I

[PATCH v9 3/4] Add the latency-collector to tools

2019-10-15 Thread Viktor Rosendahl (BMW)
This is a tool that is intended to work around the fact that the preemptoff, irqsoff, and preemptirqsoff tracers only work in overwrite mode. The idea is to act randomly in such a way that we do not systematically lose any latencies, so that if enough testing is done, all latencies will be

[PATCH v9 0/4] Some new features for the preempt/irqsoff tracers

2019-10-15 Thread Viktor Rosendahl (BMW)
Hello all, Changes in v9: - [PATCH 1/4]: * Rebased the patch for v5.4-rc3+ * Dropped support for the hwlat tracer. It seems to me, both from testing and looking at the code, that hwlat doesn't actually update /sys/kernel/debug/tracing/tracing_max_latency. I think it would be a bit

[PATCH v9 2/4] preemptirq_delay_test: Add the burst feature and a sysfs trigger

2019-10-15 Thread Viktor Rosendahl (BMW)
This burst feature enables the user to generate a burst of preempt/irqsoff latencies. This makes it possible to test whether we are able to detect latencies that systematically occur very close to each other. The maximum burst size is 10. We also create 10 identical test functions, so that we get

[PATCH v9 4/4] ftrace: Add an option for tracing console latencies

2019-10-15 Thread Viktor Rosendahl (BMW)
This new kernel parameter "trace_console_latency" will enable the latency tracers to trace the console latencies. Previously this has always been implicitely disabled. I guess this is because they are considered to be well known and unavoidable. However, for some organizations it may nevertheless

[PATCH v9 1/4] ftrace: Implement fs notification for tracing_max_latency

2019-10-15 Thread Viktor Rosendahl (BMW)
This patch implements the feature that the tracing_max_latency file, e.g. /sys/kernel/debug/tracing/tracing_max_latency will receive notifications through the fsnotify framework when a new latency is available. One particularly interesting use of this facility is when enabling threshold tracing,

Re: [PATCH v3] PCI: aardvark: Don't rely on jiffies while holding spinlock

2019-10-15 Thread Lorenzo Pieralisi
On Fri, Sep 27, 2019 at 10:55:02AM +0200, Remi Pommarel wrote: > advk_pcie_wait_pio() can be called while holding a spinlock (from > pci_bus_read_config_dword()), then depends on jiffies in order to > timeout while polling on PIO state registers. In the case the PIO > transaction failed, the

Applied "spi: bcm63xx: extend error condition to `delay` as well" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: bcm63xx: extend error condition to `delay` as well has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "spi: tegra114: change format for `spi_set_cs_timing()` function" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: tegra114: change format for `spi_set_cs_timing()` function has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "spi: core,atmel: convert `word_delay_usecs` -> `word_delay` for spi_device" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: core,atmel: convert `word_delay_usecs` -> `word_delay` for spi_device has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime

Applied "spi: introduce `delay` field for `spi_transfer` + spi_transfer_delay_exec()" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: introduce `delay` field for `spi_transfer` + spi_transfer_delay_exec() has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually

Applied "spi: spi-axi: extend support for the `delay` field" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: spi-axi: extend support for the `delay` field has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "spi: tegra114: use `spi_transfer_delay_exec` helper" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: tegra114: use `spi_transfer_delay_exec` helper has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "spi: spidev: use new `delay` field for spi transfers" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: spidev: use new `delay` field for spi transfers has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "spi: implement SW control for CS times" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: implement SW control for CS times has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "spi: orion: use new `word_delay` field for SPI transfers" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: orion: use new `word_delay` field for SPI transfers has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "spi: spi-loopback-test: use new `delay` field" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: spi-loopback-test: use new `delay` field has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "spi: sprd: convert transfer word delay to spi_delay struct" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: sprd: convert transfer word delay to spi_delay struct has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "spi: make `cs_change_delay` the first user of the `spi_delay` logic" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: make `cs_change_delay` the first user of the `spi_delay` logic has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "spi: tegra20-sflash: use to new `spi_transfer_delay_exec`" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: tegra20-sflash: use to new `spi_transfer_delay_exec` has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "spi: introduce spi_delay struct as "value + unit" & spi_delay_exec()" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: introduce spi_delay struct as "value + unit" & spi_delay_exec() has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in

Applied "spi: spidev: use new `word_delay` field for spi transfers" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: spidev: use new `word_delay` field for spi transfers has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "spi: spi-fsl-espi: convert transfer delay to `spi_delay` format" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: spi-fsl-espi: convert transfer delay to `spi_delay` format has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "spi: spi-falcon: extend warning to `delay` as well" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: spi-falcon: extend warning to `delay` as well has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "spi: move `cs_change_delay` backwards compat logic outside switch" to the spi tree

2019-10-15 Thread Mark Brown
The patch spi: move `cs_change_delay` backwards compat logic outside switch has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.5 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

INQUIRY

2019-10-15 Thread Mrs Lubov Aleksandrov
Hello I am Mrs Lubov Aleksandrov from DAVSAR LLC Russia.I am in charge of sales . We are interested in your product .We would greatly appreciate receiving any information, brochures and price lists of your products. Thanks. Mrs Lubov Aleksandrov Sales General Manager of DAVSAR LLC) 14

Re: [PATCH v4 04/19] spi: sprd: convert transfer word delay to spi_delay struct

2019-10-15 Thread Mark Brown
On Thu, Sep 26, 2019 at 01:51:32PM +0300, Alexandru Ardelean wrote: > The Spreadtrum SPI driver is the only user of the `word_delay` field in > the `spi_transfer` struct. This doesn't apply against current code, please check and resend. signature.asc Description: PGP signature

Re: [PATCH] sched/topology: Disable sched_asym_cpucapacity on domain destruction

2019-10-15 Thread Quentin Perret
On Tuesday 15 Oct 2019 at 11:22:12 (+0200), Dietmar Eggemann wrote: > I still don't understand the benefit of the counter approach here. > sched_smt_present counts the number of cores with SMT. So in case you > have 2 SMT cores with 2 HW threads and you CPU hp out one CPU, you still > have

Re: [PATCH] ocfs2: fix panic due to ocfs2_wq is null

2019-10-15 Thread Joseph Qi
On 19/10/15 17:05, Yi Li wrote: > mount.ocfs2 failed when read ocfs2 filesystem super error. > the func ocfs2_initialize_super will return before allocate ocfs2_wq. > ocfs2_dismount_volume will flush the ocfs2_wq, that triggered the following > panic. > > Oct 15 16:09:27 cnwarekv-205120

Re: [PATCH] mm/memcontrol: update lruvec counters in mem_cgroup_move_account

2019-10-15 Thread Michal Hocko
On Tue 15-10-19 13:49:14, Konstantin Khlebnikov wrote: > On 15/10/2019 13.36, Michal Hocko wrote: > > On Tue 15-10-19 11:44:22, Konstantin Khlebnikov wrote: > > > On 15/10/2019 11.20, Michal Hocko wrote: > > > > On Tue 15-10-19 11:09:59, Konstantin Khlebnikov wrote: > > > > > Mapped, dirty and

Re: [PATCH v2] sched/topology: Allow sched_asym_cpucapacity to be disabled

2019-10-15 Thread Valentin Schneider
On 15/10/2019 11:40, Quentin Perret wrote: >> @@ -2124,8 +2124,17 @@ static void detach_destroy_domains(const struct >> cpumask *cpu_map) >> int i; >> >> rcu_read_lock(); >> + >> +if (static_key_enabled(_asym_cpucapacity)) { >> +unsigned int cpu = cpumask_any(cpu_map);

Re: [PATCH v2] rcu: make PREEMPT_RCU to be a decoration of TREE_RCU

2019-10-15 Thread Paul E. McKenney
On Tue, Oct 15, 2019 at 02:55:57AM +, Lai Jiangshan wrote: > Currently PREEMPT_RCU and TREE_RCU are "contrary" configs > when they can't be both on. But PREEMPT_RCU is actually a kind > of TREE_RCU in the implementation. It seams to be appropriate > to make PREEMPT_RCU to be a decorative

Re: [PATCH v2] x86/hyperv: Set pv_info.name to "Hyper-V"

2019-10-15 Thread Wei Liu
On Tue, 15 Oct 2019 at 11:35, Andrea Parri wrote: > > Michael reported that the x86/hyperv initialization code printed the > following dmesg when running in a VM on Hyper-V: > > [0.000738] Booting paravirtualized kernel on bare hardware > > Let the x86/hyperv initialization code set

[PATCH] rcu: rcu_segcblist.c make undeclared items static

2019-10-15 Thread Ben Dooks
The following are not used outside the unit they are declared in, so make them static to avoid the following sparse warnings: kernel/rcu/rcu_segcblist.c:91:6: warning: symbol 'rcu_segcblist_set_len' was not declared. Should it be static? kernel/rcu/rcu_segcblist.c:107:6: warning: symbol

Re: [PATCH v1] perf/core: fix restoring of Intel LBR call stack on a context switch

2019-10-15 Thread Alexey Budankov
On 15.10.2019 12:16, Peter Zijlstra wrote: > On Mon, Oct 14, 2019 at 09:08:34AM +0300, Alexey Budankov wrote: >> >> Restore Intel LBR call stack from cloned inactive task perf context on >> a context switch. This change inherently addresses inconsistency in LBR >> call stack data provided on a

[PATCH] scripts/gdb: fix debugging modules on s390

2019-10-15 Thread Ilya Leoshkevich
Currently lx-symbols assumes that module text is always located at module->core_layout->base, but s390 uses the following layout: +--+ <- module->core_layout->base | GOT | +--+ <- module->core_layout->base + module->arch->plt_offset | PLT | +--+ <- module->core_layout->base +

Re: [PATCH] KVM: X86: Make fpu allocation a common function

2019-10-15 Thread Vitaly Kuznetsov
Sean Christopherson writes: > On Mon, Oct 14, 2019 at 06:58:49PM +0200, Vitaly Kuznetsov wrote: >> Xiaoyao Li writes: >> >> > They are duplicated codes to create vcpu.arch.{user,guest}_fpu in VMX >> > and SVM. Make them common functions. >> > >> > No functional change intended. >> >> Would it

Re: [PATCH] hugetlbfs: add O_TMPFILE support

2019-10-15 Thread Michal Hocko
On Tue 15-10-19 11:01:12, Piotr Sarna wrote: > With hugetlbfs, a common pattern for mapping anonymous huge pages > is to create a temporary file first. Really? I though that this is normally done by shmget(SHM_HUGETLB) or mmap(MAP_HUGETLB). Or maybe I misunderstood your definition on anonymous

[PATCH] fs/fnctl: fix missing __user in fcntl_rw_hint()

2019-10-15 Thread Ben Dooks
The fcntl_rw_hint() has a missing __user annotation in the code when assinging argp. Add this to fix the following sparse warnings: fs/fcntl.c:280:22: warning: incorrect type in initializer (different address spaces) fs/fcntl.c:280:22:expected unsigned long long [usertype] *argp

Re: [PATCH v2] ftrace: Introduce PERMANENT ftrace_ops flag

2019-10-15 Thread Miroslav Benes
On Tue, 15 Oct 2019, Petr Mladek wrote: > On Mon 2019-10-14 11:17:19, Steven Rostedt wrote: > > On Mon, 14 Oct 2019 12:59:23 +0200 > > Miroslav Benes wrote: > > > > > int > > > ftrace_enable_sysctl(struct ctl_table *table, int write, > > >void __user *buffer, size_t *lenp, > >

Re: [PATCH] mm/memcontrol: update lruvec counters in mem_cgroup_move_account

2019-10-15 Thread Konstantin Khlebnikov
On 15/10/2019 13.36, Michal Hocko wrote: On Tue 15-10-19 11:44:22, Konstantin Khlebnikov wrote: On 15/10/2019 11.20, Michal Hocko wrote: On Tue 15-10-19 11:09:59, Konstantin Khlebnikov wrote: Mapped, dirty and writeback pages are also counted in per-lruvec stats. These counters needs update

RE: AMDGPU and 16B stack alignment

2019-10-15 Thread David Laight
From: Arnd Bergmann > Sent: 15 October 2019 08:19 > > On Tue, Oct 15, 2019 at 9:08 AM S, Shirish wrote: > > On 10/15/2019 3:52 AM, Nick Desaulniers wrote: > > > My gcc build fails with below errors: > > > > dcn_calcs.c:1:0: error: -mpreferred-stack-boundary=3 is not between 4 and 12 > > > >

Re: [PATCH] rcu: make PREEMPT_RCU to be a decoration of TREE_RCU

2019-10-15 Thread Paul E. McKenney
On Tue, Oct 15, 2019 at 11:01:00AM +0800, Lai Jiangshan wrote: > On 2019/10/15 10:45 上午, Lai Jiangshan wrote: > > On 2019/10/15 10:00 上午, Paul E. McKenney wrote: > > > On Tue, Oct 15, 2019 at 09:50:21AM +0800, Lai Jiangshan wrote: > > > > On Tue, Oct 15, 2019 at 9:46 AM Paul E. McKenney > > > >

[PATCH v5 7/8] arm64: dts: renesas: Add CMM units to Gen3 SoCs

2019-10-15 Thread Jacopo Mondi
Add CMM units to Renesas R-Car Gen3 SoC that support it, and reference them from the Display Unit they are connected to. Sort the 'vsps', 'renesas,cmm' and 'status' properties in the DU unit consistently in all the involved DTS. Signed-off-by: Jacopo Mondi ---

Re: [PATCH v2 1/2] soundwire: depend on ACPI

2019-10-15 Thread Vinod Koul
On 03-10-19, 12:13, Michal Suchanek wrote: > The device cannot be probed on !ACPI and gives this warning: > > drivers/soundwire/slave.c:16:12: warning: ‘sdw_slave_add’ defined but > not used [-Wunused-function] > static int sdw_slave_add(struct sdw_bus *bus, Applied both, thanks -- ~Vinod

Re: [PATCH v3 2/2] iio: (bma400) add driver for the BMA400 (fwd)

2019-10-15 Thread Julia Lawall
acc_config is unsigned, so it won't be negative (line 390). julia -- Forwarded message -- Date: Mon, 14 Oct 2019 07:23:53 +0800 From: kbuild test robot To: kbu...@lists.01.org Cc: Julia Lawall Subject: Re: [PATCH v3 2/2] iio: (bma400) add driver for the BMA400 Hi Dan, Thank

[PATCH v5 8/8] drm: rcar-du: kms: Expand comment in vsps parsing routine

2019-10-15 Thread Jacopo Mondi
Expand comment in the 'vsps' parsing routine to specify the LIF channel index defaults to 0 in case the second cell of the property is not specified to remain compatible with older DT bindings. Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_kms.c

Re: [PATCH] dmaengine: axi-dmac: simple device_config operation implemented

2019-10-15 Thread Vinod Koul
On 15-10-19, 07:05, Ardelean, Alexandru wrote: > On Mon, 2019-10-14 at 12:31 +0530, Vinod Koul wrote: > > [External] > > > > Hey, > > > On 13-09-19, 17:54, Alexandru Ardelean wrote: > > > From: Rodrigo Alencar > > > > > > dmaengine_slave_config is called by dmaengine_pcm_hw_params when using

[PATCH] soundwire: qcom: fix devm_platform_ioremap_resource.cocci warnings

2019-10-15 Thread Julia Lawall
From: kbuild test robot Use devm_platform_ioremap_resource helper which wraps platform_get_resource() and devm_ioremap_resource() together. Generated by: scripts/coccinelle/api/devm_platform_ioremap_resource.cocci Fixes: 4a789cff1848 ("soundwire: qcom: add support for SoundWire controller")

Re: [PATCH v2] sched/topology: Allow sched_asym_cpucapacity to be disabled

2019-10-15 Thread Quentin Perret
On Tuesday 15 Oct 2019 at 11:29:56 (+0100), Valentin Schneider wrote: > While the static key is correctly initialized as being disabled, it will > remain forever enabled once turned on. This means that if we start with an > asymmetric system and hotplug out enough CPUs to end up with an SMP

Re: [PATCH] mm/memcontrol: update lruvec counters in mem_cgroup_move_account

2019-10-15 Thread Michal Hocko
On Tue 15-10-19 11:44:22, Konstantin Khlebnikov wrote: > On 15/10/2019 11.20, Michal Hocko wrote: > > On Tue 15-10-19 11:09:59, Konstantin Khlebnikov wrote: > > > Mapped, dirty and writeback pages are also counted in per-lruvec stats. > > > These counters needs update when page is moved between

[PATCH v2] x86/hyperv: Set pv_info.name to "Hyper-V"

2019-10-15 Thread Andrea Parri
Michael reported that the x86/hyperv initialization code printed the following dmesg when running in a VM on Hyper-V: [0.000738] Booting paravirtualized kernel on bare hardware Let the x86/hyperv initialization code set pv_info.name to "Hyper-V"; with this addition, the dmesg read: [

[PATCH] fs/namespace: add __user to open_tree and move_mount syscalls

2019-10-15 Thread Ben Dooks
Thw open_tree and move_mount syscalls take names from the user, so add the __user to these to ensure the following warnings from sparse are fixed: fs/namespace.c:2392:35: warning: incorrect type in argument 2 (different address spaces) fs/namespace.c:2392:35:expected char const [noderef]

[PATCH 2/2] arm64: dts: sc7180: Add minimal dts/dtsi files for SC7180 soc

2019-10-15 Thread Rajendra Nayak
Add skeletal sc7180 SoC dtsi and idp board dts files. Co-developed-by: Taniya Das Signed-off-by: Taniya Das Signed-off-by: Rajendra Nayak --- This isn't ready for merge yet, depends on gcc driver patches [1] for the DT header inclusion [1]

[PATCH 1/2] dt-bindings: qcom: Add SC7180 bindings

2019-10-15 Thread Rajendra Nayak
Add a SoC string 'sc7180' for the qualcomm SC7180 SoC. Also add a new board type 'idp' Signed-off-by: Rajendra Nayak --- Documentation/devicetree/bindings/arm/qcom.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml

Re: [PATCH v2 1/2] dmaengine: avalon: Intel Avalon-MM DMA Interface for PCIe

2019-10-15 Thread Vinod Koul
On 09-10-19, 12:12, Alexander Gordeev wrote: > +config AVALON_DMA_CTRL_BASE > + hex "Avalon DMA controllers base" > + default "0x" what kind of device is this? I dont think we want these and the ones coming below as part of kernel kconfig! > +// SPDX-License-Identifier: GPL-2.0

Re: [PATCH 1/3] arm64: cpufeature: Fix the type of no FP/SIMD capability

2019-10-15 Thread Ard Biesheuvel
On Tue, 15 Oct 2019 at 12:25, Dave Martin wrote: > > On Mon, Oct 14, 2019 at 06:57:30PM +0200, Ard Biesheuvel wrote: > > On Mon, 14 Oct 2019 at 17:50, Dave P Martin wrote: > > > > > > On Mon, Oct 14, 2019 at 04:45:40PM +0100, Suzuki K Poulose wrote: > > > > > > > > > > > > On 14/10/2019 15:52,

[PATCH v2] sched/topology: Allow sched_asym_cpucapacity to be disabled

2019-10-15 Thread Valentin Schneider
While the static key is correctly initialized as being disabled, it will remain forever enabled once turned on. This means that if we start with an asymmetric system and hotplug out enough CPUs to end up with an SMP system, the static key will remain set - which is obviously wrong. We should

[PATCH 5/7] rcu: move gp_state_names[] and gp_state_getname() to tree_stall.h

2019-10-15 Thread Lai Jiangshan
Only tree_stall.h needs to get name from GP state. Signed-off-by: Lai Jiangshan Signed-off-by: Lai Jiangshan --- kernel/rcu/tree.c | 10 -- kernel/rcu/tree.h | 12 kernel/rcu/tree_stall.h | 22 ++ 3 files changed, 22 insertions(+), 22

[PATCH 4/7] rcu: remove the declaration of call_rcu() in tree.h

2019-10-15 Thread Lai Jiangshan
call_rcu() is external RCU API declared in include/linux/, and doesn't need to be (re-)declared in internal files again. Signed-off-by: Lai Jiangshan Signed-off-by: Lai Jiangshan --- kernel/rcu/tree.h | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h

[PATCH 6/7] rcu: rename some CONFIG_PREEMPTION to CONFIG_PREEMPT_RCU

2019-10-15 Thread Lai Jiangshan
CONFIG_PREEMPTION and CONFIG_PREEMPT_RCU are always identical, but some code depends on CONFIG_PREEMPTION to access to rcu_preempt functionalitis. This patch changes CONFIG_PREEMPTION to CONFIG_PREEMPT_RCU in these cases. Signed-off-by: Lai Jiangshan Signed-off-by: Lai Jiangshan ---

[PATCH 7/7] rcu: splite tasks_rcu to tasks.c

2019-10-15 Thread Lai Jiangshan
tree_plugin.h is all about TREE_RCU_RCU, where TASKS_RCU is a quite different flavor which ought to be in its own file. The big '#ifdef CONFIG_TASKS_RCU' code block is moved to tasks.c unchanged along with about 40 lines in the head of the file and the function rcu_tasks_bootup_oddness() whose

[PATCH 3/7] rcu: trace_rcu_utilization() paired

2019-10-15 Thread Lai Jiangshan
The notations include "Start" and "End", it is better when there are paired. Signed-off-by: Lai Jiangshan Signed-off-by: Lai Jiangshan --- kernel/rcu/tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index

[PATCH 2/7] rcu: fix tracepoint string when RCU CPU kthread runs

2019-10-15 Thread Lai Jiangshan
"rcu_wait" is incorrct here, use "rcu_run" instead. Signed-off-by: Lai Jiangshan Signed-off-by: Lai Jiangshan --- kernel/rcu/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 278798e58698..c351fc280945 100644 ---

Re: [PATCH] x86/hyperv: Set pv_info.name to "Hyper-V"

2019-10-15 Thread Andrea Parri
> > @@ -154,6 +154,8 @@ static uint32_t __init ms_hyperv_platform(void) > > This function is for platform detection only. > > > if (!boot_cpu_has(X86_FEATURE_HYPERVISOR)) > > return 0; > > > > + pv_info.name = "Hyper-V"; > > + > > At this point we're not sure if

[PATCH 1/7] rcu: fix incorrect conditional compilation

2019-10-15 Thread Lai Jiangshan
DO NOT pick it to stable tree. (Since the title has "fix", this statement may help stop AI pick it to stable tree) The tokens SRCU and TINY_RCU are not defined by any configurations, they should be CONFIG_SRCU and CONFIG_TINY_RCU. But there is no harm when "TINY_RCU" is wrongly used, which are

[PATCH] percpu: add __percpu to SHIFT_PERCPU_PTR

2019-10-15 Thread Ben Dooks
The SHIFT_PERCPU_PTR() returns a pointer used by a number of functions that expect the pointer to be __percpu annotated (sparse address space 3). Adding __percpu to this makes the following sparse warnings go away. Note, this then creates the problem the __percup is marked as noderef, which may

[PATCH 0/7] rcu: cleanups

2019-10-15 Thread Lai Jiangshan
All are minimal independent cleanups, expect that patch 3 depends on patch 2. Lai Jiangshan (7): rcu: fix incorrect conditional compilation rcu: fix tracepoint string when RCU CPU kthread runs rcu: trace_rcu_utilization() paired rcu: remove the declaration of call_rcu() in tree.h rcu:

Re: [PATCH 1/3] arm64: cpufeature: Fix the type of no FP/SIMD capability

2019-10-15 Thread Dave Martin
On Mon, Oct 14, 2019 at 06:57:30PM +0200, Ard Biesheuvel wrote: > On Mon, 14 Oct 2019 at 17:50, Dave P Martin wrote: > > > > On Mon, Oct 14, 2019 at 04:45:40PM +0100, Suzuki K Poulose wrote: > > > > > > > > > On 14/10/2019 15:52, Dave Martin wrote: > > > > On Fri, Oct 11, 2019 at 06:28:43PM

Re: [PATCH RFC 4/5] dma/direct: check for overflows in ARM's dma_capable()

2019-10-15 Thread Christoph Hellwig
On Mon, Oct 14, 2019 at 08:31:06PM +0200, Nicolas Saenz Julienne wrote: > The Raspberry Pi 4 has a 1GB ZONE_DMA area starting at address > 0x and a mapping between physical and DMA memory offset by > 0xc000. It transpires that, on non LPAE systems, any attempt to > translate physical

Re: [PATCH] rtl8xxxu: fix connection failure issue after warm reboot

2019-10-15 Thread Chris Chiu
On Tue, Oct 15, 2019 at 6:16 PM Chris Chiu wrote: > > --- > 2.23.0 > Please ignore this message since it's not properly titled and no detail description. Sorry for inconvenience. Chris

Re: [RFC] writeback: add elastic bdi in cgwb bdp

2019-10-15 Thread Jan Kara
Hello, On Sat 12-10-19 21:27:40, Hillf Danton wrote: > The behaviors of the elastic bdi (ebdi) observed in the current cgwb > bandwidth measurement include > > 1, like spinning disks on market ebdi can do ~128MB/s IOs in consective > minutes in few scenarios, or higher like SSD, or lower like

[PATCH] rtl8xxxu: fix RTL8723BU connection failure issue after warm reboot

2019-10-15 Thread Chris Chiu
The RTL8723BU has problems connecting to AP after each warm reboot. Sometimes it returns no scan result, and in most cases, it fails the authentication for unknown reason. However, it works totally fine after cold reboot. Compare the value of register SYS_CR and SYS_CLK_MAC_CLK_ENABLE for cold

[PATCH] rtl8xxxu: fix RTL8723BU connection failure issue after warm reboot

2019-10-15 Thread Chris Chiu
The RTL8723BU has problems connecting to AP after each warm reboot. Sometimes it returns no scan result, and in most cases, it fails the authentication for unknown reason. However, it works totally fine after cold reboot. Compare the value of register SYS_CR and SYS_CLK_MAC_CLK_ENABLE for cold

Re: [PATCH 02/10] dt-bindings: dmaengine: usb-dmac: Add binding for r8a774b1

2019-10-15 Thread Vinod Koul
On 08-10-19, 11:38, Fabrizio Castro wrote: > This patch adds the binding for r8a774b1 SoC (RZ/G2N). Acked-by: Vinod Koul -- ~Vinod

Re: [PATCH] dmaengine: sprd: Fix the possible memory leak issue

2019-10-15 Thread Vinod Koul
On 09-10-19, 17:11, Baolin Wang wrote: > If we terminate the channel to free all descriptors associated with this > channel, we will leak the memory of current descriptor if the current > descriptor is not completed, since it had been deteled from the desc_issued > list and have not been added

Re: [PATCH V4 1/3] cpuidle: play_idle: Make play_idle more flexible

2019-10-15 Thread Daniel Lezcano
Hi Rafael, can we consider this series for the next kernel version ? Thanks On 04/10/2019 10:32, Daniel Lezcano wrote: > The play_idle function has two users, the intel powerclamp and the > idle_injection. > > The idle injection cooling device uses the function via the > idle_injection

[PATCH] rtl8xxxu: fix connection failure issue after warm reboot

2019-10-15 Thread Chris Chiu
--- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 1 + drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c | 1 + drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 3 +++ 3 files changed, 5 insertions(+) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h

Re: [Patch v3 7/7] sched: thermal: Enable tuning of decay period

2019-10-15 Thread Quentin Perret
Hi Thara, On Sunday 13 Oct 2019 at 20:58:25 (-0400), Thara Gopinath wrote: > diff --git a/kernel/sysctl.c b/kernel/sysctl.c > index 00fcea2..5056c08 100644 > --- a/kernel/sysctl.c > +++ b/kernel/sysctl.c > @@ -376,6 +376,13 @@ static struct ctl_table kern_table[] = { > .mode

Re: [PATCH] dmaengine: sprd: Change to use devm_platform_ioremap_resource()

2019-10-15 Thread Vinod Koul
On 27-09-19, 11:29, Baolin Wang wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together, which can simpify the code. Applied, thanks -- ~Vinod

Re: [PATCH -next 0/4] dmaengine: xilinx_dma: Minor functional fixes

2019-10-15 Thread Vinod Koul
On 26-09-19, 16:20, Radhey Shyam Pandey wrote: > This patchset fixes axidma simple mode 64-bit transfer. > It clears vdma control registers before update, in probe > use devm_platform API and remove clk_get error in case of > EPROBE_DEFER. Applied, thanks -- ~Vinod

Re: [RESEND RFC PATCH v3] rtc: Fix the AltCentury value on AMD/Hygon platform

2019-10-15 Thread Jinke Fan
On 2019/10/15 16:27, Alexandre Belloni wrote: > Oh come on, you sent that patch only a week ago and v2 had a so obvious > mistake that my trust in your code quality is now very low. Hi Alexandre, The patch v3 has been compiled for sparc64 and alpha architectures with: - GCC_VERSION=7.4.0

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

2019-10-15 Thread Rafael J. Wysocki
On Monday, October 14, 2019 10:59:04 PM CEST Stephen Rothwell wrote: > > --Sig_/eM_f_lhAmw+jp3bqTr5YSMd > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: quoted-printable > > Hi all, > > In commit > > b2afd668c323 ("ACPI / utils: Move acpi_dev_get_first_match_dev()

Re: [PATCH v4 2/2] pidfd: add tests for NSpid info in fdinfo

2019-10-15 Thread Christian Brauner
On Mon, Oct 14, 2019 at 06:20:33PM +0200, Christian Kellner wrote: > From: Christian Kellner > > Add a test that checks that if pid namespaces are configured the fdinfo > file of a pidfd contains an NSpid: entry containing the process id in > the current and additionally all nested namespaces.

Re: [RFC PATCH] mm: Fix a huge pud insertion race during faulting

2019-10-15 Thread Kirill A. Shutemov
On Tue, Oct 08, 2019 at 11:37:11AM +0200, Thomas Hellström (VMware) wrote: > From: Thomas Hellstrom > > A huge pud page can theoretically be faulted in racing with pmd_alloc() > in __handle_mm_fault(). That will lead to pmd_alloc() returning an > invalid pmd pointer. Fix this by adding a

Re: linux-next: build failure after merge of the pm tree (Was: linux-next: build warning after merge of the pm tree)

2019-10-15 Thread Rafael J. Wysocki
On Tuesday, October 15, 2019 1:16:50 AM CEST Stephen Rothwell wrote: > > --Sig_/6GS1h5au_w04qPbsgg/ztsa > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: quoted-printable > > Hi all, > > On Tue, 15 Oct 2019 10:08:55 +1100 Stephen Rothwell = > wrote: > > > > After

Re: [PATCH RFC 2/5] ARM: introduce arm_dma_direct

2019-10-15 Thread Christoph Hellwig
I think we just need to byte the bullet and move over arm to dma-direct entirely. This needs a careful audit of what differs, but the biggest item is that we need to ensure dmabounce keeps working (or is replaced with swiotlb in a suitable way, but that might be a lot more work).

Re: [PATCH v3] PCI: aardvark: Fix PCI_EXP_RTCTL register configuration

2019-10-15 Thread Lorenzo Pieralisi
On Fri, Jun 14, 2019 at 12:10:59PM +0200, Remi Pommarel wrote: > PCI_EXP_RTCTL is used to activate PME interrupt only, so writing into it > should not modify other interrupts' mask. The ISR mask polarity was also > inverted, when PCI_EXP_RTCTL_PMEIE is set PCIE_MSG_PM_PME_MASK mask bit > should

Re: [PATCH] scatterlist: Validate page before calling PageSlab()

2019-10-15 Thread Christoph Hellwig
On Mon, Oct 07, 2019 at 02:13:51PM -0700, Alan Mikhak wrote: > > My goal is to not modify the Linux NVMe target code at all. The NVMe > > endpoint function driver currently does the work that is required. You will have to do some modifications, as for example in PCIe you can have a n:1

Re: [PATCH 1/1] mm/vmalloc: remove preempt_disable/enable when do preloading

2019-10-15 Thread Uladzislau Rezki
> > > > > > :* The preload is done in non-atomic context, thus it allows us > > > > > > :* to use more permissive allocation masks to be more stable > > > > > > under > > > > > > :* low memory condition and high memory pressure. > > > > > > :* > > > > > > :* Even if it fails

Re: [PATCH v9 0/7] nfc: pn533: add uart phy driver

2019-10-15 Thread Lars Poeschel
On Wed, Oct 09, 2019 at 05:29:07PM -0700, Jakub Kicinski wrote: > On Tue, 8 Oct 2019 16:05:37 +0200, Lars Poeschel wrote: > > The purpose of this patch series is to add a uart phy driver to the > > pn533 nfc driver. > > It first changes the dt strings and docs. The dt compatible strings > > need

Re: [PATCH v2] PCI: aardvark: Wait for endpoint to be ready before training link

2019-10-15 Thread Lorenzo Pieralisi
On Wed, May 22, 2019 at 11:33:50PM +0200, Remi Pommarel wrote: > When configuring pcie reset pin from gpio (e.g. initially set by > u-boot) to pcie function this pin goes low for a brief moment > asserting the PERST# signal. Thus connected device enters fundamental > reset process and link

[PATCH v3 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2019-10-15 Thread Xin Ji
The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. The ANX7625 can support both USB Type-C PD feature and MIPI DSI/DPI to DP feature. This driver only enabled MIPI DSI/DPI to DP feature. Signed-off-by: Xin Ji

Re: [PATCH 1/1] iommu/vt-d: Refactor find_domain() helper

2019-10-15 Thread Joerg Roedel
On Sat, Sep 21, 2019 at 03:06:44PM +0800, Lu Baolu wrote: > Current find_domain() helper checks and does the deferred domain > attachment and return the domain in use. This isn't always the > use case for the callers. Some callers only want to retrieve the > current domain in use. > > This

Re: [PATCH 1/3] arm64: cpufeature: Fix the type of no FP/SIMD capability

2019-10-15 Thread Ard Biesheuvel
On Tue, 15 Oct 2019 at 11:44, Suzuki K Poulose wrote: > > > > On 14/10/2019 17:57, Ard Biesheuvel wrote: > > On Mon, 14 Oct 2019 at 17:50, Dave P Martin wrote: > >> > >> On Mon, Oct 14, 2019 at 04:45:40PM +0100, Suzuki K Poulose wrote: > >>> > >>> > >>> On 14/10/2019 15:52, Dave Martin wrote: >

Re: [PATCH v9 4/7] nfc: pn533: Split pn533 init & nfc_register

2019-10-15 Thread Lars Poeschel
On Wed, Oct 09, 2019 at 05:40:23PM -0700, Jakub Kicinski wrote: > On Tue, 8 Oct 2019 16:05:41 +0200, Lars Poeschel wrote: > > There is a problem in the initialisation and setup of the pn533: It > > registers with nfc too early. It could happen, that it finished > > registering with nfc and

Re: [PATCH] serial: core: Use cons->index for preferred console registration

2019-10-15 Thread Geert Uytterhoeven
Hi Michal, On Tue, Oct 15, 2019 at 11:22 AM Michal Simek wrote: > On 15. 10. 19 11:19, Geert Uytterhoeven wrote: > > On Mon, Sep 2, 2019 at 4:29 PM Michal Simek wrote: > >> The reason for this patch is xilinx_uartps driver which create one dynamic > >> instance per IP with unique major and

Re: [PATCH] sh: use dma_to_phys() instead of dev->dma_pfn_offset

2019-10-15 Thread Christoph Hellwig
On Tue, Oct 15, 2019 at 10:05:52AM +0200, Nicolas Saenz Julienne wrote: > I see, well I guess this one will get ignored too :) > > > Here is the last one: > > > > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/sh-dma-remap > > I'd be happy with your series too. Let's see if we

Re: [PATCH] sched/topology: Disable sched_asym_cpucapacity on domain destruction

2019-10-15 Thread Valentin Schneider
On 15/10/2019 10:22, Dietmar Eggemann wrote: > I still don't understand the benefit of the counter approach here. > sched_smt_present counts the number of cores with SMT. So in case you > have 2 SMT cores with 2 HW threads and you CPU hp out one CPU, you still > have sched_smt_present, although 1

Re: [PATCH] arm64: cpufeature: Don't expose ZFR0 to userspace when SVE is not enabled

2019-10-15 Thread Dave Martin
On Mon, Oct 14, 2019 at 06:20:17PM +0100, Will Deacon wrote: > On Mon, Oct 14, 2019 at 05:57:46PM +0100, Suzuki K Poulose wrote: > > On 14/10/2019 17:43, Will Deacon wrote: > > > On Mon, Oct 14, 2019 at 11:21:13AM +0100, Julien Grall wrote: > > > > The kernel may not support SVE if

<    4   5   6   7   8   9   10   11   >