Re: [PATCH v5 3/3] powerpc/32: Add KASAN support

2019-02-19 Thread Christophe Leroy
Le 18/02/2019 à 10:27, Michael Ellerman a écrit : Christophe Leroy writes: diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h index e0637730a8e7..dba2c1038363 100644 --- a/arch/powerpc/include/asm/ppc_asm.h +++ b/arch/powerpc/include/asm/ppc_asm.h @@ -251,

Re: [PATCH] arm/mach-omap2/display: fix possible object reference leak

2019-02-19 Thread Tony Lindgren
* Julia Lawall [190219 17:33]: > On Tue, 19 Feb 2019, Tony Lindgren wrote: > > In general, if the device tree node is never used afterwards, > > should this be just: > > > > r = of_platform_populate(node, NULL, NULL, &pdev->dev); > > of_node_put(dev_node); > > if (r) { > >

Re: [PATCH v5 05/10] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2019-02-19 Thread Tony Lindgren
* Tony Lindgren [190219 17:11]: > * Lokesh Vutla [190219 16:19]: > > yes. How different is this from any of the above mentioned drivers using > > firmware specific ids. Like sci pm domain[1] driver utilizes the same > > device id for enabling any device in the system. Similarly clock > > driver[2

Re: [PATCH] mm/cma: cma_declare_contiguous: correct err handling

2019-02-19 Thread Mike Rapoport
On Tue, Feb 19, 2019 at 05:55:33PM +0100, Vlastimil Babka wrote: > On 2/14/19 9:38 PM, Andrew Morton wrote: > > On Thu, 14 Feb 2019 12:45:51 + Peng Fan wrote: > > > >> In case cma_init_reserved_mem failed, need to free the memblock allocated > >> by memblock_reserve or memblock_alloc_range. >

Re: [PATCH v2 1/1] s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem

2019-02-19 Thread Halil Pasic
On Mon, 18 Feb 2019 19:08:48 +0100 Pierre Morel wrote: > Libudev relies on having a subsystem link for non-root devices. To > avoid libudev (and potentially other userspace tools) choking on the > matrix device let us introduce a vfio_ap bus and with that the vfio_ap > bus subsytem, and make the

[PATCH v2] MAINTAINERS: Update PCI Cadence maintainer entry

2019-02-19 Thread Lorenzo Pieralisi
Replace Alan Douglas with Tom Joseph as the current PCI Cadence host/endpoint controller maintainer. Signed-off-by: Lorenzo Pieralisi Cc: Bjorn Helgaas Cc: Tom Joseph --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 32d76a9

Re: [PATCH] RDMA/mlx4: Spread completion vectors for proxy CQs

2019-02-19 Thread Chuck Lever
> On Feb 19, 2019, at 12:32 PM, Håkon Bugge wrote: > > > >> On 19 Feb 2019, at 15:58, Chuck Lever wrote: >> >> Hey Håkon- >> >>> On Feb 18, 2019, at 1:33 PM, Håkon Bugge wrote: >>> >>> MAD packet sending/receiving is not properly virtualized in >>> CX-3. Hence, these are proxied through

Re: [PATCH 4.20 00/92] 4.20.11-stable review

2019-02-19 Thread Guenter Roeck
On 2/18/19 5:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.20.11 release. There are 92 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 2/2] exec: increase BINPRM_BUF_SIZE to 256

2019-02-19 Thread Oleg Nesterov
On 02/19, Guenter Roeck wrote: > > On Tue, Feb 19, 2019 at 01:37:57PM +0100, Oleg Nesterov wrote: > > > > looks unrelated... > > > > Indeed... > > The underlying problem is in the error handling code of ace_setup(), > which calls put_disk() followed by blk_cleanup_queue(). put_disk() > calls disk_r

Re: [PATCH] arm/mach-omap2/display: fix possible object reference leak

2019-02-19 Thread Julia Lawall
On Tue, 19 Feb 2019, Tony Lindgren wrote: > Hi, > > Adding devicetree list, Julia, Rob and Tomi to Cc. > > * Peng Hao [190212 23:11]: > > of_find_device_by_node() takes a reference to the struct device > > when it finds a match via get_device.When returning error we should > > call put_device.

Re: [PATCH -next] tpm: change the return type of calc_tpm2_event_size to size_t

2019-02-19 Thread Jarkko Sakkinen
On Tue, Feb 19, 2019 at 09:34:56AM -0700, Jason Gunthorpe wrote: > > - Your real name is formatted incorrectly. It should be like "Yue Haibig" > > as shown in [1]. > > - If there is no actual regression, this change is useless. > > Clarity of the code is a laudible goal - not everything is about

xen/evtchn and forced threaded irq

2019-02-19 Thread Julien Grall
Hi all, I have been looking at using Linux RT in Dom0. Once the guest is started, the console is ending to have a lot of warning (see trace below). After some investigation, this is because the irq handler will now be threaded. I can reproduce the same error with the vanilla Linux when passing th

Re: [PATCH] arm/mach-omap2/display: fix possible object reference leak

2019-02-19 Thread Julia Lawall
On Tue, 19 Feb 2019, Tony Lindgren wrote: > Hi, > > Adding devicetree list, Julia, Rob and Tomi to Cc. > > * Peng Hao [190212 23:11]: > > of_find_device_by_node() takes a reference to the struct device > > when it finds a match via get_device.When returning error we should > > call put_device.

[PATCH V5 2/2] i2c: tegra: remove multi-master support

2019-02-19 Thread Sowjanya Komatineni
Multi-master support is defeatured on Tegra210 and Tegra186 due to known bugs. This patch removes multi-master support for Tegra210 and Tegra186 I2C HW feature. Acked-by: Thierry Reding Signed-off-by: Sowjanya Komatineni --- drivers/i2c/busses/i2c-tegra.c | 4 ++-- 1 file changed, 2 insertions

[PATCH V5 1/2] i2c: tegra: remove master fifo support on tegra186

2019-02-19 Thread Sowjanya Komatineni
Tegra186 does not have master FIFO control register and instead uses FIFO control register like prior Tegra chipset. This patch fixes this and prevents crashing during boot when accessing FIFO control registers. Acked-by: Thierry Reding Signed-off-by: Sowjanya Komatineni --- drivers/i2c/busse

Re: [PATCH 4.19 00/85] 4.19.24-stable review

2019-02-19 Thread Guenter Roeck
On 2/18/19 5:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.24 release. There are 85 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 4.14 00/62] 4.14.102-stable review

