[PATCH] md-multipath: Replace a seq_printf() call by seq_putc() in multipath_status()

2019-07-01 Thread Markus Elfring
From: Markus Elfring Date: Mon, 1 Jul 2019 13:07:55 +0200 A single character (depending on a condition check) should be put into a sequence. Thus use the corresponding function “seq_putc”. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/md/m

Re: [RFC] deadlock with flush_work() in UAS

2019-07-01 Thread Oliver Neukum
Am Mittwoch, den 26.06.2019, 10:38 -0400 schrieb Alan Stern: > On Wed, 26 Jun 2019, Oliver Neukum wrote: > > > Am Montag, den 24.06.2019, 10:22 -0400 schrieb Alan Stern: > > > But that pattern makes no sense; a driver would never use it. The > > > driver would just do the reset itself. > > > >

linux-next: build failure after merge of the hmm tree

2019-07-01 Thread Stephen Rothwell
Hi all, After merging the hmm tree, today's linux-next build (x86_64 allmodconfig) failed like this: mm/hmm.c: In function 'hmm_get_or_create': mm/hmm.c:50:2: error: implicit declaration of function 'lockdep_assert_held_exclusive'; did you mean 'lockdep_assert_held_once'? [-Werror=implicit-func

Re: [PATCH v2 2/2] rt2x00usb: remove unnecessary rx flag checks

2019-07-01 Thread Stanislaw Gruszka
On Mon, Jul 01, 2019 at 12:53:14PM +0200, Soeren Moch wrote: > In contrast to the TX path, there is no need to separately read the transfer > status from the device after receiving RX data. Consequently, there is no > real STATUS_PENDING RX processing queue entry state. > Remove the unnecessary ENT

[PATCH v2] perf: Fix exclusive events' grouping

2019-07-01 Thread Alexander Shishkin
So far, we tried to disallow grouping exclusive events for the fear of complications they would cause with moving between contexts. Specifically, moving a software group to a hardware context would violate the exclusivity rules if both groups contain matching exclusive events. This attempt was, ho

Re: [PATCH v2 1/2] rt2x00usb: fix rx queue hang

2019-07-01 Thread Stanislaw Gruszka
On Mon, Jul 01, 2019 at 12:53:13PM +0200, Soeren Moch wrote: > Since commit ed194d136769 ("usb: core: remove local_irq_save() around > ->complete() handler") the handler rt2x00usb_interrupt_rxdone() is > not running with interrupts disabled anymore. So this completion handler > is not guaranteed t

[PATCH v2] let proc net directory inodes reflect to active net namespace

2019-07-01 Thread Hallsmark, Per
Hi, Linux kernel recently got a bugfix 1fde6f21d90f ("proc: fix /proc/net/* after setns(2)"), but unfortunately it only solves the issue for procfs net file inodes so they get correct content after a process change namespace. Checking on a v5.2-rc6 kernel : sh-4.4# sh netns_procfs_test.sh [

Re: [PATCH] rt2x00: fix rx queue hang

2019-07-01 Thread Stanislaw Gruszka
On Mon, Jul 01, 2019 at 12:49:50PM +0200, Soeren Moch wrote: > Hello! > > On 29.06.19 10:50, Stanislaw Gruszka wrote: > > Hello > > > > On Wed, Jun 26, 2019 at 03:28:00PM +0200, Soeren Moch wrote: > >> Hi Stanislaw, > >> > >> the good news is: your patch below also solves the issue for me. But > >

[PATCH v1] perf: Fix exclusive events' grouping

2019-07-01 Thread Alexander Shishkin
So far, we tried to disallow grouping exclusive events for the fear of complications they would cause with moving between contexts. Specifically, moving a software group to a hardware context would violate the exclusivity rules if both groups contain matching exclusive events. This attempt was, ho

[PATCH v2 5/5] ACPI: PM: Drop unused function and function header

2019-07-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Remove a leftover function header and a static inline stub with no users from the ACPI header file. Signed-off-by: Rafael J. Wysocki --- -> v2: No changes. --- include/linux/acpi.h |2 -- 1 file changed, 2 deletions(-) Index: linux-pm/include/linux/acpi.h ===

[PATCH v2 3/5] ACPI: PM: Simplify and fix PM domain hibernation callbacks

2019-07-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki First, after a previous change causing all runtime-suspended devices in the ACPI PM domain (and ACPI LPSS devices) to be resumed before creating a snapshot image of memory during hibernation, it is not necessary to worry about the case in which them might be left in runtim

[PATCH v2 1/5] PM: ACPI/PCI: Resume all devices during hibernation

2019-07-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Both the PCI bus type and the ACPI PM domain avoid resuming runtime-suspended devices with DPM_FLAG_SMART_SUSPEND set during hibernation (before creating the snapshot image of system memory), but that turns out to be a mistake. It leads to functional issues and adds compl

[PATCH v2 2/5] PCI: PM: Simplify bus-level hibernation callbacks

2019-07-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After a previous change causing all runtime-suspended PCI devices to be resumed before creating a snapshot image of memory during hibernation, it is not necessary to worry about the case in which them might be left in runtime-suspend any more, so get rid of the code relate

[PATCH v2 4/5] ACPI: PM: Introduce "poweroff" callbacks for ACPI PM domain and LPSS

