Re: [PATCH] dmaengine: sprd: Fix the DMA link-list configuration

2019-09-03 Thread Vinod Koul
On 30-08-19, 15:37, Baolin Wang wrote: > For the Spreadtrum DMA link-list mode, when the DMA engine got a slave > hardware request, which will trigger the DMA engine to load the DMA > configuration from the link-list memory automatically. But before the > slave hardware request, the slave will get

[PATCH] mfd: intel-lpss: Add default I2C device properties for Gemini Lake

2019-09-03 Thread Jarkko Nikula
It turned out Intel Gemini Lake doesn't use the same I2C timing parameters as Broxton. I got confirmation from the Windows team that Gemini Lake systems should use updated timing parameters that differ from those used in Broxton based systems. Fixes: f80e78aa11ad ("mfd: intel-lpss: Add Intel

[PATCH v5 1/2] dt-bindings: phy: intel-emmc-phy: Add YAML schema for LGM eMMC PHY

2019-09-03 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add a YAML schema to use the host controller driver with the eMMC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- changes in v5: - earlier Review-by tag given by Rob - rework done with syscon parent node. changes in

[PATCH v5 2/2] phy: intel-lgm-emmc: Add support for eMMC PHY

2019-09-03 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add support for eMMC PHY on Intel's Lightning Mountain SoC. Signed-off-by: Ramuthevar Vadivel Murugan Reviewed-by: Andy Shevchenko --- drivers/phy/Kconfig| 1 + drivers/phy/Makefile | 1 + drivers/phy/intel/Kconfig

Re: Tweak I2C SDA hold time on GemniLake to make touchpad work

2019-09-03 Thread Jarkko Nikula
On 9/4/19 7:38 AM, Chris Chiu wrote: On Tue, Sep 3, 2019 at 8:03 PM Jarkko Nikula wrote: Hi Chris On 9/3/19 11:18 AM, Mika Westerberg wrote: +Jarkko On Tue, Sep 03, 2019 at 04:10:27PM +0800, Chris Chiu wrote: Hi, We're working on the acer Gemnilake laptop TravelMate B118-M for touchpad

Re: [PATCH v2 1/2] dt-bindings: milbeaut-m10v-hdmac: Add Socionext Milbeaut HDMAC bindings

2019-09-03 Thread Vinod Koul
On 18-08-19, 00:17, jassisinghb...@gmail.com wrote: > From: Jassi Brar > > Document the devicetree bindings for Socionext Milbeaut HDMAC > controller. Controller has upto 8 floating channels, that need > a predefined slave-id to work from a set of slaves. > > Signed-off-by: Jassi Brar > --- >

Re: [PATCH] dma: iop-adma.c: fix printk format warning