2019-02-19 Thread Guenter Roeck
On 2/18/19 5:43 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.102 release. There are 62 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 4.9 00/58] 4.9.159-stable review

2019-02-19 Thread Guenter Roeck
On 2/18/19 5:43 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.159 release. There are 58 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH 4.4 000/143] 4.4.175-stable review

2019-02-19 Thread Guenter Roeck
On 2/18/19 5:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.175 release. There are 143 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH v2 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-02-19 Thread Joel Fernandes
On Tue, Feb 19, 2019 at 09:05:31AM +0300, Alexey Dobriyan wrote: > > /proc/kheaders.txz > > This is gross. It is a bit gross, but it solves a long standing problem we have nicely. And there's also /proc/config.gz. > > The feature is also buildable as a module just in case the user desires > > it

Re: [PATCH RESEND net] net: phy: xgmiitorgmii: Support generic PHY status read

2019-02-19 Thread Andrew Lunn
> Thanks for the suggestion! So I had a closer look at that driver to try > and see what could go wrong and it looks like I found a few things > there. Hi Paul Yes, this driver has issues. If i remember correctly, it got merged while i was on vacation. I pointed out a few issues, but the authors

Re: [PATCH v10 2/3] mm: Move buddy list manipulations into helpers

2019-02-19 Thread Dan Williams
On Tue, Feb 19, 2019 at 7:24 AM Vlastimil Babka wrote: > > On 2/1/19 6:15 AM, Dan Williams wrote: > > In preparation for runtime randomization of the zone lists, take all > > (well, most of) the list_*() functions in the buddy allocator and put > > them in helper functions. Provide a common contro

Re: [PATCHv6 00/10] Heterogenous memory node attributes

2019-02-19 Thread Keith Busch
On Mon, Feb 18, 2019 at 03:25:31PM +0100, Brice Goglin wrote: > Le 14/02/2019 à 18:10, Keith Busch a écrit : > > Determining the cpu and memory node local relationships is quite > > different this time (PATCH 7/10). The local relationship to a memory > > target will be either *only* the node

Re: [RFC PATCH RT 0/2] Add PINNED_HARD mode to hrtimers

2019-02-19 Thread Sebastian Andrzej Siewior
On 2019-02-14 14:37:14 [+0100], Juri Lelli wrote: > Hi, Hi, > Now, I'm sending this and an RFC, as I'm wondering if the first behavior > is actually what we want, and it is not odd at all for reasons that are > not evident to me at the moment. In this case this posting might also > function as a q

[PATCH 6/6] iio: imu: adis16480: Add docs for ADIS16480 IMU

2019-02-19 Thread Stefan Popa
Document support for ADIS16480 Inertial Measurement Unit. Signed-off-by: Stefan Popa --- .../devicetree/bindings/iio/imu/adi,adis16480.txt | 49 ++ MAINTAINERS| 1 + 2 files changed, 50 insertions(+) create mode 100644 Documentation/

[PATCH 4/6] iio: imu: adis16480: Treat temperature scale in a generic way

2019-02-19 Thread Stefan Popa
All supported devices provide internal temperature measurement from -40 C to +85 C, with +25 C representing value 0x00. This patch treats the temperature scale in a generic way, similar to the accelerometer and gyroscope scales. So far, there are no temperature max scale differences between the su

[PATCH 5/6] iio: imu: adis16480: Add support for ADIS1649x family of devices

2019-02-19 Thread Stefan Popa
The ADIS16495 and ADIS16497 are inertial systems that include a triaxis gyroscope and a triaxis accelerometer. The serial peripheral interface (SPI) provide a simple interface for data collection and configuration control. The devices are similar to ADIS16475, ADIS16480, ADIS16485 and ADIS16488, th

[PATCH 3/6] iio: imu: adis16480: Add OF device ID table

