Re: [PATCH v5 4/7] s390: ap: setup relation betwen KVM and mediated device

2019-03-19 Thread Pierre Morel
On 19/03/2019 16:27, Halil Pasic wrote: On Tue, 19 Mar 2019 15:47:05 +0100 Pierre Morel wrote:    if (matrix_mdev->kvm)    kvm_arch_crypto_clear_masks(matrix_mdev->kvm); This still conditional? Yes, nothing to clear if there is no KVM. Since we have ensured the open

Re: [PATCH 07/10] mm/hmm: add an helper function that fault pages and map them to a device

2019-03-19 Thread Ira Weiny
On Tue, Mar 19, 2019 at 09:30:05AM -0400, Jerome Glisse wrote: > On Mon, Mar 18, 2019 at 08:29:45PM -0700, Dan Williams wrote: > > On Mon, Mar 18, 2019 at 3:15 PM Jerome Glisse wrote: > > > > > > On Mon, Mar 18, 2019 at 02:30:15PM -0700, Dan Williams wrote: > > > > On Mon, Mar 18, 2019 at 1:41 PM

Re: [PATCH v2 11/19] locking/lockdep: Remove unused argument in validate_chain()

2019-03-19 Thread Bart Van Assche
On Mon, 2019-03-18 at 16:57 +0800, Yuyang Du wrote: > Its lockdep_map argument is not used, remove it. Maybe update the commit message to reflect that the same unused argument is also removed from check_deadlock()? Anyway: Reviewed-by: Bart Van Assche

[PATCH] dma:xgene-dma:move spin_lock_bh to spin_lock in tasklet

2019-03-19 Thread Jeff Xie
It is unnecessary to call spin_lock_bh in a tasklet. Signed-off-by: Jeff Xie --- drivers/dma/xgene-dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/xgene-dma.c b/drivers/dma/xgene-dma.c index eafd6c4..0023236 100644 --- a/drivers/dma/xgene-dma.c +++

Re: [PATCH 5/5] drm/tegra: sor: Implement acquire/release for reset

2019-03-19 Thread Philipp Zabel
On Thu, 2019-02-21 at 16:25 +0100, Thierry Reding wrote: > From: Thierry Reding > > By implementing the acquire/release protocol, the SOR reset can be > shared with other drivers that also adhere to this protocol, such as the > PMC driver that uses the same reset as part of the powergate and

Re: [PATCH 4/5] soc/tegra: pmc: Implement acquire/release for resets

2019-03-19 Thread Philipp Zabel
On Thu, 2019-02-21 at 16:25 +0100, Thierry Reding wrote: > From: Thierry Reding > > By implementing the acquire/release protocol, the resets can be shared > with other drivers that also adhere to this protocol. This will be used > for example by the SOR driver to put hardware into a known good

Re: [PATCH v2 07/19] locking/lockdep: Update obsolete struct field description

