Re: [PATCH 1/5] cpuidle-pseries: Set the latency-hint before entering CEDE

2020-07-19 Thread Vaidyanathan Srinivasan
* Gautham R Shenoy [2020-07-07 16:41:35]: > From: "Gautham R. Shenoy" > > As per the PAPR, each H_CEDE call is associated with a latency-hint to > be passed in the VPA field "cede_latency_hint". The CEDE states that > we were implicitly entering so far is CEDE with latency-hint = 0. > > This

Re: [PATCH v2 2/2] selftest/cpuidle: Add support for cpuidle latency measurement

2020-07-19 Thread Gautham R Shenoy
Hi Pratik, On Fri, Jul 17, 2020 at 02:48:01PM +0530, Pratik Rajesh Sampat wrote: > This patch adds support to trace IPI based and timer based wakeup > latency from idle states > > Latches onto the test-cpuidle_latency kernel module using the debugfs > interface to send IPIs or schedule a timer

[PATCH] staging: dpaa2-ethsw: fix switch/case fallthrough warning

2020-07-19 Thread Marian Posteuca
Fix the fallthrough warning that is reported by checkpatch. Signed-off-by: Marian Posteuca --- drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c index

[PATCH v4 4/4] power: supply: core: property to control reverse charge

2020-07-19 Thread Qiwu Huang
From: Qiwu Huang Interface to control wireless reverse charge. Supply reverse charge function when enabled. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 12 drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h

[PATCH v4 1/4] power: supply: core: add quick charge type property

2020-07-19 Thread Qiwu Huang
From: Qiwu Huang Reports the kind of quick charge type based on different adapter power. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 21 + drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h| 10

Re: [PATCH 0/5] cpuidle-pseries: Parse extended CEDE information for idle.

2020-07-19 Thread Vaidyanathan Srinivasan
* Gautham R Shenoy [2020-07-07 16:41:34]: > From: "Gautham R. Shenoy" > > Hi, > > On pseries Dedicated Linux LPARs, apart from the polling snooze idle > state, we currently have the CEDE idle state which cedes the CPU to > the hypervisor with latency-hint = 0. > > However, the PowerVM

[PATCH v4 2/4] power: supply: core: add wireless charger adapter type property

2020-07-19 Thread Qiwu Huang
From: Qiwu Huang Reports what type of wireless adapter connection is currently active for the supply. for example it can show if ADAPTER_PD capable source is attached. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 28 +

[PATCH v4 0/4] add some power supply properties about wireless/wired charging

2020-07-19 Thread Qiwu Huang
From: Qiwu Huang quick_charge_type reports quick charge type based on charging power. tx_adapter shows wireless charging adapter type. signal_strength shows degree of coupling between tx and rx when wireless charging. reverse_chg_mode supply interface to enable/disable wireless reverse

[PATCH v4 3/4] power: supply: core: add wireless signal strength property

2020-07-19 Thread Qiwu Huang
From: Qiwu Huang reports wireless signal strength. The value show degree of coupling between tx and rx. Signed-off-by: Qiwu Huang --- Documentation/ABI/testing/sysfs-class-power | 10 ++ drivers/power/supply/power_supply_sysfs.c | 1 + include/linux/power_supply.h|

Re: [PATCH v16 18/22] mm/lru: replace pgdat lru_lock with lruvec lock

2020-07-19 Thread Alex Shi
在 2020/7/19 下午11:14, Alexander Duyck 写道: >> Compare to move to tail, how about to move it to head of struct, which is >> close to lru list? Did you have some data of the place change? > I don't have specific data, just anecdotal evidence from the past that > usually you want to keep locks away

Re: 5.8-rc*: kernel BUG at kernel/signal.c:1917

2020-07-19 Thread Jiri Slaby
On 18. 07. 20, 19:44, Christian Brauner wrote: > On Sat, Jul 18, 2020 at 07:14:07PM +0200, Oleg Nesterov wrote: >> On 07/18, Jiri Slaby wrote: >>> >>> On 17. 07. 20, 14:40, Oleg Nesterov wrote: please see the updated patch below, lets check ptrace_unfreeze() too. >>> >>> Sure, dmesg

Re: [PATCH] platform_data: cros_ec_commands.h: drop a duplicated word

2020-07-19 Thread Randy Dunlap
On 7/19/20 9:42 PM, Tzung-Bi Shih wrote: > On Sun, Jul 19, 2020 at 8:30 AM Randy Dunlap wrote: >> >> Drop the repeated word "using" in a comment. >> >> Signed-off-by: Randy Dunlap >> Cc: Tzung-Bi Shih >> Cc: Mark Brown >> --- > > I guess you didn't include the maintainers: > Benson Leung

Re: [PATCH 1/2] thermal: netlink: Improve the initcall ordering

2020-07-19 Thread Amit Kucheria
On Fri, Jul 17, 2020 at 10:12 PM Daniel Lezcano wrote: > > The initcalls like to play joke. In our case, the thermal-netlink > initcall is called after the thermal-core initcall but this one sends > a notification before the former is initialzed. No issue was spotted, typo: initialized > but it

Re: [PATCH] mm/vmstat: don't do count if no needs

2020-07-19 Thread Alex Shi
>From 4cb977d34227e4bafa95b8da5e47dbd8b6141d26 Mon Sep 17 00:00:00 2001 From: Alex Shi Date: Mon, 20 Jul 2020 11:50:12 +0800 Subject: [PATCH v2] mm/vmstat: don't do count if no needs For couple of vmstat account funcs, the caller usually doesn't check the delta value, if delta == 0, irq or

