Re: [PATCH v2 12/17] ASoC: sun8i-codec: Protect the clock rate while streams are open

2020-10-19 Thread Maxime Ripard
On Wed, Oct 14, 2020 at 01:19:36AM -0500, Samuel Holland wrote: > The codec's clock input is shared among all AIFs, and shared with other > audio-related hardware in the SoC, including I2S and SPDIF controllers. > To ensure sample rates selected by userspace or by codec2codec DAI links > are mainta

[PATCH] blk-mq: remove the calling of local_memory_node()

2020-10-19 Thread Xianting Tian
We don't need to check whether the node is memoryless numa node before calling allocator interface. SLUB(and SLAB,SLOB) relies on the page allocator to pick a node. Page allocator should deal with memoryless nodes just fine. It has zonelists constructed for each possible nodes. And it will automati

[PATCH v11 1/8] dt-bindings: mtd: Describe Rockchip RK3xxx NAND flash controller

2020-10-19 Thread Yifeng Zhao
Documentation support for Rockchip RK3xxx NAND flash controllers Signed-off-by: Yifeng Zhao --- (no changes since v8) Changes in v8: - Fix make dt_binding_check error Changes in v7: - Fix some wrong define Changes in v6: - Fix some wrong define - Modified the definition of compatible Changes

[PATCH v11 0/8] Add Rockchip NFC drivers for RK3308 and others

2020-10-19 Thread Yifeng Zhao
Rockchp's NFC(Nand Flash Controller) has four versions: V600, V622, V800 and V900.This series patch can support all four versions. Changes in v11: - Fix compile error. Changes in v10: - Fix compile error on master v5.9-rc7 Changes in v9: - The nfc->buffer will realloc while the page size of t

[PATCH v11 8/8] arm: dts: rockchip: Add NFC node for RK3036 SoC

2020-10-19 Thread Yifeng Zhao
Add NAND FLASH Controller(NFC) node for RK3036 SoC. Signed-off-by: Yifeng Zhao --- (no changes since v1) arch/arm/boot/dts/rk3036.dtsi | 52 +++ 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi index 09

