Re: [5.2 regression] copy_fpstate_to_sigframe() change causing crash in 32-bit process

2019-06-06 Thread Sebastian Andrzej Siewior
On 2019-06-05 10:32:57 [-0700], Eric Biggers wrote: > As I said, the commit looks broken to me. save_fsave_header() reads from > tsk->thread.fpu.state.fxsave, which due to that commit isn't being updated > with > the latest registers. Am I missing something? Note the comment you deleted: So

Re: 5.1 kernel: khugepaged stuck at 100%

2019-06-06 Thread Max Kellermann
On 2019/05/16 16:14, Justin Piszcz wrote: > Kernel: 5.1.2 > > $ sudo cat /proc/$(pidof khugepaged)/stack > [<0>] 0x > > $ perf top > >PerfTop:3716 irqs/sec kernel:92.9% exact: 99.1% lost: 68/68 > drop: 0/0 [4000Hz cycles], (all, 12 CPUs) >

Re: [PATCH RFC 0/2] x86/boot: Introduce the setup_header2

2019-06-06 Thread Konrad Rzeszutek Wilk
On Thu, Jun 06, 2019 at 01:51:08PM +0200, Daniel Kiper wrote: > On Wed, Jun 05, 2019 at 10:01:17AM -0400, Konrad Rzeszutek Wilk wrote: > > On Wed, Jun 05, 2019 at 03:50:31PM +0200, Daniel Kiper wrote: > > > On Fri, May 24, 2019 at 11:55:02AM +0200, Daniel Kiper wrote: > > > > Hi, > > > > > > > >

[tip:x86/urgent] x86/fpu: Use fault_in_pages_writeable() for pre-faulting

2019-06-06 Thread tip-bot for Hugh Dickins
Commit-ID: b81ff1013eb8eef2934ca7e8cf53d553c1029e84 Gitweb: https://git.kernel.org/tip/b81ff1013eb8eef2934ca7e8cf53d553c1029e84 Author: Hugh Dickins AuthorDate: Wed, 29 May 2019 09:25:40 +0200 Committer: Borislav Petkov CommitDate: Thu, 6 Jun 2019 19:15:17 +0200 x86/fpu: Use

Re: [PATCH] [RFC] dmaengine: add fifo_size member

2019-06-06 Thread Dmitry Osipenko
06.06.2019 19:53, Jon Hunter пишет: > > On 06/06/2019 17:44, Dmitry Osipenko wrote: >> 06.06.2019 19:32, Jon Hunter пишет: >>> >>> On 06/06/2019 16:18, Dmitry Osipenko wrote: >>> >>> ... >>> >> If I understood everything correctly, the FIFO buffer is shared among >> all of the ADMA

Re: [PATCH 4/8] arm64: Basic Branch Target Identification support

2019-06-06 Thread Dave Martin
On Thu, Jun 06, 2019 at 06:11:56PM +0100, Catalin Marinas wrote: > On Fri, May 24, 2019 at 03:53:06PM +0100, Dave P Martin wrote: > > On Fri, May 24, 2019 at 02:02:17PM +0100, Mark Rutland wrote: > > > On Fri, May 24, 2019 at 11:25:29AM +0100, Dave Martin wrote: > > > > #endif /*

Re: [PATCH v2 4/7] cpufreq: add driver for Raspbery Pi

2019-06-06 Thread Nicolas Saenz Julienne
Hi Stephen, Thanks for the review. On Thu, 2019-06-06 at 10:09 -0700, Stephen Boyd wrote: > Quoting Nicolas Saenz Julienne (2019-06-06 07:22:56) > > diff --git a/drivers/cpufreq/raspberrypi-cpufreq.c > > b/drivers/cpufreq/raspberrypi-cpufreq.c > > new file mode 100644 > > index

Re: [PATCH] soundwire: intel: set dai min and max channels correctly

2019-06-06 Thread Vinod Koul
On 06-06-19, 12:23, Srinivas Kandagatla wrote: > Looks like there is a copy paste error. > This patch fixes it! Applied, thanks -- ~Vinod

Re: [PATCH v2 3/3] iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR

2019-06-06 Thread Boris Brezillon
On Thu, 6 Jun 2019 17:12:04 +0200 Vitor Soares wrote: > For today the st_lsm6dsx driver support LSM6DSO and LSM6DSR sensor only in > spi and i2c mode. > > The LSM6DSO and LSM6DSR are also i3c capable so lets give i3c support to > them. > > Signed-off-by: Vitor Soares > --- > Changes in v2: >

Re: [PATCH v2 5/7] clk: raspberrypi: register platform device for raspberrypi-cpufreq

2019-06-06 Thread Stephen Boyd
Quoting Nicolas Saenz Julienne (2019-06-06 10:16:56) > On Thu, 2019-06-06 at 10:05 -0700, Stephen Boyd wrote: > > Quoting Nicolas Saenz Julienne (2019-06-06 07:22:58) > > > diff --git a/drivers/clk/bcm/clk-raspberrypi.c b/drivers/clk/bcm/clk- > > > raspberrypi.c > > > index

Re: [PATCH v9 07/12] mm/sparsemem: Prepare for sub-section ranges

2019-06-06 Thread Oscar Salvador
On Wed, Jun 05, 2019 at 02:58:37PM -0700, Dan Williams wrote: > Prepare the memory hot-{add,remove} paths for handling sub-section > ranges by plumbing the starting page frame and number of pages being > handled through arch_{add,remove}_memory() to > sparse_{add,remove}_one_section(). > > This

[PATCH v2] sched/fair: don't push cfs_bandwith slack timers forward