2019-03-19 Thread Peter Zijlstra
On Tue, Mar 19, 2019 at 09:35:49AM -0700, Bart Van Assche wrote: > On Mon, 2019-03-18 at 16:57 +0800, Yuyang Du wrote: > > struct lock_chain { > > - /* see BUILD_BUG_ON()s in lookup_chain_cache() */ That's add_chain_cache() now, please do keep the reference. > > + /* > > +*

Re: [PATCH 3/5] reset: Add acquire/release support for arrays

2019-03-19 Thread Philipp Zabel
On Thu, 2019-02-21 at 16:25 +0100, Thierry Reding wrote: > From: Thierry Reding > > Add implementations that apply acquire and release operations to all > reset controls part of a reset control array. > > Signed-off-by: Thierry Reding Reviewed-by: Philipp Zabel > --- > drivers/reset/core.c

Re: [PATCH net-next] datagram: Make __skb_datagram_iter static

2019-03-19 Thread Sagi Grimberg
Reviewed-by: Sagi Grimberg

Re: [PATCH v2 2/2] ceph: quota: fix quota subdir mounts

2019-03-19 Thread Luis Henriques
"Yan, Zheng" writes: > On Tue, Mar 12, 2019 at 10:22 PM Luis Henriques wrote: ... >> +static struct inode *lookup_quotarealm_inode(struct ceph_mds_client *mdsc, >> +struct super_block *sb, >> +struct

Re: [PATCH 00/10] HMM updates for 5.1

2019-03-19 Thread Andrew Morton
On Mon, 18 Mar 2019 13:04:04 -0400 Jerome Glisse wrote: > On Wed, Mar 13, 2019 at 09:10:04AM -0700, Andrew Morton wrote: > > On Tue, 12 Mar 2019 21:27:06 -0400 Jerome Glisse wrote: > > > > > Andrew you will not be pushing this patchset in 5.1 ? > > > > I'd like to. It sounds like we're

Re: [PATCH v2/resend] tracing: eliminate const char[] auto variables

2019-03-19 Thread Steven Rostedt
On Mon, 18 Mar 2019 21:53:57 + Al Viro wrote: > On Mon, Mar 18, 2019 at 10:34:27PM +0100, Rasmus Villemoes wrote: > > > I didn't get any response to this; just let me know if you don't want > > this kind of microoptimization patches. It got lost in my inbox, which should happen less, now

Re: [PATCH 1/5] reset: add acquired/released state for exclusive reset controls

2019-03-19 Thread Philipp Zabel
Hi Thierry, On Thu, 2019-02-21 at 16:28 +0100, Thierry Reding wrote: > On Thu, Feb 21, 2019 at 04:25:53PM +0100, Thierry Reding wrote: > > From: Philipp Zabel > > > > There are cases where a driver needs explicit control over a reset line > > that is exclusively conneted to its device, but this

Re: [PATCH] ARM: fix out-of-bound access to ipi_types[]

2019-03-19 Thread Marc Zyngier
On Tue, 19 Mar 2019 15:52:25 +, Masahiro Yamada wrote: > > Since commit e7273ff49acf ("ARM: 8488/1: Make IPI_CPU_BACKTRACE a > "non-secure" SGI"), IPI_CPU_BACKTRACE is assigned to SGI7. > > raise_nmi() passes IPI_CPU_BACKTRACE (=7) into smp_cross_call(), > but it is above the array bound of

[PATCH] infiniband:qplib_fp:move spin_lock_bh to spin_lock in tasklet

2019-03-19 Thread Jeff Xie
It is unnecessary to call spin_lock_bh in a tasklet. Signed-off-by: Jeff Xie --- drivers/infiniband/hw/bnxt_re/qplib_fp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/bnxt_re/qplib_fp.c b/drivers/infiniband/hw/bnxt_re/qplib_fp.c index

[PATCH 1/2] drm/msm: simplify getting .driver_data

2019-03-19 Thread Wolfram Sang
We should get 'driver_data' from 'struct device' directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. drivers/gpu/drm/msm/adreno/adreno_device.c | 6 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c|

[PATCH 1/1] thermal: stm32: simplify getting .driver_data

2019-03-19 Thread Wolfram Sang
We should get 'driver_data' from 'struct device' directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. drivers/thermal/st/stm_thermal.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff

[PATCH 1/1] staging: media: imx: imx7-mipi-csis: simplify getting .driver_data

2019-03-19 Thread Wolfram Sang
We should get 'driver_data' from 'struct device' directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. drivers/staging/media/imx/imx7-mipi-csis.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)

Re: [PATCH v2 05/19] locking/lockdep: Adjust indents for function definitions

2019-03-19 Thread Peter Zijlstra
On Tue, Mar 19, 2019 at 09:33:00AM -0700, Bart Van Assche wrote: > On Mon, 2019-03-18 at 16:57 +0800, Yuyang Du wrote: > > Being paranoid to see function arguments lines are aligned. > > This patch changes code that conforms to the kernel coding style into > code that does not conform to the

Re: [PATCH v2 07/19] locking/lockdep: Update obsolete struct field description

2019-03-19 Thread Bart Van Assche
On Mon, 2019-03-18 at 16:57 +0800, Yuyang Du wrote: > struct lock_chain { > - /* see BUILD_BUG_ON()s in lookup_chain_cache() */ > + /* > +* irq_context: the same as irq_context in held_lock below > +* depth: the number of held locks in this chain > +*

Re: [PATCH] clk: meson-g12a: fix VPU clock parents

2019-03-19 Thread Neil Armstrong
On 19/03/2019 10:11, Jerome Brunet wrote: > On Wed, 2019-03-13 at 14:55 +0100, Neil Armstrong wrote: >> First two VPU clock parents are wrong, fix it here. >> >> Fixes: 085a4ea93d54 ("clk: meson: g12a: add peripheral clock controller") >> Signed-off-by: Neil Armstrong >> --- >>

Re: [PATCH v2 05/19] locking/lockdep: Adjust indents for function definitions

2019-03-19 Thread Bart Van Assche
On Mon, 2019-03-18 at 16:57 +0800, Yuyang Du wrote: > Being paranoid to see function arguments lines are aligned. This patch changes code that conforms to the kernel coding style into code that does not conform to the kernel coding style. If you have a look at the c-lineup-arglist-tabs-only

Re: [PATCH] clk: meson-gxbb: round the vdec dividers to closest

2019-03-19 Thread Neil Armstrong
On 19/03/2019 11:25, Maxime Jourdan wrote: > We want the video decoder clocks to always round to closest. While the > muxes are already using CLK_MUX_ROUND_CLOSEST, the corresponding > CLK_DIVIDER_ROUND_CLOSEST was forgotten for the dividers. > > Fix this by adding the flag to the two vdec

[PATCH] platform/chrome: cros_ec_debugfs: cancel/schedule logging work only if supported

2019-03-19 Thread Guenter Roeck
The following traceback was reported on ASUS C201, which does not support console logging. [ cut here ] WARNING: CPU: 2 PID: 361 at kernel/workqueue.c:3030 __flush_work+0x38/0x154 Modules linked in: snd_soc_hdmi_codec cros_ec_debugfs cros_ec_sysfs uvcvideo dw_hdmi_cec

Re: Staging status of speakup

2019-03-19 Thread Alan Cox
On Sat, 16 Mar 2019 10:35:43 +0100 Samuel Thibault wrote: > Chris Brannon, le ven. 15 mars 2019 18:19:39 -0700, a ecrit: > > Okash Khawaja writes: > > > Finally there is an issue where text in output buffer sometimes gets > > > garbled on SMP systems, but we can continue working on it after

Re: [PATCH v2 01/19] locking/lockdep: Change all print_*() return type to void

2019-03-19 Thread Bart Van Assche
On Mon, 2019-03-18 at 02:45 -0700, Joe Perches wrote: > > -static void > > -print_circular_lock_scenario(struct held_lock *src, > > -struct held_lock *tgt, > > -struct lock_list *prt) > > +static void print_circular_lock_scenario(struct held_lock

Re: [PATCH v2 19/19] locking/lockdep: Change if to else-if when checking bfs errors

2019-03-19 Thread Bart Van Assche
On Mon, 2019-03-18 at 16:57 +0800, Yuyang Du wrote: > - if (ret < 0) { > + if (unlikely(ret < 0)) { > print_bfs_bug(ret); > return 0; > } > - if (ret == 1) > + else if (ret == 1) > return ret; Have you verified this

Re: [PATCH v2] rcu: Allow to eliminate softirq processing from rcutree

2019-03-19 Thread Sebastian Andrzej Siewior
On 2019-03-19 08:59:23 [-0700], Paul E. McKenney wrote: > I doubt that there is any code left from my original, so I set you as > author. I always forward ported it the patch over the years. So if it is no longer what it was once so be it. > I queued this and am starting tests without setting

[RFC PATCH 3/4] fuse: Convert to mount API

2019-03-19 Thread David Howells
--- fs/fuse/inode.c | 272 ++- 1 file changed, 147 insertions(+), 125 deletions(-) diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index ec5d9953dfb6..3aebff5b902a 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c @@ -15,7 +15,8 @@

[RFC PATCH 4/4] fuse: Move the subtype parameter into fuse

2019-03-19 Thread David Howells
Move as much as possible of the mount subtype apparatus into the fuse driver. The bits that are left involve determining whether it's permitted to split the filesystem type string passed in to mount(2). Consequently, this means that we cannot get rid of the FS_HAS_SUBTYPE flag unless we define

[RFC PATCH 2/4] vfs: Make fs_parse() handle fs_param_is_fd-type params better

2019-03-19 Thread David Howells
Make fs_parse() handle fs_param_is_fd-type parameters that are passed a string by converting it to an integer (in addition to handling direct fd specification). Also range check the integer. Signed-off-by: David Howells --- fs/fs_parser.c | 15 +-- 1 file changed, 13

[RFC PATCH 0/4] fuse: Convert to fs_context

2019-03-19 Thread David Howells
Hi Miklós, Here's a set of patches that convert fuse to use mount API: (1) Provide a replacement for mount_bdev() that takes an fs_context to specify the parameters. I also put a block device pointer and block device file mode into the fs_context struct for use in the

[RFC PATCH 1/4] vfs: Create fs_context-aware mount_bdev() replacement

2019-03-19 Thread David Howells
Create a function, vfs_get_block_super(), that is fs_context-aware and a replacement for mount_bdev(). It caches the block device pointer and file open mode in the fs_context struct so that this information can be passed into sget_fc()'s test and set functions. Signed-off-by: David Howells ---

Re: [PATCH v3] arm64: dts: fsl: imx8mq: enable the multi sensor TMU

2019-03-19 Thread Fabio Estevam
On Tue, Mar 19, 2019 at 12:10 PM Angus Ainslie (Purism) wrote: > > Add the imx8mq TMU (Thermal management unit) nodes for CPU, > GPU, and VPU. > > Changes since v2: > > Updated alert and critical temps for commercial parts. > Fixed node names. > > Changes since v1: > > Removed references to multi

Verifica tu cuenta

2019-03-19 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se

Re: [PATCH v2 2/2] mtd: rawnand: meson: fix a potential memory leak in meson_nfc_read_buf

2019-03-19 Thread Kevin Hilman
Martin Blumenstingl writes: > meson_nfc_dma_buffer_setup() is called with the "info" buffer which is > allocated a few lines before using kzalloc(). If > meson_nfc_dma_buffer_setup() fails we need to free the allocated "info" > buffer instead of only freeing it upon success. > > Fixes:

Re: [PATCH v2 1/2] mtd: rawnand: meson: add missing ENOMEM check in meson_nfc_read_buf()

2019-03-19 Thread Kevin Hilman
Martin Blumenstingl writes: > kzalloc() can return NULL if memory could not be allocated. Check the > return value of the kzalloc() call in meson_nfc_read_buf() to make it > consistent with other memory allocations within the meson_nand driver. > > Fixes: 8fae856c53500a ("mtd: rawnand: meson:

Re: [PATCH v12 08/13] net, arm64: untag user pointers in tcp_zerocopy_receive

2019-03-19 Thread Andrey Konovalov
On Mon, Mar 18, 2019 at 6:35 PM Eric Dumazet wrote: > > On Mon, Mar 18, 2019 at 10:18 AM Andrey Konovalov > wrote: > > > > This patch is a part of a series that extends arm64 kernel ABI to allow to > > pass tagged user pointers (with the top byte set to something else other > > than 0x00) as

Re: [PATCH] drivers: power: supply: goldfish_battery: Fix bogus SPDX identifier

2019-03-19 Thread Roman Kiryanov
Hi, I am sorry for this warning. I remember I checked all changes I sent, maybe missed this one. At the bottom the file says MODULE_LICENSE("GPL"); and // SPDX-License-Identifier: GPL-2.0 makes it inconsistent. Regards, Roman. On Tue, Mar 19, 2019 at 7:51 AM Thomas Gleixner wrote: > >

[PATCH] s390:tty3270:move spin_lock_bh to spin_lock in tasklet

2019-03-19 Thread Jeff Xie
It is unnecessary to call spin_lock_bh in a tasklet. Signed-off-by: Jeff Xie --- drivers/s390/char/tty3270.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/s390/char/tty3270.c b/drivers/s390/char/tty3270.c index 2b0c36c2..2963396 100644 ---

[PATCH] perf tools: Add missing case value

2019-03-19 Thread Solomon Tan
This patch fixes the following error message during compilation of `tools/perf`, as seen in https://github.com/Linaro/OpenCSD/issues/17. ``` CC util/intel-pt-decoder/intel-pt-log.o CC util/cs-etm-decoder/cs-etm-decoder.o util/cs-etm-decoder/cs-etm-decoder.c: In function

Re: [PATCH 03/22] perf/x86/intel: Support adaptive PEBSv4

2019-03-19 Thread Peter Zijlstra
On Tue, Mar 19, 2019 at 09:03:37AM -0700, Andi Kleen wrote: > On Tue, Mar 19, 2019 at 03:47:48PM +0100, Peter Zijlstra wrote: > > On Mon, Mar 18, 2019 at 02:41:25PM -0700, kan.li...@linux.intel.com wrote: > > > From: Kan Liang > > > > > > Adaptive PEBS is a new way to report PEBS sampling

Re: [PATCH 05/22] perf/x86: Support constraint ranges

2019-03-19 Thread Peter Zijlstra
On Tue, Mar 19, 2019 at 08:57:57AM -0700, Andi Kleen wrote: > > > struct amd_nb { > > > int nb_id; /* NorthBridge id */ > > > > That's all the code, how does that add up to 2k ? > > Because the tables are bigger. There are much more tables than code. Tables is data, not text.

Re: [RFC][Patch v9 0/6] KVM: Guest Free Page Hinting

2019-03-19 Thread Nitesh Narayan Lal
On 3/19/19 9:33 AM, David Hildenbrand wrote: > On 18.03.19 16:57, Nitesh Narayan Lal wrote: >> On 3/14/19 12:58 PM, Alexander Duyck wrote: >>> On Thu, Mar 14, 2019 at 9:43 AM Nitesh Narayan Lal >>> wrote: On 3/6/19 1:12 PM, Michael S. Tsirkin wrote: > On Wed, Mar 06, 2019 at 01:07:50PM

Re: [PATCH 03/22] perf/x86/intel: Support adaptive PEBSv4

2019-03-19 Thread Andi Kleen
On Tue, Mar 19, 2019 at 03:47:48PM +0100, Peter Zijlstra wrote: > On Mon, Mar 18, 2019 at 02:41:25PM -0700, kan.li...@linux.intel.com wrote: > > From: Kan Liang > > > > Adaptive PEBS is a new way to report PEBS sampling information. Instead > > of a fixed size record for all PEBS events it

Re: [PATCH v2] rcu: Allow to eliminate softirq processing from rcutree

2019-03-19 Thread Paul E. McKenney
On Tue, Mar 19, 2019 at 12:44:19PM +0100, Sebastian Andrzej Siewior wrote: > From: "Paul E. McKenney" > > Running RCU out of softirq is a problem for some workloads that would > like to manage RCU core processing independently of other softirq work, > for example, setting kthread priority. >

Re: [PATCH 05/22] perf/x86: Support constraint ranges

2019-03-19 Thread Andi Kleen
> > struct amd_nb { > > int nb_id; /* NorthBridge id */ > > That's all the code, how does that add up to 2k ? Because the tables are bigger. There are much more tables than code. In theory could use two kinds of tables, but that would complicate the code quite a bit. -Andi

[PATCH v2 3/3] spi: dw: Add support for an optional interface clock

2019-03-19 Thread Gareth Williams
From: Phil Edworthy The Synopsys SSI Controller has an interface clock, but most SoCs hide this away. However, on some SoCs you need to explicitly enable the interface clock in order to access the registers. Therefore, add support for an optional interface clock. Signed-off-by: Phil Edworthy

[PATCH v2 2/3] dt-bindings: snps,dw-apb-ssi: Add optional clock bindings documentation

2019-03-19 Thread Gareth Williams
Add documentation to the Synopsys SPI dt-bindings to support an optional interface clock that may be used for register access. Signed-off-by: Phil Edworthy Signed-off-by: Gareth Williams --- v2: Created this separate patch to detail the optional interface clock property. This includes the

[PATCH v2 1/3] dt-bindings: snps,dw-apb-ssi: Add mandatory clock bindings documentation

2019-03-19 Thread Gareth Williams
From: Phil Edworthy The Synopsys SSI driver uses a mandatory clock that is not documented, so detail it in the device tree bindings. Also correct the spelling of "pins" in the "Optional Properties" section for the driver. Signed-off-by: Phil Edworthy Signed-off-by: Gareth Williams --- v2: -

[PATCH] ARM: fix out-of-bound access to ipi_types[]

2019-03-19 Thread Masahiro Yamada
Since commit e7273ff49acf ("ARM: 8488/1: Make IPI_CPU_BACKTRACE a "non-secure" SGI"), IPI_CPU_BACKTRACE is assigned to SGI7. raise_nmi() passes IPI_CPU_BACKTRACE (=7) into smp_cross_call(), but it is above the array bound of ipi_types[]. Increase NR_IPI, and add the entry to ipi_types[]. This

[PATCH v2 0/3] spi: dw: Add support for an optional interface clock

2019-03-19 Thread Gareth Williams
v2: - Separated mandatory clock documentation and spelling correction from optional clock property documentation. - Subject line for dt-bindings patches changed to match subsystem convention. - Dependancy information added to driver patch notes. - Optional clock comment in code

Verifica tu cuenta

2019-03-19 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se

Verifica tu cuenta

2019-03-19 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se

[PATCH v3 00/3] MIPS: SGI-IP27 rework part2

2019-03-19 Thread Thomas Bogendoerfer
SGI IP27 (Origin/Onyx2) and SGI IP30 (Octane) have a similair architecture and share some hardware (ioc3/bridge). To share the software parts this patchset reworks SGI IP27 interrupt and pci bridge code. By using features Linux gained during the many years since SGI IP27 code was integrated this

[PATCH v3 3/3] MIPS: SGI-IP27: abstract chipset irq from bridge

2019-03-19 Thread Thomas Bogendoerfer
Bridge ASIC is widely used in different SGI systems, but the connected chipset is either HUB, HEART or BEDROCK. This commit switches to irq domain hierarchy for hub and bridge interrupts to get bridge setup out of hub interrupt code. Signed-off-by: Thomas Bogendoerfer --- arch/mips/Kconfig

[PATCH v3 1/3] MIPS: SGI-IP27: move IP27 specific code out of pci-ip27.c into new file

2019-03-19 Thread Thomas Bogendoerfer
Code in pci-ip27.c will be moved to drivers/pci/controller therefore platform specific needs to be extracted and put to the right place. Signed-off-by: Thomas Bogendoerfer --- arch/mips/pci/pci-ip27.c | 23 --- arch/mips/sgi-ip27/Makefile | 4 ++--

[PATCH v3 2/3] MIPS: SGI-IP27: use generic PCI driver

2019-03-19 Thread Thomas Bogendoerfer
Converted bridge code to a platform driver using the PCI generic driver framework and use adding platform devices during xtalk scan. This allows easier sharing bridge driver for other SGI platforms like IP30 (Octane) and IP35 (Origin 3k, Fuel, Tezro). Signed-off-by: Thomas Bogendoerfer ---

[PATCH v3 00/3] MIPS: SGI-IP27 rework part2

2019-03-19 Thread Thomas Bogendoerfer
SGI IP27 (Origin/Onyx2) and SGI IP30 (Octane) have a similair architecture and share some hardware (ioc3/bridge). To share the software parts this patchset reworks SGI IP27 interrupt and pci bridge code. By using features Linux gained during the many years since SGI IP27 code was integrated this

Re: [PATCH V2] cpufreq: Call transition notifier only once for each policy

2019-03-19 Thread Rafael J. Wysocki
On Tue, Mar 19, 2019 at 11:49 AM Viresh Kumar wrote: > > On 19-03-19, 10:41, Rafael J. Wysocki wrote: > > On Tue, Mar 19, 2019 at 6:50 AM Viresh Kumar > > wrote: > > > > > > On 18-03-19, 12:49, Rafael J. Wysocki wrote: > > > > To summarize, I think that it would be sufficient to do this just

Re: [PATCH] tools: PCI: exit with error code when test fails

2019-03-19 Thread Lorenzo Pieralisi
On Fri, Nov 16, 2018 at 12:01:13PM +, Lorenzo Pieralisi wrote: > On Thu, Oct 04, 2018 at 12:11:44PM +0100, Lorenzo Pieralisi wrote: > > On Thu, Sep 20, 2018 at 05:02:53PM +0200, Jean-Jacques Hiblot wrote: > > > This makes it easier to use pcitest in automated setups. > > > > > >

Re: [PATCH -next] phy: rockchip-typec: Make usb3_pll_cfg and dp_pll_cfg static

2019-03-19 Thread Heiko Stübner
Am Dienstag, 19. März 2019, 16:30:28 CET schrieb Yue Haibing: > From: YueHaibing > > Fix sparse warning: > > drivers/phy/rockchip/phy-rockchip-typec.c:403:16: warning: symbol > 'usb3_pll_cfg' was not declared. Should it be static? > drivers/phy/rockchip/phy-rockchip-typec.c:420:16: warning:

Re: [PATCH -next] drivers: base: swnode: Make two functions static

2019-03-19 Thread Rafael J. Wysocki
On Tue, Mar 19, 2019 at 4:20 PM Yue Haibing wrote: > > From: YueHaibing > > Fix sparse warning: > > drivers/base/swnode.c:475:22: warning: symbol 'software_node_get_parent' was > not declared. Should it be static? > drivers/base/swnode.c:484:22: warning: symbol 'software_node_get_next_child' >

Re: [PATCH] sched: Do not re-read h_load_next during hierarchical load calculation v2

2019-03-19 Thread Peter Zijlstra
On Tue, Mar 19, 2019 at 12:36:10PM +, Mel Gorman wrote: > Changelog since v1 > o Use WRITE_ONCE > o Add Fixes: > o Add reviewed-by for the READ_ONCE part as I considered it to still be > ok even after the WRITE_ONCE > > A NULL pointer dereference bug was reported on a distribution kernel

Re: [PATCH 04/12] misc: xilinx_sdfec: Add open, close and ioctl

2019-03-19 Thread Arnd Bergmann
On Tue, Mar 19, 2019 at 3:59 PM Dragan Cvetic wrote: > > > > > + /* Only one open per device at a time */ > > > + if (!atomic_dec_and_test(>open_count)) { > > > + atomic_inc(>open_count); > > > + return -EBUSY; > > > + } > > > > What is that

Re: [PATCH v4 1/1] mm: introduce put_user_page*(), placeholder versions

2019-03-19 Thread Jan Kara
On Tue 19-03-19 17:29:18, Kirill A. Shutemov wrote: > On Tue, Mar 19, 2019 at 10:14:16AM -0400, Jerome Glisse wrote: > > On Tue, Mar 19, 2019 at 09:47:24AM -0400, Jerome Glisse wrote: > > > On Tue, Mar 19, 2019 at 03:04:17PM +0300, Kirill A. Shutemov wrote: > > > > On Fri, Mar 08, 2019 at

[PATCH -next] clk: tegra: Make tegra_clk_super_mux_ops static

2019-03-19 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/clk/tegra/clk-super.c:124:22: warning: symbol 'tegra_clk_super_mux_ops' was not declared. Should it be static? Signed-off-by: YueHaibing --- drivers/clk/tegra/clk-super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] fs/epoll: remove an unnecessary argument of ep_busy_loop()

2019-03-19 Thread Roman Penyaev
On 2019-03-08 09:14, Peng Wang wrote: When ep_busy_loop() is called, timed_out is always zero, otherwise ep_poll() would return first. Yes, that's correct. Reviewed-by: Roman Penyaev

[PATCH -next] phy: tegra: xusb: Make two functions static

2019-03-19 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/phy/tegra/xusb-tegra186.c:250:6: warning: symbol 'tegra_phy_xusb_utmi_pad_power_on' was not declared. Should it be static? drivers/phy/tegra/xusb-tegra186.c:281:6: warning: symbol 'tegra_phy_xusb_utmi_pad_power_down' was not declared. Should it be

Re: [PATCH v2 1/1] initrd: move initrd_start calculate within linear mapping range check

2019-03-19 Thread Catalin Marinas
On Thu, Mar 14, 2019 at 11:20:47AM +0800, pierre Kuo wrote: > in the previous case, initrd_start and initrd_end can be successfully > returned either (base < memblock_start_of_DRAM()) or (base + size > > memblock_start_of_DRAM() + linear_region_size). > > That means even linear mapping range

[PATCH -next] phy: rockchip-typec: Make usb3_pll_cfg and dp_pll_cfg static

2019-03-19 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/phy/rockchip/phy-rockchip-typec.c:403:16: warning: symbol 'usb3_pll_cfg' was not declared. Should it be static? drivers/phy/rockchip/phy-rockchip-typec.c:420:16: warning: symbol 'dp_pll_cfg' was not declared. Should it be static? Signed-off-by:

Re: [PATCH 11/22] perf/core: Support a REMOVE transaction

2019-03-19 Thread Peter Zijlstra
On Mon, Mar 18, 2019 at 02:41:33PM -0700, kan.li...@linux.intel.com wrote: > From: Andi Kleen > > For TopDown metrics it is useful to have a remove transaction when > the counter is unscheduled, so that the value can be saved correctly. > Add a remove transaction to the perf core. That needs

[PATCH -next] phy: qcom-ufs: Make ufs_qcom_phy_disable_iface_clk static

2019-03-19 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/phy/qualcomm/phy-qcom-ufs.c:462:6: warning: symbol 'ufs_qcom_phy_disable_iface_clk' was not declared. Should it be static? Signed-off-by: YueHaibing --- drivers/phy/qualcomm/phy-qcom-ufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] [RFC] spi: pxa2xx: Do cs if restart the SSP during pxa2xx_spi_transfer_one()

2019-03-19 Thread Jarkko Nikula
Hi Jin On 3/8/19 9:28 AM, Xiao, Jin wrote: Yes, the spi core has de-asserted the CS before the pxa2xx_spi_unprepare_transfer(). The problem on my side is that the new transfer will restart the SSP in pxa2xx_spi_transfer_one(). The spi core has asserted the CS again before restart the SSP. 

Re: [PATCH v5 4/7] s390: ap: setup relation betwen KVM and mediated device

2019-03-19 Thread Halil Pasic
On Tue, 19 Mar 2019 15:47:05 +0100 Pierre Morel wrote: > >    if (matrix_mdev->kvm) > >    kvm_arch_crypto_clear_masks(matrix_mdev->kvm); > > This still conditional? > >>> > >>> Yes, nothing to clear if there is no KVM. > >>> > >> > >> Since we have ensured

Re: [PATCH 05/22] perf/x86: Support constraint ranges

2019-03-19 Thread Peter Zijlstra
On Tue, Mar 19, 2019 at 03:53:09PM +0100, Peter Zijlstra wrote: > On Mon, Mar 18, 2019 at 02:41:27PM -0700, kan.li...@linux.intel.com wrote: > > The changes costs ~2k text size according to 0day report. > > Where?! there isn't much code here. > > @@ -71,6 +72,12 @@ struct event_constraint { > >

[PATCH 1/5] dt-bindings: Add vendor prefix for Rakuten Kobo, Inc.

2019-03-19 Thread Jonathan Neuschäfer
Rakuten Kobo, Inc. (formerly Kobo, Inc.) is a company that sells e-book readers and related products. More information is available at: - https://en.wikipedia.org/wiki/Kobo_Inc. - https://www.kobo.com/ Signed-off-by: Jonathan Neuschäfer --- Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH -next] rtc: opal: Make opal_tpo_alarm_irq_enable static

2019-03-19 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/rtc/rtc-opal.c:227:5: warning: symbol 'opal_tpo_alarm_irq_enable' was not declared. Should it be static? Signed-off-by: YueHaibing --- drivers/rtc/rtc-opal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 5/5] ARM: dts: imx50: Fix the numbering of the I2C controllers