2019-07-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki In general, it is not correct to call pm_generic_suspend(), pm_generic_suspend_late() and pm_generic_suspend_noirq() during the hibernation's "poweroff" transition, because device drivers may provide special callbacks to be invoked then and the wrappers in question cause s

[PATCH] staging: android: ion: Bail out upon SIGKILL when allocating memory.

2019-07-01 Thread Tetsuo Handa
Andrew, can you pick up this patch? No response from Laura Abbott nor Sumit Semwal. On 2019/06/21 18:58, Tetsuo Handa wrote: > From e0758655727044753399fb4f7c5f3eb25ac5cccd Mon Sep 17 00:00:00 2001 > From: Tetsuo Handa > Date: Fri, 21 Jun 2019 11:22:51 +0900 > Subject: [PATCH] staging: android:

[PATCH v2 1/2] rt2x00usb: fix rx queue hang

2019-07-01 Thread Soeren Moch
Since commit ed194d136769 ("usb: core: remove local_irq_save() around ->complete() handler") the handler rt2x00usb_interrupt_rxdone() is not running with interrupts disabled anymore. So this completion handler is not guaranteed to run completely before workqueue processing starts for the same queu

[PATCH v2 2/2] rt2x00usb: remove unnecessary rx flag checks

2019-07-01 Thread Soeren Moch
In contrast to the TX path, there is no need to separately read the transfer status from the device after receiving RX data. Consequently, there is no real STATUS_PENDING RX processing queue entry state. Remove the unnecessary ENTRY_DATA_STATUS_PENDING flag checks from the RX path. Also remove the

[PATCH] mmc: sdhci-msm: fix mutex while in spinlock

2019-07-01 Thread Jorge Ramirez-Ortiz
mutexes can sleep and therefore should not be taken while holding a spinlock. move clk_get_rate (can sleep) outside the spinlock protected region. This regression was introduced with commit Date: Mon Nov 21 12:07:16 2016 +0530 mmc: sdhci-msm: Update DLL reset sequence SDCC core w

Re: [PATCH] kexec: Bail out upon SIGKILL when allocating memory.

2019-07-01 Thread Tetsuo Handa
Andrew, can you pick up this patch? We might miss next merge window, for Eric Biederman seems to be offline for two weeks. On 2019/06/14 19:16, Tetsuo Handa wrote: > syzbot found that a thread can stall for minutes inside kexec_load() after > that thread was killed by SIGKILL [1]. It turned out t

Re: [PATCH] rt2x00: fix rx queue hang

2019-07-01 Thread Soeren Moch
Hello! On 29.06.19 10:50, Stanislaw Gruszka wrote: > Hello > > On Wed, Jun 26, 2019 at 03:28:00PM +0200, Soeren Moch wrote: >> Hi Stanislaw, >> >> the good news is: your patch below also solves the issue for me. But >> removing the ENTRY_DATA_STATUS_PENDING check in >> rt2x00usb_kick_rx_entry() al

[RFC 00/11] arm64: Add support for Amlogic SM1 SoC Family

2019-07-01 Thread Neil Armstrong
The new Amlogic SM1 SoC Family is a derivative of the Amlogic G12A SoC Family, with the following changes : - Cortex-A55 cores instead of A53 - more power domains, including USB & PCIe - a neural network co-processor (NNA) - a CSI input and image processor - some changes in the audio complex, thus

[RFC 06/11] soc: amlogic: clk-measure: Add support for SM1

2019-07-01 Thread Neil Armstrong
Add the clk-measurer clocks IDs for the Amlogic SM1 SoC family. Signed-off-by: Neil Armstrong --- drivers/soc/amlogic/meson-clk-measure.c | 134 1 file changed, 134 insertions(+) diff --git a/drivers/soc/amlogic/meson-clk-measure.c b/drivers/soc/amlogic/meson-clk-measu

[RFC 01/11] soc: amlogic: meson-gx-socinfo: Add SM1 and S905X3 IDs

2019-07-01 Thread Neil Armstrong
Add the SoC IDs for the S905X3 Amlogic SM1 SoC. Signed-off-by: Neil Armstrong --- drivers/soc/amlogic/meson-gx-socinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c index bca34954518e..eb81d391b620 100644

[RFC 02/11] dt-bindings: power: amlogic, meson-gx-pwrc: Add SM1 bindings

2019-07-01 Thread Neil Armstrong
Add bindings for the Amlogic SM1 Power control: - the VPU power control compatible - the general-purpose power controller, controlling the USB, PCIe, NNA and GE2D power domains. Signed-off-by: Neil Armstrong --- .../bindings/power/amlogic,meson-gx-pwrc.txt | 35 +++ include/dt

Re: [PATCH] soc: ti: fix irq-ti-sci link error

2019-07-01 Thread Lokesh Vutla
On 17/06/19 6:31 PM, Arnd Bergmann wrote: > The irqchip driver depends on the SoC specific driver, but we want > to be able to compile-test it elsewhere: > > WARNING: unmet direct dependencies detected for TI_SCI_INTA_MSI_DOMAIN > Depends on [n]: SOC_TI [=n] > Selected by [y]: > - TI_SCI_