[PATCH v11 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-10-19 Thread Yifeng Zhao
This driver supports Rockchip NFC (NAND Flash Controller) found on RK3308, RK2928, RKPX30, RV1108 and other SOCs. The driver has been tested using 8-bit NAND interface on the ARM based RK3308 platform. Support Rockchip SoCs and NFC versions: - PX30 and RK3326(NFCv900). ECC: 16/40/60/70 bit

[PATCH v11 5/8] arm64: dts: rockchip: Add NFC node for PX30 SoC

2020-10-19 Thread Yifeng Zhao
Add NAND FLASH Controller(NFC) node for PX30 SoC. Signed-off-by: Yifeng Zhao --- (no changes since v1) arch/arm64/boot/dts/rockchip/px30.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi in

[PATCH v11 3/8] MAINTAINERS: add maintainers to ROCKCHIP NFC

2020-10-19 Thread Yifeng Zhao
Add maintainers to ROCKCHIP NFC. Signed-off-by: Yifeng Zhao --- (no changes since v1) MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5919b758c708..b2db04cfec61 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2362,12 +2362,12 @

[PATCH v11 6/8] arm: dts: rockchip: Add NFC node for RV1108 SoC

2020-10-19 Thread Yifeng Zhao
Add NAND FLASH Controller(NFC) node for RV1108 SoC. Signed-off-by: Yifeng Zhao --- (no changes since v1) arch/arm/boot/dts/rv1108.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rv1108.dtsi b/arch/arm/boot/dts/rv1108.dtsi index a1a08cb9364e..1696ea19488b

Re: disabling CONFIG_LED_CLASS (SND_HDA_CODEC_REALTEK)

2020-10-19 Thread Udo van den Heuvel
People, At https://www.kernel.org/doc/html/latest/leds/leds-class.html we can read that the LEDS code supposedly optimizes away when certain conditions are met. Especially the Realtek HDA driver *unconditionally* (as found in 5.9.1) *wants* to enable LED functionality. I.e.: if this blockade is li

Re: [PATCH v4 9/9] riscv: Fixup lockdep_assert_held(&text_mutex) in patch_insn_write

2020-10-19 Thread Masami Hiramatsu
On Sat, 17 Oct 2020 07:06:17 + guo...@kernel.org wrote: > From: Guo Ren > > It will cause warning messages: > echo function_graph > /sys/kernel/debug/tracing/current_tracer > [ 47.691397] [ cut here ] > [ 47.692899] WARNING: CPU: 0 PID: 11 at arch/riscv/kernel/pat

[PATCH v2] mm/compaction: Rename 'start_pfn' to 'iteration_start_pfn' in compact_zone()

2020-10-19 Thread yanfei . xu
From: Yanfei Xu There are two 'start_pfn' declared in compact_zone() which have different meaning. Rename the second one to 'iteration_start_pfn' to prevent trace_mm_compaction_end() from tracing an undesirable value. BTW, remove an useless semicolon. Acked-by: David Hildenbrand Acked-by: Vlas

Re: [PATCH] asm-generic: Force inlining of get_order() to work around gcc10 poor decision

2020-10-19 Thread Segher Boessenkool
On Mon, Oct 19, 2020 at 07:50:41AM +0200, Christophe Leroy wrote: > Le 19/10/2020 à 06:55, Joel Stanley a écrit : > >>In the old days, marking a function 'static inline' was forcing > >>GCC to inline, but since commit ac7c3e4ff401 ("compiler: enable > >>CONFIG_OPTIMIZE_INLINING forcibly") GCC may d

Fair Pay Bitstreaming project Taking Shape

2020-10-19 Thread Ywe Cærlyn
I´ve been working with the philosophy for a Fair Pay Bitstreaming project for a while now. It is taking shape, and we consider including apps such as BT Kul 3-D Engine ("Game Maker"), BT Tracker, BT Paint and BT Cam being suitable for the project, BT X. Which says alot about our kernel policie

RE: [PATCH V2 8/8] can: flexcan: add CAN wakeup function for i.MX8QM

2020-10-19 Thread Joakim Zhang
Hi Marc, > -Original Message- > From: Marc Kleine-Budde > Sent: 2020年10月19日 16:16 > To: Joakim Zhang ; robh...@kernel.org; > shawn...@kernel.org; s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; dl-linux-imx ; Ying Liu > ; linux-...@vger.kernel.org; Pankaj Bansal > ; net...@vger.kerne

[PATCH] [v6] wireless: Initial driver submission for pureLiFi STA devices

2020-10-19 Thread Srinivasan Raju
This introduces the pureLiFi LiFi driver for LiFi-X, LiFi-XC and LiFi-XL USB devices. This driver implementation has been based on the zd1211rw driver. Driver is based on 802.11 softMAC Architecture and uses native 802.11 for configuration and management. The driver is compiled and tested in ARM

[PATCH v11 7/8] arm: dts: rockchip: Add NFC node for RK2928 and other SoCs

2020-10-19 Thread Yifeng Zhao
Add NAND FLASH Controller(NFC) node for RK2928, RK3066, RK3168 and RK3188 SoCs. Signed-off-by: Yifeng Zhao --- (no changes since v1) arch/arm/boot/dts/rk3xxx.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi index 85

[PATCH v11 4/8] arm64: dts: rockchip: Add NFC node for RK3308 SoC

2020-10-19 Thread Yifeng Zhao
From: Yifeng Zhao Add NAND FLASH Controller(NFC) node for RK3308 SoC. Signed-off-by: Yifeng Zhao Signed-off-by: Yifeng Zhao --- (no changes since v1) arch/arm64/boot/dts/rockchip/rk3308.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk

Re: [PATCH V2 8/8] can: flexcan: add CAN wakeup function for i.MX8QM

2020-10-19 Thread Marc Kleine-Budde
On 10/19/20 10:39 AM, Joakim Zhang wrote: >>> +#define FLEXCAN_IMX_SC_R_CAN(x)(IMX_SC_R_CAN_0 + (x)) >> >> Why not move it into the appropriate svc header file? > > Sorry, not quite understand. Which file do you mean the appropriate svc > header file? Is it include/dt-bindings/firmware

[ANNOUNCE] 4.4.240-rt209

2020-10-19 Thread Daniel Wagner
Hello RT-list! I'm pleased to announce the 4.4.240-rt209 stable release. This is an update to latest stable release. There are no RT changes. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.4-rt Head SHA1: 8c45

Re: [RFC PATCH] mm: memcg/slab: Stop reparented obj_cgroups from charging root

2020-10-19 Thread Richard Palethorpe
Hello, Michal Koutný writes: > On Fri, Oct 16, 2020 at 10:53:08AM -0400, Johannes Weiner > wrote: >> The central try_charge() function charges recursively all the way up >> to and including the root. > Except for use_hiearchy=0 (which is the case here as Richard > wrote). The reparenting is he

Re: [PATCH v39 08/24] x86/sgx: Initialize metadata for Enclave Page Cache (EPC) sections

2020-10-19 Thread Jarkko Sakkinen
On Sat, Oct 03, 2020 at 07:50:43AM +0300, Jarkko Sakkinen wrote: > +config INTEL_SGX Since the directory for this was renamed some iterations ago from arch/x86/kernel/cpu/sgx to intel_sgx given the feedback from Boris, I'm wondering should this also be renamed as X86_SGX? /Jarkko

Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies

2020-10-19 Thread Nicola Mazzucato
Hi Viresh, thank you for your suggestion on using 'opp-shared'. I think it could work for most of the cases we explained earlier. Summarising, there are two parts of this entire proposal: 1) where/how to get the information: now we are focusing on taking advantage of 'opp-shared' within an empty

Re: [PATCH v1 29/29] virtio-mem: Big Block Mode (BBM) - safe memory hotunplug

2020-10-19 Thread David Hildenbrand
On 19.10.20 09:54, Wei Yang wrote: > On Mon, Oct 12, 2020 at 02:53:23PM +0200, David Hildenbrand wrote: >> Let's add a safe mechanism to unplug memory, avoiding long/endless loops >> when trying to offline memory - similar to in SBM. >> >> Fake-offline all memory (via alloc_contig_range()) before t

Re: [PATCH v2] mm/compaction: Rename 'start_pfn' to 'iteration_start_pfn' in compact_zone()

2020-10-19 Thread Pankaj Gupta
> From: Yanfei Xu > > There are two 'start_pfn' declared in compact_zone() which have > different meaning. Rename the second one to 'iteration_start_pfn' > to prevent trace_mm_compaction_end() from tracing an undesirable > value. > > BTW, remove an useless semicolon. > > Acked-by: David Hildenbran

Re: [PATCH net-next v6 07/10] bridge: cfm: Netlink SET configuration Interface.

2020-10-19 Thread Henrik Bjoernlund
Thank you for the review. Comments below. The 10/15/2020 10:34, Jakub Kicinski wrote: > > On Thu, 15 Oct 2020 11:54:15 + Henrik Bjoernlund wrote: > > + [IFLA_BRIDGE_CFM_MEP_CONFIG_MDLEVEL] = { > > + .type = NLA_U32, .validation_type = NLA_VALIDATE_MAX, .max = 7 }, > > NLA