2019-06-06 Thread bsegall
When a cfs_rq sleeps and returns its quota, we delay for 5ms before waking any throttled cfs_rqs to coalesce with other cfs_rqs going to sleep, as this has to be done outside of the rq lock we hold. The current code waits for 5ms without any sleeps, instead of waiting for 5ms from the first

Re: [PATCH v2] soundwire: stream: fix bad unlock balance

2019-06-06 Thread Vinod Koul
On 06-06-19, 12:22, Srinivas Kandagatla wrote: > multi bank switching code takes lock on condition but releases without > any check resulting in below warning. > This patch fixes this. > > = > WARNING: bad unlock balance detected! >

Re: [PATCH] KVM: x86: introduce is_pae_paging

2019-06-06 Thread Sean Christopherson
On Thu, Jun 06, 2019 at 06:52:52PM +0200, Paolo Bonzini wrote: > Checking for 32-bit PAE is quite common around code that fiddles with > the PDPTRs. Add a function to compress all checks into a single > invocation. > > Signed-off-by: Paolo Bonzini I considered adding this helper as well, but

Re: [PATCH v2 5/7] clk: raspberrypi: register platform device for raspberrypi-cpufreq

2019-06-06 Thread Nicolas Saenz Julienne
On Thu, 2019-06-06 at 10:05 -0700, Stephen Boyd wrote: > Quoting Nicolas Saenz Julienne (2019-06-06 07:22:58) > > diff --git a/drivers/clk/bcm/clk-raspberrypi.c b/drivers/clk/bcm/clk- > > raspberrypi.c > > index b1365cf19f3a..052296b5fbe4 100644 > > --- a/drivers/clk/bcm/clk-raspberrypi.c > > +++

RE: [PATCH v2 1/3] i3c: fix i2c and i3c scl rate by bus mode

2019-06-06 Thread Vitor Soares
From: Boris Brezillon Date: Thu, Jun 06, 2019 at 15:18:44 > On Thu, 6 Jun 2019 16:00:01 +0200 > Vitor Soares wrote: > > > Currently the I3C framework limits SCL frequency to FM speed when > > dealing with a mixed slow bus, even if all I2C devices are FM+ capable. > > > > The core was also

Re: [5.2.0-rcx] Bluetooth: hci0: unexpected event for opcode

2019-06-06 Thread Jörg Otte
Am Do., 6. Juni 2019 um 13:20 Uhr schrieb Marcel Holtmann : > > Hi Joerg, > > >>> In 5.2.0-rcx I see a new error message on startup probably after > >>> loading the Bluetooth firmware: > >>> [1.609460] Bluetooth: hci0: unexpected event for opcode 0xfc2f > >>> > dmesg | grep Bluetooth >

Re: [PATCH 4/8] arm64: Basic Branch Target Identification support

2019-06-06 Thread Catalin Marinas
On Fri, May 24, 2019 at 03:53:06PM +0100, Dave P Martin wrote: > On Fri, May 24, 2019 at 02:02:17PM +0100, Mark Rutland wrote: > > On Fri, May 24, 2019 at 11:25:29AM +0100, Dave Martin wrote: > > > #endif /* _UAPI__ASM_HWCAP_H */ > > > diff --git a/arch/arm64/include/uapi/asm/mman.h > > >

Re: [PATCH RFC 00/10] RDMA/FS DAX truncate proposal

2019-06-06 Thread Ira Weiny
On Wed, Jun 05, 2019 at 10:52:12PM -0700, John Hubbard wrote: > On 6/5/19 6:45 PM, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > ... V1,000,000 ;-) > > > > Pre-requisites: > > John Hubbard's put_user_pages() patch series.[1] > > Jan Kara's ext4_break_layouts() fixes[2] > > >

Re: [PATCH v2 4/7] cpufreq: add driver for Raspbery Pi