2019-02-19 Thread Stefan Popa
The driver does not have a struct of_device_id table, but supported devices are registered via Device Trees. This patch adds OF device ID table. Signed-off-by: Stefan Popa --- drivers/iio/imu/adis16480.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/iio/imu/adis16480.c

[PATCH 2/6] iio: imu: adis16480: Add support for configurable drdy indicator

2019-02-19 Thread Stefan Popa
The FNCTIO_CTRL register provides configuration control for each I/O pin (DIO1, DIO2, DIO3 and DIO4). This patch adds the option to configure each DIOx pin as data ready indicator with positive or negative polarity by reading the 'interrupts' and 'interrupt-names' properties from the devicetree. T

[PATCH 1/6] iio: imu: adis16480: Use the default data ready pin configuration

2019-02-19 Thread Stefan Popa
The FNCTIO_CTRL register, Bits[3:0] provide three configuration options for the data ready function: on/off, polarity, and DIOx line. The factory default assigns DIO2 as a positive polarity, data ready signal. The adis16480_enable_irq() function, overwrites this configuration when it enables/disab

[PATCH 0/6] iio: imu: adis16480: Add support for ADIS1649x family of devices

2019-02-19 Thread Stefan Popa
This series has as main goal to add support for ADIS1649x family of devices as part of the already existing adis16480, but on the way it also deals with some outstanding items: * Make drdy pin configurable * Add OF device ID table * Deal with the temperature max scale in a generic way * Add missin

Re: [PATCH V4 2/2] i2c: tegra: remove multi-master support

2019-02-19 Thread Thierry Reding
On Mon, Feb 18, 2019 at 08:50:25PM -0800, Sowjanya Komatineni wrote: > multi-master support is defeatured on Tegra210 and Tegra186 due to > known bugs. Nit: "Multi-master" because it's the beginning of a sentence. > > This patch removes multi-master support for Tegra210 and Tegra186 > i2c hw fea

Re: [RFC PATCH] fs: Make splice() and tee() take into account O_NONBLOCK flag on pipes

2019-02-19 Thread Steven Rostedt
On Wed, 13 Feb 2019 09:44:45 -0500 Steven Rostedt wrote: > Reviewed-by: Steven Rostedt (VMware) > > Does anyone have any issues or comments about this patch? I'm going to start pinging people once a week, looking for comments on this patch ;-) -- Steve

Re: [PATCH V4 1/2] i2c: tegra: remove master fifo support on tegra186

2019-02-19 Thread Thierry Reding
On Mon, Feb 18, 2019 at 08:50:24PM -0800, Sowjanya Komatineni wrote: > Tegra186 does not have master fifo control register and instead > uses fifo control register like prior tegra chipset. > > This patch fixes this and prevents crashing during boot when > accessing fifo control registers. > > Si

Re: [PATCH v5 05/10] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2019-02-19 Thread Tony Lindgren
* Lokesh Vutla [190219 16:19]: > yes. How different is this from any of the above mentioned drivers using > firmware specific ids. Like sci pm domain[1] driver utilizes the same > device id for enabling any device in the system. Similarly clock > driver[2] uses the same device ids and clock ids sp

[PATCHv5] random: Make /dev/random wait for input_pool initialized

2019-02-19 Thread Bernd Edlinger
Reading from /dev/random may return data while the getrandom syscall is still blocking. Those bytes are not yet cryptographically secure. The first byte from /dev/random can have as little as 8 bits entropy estimation. Once a read blocks, it will block until /proc/sys/kernel/random/read_wakeup_t

Re: [PATCH v2 2/2] ASoC: codecs: pcm186x: Fix energysense SLEEP bit

2019-02-19 Thread Andrew F. Davis
On 2/19/19 10:29 AM, codrin.ciubota...@microchip.com wrote: > From: Codrin Ciubotariu > > The ADCs are sleeping when the SLEEP bit is set and running when it's > cleared, so the bit should be inverted. > Tested on pcm1863. > Did this work for you before? Strange it would if reversed, I wonder i

Re: [PATCH] driver core: Fix PM-runtime for links added during consumer probe

2019-02-19 Thread Thierry Reding
On Tue, Feb 19, 2019 at 05:53:26PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Commit 4c06c4e6cf63 ("driver core: Fix possible supplier PM-usage > counter imbalance") introduced a regression that causes suppliers > to be suspended prematurely for device links added during consum

Re: [PATCH v2 1/2] ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()

2019-02-19 Thread Andrew F. Davis
On 2/19/19 10:29 AM, codrin.ciubota...@microchip.com wrote: > From: Codrin Ciubotariu > > According to DS, the gain is between -12 dB and 40 dB, with a 0.5 dB step. > Tested on pcm1863. > > Signed-off-by: Codrin Ciubotariu > --- Acked-by: Andrew F. Davis > > Changes in v2: > - fixed title

Re: [PATCH] arm/mach-omap2/display: fix possible object reference leak

2019-02-19 Thread Tony Lindgren
Hi, Adding devicetree list, Julia, Rob and Tomi to Cc. * Peng Hao [190212 23:11]: > of_find_device_by_node() takes a reference to the struct device > when it finds a match via get_device.When returning error we should > call put_device. > > Signed-off-by: Peng Hao > --- > arch/arm/mach-omap2/