[RFC 08/11] media: platform: meson-ao-cec-g12a: add support for SM1

2019-07-01 Thread Neil Armstrong
Add support for the Amlogic SM1 SoC Family to the G12A AO-CECB derivative. It only adds a single init register. Signed-off-by: Neil Armstrong --- drivers/media/platform/meson/ao-cec-g12a.c | 37 +- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/drivers/media/p

[RFC 04/11] soc: amlogic: Add support for SM1 power controller

2019-07-01 Thread Neil Armstrong
Add support for the General Purpose Amlogic SM1 Power controller, dedicated to the PCIe, USB, NNA and GE2D Power Domains. Signed-off-by: Neil Armstrong --- drivers/soc/amlogic/Kconfig | 11 ++ drivers/soc/amlogic/Makefile | 1 + drivers/soc/amlogic/meson-sm1-pwrc.c | 245

[RFC 09/11] dt-bindings: arm: amlogic: add SM1 bindings

2019-07-01 Thread Neil Armstrong
Add bindings for the new Amlogic SM1 SoC Family. It a derivative of the G12A SoC Family with : - Cortex-A55 core instead of A53 - more power domains - a neural network co-processor - a CSI input and image processor Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/arm/amlogic.

[RFC 03/11] soc: amlogic: gx-pwrc-vpu: add SM1 support

2019-07-01 Thread Neil Armstrong
Add support for the Amlogic SM1 SoCs VPU Power Domain control, it uses a different register for Isolation and a supplementaty register for the domain memories power control. Signed-off-by: Neil Armstrong --- drivers/soc/amlogic/meson-gx-pwrc-vpu.c | 120 1 file changed,

[RFC 10/11] dt-bindings: arm: amlogic: add SEI Robotics SEI610 bindings

2019-07-01 Thread Neil Armstrong
Add the compatible for the Amlogic SM1 Based SEI610 board. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/arm/amlogic.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documentation/devicetree/bindings/arm/amlogi

[RFC 07/11] dt-bindings: media: meson-ao-cec: add SM1 compatible

2019-07-01 Thread Neil Armstrong
Add AO-CEC compatible string for the Amlogic SM1 SoC family, a derivate of the G12A AO-CECB controller. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/media/meson-ao-cec.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/

[RFC 11/11] arm64: dts: add support for SM1 based SEI Robotics SEI610

2019-07-01 Thread Neil Armstrong
Add support for the Amlogic SM1 Based SEI610 board. The SM1 SoC is a derivative of the G12A SoC Family with : - Cortex-A55 core instead of A53 - more power domains, including USB & PCIe - a neural network co-processor (NNA) - a CSI input and image processor - some changes in the audio complex, thu

[RFC 05/11] dt-bindings: soc: amlogic: clk-measure: Add SM1 compatible

2019-07-01 Thread Neil Armstrong
Add the Amlogic SM1 Compatible for the clk-measurer IP. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/amlogic/clk-measure.txt b/Documentation/devicetree/bi

Re: [PATCH v2 1/3] mm: Trigger bug on if a section is not found in __section_nr

2019-07-01 Thread Michal Hocko
On Fri 28-06-19 10:46:28, Alastair D'Silva wrote: [...] > Given that there is already a VM_BUG_ON in the code, how do you feel > about broadening the scope from 'VM_BUG_ON(!root)' to 'VM_BUG_ON(!root > || (root_nr == NR_SECTION_ROOTS))'? As far as I understand the existing VM_BUG_ON will hit when

[PATCH v2 0/5] PM: PCI/ACPI: Hibernation handling fixes

2019-07-01 Thread Rafael J. Wysocki
Hi All, This series of patches addresses a few issues related to the handling of hibernation in the PCI bus type and the ACPI PM domain and ACPI LPSS driver. The v2 addresses Hans' concerns regarding the LPSS changes. First of all, all of the runtime-suspended PCI devices and devices in the ACPI

Re: [PATCH 2/2] Input: edt-ft5x06 - simplify event reporting code

2019-07-01 Thread Andy Shevchenko
On Sun, Jun 30, 2019 at 10:05 AM Dmitry Torokhov wrote: > > On Sun, Jun 23, 2019 at 10:59:18AM +0300, Andy Shevchenko wrote: > > On Sun, Jun 23, 2019 at 9:31 AM Dmitry Torokhov > > wrote: > > > > > > Now that input_mt_report_slot_state() returns true if slot is active we no > > > longer need a te