2019-03-19 Thread Jonathan Neuschäfer
Ensure that the i2c buses are reported to userspace (for example to i2cdetect) in the same order as they are numbered in the SoC's documentation by adding aliases to the devicetree. Signed-off-by: Jonathan Neuschäfer --- arch/arm/boot/dts/imx50.dtsi | 3 +++ 1 file changed, 3 insertions(+)

[PATCH 4/5] ARM: dts: imx50-kobo-aura: Enable USB support

2019-03-19 Thread Jonathan Neuschäfer
Enable the USBOTG controller in device mode, and also enable the corresponding PHY. The presence of Vbus is detected via a GPIO. Signed-off-by: Jonathan Neuschäfer --- arch/arm/boot/dts/imx50-kobo-aura.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH 2/5] ARM: dts: imx50: Add Kobo Aura DTS

2019-03-19 Thread Jonathan Neuschäfer
The Kobo Aura is an e-book reader released in 2013. With the devicetree in its current state, the kernel will boot and run for about ten seconds. To solve this, the embedded controller needs to be told that the system should stay powered on. This will be done in a later patchset. - The IOMUXC

[PATCH 3/5] ARM: dts: imx50: Add PHY node for usbotg and adjust clocks

2019-03-19 Thread Jonathan Neuschäfer
Even though the ChipIdea USB controller binding[1] doesn't specify the properties that reference a PHY as required, the Linux driver requires[2] such a reference. The clock situation is like on i.MX53: The USB controller is clocked from IMX5_CLK_USBOH3_GATE and the PHY from