Re: [PATCH] MAINTAINERS: pci/cadence: Updating maintainer information. Removing Alan and adding myself(tjos...@cadence.com) as the maintainer.

2019-02-19 Thread Lorenzo Pieralisi
Hi Tom, the $SUBJECT should be reformatted, please read: https://www.kernel.org/doc/html/latest/process/submitting-patches.html Also, while using get_maintainer.pl to derive a sane CC list is good, it has to be used with some common sense, it is not really needed for this patch. There is no nee

[PATCH 5/7] ARM: dts: at91: at91sam9g45: switch to new sckc bindings

2019-02-19 Thread Alexandre Belloni
Remove the child nodes of the sckc as they are not necessary anymore. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9g45.dtsi | 25 +++-- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at9

[PATCH 6/7] ARM: dts: at91: at91sam9rl: switch to new sckc bindings

2019-02-19 Thread Alexandre Belloni
Remove the child nodes of the sckc as they are not necessary anymore. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rl.dtsi | 25 +++-- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91s

[PATCH 2/3] media: vicodec: avoic clang frame size warning

2019-02-19 Thread Arnd Bergmann
Clang-9 makes some different inlining decisions compared to gcc, which leads to a warning about a possible stack overflow problem when building with CONFIG_KASAN, including when setting asan-stack=0, which avoids most other frame overflow warnings: drivers/media/platform/vicodec/codec-fwht.c:673:1

[PATCH 3/7] clk: at91: sckc: handle different RC startup time

2019-02-19 Thread Alexandre Belloni
The sama5d3 slow RC oscillator as a different startup time than all the previous SoCs. Handle that using its own compatible. Signed-off-by: Alexandre Belloni --- drivers/clk/at91/sckc.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/clk/at91/sckc.c

[PATCH 7/7] ARM: dts: at91: sama5d3: switch to new sckc bindings

2019-02-19 Thread Alexandre Belloni
Remove the child nodes of the sckc as they are not necessary anymore. Also, switch to the new atmel,sama5d3-sckc compatible string to use the proper startup time for the RC oscillator (500 µs instead of 75). Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-wb50n.dtsi | 2 +- arch/ar

[PATCH 3/3] media: go7007: avoid clang frame overflow warning with KASAN

2019-02-19 Thread Arnd Bergmann
clang-8 warns about one function here when KASAN is enabled, even without the 'asan-stack' option: drivers/media/usb/go7007/go7007-fw.c:1551:5: warning: stack frame size of 2656 bytes in function I have reported this issue in the llvm bugzilla, but to make it work with the clang-8 release, a sma

[PATCH 1/3] media: saa7146: avoid high stack usage with clang

2019-02-19 Thread Arnd Bergmann
Two saa7146/hexium files contain a construct that causes a warning when built with clang: drivers/media/pci/saa7146/hexium_orion.c:210:12: error: stack frame size of 2272 bytes in function 'hexium_probe' [-Werror,-Wframe-larger-than=] static int hexium_probe(struct saa7146_dev *dev)

[PATCH 4/7] ARM: dts: at91: at91sam9x5: switch to new sckc bindings

2019-02-19 Thread Alexandre Belloni
Remove the child nodes of the sckc as they are not necessary anymore. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9x5.dtsi | 23 +++ 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam

[PATCH 2/7] clk: at91: modernize sckc binding

2019-02-19 Thread Alexandre Belloni
Remove the need for child nodes in the sckc binding and register the whole sckc tree (3 clocks in total) from the sckc node. DT backward compatibility is kept by looking for properties in child nodes when they are not present in the sckc node. Signed-off-by: Alexandre Belloni --- drivers/clk/at

[PATCH 1/7] dt-bindings: clock: at91: new sckc bindings

2019-02-19 Thread Alexandre Belloni
Remove the need for child nodes in the sckc binding to be able to remove dtc warnings and have a more modern binding. Also document optional properties. Cc: Rob Herring Signed-off-by: Alexandre Belloni --- .../devicetree/bindings/clock/at91-clock.txt | 30 --- 1 file changed,

[PATCH] drivers: spi: core: Add optional stall delay between cs_change transfers

2019-02-19 Thread Stefan Popa
From: Michael Hennerich Some devices like the ADIS16460 IMU require a stall period between transfers. The default value of 10us are not enough. Introduce a per transfer configurable delay. Signed-off-by: Michael Hennerich Signed-off-by: Stefan Popa --- drivers/spi/spi.c | 3 ++- include

[PATCH 0/7] clk: at91: rework sckc bindings

2019-02-19 Thread Alexandre Belloni
Hi, This is a rework of the sckc DT bindings to avoid warnings with dtc. DT backward compatibility is kept. This series also fix a possible issue with the sama5d3 slow RC oscillator. The sckc driver changes and documetation can go through the clk tree and we will handle th DT changes. Alexandre

Re: [PATCH 05/11] x86 topology: export die_siblings