Re: [PATCH 2/2] thermal: core: Move initialization after core initcall

2020-07-19 Thread Amit Kucheria
On Fri, Jul 17, 2020 at 10:12 PM Daniel Lezcano wrote: > > The generic netlink is initialized at subsys_initcall, so far after > the thermal init routine and the thermal generic netlink family > initialization. > > On ŝome platforms, that leads to a memory corruption. > > The fix was sent to

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

2020-07-19 Thread Stephen Rothwell
Hi all, On Tue, 14 Jul 2020 13:50:12 +1000 Stephen Rothwell wrote: > > On Tue, 7 Jul 2020 12:33:01 +1000 Stephen Rothwell > wrote: > > > > On Tue, 30 Jun 2020 12:54:59 +1000 Stephen Rothwell > > wrote: > > > > > > On Mon, 22 Jun 2020 11:37:00 +1000 Stephen Rothwell > > > wrote: > >

Re: [PATCH v7 10/10] arm64: dts: actions: Add uSD support for Cubieboard7

2020-07-19 Thread Manivannan Sadhasivam
On Sun, Jul 19, 2020 at 11:12:07PM +0530, Amit Singh Tomar wrote: > This commit adds uSD support for Cubieboard7 board based on Actions Semi > S700 SoC. SD0 is connected to uSD slot. Since there is no PMIC support > added yet, fixed regulator has been used as a regulator node. > > Signed-off-by:

Re: [PATCH v2 13/16] scripts/kallsyms: move ignored symbol types to is_ignored_symbol()

2020-07-19 Thread Masahiro Yamada
On Mon, Jul 20, 2020 at 10:46 AM Finn Thain wrote: > > On Sun, 24 Nov 2019, Masahiro Yamada wrote: > > > Collect the ignored patterns to is_ignored_symbol(). > > > > Signed-off-by: Masahiro Yamada > > This commit (887df76de67f5) caused a regression in my powerpc builds as it > causes symbol

Re: [PATCH] net: genetlink: Move initialization to core_initcall

2020-07-19 Thread Amit Kucheria
On Wed, Jul 15, 2020 at 1:11 PM Daniel Lezcano wrote: > > The generic netlink is initialized far after the netlink protocol > itself at subsys_initcall. The devlink is initialized at the same > level, but after, as shown by a disassembly of the vmlinux: > > [ ... ] > 374 8000115f22c0

Re: [RFC PATCH bpf-next 2/2] selftests/bpf: Test __ksym externs with BTF

2020-07-19 Thread Andrii Nakryiko
On Wed, Jul 15, 2020 at 2:46 PM Hao Luo wrote: > > Extend ksyms.c selftest to make sure BTF enables direct loads of ksyms. > > Note that test is done against the kernel btf extended with kernel VARs. > > Signed-off-by: Hao Luo > --- > tools/testing/selftests/bpf/prog_tests/ksyms.c | 2 ++ >

[PATCH] usb: appledisplay: remove needless check before usb_free_coherent()

2020-07-19 Thread Xu Wang
usb_free_coherent() is safe with NULL addr and this check is not required. Signed-off-by: Xu Wang --- drivers/usb/misc/appledisplay.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c index

linux-next: manual merge of the staging tree with Linus' tree

2020-07-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the staging tree got a conflict in: drivers/iio/magnetometer/ak8974.c between commit: 0187294d227d ("iio: magnetometer: ak8974: Fix runtime PM imbalance on error") from Linus' tree and commit: d3be83244c7d ("iio: remove explicit IIO device parent

[PATCH] mm/vmstat: don't do count if no needs

2020-07-19 Thread Alex Shi
For couple of vmstat account funcs, the caller usually doesn't check the delta value, if delta == 0, irq or atomic operator is a waste. That's better to be skipped. Signed-off-by: Alex Shi Cc: Andrew Morton Cc: linux...@kvack.org Cc: linux-kernel@vger.kernel.org --- mm/vmstat.c | 24

Re: [RFC PATCH bpf-next 1/2] bpf: BTF support for __ksym externs

2020-07-19 Thread Andrii Nakryiko
On Wed, Jul 15, 2020 at 2:45 PM Hao Luo wrote: > > Previous commits: > > commit 1c0c7074fefd ("libbpf: Add support for extracting kernel symbol > addresses") > commit 2e33efe32e01 ("libbpf: Generalize libbpf externs support") > > have introduced a new type of extern variable ksyms to access