Re: [PATCH 01/11] vfs: syscall: Add fsinfo() to query filesystem information [ver #15]

2019-07-01 Thread Christian Brauner
On Fri, Jun 28, 2019 at 04:43:45PM +0100, David Howells wrote: > Add a system call to allow filesystem information to be queried. A request > value can be given to indicate the desired attribute. Support is provided > for enumerating multi-value attributes. > > === > NEW SYSTEM CALL

[PATCH v2] riscv: ccache: Remove unused variable

2019-07-01 Thread Yash Shah
Reading the count register clears the interrupt signal. Currently, the count registers are read into 'regval' variable but the variable is never used. Therefore remove it. V2 of this patch add comments to justify the readl calls without checking the return value. Signed-off-by: Yash Shah --- arc

Re: [RFC PATCH v2 1/2] printk-rb: add a new printk ringbuffer implementation

2019-07-01 Thread John Ogness
On 2019-06-28, Peter Zijlstra wrote: >> I have implemented and tested these changes. I also added setting the >> list terminator to this function, since all callers would have to do >> it anyway. Also, I spent a lot of time trying to put in comments that >> I think are _understandable_ and _accept

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

2019-07-01 Thread Lorenzo Bianconi
> Hi all, > > In commit > > d923cf6bc38a ("mt76: mt7615: fix sparse warnings: warning: cast from > restricted __le16") > > Fixes tag > > Fixes: 3ca0a6f6e9df ("mt7615: mcu: use standard signature for > mt7615_mcu_msg_send") > > has these problem(s): > > - Target SHA1 does not exist >

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

2019-07-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: kernel/fork.c between commits: 9014143bab2f ("fork: don't check parent_tidptr with CLONE_PIDFD") 6fd2fe494b17 ("copy_process(): don't use ksys_close() on cleanups") from Linus' tree and commit: 7f192e3cd316 ("fork:

[PATCH v5 0/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-07-01 Thread Ajay Kaher
coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping [PATCH v5 1/3]: Backporting of commit 04f5866e41fb70690e28397487d8bd8eea7d712a upstream. [PATCH v5 2/3]: Extension of commit 04f5866e41fb to fix the race condition between get_task_mm() and core dumping for IB->m

Re: [GIT PULL v2] PHY: for 5.2-rc

2019-07-01 Thread Kishon Vijay Abraham I
Hi Greg, On 01/07/19 3:44 PM, Greg Kroah-Hartman wrote: > On Thu, Jun 27, 2019 at 06:46:50PM +0530, Kishon Vijay Abraham I wrote: >> Hi Greg, >> >> On 21/06/19 12:50 PM, Kishon Vijay Abraham I wrote: >>> >>> >>> On 21/06/19 12:10 PM, Greg Kroah-Hartman wrote: On Fri, Jun 21, 2019 at 11:41:26A

[PATCH v5 2/3][v4.9.y] infiniband: fix race condition between infiniband mlx4, mlx5 driver and core dumping

2019-07-01 Thread Ajay Kaher
This patch is the extension of following upstream commit to fix the race condition between get_task_mm() and core dumping for IB->mlx4 and IB->mlx5 drivers: commit 04f5866e41fb ("coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping")' Thanks to Jason for pointing t

[PATCH v5 3/3] [v4.9.y] coredump: fix race condition between collapse_huge_page() and core dumping

2019-07-01 Thread Ajay Kaher
From: Andrea Arcangeli coredump: fix race condition between collapse_huge_page() and core dumping commit 59ea6d06cfa9247b586a695c21f94afa7183af74 upstream. When fixing the race conditions between the coredump and the mmap_sem holders outside the context of the process, we focused on mmget_not_z

[PATCH v5 1/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-07-01 Thread Ajay Kaher
From: Andrea Arcangeli commit 04f5866e41fb70690e28397487d8bd8eea7d712a upstream. The core dumping code has always run without holding the mmap_sem for writing, despite that is the only way to ensure that the entire vma layout will not change from under it. Only using some signal serialization o

[GIT PULL] PHY: For 5.3

2019-07-01 Thread Kishon Vijay Abraham I
Hi Greg, Please find the pull request for 5.3 merge window below. It adds couple of new PHY drivers and other misc driver fixes. Please see the tag message for complete list of changes. Let me know if I have to change something. Thanks Kishon The following changes since commit a188339ca5a396acc

RE: [PATCHv5 10/20] PCI: mobiveil: Fix the INTx process errors

2019-07-01 Thread Z.q. Hou
Hi Lorenzo, Thanks a lot for your comments! > -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年6月29日 1:06 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com; rob

Re: [PATCH v3 10/11] mm/memory_hotplug: Make unregister_memory_block_under_nodes() never fail

2019-07-01 Thread Michal Hocko
On Mon 01-07-19 11:36:44, Oscar Salvador wrote: > On Mon, Jul 01, 2019 at 10:51:44AM +0200, Michal Hocko wrote: > > Yeah, we do not allow to offline multi zone (node) ranges so the current > > code seems to be over engineered. > > > > Anyway, I am wondering why do we have to strictly check for alr

RE: [PATCHv5 09/20] PCI: mobiveil: Correct inbound/outbound window setup routines

2019-07-01 Thread Z.q. Hou
Hi Lorenzo, Thanks a lot for your comments! > -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年6月29日 0:42 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com; rob

Hello....

2019-07-01 Thread Edith Mohammed
Date: Mon, 1 Jul 2019 10:16:36 + Subject: Hello <>

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-07-01 Thread Sebastian Andrzej Siewior
On 2019-07-01 11:42:15 [+0200], Peter Zijlstra wrote: > I'm not sure if smp_send_reschedule() can be used as self-IPI, some > hardware doesn't particularly like that IIRC. That is, hardware might > only have interfaces to IPI _other_ CPUs, but not self. > > The normal scheduler code takes care to

Re: [PATCH v3 0/5] Introduce MADV_COLD and MADV_PAGEOUT

2019-07-01 Thread Michal Hocko
On Mon 01-07-19 16:38:48, Minchan Kim wrote: > > Hi Folks, > > Do you guys have comments? I think it would be long enough to be > pending. If there is no further comments, I want to ask to merge. This is definitely on my todo list for this week. But please be patient. It's been _one_ work day si

Re: [PATCH v2 1/2] mtd: nand: Add Cadence NAND controller driver

2019-07-01 Thread Piotr Sroka
The 07/01/2019 12:04, Miquel Raynal wrote: EXTERNAL MAIL Hi Piotr, Piotr Sroka wrote on Mon, 1 Jul 2019 10:51:45 +0100: [...] >> >> > >> >> >This driver is way too massive, I am pretty sure it can shrink a >> >> >little bit more. >> >> >[...] >> >> > >> >> I will try to make it shorer but

Re: [PATCH v4] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Bastien Nocera
On Mon, 2019-07-01 at 12:15 +0200, Benjamin Tissoires wrote: > > I forgot to mention that sparse was complaining about: > > scripts/Makefile.build:283: target 'drivers/hid/hid-creative- > sb0540.c' > doesn't match the target pattern > > And it turns out your line should read `hid-creative-sb054

[PATCH v5] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Bastien Nocera
From: Bastien Nocera Add a new hid driver for the Creative SB0540 IR receiver. This receiver is usually coupled with an RM-1500 or an RM-1800 remote control. The scrollwheels on the RM-1800 remote are not bound, as they are labelled for specific audio controls that don't usually exist on most sy

RE: [PATCH net-next v2 00/10] net: stmmac: 10GbE using XGMAC

2019-07-01 Thread Jose Abreu
From: David Miller > About the Kconfig change, maybe it just doesn't make sense to list all > of the various speeds the chip supports... just a thought. What about: "STMicroelectronics Multi-Gigabit Ethernet driver" ? Or, just "STMicroelectronics Ethernet driver" ?

RE: [PATCHv5 08/20] PCI: mobiveil: Use the 1st inbound window for MEM inbound transactions

2019-07-01 Thread Z.q. Hou
Hi Lorenzo, Thanks a lot for your comments! > -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年6月29日 0:02 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com; rob

Re: [PATCH v4] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Benjamin Tissoires
On Mon, Jul 1, 2019 at 12:08 PM Bastien Nocera wrote: > > From: Bastien Nocera > > Add a new hid driver for the Creative SB0540 IR receiver. This receiver > is usually coupled with an RM-1500 or an RM-1800 remote control. > > The scrollwheels on the RM-1800 remote are not bound, as they are > lab

RE: [PATCH net-next v2 06/10] net: stmmac: Do not disable interrupts when cleaning TX

2019-07-01 Thread Jose Abreu
From: Willem de Bruijn > By the > > if ((status & handle_rx) && (chan < priv->plat->rx_queues_to_use)) { > stmmac_disable_dma_irq(priv, priv->ioaddr, chan); > napi_schedule_irqoff(&ch->rx_napi); > } > > branch directly above? If so, is it possible

Re: [GIT PULL v2] PHY: for 5.2-rc

2019-07-01 Thread Greg Kroah-Hartman
On Thu, Jun 27, 2019 at 06:46:50PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > On 21/06/19 12:50 PM, Kishon Vijay Abraham I wrote: > > > > > > On 21/06/19 12:10 PM, Greg Kroah-Hartman wrote: > >> On Fri, Jun 21, 2019 at 11:41:26AM +0530, Kishon Vijay Abraham I wrote: > >>> Hi Greg, > >>>

Re: [PATCH 0/5] mm/vmalloc.c: improve readability and rewrite vmap_area

2019-07-01 Thread Uladzislau Rezki
On Mon, Jul 01, 2019 at 11:20:37AM +0200, Michal Hocko wrote: > On Sun 30-06-19 15:56:45, Pengfei Li wrote: > > Hi, > > > > This series of patches is to reduce the size of struct vmap_area. > > > > Since the members of struct vmap_area are not being used at the same time, > > it is possible to re

Re: [PATCH v2] phy: rockchip-inno-usb2: allow to force the B-Device Session Valid bit.

2019-07-01 Thread Enric Balletbo i Serra
Hi Ezequiel, Thanks for reviewing these patches. On 29/6/19 2:38, Ezequiel Garcia wrote: > Hi Heiko, Kishon, > > I'll try to pick up this patch. > Some comments below, just for self-reference. > > On Wed, 2019-06-26 at 12:32 -0300, Ezequiel Garcia wrote: >> On Wed, 2019-05-15 at 18:20 -0400, Ga

Re: [PATCH v3] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Bastien Nocera
On Mon, 2019-07-01 at 11:45 +0200, Benjamin Tissoires wrote: > Hi Bastien, > > On Wed, Jun 26, 2019 at 4:07 PM Bastien Nocera > wrote: > > From: Bastien Nocera > > > > Add a new hid driver for the Creative SB0540 IR receiver. This > > receiver > > is usually coupled with an RM-1500 or an RM-180

[PATCH] nvme: fix multipath crash when ANA deactivated

2019-07-01 Thread Marta Rybczynska
Fix a crash with multipath activated. It happends when ANA log page is larger than MDTS and because of that ANA is disabled. When connecting the target, the driver in nvme_parse_ana_log then tries to access nvme_mpath_init.ctrl->ana_log_buf that is unallocated. The signature is as follows: [ 300.

[PATCH v4] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Bastien Nocera
From: Bastien Nocera Add a new hid driver for the Creative SB0540 IR receiver. This receiver is usually coupled with an RM-1500 or an RM-1800 remote control. The scrollwheels on the RM-1800 remote are not bound, as they are labelled for specific audio controls that don't usually exist on most sy

RE: [PATCHv5 04/20] PCI: mobiveil: Remove the flag MSI_FLAG_MULTI_PCI_MSI

2019-07-01 Thread Z.q. Hou
Hi Lorenzo, Thanks a lot for your comments! > -Original Message- > From: Lorenzo Pieralisi > Sent: 2019年6月28日 19:36 > To: Z.q. Hou > Cc: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > bhelg...@google.com; ro

Re: [PATCH v2 1/2] mtd: nand: Add Cadence NAND controller driver

2019-07-01 Thread Miquel Raynal
Hi Piotr, Piotr Sroka wrote on Mon, 1 Jul 2019 10:51:45 +0100: [...] > >> >> > > >> >> >This driver is way too massive, I am pretty sure it can shrink a > >> >> >little bit more. > >> >> >[...] > >> >> > > >> >> I will try to make it shorer but it will be difucult to achive. It is > >> >> be

Re: [PATCH v3 5/7] sched: SIS_CORE to disable idle core search

2019-07-01 Thread Parth Shah
On 6/29/19 3:59 AM, Subhra Mazumdar wrote: > > On 6/28/19 12:01 PM, Parth Shah wrote: >> >> On 6/27/19 6:59 AM, subhra mazumdar wrote: >>> Use SIS_CORE to disable idle core search. For some workloads >>> select_idle_core becomes a scalability bottleneck, removing it improves >>> throughput. Als

Re: [PATCH v3] kasan: add memory corruption identification for software tag-based mode

2019-07-01 Thread Walter Wu
On Mon, 2019-06-17 at 20:32 +0800, Walter Wu wrote: > On Mon, 2019-06-17 at 13:57 +0200, Dmitry Vyukov wrote: > > On Mon, Jun 17, 2019 at 6:00 AM Walter Wu wrote: > > > > > > On Fri, 2019-06-14 at 10:32 +0800, Walter Wu wrote: > > > > On Fri, 2019-06-14 at 01:46 +0800, Walter Wu wrote: > > > > > O

RE: [PATCH] let proc net directory inodes reflect to active net namespace

2019-07-01 Thread Hallsmark, Per
Indeed it does! :-) I'll make a new version. From: Alexey Dobriyan [adobri...@gmail.com] Sent: Saturday, June 29, 2019 15:29 To: Hallsmark, Per Cc: David S. Miller; linux-kernel@vger.kernel.org; net...@vger.kernel.org Subject: Re: [PATCH] let proc net dire

Re: [PATCH v2 1/2] mtd: nand: Add Cadence NAND controller driver

2019-07-01 Thread Piotr Sroka
The 06/27/2019 18:15, Miquel Raynal wrote: EXTERNAL MAIL Hi Piotr, Piotr Sroka wrote on Thu, 6 Jun 2019 16:19:51 +0100: Hi Miquel The 05/12/2019 14:24, Miquel Raynal wrote: >EXTERNAL MAIL > > >EXTERNAL MAIL > > >Hi Piotr, > >Sorry for de delay. > >Piotr Sroka wrote on Thu, 21 Mar 2019 09

[PATCH 2/2] arm64: dts: imx8mm: Add "fsl,imx8mq-src" as src's fallback compatible

2019-07-01 Thread Anson . Huang
From: Anson Huang i.MX8MM can reuse i.MX8MQ's src driver, add "fsl,imx8mq-src" as src's fallback compatible to enable it. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/i

[PATCH 1/2] reset: imx7: Add support for i.MX8MM SoC

2019-07-01 Thread Anson . Huang
From: Anson Huang i.MX8MM SoC has a subset of i.MX8MQ IP block variant, it can reuse the i.MX8MQ reset controller driver and just skip those non-existing IP blocks, add support for i.MX8MM SoC reset control. Signed-off-by: Anson Huang --- drivers/reset/reset-imx7.c | 20 1

[PATCH V4 4/5] arm64: dts: imx8mq: Add system counter node

2019-07-01 Thread Anson . Huang
From: Anson Huang Add i.MX8MQ system counter node to enable timer-imx-sysctr broadcast timer driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b

[PATCH V4 3/5] clocksource: imx-sysctr: Make timer work with clock driver using platform driver model

2019-07-01 Thread Anson . Huang
From: Anson Huang On some i.MX8M platforms, clock driver uses platform driver model and it is NOT ready during timer initialization phase, the clock operations will fail and system counter driver will fail too. As all the i.MX8M platforms' system counter clock are from OSC which is always enabled

[PATCH V4 5/5] arm64: dts: imx8mm: Add system counter node

2019-07-01 Thread Anson . Huang
From: Anson Huang Add i.MX8MM system counter node to enable timer-imx-sysctr broadcast timer driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b

[PATCH V4 2/5] clocksource/drivers/sysctr: Add clock-frequency property

2019-07-01 Thread Anson . Huang
From: Anson Huang Systems which use platform driver model for clock driver require the clock frequency to be supplied via device tree when system counter driver is enabled. This is necessary as in the platform driver model the of_clk operations do not work correctly because system counter driver

[PATCH V4 1/5] clocksource: timer-of: Support getting clock frequency from DT

2019-07-01 Thread Anson . Huang
From: Anson Huang More and more platforms use platform driver model for clock driver, so the clock driver is NOT ready during timer initialization phase, it will cause timer initialization failed. To support those platforms with upper scenario, introducing a new flag TIMER_OF_CLOCK_FREQUENCY whi

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-07-01 Thread Peter Zijlstra
On Fri, Jun 28, 2019 at 03:01:36PM -0500, Scott Wood wrote: > On Fri, 2019-06-28 at 16:15 +0200, Peter Zijlstra wrote: > > On Thu, Jun 27, 2019 at 01:36:12PM -0700, Paul E. McKenney wrote: > > > On Thu, Jun 27, 2019 at 03:17:27PM -0500, Scott Wood wrote: > > > > On Thu, 2019-06-27 at 11:41 -0700, P

Re: [PATCH v3] HID: sb0540: add support for Creative SB0540 IR receivers

2019-07-01 Thread Benjamin Tissoires
Hi Bastien, On Wed, Jun 26, 2019 at 4:07 PM Bastien Nocera wrote: > > From: Bastien Nocera > > Add a new hid driver for the Creative SB0540 IR receiver. This receiver > is usually coupled with an RM-1500 or an RM-1800 remote control. > > The scrollwheels on the RM-1800 remote are not bound, as t

Re: [PATCH] media: imx7-media-csi: Remove unneeded break after return

2019-07-01 Thread Rui Miguel Silva
Hi Chinmaya, Thanks for your patch. On Sun 30 Jun 2019 at 04:49, Chinmaya Krishnan Mahesh wrote: > This patch fixes the checkpatch.pl warning: > > WARNING: break is not useful after a goto or return but this is already fixed in the media subsystem tree, by a patch from Fabio: 964fcacddf media: i

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-07-01 Thread Peter Zijlstra
On Fri, Jun 28, 2019 at 10:20:56AM -0700, Paul E. McKenney wrote: > On Fri, Jun 28, 2019 at 06:04:08PM +0200, Peter Zijlstra wrote: > > On Fri, Jun 28, 2019 at 08:54:04AM -0700, Paul E. McKenney wrote: > > > Thank you! Plus it looks like scheduler_ipi() takes an early exit if > > > ->wake_list is

Re: [PATCH v3 10/11] mm/memory_hotplug: Make unregister_memory_block_under_nodes() never fail

2019-07-01 Thread Oscar Salvador
On Mon, Jul 01, 2019 at 10:51:44AM +0200, Michal Hocko wrote: > Yeah, we do not allow to offline multi zone (node) ranges so the current > code seems to be over engineered. > > Anyway, I am wondering why do we have to strictly check for already > removed nodes links. Is the sysfs code going to com

[DRAFT] mm/kprobes: Add generic kprobe_fault_handler() fallback definition

2019-07-01 Thread Anshuman Khandual
Architectures like parisc enable CONFIG_KROBES without having a definition for kprobe_fault_handler() which results in a build failure. Arch needs to provide kprobe_fault_handler() as it is platform specific and cannot have a generic working alternative. But in the event when platform lacks such a

Re: [PATCH 1/2] usbip: Skip DMA mapping and unmapping for urb at vhci

2019-07-01 Thread Suwan Kim
On Fri, Jun 28, 2019 at 06:11:54PM -0600, shuah wrote: > Hi Suwan, > > On 6/21/19 11:45 AM, Suwan Kim wrote: > > vhci doesn’t do dma for remote device. Actually, the real dma > > operation is done by network card driver. So, vhci doesn’t use and > > need dma address of transfer buffer of urb. > >

Re: [PATCH RFC 0/4] DDR/L3 Scaling support on SDM845 SoCs

2019-07-01 Thread Viresh Kumar
On 27-06-19, 19:04, Sibi Sankar wrote: > This RFC series aims to extend cpu based scaling support to L3/DDR on > SDM845 SoCs. The patch series depends on "Introduce OPP bandwidth bindings" > series (https://patchwork.kernel.org/cover/10912993/). A part of the > series will still be applicable if we

[RFC PATCH v6] rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver

2019-07-01 Thread Chris Chiu
We have 3 laptops which connect the wifi by the same RTL8723BU. The PCI VID/PID of the wifi chip is 10EC:B720 which is supported. They have the same problem with the in-kernel rtl8xxxu driver, the iperf (as a client to an ethernet-connected server) gets ~1Mbps. Nevertheless, the signal strength is

Re: shrink_dentry_list() logics change (was Re: [RFC PATCH v3 14/15] dcache: Implement partial shrink via Slab Movable Objects)

2019-07-01 Thread Tobin C. Harding
On Sat, Jun 29, 2019 at 08:06:24PM +0100, Al Viro wrote: > On Sat, Jun 29, 2019 at 05:38:03AM +0100, Al Viro wrote: > > > PS: the problem is not gone in the next iteration of the patchset in > > question. The patch I'm proposing (including dput_to_list() and _ONLY_ > > compile-tested) follows. C

Re: [LKP] [x86/hotplug] e1056a25da: WARNING:at_arch/x86/kernel/apic/apic.c:#setup_local_APIC

2019-07-01 Thread Thomas Gleixner
Feng, On Mon, 1 Jul 2019, Feng Tang wrote: > On Mon, Jul 01, 2019 at 09:13:54AM +0200, Thomas Gleixner wrote: > > On Sun, 30 Jun 2019, Thomas Gleixner wrote: > > In case you still have your debug version (that old tree which triggered > > the warn) around, could you please run that again and add >

Re: [PATCH] perf: Fix race between close() and fork()

2019-07-01 Thread Mark Rutland
On Fri, Jun 28, 2019 at 10:46:08PM +0200, Peter Zijlstra wrote: > On Fri, Jun 28, 2019 at 05:50:03PM +0100, Mark Rutland wrote: > > > + /* > > > + * Wake any perf_event_free_task() waiting for this event to be > > > + * freed. > > > + */ > > > + smp_mb();

Re: [PATCH 0/5] mm/vmalloc.c: improve readability and rewrite vmap_area

2019-07-01 Thread Michal Hocko
On Sun 30-06-19 15:56:45, Pengfei Li wrote: > Hi, > > This series of patches is to reduce the size of struct vmap_area. > > Since the members of struct vmap_area are not being used at the same time, > it is possible to reduce its size by placing several members that are not > used at the same tim

[PATCH] ARM: dts: stm32: fix -Wall W=1 compilation warnings for can1_sleep pinctrl

2019-07-01 Thread Erwan Le Ray
Fix compilations warnings detected by -Wall W=1 compilation option: - node has a unit name, but no reg property Signed-off-by: Erwan Le Ray diff --git a/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157-pinctrl.dtsi index 140a983..ce98fd8 100644 --- a/arch/arm/boot/dts/st

[PATCH v2] staging: kpc2000: fix brace issues in kpc2000_spi.c

2019-07-01 Thread Simon Sandström
Fixes issues found by checkpatch: - "WARNING: braces {} are not necessary for single statement blocks" - "WARNING: braces {} are not necessary for any arm of this statement" Signed-off-by: Simon Sandström --- Changed in v2: rebased. drivers/staging/kpc2000/kpc2000_spi.c | 33 ++---

[RFC/RFT v3 00/14] arm64: g12a: add support for DVFS

2019-07-01 Thread Neil Armstrong
The G12A/G12B Socs embeds a specific clock tree for each CPU cluster : cpu_clk / cpub_clk | \- cpu_clk_dyn | | \- cpu_clk_premux0 | ||- cpu_clk_postmux0 | |||- cpu_clk_dyn0_div | ||\- xtal/fclk_div2/fclk_div3 | |\- xtal/fclk_div2/f

[RFC/RFT v3 01/14] pinctrl: meson-g12a: add pwm_a on GPIOE_2 pinmux

2019-07-01 Thread Neil Armstrong
Add the missing pinmux for the pwm_a function on the GPIOE_2 pin. Reviewed-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/pinctrl/meson/pinctrl-meson-g12a.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-g12a.c b/drivers/pinctrl/mes

[RFC/RFT v3 07/14] clk: meson: g12a: add notifiers to handle cpu clock change

2019-07-01 Thread Neil Armstrong
In order to implement clock switching for the CLKID_CPU_CLK and CLKID_CPUB_CLK, notifiers are added on specific points of the clock tree : cpu_clk / cpub_clk | \- cpu_clk_dyn | | \- cpu_clk_premux0 | ||- cpu_clk_postmux0 | |||- cpu_clk_dyn0_div | |

[RFC/RFT v3 08/14] clk: meson: g12a: expose CPUB clock ID for G12B

2019-07-01 Thread Neil Armstrong
Expose the CPUB clock id to add DVFS to the second CPU cluster of the Amlogic G12B SoC. Signed-off-by: Neil Armstrong --- include/dt-bindings/clock/g12a-clkc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/g12a-clkc.h b/include/dt-bindings/clock/g12a-clkc.h index

[RFC/RFT v3 04/14] clk: meson: eeclk: add setup callback

2019-07-01 Thread Neil Armstrong
Add a setup() callback in the eeclk structure, to call an optional call() function at end of eeclk probe to setup clocks. It's used for the G12A clock controller to setup the CPU clock notifiers. Signed-off-by: Neil Armstrong --- drivers/clk/meson/meson-eeclk.c | 6 ++ drivers/clk/meson/mes

[RFC/RFT v3 12/14] arm64: dts: meson-g12a: enable DVFS on G12A boards

2019-07-01 Thread Neil Armstrong
Enable DVFS for the U200, SEI520 and X96-Max Amlogic G12A based board by setting the clock, OPP and supply for each CPU cores. The CPU cluster power supply can achieve 0.73V to 1.01V using a PWM output clocked at 800KHz with an inverse duty-cycle. DVFS has been tested by running the arm64 cpuburn

<    2   3   4   5   6   7   8   9   >