2019-02-19 Thread Liang, Kan
On 2/18/2019 10:40 PM, Len Brown wrote: From: Len Brown like core_siblings, except it shows which die are in the same package. This is needed for lscpu(1) to correctly display die topology. Signed-off-by: Len Brown Cc: linux-...@vger.kernel.org Signed-off-by: Len Brown --- Documentatio

Re: [RFC PATCH] scsi: fix oops in scsi_uninit_cmd()

2019-02-19 Thread Bart Van Assche
On Tue, 2019-02-19 at 15:27 +0800, Jason Yan wrote: > If we remove the scsi disk when running io with fio, oops occured with > the following condition. > > [scsi_eh_0] [fio] > scsi_end_request > ->blk_update_request > ->end_bio(io returned to userspace) >

Re: [RFC PATCH 02/27] containers: Implement containers as kernel objects

2019-02-19 Thread Eric W. Biederman
David Howells writes: The container id details are ludicrous and will break practically every use case. This completely unacceptable. Nacked-by: "Eric W. Biederman" > diff --git a/include/linux/container.h b/include/linux/container.h > new file mode 100644 > index ..0a8918435097 >

Re: [PATCH] bq27x00: use cached flags

2019-02-19 Thread Andrew F. Davis
On 2/18/19 12:59 AM, Arthur Demchenkov wrote: > The flags were just read by bq27xxx_battery_update(), > no need to read them again. > > Signed-off-by: Arthur Demchenkov > --- Nothing obviously wrong with this patch so: Reviewed-by: Andrew F. Davis At this point we have W1 regmap and so we now

Re: [PATCH] mm/cma: cma_declare_contiguous: correct err handling

2019-02-19 Thread Vlastimil Babka
On 2/14/19 9:38 PM, Andrew Morton wrote: > On Thu, 14 Feb 2019 12:45:51 + Peng Fan wrote: > >> In case cma_init_reserved_mem failed, need to free the memblock allocated >> by memblock_reserve or memblock_alloc_range. >> >> ... >> >> --- a/mm/cma.c >> +++ b/mm/cma.c >> @@ -353,12 +353,14 @@ in

Re: [PATCH] binder: reduce mmap_sem write-side lock

2019-02-19 Thread Todd Kjos
On Mon, Feb 18, 2019 at 2:47 AM Minchan Kim wrote: > > On Mon, Feb 18, 2019 at 09:32:08AM +0100, Greg KH wrote: > > On Mon, Feb 18, 2019 at 05:11:45PM +0900, Minchan Kim wrote: > > > binder has used write-side mmap_sem semaphore to release memory > > > mapped at address space of the process. Howev

Re: [PATCH bpf-next v2] bpf: bpftool, fix documentation for attach types