[PATCH 0/5] ARM: Initial devicetree for Kobo Aura

2019-03-19 Thread Jonathan Neuschäfer
This series adds a devicetree for the i.MX507-based Kobo Aura e-book reader, and fixes a few things in imx50.dtsi along the way. A lot of functionality is still missing: - poweroff/reboot, RTC, and battery monitoring support, as well as a PWM channel for the display backlight are provided by a

[PATCH -next] regulator: of: Make regulator_of_get_init_node static

2019-03-19 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/regulator/of_regulator.c:374:20: warning: symbol 'regulator_of_get_init_node' was not declared. Should it be static? Signed-off-by: YueHaibing --- drivers/regulator/of_regulator.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

Re: your mail

2019-03-19 Thread Keith Busch
On Tue, Mar 19, 2019 at 04:41:07PM +0200, Maxim Levitsky wrote: > -> Share the NVMe device between host and guest. > Even in fully virtualized configurations, > some partitions of nvme device could be used by guests as block devices > while others passed through with nvme-mdev

[PATCH -next] drivers: base: swnode: Make two functions static

2019-03-19 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/base/swnode.c:475:22: warning: symbol 'software_node_get_parent' was not declared. Should it be static? drivers/base/swnode.c:484:22: warning: symbol 'software_node_get_next_child' was not declared. Should it be static? Signed-off-by: YueHaibing