Re: [PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices

2020-07-19 Thread Eli Cohen
On Mon, Jul 20, 2020 at 12:12:30PM +0800, Jason Wang wrote: > > On 2020/7/19 上午3:49, Eli Cohen wrote: > >On Fri, Jul 17, 2020 at 04:57:29PM +0800, Jason Wang wrote: > >>>Looks like checking intialized is enough. Will fix this. > >+ > >+static void mlx5_vdpa_set_vq_ready(struct vdpa_device

Re: [PATCH for v5.9] dt-bindings: aspeed-lpc: Replace HTTP links with HTTPS ones

2020-07-19 Thread Joel Stanley
On Sun, 19 Jul 2020 at 17:34, Alexander A. Klimov wrote: > diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt > b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt > index 86446074e206..4f3cf91b3b7f 100644 > --- a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt > +++

Re: [PATCH 03/10] ASoC: audio-graph: Support Codec with multiple endpoints

2020-07-19 Thread Kuninori Morimoto
Hi Sameer > >> diff --git a/sound/soc/generic/audio-graph-card.c > >> b/sound/soc/generic/audio-graph-card.c > >> index 1e20562..b1903f9 100644 > >> --- a/sound/soc/generic/audio-graph-card.c > >> +++ b/sound/soc/generic/audio-graph-card.c > >> @@ -201,8 +201,7 @@ static void

[PATCH 3/4] ACPI: APD: Add a fmw property is_raven

2020-07-19 Thread Akshu Agrawal
Since there is slight difference in AMD RV based soc in misc clk architecture. The fmw property will help in differentiating the SoCs. Signed-off-by: Akshu Agrawal --- drivers/acpi/acpi_apd.c | 4 include/linux/platform_data/clk-fch.h | 1 + 2 files changed, 5 insertions(+)

[PATCH 1/4] ACPI: APD: Change name from ST to FCH

2020-07-19 Thread Akshu Agrawal
AMD SoC general pupose clk is present in new platforms with same MMIO mappings. We can reuse the same clk handler support for other platforms. Hence, changing name from ST(SoC) to FCH(IP) Signed-off-by: Akshu Agrawal --- drivers/acpi/acpi_apd.c| 14 +++---

[v2 4/4] clk: x86: Support RV architecture

2020-07-19 Thread Akshu Agrawal
There is minor difference between previous family of SoC and the current one. Which is the there is only 48Mh fixed clk. There is no mux and no option to select another freq as there in previous. Signed-off-by: Akshu Agrawal --- v2: Consolidated the loops in remove. drivers/clk/x86/clk-fch.c |

[PATCH 2/4] clk: x86: Change name from ST to FCH

2020-07-19 Thread Akshu Agrawal
AMD SoC general pupose clk is present in new platforms with minor differences. We can reuse the same clk driver for other platforms. Hence, changing name from ST(SoC) to FCH(IP) Signed-off-by: Akshu Agrawal --- drivers/clk/x86/Makefile| 2 +- drivers/clk/x86/{clk-st.c =>

Re: [PATCH v2 1/2] cpuidle: Trace IPI based and timer based wakeup latency from idle states

2020-07-19 Thread Gautham R Shenoy
On Fri, Jul 17, 2020 at 02:48:00PM +0530, Pratik Rajesh Sampat wrote: > Fire directed smp_call_function_single IPIs from a specified source > CPU to the specified target CPU to reduce the noise we have to wade > through in the trace log. > The module is based on the idea written by Srivatsa Bhat

Re: [PATCH 2/5] clk: x86: Change name from ST to FCH

2020-07-19 Thread Agrawal, Akshu
On 7/16/2020 6:12 AM, Stephen Boyd wrote: Quoting Akshu Agrawal (2020-07-12 17:59:50) diff --git a/drivers/clk/x86/clk-st.c b/drivers/clk/x86/clk-fch.c similarity index 73% rename from drivers/clk/x86/clk-st.c rename to drivers/clk/x86/clk-fch.c index 25d4b97aff9b..b252f0cf0628 100644 ---

Re: [PATCH 4/5] clk: x86: Support RV architecture

2020-07-19 Thread Agrawal, Akshu
On 7/16/2020 6:33 AM, Stephen Boyd wrote: Quoting Akshu Agrawal (2020-07-12 17:59:52) There is minor difference between previous family of SoC and the current one. Which is the there is only 48Mh fixed clk. There is no mux and no option to select another freq as there in previous.

[PATCH v2 4/4] mm/gup: use a standard migration target allocation callback

2020-07-19 Thread js1304
From: Joonsoo Kim There is a well-defined migration target allocation callback. Use it. Acked-by: Vlastimil Babka Acked-by: Michal Hocko Signed-off-by: Joonsoo Kim --- mm/gup.c | 54 ++ 1 file changed, 6 insertions(+), 48 deletions(-)

[PATCH v2 3/4] mm/hugetlb: make hugetlb migration callback CMA aware

2020-07-19 Thread js1304
From: Joonsoo Kim new_non_cma_page() in gup.c requires to allocate the new page that is not on the CMA area. new_non_cma_page() implements it by using allocation scope APIs. However, there is a work-around for hugetlb. Normal hugetlb page allocation API for migration is

[PATCH v2 1/4] mm/page_alloc: fix non cma alloc context

2020-07-19 Thread js1304
From: Joonsoo Kim Currently, preventing cma area in page allocation is implemented by using current_gfp_context(). However, there are two problems of this implementation. First, this doesn't work for allocation fastpath. In the fastpath, original gfp_mask is used since current_gfp_context() is

[PATCH v2 2/4] mm/gup: restrict CMA region by using allocation scope API

2020-07-19 Thread js1304
From: Joonsoo Kim We have well defined scope API to exclude CMA region. Use it rather than manipulating gfp_mask manually. With this change, we can now restore __GFP_MOVABLE for gfp_mask like as usual migration target allocation. It would result in that the ZONE_MOVABLE is also searched by page

Re: [PATCH for v5.9] RDS: Replace HTTP links with HTTPS ones

2020-07-19 Thread Leon Romanovsky
On Sun, Jul 19, 2020 at 05:58:45PM +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If

Re: [PATCH 09/10] arm64: tegra: Audio graph header for Tegra210

2020-07-19 Thread Kuninori Morimoto
Hi Sameer > >> +_admaif { > >> + admaif_port: port { > >> + admaif0: endpoint@0 { > >> + remote-endpoint = <_admaif0>; > >> + }; > >> + admaif1: endpoint@1 { > >> + remote-endpoint = <_admaif1>; > >> +

Re: [PATCH] ARM: dts: ZII: Disable HW Ethernet switch reset GPIO

2020-07-19 Thread Chris Healy
On Sun, Jul 19, 2020 at 8:15 PM Shawn Guo wrote: > > On Wed, Jul 15, 2020 at 02:22:27PM -0700, Chris Healy wrote: > > Disable Ethernet switch reset GPIO with ZII platforms that have it > > enabled to sync up with existing ZII platforms that already have > > it disabled. > > I do not follow it.

Re: [PATCH v16 00/22] per memcg lru_lock

2020-07-19 Thread Hugh Dickins
On Mon, 20 Jul 2020, Alex Shi wrote: > 在 2020/7/19 下午11:23, Hugh Dickins 写道: > > I noticed that 5.8-rc5, with lrulock v16 applied, took significantly > > longer to run loads than without it applied, when there should have been > > only slight differences in system time. Comparing /proc/vmstat,

Re: [PATCH 2/3] fsi: occ: Add support for P10

2020-07-19 Thread Joel Stanley
On Sun, 19 Jul 2020 at 22:13, Guenter Roeck wrote: > > On Fri, May 01, 2020 at 10:08:32AM -0500, Eddie James wrote: > > The P10 OCC has a different SRAM address for the command and response > > buffers. In addition, the SBE commands to access the SRAM have changed > > format. Add versioning to

Re: [PATCH] platform_data: cros_ec_commands.h: drop a duplicated word

2020-07-19 Thread Tzung-Bi Shih
On Sun, Jul 19, 2020 at 8:30 AM Randy Dunlap wrote: > > Drop the repeated word "using" in a comment. > > Signed-off-by: Randy Dunlap > Cc: Tzung-Bi Shih > Cc: Mark Brown > --- I guess you didn't include the maintainers: Benson Leung (maintainer:CHROMEOS EC SUBDRIVERS) Enric Balletbo i Serra

Re: [RFC PATCH v3 00/18] Support for Tegra video capture from external sensor

2020-07-19 Thread Sowjanya Komatineni
On 7/17/20 10:48 AM, Sowjanya Komatineni wrote: On 7/17/20 10:38 AM, Sowjanya Komatineni wrote: On 7/17/20 10:23 AM, Sowjanya Komatineni wrote: On 7/17/20 10:08 AM, Hans Verkuil wrote: On 17/07/2020 18:34, Sowjanya Komatineni wrote: On 7/17/20 3:54 AM, Hans Verkuil wrote: Hi Sowjanya,

Re: linux-next: not-present page at swap_vma_readahead()

2020-07-19 Thread Huang, Ying
Qian Cai writes: > On Mon, Jul 20, 2020 at 03:32:59AM +, Huang, Ying wrote: >> Thanks! Can you try the dbg patch attached? That will print more debugging >> information when abnormal PTE pointer is detected. > > Here with both of your patches applied, > > [ 183.627876][ T3959] ra_info:

Re: [PATCH v2 2/3] powerpc/powernv/idle: save-restore DAWR0, DAWRX0 for P10

2020-07-19 Thread Ravi Bangoria
Hi Nick, On 7/13/20 11:22 AM, Nicholas Piggin wrote: Excerpts from Pratik Rajesh Sampat's message of July 10, 2020 3:22 pm: Additional registers DAWR0, DAWRX0 may be lost on Power 10 for stop levels < 4. Therefore save the values of these SPRs before entering a "stop" state and restore their

Re: [PATCH v2 1/4] dt-bindings: media: venus: Add an optional power domain for perf voting

2020-07-19 Thread Rajendra Nayak
On 7/18/2020 12:26 AM, Rob Herring wrote: On Thu, Jul 16, 2020 at 11:52 PM Rajendra Nayak wrote: On 7/17/2020 1:29 AM, Rob Herring wrote: On Thu, Jul 16, 2020 at 11:12:16AM +0530, Rajendra Nayak wrote: Add an optional power domain which when specified can be used for setting the

Re: [PATCH v2 2/3] powerpc/powernv/idle: save-restore DAWR0,DAWRX0 for P10

2020-07-19 Thread Ravi Bangoria
Hi Pratik, On 7/10/20 10:52 AM, Pratik Rajesh Sampat wrote: Additional registers DAWR0, DAWRX0 may be lost on Power 10 for stop levels < 4. p10 has one more pair DAWR1/DAWRX1. Please include that as well. Ravi

Re: linux-next: Tree for Jul 17 (drivers/rtc/rtc-ds1374.o)

2020-07-19 Thread Stephen Rothwell
Hi Johnson, On Mon, 20 Jul 2020 03:46:15 + Johnson CH Chen (陳昭勳) wrote: > > > On Fri, 17 Jul 2020 09:49:05 -0700 Randy Dunlap > > wrote: > > > on x86_64: > > > # CONFIG_WATCHDOG is not set > > > > > Thanks for your information. > > It seems RTC_DRV_DS1374_WDT should be depended on

Re: [PATCH 09/10] arm64: tegra: Audio graph header for Tegra210

2020-07-19 Thread Sameer Pujar
On 7/20/2020 5:40 AM, Kuninori Morimoto wrote: External email: Use caution opening links or attachments Hi Sameer +_admaif { + admaif_port: port { + admaif0: endpoint@0 { + remote-endpoint = <_admaif0>; + }; + admaif1: endpoint@1

[PATCH v1] xarray: update document for error space returned by xarray normal API

2020-07-19 Thread Wang Long
In the current xarray code, the negative value -1 and -4095 represented as an error. xa_is_err(xa_mk_internal(-4095)) and xa_is_err(xa_mk_internal(-1)) are all return true. This patch update the document. Signed-off-by: Wang Long --- include/linux/xarray.h | 2 +- 1 file changed, 1

Re: [PATCH 03/10] ASoC: audio-graph: Support Codec with multiple endpoints

2020-07-19 Thread Sameer Pujar
On 7/20/2020 5:07 AM, Kuninori Morimoto wrote: External email: Use caution opening links or attachments Hi Sameer If a Codec port has multiple endpoints, only first endpoint gets parsed and remaining are ignored. This can be fixed by removing 'dup_codec' flag passed to

Re: [RFC PATCH 10/16] sched: Trivial forced-newidle balancer(Internet mail)

2020-07-19 Thread 蒋彪
Hi, > On Jul 1, 2020, at 5:32 AM, Vineeth Remanan Pillai > wrote: > > From: Peter Zijlstra > > When a sibling is forced-idle to match the core-cookie; search for > matching tasks to fill the core. > > rcu_read_unlock() can incur an infrequent deadlock in > sched_core_balance(). Fix this by

Re: [PATCH vhost next 06/10] vdpa: Add means to communicate vq status on get_vq_state

2020-07-19 Thread Jason Wang
On 2020/7/16 下午6:25, Eli Cohen wrote: On Thu, Jul 16, 2020 at 05:35:18PM +0800, Jason Wang wrote: On 2020/7/16 下午4:21, Eli Cohen wrote: On Thu, Jul 16, 2020 at 04:11:00PM +0800, Jason Wang wrote: On 2020/7/16 下午3:23, Eli Cohen wrote: Currently, get_vq_state() is used only to pass the

[PATCH] media: b2bc: remove needless check before usb_free_coherent()

2020-07-19 Thread Xu Wang
usb_free_coherent() is safe with NULL addr and this check is not required. Signed-off-by: Xu Wang --- drivers/media/usb/b2c2/flexcop-usb.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/media/usb/b2c2/flexcop-usb.c b/drivers/media/usb/b2c2/flexcop-usb.c index

Re: [PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices

2020-07-19 Thread Jason Wang
On 2020/7/19 上午3:49, Eli Cohen wrote: On Fri, Jul 17, 2020 at 04:57:29PM +0800, Jason Wang wrote: Looks like checking intialized is enough. Will fix this. + +static void mlx5_vdpa_set_vq_ready(struct vdpa_device *vdev, u16 idx, bool ready) +{ + struct mlx5_vdpa_dev *mvdev =

Re: [PATCH] xarray: update document for error space returned by xarray normal API

2020-07-19 Thread Chaitanya Kulkarni
On 7/19/20 20:58, Wang Long wrote: > xa_is_error(xa_mk_internal(-4095)) and xa_is_error(xa_mk_internal(-1)) > are all return true. 's/xa_is_error()/xa_is_err()/` ? Reviewed-by: Chaitanya Kulkarni

Re: linux-next: manual merge of the tip tree with the crypto tree

2020-07-19 Thread Stephen Rothwell
Hi Uros, On Fri, 17 Jul 2020 09:31:18 +0200 Uros Bizjak wrote: > > Please find attached the incremental patch that puts back integer > parts of inst.h. This resolves the conflict with the tip tree. The tip tree change needs the XMM parts kept as well, sorry. So I ended up just removing the

Re: [PATCH v5 3/4] drm/bridge: Introduce LT9611 DSI to HDMI bridge

2020-07-19 Thread Vinod Koul
Hi Sam, On 19-07-20, 19:18, Sam Ravnborg wrote: > Hi Vinod. > > Three trivial points below. > The rest looks good. > > With these fixed you can add: > Reviewed-by: Sam Ravnborg Thanks, I will send an update with nits fixed -- ~Vinod

Re: [PATCH] cifs: delete duplicated words in header files

2020-07-19 Thread Steve French
Merged into cifs-2.6.git for-next On Sun, Jul 19, 2020 at 7:14 PM Randy Dunlap wrote: > > Drop repeated words in multiple comments. > (be, use, the, See) > > Signed-off-by: Randy Dunlap > Cc: Steve French > Cc: linux-c...@vger.kernel.org > Cc: samba-techni...@lists.samba.org > --- >

[PATCH] xarray: update document for error space returned by xarray normal API

2020-07-19 Thread Wang Long
In the current xarray code, the negative value -1 and -4095 represented as an error. xa_is_error(xa_mk_internal(-4095)) and xa_is_error(xa_mk_internal(-1)) are all return true. This patch update the document. Signed-off-by: Wang Long --- include/linux/xarray.h | 2 +- 1 file changed, 1

RE: [PATCH] spi: spi-cadence: add support for chip select high

2020-07-19 Thread Shreyas Joshi
Were you able to patch my driver successfully? -Original Message- From: Shreyas Joshi Sent: Saturday, 11 July 2020 7:17 AM To: broo...@kernel.org; linux-...@vger.kernel.org; shreyasjosh...@gmail.com Cc: linux-kernel@vger.kernel.org; Shreyas Joshi Subject: [PATCH] spi: spi-cadence: add

Re: linux-next: not-present page at swap_vma_readahead()

2020-07-19 Thread Qian Cai
On Mon, Jul 20, 2020 at 03:32:59AM +, Huang, Ying wrote: > Thanks! Can you try the dbg patch attached? That will print more debugging > information when abnormal PTE pointer is detected. Here with both of your patches applied, [ 183.627876][ T3959] ra_info: 8, 3, 4, aabe3209 [

Re: [RFC PATCH 14/16] irq: Add support for core-wide protection of IRQ and softirq

2020-07-19 Thread Joel Fernandes
On Sat, Jul 18, 2020 at 01:36:16AM +0200, Thomas Gleixner wrote: > Vineeth, Joel! Hi Thomas, > Vineeth Remanan Pillai writes: > > From: "Joel Fernandes (Google)" > > > > Lastly, we also check in the schedule loop if we are about to schedule > > an untrusted process while the core is in such a

[PATCH net-next v2 0/4] net: dsa: Setup dsa_netdev_ops

2020-07-19 Thread Florian Fainelli
Hi David, Jakub, This patch series addresses the overloading of a DSA CPU/management interface's netdev_ops for the purpose of providing useful information from the switch side. Up until now we had duplicated the existing netdev_ops structure and added specific function pointers to return

[PATCH net-next v2 3/4] net: Call into DSA netdevice_ops wrappers

2020-07-19 Thread Florian Fainelli
Make the core net_device code call into our ndo_do_ioctl() and ndo_get_phys_port_name() functions via the wrappers defined previously Signed-off-by: Florian Fainelli --- net/core/dev.c | 5 + net/core/dev_ioctl.c | 5 + 2 files changed, 10 insertions(+) diff --git

[PATCH net-next v2 4/4] net: dsa: Setup dsa_netdev_ops

2020-07-19 Thread Florian Fainelli
Now that we have all the infrastructure in place for calling into the dsa_ptr->netdev_ops function pointers, install them when we configure the DSA CPU/management interface and tear them down. The flow is unchanged from before, but now we preserve equality of tests when network device drivers do

[PATCH net-next v2 1/4] net: Wrap ndo_do_ioctl() to prepare for DSA stacked ops

2020-07-19 Thread Florian Fainelli
In preparation for adding another layer of call into a DSA stacked ops singleton, wrap the ndo_do_ioctl() call into dev_do_ioctl(). Reviewed-by: Andrew Lunn Signed-off-by: Florian Fainelli --- net/core/dev_ioctl.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-)

[PATCH net-next v2 2/4] net: dsa: Add wrappers for overloaded ndo_ops

2020-07-19 Thread Florian Fainelli
Add definitions for the dsa_netdevice_ops structure which is a subset of the net_device_ops structure for the specific operations that we care about overlaying on top of the DSA CPU port net_device and provide inline stubs that take core managing whether DSA code is reachable. Signed-off-by:

Re: Linux 5.8-rc6

2020-07-19 Thread Sedat Dilek
Hi, thanks for the new RC. I wonder why there is a time gap between tagging v5.8-rc6 in [1] (first) and [2] (15-16mins later). Can you explain that? ( Here it is UTC+2 means 9 hours ahead of your local-time - I started my build 01:02 a.m. local-time. ) Thanks. Regards, - Sedat - [1]

RE: linux-next: Tree for Jul 17 (drivers/rtc/rtc-ds1374.o)

2020-07-19 Thread 陳昭勳
Hi Stephen, > From: Stephen Rothwell > Sent: Saturday, July 18, 2020 9:39 AM > To: Randy Dunlap > Cc: Linux Next Mailing List ; Linux Kernel Mailing > List ; linux-...@vger.kernel.org; Alessandro > Zummo ; Alexandre Belloni > ; Scott Wood ; > Johnson CH Chen (陳昭勳) > Subject: Re: linux-next:

Re: [PATCH v4 09/10] powerpc/watchpoint: Return available watchpoints dynamically

2020-07-19 Thread Jordan Niethe
On Fri, Jul 17, 2020 at 2:11 PM Ravi Bangoria wrote: > > So far Book3S Powerpc supported only one watchpoint. Power10 is > introducing 2nd DAWR. Enable 2nd DAWR support for Power10. > Availability of 2nd DAWR will depend on CPU_FTR_DAWR1. > > Signed-off-by: Ravi Bangoria > --- >

[PATCH] xarray: update document for error space returned by xarray normal API

2020-07-19 Thread Wang Long
In the current xarray code, the negative value -1 and -4095 represented as an error. xa_is_error(xa_mk_internal(-4095)) and xa_is_error(xa_mk_internal(-1)) are all return true. This patch update the document. Signed-off-by: Wang Long --- include/linux/xarray.h | 2 +- 1 file changed, 1

RE: [PATCH v2 2/3] usb: chipidea: imx: support disabling runtime-pm

2020-07-19 Thread Peter Chen
> On Wed, 2020-07-15 at 00:51 +, Peter Chen wrote: > > > > > The Toradex Colibri iMX6ULL board has a special USB hardware design. > > > With runtime-pm enabled USB reset itself continuously. Furthermore > > > the OTG port is also not enumerating devices if the Chipidea IP is > > > in runtime

[PATCH] Fix memory overwriting issue when copy an address to user space

2020-07-19 Thread lebon zhou
When application provided buffer size less than sockaddr_storage, then kernel will overwrite some memory area which may cause memory corruption, e.g.: in recvmsg case, let msg_name=malloc(8) and msg_namelen=8, then usually application can call recvmsg successful but actually application memory get

Re: [PATCH] Revert "kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled"

2020-07-19 Thread Joe Lawrence
On 7/17/20 2:29 PM, Josh Poimboeuf wrote: Use of the new -flive-patching flag was introduced with the following commit: 43bd3a95c98e ("kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled") This flag has several drawbacks: [ ... snip ... ] - While there *is* a distro which relies

RE: linux-next: not-present page at swap_vma_readahead()

2020-07-19 Thread Huang, Ying
Thanks! Can you try the dbg patch attached? That will print more debugging information when abnormal PTE pointer is detected. Best Regards, Huang, Ying From: Qian Cai [c...@lca.pw] Sent: Monday, July 20, 2020 10:12 AM To: Huang, Ying Cc: Linux-MM; LKML;

[PATCH -next] mm/gup.c: Fix the comment of return value for populate_vma_page_range()

2020-07-19 Thread Tang Yizhou
The return value of populate_vma_page_range() is consistent with __get_user_pages(), and so is the function comment of return value. Signed-off-by: Tang Yizhou --- mm/gup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/gup.c b/mm/gup.c index 2cc5eba44362..a55f1ec712e9

Re: [PATCH v3] ARM: dts: imx6qdl-icore: Fix OTG_ID pin and sdcard detect

2020-07-19 Thread Shawn Guo
On Fri, Jul 17, 2020 at 01:33:52PM +0530, Suniel Mahesh wrote: > From: Michael Trimarchi > > The current pin muxing scheme muxes GPIO_1 pad for USB_OTG_ID > because of which when card is inserted, usb otg is enumerated > and the card is never detected. > > [ 64.492645] cfg80211: failed to

Re: [PATCH] ARM: dts: vf610-zii-ssmb-spu3: Add node for switch watchdog

2020-07-19 Thread Shawn Guo
On Wed, Jul 15, 2020 at 03:07:58PM -0700, Chris Healy wrote: > Add I2C child node for switch watchdog present on SPU3 > > Signed-off-by: Chris Healy Applied, thanks.

[PATCH] net: vxge-main: Remove unnecessary cast in kfree()

2020-07-19 Thread Xu Wang
Remove unnecassary casts in the argument to kfree. Signed-off-by: Xu Wang --- drivers/net/ethernet/neterion/vxge/vxge-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.c b/drivers/net/ethernet/neterion/vxge/vxge-main.c

Re: [PATCH v2] ARM: dts: vf610-zii-ssmb-dtu: Add no-sdio/no-sd properties

2020-07-19 Thread Shawn Guo
On Wed, Jul 15, 2020 at 02:31:48PM -0700, Chris Healy wrote: > esdhc0 is connected to an eMMC, so it is safe to pass the "no-sdio"/"no-sd" > properties. > > esdhc1 is wired to a standard SD socket, so pass the "no-sdio" property. > > Signed-off-by: Chris Healy > Reviewed-by: Fabio Estevam

Re: [PATCH v2 2/2] ARM: dts: stm32: Enable MIPI DSI display support.

2020-07-19 Thread Hua Dillon
Hi Adrian, Adrian Pop 于2020年7月19日周日 下午10:54写道: > > Hello Hua, > > Thank you for your review, > > On Tue, Jul 14, 2020 at 6:37 AM Hua Dillon wrote: > > > > Hi, Adrian, > > > > Just one suggestion for you. > > > > Adrian Pop 于2020年7月3日周五 上午1:30写道: > > > > > > STM32f769-disco features a 4" MIPI

[PATCH] MAINTAINERS: mark usbvision as obsolete

2020-07-19 Thread B K Karthik
mark staging/media/usbvision as obsolete so checkpatch tells people not to send patches. Signed-off-by: B K Karthik --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index a88bf0759c90..82120c2fcedd 100644 --- a/MAINTAINERS +++

Re: [PATCH] ARM: dts: ZII: Disable HW Ethernet switch reset GPIO

2020-07-19 Thread Shawn Guo
On Wed, Jul 15, 2020 at 02:22:27PM -0700, Chris Healy wrote: > Disable Ethernet switch reset GPIO with ZII platforms that have it > enabled to sync up with existing ZII platforms that already have > it disabled. I do not follow it. The reset GPIO is part of hardware description. We shouldn't

Re: [PATCH net-next v2] net: ena: Fix using plain integer as NULL pointer in ena_init_napi_in_range

2020-07-19 Thread Joe Perches
On Mon, 2020-07-20 at 10:53 +0800, Wang Hai wrote: > Fix sparse build warning: > > drivers/net/ethernet/amazon/ena/ena_netdev.c:2193:34: warning: > Using plain integer as NULL pointer [] > diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c > b/drivers/net/ethernet/amazon/ena/ena_netdev.c

Re: [PATCH] dt-bindings: hwmon: adm1272: add adm1272-adm1275-temp1-en binding

2020-07-19 Thread Chu Lin
On Sun, Jul 19, 2020 at 3:22 PM Guenter Roeck wrote: > > On Fri, Jul 10, 2020 at 12:42:58AM +, Chu Lin wrote: > > Problem: > > adm1272 and adm1278 supports temperature sampling. The > > current way of enabling it requires the user manually unbind the device > > from the driver, flip the

Re: [RFC PATCH 4/7] x86: use exit_lazy_tlb rather than membarrier_mm_sync_core_before_usermode

2020-07-19 Thread Nicholas Piggin
Excerpts from Mathieu Desnoyers's message of July 17, 2020 11:42 pm: > - On Jul 16, 2020, at 7:26 PM, Nicholas Piggin npig...@gmail.com wrote: > [...] >> >> membarrier does replace barrier instructions on remote CPUs, which do >> order accesses performed by the kernel on the user address

Re: [PATCH v16 00/22] per memcg lru_lock

2020-07-19 Thread Alex Shi
在 2020/7/19 下午11:23, Hugh Dickins 写道: > I noticed that 5.8-rc5, with lrulock v16 applied, took significantly > longer to run loads than without it applied, when there should have been > only slight differences in system time. Comparing /proc/vmstat, something > that stood out was "pgrotated 0"

[PATCH net-next v2] net: ena: Fix using plain integer as NULL pointer in ena_init_napi_in_range

2020-07-19 Thread Wang Hai
Fix sparse build warning: drivers/net/ethernet/amazon/ena/ena_netdev.c:2193:34: warning: Using plain integer as NULL pointer Reported-by: Hulk Robot Signed-off-by: Wang Hai Suggested-by: Joe Perches Acked-by: Shay Agroskin --- v1->v2: Improve code readability based on Joe Perches's

Re: [PATCH v2 4/4] mm/vmalloc: Hugepage vmalloc mappings

2020-07-19 Thread Nicholas Piggin
Excerpts from Zefan Li's message of July 20, 2020 12:02 pm: >> +static int vmap_pages_range_noflush(unsigned long start, unsigned long end, >> +pgprot_t prot, struct page **pages, >> +unsigned int page_shift) >> +{ >> +if

Re: [PATCH 2/2] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-07-19 Thread Tzung-Bi Shih
On Fri, Jul 17, 2020 at 8:02 PM Cheng-Yi Chiang wrote: > diff --git a/sound/soc/qcom/sc7180.c b/sound/soc/qcom/sc7180.c > new file mode 100644 > index ..cbe6b487d432 > --- /dev/null > +++ b/sound/soc/qcom/sc7180.c > @@ -0,0 +1,410 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* >

[PATCH V2 0/1] irqchip: intmux: implement intmux PM

2020-07-19 Thread Joakim Zhang
This patch intends to implement intmux PM. ChangeLogs: V1->V2: 1. add more detailed commit message. 2. use u32 for 32bit HW registers. 3. fix kbuild failures. 4. move trivial functions into their respective callers. 5. squash two patches together. Joakim

Re: [PATCH for v5.9] ARM: dts: mxs: Replace HTTP links with HTTPS ones

2020-07-19 Thread Shawn Guo
On Sun, Jul 19, 2020 at 12:10:08PM +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If

[PATCH V2 1/1] irqchip: imx-intmux: implement intmux PM

2020-07-19 Thread Joakim Zhang
When system suspended, we could explicitly disable clock to save power. And we need save registers' state since it could be lost after power off. Implement PM which will: 1) Without CONFIG_PM, clock is always on after probe stage. 2) With CONFIG_PM, clock is off after probe stage. 3) Disable

Re: [RESEND v2] arm64: dts: lx2160a-rdb: fix shunt-resistor value

2020-07-19 Thread Shawn Guo
On Tue, Jul 14, 2020 at 03:08:28PM +0800, Biwen Li wrote: > From: Biwen Li > > Fix value of shunt-resistor property. > The LX2160A-RDB has 500 uOhm shunt for > the INA220, not 1000 uOhm. Unless > it will get wrong power consumption(1/2) > > Signed-off-by: Biwen Li Applied, thanks.

Re: [PATCH] irqchip/gic-v4.1: Ensure accessing the correct RD when writing INVALLR

2020-07-19 Thread Zenghui Yu
Hi Marc, On 2020/7/17 19:07, Marc Zyngier wrote: On Thu, 09 Jul 2020 14:49:59 +0100, Zenghui Yu wrote: The GICv4.1 spec tells us that it's CONSTRAINED UNPREDICTABLE to issue a register-based invalidation operation for a vPEID not mapped to that RD, or another RD within the same CommonLPIAff

[PATCH 4/4] stm class: ftrace: use different channel accroding to CPU

2020-07-19 Thread Tingwei Zhang
To avoid mixup of packets from differnt ftrace packets simultaneously, use different channel for packets from different CPU. Signed-off-by: Tingwei Zhang --- drivers/hwtracing/stm/ftrace.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/hwtracing/stm/ftrace.c

[PATCH 2/4] tracing: add trace_export support for event trace

2020-07-19 Thread Tingwei Zhang
Only function traces can be exported to other destinations currently. This patch exports event trace as well. Signed-off-by: Tingwei Zhang --- kernel/trace/trace.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/kernel/trace/trace.c

  1   2   3   4   5   6   >