Re: [PATCH 1/2] fpga: dfl: add driver_override support

2020-10-19 Thread gre...@linuxfoundation.org
On Mon, Oct 19, 2020 at 03:50:32PM +0800, Xu Yilun wrote: > On Mon, Oct 19, 2020 at 03:46:23PM +0800, Wu, Hao wrote: > > > On Fri, Oct 16, 2020 at 09:21:50AM -0700, Tom Rix wrote: > > > > > > > > On 10/15/20 11:02 PM, Xu Yilun wrote: > > > > > Add support for overriding the default matching of a df

Re: [PATCH] asm-generic: Force inlining of get_order() to work around gcc10 poor decision

2020-10-19 Thread Christophe Leroy
Le 19/10/2020 à 10:32, Segher Boessenkool a écrit : On Mon, Oct 19, 2020 at 07:50:41AM +0200, Christophe Leroy wrote: Le 19/10/2020 à 06:55, Joel Stanley a écrit : In the old days, marking a function 'static inline' was forcing GCC to inline, but since commit ac7c3e4ff401 ("compiler: enable

[PATCH 2/2] vt: keyboard, extend func_buf_lock to readers

2020-10-19 Thread Jiri Slaby
Both read-side users of func_table/func_buf need locking. Without that, one can easily confuse the code by repeatedly setting altering strings like: while (1) for (a = 0; a < 2; a++) { struct kbsentry kbs = {}; strcpy((char *)kbs.kb_string, a ? ".\n" : "8

[PATCH v2 1/2] vt: keyboard, simplify vt_kdgkbsent

2020-10-19 Thread Jiri Slaby
Use 'strlen' of the string, add one for NUL terminator and simply do 'copy_to_user' instead of the explicit 'for' loop. This makes the KDGKBSENT case more compact. The only thing we need to take care about is NULL 'func_table[i]'. Use an empty string in that case. The original check for overflow

Re: [PATCH v2 15/17] ASoC: sun8i-codec: Generalize AIF clock control

2020-10-19 Thread Maxime Ripard
On Wed, Oct 14, 2020 at 01:19:39AM -0500, Samuel Holland wrote: > The AIF clock control register has the same layout for all three AIFs. > The only difference between them is that AIF3 is missing some fields. We > can reuse the same register field definitions for all three registers, > and use the

[PATCH 1/4] ftgmac100: Fix race issue on TX descriptor[0]

2020-10-19 Thread Dylan Hung
These rules must be followed when accessing the TX descriptor: 1. A TX descriptor is "cleanable" only when its value is non-zero and the owner bit is set to "software" 2. A TX descriptor is "writable" only when its value is zero regardless the edotr mask. Fixes: 52c0cae87465 ("ftgmac100: Remove

Re: [PATCH v4 0/4] drm: panel: add support for TDO tl070wsh30 panel

2020-10-19 Thread Neil Armstrong
On 17/10/2020 08:08, Sam Ravnborg wrote: > Hi Neil. > > On Tue, Sep 29, 2020 at 11:25:17AM +0200, Neil Armstrong wrote: >> Hi Sam, >> >> Is there anything more to change ? > Sorry for taking so long to get back to you on this. > > All patches looks good and are: > Reviewed-by: Sam Ravnborg > >

Re: [PATCH] net: ftgmac100: Fix missing TX-poll issue

2020-10-19 Thread Joel Stanley
On Mon, 19 Oct 2020 at 07:39, Dylan Hung wrote: > > The cpu accesses the register and the memory via different bus/path on > aspeed soc. So we can not guarantee that the tx-poll command Just the 2600, or other versions too? > (register access) is always behind the tx descriptor (memory). In ot

[PATCH 0/4] fix ftgmac100 issues on aspeed soc

2020-10-19 Thread Dylan Hung
This patch series fixes the ftgmac100 mac hw issues on aspeed soc. Fixes: 52c0cae ("ftgmac100: Remove tx descriptor accessors") Fixes: 39bfab8 ("net: ftgmac100: Add support for DT phy-handle property") Fixes: 10cbd64 ("ftgmac100: Rework NAPI & interrupts handling") Dylan Hung (4): ftgmac100: F

[PATCH 2/4] ftgmac100: Fix missing-poll issue

2020-10-19 Thread Dylan Hung
the tx-poll command may advance the tx descriptor due the HW design. By adding a pseudo read and proper memory barrier, we can ensure all the data are ready before TX poll command. Fixes: 52c0cae87465 ("ftgmac100: Remove tx descriptor accessors") Signed-off-by: Dylan Hung Signed-off-by: Joel Stan

Re: [PATCH 1/2] fpga: dfl: add driver_override support

2020-10-19 Thread Xu Yilun
On Mon, Oct 19, 2020 at 12:06:13PM +0800, Xu Yilun wrote: > On Fri, Oct 16, 2020 at 09:21:50AM -0700, Tom Rix wrote: > > > > On 10/15/20 11:02 PM, Xu Yilun wrote: > > > Add support for overriding the default matching of a dfl device to a dfl > > > driver. It follows the same way that can be used f

[PATCH 3/4] ftgmac100: Add a dummy read to ensure running sequence

2020-10-19 Thread Dylan Hung
On the AST2600 care must be taken to ensure writes appear correctly when modifying the interrupt reglated registers. Add a function to perform a read after all writes to the IER and ISR registers. Fixes: 39bfab8844a0 ("net: ftgmac100: Add support for DT phy-handle property") Signed-off-by: Dylan

[PATCH 4/4] ftgmac100: Restart MAC HW once

2020-10-19 Thread Dylan Hung
The interrupt handler may set the flag to reset the mac in the future, but that flag is not cleared once the reset has occured. Fixes: 10cbd6407609 ("ftgmac100: Rework NAPI & interrupts handling") Signed-off-by: Dylan Hung Signed-off-by: Joel Stanley --- drivers/net/ethernet/faraday/ftgmac100.c

RE: [PATCH v3 2/2] arm64: dts: lx2160a: add device tree for lx2162aqds board

2020-10-19 Thread Meenakshi Aggarwal
Hi, Any further comments? Thanks, Meenakshi > -Original Message- > From: Meenakshi Aggarwal > Sent: Tuesday, September 29, 2020 3:33 PM > To: shawn...@kernel.org; robh...@kernel.org; Varun Sethi > ; Leo Li ; linux-arm- > ker...@lists.infradead.org; devicet...@vger.kernel.org; linux- > k

Re: [PATCH v2 07/14] perf arm-spe: Refactor address packet handling

2020-10-19 Thread André Przywara
On 29/09/2020 14:39, Leo Yan wrote: Hi Leo, > This patch is to refactor address packet handling, it defines macros for > address packet's header and payload, these macros are used by decoder > and the dump flow. So I was thinking about these next few patches a bit. I understand that it's common

Re: [PATCH 1/2] fpga: dfl: add driver_override support

2020-10-19 Thread Greg KH
On Mon, Oct 19, 2020 at 04:52:33PM +0800, Xu Yilun wrote: > On Mon, Oct 19, 2020 at 12:06:13PM +0800, Xu Yilun wrote: > > On Fri, Oct 16, 2020 at 09:21:50AM -0700, Tom Rix wrote: > > > > > > On 10/15/20 11:02 PM, Xu Yilun wrote: > > > > Add support for overriding the default matching of a dfl devi

RE: [PATCH V2 8/8] can: flexcan: add CAN wakeup function for i.MX8QM

2020-10-19 Thread Joakim Zhang
Hi Marc, > -Original Message- > From: Marc Kleine-Budde > Sent: 2020年10月19日 16:42 > To: Joakim Zhang ; robh...@kernel.org; > shawn...@kernel.org; s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; dl-linux-imx ; Ying Liu > ; linux-...@vger.kernel.org; Pankaj Bansal > ; net...@vger.kerne

Re: [PATCH v1 09/29] virtio-mem: don't always trigger the workqueue when offlining memory

2020-10-19 Thread David Hildenbrand
On 18.10.20 05:57, Wei Yang wrote: > On Fri, Oct 16, 2020 at 11:18:39AM +0200, David Hildenbrand wrote: >> On 16.10.20 06:03, Wei Yang wrote: >>> On Mon, Oct 12, 2020 at 02:53:03PM +0200, David Hildenbrand wrote: Let's trigger from offlining code when we're not allowed to touch online > > Her

Re: [PATCH V2 8/8] can: flexcan: add CAN wakeup function for i.MX8QM

2020-10-19 Thread Marc Kleine-Budde
On 10/19/20 11:03 AM, Joakim Zhang wrote: >>> include/dt-bindings/firmware/imx/rsrc.h:111:#define IMX_SC_R_CAN_0 >> 105 > > As I can see in rsrc.h file, it just list each resource sequentially, and > there is a note in the comments: > "Note items from list should never be changed or removed (onl

[PATCH v2] Asoc: qcom: lpass-cpu: Fix clock disable failure

2020-10-19 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Disable MI2S bit clock from PAUSE/STOP/SUSPEND usecase instead of shutdown time. Acheive this by invoking clk_disable API from cpu daiops trigger instead of cpu daiops shutdown. Change non-atomic API "clk_prepare_enable" to atomic API "clk_enable" in trigger, as trigger

[PATCH 2/2] KVM: not link irqfd with a fake IRQ bypass producer

2020-10-19 Thread Zhenzhong Duan
In case failure to setup Post interrupt for an IRQ, it make no sense to assign irqfd->producer to the producer. This change makes code more robust. Signed-off-by: Zhenzhong Duan --- arch/x86/kvm/x86.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/x86.c b/arc

[PATCH 1/2] KVM: not register a IRQ bypass producer if unsupported or disabled

2020-10-19 Thread Zhenzhong Duan
If Post interrupt is disabled due to hardware limit or forcely disabled by "intremap=nopost" parameter, return -EINVAL so that the legacy mode IRQ isn't registered as IRQ bypass producer. With this change, below message is printed: "vfio-pci :db:00.0: irq bypass producer (token 60c8cda

[PATCH] drm/nouveau: fix memory leak in iccsense/base.c

2020-10-19 Thread Vamshi K Sthambamkadi
kmemleak report: unreferenced object 0x9071c65644e0 (size 96): comm "systemd-udevd", pid 347, jiffies 4294898424 (age 810.828s) hex dump (first 32 bytes): 02 01 00 00 00 00 00 00 00 00 10 00 02 04 00 00 00 00 00 00 00 00 a0 86 00 00 00 00 00 00 00 00 ...

Re: [PATCH v1 28/29] virtio-mem: Big Block Mode (BBM) - basic memory hotunplug

2020-10-19 Thread David Hildenbrand
On 19.10.20 05:48, Wei Yang wrote: > On Mon, Oct 12, 2020 at 02:53:22PM +0200, David Hildenbrand wrote: >> Let's try to unplug completely offline big blocks first. Then, (if >> enabled via unplug_offline) try to offline and remove whole big blocks. >> >> No locking necessary - we can deal with conc

Re: [PATCH v1 25/29] virtio-mem: Big Block Mode (BBM) memory hotplug

2020-10-19 Thread David Hildenbrand
On 19.10.20 04:26, Wei Yang wrote: > On Mon, Oct 12, 2020 at 02:53:19PM +0200, David Hildenbrand wrote: >> Currently, we do not support device block sizes that exceed the Linux >> memory block size. For example, having a device block size of 1 GiB (e.g., >> gigantic pages in the hypervisor) won't w

Re: [PATCH V2 1/2] opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER

2020-10-19 Thread Sudeep Holla
On Mon, Oct 19, 2020 at 10:28:27AM +0530, Viresh Kumar wrote: > On 16-10-20, 12:12, Sudeep Holla wrote: > > On Fri, Oct 16, 2020 at 07:00:21AM +0100, Sudeep Holla wrote: > > > On Fri, Oct 16, 2020 at 09:54:34AM +0530, Viresh Kumar wrote: > > > > On 15-10-20, 19:05, Sudeep Holla wrote: > > > > > OK,

Re: [PATCH v2] scsi: ufs: fix clkgating on/off correctly

2020-10-19 Thread Can Guo
On 2020-10-17 05:18, jaeg...@kernel.org wrote: The below call stack prevents clk_gating at every IO completion. We can remove the condition, ufshcd_any_tag_in_use(), since clkgating_work will check it again. Thanks for fixing it, actually we have noticed this for a while. It used to work well

RE: [PATCH] net: ftgmac100: Fix missing TX-poll issue

2020-10-19 Thread Dylan Hung
Hi Joel, > -Original Message- > From: Joel Stanley [mailto:j...@jms.id.au] > Sent: Monday, October 19, 2020 4:57 PM > To: Dylan Hung ; Benjamin Herrenschmidt > > Cc: David S . Miller ; Jakub Kicinski > ; net...@vger.kernel.org; Linux Kernel Mailing List > ; Po-Yu Chuang ; > linux-aspeed ;

Re: [PATCH V2 1/2] opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER

2020-10-19 Thread Viresh Kumar
On 19-10-20, 10:17, Sudeep Holla wrote: > On Mon, Oct 19, 2020 at 10:28:27AM +0530, Viresh Kumar wrote: > > On 16-10-20, 12:12, Sudeep Holla wrote: > > > On Fri, Oct 16, 2020 at 07:00:21AM +0100, Sudeep Holla wrote: > > > > On Fri, Oct 16, 2020 at 09:54:34AM +0530, Viresh Kumar wrote: > > > > > On

[PATCH] drm/amd/display: fix a possible NULL pointer dereference in bios_parser_get_src_obj()

2020-10-19 Thread 薄德芳
[Why] the func bios_parser_get_src_obj () is similar to bios_parser_get_dst_obj () which is fixed by the commit("drm/amd/display: Banch of smatch error and warning fixes in DC"). the symbol 'id' is uninitialized and it is not checked before dereference it,may lead to null pointer dereference.

Re: [PATCH] fs/quota: update quota state flags scheme with project quota flags

2020-10-19 Thread Jan Kara
On Sun 18-10-20 05:56:54, Roman Anufriev wrote: > Current quota state flags scheme doesn't include project quota and thus > shows all flags after DQUOT_USAGE_ENABLED wrong. Fix this and also add > DQUOT_NOLIST_DIRTY to the scheme. > > Signed-off-by: Roman Anufriev Thanks. I've added the patch to

[PATCH] gpu: ipu-v3: replace spin_lock_irqsave by spin_lock in hard IRQ

2020-10-19 Thread Tian Tao
The code has been in a irq-disabled context since it is hard IRQ. There is no necessity to do it again. Signed-off-by: Tian Tao --- drivers/gpu/ipu-v3/ipu-image-convert.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/ipu-v3/ipu-image-convert.c b/drivers/gp

RE: [RFC PATCH 00/30] ima: Introduce IMA namespace

2020-10-19 Thread Krzysztof Struczynski
> From: Krzysztof Struczynski > Sent: Monday, September 14, 2020 2:08 PM > > When Roberto Sassu and Krzysztof Struczynski contacted me about the > > status of Stefan Berger's patch set, based on Yuqiong Sun's work, I was > > under the impression that they would be rebasing it on the latest > > kern

Re: [PATCH 1/1] clocksource: sun4i: Save and restore timer registers before and after sleeping

2020-10-19 Thread Maxime Ripard
Hi! On Sat, Oct 10, 2020 at 06:46:03PM +0800, wuyan wrote: > Signed-off-by: wuyan A commit log would be welcome here. Also, the last time you contributed you used the name Martin Wu in your Signed-off-by, it would be nice to be consistent there. > Change-Id: I7edbc00fd0968d0301757f5a75dbd6f53d6

Re: [PATCH RFC V3 6/9] x86/entry: Pass irqentry_state_t by reference

2020-10-19 Thread Thomas Gleixner
On Sun, Oct 18 2020 at 22:37, Ira Weiny wrote: > On Fri, Oct 16, 2020 at 02:55:21PM +0200, Thomas Gleixner wrote: >> Subject: x86/entry: Move nmi entry/exit into common code >> From: Thomas Gleixner >> Date: Fri, 11 Sep 2020 10:09:56 +0200 >> >> Add blurb here. > > How about: > > To prepare for s

Re: [PATCH V2] cpufreq: tegra186: Fix initial frequency

2020-10-19 Thread Jon Hunter
On 16/10/2020 05:07, Viresh Kumar wrote: > On 15-10-20, 15:03, Jon Hunter wrote: >> If not too late, would you mind dropping this patch for v5.10? > > It is already part of Linus's master now. OK, thanks. I will send a revert for this once rc1 is out. Cheers Jon -- nvpublic

Re: [PATCH RFC V3 2/9] x86/fpu: Refactor arch_set_user_pkey_access() for PKS support

2020-10-19 Thread Peter Zijlstra
On Fri, Oct 16, 2020 at 08:32:03PM -0700, Ira Weiny wrote: > On Fri, Oct 16, 2020 at 12:57:43PM +0200, Peter Zijlstra wrote: > > On Fri, Oct 09, 2020 at 12:42:51PM -0700, ira.we...@intel.com wrote: > > > From: Fenghua Yu > > > > > > Define a helper, update_pkey_val(), which will be used to suppor

Re: [PATCH RFC V3 4/9] x86/pks: Preserve the PKRS MSR on context switch

2020-10-19 Thread Peter Zijlstra
On Fri, Oct 16, 2020 at 10:14:10PM -0700, Ira Weiny wrote: > > so it either needs to > > explicitly do so, or have an assertion that preemption is indeed > > disabled. > > However, I don't think I understand clearly. Doesn't [get|put]_cpu_ptr() > handle the preempt_disable() for us? It does. >

TREAT AS URGENT/ REPLY FOR MORE DETAILS

2020-10-19 Thread Salif Musa
-- Hi friend I am a banker in ADB BANK. I want to transfer an abandoned sum of USD15.6Million to your Bank account. 40/percent will be your share. No risk involved but keeps it as secret. Contact me for more details. Please reply me through my alternative email id only (salif.musa...@gmail.com

Re: [PATCH v2] mm/compaction: Rename 'start_pfn' to 'iteration_start_pfn' in compact_zone()

2020-10-19 Thread Vlastimil Babka
On 10/19/20 10:36 AM, yanfei...@windriver.com wrote: From: Yanfei Xu There are two 'start_pfn' declared in compact_zone() which have different meaning. Rename the second one to 'iteration_start_pfn' to prevent trace_mm_compaction_end() from tracing an undesirable value. "to prevent confusion.

Re: [PATCH] staging: wfx: make a const array static, makes object smaller

2020-10-19 Thread Jérôme Pouiller
On Monday 19 October 2020 10:09:19 CEST David Laight wrote: > From: Joe Perches > > Sent: 17 October 2020 01:12 > > > > On Fri, 2020-10-16 at 23:33 +0100, Colin King wrote: > > > From: Colin Ian King > > > > > > Don't populate const array filter_ies on the stack but instead > > > make it static. M

Re: [PATCH v2 2/2] [RFC] CPUFreq: Add support for cpu-perf-dependencies

2020-10-19 Thread Viresh Kumar
On 19-10-20, 09:50, Nicola Mazzucato wrote: > Hi Viresh, > > thank you for your suggestion on using 'opp-shared'. > I think it could work for most of the cases we explained earlier. > > Summarising, there are two parts of this entire proposal: > 1) where/how to get the information: now we are foc

[PATCH 1/6] Documetation: dt-bindings: drop samsung,exynos5440-pcie binding

2020-10-19 Thread Marek Szyprowski
Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: dts: exynos: Remove Exynos5440"). Drop the obsolete bindings for exynos5440-pcie. Signed-off-by: Marek Szyprowski --- .../bindings/pci/samsung,exynos5440-pcie.txt | 58 --- 1 file changed, 58 deletions(-)

[PATCH 5/6] pci: dwc: pci-exynos: rework the driver to support Exynos5433 variant

2020-10-19 Thread Marek Szyprowski
From: Jaehoon Chung Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: dts: exynos: Remove Exynos5440"). Rework this driver to support DWC PCIe variant found in the Exynos5433 SoCs. The main difference in Exynos5433 variant is lack of the MSI support (the MSI interrupt is n

[PATCH 2/6] Documetation: dt-bindings: add the samsung,exynos-pcie binding

2020-10-19 Thread Marek Szyprowski
From: Jaehoon Chung Add dt-bindings for the Samsung Exynos PCIe controller (Exynos5433 variant). Signed-off-by: Jaehoon Chung [mszyprow: updated the binding to latest driver changes, rewrote it in yaml, rewrote commit message] Signed-off-by: Marek Szyprowski --- .../bindings/pci/sa

[PATCH 6/6] arm64: dts: exynos: add the WiFi/PCIe support to TM2(e) boards

2020-10-19 Thread Marek Szyprowski
From: Jaehoon Chung Add the nodes relevant to PCIe PHY and PCIe support. PCIe is used for the WiFi interface (Broadcom Limited BCM4358 802.11ac Wireless LAN SoC). Signed-off-by: Jaehoon Chung [mszyprow: rewrote commit message, reworked board/generic dts/dtsi split] Signed-off-by: Marek Szyprows

[PATCH 0/6] Add DW PCIe support for Exynos5433 SoCs

2020-10-19 Thread Marek Szyprowski
Dear All, This patchset is a resurrection of the DW PCIe support for the Exynos5433 SoCs posted long time ago here: https://lkml.org/lkml/2016/12/26/6 and later here: https://lkml.org/lkml/2017/12/21/296 . In meantime the support for the Exynos5440 SoCs has been completely dropped from mainline k

[PATCH 3/6] Documetation: dt-bindings: add the samsung,exynos-pcie-phy binding

2020-10-19 Thread Marek Szyprowski
From: Jaehoon Chung Add dt-bindings for the Samsung Exynos PCIe PHY controller (Exynos5433 variant). Signed-off-by: Jaehoon Chung [mszyprow: updated the binding to latest driver changes, rewrote it in yaml, rewrote commit message] Signed-off-by: Marek Szyprowski --- .../bindings/ph

[PATCH 4/6] phy: samsung: phy-exynos-pcie: rework driver to support Exynos5433 PCIe PHY

2020-10-19 Thread Marek Szyprowski
From: Jaehoon Chung Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: dts: exynos: Remove Exynos5440"). Rework this driver to support PCIe PHY variant found in the Exynos5433 SoCs. Signed-off-by: Jaehoon Chung [mszyprow: reworked the driver to support only Exynos5433 vari

Re: [perf metricgroup] fcc9c5243c: perf-sanity-tests.Parse_and_process_metrics.fail

2020-10-19 Thread John Garry
On 19/10/2020 00:30, Ian Rogers wrote: On Sun, Oct 18, 2020 at 1:51 AM kernel test robot wrote: Greeting, FYI, we noticed the following commit (built with gcc-9): commit: fcc9c5243c478f104014daf4d23db86098d2aef0 ("perf metricgroup: Hack a fix for aliases when covering multiple PMUs") url:

Re: [PATCH 1/2] Fonts: Support FONT_EXTRA_WORDS macros for font_6x8

2020-10-19 Thread Peilin Ye
On Sun, Oct 18, 2020 at 11:51:19PM +0200, Daniel Vetter wrote: > On Sun, Oct 18, 2020 at 10:45 PM Peilin Ye wrote: > > I'm confused, I see it on LKML in the link above. Sure I'll resend soon. > > My brain didn't work, sorry about the confusion. > > I'll pick up the patches tomorrow, probably not

Re: [PATCH] arm64: vdso32: Allow ld.lld to properly link the VDSO

2020-10-19 Thread Vincenzo Frascino
Hi Nathan, On 10/13/20 4:39 AM, Nathan Chancellor wrote: > As it stands now, the vdso32 Makefile hardcodes the linker to ld.bfd > using -fuse-ld=bfd with $(CC). This was taken from the arm vDSO > Makefile, as the comment notes, done in commit d2b30cd4b722 ("ARM: > 8384/1: VDSO: force use of BFD

[PATCH v3] mm: memcg/slab: Stop reparented obj_cgroups from charging root

2020-10-19 Thread Richard Palethorpe
SLAB objects which outlive their descendant memcg are moved to their parent memcg where they may be uncharged. However if they are moved to the root memcg and use_hierarchy=0, uncharging will result in negative page counter values. This is because when use_hierarchy=0, the root memcg's page counter

Re: [RFC PATCH] topology: Represent clusters of CPUs within a die.

2020-10-19 Thread Sudeep Holla
+Morten On Fri, Oct 16, 2020 at 11:27:02PM +0800, Jonathan Cameron wrote: > Both ACPI and DT provide the ability to describe additional layers of > topology between that of individual cores and higher level constructs > such as the level at which the last level cache is shared. > In ACPI this can

[PATCH v6 0/2] perf: Make tsc testing as a common testing case

2020-10-19 Thread Leo Yan
This patch set is to move tsc testing from x86 specific to common testing case. Since Arnaldo found the building failure for patch set v4 [1], the first four patches have been merged but the last two patches were left out; this patch set is to resend the last two patches with fixed the building fa

[PATCH v6 2/2] perf tests tsc: Add checking helper is_supported()

2020-10-19 Thread Leo Yan
So far tsc is enabled on x86_64, i386 and Arm64 architectures, add checking helper to skip this testing for other architectures. Signed-off-by: Leo Yan --- tools/perf/tests/builtin-test.c | 1 + tools/perf/tests/perf-time-to-tsc.c | 13 + tools/perf/tests/tests.h| 1

[PATCH v6 1/2] perf tests tsc: Make tsc testing as a common testing

2020-10-19 Thread Leo Yan
x86 arch provides the testing for conversion between tsc and perf time, the testing is located in x86 arch folder. Move this testing out from x86 arch folder and place it into the common testing folder, so allows to execute tsc testing on other architectures (e.g. Arm64). This patch removes the i

Re: [RFC PATCH] topology: Represent clusters of CPUs within a die.

2020-10-19 Thread Brice Goglin
Le 16/10/2020 à 17:27, Jonathan Cameron a écrit : > Both ACPI and DT provide the ability to describe additional layers of > topology between that of individual cores and higher level constructs > such as the level at which the last level cache is shared. > In ACPI this can be represented in PPTT as

Re: [PATCH] ARM: dts: sun8i: h2+: Enable optional SPI flash on Orange Pi Zero board

2020-10-19 Thread Maxime Ripard
On Mon, Oct 12, 2020 at 07:03:25PM +0200, Michal Suchánek wrote: > > > > > > > > > Also the boards that do not have the flsh are either broken or > > > > > obsolete. > > > > > > > > Making general statements without arguments doesn't really make it true > > > > though. Plenty of boards to have fl

Re: [PATCH 1/6] Documetation: dt-bindings: drop samsung,exynos5440-pcie binding

2020-10-19 Thread Krzysztof Kozlowski
On Mon, Oct 19, 2020 at 11:47:10AM +0200, Marek Szyprowski wrote: > Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: > dts: exynos: Remove Exynos5440"). Drop the obsolete bindings for > exynos5440-pcie. > > Signed-off-by: Marek Szyprowski > --- > .../bindings/pci/samsung,

Re: [PATCH 1/2] extcon: add driver for TI TUSB320

2020-10-19 Thread Chanwoo Choi
On 10/15/20 11:07 PM, Michael Auchter wrote: > This patch adds an extcon driver for the TI TUSB320 USB Type-C device. > This can be used to detect whether the port is configured as a > downstream or upstream facing port. > > Signed-off-by: Michael Auchter > --- > Changes since v1: > - Drop licens

Re: [PATCH 2/6] Documetation: dt-bindings: add the samsung,exynos-pcie binding

2020-10-19 Thread Krzysztof Kozlowski
On Mon, Oct 19, 2020 at 11:47:11AM +0200, Marek Szyprowski wrote: > From: Jaehoon Chung > > Add dt-bindings for the Samsung Exynos PCIe controller (Exynos5433 > variant). The title has typo and actually entire "Doc" should be dropped. Just "dt-bindings: pci:". This applies to all DT patches. >

Re: [PATCH V2 1/2] opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER

2020-10-19 Thread Sudeep Holla
On Mon, Oct 19, 2020 at 02:54:11PM +0530, Viresh Kumar wrote: > On 19-10-20, 10:17, Sudeep Holla wrote: > > On Mon, Oct 19, 2020 at 10:28:27AM +0530, Viresh Kumar wrote: > > > On 16-10-20, 12:12, Sudeep Holla wrote: > > > > On Fri, Oct 16, 2020 at 07:00:21AM +0100, Sudeep Holla wrote: > > > > > On

[PATCH] zram: Fix __zram_bvec_{read,write}() locking order

2020-10-19 Thread Peter Zijlstra
Mikhail reported a lockdep spat detailing how __zram_bvec_read() and __zram_bvec_write() use zstrm->lock and zspage->lock in opposite order. Reported-by: Mikhail Gavrilov Signed-off-by: Peter Zijlstra (Intel) Tested-by: Mikhail Gavrilov --- drivers/block/zram/zram_drv.c | 8 +--- 1 file

Re: [PATCH 3/6] Documetation: dt-bindings: add the samsung,exynos-pcie-phy binding

2020-10-19 Thread Krzysztof Kozlowski
On Mon, Oct 19, 2020 at 11:47:12AM +0200, Marek Szyprowski wrote: > From: Jaehoon Chung > > Add dt-bindings for the Samsung Exynos PCIe PHY controller (Exynos5433 > variant). > > Signed-off-by: Jaehoon Chung > [mszyprow: updated the binding to latest driver changes, rewrote it in yaml, >

Re: [PATCH 4/6] phy: samsung: phy-exynos-pcie: rework driver to support Exynos5433 PCIe PHY

2020-10-19 Thread Krzysztof Kozlowski
On Mon, Oct 19, 2020 at 11:47:13AM +0200, Marek Szyprowski wrote: > From: Jaehoon Chung > > Exynos5440 SoC support has been dropped since commit 8c83315da1cf ("ARM: > dts: exynos: Remove Exynos5440"). Rework this driver to support PCIe PHY > variant found in the Exynos5433 SoCs. > > Signed-off-b

[PATCH] mm/memory.c: Introduce non-atomic __{Set,Clear}PageSwapCache

2020-10-19 Thread Muchun Song
For the exclusive reference page, the non-atomic operations is enough, so replace them to non-atomic operations. Signed-off-by: Muchun Song --- include/linux/page-flags.h | 2 ++ mm/memory.c| 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/linux/pag

[patch V2 08/13] usb: hosts: Remove in_interrupt() from comments

2020-10-19 Thread Thomas Gleixner
From: Ahmed S. Darwish The usage of in_interrupt() in drivers is phased out for various reasons. Various comments use !in_interrupt() to describe calling context for probe() and remove() functions. That's wrong because the calling context has to be preemptible task context, which is not what !in

[patch V2 13/13] usb: atm: Replace in_interrupt() usage in comment

2020-10-19 Thread Thomas Gleixner
in_interrupt() is a pretty vague context description as it means: hard interrupt, soft interrupt or bottom half disabled regions. Replace the vague comment with a proper reasoning why spin_lock_irqsave() needs to be used. Signed-off-by: Ahmed S. Darwish Signed-off-by: Sebastian Andrzej Siewior

[patch V2 06/13] usb: host: isp1362: Replace in_interrupt() usage

2020-10-19 Thread Thomas Gleixner
isp1362_show_regs() is a debugging-only function, with no call sites. It prints the cached value of the HCuPINTENB register if in_interupt() is true, otherwise it reads the actual register content. The usage of in_interrupt() in drivers is phased out and Linus clearly requested that code which cha

[patch V2 00/13] USB: Cleanup in_interupt/in_irq/in_atomic() usage

2020-10-19 Thread Thomas Gleixner
Folks, in the discussion about preempt count consistency accross kernel configurations: https://lore.kernel.org/r/20200914204209.256266...@linutronix.de/ Linus clearly requested that code in drivers and libraries which changes behaviour based on execution context should either be split up so t

Re: [PATCH] dt-bindings: mailbox: mtk-gce: fix incorrect mbox-cells value

2020-10-19 Thread Matthias Brugger
On 18/10/2020 21:30, Fabien Parent wrote: As the binding documentation says, #mbox-cells must have a value of 2, but the example use a value 3. The MT8173 device tree correctly use mbox-cells = <2>. This commit fixes the example. Signed-off-by: Fabien Parent --- Fixes: 19d8e335d58a ("dt-bi

[patch V2 09/13] USB: host: ehci-pmcmsp: Cleanup usb_hcd_msp_remove()

2020-10-19 Thread Thomas Gleixner
usb_hcd_msp_remove() has a pdev argument which isn't used and the function is used only within this file. Remove pdev and make usb_hcd_msp_remove() static. Signed-off-by: Thomas Gleixner --- V2: Split out from comments patch --- drivers/usb/host/ehci-pmcmsp.c |4 ++-- 1 file changed, 2 inse

[patch V2 10/13] usb: gadget: pxa27x_udc: Replace in_interrupt() usage in comments

2020-10-19 Thread Thomas Gleixner
From: Ahmed S. Darwish The usage of in_interrupt() in drivers is phased out for various reasons. Documenting calling contexts of functions with 'in_interrupt()' or '!in_interrupt()' is imprecise: For a function which might sleep the condition is preemptible task context, which is not what '!in_i

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