[PATCH -next] serial: 8250_fintek: Make fintek_8250_set_termios static

2019-03-19 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/tty/serial/8250/8250_fintek.c:306:6: warning: symbol 'fintek_8250_set_termios' was not declared. Should it be static? Signed-off-by: YueHaibing --- drivers/tty/serial/8250/8250_fintek.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

Re: [PATCH] tools/power turbostat: return the exit status of a command

2019-03-19 Thread Len Brown
Acked-by: Len Brown On Wed, Feb 20, 2019 at 5:55 AM David Arcari wrote: > > > ping -- just want to make sure this doesn't get lost. > > Thanks! > > On 02/12/2019 09:34 AM, David Arcari wrote: > > turbostat failed to return a non-zero exit status even though the > > supplied command (turbostat )

Re: [PATCH] perf tools: return errcode in cs_etm__process_auxtrace_info

2019-03-19 Thread YueHaibing
On 2019/3/19 22:55, Mathieu Poirier wrote: > On Tue, Mar 19, 2019 at 11:46:31AM -0300, Arnaldo Carvalho de Melo wrote: >> Em Tue, Mar 19, 2019 at 08:38:32AM -0600, Mathieu Poirier escreveu: >>> On Mon, 18 Mar 2019 at 11:15, Arnaldo Carvalho de Melo >>> wrote: Em Fri, Mar 15, 2019 at

