Re: [Intel-gfx] [PATCH v3 2/4] drm/i915/pmu: Use kstat_irqs to get interrupt count

2020-12-09 Thread Joonas Lahtinen
+ Tvrtko and Chris for comments Code seems to be added in: commit 0cd4684d6ea9a4ffec33fc19de4dd667bb90d0a5 Author: Tvrtko Ursulin Date: Tue Nov 21 18:18:50 2017 + drm/i915/pmu: Add interrupt count metric I think later in the thread there was a suggestion to replace this with simple c

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

2020-12-09 Thread Geert Uytterhoeven
Hi Stephen², On Wed, Dec 9, 2020 at 6:29 PM Stephen Boyd wrote: > Quoting Geert Uytterhoeven (2020-12-08 00:37:00) > > On Mon, Dec 7, 2020 at 11:06 PM Stephen Rothwell > > wrote: > > > In commit > > > > > > c3f207f6d23d ("clk: renesas: r8a779a0: Make > > > rcar_r8a779a0_cpg_clk_register() st

Re: [PATCH 00/20] ethernet: ucc_geth: assorted fixes and simplifications

2020-12-09 Thread Rasmus Villemoes
On 05/12/2020 22.27, Jakub Kicinski wrote: > On Sat, 5 Dec 2020 22:11:39 +0100 Rasmus Villemoes wrote: >>> Looks like a nice clean up on a quick look. >>> >>> Please separate patches 1 and 11 (which are the two bug fixes I see) >> >> I think patch 2 is a bug fix as well, but I'd like someone from

[PATCH v9] cpufreq: mediatek-hw: Add support for Mediatek cpufreq HW driver

2020-12-09 Thread Hector Yuan
The CPUfreq HW present in some Mediatek chipsets offloads the steps necessary for changing the frequency of CPUs. The driver implements the cpufreq driver interface for this hardware engine. This patch depends on MT6779 DTS patchset[1] submitted by Hanks Chen. >From v8 to v9, there are three mo

[PATCH v9 1/2] cpufreq: mediatek-hw: Add support for CPUFREQ HW

2020-12-09 Thread Hector Yuan
From: "Hector.Yuan" Add cpufreq HW support. Signed-off-by: Hector.Yuan --- drivers/cpufreq/Kconfig.arm | 12 ++ drivers/cpufreq/Makefile |1 + drivers/cpufreq/mediatek-cpufreq-hw.c | 370 + 3 files changed, 383 insertions(+) create

[PATCH v9 2/2] dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW

2020-12-09 Thread Hector Yuan
From: "Hector.Yuan" Add devicetree bindings for MediaTek HW driver. Signed-off-by: Hector.Yuan --- .../bindings/cpufreq/cpufreq-mediatek-hw.yaml | 112 1 file changed, 112 insertions(+) create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek-h

[PATCH] [v3] blk-mq-tag: make blk_mq_tag_busy() return void

2020-12-09 Thread Xianting Tian
As no one cares about the return value of blk_mq_tag_busy() and __blk_mq_tag_busy(), so make them return void. Other change is to simplify blk_mq_tag_idle(). Signed-off-by: Xianting Tian Reviewed-by: Ming Lei --- block/blk-mq-tag.c | 4 +--- block/blk-mq-tag.h | 16 ++-- 2 files c

RE: [PATCH v3 2/3] scsi: ufs: Keep device active mode only fWriteBoosterBufferFlushDuringHibernate == 1

2020-12-09 Thread Avri Altman
> On Wed, 2020-12-09 at 07:40 +, Avri Altman wrote: > > > According to the JEDEC UFS 3.1 Spec, If > > > fWriteBoosterBufferFlushDuringHibernate > > > is set to one, the device flushes the WriteBooster Buffer data > > > automatically > > > whenever the link enters the hibernate (HIBERN8) state.

Re: [PATCH 4/4] phy: freescale: phy-fsl-imx8-mipi-dphy: Add i.MX8qxp LVDS PHY mode support

2020-12-09 Thread Guido Günther
Hi, On Tue, Dec 08, 2020 at 06:03:05PM +0800, Liu Ying wrote: > On Tue, 2020-12-08 at 10:24 +0100, Guido Günther wrote: > > Hi Liu, > > some minor comments inline: > > > > On Fri, Dec 04, 2020 at 03:33:44PM +0800, Liu Ying wrote: > > > i.MX8qxp SoC embeds a Mixel MIPI DPHY + LVDS PHY combo which s

Re: [PATCH 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-09 Thread Anshuman Khandual
On 12/10/20 12:34 PM, David Hildenbrand wrote: > >> Am 10.12.2020 um 07:58 schrieb Heiko Carstens : >> >> On Thu, Dec 10, 2020 at 09:48:11AM +0530, Anshuman Khandual wrote: > Alternatively leaving __segment_load() and vmem_add_memory() unchanged > will create three range checks i.e two

[PATCH 1/7] vfio: iommu_type1: Clear added dirty bit when unwind pin

2020-12-09 Thread Keqian Zhu
Currently we do not clear added dirty bit of bitmap when unwind pin, so if pin failed at halfway, we set unnecessary dirty bit in bitmap. Clearing added dirty bit when unwind pin, userspace will see less dirty page, which can save much time to handle them. Note that we should distinguish the bits

[PATCH 4/7] vfio: iommu_type1: Fix missing dirty page when promote pinned_scope

2020-12-09 Thread Keqian Zhu
When we pin or detach a group which is not dirty tracking capable, we will try to promote pinned_scope of vfio_iommu. If we succeed to do so, vfio only report pinned_scope as dirty to userspace next time, but these memory written before pin or detach is missed. The solution is that we must popula

[PATCH 6/7] vfio: iommu_type1: Drop parameter "pgsize" of vfio_iova_dirty_bitmap.

2020-12-09 Thread Keqian Zhu
We always use the smallest supported page size of vfio_iommu as pgsize. Remove parameter "pgsize" of vfio_iova_dirty_bitmap. Signed-off-by: Keqian Zhu --- drivers/vfio/vfio_iommu_type1.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.c b

[PATCH 5/7] vfio: iommu_type1: Drop parameter "pgsize" of vfio_dma_bitmap_alloc_all

2020-12-09 Thread Keqian Zhu
We always use the smallest supported page size of vfio_iommu as pgsize. Remove parameter "pgsize" of vfio_dma_bitmap_alloc_all. Signed-off-by: Keqian Zhu --- drivers/vfio/vfio_iommu_type1.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.

[PATCH 2/7] vfio: iommu_type1: Initially set the pinned_page_dirty_scope

2020-12-09 Thread Keqian Zhu
Currently there are 3 ways to promote the pinned_page_dirty_scope status of vfio_iommu: 1. Through pin interface. 2. Detach a group without dirty tracking. 3. Attach a group with dirty tracking. For point 3, the only chance to change the pinned status is that the vfio_iommu is newly created. Con

[PATCH 3/7] vfio: iommu_type1: Make an explicit "promote" semantic

2020-12-09 Thread Keqian Zhu
When we want to promote pinned_page_scope of vfio_iommu, we should call the "update" function to visit all vfio_group, but when we want to downgrade it, we can set the flag directly. Giving above, we can give an explicit "promote" semantic to that function. BTW, if vfio_iommu has been promoted, th

[PATCH 7/7] vfio: iommu_type1: Drop parameter "pgsize" of update_user_bitmap

2020-12-09 Thread Keqian Zhu
We always use the smallest supported page size of vfio_iommu as pgsize. Drop parameter "pgsize" of update_user_bitmap. Signed-off-by: Keqian Zhu --- drivers/vfio/vfio_iommu_type1.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.c b/driv

[PATCH 0/7] vfio: iommu_type1: Some fixes and optimization

2020-12-09 Thread Keqian Zhu
Hi folks, This patch series aim to fix up or optimize some code about vfio dirty log tracking. patch 1: Optimize dirty log when unwind pin pages. patch 2-3: Optimize promoting pinned_page_dirty_scope. patch 4: Fix up dirty log missing when promote pinned_page_dirty_scope. patch 5-7: Drop supe

Re: [RFC v2 1/1] vfio/platform: add support for msi

2020-12-09 Thread Vikas Gupta
HI Eric, On Tue, Dec 8, 2020 at 2:13 AM Auger Eric wrote: > > Hi Vikas, > > On 12/3/20 3:50 PM, Vikas Gupta wrote: > > Hi Eric, > > > > On Wed, Dec 2, 2020 at 8:14 PM Auger Eric wrote: > >> > >> Hi Vikas, > >> > >> On 11/24/20 5:16 PM, Vikas Gupta wrote: > >>> MSI support for platform devices. >

Re: [PATCH 3/3] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-09 Thread Vaittinen, Matti
On Thu, 2020-12-10 at 04:44 +, Yoshihiro Shimoda wrote: > Hi Geert-san, > > Thank you for your review! > > > From: Geert Uytterhoeven, Sent: Wednesday, December 9, 2020 10:30 > > PM > > > > --- a/drivers/mfd/bd9571mwv.c > > > +++ b/drivers/mfd/bd9571mwv.c > > > > > > @@ -182,6 +272,8 @@ s

Re: [PATCH net v2] lan743x: fix rx_napi_poll/interrupt ping-pong

2020-12-09 Thread Heiner Kallweit
Am 10.12.2020 um 04:55 schrieb Sven Van Asbroeck: > From: Sven Van Asbroeck > > Even if there is more rx data waiting on the chip, the rx napi poll fn > will never run more than once - it will always read a few buffers, then > bail out and re-arm interrupts. Which results in ping-pong between nap

Re: [PATCH 1/1] net/ipv4/inet_fragment: Batch fqdir destroy works

2020-12-09 Thread SeongJae Park
On Thu, 10 Dec 2020 01:17:58 +0100 Eric Dumazet wrote: > > > On 12/8/20 10:45 AM, SeongJae Park wrote: > > From: SeongJae Park > > > > In 'fqdir_exit()', a work for destruction of the 'fqdir' is enqueued. > > The work function, 'fqdir_work_fn()', calls 'rcu_barrier()'. In case of > > intensi

Re: [PATCH] dt-bindings: leds: Document commonly used LED triggers

2020-12-09 Thread Manivannan Sadhasivam
On Thu, Dec 10, 2020 at 02:57:09PM +0800, Leizhen (ThunderTown) wrote: > > > On 2020/12/10 14:14, Manivannan Sadhasivam wrote: > > This commit documents the LED triggers used commonly in the SoCs. Not > > all triggers are documented as some of them are very application specific. > > Most of the t

[PATCH v16 0/4] userspace MHI client interface driver

2020-12-09 Thread Hemant Kumar
This patch series adds support for UCI driver. UCI driver enables userspace clients to communicate to external MHI devices like modem. UCI driver probe creates standard character device file nodes for userspace clients to perform open, read, write, poll and release file operations. These file opera

[PATCH v16 3/4] docs: Add documentation for userspace client interface

2020-12-09 Thread Hemant Kumar
MHI userspace client driver is creating device file node for user application to perform file operations. File operations are handled by MHI core driver. Currently QMI MHI channel is supported by this driver. Signed-off-by: Hemant Kumar Reviewed-by: Jeffrey Hugo --- Documentation/mhi/index.rst

[PATCH v16 4/4] bus: mhi: Add userspace client interface driver

2020-12-09 Thread Hemant Kumar
This MHI client driver allows userspace clients to transfer raw data between MHI device and host using standard file operations. Driver instantiates UCI device object which is associated to device file node. UCI device object instantiates UCI channel object when device file node is opened. UCI chan

[PATCH v16 1/4] bus: mhi: core: Add helper API to return number of free TREs

2020-12-09 Thread Hemant Kumar
Introduce mhi_get_free_desc_count() API to return number of TREs available to queue buffer. MHI clients can use this API to know before hand if ring is full without calling queue API. Signed-off-by: Hemant Kumar Reviewed-by: Jeffrey Hugo Reviewed-by: Manivannan Sadhasivam --- drivers/bus/mhi/c

[PATCH v16 2/4] bus: mhi: core: Move MHI_MAX_MTU to external header file

2020-12-09 Thread Hemant Kumar
Currently this macro is defined in internal MHI header as a TRE length mask. Moving it to external header allows MHI client drivers to set this upper bound for the transmit buffer size. Signed-off-by: Hemant Kumar Reviewed-by: Jeffrey Hugo Reviewed-by: Manivannan Sadhasivam --- drivers/bus/mhi

Re: [PATCH v3 1/4] Input: adp5589-keys - add default platform data

2020-12-09 Thread Dmitry Torokhov
Hi Alexandru, Lars-Peter, On Fri, Nov 27, 2020 at 01:14:17PM +0200, Alexandru Ardelean wrote: > From: Lars-Peter Clausen > > If no platform data is supplied use a dummy platform data that configures > the device in GPIO only mode. This change adds a adp5589_kpad_pdata_get() > helper that returns

[PATCH] arm64: topology: Cleanup init_amu_fie() a bit

2020-12-09 Thread Viresh Kumar
Every time I have stumbled upon this routine, I get confused with the way 'have_policy' is used and I have to dig in to understand why is it so. Here is an attempt to make it easier to understand, and hopefully it is an improvement. This is based on the logic that amu_fie_cpus will be empty if cpu

Re: KRETPROBES are broken since kernel 5.8

2020-12-09 Thread Adam Zabrocki
Hi, On Thu, Dec 10, 2020 at 10:25:07AM +0900, Masami Hiramatsu wrote: > Hi Adam, > > Thank you for reporting and debugging, actually we had investigated this > issue in Aug. Please read this thread. > > https://lkml.kernel.org/r/8816bdbbc55c4d2397e0b02aad282...@trendmicro.com > Thanks for the

Re: [PATCH v4] PM: domains: create debugfs nodes when adding power domains

2020-12-09 Thread Ulf Hansson
On Tue, 8 Dec 2020 at 20:20, Thierry Strudel wrote: > > debugfs nodes were created in genpd_debug_init alled in late_initcall > preventing power domains registered though loadable modules to have > a debugfs entry. > > Create/remove debugfs nodes when the power domain is added/removed > to/from th

Re: [PATCH] mt76: Fixed kernel test robot warning

2020-12-09 Thread Kalle Valo
Souptick Joarder writes: > Kernel test robot throws below warning -> > >drivers/net/wireless/mediatek/mt76/tx.c: In function > 'mt76_txq_schedule': >>> drivers/net/wireless/mediatek/mt76/tx.c:499:21: warning: variable 'q' >>> set but not used [-Wunused-but-set-variable] > 499 | struct m

Re: Urgent: BUG: PPP ioctl Transport endpoint is not connected

2020-12-09 Thread Martin Zaharinov
And one other From other mailing I see you send patch to Denys Fedoryshchenko this patch is : diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c index 255a5def56e9..2acf4b0eabd1 100644 --- a/drivers/net/ppp/ppp_generic.c +++ b/drivers/net/ppp/ppp_generic.c @@ -3161,6 +3

[PATCH] gpiolib: irq hooks: fix recursion in gpiochip_irq_unmask

2020-12-09 Thread Nikita Shubin
irqchip shared with multiple gpiochips, leads to recursive call of gpiochip_irq_mask/gpiochip_irq_unmask which was assigned to rqchip->irq_mask/irqchip->irq_unmask, these happens becouse of only irqchip->irq_enable == gpiochip_irq_enable is checked. Let's add an additional check to make sure share

Re: [PATCH V2 3/3] perf: Optimize sched_task() in a context switch

2020-12-09 Thread Namhyung Kim
Hi Peter and Kan, How can we move this forward? Thanks, Namhyung On Fri, Dec 4, 2020 at 4:14 PM Namhyung Kim wrote: > > Hi Peter, > > On Wed, Dec 2, 2020 at 2:29 AM Peter Zijlstra wrote: > > > > On Mon, Nov 30, 2020 at 11:38:42AM -0800, kan.li...@linux.intel.com wrote: > > > From: Kan Liang >

[tip:x86/cache] BUILD SUCCESS WITH WARNING 2ba836dbe2467d31fffb439258c2f454c6f1a317

2020-12-09 Thread kernel test robot
et-but-not-used |-- i386-randconfig-a001-20201209 | `-- arch-x86-kernel-cpu-resctrl-monitor.c:warning:variable-chunks-set-but-not-used |-- i386-randconfig-a002-20201209 | `-- arch-x86-kernel-cpu-resctrl-monitor.c:warning:variable-chunks-set-but-not-used |-- i386-randconfig-a002-20201210 | `--

Re: Urgent: BUG: PPP ioctl Transport endpoint is not connected

2020-12-09 Thread Martin Zaharinov
> On 9 Dec 2020, at 20:10, Guillaume Nault wrote: > > On Wed, Dec 09, 2020 at 06:57:44PM +0200, Martin Zaharinov wrote: >>> On 9 Dec 2020, at 18:40, Guillaume Nault wrote: >>> On Wed, Dec 09, 2020 at 04:47:52PM +0200, Martin Zaharinov wrote: Hi All I have problem with latest k

Re: [PATCH 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-09 Thread David Hildenbrand
> Am 10.12.2020 um 07:58 schrieb Heiko Carstens : > > On Thu, Dec 10, 2020 at 09:48:11AM +0530, Anshuman Khandual wrote: Alternatively leaving __segment_load() and vmem_add_memory() unchanged will create three range checks i.e two memhp_range_allowed() and the existing VMEM_MAX_P

tnc.c:undefined reference to `ubifs_bad_hash'

2020-12-09 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a2f5ea9e314ba6778f885c805c921e9362ec0420 commit: 0da310e82d3a9bff6ef6b0f2fbf45d1a05cc64fe riscv: gcov: enable gcov for RISC-V date: 11 months ago config: riscv-randconfig-r003-20201209 (attached as

Re: [PATCH 3/3] arm64: dts: mt8183: Add display nodes for MT8183

2020-12-09 Thread CK Hu
Hi, Enric: On Fri, 2020-11-27 at 11:49 +0100, Enric Balletbo i Serra wrote: > Add display subsystem device nodes to allow video output. > > Signed-off-by: Enric Balletbo i Serra > --- > > arch/arm64/boot/dts/mediatek/mt8183.dtsi | 114 +++ > 1 file changed, 114 insertions(+

Re: [PATCH 3/3] s390/mm: Define arch_get_mappable_range()

2020-12-09 Thread Heiko Carstens
On Thu, Dec 10, 2020 at 09:48:11AM +0530, Anshuman Khandual wrote: > >> Alternatively leaving __segment_load() and vmem_add_memory() unchanged > >> will create three range checks i.e two memhp_range_allowed() and the > >> existing VMEM_MAX_PHYS check in vmem_add_mapping() on all the hotplug > >> pa

Re: memory leak in bpf

2020-12-09 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:a68a0262 mm/madvise: remove racy mm ownership check git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11facf1750 kernel config: https://syzkaller.appspot.com/x/.config?x=4305fa9ea70c7a9f

Re: [PATCH] dt-bindings: leds: Document commonly used LED triggers

2020-12-09 Thread Leizhen (ThunderTown)
On 2020/12/10 14:14, Manivannan Sadhasivam wrote: > This commit documents the LED triggers used commonly in the SoCs. Not > all triggers are documented as some of them are very application specific. > Most of the triggers documented here are currently used in devicetrees > of many SoCs. > > Sig

[PATCH v3] dt-bindings: usb: Add new compatible string for AM64 SoC

2020-12-09 Thread Aswath Govindraju
Add compatible string in j721e-usb binding file as the same USB subsystem is present in AM64. Signed-off-by: Aswath Govindraju Acked-by: Roger Quadros --- Changes since v2: - added changes done over the versions Changes since v1: - replaced the '\t' at the beginning of the lines with spaces as

Re: [PATCH v4 0/6] MIPS: ralink: add CPU clock detection and clock driver for MT7621

2020-12-09 Thread Sergio Paracuellos
Hi all, On Sun, Nov 22, 2020 at 10:55 AM Sergio Paracuellos wrote: > > This patchset ports CPU clock detection for MT7621 from OpenWrt > and adds a complete clock plan for the mt7621 SOC. > > The documentation for this SOC only talks about two registers > regarding to the clocks: > * SYSC_REG_CPL

[PATCH] gpio: aspeed: Lock GPIO pin used as IRQ

2020-12-09 Thread Troy Lee
GPIO pins can be used as IRQ indicators. When they do, those pins should be flaged with locks to avoid kernel warning message. Signed-off-by: Chia-Wei, Wang Signed-off-by: Troy Lee --- drivers/gpio/gpio-aspeed.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpio/gpio-aspeed

Re: linux-next: manual merge of the staging tree with the phy-next tree

2020-12-09 Thread Sergio Paracuellos
Hi Stephen, On Thu, Dec 10, 2020 at 7:40 AM Stephen Rothwell wrote: > > Hi all, > > Today's linux-next merge of the staging tree got conflicts in: > > drivers/staging/Kconfig > drivers/staging/Makefile > > between commit: > > 53e7c92c7fa0 ("staging: mt7621-pci-phy: remove driver from stagin

[PATCH] sh: kdump: add some attribute to function

2020-12-09 Thread Yejune Deng
add '__iomem' for ioremap() and '__user' for copy_to_user(). Signed-off-by: Yejune Deng --- arch/sh/kernel/crash_dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sh/kernel/crash_dump.c b/arch/sh/kernel/crash_dump.c index a908612..5b41b59 100644 --- a/arch/sh/ke

Re: [PATCH v2 0/3] PCI: J721E: Fix Broken DT w.r.t SYSCON DT

2020-12-09 Thread Kishon Vijay Abraham I
Hi Lorenzo, On 04/12/20 1:21 pm, Kishon Vijay Abraham I wrote: > Previously a subnode to syscon node was added which has the > exact memory mapped address of pcie_ctrl but based on review comment > provided by Rob [1], the offset is now being passed as argument to > "ti,syscon-pcie-ctrl" phandle.

Re: linux-next: build warning after merge of the kbuild tree

2020-12-09 Thread Dominique Martinet
Stephen Rothwell wrote on Thu, Dec 10, 2020: > On Wed, 9 Dec 2020 14:01:30 +0100 Dominique Martinet > wrote: > > > > I guess it's possible to make kbuild check both sbin and PATH, would > > that be acceptable? > > I guess so. But, have you actually found any setup where depmod is not > /sbin/de

Re: [PATCH 1/1] net/ipv4/inet_fragment: Batch fqdir destroy works

2020-12-09 Thread SeongJae Park
On Wed, 9 Dec 2020 15:16:59 -0800 Jakub Kicinski wrote: > On Tue, 8 Dec 2020 10:45:29 +0100 SeongJae Park wrote: > > From: SeongJae Park > > > > In 'fqdir_exit()', a work for destruction of the 'fqdir' is enqueued. > > The work function, 'fqdir_work_fn()', calls 'rcu_barrier()'. In case of > >

[PATCH v3 5/5] f2fs: introduce sb_status sysfs node

2020-12-09 Thread Chao Yu
Introduce /sys/fs/f2fs//stat/sb_status to show superblock status in real time as a hexadecimal value. value sb status macro description 0x1 SBI_IS_DIRTY, /* dirty flag for checkpoint */ 0x2 SBI_IS_CLOSE, /* spec

Re: [PATCH net-next] net: lapbether: Consider it successful if (dis)connecting when already (dis)connected

2020-12-09 Thread Martin Schiller
On 2020-12-08 23:50, Xie He wrote: When the upper layer instruct us to connect (or disconnect), but we have already connected (or disconnected), consider this operation successful rather than failed. This can help the upper layer to correct its record about whether we are connected or not her

linux-next: manual merge of the staging tree with the phy-next tree

2020-12-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the staging tree got conflicts in: drivers/staging/Kconfig drivers/staging/Makefile between commit: 53e7c92c7fa0 ("staging: mt7621-pci-phy: remove driver from staging") from the phy-next tree and commit: 518b466a21ad ("pinctrl: ralink: add a pinctrl

Re: [PATCH net-next] net: x25: Fix handling of Restart Request and Restart Confirmation

2020-12-09 Thread Martin Schiller
On 2020-12-09 21:16, Xie He wrote: On Wed, Dec 9, 2020 at 2:31 AM Martin Schiller wrote: >> 1. When the x25 module gets loaded, layer 2 may already be running and >> connected. In this case, although we are in X25_LINK_STATE_0, we still >> need to handle the Restart Request received, rather th

Re: [PATCH 2/2] Input: elantech - Some module tp of tracpoint report has a smbus protocol error.

2020-12-09 Thread Dmitry Torokhov
Hi Jingle, On Mon, Dec 07, 2020 at 05:08:00PM +0800, jingle.wu wrote: > 1. Add the conditional expression to distinguish different patterns regarding > 0, 1, 2. > 2. Add the function to get or set more bytes from register > 3. Get and correct the device informations including ic_type, module id f

Re: [PATCH v2 1/8] mm/gup: perform check_dax_vmas only when FS_DAX is enabled

2020-12-09 Thread Pankaj Gupta
> There is no need to check_dax_vmas() and run through the npage loop of > pinned pages if FS_DAX is not enabled. > > Add a stub check_dax_vmas() function for no-FS_DAX case. > > Signed-off-by: Pavel Tatashin > Reviewed-by: John Hubbard > --- > mm/gup.c | 7 +++ > 1 file changed, 7 insertion

Re: [PATCH 3/3] mfd: bd9571mwv: Add support for BD9574MWF

2020-12-09 Thread Vaittinen, Matti
Hi deee Ho Yoshihiro-san, Geert, All, On Wed, 2020-12-09 at 14:30 +0100, Geert Uytterhoeven wrote: > Hi Shimoda-san, > > CC Matti (BD9573/6 driver for R-Car platforms) Thank Geert! I wouldn't have noticed this :) > > (I don't have the BD9574 datasheet, so I have to base my review on > https:/

Re: [PATCH net-next v7 4/5] net/x25: fix restart request/confirm handling

2020-12-09 Thread Martin Schiller
On 2020-12-09 23:11, Xie He wrote: On Wed, Dec 9, 2020 at 1:47 AM Xie He wrote: On Wed, Dec 9, 2020 at 1:41 AM Martin Schiller wrote: > > Right. > By the way: A "Restart Collision" is in practice a very common event to > establish the Layer 3. Oh, I see. Thanks! Hi Martin, When you submit

RE: [PATCH] [v2] blk-mq-tag: make blk_mq_tag_busy() return void

2020-12-09 Thread Tianxianting
Yes, Sorry, In V2. I missed it, so I sent v3 :) -Original Message- From: Chaitanya Kulkarni [mailto:chaitanya.kulka...@wdc.com] Sent: Thursday, December 10, 2020 2:21 PM To: tianxianting (RD) ; ax...@kernel.dk Cc: ming@redhat.com; linux-bl...@vger.kernel.org; linux-kernel@vger.kerne

Re: [PATCH] [v2] blk-mq-tag: make blk_mq_tag_busy() return void

2020-12-09 Thread Chaitanya Kulkarni
On 12/9/20 22:06, Xianting Tian wrote: > As no one cares about the return value of blk_mq_tag_busy() and > __blk_mq_tag_busy(), so make them return void. > > Other change is to simplify blk_mq_tag_idle(). > > Signed-off-by: Xianting Tian > Reviewed-by: Ming Lei > --- > block/blk-mq-tag.c | 4 ++

Re: [PATCH 1/1] dt-bindings: leds: add onboard LED triggers of 96Boards

2020-12-09 Thread Manivannan Sadhasivam
On Thu, Dec 10, 2020 at 02:14:57PM +0800, Leizhen (ThunderTown) wrote: > > > On 2020/12/10 11:31, Manivannan Sadhasivam wrote: > > Hi, > > > > On Thu, Dec 10, 2020 at 11:12:03AM +0800, Zhen Lei wrote: > >> For all 96Boards, the following standard is used for onboard LEDs. > >> > >> green:user1

Re: [PATCH] [v2] tty: Protect disc_data in n_tty_close and n_tty_flush_buffer

2020-12-09 Thread Greg KH
On Thu, Dec 10, 2020 at 10:25:07AM +0800, Yan.Gao wrote: > n_tty_flush_buffer can happen in parallel with n_tty_close that the > tty->disc_data will be set to NULL. n_tty_flush_buffer accesses > tty->disc_data, so we must prevent n_tty_close clear tty->disc_data > while n_tty_flush_buffer has a no

Re: "irq 4: Affinity broken due to vector space exhaustion." warning on restart of ttyS0 console

2020-12-09 Thread Shung-Hsi Yu
On Wed, Dec 09, 2020 at 07:28:49PM +0100, Thomas Gleixner wrote: > But the fix is not to tone down the warning. The proper fix is to do the > search in the correct order. Agree. Thank you for the speedy fix! Tested-by: Shung-Hsi Yu

Re: [PATCH -next] fs/ntfs: fix set but not used variable 'log_page_mask'

2020-12-09 Thread Zheng Zengkai
Hi Anton and Andrew, Hi Andrew, Ah, oops! Thank you and apologies. Quite right the alternative patch was even better. No need to apply this patch after all... Zheng, the log_page_mask variable was removed altogether so your patch no longer makes sense. Best regards, Anton On 1

Re: [PATCH] block: blk-iocost: fix build for ARCH with missing local64.h files

2020-12-09 Thread Christoph Hellwig
On Wed, Dec 09, 2020 at 10:16:20PM -0800, Randy Dunlap wrote: > include/asm-generic/local64.h has comments about some $arch could do > its things better/faster instead of using asm-generic, but no $arch has > done that since 2010 when it was added. > > Is that conclusive? > If it is, why even use

Re: [PATCH] block: blk-iocost: fix build for ARCH with missing local64.h files

2020-12-09 Thread Randy Dunlap
On 12/9/20 10:07 PM, Christoph Hellwig wrote: > On Wed, Dec 09, 2020 at 12:46:57PM -0800, Randy Dunlap wrote: >> When building block/blk-iocost.c on arch/x6x/ or arch/nios2/, the >> build fails due to missing the file. > > Please mark it mandatory-y if the asm-generic version is suitable > for ev

Re: [PATCH 1/1] dt-bindings: leds: add onboard LED triggers of 96Boards

2020-12-09 Thread Leizhen (ThunderTown)
On 2020/12/10 11:31, Manivannan Sadhasivam wrote: > Hi, > > On Thu, Dec 10, 2020 at 11:12:03AM +0800, Zhen Lei wrote: >> For all 96Boards, the following standard is used for onboard LEDs. >> >> green:user1 default-trigger: heartbeat >> green:user2 default-trigger: mmc0/disk-activity(onboard-s

[PATCH] dt-bindings: leds: Document commonly used LED triggers

2020-12-09 Thread Manivannan Sadhasivam
This commit documents the LED triggers used commonly in the SoCs. Not all triggers are documented as some of them are very application specific. Most of the triggers documented here are currently used in devicetrees of many SoCs. Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/l

Re: [PATCH 1/2] Input: elan_i2c - Add new trackpoint report type 0x5F.

2020-12-09 Thread Dmitry Torokhov
Hi Jingle, On Mon, Dec 07, 2020 at 05:07:51PM +0800, jingle.wu wrote: > The 0x5F is new trackpoint report type of some module. > > Signed-off-by: Jingle Wu > --- > drivers/input/mouse/elan_i2c_core.c | 2 ++ > drivers/input/mouse/elan_i2c_smbus.c | 3 ++- > 2 files changed, 4 insertions(+), 1

Re: [PATCH] files: rcu free files_struct

2020-12-09 Thread Al Viro
On Wed, Dec 09, 2020 at 03:32:38PM -0600, Eric W. Biederman wrote: > Al Viro writes: > > > On Wed, Dec 09, 2020 at 11:13:38AM -0800, Linus Torvalds wrote: > >> On Wed, Dec 9, 2020 at 10:05 AM Eric W. Biederman > >> wrote: > >> > > >> > - struct file * file = xchg(&

[PATCH 2/2] perf evlist: Support pipe mode display

2020-12-09 Thread Namhyung Kim
Likewise, perf evlist command should print event attributes by reading PERF_RECORD_HEADER_ATTR records. Before: $ perf record -o- true | ./perf evlist -i- (prints nothing) After: $ perf record -o- true | ./perf evlist -i- cycles:pppH Signed-off-by: Namhyung Kim --- tools/perf/builtin-e

[PATCH 1/2] perf report: Support --header-only for pipe mode

2020-12-09 Thread Namhyung Kim
The --header-only checks file header and prints the feature data. But as pipe mode doesn't have it in the header it prints almost nothing. Change it to process first few records until it founds HEADER_FEATURE. Before: $ perf record -o- true | perf report -i- --header-only # # captu

Re: [PATCH] usb: cdns3: Fixed kernel test robot warning

2020-12-09 Thread Greg KH
On Thu, Dec 10, 2020 at 01:45:52AM +0530, Souptick Joarder wrote: > Kernel test robot throws below warning -> > > In file included from drivers/usb/cdns3/core.c:23: > >> drivers/usb/cdns3/host-export.h:27:51: warning: 'struct usb_hcd' > >> declared inside parameter list will not be visible outside

Re: [PATCH v2 3/5] dt-bindings: clock: Add SM8350 GCC clock bindings

2020-12-09 Thread Vinod Koul
On 09-12-20, 22:01, Rob Herring wrote: > On Tue, Dec 08, 2020 at 12:17:00PM +0530, Vinod Koul wrote: > > +required: > > + - compatible > > + - clocks > > + - clock-names > > + - reg > > + - '#clock-cells' > > + - '#reset-cells' > > You may or may not have power domains? I have not added th

[PATCH 2/2] platform/chrome: cros_ec_typec: Send mux configuration acknowledgment to EC

2020-12-09 Thread Utkarsh Patel
In some corner cases downgrade of the superspeed typec device(e.g. Dell typec Dock, apple dongle) was seen because before the SOC mux configuration finishes, EC starts configuring the next mux state. With this change, once the SOC mux is configured, kernel will send an acknowledgment to EC via Hos

[PATCH 0/2] Send acknowledgment to ec from cors_ec_typec

2020-12-09 Thread Utkarsh Patel
This adds mechanism of sending mux configuration acknowledgment from kernel to EC. It also modifies cros_typec_cmds_supported() to support multiple feature flags. Utkarsh Patel (2): platform/chrome: cros_ec_typec: Parameterize cros_typec_cmds_supported() platform/chrome: cros_ec_typec: Sen

[PATCH 1/2] platform/chrome: cros_ec_typec: Parameterize cros_typec_cmds_supported()

2020-12-09 Thread Utkarsh Patel
cros_typec_cmds_supported() is currently being used to check only one feature flag. Add a new feature parameter to it so that it can be used to check multiple feature flags supported in cros_ec. Rename cros_typec_cmds_supported() to cros_typec_feature_supported(). Signed-off-by: Utkarsh Patel ---

Re: [PATCH] block: blk-iocost: fix build for ARCH with missing local64.h files

2020-12-09 Thread Christoph Hellwig
On Wed, Dec 09, 2020 at 12:46:57PM -0800, Randy Dunlap wrote: > When building block/blk-iocost.c on arch/x6x/ or arch/nios2/, the > build fails due to missing the file. Please mark it mandatory-y if the asm-generic version is suitable for everyone and random pieces of kernel code are supposed to

[PATCH v12 2/5] leds: flash: Fix multicolor no-ops registration by return 0

2020-12-09 Thread Gene Chen
From: Gene Chen Fix multicolor no-ops registration by return 0, and move the same registration functions outside of #ifdef block. Signed-off-by: Gene Chen Acked-by: Jacek Anaszewski --- include/linux/led-class-multicolor.h | 42 +--- 1 file changed, 15 insertio

[PATCH] [v2] blk-mq-tag: make blk_mq_tag_busy() return void

2020-12-09 Thread Xianting Tian
As no one cares about the return value of blk_mq_tag_busy() and __blk_mq_tag_busy(), so make them return void. Other change is to simplify blk_mq_tag_idle(). Signed-off-by: Xianting Tian Reviewed-by: Ming Lei --- block/blk-mq-tag.c | 4 ++-- block/blk-mq-tag.h | 16 ++-- 2 files c

[PATCH v12 5/5] leds: mt6360: Add LED driver for MT6360

2020-12-09 Thread Gene Chen
From: Gene Chen Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, 3-channel RGB LED support Register/Flash/Breath Mode, and 1-channel for moonlight LED. Signed-off-by: Gene Chen --- drivers/leds/Kconfig | 13 + drivers/leds/Makefile | 1 + drivers/leds/led

[PATCH v12 1/5] leds: flash: Add flash registration with undefined CONFIG_LEDS_CLASS_FLASH

2020-12-09 Thread Gene Chen
From: Gene Chen Add flash registration with undefined CONFIG_LEDS_CLASS_FLASH, and move the same registration functions outside of #ifdef block. Signed-off-by: Gene Chen Acked-by: Jacek Anaszewski --- include/linux/led-class-flash.h | 42 - 1 file chang

[PATCH v12 4/5] dt-bindings: leds: Add bindings for MT6360 LED

2020-12-09 Thread Gene Chen
From: Gene Chen Add bindings document for LED support on MT6360 PMIC Signed-off-by: Gene Chen --- .../devicetree/bindings/leds/leds-mt6360.yaml | 159 + 1 file changed, 159 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-mt6360.yaml diff

[PATCH v12 3/5] dt-bindings: leds: Add LED_FUNCTION_MOONLIGHT definitions

2020-12-09 Thread Gene Chen
From: Gene Chen Add LED_FUNCTION_MOONLIGHT definitions Signed-off-by: Gene Chen Acked-by: Jacek Anaszewski Acked-by: Rob Herring --- include/dt-bindings/leds/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h in

[PATCH v12 0/5] leds: mt6360: Add LED driver for MT6360

2020-12-09 Thread Gene Chen
This patch series add MT6360 LED support contains driver and binding document Gene Chen (5) leds: flash: Add flash registration with undefined CONFIG_LEDS_CLASS_FLASH leds: flash: Fix multicolor no-ops registration by return 0 dt-bindings: leds: Add LED_COLOR_ID_MOONLIGHT definitions dt-bindin

[PATCH] serial: 8250_omap: Avoid FIFO corruption caused by MDR1 access

2020-12-09 Thread Alexander Sverdlin
It has been observed that once per 300-1300 port openings the first transmitted byte is being corrupted on AM3352 ("v" written to FIFO appeared as "e" on the wire). It only happened if single byte has been transmitted right after port open, which means, DMA is not used for this transfer and the cor

Re: [PATCH v1 bpf-next 03/11] tcp: Migrate TCP_ESTABLISHED/TCP_SYN_RECV sockets in accept queues.

2020-12-09 Thread Kuniyuki Iwashima
From: Martin KaFai Lau Date: Wed, 9 Dec 2020 17:53:19 -0800 > On Thu, Dec 10, 2020 at 01:57:19AM +0900, Kuniyuki Iwashima wrOAote: > [ ... ] > > > > > > I think it is a bit complex to pass the new listener from > > > > > reuseport_detach_sock() to inet_csk_listen_stop(). > > > > > > > > > >

Re: [f2fs-dev] [PATCH] fs: f2fs: fix potential shift-out-of-bounds error in sanity_check_raw_super()

2020-12-09 Thread Chao Yu
Jaegeuk, Could you please help to add signed-off of Anant manually in f2fs: fix shift-out-of-bounds in sanity_check_raw_super() Thanks, On 2020/12/10 10:14, Anant Thazhemadam wrote: On 10/12/20 7:40 am, Chao Yu wrote: On 2020/12/10 10:00, Anant Thazhemadam wrote: On 10/12/20 7:16 am, Chao

Re: [PATCH] perf test: Skip test 68 for Powerpc

2020-12-09 Thread Ravi Bangoria
On 12/9/20 11:19 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Dec 08, 2020 at 10:32:33PM +0530, Ravi Bangoria escreveu: On 12/8/20 8:13 PM, Thomas Richter wrote: On 12/7/20 5:35 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Nov 24, 2020 at 03:04:53PM +0530, Ravi Bangoria escreveu: On 11/19/20

Re: [linux-safety] [PATCH] kernel: trace: Remove deadstore in trace_uprobe.c

2020-12-09 Thread Lukas Bulwahn
On Wed, Dec 9, 2020 at 2:17 PM Milan Lakhani wrote: > > In trace_uprobe.c, trace_uprobe_create assigns ret to 0 but then never > uses this value. > Milan, the patch makes sense, but I fear you did not run ./scripts/get_maintainers.pl because you did not include any specific maintainer as recipien

[PATCH] arm64: topology: Drop the useless update to per-cpu cycles

2020-12-09 Thread Viresh Kumar
The previous call to update_freq_counters_refs() has already updated the per-cpu variables, don't overwrite them with the same value again. Fixes: 4b9cf23c179a ("arm64: wrap and generalise counter read functions") Signed-off-by: Viresh Kumar --- arch/arm64/kernel/topology.c | 6 +- 1 file ch

Re: [PATCH net-next 3/7] net: hns3: add support for forwarding packet to queues of specified TC when flow director rule hit

2020-12-09 Thread Saeed Mahameed
On Thu, 2020-12-10 at 11:42 +0800, Huazhong Tan wrote: > From: Jian Shen > > For some new device, it supports forwarding packet to queues > of specified TC when flow director rule hit. So extend the > command handle to support it. > ... > static int hclge_config_action(struct hclge_dev *hdev,

[PATCH v2] dt-bindings: usb: Add new compatible string for AM64 SoC

2020-12-09 Thread Aswath Govindraju
Add compatible string in j721e-usb binding file as the same USB subsystem is present in AM64. Signed-off-by: Aswath Govindraju Acked-by: Roger Quadros --- Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documenta

[PATCH v4 6/6] MAINTAINERS: add maintainer for i.MX8qxp DPU DRM driver

2020-12-09 Thread Liu Ying
Add myself as the maintainer of the i.MX8qxp DPU DRM driver. Signed-off-by: Liu Ying --- v3->v4: * No change. v2->v3: * No change. v1->v2: * No change. MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 970d9ce..dee4586 100644 --- a/MAINTA

[PATCH v4 1/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPU binding

2020-12-09 Thread Liu Ying
This patch adds bindings for i.MX8qxp/qm Display Processing Unit. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- Note that this depends on the 'two cell binding' clock patch set which has already landed in Shawn's i.MX clk/imx git branch. Otherwise, imx8-lpcg.h won't be found. v3->v4: *

[PATCH v4 4/6] drm/atomic: Avoid unused-but-set-variable warning on for_each_old_plane_in_state

2020-12-09 Thread Liu Ying
Artifically use 'plane' and 'old_plane_state' to avoid 'not used' warning. The precedent has already been set by other macros in the same file. Acked-by: Daniel Vetter Signed-off-by: Liu Ying --- v3->v4: * Add Daniel's A-b tag. v2->v3: * Add a missing blank line. v1->v2: * No change. include

[PATCH v4 3/6] dt-bindings: display: imx: Add i.MX8qxp/qm DPR channel binding

2020-12-09 Thread Liu Ying
This patch adds bindings for i.MX8qxp/qm Display Prefetch Resolve Channel. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- Note that this depends on the 'two cell binding' clock patch set which has already landed in Shawn's i.MX clk/imx git branch. Otherwise, imx8-lpcg.h won't be found. v

[PATCH v4 2/6] dt-bindings: display: imx: Add i.MX8qxp/qm PRG binding

2020-12-09 Thread Liu Ying
This patch adds bindings for i.MX8qxp/qm Display Prefetch Resolve Gasket. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- Note that this depends on the 'two cell binding' clock patch set which has already landed in Shawn's i.MX clk/imx git branch. Otherwise, imx8-lpcg.h won't be found. v3

  1   2   3   4   5   6   7   8   9   10   >