2019-09-03 Thread Vinod Koul
On 03-09-19, 22:06, Randy Dunlap wrote: > From: Randy Dunlap > > Fix printk format warning in iop-adma.c (seen on x86_64) by using > %pad: > > ../drivers/dma/iop-adma.c:118:12: warning: format ‘%x’ expects argument of > type ‘unsigned int’, but argument 6 has type ‘dma_addr_t {aka long long >

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Daniel Colascione
On Tue, Sep 3, 2019 at 10:15 PM Joel Fernandes wrote: > > On Tue, Sep 03, 2019 at 09:51:20PM -0700, Daniel Colascione wrote: > > On Tue, Sep 3, 2019 at 9:45 PM Suren Baghdasaryan wrote: > > > > > > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > > > wrote: > > > > > > > > Useful to

Re: [PATCH RFC 2/2] interconnect: qcom: add msm8974 driver

2019-09-03 Thread Bjorn Andersson
On Mon 02 Sep 14:19 PDT 2019, Brian Masney wrote: > Add driver for the Qualcomm MSM8974 interconnect providers that support > setting system bandwidth requirements between various network-on-chip > fabrics. > > I marked this as a PATCH RFC since I'm not able to write to all of the > master IDs

Re: [RFC PATCH] mm, oom: disable dump_tasks by default

2019-09-03 Thread Michal Hocko
On Wed 04-09-19 05:52:43, Tetsuo Handa wrote: > On 2019/09/03 23:45, Michal Hocko wrote: > > It's primary purpose is > > to help analyse oom victim selection decision. > > I disagree, for I use the process list for understanding what / how many > processes are consuming what kind of memory

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Suren Baghdasaryan
On Tue, Sep 3, 2019 at 10:02 PM Joel Fernandes wrote: > > On Tue, Sep 03, 2019 at 09:44:51PM -0700, Suren Baghdasaryan wrote: > > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > > wrote: > > > > > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > > > memory

Re: [PATCH 2/2] PCI: Unify pci_dev_is_disconnected() and pci_dev_is_inaccessible()

2019-09-03 Thread Lukas Wunner
On Tue, Sep 03, 2019 at 10:36:35PM -0600, Kelsey Skunberg wrote: > Change pci_dev_is_disconnected() call inside pci_dev_is_inaccessible() to: > > pdev->error_state == pci_channel_io_perm_failure > > Change remaining pci_dev_is_disconnected() calls to > pci_dev_is_inaccessible() calls. I

Re: About compiler memory barrier for atomic_set/atomic_read on x86

2019-09-03 Thread Yin, Fengwei
Hi Peter, On 9/4/2019 7:38 AM, Yin, Fengwei wrote: Hi Peter, On 9/3/2019 10:06 PM, Peter Zijlstra wrote: On Tue, Sep 03, 2019 at 09:23:41PM +0800, Yin, Fengwei wrote: Hi Peter, There is one question regarding following commit: commit 69d927bba39517d0980462efc051875b7f4db185 Author: Peter

Re: [PATCH] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-03 Thread Anshuman Khandual
On 09/04/2019 10:27 AM, Justin He (Arm Technology China) wrote: > Hi Anshuman, thanks for the comments, see below please > >> -Original Message- >> From: Anshuman Khandual >> Sent: 2019年9月4日 12:38 >> To: Justin He (Arm Technology China) ; Andrew >> Morton ; Matthew Wilcox >> ; Jérôme

Re: [PATCH v2 3/3] nvme: fire discovery log page change events to userspace

2019-09-03 Thread Greg Kroah-Hartman
On Tue, Sep 03, 2019 at 06:35:30PM -0700, Sagi Grimberg wrote: > > > > Still don't understand how this is ok... > > > > > > I have /dev/nvme0 represents a network endpoint that I would discover > > > from, it is raising me an event to do a discovery operation (namely to > > > issue an ioctl to

Re: [PATCH] powerpc: Perform a bounds check in arch_add_memory

2019-09-03 Thread Alastair D'Silva
On Mon, 2019-09-02 at 09:28 +0200, David Hildenbrand wrote: > On 02.09.19 01:54, Alastair D'Silva wrote: > > On Tue, 2019-08-27 at 09:13 +0200, David Hildenbrand wrote: > > > On 27.08.19 08:39, Alastair D'Silva wrote: > > > > On Tue, 2019-08-27 at 08:28 +0200, Michal Hocko wrote: > > > > > On Tue

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Joel Fernandes
On Tue, Sep 03, 2019 at 09:51:20PM -0700, Daniel Colascione wrote: > On Tue, Sep 3, 2019 at 9:45 PM Suren Baghdasaryan wrote: > > > > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > > wrote: > > > > > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > > >

Re: [PATCH 2/2] ipc/sem: Convert to use built-in RCU list checking

2019-09-03 Thread kbuild test robot
Hi "Joel, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc7 next-20190903] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/co

[PATCH] dma: iop-adma.c: fix printk format warning

2019-09-03 Thread Randy Dunlap
linux-next-20190903.orig/drivers/dma/iop-adma.c +++ linux-next-20190903/drivers/dma/iop-adma.c @@ -116,9 +116,9 @@ static void __iop_adma_slot_cleanup(stru list_for_each_entry_safe(iter, _iter, _chan->chain, chain_node) { pr_debug("

Re: [PATCH 1/2] pci: Convert to use built-in RCU list checking

2019-09-03 Thread Joel Fernandes
On Wed, Sep 04, 2019 at 12:06:43PM +0800, kbuild test robot wrote: > Hi "Joel, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [cannot apply to v5.3-rc7 next-20190903] > [if your patch is applied to the wrong git t

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

2019-09-03 Thread kbuild test robot
Hi Viktor, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc7 next-20190903] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Joel Fernandes
On Tue, Sep 03, 2019 at 09:44:51PM -0700, Suren Baghdasaryan wrote: > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > wrote: > > > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > > memory hogs. Several Android teams have been using this patch in various > >

Re: [PATCH RFC 1/2] dt-bindings: interconnect: qcom: add msm8974 bindings

2019-09-03 Thread Bjorn Andersson
On Mon 02 Sep 14:19 PDT 2019, Brian Masney wrote: > Add device tree bindings for the Qualcomm MSM8974 interconnect providers > that support setting system bandwidth requirements between various > network-on-chip fabrics. > > Signed-off-by: Brian Masney > --- >

Re: [PATCH] IOAT: iop-adma.c: fix printk format warning

2019-09-03 Thread Vinod Koul
On 30-08-19, 14:44, Dan Williams wrote: > [ add Vinod and dmaengine ] > > On Fri, Aug 30, 2019 at 2:32 PM Randy Dunlap wrote: > > > > From: Randy Dunlap > > > > Fix printk format warning in iop-adma.c (seen on x86_64) by using > > %pad: > > > > ../drivers/dma/iop-adma.c:118:12: warning: format

Re: [PATCH -rcu dev 1/2] Revert b8c17e6664c4 ("rcu: Maintain special bits at bottom of ->dynticks counter")

2019-09-03 Thread Joel Fernandes
On Tue, Sep 03, 2019 at 01:02:49PM -0700, Paul E. McKenney wrote: [snip] > > --- > > include/linux/rcutiny.h | 3 -- > > kernel/rcu/tree.c | 82 ++--- > > 2 files changed, 19 insertions(+), 66 deletions(-) > > > > diff --git a/include/linux/rcutiny.h

[PATCH] remove the acheive sp error

2019-09-03 Thread Marcus Eagan
From: marcussorealheis --- drivers/clk/rockchip/clk-cpu.c | 2 +- drivers/clk/samsung/clk-cpu.c | 2 +- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +- fs/xfs/xfs_inode.c | 2 +- 4 files changed, 4 insertions(+), 4

Re: [PATCH] dmaengine: stm32-dma: Use struct_size() helper

2019-09-03 Thread Vinod Koul
On 30-08-19, 11:14, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct stm32_dma_desc { >

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Daniel Colascione
On Tue, Sep 3, 2019 at 9:45 PM Suren Baghdasaryan wrote: > > On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) > wrote: > > > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > > memory hogs. Several Android teams have been using this patch in various > > kernel

Re: "beyond 2038" warnings from loopback mount is noisy

2019-09-03 Thread Deepa Dinamani
If we don't care to warn about the timestamps that are clamped in memory, maybe we could just warn when they are being written out. Would something like this be more acceptable? I would also remove the warning in ext4.h. I think we don't have to check if the inode is 128 bytes here (Please correct

Re: [PATCH] ioat/dca: Use struct_size() helper

2019-09-03 Thread Vinod Koul
On 28-08-19, 13:40, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct ioat_dca_priv { >

Re: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Przemyslaw Gaj
The 09/03/2019 11:57, Vitor Soares wrote: > EXTERNAL MAIL > > > From: Przemyslaw Gaj > Date: Tue, Sep 03, 2019 at 12:13:57 > > > Hi Vitor, > > > > I'm sorry for the delay. > > > > The 09/03/2019 12:35, Vitor Soares wrote: > > > EXTERNAL MAIL > > > > > > > > > On pre_assing_dyn_addr() the

Re: [PATCH -next] dmaengine: iop-adma: remove set but not used variable 'slots_per_op'

2019-09-03 Thread Vinod Koul
On 21-08-19, 20:19, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/dma/iop-adma.c: In function iop_adma_tx_submit: > drivers/dma/iop-adma.c:367:6: warning: > variable slots_per_op set but not used [-Wunused-but-set-variable] > > It is never used, so can be

[PATCH 2/2] PCI: Unify pci_dev_is_disconnected() and pci_dev_is_inaccessible()

2019-09-03 Thread Kelsey Skunberg
Combine pci_dev_is_disconnected() with pci_dev_is_inaccessible() so only one function is used to learn if we should avoid accessing a device that's inaccessible due to surprise removal or an error condition. The use cases for pci_dev_is_disconnected() do not need to distinguish between a device

[PATCH 1/2] PCI: Change pci_device_is_present() to pci_dev_is_inaccessible()

2019-09-03 Thread Kelsey Skunberg
The pci_device_is_present() name may encourage poor practice of calling pci_device_is_present() and if true, assuming the device is still present after the call. This type of practice can be racy when assuming a device is still connected after checking. Change pci_device_is_present() to

[PATCH 0/2] PCI: Change to using pci_dev_is_inaccessible()

2019-09-03 Thread Kelsey Skunberg
Patch 1: Change pci_device_is_present() name to pci_dev_is_inaccessible() to encourage only using to learn if we should not access a device that's inaccessible. Return value will need to be reversed to reflect the name change. Patch 2: Relies on patch 1. Unify

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-03 Thread Suren Baghdasaryan
On Tue, Sep 3, 2019 at 1:09 PM Joel Fernandes (Google) wrote: > > Useful to track how RSS is changing per TGID to detect spikes in RSS and > memory hogs. Several Android teams have been using this patch in various > kernel trees for half a year now. Many reported to me it is really > useful so

[PATCH V2 12/12] serial: tegra: Add PIO mode support

2019-09-03 Thread Krishna Yarlagadda
Add PIO mode support in receive and transmit path with RX interrupt trigger of 16 bytes for Tegra194 and older chips. Signed-off-by: Shardar Shariff Md Signed-off-by: Krishna Yarlagadda --- drivers/tty/serial/serial-tegra.c | 117 -- 1 file changed, 86

[PATCH V2 06/12] serial: tegra: check for FIFO mode enabled status

2019-09-03 Thread Krishna Yarlagadda
Chips prior to Tegra186 needed delay of 3 UART clock cycles to avoid data loss. This issue is fixed in Tegra186 and a new flag is added to check if FIFO mode is enabled. chip data updated to check if this flag is available for a chip. Tegra186 has new compatible to enable this flag.

[PATCH V2 05/12] dt-binding: serial: tegra: add new chips

2019-09-03 Thread Krishna Yarlagadda
Add new compatible string for Tegra186. It differs from earlier chips as it has FIFO mode enable check and 8 byte DMA buffer. Add new compatible string for Tegra194. Tegra194 has different error tolerance levels for baud rate compared to older chips. Signed-off-by: Krishna Yarlagadda ---

[PATCH V2 08/12] serial: tegra: add support to use 8 bytes trigger

2019-09-03 Thread Krishna Yarlagadda
Add support to use 8 bytes trigger for Tegra186 SOC. Signed-off-by: Shardar Shariff Md Signed-off-by: Krishna Yarlagadda --- drivers/tty/serial/serial-tegra.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/serial-tegra.c

[PATCH V2 00/12] serial: tegra: Tegra186 support and fixes

2019-09-03 Thread Krishna Yarlagadda
Series of patches adding enhancements to exising UART driver and adding support for new chip Tegra186 and Tegra194. Tegra186 uses GPCDMA for dma transfers which is still not available in mainstream. However, it can work in PIO/FIFO mode and support added for it. Also Tegra186 has a hardware issue

[PATCH V2 09/12] serial: tegra: DT for Adjusted baud rates

2019-09-03 Thread Krishna Yarlagadda
Tegra186 chip has a hardware issue resulting in frame errors when tolerance level for baud rate is negative. Provided entries to adjust baud rate to be within acceptable range and work with devices that can send negative baud rate. Also report error when baud rate set is out of tolerance range of

[PATCH V2 03/12] serial: tegra: flush the RX fifo on frame error

2019-09-03 Thread Krishna Yarlagadda
From: Shardar Shariff Md FIFO reset/flush code implemented now does not follow programming guidelines. RTS line has to be turned off while flushing FIFOs to avoid new transfers. Also check LSR bits UART_LSR_TEMT and UART_LSR_DR to confirm FIFOs are flushed. Signed-off-by: Shardar Shariff Md

[PATCH V2 07/12] serial: tegra: set maximum num of uart ports to 8

2019-09-03 Thread Krishna Yarlagadda
Set maximum number of UART ports to 8 as older chips have 5 ports and Tergra186 and later chips will have 8 ports. Add this info to chip data. Read device tree compatible of this driver and register uart driver with max ports of matching chip data. Signed-off-by: Shardar Shariff Md

[PATCH V2 04/12] serial: tegra: report error to upper tty layer

2019-09-03 Thread Krishna Yarlagadda
Report overrun/parity/frame/break errors to top tty layer. Add support to ignore break character if IGNBRK is set. Signed-off-by: Shardar Shariff Md Signed-off-by: Krishna Yarlagadda --- drivers/tty/serial/serial-tegra.c | 19 --- 1 file changed, 16 insertions(+), 3

[PATCH V2 10/12] serial: tegra: add support to adjust baud rate

2019-09-03 Thread Krishna Yarlagadda
Add support to adjust baud rates to fall under supported tolerance range through DT. Tegra186 chip has a hardware issue resulting in frame errors when tolerance level for baud rate is negative. Provided entries to adjust baud rate to be within acceptable range and work with devices that can send

[PATCH V2 11/12] serial: tegra: report clk rate errors

2019-09-03 Thread Krishna Yarlagadda
Standard UART controllers support +/-4% baud rate error tolerance. Tegra186 only supports 0% to +4% error tolerance whereas other Tegra chips support standard +/-4% rate. Add chip data for knowing error tolerance level for each soc. Creating new compatible for Tegra194 chip as it supports baud

[PATCH V2 02/12] serial: tegra: avoid reg access when clk disabled

2019-09-03 Thread Krishna Yarlagadda
From: Ahung Cheng This avoids two race conditions from the UART shutdown sequence both leading to 'Machine check error in AXI2APB' and kernel oops. One was that the clock was disabled before the DMA was terminated making it possible for the DMA callbacks to be called after the clock was

[PATCH V2 01/12] serial: tegra: add support to ignore read

2019-09-03 Thread Krishna Yarlagadda
From: Shardar Shariff Md Add support to ignore read characters if CREAD flag is not set. Signed-off-by: Shardar Shariff Md Signed-off-by: Krishna Yarlagadda --- drivers/tty/serial/serial-tegra.c | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH v2 0/3] soc: qcom: llcc cleanups

2019-09-03 Thread Bjorn Andersson
On Tue 27 Aug 04:01 PDT 2019, Vivek Gautam wrote: > On Fri, Aug 2, 2019 at 11:43 AM Vivek Gautam > wrote: > > > > On Thu, Jul 18, 2019 at 6:33 PM Vivek Gautam > > wrote: > > > > > > To better support future versions of llcc, consolidating the > > > driver to llcc-qcom driver file, and taking

Re: Tweak I2C SDA hold time on GemniLake to make touchpad work

2019-09-03 Thread Chris Chiu
On Tue, Sep 3, 2019 at 8:03 PM Jarkko Nikula wrote: > > Hi Chris > > On 9/3/19 11:18 AM, Mika Westerberg wrote: > > +Jarkko > > > > On Tue, Sep 03, 2019 at 04:10:27PM +0800, Chris Chiu wrote: > >> Hi, > >> > >> We're working on the acer Gemnilake laptop TravelMate B118-M for > >> touchpad not

Re: [PATCH] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-03 Thread Anshuman Khandual
On 09/04/2019 08:49 AM, Anshuman Khandual wrote: > /* >* This really shouldn't fail, because the page is there >* in the page tables. But it might just be unreadable, >* in which case we just give up and fill the result with > -

[PATCH v1] bluetooth: hci_qca: disable irqs when spinlock is acquired

2019-09-03 Thread Harish Bandi
Looks like Deadlock is observed in hci_qca while performing stress and stability tests. Since same lock is getting acquired from qca_wq_awake_rx and hci_ibs_tx_idle_timeout seeing spinlock recursion, irqs should be disable while acquiring the spinlock always. Signed-off-by: Harish Bandi ---

Re: [RFC v3] vhost: introduce mdev based hardware vhost backend

2019-09-03 Thread Jason Wang
On 2019/9/4 上午10:48, Tiwei Bie wrote: On Tue, Sep 03, 2019 at 07:26:03AM -0400, Michael S. Tsirkin wrote: On Wed, Aug 28, 2019 at 01:37:12PM +0800, Tiwei Bie wrote: Details about this can be found here: https://lwn.net/Articles/750770/ What's new in this version ==

Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint

2019-09-03 Thread Joel Fernandes
On Tue, Sep 03, 2019 at 05:05:47PM +0100, Valentin Schneider wrote: > On 03/09/2019 16:43, Radim Krčmář wrote: > > The paper "The Linux Scheduler: a Decade of Wasted Cores" used several > > custom data gathering points to better understand what was going on in > > the scheduler. > > Red Hat

Re: [PATCH 1/2] venus: use on-chip interconnect API

2019-09-03 Thread Bjorn Andersson
On Tue 20 Aug 02:34 PDT 2019, Georgi Djakov wrote: > Hi Stan, > > On 8/14/19 11:47, Stanimir Varbanov wrote: > > This aims to add a requests for bandwidth scaling depending > > on the resolution and framerate (macroblocks per second). The > > exact value ff the requested bandwidth is get from a

RE: [PATCH v2 4/6] powerpc: Chunk calls to flush_dcache_range in arch_*_memory

2019-09-03 Thread Alastair D'Silva
On Tue, 2019-09-03 at 08:51 +0200, Christophe Leroy wrote: > > > This piece of code looks pretty similar to the one before. Can we > > > refactor into a small helper ? > > > > > > > Not much point, it's removed in a subsequent patch. > > > > But you tell me that you leave to people the

Re: [PATCH] pinctrl: qcom: sdm845: Fix UFS_RESET pin

2019-09-03 Thread Bjorn Andersson
On Thu 29 Aug 23:02 PDT 2019, Stephen Boyd wrote: > The UFS_RESET pin is the magical pin #150 now, not 153 per the > sdm845_groups array declared in this file. Fix the order of pins so that > UFS_RESET is 150 and the SDC pins follow after. > Woops, thanks Reviewed-by: Bjorn Andersson >

Re: [PATCH 1/2] pci: Convert to use built-in RCU list checking

2019-09-03 Thread kbuild test robot
Hi "Joel, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc7 next-20190903] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/co

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

2019-09-03 Thread Joel Fernandes
[ Resending since I messed up my last email's headers! ] On Tue, Sep 03, 2019 at 03:25:59PM +0200, Viktor Rosendahl wrote: > This patch implements the feature that the tracing_max_latency file, > e.g. /sys/kernel/debug/tracing/tracing_max_latency will receive > notifications through the fsnotify

[no subject]

2019-09-03 Thread Joel Fernandes
linux-rt-us...@vger.kernel.org Bcc: Subject: Re: [PATCH v5 1/4] ftrace: Implement fs notification for tracing_max_latency Reply-To: In-Reply-To: <20190903132602.3440-2-viktor.rosend...@gmail.com> On Tue, Sep 03, 2019 at 03:25:59PM +0200, Viktor Rosendahl wrote: > This patch implements the

[PATCH 1/3] rtlwifi: Remove an unnecessary continue in _rtl8723be_phy_config_bb_with_pgheaderfile

2019-09-03 Thread zhong jiang
Continue is not needed at the bottom of a loop. Hence just drop it. Signed-off-by: zhong jiang --- drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c

[PATCH 2/3] nfp: Drop unnecessary continue in nfp_net_pf_alloc_vnics

2019-09-03 Thread zhong jiang
Continue is not needed at the bottom of a loop. Signed-off-by: zhong jiang --- drivers/net/ethernet/netronome/nfp/nfp_net_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/netronome/nfp/nfp_net_main.c

[PATCH 3/3] ath10k: Drop unnecessary continue in ath10k_mac_update_vif_chan

2019-09-03 Thread zhong jiang
Continue is not needed at the bottom of a loop. Hence just remove it. Signed-off-by: zhong jiang --- drivers/net/wireless/ath/ath10k/mac.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index

[PATCH 0/3] net: remove an redundant continue

2019-09-03 Thread zhong jiang
With the help of Coccinelle. we find some place to replace. @@ for (...;...;...) { ... if (...) { ... - continue; } } zhong jiang (3): rtlwifi: Remove an unnecessary continue in _rtl8723be_phy_config_bb_with_pgheaderfile nfp: Drop unnecessary continue in

RE: [PATCH v2 3/6] powerpc: Convert flush_icache_range & friends to C

2019-09-03 Thread Alastair D'Silva
On Tue, 2019-09-03 at 22:11 +0200, Gabriel Paubert wrote: > On Tue, Sep 03, 2019 at 01:31:57PM -0500, Segher Boessenkool wrote: > > On Tue, Sep 03, 2019 at 07:05:19PM +0200, Christophe Leroy wrote: > > > Le 03/09/2019 à 18:04, Segher Boessenkool a écrit : > > > > (Why are they separate though? It

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

2019-09-03 Thread Walter Wu
> > const char *get_bug_type(struct kasan_access_info *info) > > { > > +#ifdef CONFIG_KASAN_SW_TAGS_IDENTIFY > > + struct kasan_alloc_meta *alloc_meta; > > + struct kmem_cache *cache; > > + struct page *page; > > + const void *addr; > > + void *object; > > +

Re: [PATCH v6 21/21] RISC-V: KVM: Add MAINTAINERS entry

2019-09-03 Thread Anup Patel
On Thu, Aug 29, 2019 at 7:27 PM Anup Patel wrote: > > Add myself as maintainer for KVM RISC-V as Atish as designated reviewer. > > For time being, we use my GitHub repo as KVM RISC-V gitrepo. We will > update this once we have common KVM RISC-V gitrepo under kernel.org. > > Signed-off-by: Atish

RE: [PATCH v2 3/6] powerpc: Convert flush_icache_range & friends to C

2019-09-03 Thread Alastair D'Silva
On Tue, 2019-09-03 at 11:04 -0500, Segher Boessenkool wrote: > On Tue, Sep 03, 2019 at 04:28:09PM +0200, Christophe Leroy wrote: > > Le 03/09/2019 à 15:04, Segher Boessenkool a écrit : > > > On Tue, Sep 03, 2019 at 03:23:57PM +1000, Alastair D'Silva wrote: > > > > + asm volatile( > > > > +

Re: [PATCH v5 1/2] mm: Allow the page cache to allocate large pages

2019-09-03 Thread William Kucharski
> On Sep 3, 2019, at 5:57 AM, Michal Hocko wrote: > > On Mon 02-09-19 03:23:40, William Kucharski wrote: >> Add an 'order' argument to __page_cache_alloc() and >> do_read_cache_page(). Ensure the allocated pages are compound pages. > > Why do we need to touch all the existing callers and

Re: [PATCH 11/13] dt-bindings: mips: Add loongson cpus & boards

2019-09-03 Thread Huacai Chen
On Tue, Sep 3, 2019 at 5:08 PM Paul Burton wrote: > > Hi Rob, > > On Mon, Sep 02, 2019 at 03:50:47PM +0100, Rob Herring wrote: > > > In general on MIPS we detect CPU properties at runtime from coprocessor > > > 0 registers & similar sources of information, so there's not really a > > > need to

Re: [PATCHv5 2/4] firmware: add Intel Stratix10 remote system update driver

2019-09-03 Thread kbuild test robot
Hi, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc7 next-20190903] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/richard

Re: [PATCH v5 2/2] mm,thp: Add experimental config option RO_EXEC_FILEMAP_HUGE_FAULT_THP

2019-09-03 Thread William Kucharski
> On Sep 3, 2019, at 1:15 PM, Michal Hocko wrote: > > Then I would suggest mentioning all this in the changelog so that the > overall intention is clear. It is also up to you fs developers to find a > consensus on how to move forward. I have brought that up mostly because > I really hate

Re: [PATCH v2] mm/hugetlb: avoid looping to the same hugepage if !pages and !vmas

2019-09-03 Thread 陆志刚
Mike Kravetz 于2019年9月4日周三 上午5:26写道: > > On 8/29/19 6:50 AM, Zhigang Lu wrote: > > From: Zhigang Lu > > > > When mmapping an existing hugetlbfs file with MAP_POPULATE, we find > > it is very time consuming. For example, mmapping a 128GB file takes > > about 50 milliseconds. Sampling with

RE: [PATCH v2 3/6] powerpc: Convert flush_icache_range & friends to C

2019-09-03 Thread Alastair D'Silva
On Tue, 2019-09-03 at 08:08 +0200, Christophe Leroy wrote: > > Le 03/09/2019 à 07:23, Alastair D'Silva a écrit : > > From: Alastair D'Silva > > > > Similar to commit 22e9c88d486a > > ("powerpc/64: reuse PPC32 static inline flush_dcache_range()") > > this patch converts the following ASM symbols

Re: [PATCH 1/1] soc: qcom: geni: Provide parameter error checking

2019-09-03 Thread Bjorn Andersson
On Tue 03 Sep 06:50 PDT 2019, Lee Jones wrote: > When booting with ACPI, the Geni Serial Engine is not set as the I2C/SPI > parent and thus, the wrapper (parent device) is unassigned. This causes > the kernel to crash with a null dereference error. > Now I see what you did in 8bc529b25354;

[PATCH] scsi: qedi: remove an redundant null check before kfree_skb

2019-09-03 Thread zhong jiang
kfree_skb has taken null pointer into account. Hence it is unnecessary to check it before kfree_skb. Just remove the condition. Signed-off-by: zhong jiang --- drivers/scsi/qedi/qedi_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/qedi/qedi_main.c

Re: [PATCH] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-03 Thread Anshuman Khandual
On 09/04/2019 06:28 AM, Jia He wrote: > When we tested pmdk unit test [1] vmmalloc_fork TEST1 in arm64 guest, there > will be a double page fault in __copy_from_user_inatomic of cow_user_page. > > Below call trace is from arm64 do_page_fault for debugging purpose > [ 110.016195] Call trace: > [

[PATCH] net: hsr: remove an redundant null check before kfree_skb

2019-09-03 Thread zhong jiang
kfree_skb has taken the null pointer into account. Hence just remove the null check before kfree_skb. Signed-off-by: zhong jiang --- net/hsr/hsr_forward.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/hsr/hsr_forward.c b/net/hsr/hsr_forward.c index

Re: [PATCH 2/3] kbuild, arc: add CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3 for ARC

2019-09-03 Thread Vineet Gupta
On 9/3/19 8:08 AM, Masahiro Yamada wrote: >> So if you could please split out the Wmaybe-uninitialized change > I could not understand your request. > > I added 'imply CC_DISABLE_WARN_MAYBE_UNINITIALIZED' > for CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3. > > I cannot split it out. Otherwise, you will

Re: [RFC v3] vhost: introduce mdev based hardware vhost backend

2019-09-03 Thread Tiwei Bie
On Tue, Sep 03, 2019 at 07:26:03AM -0400, Michael S. Tsirkin wrote: > On Wed, Aug 28, 2019 at 01:37:12PM +0800, Tiwei Bie wrote: > > Details about this can be found here: > > > > https://lwn.net/Articles/750770/ > > > > What's new in this version > > == > > > > There are

[PATCH 2/3] sunrpc: Use kzfree rather than its implementation.

2019-09-03 Thread zhong jiang
Use kzfree instead of memset() + kfree(). Signed-off-by: zhong jiang --- net/sunrpc/auth_gss/gss_krb5_keys.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/net/sunrpc/auth_gss/gss_krb5_keys.c b/net/sunrpc/auth_gss/gss_krb5_keys.c index 550fdf1..3b7f721 100644 ---

[PATCH 1/3] ixgbe: Use kzfree() rather than its implementation.

2019-09-03 Thread zhong jiang
Use kzfree() instead of memset() + kfree(). Signed-off-by: zhong jiang --- drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c

[PATCH 0/3] net: Use kzfree() directly

2019-09-03 Thread zhong jiang
With the help of Coccinelle. We find some place to replace. @@ expression M, S; @@ - memset(M, 0, S); - kfree(M); + kzfree(M); zhong jiang (3): ixgbe: Use kzfree() rather than its implementation. sunrpc: Use kzfree rather than its implementation. net: mpoa: Use kzfree rather than its

[PATCH 3/3] net: mpoa: Use kzfree rather than its implementation.

2019-09-03 Thread zhong jiang
Use kzfree instead of memset() + kfree(). Signed-off-by: zhong jiang --- net/atm/mpoa_caches.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/atm/mpoa_caches.c b/net/atm/mpoa_caches.c index 4bb4183..3286f9d 100644 --- a/net/atm/mpoa_caches.c +++

Re: [BACKPORT 4.14.y 4/8] net: sctp: fix warning "NULL check before some freeing functions is not needed"

2019-09-03 Thread Baolin Wang
On Wed, 4 Sep 2019 at 02:33, Greg KH wrote: > > On Tue, Sep 03, 2019 at 11:52:06AM -0300, Marcelo Ricardo Leitner wrote: > > On Tue, Sep 03, 2019 at 02:58:16PM +0800, Baolin Wang wrote: > > > From: Hariprasad Kelam > > > > > > This patch removes NULL checks before calling kfree. > > > > > >

====INQUIRY====URGENT PLEASE====

2019-09-03 Thread Atsushi Yamamoto
Dear Sir/Madam, Good day to you, Hi; am Atsushi Yamamoto, from ( Nion Express (H.K.) Co., Ltd ) We are interested in purchasing your products and we sincerely hope to establish a long-term business relation with your esteemed company. Please kindly send me your latest catalog. Also, inform me

Re: [PATCH 2/2] riscv: Add KASAN support

2019-09-03 Thread Nick Hu
Hi Daniel, On Wed, Sep 04, 2019 at 01:08:51AM +1000, Daniel Axtens wrote: > Nick Hu writes: > > > Hi Christoph, > > > > Thanks for your reply. I will answer one by one. > > > > Hi Alexander, > > > > Would you help me for the question about SOFTIRQENTRY_TEXT? > > > > On Mon, Aug 12, 2019 at

[PATCH v3] mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS

2019-09-03 Thread Andrew Jeffery
Resolves the following build error reported by the 0-day bot: ERROR: "of_platform_device_create" [drivers/mmc/host/sdhci-of-aspeed.ko] undefined! SPARC does not set CONFIG_OF_ADDRESS so the symbol is missing. Depend on CONFIG_OF_ADDRESS to ensure the driver is only built for supported

RE: [PATCH 1/1] mm/migrate: fix list corruption in migration of non-LRU movable pages

2019-09-03 Thread sunqiuyang
The isolate path of non-lru movable pages: isolate_migratepages_block isolate_movable_page trylock_page // if PageIsolated, goto out_no_isolated a_ops->isolate_page __SetPageIsolated unlock_page

Re: [PATCH] arm: fix page faults in do_alignment

2019-09-03 Thread Jing Xiangfeng
On 2019/9/3 1:36, Eric W. Biederman wrote: > Russell King - ARM Linux admin writes: > >> On Fri, Aug 30, 2019 at 04:02:48PM -0500, Eric W. Biederman wrote: >>> Russell King - ARM Linux admin writes: >>> On Fri, Aug 30, 2019 at 02:45:36PM -0500, Eric W. Biederman wrote: > Russell King -

Re: [PATCH v2 14/15] kvm: ioapic: Delay update IOAPIC EOI for RTC

2019-09-03 Thread Suthikulpanit, Suravee
Alex, On 8/19/19 6:00 AM, Alexander Graf wrote: > > > On 15.08.19 18:25, Suthikulpanit, Suravee wrote: >> In-kernel IOAPIC does not update RTC pending EOI info with AMD SVM /w >> AVIC >> when interrupt is delivered as edge-triggered since AMD processors >> cannot exit on EOI for these

Re: [PATCH 08/15] riscv: provide native clint access for M-mode

2019-09-03 Thread Alan Kao
On Tue, Sep 03, 2019 at 11:48:52AM -0700, Palmer Dabbelt wrote: > On Tue, 27 Aug 2019 23:11:46 PDT (-0700), Christoph Hellwig wrote: > >On Tue, Aug 27, 2019 at 04:37:16PM -0700, Palmer Dabbelt wrote: > >>clint0 would be version 0 of the clint, with is the core-local interrupt > >>controller in

Re: [PATCH v3 0/7] add support USB for MT8183

2019-09-03 Thread Chunfeng Yun
Hi Greg, Please don't try to pick up this series, the dependent ones are still under public review, I'll fix build warning and send out new version after the dependent ones are applied Sorry for inconvenience Thanks On Fri, 2019-08-30 at 15:40 +0800, Chunfeng Yun wrote: > This series

Re: Regression in 5.1.20: Reading long directory fails

2019-09-03 Thread Jason L Tibbitts III
I asked the XFS folks who mentioned that the issues with 64 bit inodes are old, constrained to larger filesystems than what I'm using, not an issue with nfsv4, and not present on anything but 32bit clients with old userspace. In any case, I have been experimenting a bit and somehow the issue

Re: [PATCH v2 3/3] nvme: fire discovery log page change events to userspace

2019-09-03 Thread Sagi Grimberg
Still don't understand how this is ok... I have /dev/nvme0 represents a network endpoint that I would discover from, it is raising me an event to do a discovery operation (namely to issue an ioctl to it) so my udev code calls a systemd script. By the time I actually get to do that,

[PATCH v2 1/2] mtd: spi-nor: intel-spi: support chips without software sequencer

2019-09-03 Thread Jethro Beekman
Some flash controllers don't have a software sequencer. Avoid configuring the register addresses for it, and double check everywhere that its not accidentally trying to be used. Every use of `sregs` is now guarded by a check of `sregs` or `swseq_reg`. The check might be done in the calling

[PATCH v2 2/2] mtd: spi-nor: intel-spi: add support for Intel Cannon Lake SPI flash

2019-09-03 Thread Jethro Beekman
Now that SPI flash controllers without a software sequencer are supported, it's trivial to add support for CNL and its PCI ID. Values from https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/300-series-chipset-pch-datasheet-vol-2.pdf Signed-off-by: Jethro Beekman ---

[PATCH v2 0/2] Support for Intel Cannon Lake SPI flash

2019-09-03 Thread Jethro Beekman
v2 changes: * Fix whitespace. * Link to datasheet. Jethro Beekman (2): mtd: spi-nor: intel-spi: support chips without software sequencer mtd: spi-nor: intel-spi: add support for Intel Cannon Lake SPI flash drivers/mtd/spi-nor/intel-spi-pci.c | 5 + drivers/mtd/spi-nor/intel-spi.c

Re: [PATCH v2 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-09-03 Thread Ramuthevar, Vadivel MuruganX
Hi Rob,   Thank you so much for the conclusion. On 4/9/2019 5:34 AM, Rob Herring wrote: On Tue, Sep 3, 2019 at 11:52 AM Ramuthevar, Vadivel MuruganX wrote: Hi Rob, Thank you for your suggestions and clarifications. On 3/9/2019 6:34 PM, Rob Herring wrote: On Tue, Sep 3, 2019 at 11:08

  1   2   3   4   5   6   7   8   9   10   >