[PATCH v3] arm64: dts: fsl: imx8mq: enable the multi sensor TMU

2019-03-19 Thread Angus Ainslie (Purism)
Add the imx8mq TMU (Thermal management unit) nodes for CPU, GPU, and VPU. Changes since v2: Updated alert and critical temps for commercial parts. Fixed node names. Changes since v1: Removed references to multi sensor patch. Signed-off-by: Angus Ainslie (Purism) ---

Re: [PATCH] perf tools: return errcode in cs_etm__process_auxtrace_info

2019-03-19 Thread Mathieu Poirier
On Tue, Mar 19, 2019 at 11:46:31AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Mar 19, 2019 at 08:38:32AM -0600, Mathieu Poirier escreveu: > > On Mon, 18 Mar 2019 at 11:15, Arnaldo Carvalho de Melo > > wrote: > > > > > > Em Fri, Mar 15, 2019 at 10:26:49AM +0800, Yue Haibing escreveu: > > > >

Re: [PATCH 1/1] blk-mq: remove unused 'nr_expired' from blk_mq_hw_ctx

2019-03-19 Thread Jens Axboe
On 3/19/19 9:05 AM, Dongli Zhang wrote: > There is no usage of 'nr_expired'. > > The 'nr_expired' was introduced by commit 1d9bd5161ba3 ("blk-mq: replace > timeout synchronization with a RCU and generation based scheme"). Its usage > was removed since commit 12f5b9314545 ("blk-mq: Remove

[PATCH] fs: namespace: Make to_mnt_ns() static

2019-03-19 Thread Mao Wenan
Fix sparse warning: fs/namespace.c:1735:22: warning: symbol 'to_mnt_ns' was not declared. Should it be static? Signed-off-by: Mao Wenan --- fs/namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/namespace.c b/fs/namespace.c index c9cab30..b39a3ec 100644 ---

[PATCH v6 02/13] dt-bindings: mtd: ingenic: Change 'BCH' to 'ECC' in documentation

2019-03-19 Thread Paul Cercueil
The JZ4740 ECC hardware is not BCH but Reed-Solomon, so it makes more sense to use the more generic ECC term. Signed-off-by: Paul Cercueil Reviewed-by: Rob Herring --- Notes: v3: New patch v4: No change v5: No change v6: No change

Re: mount.nfs: Protocol error after upgrade to linux/master

2019-03-19 Thread Casey Schaufler
On 3/19/2019 3:56 AM, Tetsuo Handa wrote: Since Kees Cook seems to be busy now, here is my version... From 885553e4793d9af2d4e9e99c7d137b0ec7b5f8ad Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Tue, 19 Mar 2019 19:52:31 +0900 Subject: [PATCH] LSM: Revive CONFIG_DEFAULT_SECURITY_* for

Re: [RFC][PATCH 2/5 v2] dma-buf: heaps: Add heap helpers

2019-03-19 Thread Andrew F. Davis
On 3/15/19 4:06 AM, Christoph Hellwig wrote: >> +ret = remap_pfn_range(vma, addr, page_to_pfn(page), len, >> + vma->vm_page_prot); > > So the same chunk could be mapped to userspace and vmap, and later on > also DMA mapped. Who is going to take care

[PATCH net-next] igc: Make igc_write_rss_indir_tbl static

2019-03-19 Thread Yue Haibing
From: YueHaibing Fix sparse warning: drivers/net/ethernet/intel/igc/igc_ethtool.c:646:6: warning: symbol 'igc_write_rss_indir_tbl' was not declared. Should it be static? Signed-off-by: YueHaibing --- drivers/net/ethernet/intel/igc/igc_ethtool.c | 2 +- 1 file changed, 1 insertion(+), 1

RE: [PATCH 04/12] misc: xilinx_sdfec: Add open, close and ioctl

2019-03-19 Thread Dragan Cvetic
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Tuesday 19 March 2019 13:18 > To: Dragan Cvetic > Cc: gregkh ; Michal Simek ; > Linux ARM ; > Derek Kiernan ; Linux Kernel Mailing List > > Subject: Re: [PATCH 04/12] misc: xilinx_sdfec: Add open, close and

Re: [PATCH v2 2/2] Input: add Apple SPI keyboard and trackpad driver.

2019-03-19 Thread Andy Shevchenko
On Tue, Feb 26, 2019 at 11:29:58PM -0800, Life is hard, and then you die wrote: > On Tue, Feb 26, 2019 at 11:20:59AM +0200, Andy Shevchenko wrote: > > On Thu, Feb 21, 2019 at 02:56:09AM -0800, Ronald Tschalär wrote: > > > +config KEYBOARD_APPLESPI > > > + tristate "Apple SPI keyboard and

[PATCH 0/9] RFC: NVME VFIO mediated device

2019-03-19 Thread Maxim Levitsky
Oops, I placed the subject in the wrong place. Best regards, Maxim Levitsky On Tue, 2019-03-19 at 16:41 +0200, Maxim Levitsky wrote: > Date: Tue, 19 Mar 2019 14:45:45 +0200 > Subject: [PATCH 0/9] RFC: NVME VFIO mediated device > > Hi everyone! > > In this patch series, I would like to

<    1   2   3   4   5   6   7   8   >