2019-02-19 Thread Daniel Borkmann
On 02/19/2019 03:13 PM, Alban Crequy wrote: > From: Alban Crequy > > bpftool has support for attach types "stream_verdict" and > "stream_parser" but the documentation was referring to them as > "skb_verdict" and "skb_parse". The inconsistency comes from commit > b7d3826c2ed6 ("bpf: bpftool, add s

Re: [PATCH 3.18 000/108] 3.18.135-stable review

2019-02-19 Thread Guenter Roeck
On 2/18/19 5:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.135 release. There are 108 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be mad

[PATCH] driver core: Fix PM-runtime for links added during consumer probe

2019-02-19 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Commit 4c06c4e6cf63 ("driver core: Fix possible supplier PM-usage counter imbalance") introduced a regression that causes suppliers to be suspended prematurely for device links added during consumer driver probe if the initial PM-runtime status of the consumer is "suspende

[PATCH] clk: at91: fix at91sam9x5 peripheral clock number

2019-02-19 Thread Alexandre Belloni
nck() looks at the last id in an array and unfortunately, at91sam9x35_periphck has a sentinel, hence the id is 0 and the calculated number of peripheral clocks is 1 instead of a maximum of 31. Fixes: 1eabdc2f9dd8 ("clk: at91: add at91sam9x5 PMCs driver") Signed-off-by: Alexandre Belloni --- driv

[PATCH] xsysace: Fix error handling in ace_setup

2019-02-19 Thread Guenter Roeck
If xace hardware reports a bad version number, the error handling code in ace_setup() calls put_disk(), followed by queue cleanup. However, since the disk data structure has the queue pointer set, put_disk() also cleans and releases the queue. This results in blk_cleanup_queue() accessing an alread

Re: [PATCH 03/11] x86 topology: Add CPUID.1F multi-die/package support

2019-02-19 Thread Liang, Kan
On 2/18/2019 10:40 PM, Len Brown wrote: From: Len Brown Some new systems have multiple software-visible die within each package. The new CPUID.1F leaf can enumerate this multi-die/package topology. CPUID.1F a super-set of the CPUID.B "Extended Toplogy Leaf", and a common updated routine can

Re: [PATCH v2 09/10] genirq/irqdomain: fall back to default domain when creating hierarchy domain

2019-02-19 Thread Thomas Bogendoerfer
On Tue, 19 Feb 2019 16:27:16 + Marc Zyngier wrote: > On Tue, 19 Feb 2019 16:57:23 +0100 > Thomas Bogendoerfer wrote: > > Hi Thomas, > > > When creating hierarchy domains use irq_default_domain as parent, if no > > parent was given by the caller. This avoids adding helper code for > > query

Re: [PATCH] doc: cgroup: correct the wrong information about measure of memory pressure

2019-02-19 Thread Yang Shi
On 2/18/19 1:05 PM, Tejun Heo wrote: On Sat, Feb 16, 2019 at 08:56:04AM +0800, Yang Shi wrote: Since PSI has implemented some kind of measure of memory pressure, the statement about lack of such measure is not true anymore. Cc: Tejun Heo Cc: Johannes Weiner Cc: Jonathan Corbet Signed-off-

Re: [PATCH 11/11] hwmon/coretemp: Support multi-die/package

2019-02-19 Thread Guenter Roeck
On 2/18/19 7:40 PM, Len Brown wrote: From: Zhang Rui This patch introduces coretemp driver support for new dual-die/package systems. On the new dual-die/package systems, the package temperature MSRs becomes die-scope. Thus instead of one hwmon device per physical package, now there should be o

Re: [RFC PATCH 06/27] containers, vfs: Allow syscall dirfd arguments to take a container fd

2019-02-19 Thread Eric W. Biederman
David Howells writes: > Some filesystem system calls, such as mkdirat(), take a 'directory fd' to > specify the pathwalk origin. This takes either AT_FDCWD or a file > descriptor that refers to an open directory. > > Make it possible to supply a container fd, as obtained from > container_create(

Re: [PATCH] perf test: Fix failure of test 14 on s390

2019-02-19 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 19, 2019 at 04:36:39PM +0100, Thomas Richter escreveu: > Commit 489338a717a0 ("perf tests evsel-tp-sched: Fix bitwise operator") > causes test case 14 "Parse sched tracepoints fields" to fail on s390. > This test succeeds on x86. > In fact this test now fails on all architectures with t

Re: [RFC PATCH 05/27] containers: Open a socket inside a container

2019-02-19 Thread Eric W. Biederman
David Howells writes: > Provide a system call to open a socket inside of a container, using that > container's network namespace. This allows netlink to be used to manage > the container. > > fd = container_socket(int container_fd, > int domain, int type, int pr

Re: [PATCH v2] crypto: s5p: update iv after AES-CBC op end

2019-02-19 Thread Krzysztof Kozlowski
On Tue, 19 Feb 2019 at 17:02, Kamil Konieczny wrote: > > Fix bug "s5p-sss crypto driver doesn't set next AES-CBC IV". While at this, > fix also AES-CTR mode. Tested on Odroid U3 with Eric Biggers branch > "iv-out-testing". > > Signed-off-by: Kamil Konieczny > Reported-by: Eric Biggers > --- > Ch

Re: [PATCH][next] vhost: only return early if ret indicates an error or no iovecs have been processed

2019-02-19 Thread Colin Ian King
On 19/02/2019 16:35, Michael S. Tsirkin wrote: > On Tue, Feb 19, 2019 at 01:57:13PM +, Colin King wrote: >> From: Colin Ian King >> >> Currently the loop that calls log_write_hva on each iovec is never >> executed because of an incorrect error check on the return from the >> call to translate_

Re: [RFC PATCH 04/27] containers: Allow a process to be forked into a container

2019-02-19 Thread Eric W. Biederman
David Howells writes: > Allow a single process to be forked directly into a container using a new > syscall, thereby 'booting' the container: > > pid_t pid = fork_into_container(int container_fd); > > This process will be the 'init' process of the container. > > Further attempts to fork int

Re: [PATCH] firmware: hardcode the debug message for -ENOENT

2019-02-19 Thread Luis Chamberlain
On Sun, Feb 17, 2019 at 04:25:10PM +0800, yuank...@codeaurora.org wrote: > On 2019-02-05 07:30 AM, Luis Chamberlain wrote: > > On Mon, Jan 14, 2019 at 05:58:30PM +0800, yuank...@codeaurora.org wrote: > > > Hi, > > > > > > Refined at below. > > > > > > From bbd0d9c8f28eb78ca34353347c3d4092e88f

Re: [RFC][PATCH 03/16] sched: Wrap rq::lock access

2019-02-19 Thread Phil Auld
On Tue, Feb 19, 2019 at 05:22:50PM +0100 Peter Zijlstra wrote: > On Tue, Feb 19, 2019 at 11:13:43AM -0500, Phil Auld wrote: > > On Mon, Feb 18, 2019 at 05:56:23PM +0100 Peter Zijlstra wrote: > > > In preparation of playing games with rq->lock, abstract the thing > > > using an accessor. > > > > >

Re: Regression in SYS_membarrier expedited

2019-02-19 Thread Rich Felker
On Tue, Feb 19, 2019 at 11:02:41AM -0500, Mathieu Desnoyers wrote: > - On Feb 18, 2019, at 4:55 PM, Rich Felker dal...@libc.org wrote: > > > On Mon, Feb 18, 2019 at 10:22:32AM -0500, Mathieu Desnoyers wrote: > >> - On Feb 17, 2019, at 5:08 PM, Rich Felker dal...@libc.org wrote: > >> > >>

Re: [PATCH][next] vhost: only return early if ret indicates an error or no iovecs have been processed

2019-02-19 Thread Michael S. Tsirkin
On Tue, Feb 19, 2019 at 01:57:13PM +, Colin King wrote: > From: Colin Ian King > > Currently the loop that calls log_write_hva on each iovec is never > executed because of an incorrect error check on the return from the > call to translate_desc. The check should be checking for a -ve error >

Re: [PATCH v6 1/7] irq/irq_sim: add irq_set_type() callback

2019-02-19 Thread Bartosz Golaszewski
wt., 19 lut 2019 o 17:14 Marc Zyngier napisał(a): > > On Tue, 19 Feb 2019 17:06:44 +0100 > Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > Implement the irq_set_type() callback and call irqd_set_trigger_type() > > internally so that users interested in the configured trigger t

Re: [RFC PATCH 00/27] Containers and using authenticated filesystems

2019-02-19 Thread Eric W. Biederman
So you missed the main mailing lists for discussion of this kind of thing, and the maintainer. So I have reservations about the quality of your due diligence already. Looking at your description you are introducing a container id. You don't descibe which namespace your contianer id lives in. Wi

Re: [PATCH -next] tpm: change the return type of calc_tpm2_event_size to size_t

2019-02-19 Thread Jason Gunthorpe
On Tue, Feb 19, 2019 at 12:35:32PM +0200, Jarkko Sakkinen wrote: > On Tue, Feb 19, 2019 at 05:15:47PM +0800, YueHaibing wrote: > > On 2019/2/19 16:59, Jarkko Sakkinen wrote: > > > On Tue, Feb 19, 2019 at 03:26:18PM +0800, YueHaibing wrote: > > >> calc_tpm2_event_size return size of the event which

[PATCH v2 2/2] ASoC: codecs: pcm186x: Fix energysense SLEEP bit

2019-02-19 Thread Codrin.Ciubotariu
From: Codrin Ciubotariu The ADCs are sleeping when the SLEEP bit is set and running when it's cleared, so the bit should be inverted. Tested on pcm1863. Signed-off-by: Codrin Ciubotariu --- Changes in v2: - none; sound/soc/codecs/pcm186x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 dele

Re: [PATCH] platform/x86: dell-laptop: Mark expected switch fall-throughs

2019-02-19 Thread Gustavo A. R. Silva
On 11/28/18 6:15 PM, Darren Hart wrote: > On Thu, Jul 05, 2018 at 03:38:07PM -0500, Gustavo A. R. Silva wrote: >> In preparation to enabling -Wimplicit-fallthrough, mark switch cases >> where we are expecting to fall through. >> >> Signed-off-by: Gustavo A. R. Silva > > I've applied this patch

[PATCH v2 1/2] ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()

2019-02-19 Thread Codrin.Ciubotariu
From: Codrin Ciubotariu According to DS, the gain is between -12 dB and 40 dB, with a 0.5 dB step. Tested on pcm1863. Signed-off-by: Codrin Ciubotariu --- Changes in v2: - fixed title - added correct macro; - revert the removal of a new line; sound/soc/codecs/pcm186x.c | 2 +- 1 file chang

[PATCH] usb: xhci: add Immediate Data Transfer support

2019-02-19 Thread Nicolas Saenz Julienne
Immediate data transfers (IDT) allow the HCD to copy small chunks of data (up to 8bytes) directly into its output transfer TRBs. This avoids the somewhat expensive DMA mappings that are performed by default on most URBs submissions. In the case an URB was suitable for IDT. The data is directly cop

Re: [PATCH RT 1/2] softirq: Avoid "local_softirq_pending" messages if ksoftirqd is blocked

2019-02-19 Thread Sebastian Andrzej Siewior
On 2019-02-19 17:27:41 [+0100], Juri Lelli wrote: > It is better. Warning message doesn't appear anymore. Okay, thanks. Sebastian

Re: [dm-devel] [PATCH V15 00/18] block: support multi-page bvec

2019-02-19 Thread Bart Van Assche
On Sun, 2019-02-17 at 21:11 +0800, Ming Lei wrote: > The following patch should fix this issue: > > > diff --git a/block/blk-merge.c b/block/blk-merge.c > index bed065904677..066b66430523 100644 > --- a/block/blk-merge.c > +++ b/block/blk-merge.c > @@ -363,13 +363,15 @@ static unsigned int __blk_

Re: [PATCH RT 1/2] softirq: Avoid "local_softirq_pending" messages if ksoftirqd is blocked

2019-02-19 Thread Juri Lelli
On 19/02/19 17:06, Sebastian Andrzej Siewior wrote: > On 2019-02-19 15:58:26 [+0100], Juri Lelli wrote: > > Hi, > Hi, > > > I've been seeing those messages while running some stress tests (hog > > tasks pinned to CPUs). > > > > Have yet to see them after I applied this patch earlier this morning

Re: [PATCH v2 09/10] genirq/irqdomain: fall back to default domain when creating hierarchy domain

2019-02-19 Thread Marc Zyngier
On Tue, 19 Feb 2019 16:57:23 +0100 Thomas Bogendoerfer wrote: Hi Thomas, > When creating hierarchy domains use irq_default_domain as parent, if no > parent was given by the caller. This avoids adding helper code for > querying the underlying platform irq domain. > > Signed-off-by: Thomas Bogend

Re: [PATCH 2/2] exec: increase BINPRM_BUF_SIZE to 256

2019-02-19 Thread Guenter Roeck
On Tue, Feb 19, 2019 at 01:37:57PM +0100, Oleg Nesterov wrote: > On 02/18, Guenter Roeck wrote: > > > > Unfortunately, this patch causes one of my qemu emulations to crash. > > The crash is not always seen, but at least with every other boot attempt. > > Hmm. I can't imagine how this change can ca

[PATCH 2/2] ASoC: codecs: pcm186x: Fix energysense SLEEP bit

2019-02-19 Thread Codrin.Ciubotariu
From: Codrin Ciubotariu The ADCs are sleeping when the SLEEP bit is set and running when it's cleared, so the bit should be inverted. Tested on pcm1863. Signed-off-by: Codrin Ciubotariu --- sound/soc/codecs/pcm186x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sou

Re: [RFC][Patch v8 0/7] KVM: Guest Free Page Hinting

2019-02-19 Thread Alexander Duyck
On Mon, Feb 18, 2019 at 6:46 PM Andrea Arcangeli wrote: > > Hello, > > On Mon, Feb 18, 2019 at 03:47:22PM -0800, Alexander Duyck wrote: > > essentially fragmented them. I guess hugepaged went through and > > started trying to reassemble the huge pages and as a result there have > > been apps that

[PATCH 1/2] ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_LINEAR()

2019-02-19 Thread Codrin.Ciubotariu
From: Codrin Ciubotariu According to DS, the gain is between -12 dB and 40 dB, with a 0.5 dB step. Tested on pcm1863. Signed-off-by: Codrin Ciubotariu --- sound/soc/codecs/pcm186x.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/codecs/pcm186x.c b/sound/soc/cod

Re: [RFC][PATCH 03/16] sched: Wrap rq::lock access

2019-02-19 Thread Peter Zijlstra
On Tue, Feb 19, 2019 at 11:13:43AM -0500, Phil Auld wrote: > On Mon, Feb 18, 2019 at 05:56:23PM +0100 Peter Zijlstra wrote: > > In preparation of playing games with rq->lock, abstract the thing > > using an accessor. > > > > Signed-off-by: Peter Zijlstra (Intel) > > Hi Peter, > > Sorry... what

Re: [PATCH v4 1/3] PCI: altera: Add Stratix 10 PCIe support

2019-02-19 Thread Lorenzo Pieralisi
On Thu, Feb 14, 2019 at 11:20:36PM +0800, Ley Foon Tan wrote: > Add PCIe Root Port support for Stratix 10 device. > > Main differences: Main differences with what ? We need to rewrite this commit log. > - HIP interface to access Root Port configuration register. > - TLP programming flow: > - O

Re: [PATCH 1/2] ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_LINEAR()

2019-02-19 Thread Codrin.Ciubotariu
On 19.02.2019 18:15, Codrin Ciubotariu - M19940 wrote: > From: Codrin Ciubotariu > > According to DS, the gain is between -12 dB and 40 dB, with a 0.5 dB step. > Tested on pcm1863. > > Signed-off-by: Codrin Ciubotariu > --- > sound/soc/codecs/pcm186x.c | 3 +-- > 1 file changed, 1 insertion(

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

2019-02-19 Thread Piotr Sroka
This patch adds driver for Cadence HPNFC NAND controller. Signed-off-by: Piotr Sroka --- Changes for v2: - create one universal wait function for all events instead of one function per event. - split one big function executing nand operations to separate functions one per each type of operati

[PATCH v2 2/2] dt-bindings: nand: Add Cadence NAND controller driver

2019-02-19 Thread Piotr Sroka
Signed-off-by: Piotr Sroka --- Changes for v2: - remove chip dependends parameters from dts bindings - add names for register ranges in dts bindings - add generic bindings to describe NAND chip representation under the NAND controller node --- .../bindings/mtd/cadence-nand-controller.txt

Re: [PATCH v5 05/10] dt-bindings: irqchip: Introduce TISCI Interrupt router bindings

2019-02-19 Thread Lokesh Vutla
On 2/19/2019 9:05 PM, Tony Lindgren wrote: > * Lokesh Vutla [190219 08:51]: >> Hi Tony, >> >> On 18/02/19 8:02 PM, Tony Lindgren wrote: >>> * Lokesh Vutla [190216 03:30]: On 2/15/2019 9:46 PM, Tony Lindgren wrote: > The dts node for the interrupt controller should describe a > pro

Re: [PATCH 1/2 v2] kprobe: Do not use uaccess functions to access kernel memory that can fault

2019-02-19 Thread Steven Rostedt
[ Added Masami too. Start of thread is here: http://lkml.kernel.org/r/20190215174712.372898...@goodmis.org ] On Mon, 18 Feb 2019 10:23:44 -0800 Linus Torvalds wrote: > So it would be good to not just say "user or kernel", but actually say > what *kind* of kernel access it expects. Note, kpr

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