2019-06-06 Thread Stephen Boyd
Quoting Nicolas Saenz Julienne (2019-06-06 07:22:56) > diff --git a/drivers/cpufreq/raspberrypi-cpufreq.c > b/drivers/cpufreq/raspberrypi-cpufreq.c > new file mode 100644 > index ..99b59d5a50aa > --- /dev/null > +++ b/drivers/cpufreq/raspberrypi-cpufreq.c [...] > + > +/* > + * Since

[PATCH] mtd: spinand: Fix max_bad_eraseblocks_per_lun info in memorg

2019-06-06 Thread Schrempf Frieder
From: Frieder Schrempf The 1Gb Macronix chip can have a maximum of 20 bad blocks, while the 2Gb version has twice as many blocks and therefore the maximum number of bad blocks is 40. The 4Gb GigaDevice GD5F4GQ4xA has twice as many blocks as its 2Gb counterpart and therefore a maximum of 80 bad

Re: [PATCH] scsi: lpfc: Avoid unused function warnings

2019-06-06 Thread James Smart
On 6/5/2019 10:24 PM, Nathan Chancellor wrote: When building powerpc pseries_defconfig or powernv_defconfig: drivers/scsi/lpfc/lpfc_nvmet.c:224:1: error: unused function 'lpfc_nvmet_get_ctx_for_xri' [-Werror,-Wunused-function] drivers/scsi/lpfc/lpfc_nvmet.c:246:1: error: unused function

Re: [alsa-devel] [PATCH v2] soundwire: stream: fix bad unlock balance

2019-06-06 Thread Sanyog Kale
On Thu, Jun 06, 2019 at 10:36:02AM -0500, Pierre-Louis Bossart wrote: > On 6/6/19 9:58 AM, Srinivas Kandagatla wrote: > > > > > > On 06/06/2019 15:28, Pierre-Louis Bossart wrote: > > > On 6/6/19 6:22 AM, Srinivas Kandagatla wrote: > > > > multi bank switching code takes lock on condition but

Re: [PATCH v2 5/7] clk: raspberrypi: register platform device for raspberrypi-cpufreq

2019-06-06 Thread Stephen Boyd
Quoting Nicolas Saenz Julienne (2019-06-06 07:22:58) > diff --git a/drivers/clk/bcm/clk-raspberrypi.c > b/drivers/clk/bcm/clk-raspberrypi.c > index b1365cf19f3a..052296b5fbe4 100644 > --- a/drivers/clk/bcm/clk-raspberrypi.c > +++ b/drivers/clk/bcm/clk-raspberrypi.c > @@ -63,6 +63,8 @@ struct

Re: [PATCH] VMCI: Fixup atomic64_t abuse

2019-06-06 Thread Peter Zijlstra
On Thu, Jun 06, 2019 at 03:54:24PM +, Jorgen Hansen wrote: > > > > On 6 Jun 2019, at 11:34, Peter Zijlstra wrote: > > > > > > The VMCI driver is abusing atomic64_t and atomic_t, there is no actual > > atomic RmW operations around. > > > > Rewrite the code to use a regular u64 with

Re: [PATCH v9 04/12] mm/sparsemem: Convert kmalloc_section_memmap() to populate_section_memmap()

2019-06-06 Thread Oscar Salvador
On Wed, Jun 05, 2019 at 02:58:21PM -0700, Dan Williams wrote: > Allow sub-section sized ranges to be added to the memmap. > populate_section_memmap() takes an explict pfn range rather than > assuming a full section, and those parameters are plumbed all the way > through to vmmemap_populate().

RE: [PATCH v2 2/3] i3c: add i3c_get_device_id helper

2019-06-06 Thread Vitor Soares
Hi Boris, From: Boris Brezillon Date: Thu, Jun 06, 2019 at 16:17:55 > On Thu, 6 Jun 2019 17:12:03 +0200 > Vitor Soares wrote: > > > This helper return the i3c_device_id structure in order the client > > have access to the driver data. > > > > Signed-off-by: Vitor Soares > > --- > > Changes

Re: [PATCH v2 3/3] iio: imu: st_lsm6dsx: add i3c basic support for LSM6DSO and LSM6DSR

2019-06-06 Thread Lorenzo Bianconi
> For today the st_lsm6dsx driver support LSM6DSO and LSM6DSR sensor only in > spi and i2c mode. > > The LSM6DSO and LSM6DSR are also i3c capable so lets give i3c support to > them. > > Signed-off-by: Vitor Soares > --- Hi Vitor, just a nit inline, but you can add my acked-by for st_lsm6dsx

Re: [PATCH] md: raid10: Use struct_size() in kmalloc()

2019-06-06 Thread Gustavo A. R. Silva
On 6/6/19 11:51 AM, Song Liu wrote: > > Applied to my md-next tree. > Great. :) Thanks, Song. -- Gustavo

Re: [PATCH 2/5] mm/hmm: Clean up some coding style and comments

2019-06-06 Thread Joe Perches
On Thu, 2019-06-06 at 11:52 -0400, Jerome Glisse wrote: > On Thu, Jun 06, 2019 at 12:41:29PM -0300, Jason Gunthorpe wrote: > > On Thu, Jun 06, 2019 at 10:27:43AM -0400, Jerome Glisse wrote: > > > On Thu, Jun 06, 2019 at 11:16:44AM -0300, Jason Gunthorpe wrote: > > > > On Mon, May 06, 2019 at

Re: [PATCH v9 02/12] mm/sparsemem: Add helpers track active portions of a section at boot

2019-06-06 Thread Oscar Salvador
On Wed, Jun 05, 2019 at 02:57:59PM -0700, Dan Williams wrote: > Prepare for hot{plug,remove} of sub-ranges of a section by tracking a > sub-section active bitmask, each bit representing a PMD_SIZE span of the > architecture's memory hotplug section size. > > The implications of a partially

[PATCH 1/1] ARM: dts: imx6ul: Add PXP node

2019-06-06 Thread Sébastien Szymanski
Add PXP node for i.MX6UL/L SoC. Signed-off-by: Sébastien Szymanski --- arch/arm/boot/dts/imx6ul.dtsi | 9 + arch/arm/boot/dts/imx6ull.dtsi | 6 ++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index

Re: [PATCH] [RFC] dmaengine: add fifo_size member

2019-06-06 Thread Jon Hunter
On 06/06/2019 17:44, Dmitry Osipenko wrote: > 06.06.2019 19:32, Jon Hunter пишет: >> >> On 06/06/2019 16:18, Dmitry Osipenko wrote: >> >> ... >> > If I understood everything correctly, the FIFO buffer is shared among > all of the ADMA clients and hence it should be up to the ADMA driver

Re: [PATCH] drm/meson: Add support for XBGR8888 & ABGR8888 formats

2019-06-06 Thread Kevin Hilman
Neil Armstrong writes: > Add missing XBGR & ABGR formats variants from the primary plane. > > Fixes: bbbe775ec5b5 ("drm: Add support for Amlogic Meson Graphic Controller") > Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman

Re: [PATCH 4.19 237/276] scsi: lpfc: avoid uninitialized variable warning

2019-06-06 Thread Greg Kroah-Hartman
On Thu, Jun 06, 2019 at 09:00:42AM -0700, Nathan Chancellor wrote: > On Thu, Jun 06, 2019 at 02:53:23PM +0200, Pavel Machek wrote: > > Hi! > > > > > [ Upstream commit faf5a744f4f8d76e7c03912b5cd381ac8045f6ec ] > > > > > > clang -Wuninitialized incorrectly sees a variable being used without > > >

[PATCH] KVM: x86: introduce is_pae_paging

2019-06-06 Thread Paolo Bonzini
Checking for 32-bit PAE is quite common around code that fiddles with the PDPTRs. Add a function to compress all checks into a single invocation. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/vmx/nested.c | 3 +-- arch/x86/kvm/vmx/vmx.c| 4 ++-- arch/x86/kvm/x86.c| 8

[PATCHv3 2/2] ARM: dts: Add support for i.MX6 UltraLite DART Variscite Customboard

2019-06-06 Thread Oliver Graute
This patch adds DeviceTree Bindings for the i.MX6 UltraLite DART NAND/WIFI Signed-off-by: Oliver Graute --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6ul-var-6ulcustomboard.dts | 209 2 files changed, 210 insertions(+) create mode

[PATCHv3 1/2] ARM: dts: imx6ul: Add Variscite DART-6UL SoM support

2019-06-06 Thread Oliver Graute
This patch adds support for the i.MX6UL variant of the Variscite DART-6UL SoM Carrier-Board Signed-off-by: Oliver Graute --- .../boot/dts/imx6ul-imx6ull-var-dart-common.dtsi | 458 + 1 file changed, 458 insertions(+) create mode 100644

Re: [PATCH] md: raid10: Use struct_size() in kmalloc()

2019-06-06 Thread Song Liu
On Tue, Jun 4, 2019 at 3:47 PM 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 foo { >

[PATCHv3 0/2] Variscite DART-6UL SoM support

2019-06-06 Thread Oliver Graute
Need feedback to the following patches which adds support for a DART-6UL Board Product Page: https://www.variscite.com/product/evaluation-kits/dart-6ul-kits Oliver Graute (2): ARM: dts: imx6ul: Add Variscite DART-6UL SoM support ARM: dts: Add support for i.MX6 UltraLite DART Variscite

Re: [PATCH v2 1/1] Drivers: hv: vmbus: Break out ISA independent parts of mshyperv.h

2019-06-06 Thread Sasha Levin
On Thu, May 30, 2019 at 12:14:00AM +, Michael Kelley wrote: Break out parts of mshyperv.h that are ISA independent into a separate file in include/asm-generic. This move facilitates ARM64 code reusing these definitions and avoids code duplication. No functionality or behavior is changed.

Re: [PATCH] [RFC] dmaengine: add fifo_size member

2019-06-06 Thread Dmitry Osipenko
06.06.2019 19:32, Jon Hunter пишет: > > On 06/06/2019 16:18, Dmitry Osipenko wrote: > > ... > If I understood everything correctly, the FIFO buffer is shared among all of the ADMA clients and hence it should be up to the ADMA driver to manage the quotas of the clients. So if

RE: [PATCH v2 0/3] Add ST lsm6dso i3c support

2019-06-06 Thread Vitor Soares
Hi Wolfram, I think I2C ecosystem is also part interested in I3C due the compatibility and maybe they can provide some feedback. If you think differently, sorry I will remove I2C list next time. Regards, Vitor Soares From: Wolfram Sang Date: Thu, Jun 06, 2019 at 17:25:23 > On Thu, Jun 06,

Re: [PATCH] md: md.c: Return -ENODEV when mddev is NULL in rdev_attr_show

2019-06-06 Thread Song Liu
On Thu, May 23, 2019 at 7:45 PM Marcos Paulo de Souza wrote: > > Commit c42d3240990814eec1e4b2b93fa0487fc4873aed > ("md: return -ENODEV if rdev has no mddev assigned") changed rdev_attr_store > to > return -ENODEV when rdev->mddev is NULL, now do the same to rdev_attr_show. nit: checkpatch.pl

Re: [PATCH v3 0/2] Drivers: hv: Move Hyper-V clock/timer code to separate clocksource driver

2019-06-06 Thread Sasha Levin
On Mon, May 27, 2019 at 02:59:07PM +, Michael Kelley wrote: This patch series moves Hyper-V clock/timer code to a separate Hyper-V clocksource driver. Previously, Hyper-V clock/timer code and data structures were mixed in with other Hyper-V code in the ISA independent drivers/hv code as well

Re: [PATCH V8 14/15] PCI: tegra: Add Tegra194 PCIe support

2019-06-06 Thread Dmitry Osipenko
26.05.2019 7:37, Vidya Sagar пишет: > Add support for Synopsys DesignWare core IP based PCIe host controller > present in Tegra194 SoC. > > Signed-off-by: Vidya Sagar > --- > Changes since [v7]: > * Addressed review comments from Thierry > > Changes since [v6]: > * Removed code around

RE: single copy atomicity for double load/stores on 32-bit systems

2019-06-06 Thread David Laight
From: Paul E. McKenney > Sent: 06 June 2019 10:44 ... > But m68k is !SMP-only, correct? If so, the only issues would be > interactions with interrupt handlers and the like, and doesn't current > m68k hardware use exact interrupts? Or is it still possible to interrupt > an m68k in the middle of

[PATCH net-next v2 10/10] ARM: configs: keystone: enable cpts

2019-06-06 Thread Grygorii Strashko
Enable CPTS support which is present in Network Coprocessor Gigabit Ethernet (GbE) Switch Subsystem. Signed-off-by: Grygorii Strashko Acked-by: Richard Cochran --- arch/arm/configs/keystone_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/keystone_defconfig

Re: [PATCH] [RFC] dmaengine: add fifo_size member

2019-06-06 Thread Jon Hunter
On 06/06/2019 16:18, Dmitry Osipenko wrote: ... >>> If I understood everything correctly, the FIFO buffer is shared among >>> all of the ADMA clients and hence it should be up to the ADMA driver to >>> manage the quotas of the clients. So if there is only one client that >>> uses ADMA at a

[PATCH net-next v2 09/10] ARM: dts: k2l-netcp: add cpts refclk_mux node

2019-06-06 Thread Grygorii Strashko
KeyStone 66AK2L 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks for time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and modelled as multiplexer clock. Hence, add

[PATCH net-next v2 07/10] ARM: dts: k2e-netcp: add cpts refclk_mux node

2019-06-06 Thread Grygorii Strashko
KeyStone 66AK2E 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks for time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and modelled as multiplexer clock. Hence, add

[PATCH net-next v2 06/10] ARM: dts: k2e-clocks: add input ext. fixed clocks tsipclka/b

2019-06-06 Thread Grygorii Strashko
Add set of fixed, external input clocks definitions for TSIPCLKA, TSIPCLKB clocks. Such clocks can be used as reference clocks for some HW modules (as cpts, for example) by configuring corresponding clock muxes. For these clocks real frequencies have to be defined in board files. Signed-off-by:

[PATCH net-next v2 08/10] ARM: dts: k2hk-netcp: add cpts refclk_mux node

2019-06-06 Thread Grygorii Strashko
KeyStone 66AK2H/K 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks for time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and modelled as multiplexer clock. Hence,

[PATCH net-next v2 05/10] ARM: dts: keystone-clocks: add input fixed clocks

2019-06-06 Thread Grygorii Strashko
Add set of fixed, external input clocks definitions for TIMI0, TIMI1, TSREFCLK clocks. Such clocks can be used as reference clocks for some HW modules (as cpts, for example) by configuring corresponding clock muxes. For these clocks real frequencies have to be defined in board files.

[PATCH net-next v2 03/10] net: ethernet: ti: netcp_ethss: add support for child cpts node

2019-06-06 Thread Grygorii Strashko
Allow to place CPTS properties in the child "cpts" DT node. For backward compatibility - roll-back and read CPTS DT properties from parent node if "cpts" node is not present. Signed-off-by: Grygorii Strashko Acked-by: Richard Cochran --- drivers/net/ethernet/ti/netcp_ethss.c | 9 +++-- 1

[PATCH net-next v2 04/10] net: ethernet: ti: cpts: add support for ext rftclk selection

2019-06-06 Thread Grygorii Strashko
Some CPTS instances, which can be found on KeyStone 2 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks as time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and can

[PATCH net-next v2 02/10] net: ethernet: ti: cpts: use devm_get_clk_from_child

2019-06-06 Thread Grygorii Strashko
Use devm_get_clk_from_child() instead of devm_clk_get() and this way allow to group CPTS DT properties in sub-node for better code readability and maintenance. Roll-back to devm_clk_get() if devm_get_clk_from_child() fails for backward compatibility. Signed-off-by: Grygorii Strashko Acked-by:

[PATCH net-next v2 01/10] dt-bindings: doc: net: keystone-netcp: document cpts

2019-06-06 Thread Grygorii Strashko
The Keystone 2 66AK2HK/E/L 1G Ethernet Switch Subsystems contains The Common Platform Time Sync (CPTS) module which is in general compatible with CPTS module found on "legacy" TI AM3/4/5 SoCs. So, the basic support for Keystone 2 CPTS is available by default, but not documented. The Keystone 2

[PATCH net-next v2 00/10] net: ethernet: ti: netcp: update and enable cpts support

2019-06-06 Thread Grygorii Strashko
Hi The Keystone 2 66AK2HK/E/L 1G Ethernet Switch Subsystems contains The Common Platform Time Sync (CPTS) module which is in general compatible with CPTS module found on TI AM3/4/5 SoCs. So, the basic support for Keystone 2 CPTS is available by default, but not documented and has never been

Re: [PATCH V8 13/15] phy: tegra: Add PCIe PIPE2UPHY support

2019-06-06 Thread Dmitry Osipenko
26.05.2019 7:37, Vidya Sagar пишет: > Synopsys DesignWare core based PCIe controllers in Tegra 194 SoC interface > with Universal PHY (UPHY) module through a PIPE2UPHY (P2U) module. > For each PCIe lane of a controller, there is a P2U unit instantiated at > hardware level. This driver provides

Re: [PATCH v2 0/3] Add ST lsm6dso i3c support

2019-06-06 Thread Wolfram Sang
On Thu, Jun 06, 2019 at 05:12:01PM +0200, Vitor Soares wrote: > This patch series add i3c support for STM LSM6DSO and LSM6DSR sensors. Why is the I2C list on CC? Is there something relevant I missed? signature.asc Description: PGP signature

Re: [PATCH V3 3/4] clk: imx: Add support for i.MX8MN clock driver

2019-06-06 Thread Stephen Boyd
Quoting anson.hu...@nxp.com (2019-06-03 18:59:27) > From: Anson Huang > > This patch adds i.MX8MN clock driver support. > > Signed-off-by: Anson Huang > --- > Changes since V2: > - use platform driver model for this clock driver; Can you also use platform device APIs like

Re: [RFC PATCH v2 1/3] vfio: Use capability chains to handle device specific irq

2019-06-06 Thread Alex Williamson
On Thu, 6 Jun 2019 10:17:51 + "Zhang, Tina" wrote: > > -Original Message- > > From: intel-gvt-dev [mailto:intel-gvt-dev-boun...@lists.freedesktop.org] On > > Behalf Of kra...@redhat.com > > Sent: Wednesday, June 5, 2019 6:10 PM > > To: Zhang, Tina > > Cc: Tian, Kevin ;

Re: [PATCH] Documentation: coresight: Update the generic device names

2019-06-06 Thread Suzuki K Poulose
Hi Mathieu, On 03/06/2019 20:01, Mathieu Poirier wrote: Hi Suzuki, On Thu, May 30, 2019 at 04:11:17PM +0100, Suzuki K Poulose wrote: Update the documentation to reflect the new naming scheme with latest changes. Reported-by: Leo Yan Cc: Mathieu Poirier Cc: Jonathan Corbet Signed-off-by:

Re: [PATCH v3 1/2] mt76: mt7615: enable support for mesh

2019-06-06 Thread Lorenzo Bianconi
> > i tested your patch against a qca 9984 chipset using SAE and without > encryption. both did not work. the devices are connecting, but no data > connection is possible Hi Sebastian, I tested Ryder's patch using mt76x2 as mesh peer and it works fine for me. Could you please provide some more

[PATCH v4 3/4] coresight: tmc-etf: Do not call smp_processor_id from preemptible

2019-06-06 Thread Suzuki K Poulose
During a perf session we try to allocate buffers on the "node" associated with the CPU the event is bound to. If it is not bound to a CPU, we use the current CPU node, using smp_processor_id(). However this is unsafe in a pre-emptible context and could generate the splats as below : BUG: using

[PATCH v4 4/4] coresight: etb10: Do not call smp_processor_id from preemptible

2019-06-06 Thread Suzuki K Poulose
During a perf session we try to allocate buffers on the "node" associated with the CPU the event is bound to. If it is not bound to a CPU, we use the current CPU node, using smp_processor_id(). However this is unsafe in a pre-emptible context and could generate the splats as below : BUG: using

[PATCH v4 2/4] coresight: tmc-etr: alloc_perf_buf: Do not call smp_processor_id from preemptible

2019-06-06 Thread Suzuki K Poulose
During a perf session we try to allocate buffers on the "node" associated with the CPU the event is bound to. If it is not bound to a CPU, we use the current CPU node, using smp_processor_id(). However this is unsafe in a pre-emptible context and could generate the splats as below : BUG: using

[PATCH v4 1/4] coresight: tmc-etr: Do not call smp_processor_id() from preemptible

2019-06-06 Thread Suzuki K Poulose
During a perf session we try to allocate buffers on the "node" associated with the CPU the event is bound to. If it's not bound to a CPU, we use the current CPU node, using smp_processor_id(). However this is unsafe in a pre-emptible context and could generate the splats as below : BUG: using

[PATCH v4 0/4] coresight: Do not call smp_processor_id from pre-emptible contexts

2019-06-06 Thread Suzuki K Poulose
We have a few places where we call smp_processor_id() from preemptible contexts during the perf buffer handling. We do this to figure out the numa node for the allocation in case the event is not CPU bound. Instead use NUMA_NO_NODE to avoid a splat. Changes since v3: - No function changes. Fix

Re: [PATCH RFC 07/10] fs/ext4: Fail truncate if pages are GUP pinned

2019-06-06 Thread Ira Weiny
On Thu, Jun 06, 2019 at 12:58:55PM +0200, Jan Kara wrote: > On Wed 05-06-19 18:45:40, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > If pages are actively gup pinned fail the truncate operation. > > > > Signed-off-by: Ira Weiny > > --- > > fs/ext4/inode.c | 3 +++ > > 1 file changed,

[PATCH v5 3/3] arm64: dts: qcom: Add Lenovo Miix 630

2019-06-06 Thread Jeffrey Hugo
This adds the initial DT for the Lenovo Miix 630 laptop. Supported functionality includes USB (host), microSD-card, keyboard, and trackpad. Signed-off-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/msm8998-clamshell.dtsi | 240

[PATCH v5 2/3] HID: quirks: Refactor ELAN 400 and 401 handling

2019-06-06 Thread Jeffrey Hugo
There needs to be coordination between hid-quirks and the elan_i2c driver about which devices are handled by what drivers. Currently, both use whitelists, which results in valid devices being unhandled by default, when they should not be rejected by hid-quirks. This is quickly becoming an issue.

[PATCH v5 1/3] Input: elan_i2c: Add comment about link between elan_i2c and hid-quirks

2019-06-06 Thread Jeffrey Hugo
Elan_i2c and hid-quirks work in conjunction to decide which devices each driver will handle. Document this link in elan_i2c as a reminder that updates to elan_i2c need to be mirrored to hid-quirks. Signed-off-by: Jeffrey Hugo --- drivers/input/mouse/elan_i2c_core.c | 4 1 file changed, 4

[PATCH] vhost: Don't use defined in VHOST_ARCH_CAN_ACCEL_UACCESS definition

2019-06-06 Thread Nathan Chancellor
Clang warns: drivers/vhost/vhost.c:2085:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if VHOST_ARCH_CAN_ACCEL_UACCESS ^ drivers/vhost/vhost.h:98:38: note: expanded from macro 'VHOST_ARCH_CAN_ACCEL_UACCESS' #define

[PATCH v5 0/3] Basic DT support for Lenovo Miix 630

2019-06-06 Thread Jeffrey Hugo
The Lenovo Miix 630 is one of three ARM based (specifically Qualcomm MSM8998) laptops that comes with Windows, and seems to have a dedicated following of folks intrested to get Linux up and running on it. This series adds support for the basic functionality this is validated towork using

Re: "lib: rework bitmap_parse()" triggers invalid access errors

2019-06-06 Thread Qian Cai
Comm: irqbalance Tainted: GW     5.2.0-rc3-next-20190606+ #2 [  151.065548][ T3745] Hardware name: HPE Apollo 70 /C01_APACHE_MB , BIOS L50_5.13_1.0.9 03/01/2019 [  151.076064][ T3745] Call trace: [  151.079218][ T3745]  dump_backtrace+0x0/0x268 [  151.083574][ T37

Re: [PATCH RFC 03/10] mm/gup: Pass flags down to __gup_device_huge* calls

2019-06-06 Thread Ira Weiny
On Wed, Jun 05, 2019 at 11:18:19PM -0700, Christoph Hellwig wrote: > On Wed, Jun 05, 2019 at 06:45:36PM -0700, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > In order to support checking for a layout lease on a FS DAX inode these > > calls need to know if FOLL_LONGTERM was specified. > >

Re: Getting empty callchain from perf_callchain_kernel()

2019-06-06 Thread Song Liu
> On May 27, 2019, at 4:57 AM, Kairui Song wrote: > > On Sat, May 25, 2019 at 7:23 AM Josh Poimboeuf wrote: >> >> On Fri, May 24, 2019 at 10:20:52AM +0800, Kairui Song wrote: >>> On Fri, May 24, 2019 at 1:27 AM Josh Poimboeuf wrote: On Fri, May 24, 2019 at 12:41:59AM +0800,

[PATCH v10 2/3] media: meson: add v4l2 m2m video decoder driver

2019-06-06 Thread Maxime Jourdan
Amlogic SoCs feature a powerful video decoder unit able to decode many formats, with a performance of usually up to 4k60. This is a driver for this IP that is based around the v4l2 m2m framework. It features decoding for: - MPEG 1 - MPEG 2 Supported SoCs are: GXBB (S905), GXL (S905X/W/D), GXM

[PATCH v10 0/3] Add Amlogic video decoder driver

2019-06-06 Thread Maxime Jourdan
Hi everyone, [V7] The Driver was moved to staging until it can pass future specification & compliance tools. [V6] Good news, the firmware situation is resolved. We have received a redistributable license from Amlogic and the firmwares have been merged in linux-firmware[5]. [V5] It's been a

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

2019-06-06 Thread Piotr Sroka
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:33:58 +: The 03/05/2019 19:09, Miquel Raynal wrote: >EXTERNAL MAIL > > >Hi Piotr, > >Piotr Sroka wrote on Tue, 19 Feb 2019

[PATCH v10 3/3] MAINTAINERS: Add meson video decoder

2019-06-06 Thread Maxime Jourdan
Add an entry for the meson video decoder for amlogic SoCs. Signed-off-by: Maxime Jourdan --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b8fbf41865c2..7cf3ece9f0cb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10222,6 +10222,14 @@ S:

[PATCH v10 1/3] dt-bindings: media: add Amlogic Video Decoder Bindings

2019-06-06 Thread Maxime Jourdan
Add documentation for the meson vdec dts node. Signed-off-by: Maxime Jourdan Reviewed-by: Rob Herring --- .../bindings/media/amlogic,vdec.txt | 71 +++ 1 file changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/amlogic,vdec.txt diff

Re: [PATCH] VMCI: Fixup atomic64_t abuse

2019-06-06 Thread Greg Kroah-Hartman
On Thu, Jun 06, 2019 at 03:54:24PM +, Jorgen Hansen wrote: > > > > On 6 Jun 2019, at 11:34, Peter Zijlstra wrote: > > > > > > The VMCI driver is abusing atomic64_t and atomic_t, there is no actual > > atomic RmW operations around. > > > > Rewrite the code to use a regular u64 with

Re: [PATCH] VMCI: Fixup atomic64_t abuse

2019-06-06 Thread Greg Kroah-Hartman
On Thu, Jun 06, 2019 at 11:34:28AM +0200, Peter Zijlstra wrote: > > The VMCI driver is abusing atomic64_t and atomic_t, there is no actual > atomic RmW operations around. > > Rewrite the code to use a regular u64 with READ_ONCE() and > WRITE_ONCE() and a cast to 'unsigned long'. This fully

Re: KASAN: use-after-free Read in unregister_shrinker

2019-06-06 Thread Dmitry Vyukov
On Thu, Jun 6, 2019 at 5:25 PM Kirill Tkhai wrote: > > On 06.06.2019 18:18, Dmitry Vyukov wrote: > > On Thu, Jun 6, 2019 at 4:54 PM Kirill Tkhai wrote: > >> > >> On 06.06.2019 17:40, Dmitry Vyukov wrote: > >>> On Thu, Jun 6, 2019 at 3:43 PM Kirill Tkhai wrote: > > On 06.06.2019 16:13,

Re: [PATCH 4.19 237/276] scsi: lpfc: avoid uninitialized variable warning

2019-06-06 Thread Nathan Chancellor
On Thu, Jun 06, 2019 at 02:53:23PM +0200, Pavel Machek wrote: > Hi! > > > [ Upstream commit faf5a744f4f8d76e7c03912b5cd381ac8045f6ec ] > > > > clang -Wuninitialized incorrectly sees a variable being used without > > initialization: > > > > drivers/scsi/lpfc/lpfc_nvme.c:2102:37: error: variable

Re: [PATCH 2/5] mm/hmm: Clean up some coding style and comments

2019-06-06 Thread Jason Gunthorpe
On Mon, May 06, 2019 at 04:29:39PM -0700, rcampb...@nvidia.com wrote: > @@ -924,6 +922,7 @@ int hmm_range_register(struct hmm_range *range, > unsigned page_shift) > { > unsigned long mask = ((1UL << page_shift) - 1UL); > + struct hmm *hmm; > > range->valid =

[PATCH v2 3/3] media: dt-bindings: imx7-csi: add i.MX6UL/L support

2019-06-06 Thread Sébastien Szymanski
Document "fsl,imx6ul-csi" entry. Signed-off-by: Sébastien Szymanski --- Changes for v2: - New patch to document new "fsl,imx6ul-csi" entry. Documentation/devicetree/bindings/media/imx7-csi.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] VMCI: Fixup atomic64_t abuse

2019-06-06 Thread Jorgen Hansen
> On 6 Jun 2019, at 11:34, Peter Zijlstra wrote: > > > The VMCI driver is abusing atomic64_t and atomic_t, there is no actual > atomic RmW operations around. > > Rewrite the code to use a regular u64 with READ_ONCE() and > WRITE_ONCE() and a cast to 'unsigned long'. This fully preserves >

Re: [PATCH v2 1/2] dt-bindings: iio: adc: add adi,ad7780.yaml binding

2019-06-06 Thread Jonathan Cameron
On Thu, 6 Jun 2019 11:13:52 + "Ardelean, Alexandru" wrote: > On Wed, 2019-06-05 at 17:35 -0300, Renato Lui Geh wrote: > > [External] > > > > > > On 05/26, Jonathan Cameron wrote: > > > On Fri, 24 May 2019 22:26:30 -0300 > > > Renato Lui Geh wrote: > > > > > > > This patch adds a YAML

Re: [PATCH 2/5] mm/hmm: Clean up some coding style and comments

2019-06-06 Thread Jerome Glisse
On Thu, Jun 06, 2019 at 12:41:29PM -0300, Jason Gunthorpe wrote: > On Thu, Jun 06, 2019 at 10:27:43AM -0400, Jerome Glisse wrote: > > On Thu, Jun 06, 2019 at 11:16:44AM -0300, Jason Gunthorpe wrote: > > > On Mon, May 06, 2019 at 04:29:39PM -0700, rcampb...@nvidia.com wrote: > > > > From: Ralph

Re: [PATCH v3] serial: stm32: fix a recursive locking in stm32_config_rs485

2019-06-06 Thread Erwan LE RAY
On 6/6/19 12:19 PM, Borut Seljak wrote: > Remove spin_lock_irqsave in stm32_config_rs485, it cause recursive locking. > Already locked in uart_set_rs485_config. > > fixes: 1bcda09d291081 ("serial: stm32: add support for RS485 hardware control > mode") > > Signed-off-by: Borut Seljak Hi Borut,

Re: [PATCH v4] i2c: i801: Register optional lis3lv02d I2C device on Dell machines

2019-06-06 Thread Pali Rohár
Hi! On Thursday 06 June 2019 16:53:09 Jean Delvare wrote: > Hi Pali, > > On Wed, 5 Jun 2019 00:33:03 +0200, Pali Rohár wrote: > > Dell platform team told us that some (DMI whitelisted) Dell Latitude > > machines have ST microelectronics accelerometer at I2C address 0x29. > > > > Presence of

Re: [PATCH] net: ipv4: fib_semantics: fix uninitialized variable

2019-06-06 Thread David Ahern
On 6/6/19 8:43 AM, Enrico Weigelt, metux IT consult wrote: > From: Enrico Weigelt > > fix an uninitialized variable: > > CC net/ipv4/fib_semantics.o > net/ipv4/fib_semantics.c: In function 'fib_check_nh_v4_gw': > net/ipv4/fib_semantics.c:1027:12: warning: 'err' may be used uninitialized

Re: [PATCH 5.2 v2 2/2] dt-binding: edac: add NPCM ECC documentation

2019-06-06 Thread James Morse
Hi George, On 05/06/2019 15:12, George Hung wrote: > Add device tree documentation for Nuvoton BMC ECC (Nit: The DT folk prefer patches adding bindings to come first in the series, before the driver that uses them). > diff --git a/Documentation/devicetree/bindings/edac/npcm7xx-sdram-edac.txt

Re: [PATCH] docs: filesystems: vfs: Render method descriptions

2019-06-06 Thread Jonathan Corbet
On Tue, 4 Jun 2019 10:26:56 +1000 "Tobin C. Harding" wrote: > Currently vfs.rst does not render well into HTML the method descriptions > for VFS data structures. We can improve the HTML output by putting the > description string on a new line following the method name. > > Suggested-by:

Re: [PATCH 3/4] iio: adc: mediatek: SET_LATE_SYSTEM_SLEEP_PM_OPS support

2019-06-06 Thread Jonathan Cameron
On Tue, 28 May 2019 18:59:56 +0800 Chun-Hung Wu wrote: > Hi Matthias: > > Thanks for your suggestion, I think device_links is a good way to > make dependency of module's suspend/resume order. > > Hi Jonathan: > > Is it ok to keep using late_suspend and early_resume, or do you think > it's

Re: [PATCH] remoteproc: debug: fix va dump format in carveout list

2019-06-06 Thread Bjorn Andersson
On Thu 06 Jun 08:38 PDT 2019, Arnaud Pouliquen wrote: > Standardize dump presentation for va, dma and da dumps by adding > "0x" prefix for virtual address. > > Fixes: 276ec9934231("remoteproc: replace "%p" with "%pK"") > > Signed-off-by: Arnaud Pouliquen Applied Thanks, Bjorn > --- >

<    1   2   3   4   5   6   7   8   9   10   >