Re: [PATCH v2] mtd: rawnand: jz4780: fix possible object reference leak

2019-02-05 Thread Boris Brezillon
On Tue, 5 Feb 2019 16:55:02 +0100 Miquel Raynal wrote: > Hi Wen, > > Wen Yang wrote on Tue, 5 Feb 2019 > 15:07:21 +: > > > of_find_device_by_node() takes a reference to the struct device > > when it finds a match via get_device, there is no need to call > > get_device() twice. > > We also

Re: [PATCH] platform: x86: Add check for led_classdev_register

2019-02-05 Thread Andy Shevchenko
On Tue, Dec 25, 2018 at 12:08 AM Aditya Pakki wrote: > > In function alienware_zone_init, the function led_classdev_register > can return an error on failure. The fix checks the error and frees > the allocated resources. > I'm not sure about this. Is the LED registration fatal? > Signed-off-by:

Re: [PATCH] dma-direct: Export dma_direct_alloc() and dma_direct_free()

2019-02-05 Thread Thierry Reding
On Tue, Feb 05, 2019 at 05:10:36PM +0100, Christoph Hellwig wrote: > On Tue, Feb 05, 2019 at 12:06:02PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > Drivers that are built as modules may want to use these functions, so > > make them available like the rest of the functions. > >

Re: [PATCH 1/2] component: Add documentation

2019-02-05 Thread Daniel Vetter
On Tue, Feb 05, 2019 at 11:47:58AM +0100, Rafael J. Wysocki wrote: > w/compOn Thu, Jan 31, 2019 at 3:46 PM Daniel Vetter > wrote: > > > > Someone owes me a beer ... > > > > While typing these I think doing an s/component_master/aggregate/ > > would be useful: > > - it's shorter :-) > > - I think

Re: [PATCH v2 01/14] dt-bindings: remoteproc: Add TI PRUSS bindings

2019-02-05 Thread Tony Lindgren
* Murali Karicheri [190205 16:13]: > On 02/05/2019 10:41 AM, Roger Quadros wrote: > > What I'm suggesting here is that kernel remoteproc driver should have > > nothing to do > > with the other PRU's data RAM. > > > > The application driver if needs both PRUs then it can obviously access both >

Re: [PATCH 05/35] ARM: davinci: drop irq defines from default_priorites

2019-02-05 Thread Bartosz Golaszewski
wt., 5 lut 2019 o 01:20 David Lechner napisał(a): > > On 1/31/19 7:38 AM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > In order to select SPARSE_IRQ we need to make the interrupt numbers > > dynamic (at least at build-time for the top-level controller). The > > interrupt

Re: [PATCH 5/5] arm: dts: axpxx: add charge led node

2019-02-05 Thread Chen-Yu Tsai
On Thu, Jan 31, 2019 at 4:25 PM Stefan Mavrodiev wrote: > > Add dt node for axp20x-led driver controlling CHGLED. > Default status is disabled, since it may be not used. > > Signed-off-by: Stefan Mavrodiev Please include a cover letter for such a patch series. Also, do any boards actually use

Re: [PATCH 06/35] ARM: davinci: wrap interrupt definitions with a macro for SPARSE_IRQ

2019-02-05 Thread Bartosz Golaszewski
pon., 4 lut 2019 o 23:32 David Lechner napisał(a): > > On 1/31/19 7:38 AM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > This is done in preparation for selecting CONFIG_SPARSE_IRQ. The > > interrupt numbers will then start at the predefined NR_IRQS offset. > > > > For now

Re: [PATCH v2 01/14] dt-bindings: remoteproc: Add TI PRUSS bindings

2019-02-05 Thread Murali Karicheri
Roger, On 02/05/2019 10:41 AM, Roger Quadros wrote: Murali, On 05/02/19 17:08, Murali Karicheri wrote: Hi Roger, On 02/05/2019 04:39 AM, Roger Quadros wrote: Hi Tony & Suman, On 04/02/19 18:33, Tony Lindgren wrote: Hi, * Roger Quadros [190204 14:23]: From: Suman Anna ... +Example:

Re: [PATCH] nvme: Enable acceleration feature of A64FX processor

2019-02-05 Thread Christoph Hellwig
On Tue, Feb 05, 2019 at 07:39:06AM -0700, Keith Busch wrote: > > Standard PCIe devices can use Relaxed Ordering (RO) by setting Attr > > field in the TLP header, however, this mechanism cannot be utilized if > > the device does not support RO feature. Fujitsu A64FX processor has an > > alternate

Re: [RFC PATCH] virtio_ring: Use DMA API if guest memory is encrypted

2019-02-05 Thread Michael S. Tsirkin
On Tue, Feb 05, 2019 at 08:24:07AM +0100, Christoph Hellwig wrote: > On Mon, Feb 04, 2019 at 04:38:21PM -0500, Michael S. Tsirkin wrote: > > It was designed to make, when set, as many guests as we can work > > correctly, and it seems to be successful in doing exactly that. > > > > Unfortunately

Re: [PATCH 00/35] ARM: davinci: modernize the irq support

2019-02-05 Thread Bartosz Golaszewski
pon., 4 lut 2019 o 22:49 David Lechner napisał(a): > > On 1/31/19 7:38 AM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > This series ports the davinci platform to using SPARSE_IRQ, cleans up > > the irqchip drivers and moves them over to drivers/irqchip. > > > > This has been

Re: [PATCH] x86/ima: require signed kernel modules

2019-02-05 Thread Nayna
On 01/31/2019 02:18 PM, Mimi Zohar wrote: Require signed kernel modules on systems with secure boot mode enabled. To coordinate between appended kernel module signatures and IMA signatures, only define an IMA MODULE_CHECK policy rule if CONFIG_MODULE_SIG is not enabled. This patch defines a

Need to retouch your photos?

2019-02-05 Thread Stacy
Need to retouch your photos? Deep etching or masking for your photos? We are the studio who can do those service for your photos. Please send photos to start Thanks, Stacy Wesdl Landau

Re: [PATCH] dma-direct: Export dma_direct_alloc() and dma_direct_free()

2019-02-05 Thread Christoph Hellwig
On Tue, Feb 05, 2019 at 12:06:02PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Drivers that are built as modules may want to use these functions, so > make them available like the rest of the functions. > > Signed-off-by: Thierry Reding How do they want to use these functions?

Re: [PATCH 6/6] media: ov5640: Consolidate JPEG compression mode setting

2019-02-05 Thread Sakari Ailus
On Tue, Feb 05, 2019 at 09:50:47PM +0800, Chen-Yu Tsai wrote: > On Tue, Feb 5, 2019 at 4:55 PM Sakari Ailus > wrote: > > > > Hi Chen-Yu, > > > > On Fri, Jan 18, 2019 at 04:52:06PM +0800, Chen-Yu Tsai wrote: > > > The register value lists for all the supported resolution settings all > > > include

Re: [PATCH v2 00/12] btrfs: add zstd compression level support

2019-02-05 Thread Dennis Zhou
On Tue, Feb 05, 2019 at 03:57:53PM +0100, David Sterba wrote: > On Mon, Feb 04, 2019 at 03:19:56PM -0500, Dennis Zhou wrote: > > Hi everyone, > > > > V2 had only a handful of changes outside of minor feedback. > > 0001: > > - use functions over macros > > 0003: > > - BTRFS_NR_WORKSPACE_MANAGERS

[RFC v1] NFC: port100: prevent use-after-free on disconnect

2019-02-05 Thread Sven Van Asbroeck
Problem: The cmd_complete_work work could potentially run after resources are freed in disconnect(). This could cause user-after-free issues. Solution: Reorder disconnect() calls, and explicitly cancel the work using cancel_work_sync(). Signed-off-by: Sven Van Asbroeck --- Samuel, I'm

RE: [PATCH 1/2] drivers/gpio/gpio-adp5588.c: add device tree support

2019-02-05 Thread Hennerich, Michael
> -Original Message- > From: Nikolaus Voss [mailto:n...@vosn.de] > Sent: Mittwoch, 25. Juli 2018 10:44 > To: Hennerich, Michael ; Linus Walleij > > Cc: linux-g...@vger.kernel.org; linux-kernel@vger.kernel.org; Nikolaus Voss > > Subject: [PATCH 1/2] drivers/gpio/gpio-adp5588.c: add

[PATCH v5 2/3] lib/lzo: separate lzo-rle from lzo

2019-02-05 Thread Dave Rodgman
To prevent any issues with persistent data, separate lzo-rle from lzo so that it is treated as a separate algorithm, and lzo is still available. Signed-off-by: Dave Rodgman Cc: David S. Miller Cc: Greg Kroah-Hartman Cc: Herbert Xu Cc: Markus F.X.J. Oberhumer Cc: Matt Sealey Cc: Minchan Kim

[PATCH v5 1/3] lib/lzo: implement run-length encoding

2019-02-05 Thread Dave Rodgman
When using zram, we frequently encounter long runs of zero bytes. This adds a special case which identifies runs of zeros and encodes them using run-length encoding. This is faster for both compression and decompresion. For high-entropy data which doesn't hit this case, impact is minimal.

[PATCH v5 3/3] zram: default to lzo-rle instead of lzo

2019-02-05 Thread Dave Rodgman
lzo-rle gives higher performance and similar compression ratios to lzo. Signed-off-by: Dave Rodgman --- drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index

[PATCH v5 0/3]: lib/lzo: run-length encoding support

2019-02-05 Thread Dave Rodgman
Hi, Following on from the previous lzo-rle patchset: https://lkml.org/lkml/2018/11/30/972 This patchset contains only the RLE patches, and should be applied on top of the non-RLE patches ( https://lkml.org/lkml/2019/2/5/366 ). Previously, some questions were raised around the RLE patches.

[PATCH 1/2] tty: serial: meson_uart: Add support for kernel debugger

2019-02-05 Thread Julien Masson
The kgdb invokes the poll_put_char and poll_get_char when communicating with the host. This patch implement the serial polling hooks for the meson_uart to be used for KGDB debugging over serial line. Signed-off-by: Julien Masson --- drivers/tty/serial/meson_uart.c | 46

Re: [PATCH v2] livepatch: core: Return EOPNOTSUPP instead of ENOSYS

2019-02-05 Thread Josh Poimboeuf
On Tue, Feb 05, 2019 at 03:33:28AM +0900, Alice Ferrazzi wrote: > From: Alice Ferrazzi > > As a result of an unsupported operation is better to use EOPNOTSUPP > as error code. > ENOSYS is only used for 'invalid syscall nr' and nothing else. > > Signed-off-by: Alice Ferrazzi Acked-by: Josh

Re: Frequent dwc3 crashes on suspend or reboot since 5.0-rc1

2019-02-05 Thread Alan Stern
On Mon, 4 Feb 2019, John Stultz wrote: > On Sat, Feb 2, 2019 at 9:00 AM Alan Stern wrote: > > > > On Fri, 1 Feb 2019, John Stultz wrote: > > > > > Hey all, > > > Since the 5.0 merge window opened, I've been tripping on frequent > > > dwc3 crashes on reboot and suspend, which I've added an

RE: [PATCH 2/2] drivers/gpio/gpio-adp5588.c: switch to events system

2019-02-05 Thread Hennerich, Michael
> -Original Message- > From: Nikolaus Voss [mailto:n...@vosn.de] > Sent: Dienstag, 5. Februar 2019 14:31 > To: Hennerich, Michael ; Linus Walleij > > Cc: linux-g...@vger.kernel.org; linux-kernel@vger.kernel.org; Nikolaus Voss > > Subject: [PATCH 2/2] drivers/gpio/gpio-adp5588.c:

Re: [PATCH 0/1] ACPI / scan: Create platform device for BSG2150 ACPI nodes

2019-02-05 Thread Andy Shevchenko
On Thu, Dec 20, 2018 at 4:35 PM Hans de Goede wrote: > > Hi All, > > This patch adds support for another ACPI HID which describes multiple > i2c-clients in a single node. As such this applies on top of the recent > patch from Andy making a similar change for INT3515 nodes: > > Commit a3dd034a1707

Re: [PATCH v2] mtd: rawnand: jz4780: fix possible object reference leak

2019-02-05 Thread Miquel Raynal
Hi Wen, Wen Yang wrote on Tue, 5 Feb 2019 15:07:21 +: > of_find_device_by_node() takes a reference to the struct device > when it finds a match via get_device, there is no need to call > get_device() twice. > We also should make sure to drop the reference to the device > taken by

Re: [PATCH] platform/x86: touchscreen_dmi: Add info for the PoV Wintab P1006w (v1.0) tablet

2019-02-05 Thread Andy Shevchenko
On Thu, Dec 20, 2018 at 11:22 PM Hans de Goede wrote: > > Add touchscreen info for the Point of View Wintab P1006w (v1.0) tablet. > Pushed to my review and testing queue, thanks! > Signed-off-by: Hans de Goede > --- > drivers/platform/x86/touchscreen_dmi.c | 29 ++ > 1

[PATCH v2] mtd: rawnand: gpmi: fix MX28 bus master lockup problem

2019-02-05 Thread Martin Kepplinger
Disable BCH soft reset according to MX23 erratum #2847 ("BCH soft reset may cause bus master lock up") for MX28 too. It has the same problem. Observed problem: once per 100,000+ MX28 reboots NAND read failed on DMA timeout errors: [1.770823] UBI: attaching mtd3 to ubi0 [2.768088]

RE: [PATCH v2] dt-bindings: PCI: rcar: Add device tree support for r8a774c0

2019-02-05 Thread Fabrizio Castro
Hello Simon, hello Lorenzo > From: Simon Horman > Sent: 05 February 2019 15:37 > Subject: Re: [PATCH v2] dt-bindings: PCI: rcar: Add device tree support for > r8a774c0 > > On Fri, Feb 01, 2019 at 05:40:05PM +, Lorenzo Pieralisi wrote: > > On Tue, Dec 18, 2018 at 12:02:42PM +, Fabrizio

Re: [PATCH v3 2/3] platform/x86: wmi: add WMI support to MODULE_DEVICE_TABLE()

2019-02-05 Thread Andy Shevchenko
On Sun, Feb 3, 2019 at 9:04 PM Mattias Jacobsson <2...@mok.nu> wrote: > On 2019-01-30, Andy Shevchenko wrote: > > On Wed, Jan 30, 2019 at 5:15 PM Mattias Jacobsson <2...@mok.nu> wrote: > > > + if (len < 0 || len >= 500) { > > > > Would it even possible to get a negative number here? > >

Re: [PATCH] mtd: rawnand: gpmi: fix MX28 bus master lockup problem

2019-02-05 Thread Fabio Estevam
Hi Martin, On Tue, Feb 5, 2019 at 1:42 PM Martin Kepplinger wrote: > Actually I rebased this from our 4.14 stable tree, so yes, I just forgot > about that and I guess it would be > > Fixes: 6f2a6a52560a ("mtd: nand: gpmi: reset BCH earlier, too, to avoid > NAND startup problems") > > Do you

[PATCH v5 11/13] spi: atmel-quadspi: add support for named peripheral clock

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus Naming clocks is a good practice. Keep supporting unnamed peripheral clock, to be backward compatible with old DTs. While here, rename clk to pclk, to indicate that it is a peripheral clock. Suggested-by: Boris Brezillon Signed-off-by: Tudor Ambarus Reviewed-by: Boris

[PATCH v5 12/13] dt-bindings: spi: atmel-quadspi: QuadSPI driver for Microchip SAM9X60

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus The sam9x60 qspi controller uses 2 clocks, one for the peripheral register access, the other for the qspi core and phy. Both are mandatory. Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: no change v4: collect R-b v3: "pclk" was made mandatory in previous

[PATCH v5 08/13] spi: atmel-quadspi: rework transfer macros

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus Split the TFRTYP_TRSFR_ bitfields in 2: one bit encoding the mem/reg transfer type and one bit encoding the direction of the transfer (read/write). Remove NOP when setting read transfer type. Remove useless setting of write transfer type when op->data.dir == SPI_MEM_DATA_IN

[PATCH v5 13/13] spi: atmel-quadspi: add support for sam9x60 qspi controller

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus The sam9x60 qspi controller uses 2 clocks, one for the peripheral register access, the other for the qspi core and phy. Both are mandatory. It uses different transfer type bits in IFR register. It has dedicated registers to specify a read or a write instruction: Read

[PATCH v5 09/13] dt-bindings: spi: atmel-quadspi: update example to new clock binding

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus Introduced in: commit b60557876849 ("ARM: dts: at91: sama5d2: switch to new clock binding") Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: no change v4: no change v3: new patch Documentation/devicetree/bindings/spi/atmel-quadspi.txt | 2 +- 1 file

[PATCH v5 07/13] spi: atmel-quadspi: switch to SPDX license identifiers

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus Adopt the SPDX license identifiers to ease license compliance management. Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: no change v4: no change v3: no change v2: collect R-b drivers/spi/atmel-quadspi.c | 13 + 1 file changed, 1

[PATCH v5 10/13] dt-bindings: spi: atmel-quadspi: make "pclk" mandatory

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus Naming clocks is a good practice. Make "pclk" madatory even if we support unnamed clock in the driver, to be backward compatible with old DTs. Suggested-by: Boris Brezillon Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: no change v4: add missing

[PATCH v5 06/13] spi: atmel-quadspi: return appropriate error code

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus Return -ENOTSUPP when atmel_qspi_find_mode() fails. Propagate the error in atmel_qspi_exec_op(). Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: no change v4: no change v3: no change v2: collect R-b drivers/spi/atmel-quadspi.c | 4 ++-- 1 file changed,

[PATCH v5 05/13] spi: atmel-quadspi: remove unnecessary cast

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus The cast is done implicitly. Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: no changes v4: no changes v3: no changes v2: collect R-b drivers/spi/atmel-quadspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v5 02/13] spi: atmel-quadspi: order header files inclusion alphabetically

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus Cosmetic change, no functional change. Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: no change v4: no change v3: no change v2: collect R-b drivers/spi/atmel-quadspi.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH v5 04/13] spi: atmel-quadspi: fix naming scheme

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus Let general names to core drivers. Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: no changes v4: collect R-b v3: no change v2: update after the removing of iomem access wrappers drivers/spi/atmel-quadspi.c | 16 1 file changed, 8

[PATCH v5 03/13] spi: atmel-quadspi: drop wrappers for iomem accesses

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus The wrappers hid that the accesses are relaxed. Drop them. Suggested-by: Boris Brezillon Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: no changes v4: - drop local variable that kept aq->regs, the compiler should be smart enough to store it in a

Re: [PATCH v3 08/10] x86/setcpuid: Add kernel option setcpuid

2019-02-05 Thread Borislav Petkov
On Tue, Feb 05, 2019 at 07:19:16AM -0800, Dave Hansen wrote: > This is one of the few times that we're pretty confident that folks will > use this. The reason we're going to this trouble is that the split lock > detection is wanted by actual customers, and they want it before it's > implemented

[PATCH v5 00/13] spi: atmel-quadspi: introduce sam9x60 qspi controller

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus Patches from 1 to 11 are minor fixes or cosmetics. Patches 12 and 13 introduce the sam9x60 qspi controller. sam9x60 qspi controller tested with sst26vf064b jedec,spi-nor flash. Backward compatibility test done on sama5d2 qspi controller and mx25l25635e jedec,spi-nor flash.

[PATCH v5 01/13] spi: atmel-quadspi: cache MR value to avoid a write access

2019-02-05 Thread Tudor.Ambarus
From: Tudor Ambarus Set the controller by default in Serial Memory Mode (SMM) at probe. Cache Mode Register (MR) value to avoid write access when setting the controller in serial memory mode at exec_op(). Signed-off-by: Tudor Ambarus Reviewed-by: Boris Brezillon --- v5: collect R-b v4:

Re: perf: python3 + tests attr.py failing

2019-02-05 Thread Jiri Olsa
On Tue, Feb 05, 2019 at 10:49:35AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Feb 04, 2019 at 09:37:38PM +0100, Jiri Olsa escreveu: > > On Mon, Feb 04, 2019 at 12:10:42PM -0300, Arnaldo Carvalho de Melo wrote: > > > Noticed this now when building with PYTHON=python3, can you take a look? > >

Re: [PATCH v2 01/14] dt-bindings: remoteproc: Add TI PRUSS bindings

2019-02-05 Thread Roger Quadros
Murali, On 05/02/19 17:08, Murali Karicheri wrote: > Hi Roger, > > On 02/05/2019 04:39 AM, Roger Quadros wrote: >> Hi Tony & Suman, >> >> On 04/02/19 18:33, Tony Lindgren wrote: >>> Hi, >>> >>> * Roger Quadros [190204 14:23]: From: Suman Anna >>> ... +Example: + +1.

[PATCH v2 2/3] mmc: sunxi: Filter out unsupported modes declared in the device tree

2019-02-05 Thread Chen-Yu Tsai
The MMC device tree bindings include properties used to signal various signalling speed modes. Until now the sunxi driver was accepting them without any further filtering, while the sunxi device trees were not actually using them. Since some of the H5 boards can not run at higher speed modes

[PATCH v2 1/3] mmc: sunxi: Disable HS-DDR mode for H5 eMMC controller by default

2019-02-05 Thread Chen-Yu Tsai
Some H5 boards seem to not have proper trace lengths for eMMC to be able to use the default setting for the delay chains under HS-DDR mode. These include the Bananapi M2+ H5 and NanoPi NEO Core2. However the Libre Computer ALL-H3-CC-H5 works just fine. For the H5 (at least for now), default to

[PATCH v2 0/3] mmc: sunxi: Fix eMMC usage on H5 boards

2019-02-05 Thread Chen-Yu Tsai
Hi everyone, This is v2 of my H5 eMMC fix series. Changes since v1: - Don't block HS200 and UHS modes, since these have been tested Original cover letter: Since the HS-DDR mode was enabled for the A64 eMMC controller, there have been reports of eMMC failing to work on some H5 boards. It

[PATCH v2 3/3] arm64: dts: allwinner: h5: libretech-all-h3-cc: Mark eMMC HS-DDR 3.3V capable

2019-02-05 Thread Chen-Yu Tsai
The Libre Computer ALL-H3-CC H5 is one of the few boards that can have its eMMC run at HS-DDR speed mode. Mark it as such. Signed-off-by: Chen-Yu Tsai --- .../boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dts | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH] mtd: rawnand: gpmi: fix MX28 bus master lockup problem

2019-02-05 Thread Martin Kepplinger
On 05.02.19 16:22, Fabio Estevam wrote: On Tue, Feb 5, 2019 at 11:00 AM Miquel Raynal wrote: Hi Martin, Martin Kepplinger wrote on Tue, 29 Jan 2019 16:37:00 +0100: From: Martin Kepplinger Disable BCH soft reset according to MX23 erratum #2847 ("BCH soft reset may cause bus master lock

Re: mm: race in put_and_wait_on_page_locked()

2019-02-05 Thread Hugh Dickins
On Tue, 5 Feb 2019, Artem Savkov wrote: > On Mon, Feb 04, 2019 at 12:42:50PM -0800, Hugh Dickins wrote: > > On Mon, 4 Feb 2019, Artem Savkov wrote: > > > > > Hi Hugh, > > > > > > Your recent patch 9a1ea439b16b "mm: put_and_wait_on_page_locked() while > > > page is migrated" seems to have

[PATCH 1/1] Fix: arm: kprobes: optimized kprobes illegal instruction

2019-02-05 Thread Mathieu Desnoyers
commit e46daee53bb5 ("ARM: 8806/1: kprobes: Fix false positive with FORTIFY_SOURCE") introduced a regression in optimized kprobes. It triggers "invalid instruction" oopses when using kprobes instrumentation through lttng and perf. This commit was introduced in kernel v4.20, and has been backported

Re: [PATCH v2] dt-bindings: PCI: rcar: Add device tree support for r8a774c0

2019-02-05 Thread Simon Horman
On Fri, Feb 01, 2019 at 05:40:05PM +, Lorenzo Pieralisi wrote: > On Tue, Dec 18, 2018 at 12:02:42PM +, Fabrizio Castro wrote: > > Add PCIe support for the RZ/G2E (a.k.a. R8A774C0). > > > > Signed-off-by: Fabrizio Castro > > Reviewed-by: Geert Uytterhoeven > > --- > > v1->v2: > > *

Re: [PATCH v3 08/10] x86/setcpuid: Add kernel option setcpuid

2019-02-05 Thread Peter Zijlstra
On Tue, Feb 05, 2019 at 07:21:59AM -0800, Dave Hansen wrote: > On 2/5/19 12:51 AM, Peter Zijlstra wrote: > > On Mon, Feb 04, 2019 at 01:09:12PM -0800, Fenghua Yu wrote: > > > >> Intel SDM published TODAY does have IA32_CORE_CAPABILITY MSR enumerateion > >> bit CPUID.0x7.0:EDX[30] now. Please

Re: [PATCH v5 2/4] perf record: bind the AIO user space buffers to nodes

2019-02-05 Thread Alexey Budankov
On 05.02.2019 18:15, Arnaldo Carvalho de Melo wrote: > Em Mon, Feb 04, 2019 at 10:47:03PM +0300, Alexey Budankov escreveu: >> >> On 04.02.2019 22:29, Arnaldo Carvalho de Melo wrote: >>> Em Tue, Jan 22, 2019 at 08:48:54PM +0300, Alexey Budankov escreveu: Allocate and bind AIO user space

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

2019-02-05 Thread Andy Shevchenko
On Tue, Feb 5, 2019 at 4:21 PM Life is hard, and then you die wrote: > > > +config KEYBOARD_APPLESPI > > > + tristate "Apple SPI keyboard and trackpad" > > > > > + depends on (X86 && ACPI && SPI) || COMPILE_TEST > > > > COMPILE_TEST more or less makes sense in conjunction with architecture

Re: [PATCH V4 0/6] add pvpanic driver framework

2019-02-05 Thread Andy Shevchenko
On Sun, Feb 3, 2019 at 11:23 AM wrote: > >> QEMU community requires additional PCI devices to simulate PVPANIC > >> devices so that some architectures can not occupy precious less than 4G > >> of memory space. > >> Previously, I added PCI driver directly to the original version of the > >>

Re: [PATCH 0/8] ARM: davinci: move the da8xx-ohci GPIO logic into the driver

2019-02-05 Thread Alan Stern
On Tue, 5 Feb 2019, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > In order to drop the hard-coded GPIO base values from the davinci GPIO > driver's platform data, we first need to get rid of all calls to the > legacy GPIO functions. > > This series moves the GPIO logic related to

[PATCH 1/1] Fix: arm: kprobes: optimized kprobes illegal instruction

2019-02-05 Thread Mathieu Desnoyers
commit e46daee53bb5 ("ARM: 8806/1: kprobes: Fix false positive with FORTIFY_SOURCE") introduced a regression in optimized kprobes. It triggers "invalid instruction" oopses when using kprobes instrumentation through lttng and perf. This commit was introduced in kernel v4.20, and has been backported

Re: [PATCH 1/1] Fix: arm: kprobes: optimized kprobes illegal instruction

2019-02-05 Thread Mathieu Desnoyers
- On Feb 5, 2019, at 10:04 AM, Kees Cook keesc...@chromium.org wrote: > On Mon, Feb 4, 2019 at 9:52 PM Mathieu Desnoyers > wrote: >> >> commit e46daee53bb5 "ARM: 8806/1: kprobes: Fix false positive with >> FORTIFY_SOURCE" >> introduced a regression in optimized kprobes. It triggers "invalid

Re: Question on handling managed IRQs when hotplugging CPUs

2019-02-05 Thread John Garry
On 05/02/2019 15:15, Hannes Reinecke wrote: On 2/5/19 4:09 PM, John Garry wrote: On 05/02/2019 14:52, Keith Busch wrote: On Tue, Feb 05, 2019 at 05:24:11AM -0800, John Garry wrote: On 04/02/2019 07:12, Hannes Reinecke wrote: Hi Hannes, So, as the user then has to wait for the system to

[RFC][PATCH] signal: Store pending signal exit in tsk.jobctl not in tsk.pending

2019-02-05 Thread Eric W. Biederman
Recently syzkaller was able to create unkillablle processes by creating a timer that is delivered as a thread local signal on SIGHUP, and receiving SIGHUP SA_NODEFERER. Ultimately causing a loop failing to deliver SIGHUP but always trying. Upon examination it turns out part of the problem is

[PATCH 1/2] drivers/gpio/gpio-adp5588.c: add device tree support

2019-02-05 Thread Nikolaus Voss
Make platform data optional and add DT id table. Switch to dynamically mapped GPIOs and IRQs if not provided via platform data. Signed-off-by: Nikolaus Voss --- drivers/gpio/gpio-adp5588.c | 151 1 file changed, 68 insertions(+), 83 deletions(-) diff --git

[PATCH 2/2] drivers/gpio/gpio-adp5588.c: switch to events system

2019-02-05 Thread Nikolaus Voss
Interupts were generated using GPIN interrupts of ADP5588. These interrupts have two important limitations: 1. Interrupts can only be generated for either rising or falling edges but not both. 2. Interrupts are reasserted as long as the interrupt condition persists (i.e. high or low level on

Re: [RFC v1 0/3] Address potential user-after-free on module unload

2019-02-05 Thread Sven Van Asbroeck
On Tue, Feb 5, 2019 at 9:57 AM Kees Cook wrote: > > > Can a Coccinelle script get written to find module-use of the non-devm > work init? My thoughts exactly ! But sadly I'm not a Coccinelle expert. I did look briefly at its syntax, but I didn't immediately "get" how Cocci could find this class

Re: [PATCH V4 3/9] x86/jump_label: Move checking code away from __jump_label_transform()

2019-02-05 Thread Daniel Bristot de Oliveira
On 2/5/19 8:33 AM, Borislav Petkov wrote: > On Mon, Feb 04, 2019 at 08:58:56PM +0100, Daniel Bristot de Oliveira wrote: >> Move the check of the current code, before updating an entry, to specialized >> functions. No changes in the method, only code relocation. >> >> Signed-off-by: Daniel Bristot

Re: [PATCH] mtd: rawnand: gpmi: fix MX28 bus master lockup problem

2019-02-05 Thread Fabio Estevam
On Tue, Feb 5, 2019 at 11:00 AM Miquel Raynal wrote: > > Hi Martin, > > Martin Kepplinger wrote on Tue, 29 Jan 2019 > 16:37:00 +0100: > > > From: Martin Kepplinger > > > > Disable BCH soft reset according to MX23 erratum #2847 ("BCH soft > > reset may cause bus master lock up") for MX28 too. It

Re: [PATCH v3 08/10] x86/setcpuid: Add kernel option setcpuid

2019-02-05 Thread Dave Hansen
On 2/5/19 12:51 AM, Peter Zijlstra wrote: > On Mon, Feb 04, 2019 at 01:09:12PM -0800, Fenghua Yu wrote: > >> Intel SDM published TODAY does have IA32_CORE_CAPABILITY MSR enumerateion >> bit CPUID.0x7.0:EDX[30] now. Please check today's SDM for the bit: >>

Re: [PATCH v3 08/10] x86/setcpuid: Add kernel option setcpuid

2019-02-05 Thread Dave Hansen
On 2/5/19 12:48 AM, Peter Zijlstra wrote: > On Mon, Feb 04, 2019 at 12:46:30PM -0800, Dave Hansen wrote: >> So, the compromise we reached in this case is that Intel will fully >> document the future silicon architecture, and then write the kernel >> implementation to _that_. Then, for the weirdo

Re: [PATCH] x86/ima: require signed kernel modules

2019-02-05 Thread Seth Forshee
On Thu, Jan 31, 2019 at 02:18:59PM -0500, Mimi Zohar wrote: > Require signed kernel modules on systems with secure boot mode enabled. > > To coordinate between appended kernel module signatures and IMA > signatures, only define an IMA MODULE_CHECK policy rule if > CONFIG_MODULE_SIG is not

Re: [PATCHv5 04/10] node: Link memory nodes to their compute nodes

2019-02-05 Thread Rafael J. Wysocki
On Tue, Feb 5, 2019 at 3:52 PM Greg Kroah-Hartman wrote: > > On Tue, Feb 05, 2019 at 01:33:27PM +0100, Rafael J. Wysocki wrote: > > > +/** > > > + * struct node_access_nodes - Access class device to hold user visible > > > + * relationships to other nodes. > > > + *

Re: Question on handling managed IRQs when hotplugging CPUs

2019-02-05 Thread Keith Busch
On Tue, Feb 05, 2019 at 04:10:47PM +0100, Hannes Reinecke wrote: > On 2/5/19 3:52 PM, Keith Busch wrote: > > Whichever layer dispatched the IO to a CPU specific context should > > be the one to wait for its completion. That should be blk-mq for most > > block drivers. > > > Indeed. > But we don't

Re: [PATCH v5 2/4] perf record: bind the AIO user space buffers to nodes

2019-02-05 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 04, 2019 at 10:47:03PM +0300, Alexey Budankov escreveu: > > On 04.02.2019 22:29, Arnaldo Carvalho de Melo wrote: > > Em Tue, Jan 22, 2019 at 08:48:54PM +0300, Alexey Budankov escreveu: > >> > >> Allocate and bind AIO user space buffers to the memory nodes > >> that mmap kernel buffers

Re: Question on handling managed IRQs when hotplugging CPUs

2019-02-05 Thread Hannes Reinecke
On 2/5/19 4:09 PM, John Garry wrote: On 05/02/2019 14:52, Keith Busch wrote: On Tue, Feb 05, 2019 at 05:24:11AM -0800, John Garry wrote: On 04/02/2019 07:12, Hannes Reinecke wrote: Hi Hannes, So, as the user then has to wait for the system to declars 'ready for CPU remove', why can't we

Re: [PATCH v6 10/10] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-02-05 Thread Guenter Roeck
On 2/5/19 1:09 AM, Matti Vaittinen wrote: Initial support for watchdog block included in ROHM BD70528 power management IC. Configurations for low power states are still to be checked. Signed-off-by: Matti Vaittinen Acked-by: Guenter Roeck --- Please note that I translated following comment:

Re: [PATCH 4.4 00/65] 4.4.173-stable review

2019-02-05 Thread Guenter Roeck
On 2/5/19 6:42 AM, Greg Kroah-Hartman wrote: On Mon, Feb 04, 2019 at 02:48:17PM -0800, Guenter Roeck wrote: On Mon, Feb 04, 2019 at 11:35:53AM +0100, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.173 release. There are 65 patches in this series, all will be

Re: Question on handling managed IRQs when hotplugging CPUs

2019-02-05 Thread Keith Busch
On Tue, Feb 05, 2019 at 03:09:28PM +, John Garry wrote: > On 05/02/2019 14:52, Keith Busch wrote: > > On Tue, Feb 05, 2019 at 05:24:11AM -0800, John Garry wrote: > > > On 04/02/2019 07:12, Hannes Reinecke wrote: > > > > > > Hi Hannes, > > > > > > > > > > > So, as the user then has to wait

Re: Question on handling managed IRQs when hotplugging CPUs

2019-02-05 Thread Hannes Reinecke
On 2/5/19 3:52 PM, Keith Busch wrote: On Tue, Feb 05, 2019 at 05:24:11AM -0800, John Garry wrote: On 04/02/2019 07:12, Hannes Reinecke wrote: Hi Hannes, So, as the user then has to wait for the system to declars 'ready for CPU remove', why can't we just disable the SQ and wait for all I/O

Re: Question on handling managed IRQs when hotplugging CPUs

2019-02-05 Thread John Garry
On 05/02/2019 14:52, Keith Busch wrote: On Tue, Feb 05, 2019 at 05:24:11AM -0800, John Garry wrote: On 04/02/2019 07:12, Hannes Reinecke wrote: Hi Hannes, So, as the user then has to wait for the system to declars 'ready for CPU remove', why can't we just disable the SQ and wait for all I/O

Re: [PATCH] arm64: dts: imx8mq: Add RTC support

2019-02-05 Thread Fabio Estevam
On Thu, Jan 31, 2019 at 1:03 PM Abel Vesa wrote: > > Add RTC support for i.MX8MQ. > > Signed-off-by: Abel Vesa Reviewed-by: Fabio Estevam

Re: [PATCH-next] drm/sun4i: Use PTR_ERR_OR_ZERO in sun8i_phy_clk_create()

2019-02-05 Thread Chen-Yu Tsai
On Sun, Feb 3, 2019 at 8:07 AM Christopher Diaz Riveros wrote: > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Maxime's reply to the patch "drm/sun4i: hdmi: Use PTR_ERR_OR_ZERO in sun4i_tmds_create()" [1] probably applies to this one as well: """ While this is technically correct

[PATCH 7/8] perf trace: Support multiple "vfs_getname" probes

2019-02-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo With a suitably defined "probe:vfs_getname" probe, 'perf trace' can "beautify" its output, so syscalls like open() or openat() can print the "filename" argument instead of just its hex address, like: $ perf trace -e open -- touch /dev/null [...] 0.590 (

[PATCH 8/8] perf script python: Add Python3 support to tests/attr.py

2019-02-05 Thread Arnaldo Carvalho de Melo
From: Tony Jones Support both Python 2 and Python 3 in tests/attr.py The use of "except as" syntax implies the minimum supported Python2 version is now v2.6 Committer testing: $ make -C tools/perf PYTHON3=python install-bin Before: # perf test attr 16: Setup struct perf_event_attr

[PATCH 6/8] perf symbols: Filter out hidden symbols from labels

2019-02-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa When perf is built with the annobin plugin (RHEL8 build) extra symbols are added to its binary: # nm perf | grep annobin | head -10 00241100 t .annobin_annotate.c 00326490 t .annobin_annotate.c 00249255 t .annobin_annotate.c_end 003283a8

[PATCH 1/8] perf tests evsel-tp-sched: Fix bitwise operator

2019-02-05 Thread Arnaldo Carvalho de Melo
From: "Gustavo A. R. Silva" Notice that the use of the bitwise OR operator '|' always leads to true in this particular case, which seems a bit suspicious due to the context in which this expression is being used. Fix this by using bitwise AND operator '&' instead. This bug was detected with

[PATCH 2/8] perf mem/c2c: Fix perf_mem_events to support powerpc

2019-02-05 Thread Arnaldo Carvalho de Melo
From: Ravi Bangoria PowerPC hardware does not have a builtin latency filter (--ldlat) for the "mem-load" event and perf_mem_events by default includes "/ldlat=30/" which is causing a failure on PowerPC. Refactor the code to support "perf mem/c2c" on PowerPC. This patch depends on kernel side

[PATCH 3/8] perf clang: Do not use 'return std::move(something)'

2019-02-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo It prevents copy elision, generating this warning when building with fedora:rawhide's clang: clang version 7.0.1 (Fedora 7.0.1-2.fc30) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candidate GCC installation:

[PATCH 4/8] tools headers uapi: Sync linux/in.h copy from the kernel sources

2019-02-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To get the changes in this cset: f275ee0fa3a0 ("IN_BADCLASS: fix macro to actually work") The macros changed in this cset are not used in tools/, so this is just to silence this perf tools build warning: Warning: Kernel ABI header at

[PATCH 5/8] perf symbols: Add fallback definitions for GELF_ST_VISIBILITY()

2019-02-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Those aren't present in Alpine Linux 3.4 to edge, so provide fallback defines to get the next patch building there keeping the build bisectable. Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Michael Petlan Cc: Namhyung Kim

[GIT PULL 0/8] perf/urgent fixes

2019-02-05 Thread Arnaldo Carvalho de Melo
repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-5.0-20190205 for you to fetch changes up to 8f2f350cbdb2c2fbff654cb778139144b48a59ba: perf script python: Add Python3 support to tests/attr.py (2019-02-05 10:31:08 -0300

Re: [PATCH v2 01/14] dt-bindings: remoteproc: Add TI PRUSS bindings

2019-02-05 Thread Murali Karicheri
Hi Roger, On 02/05/2019 04:39 AM, Roger Quadros wrote: Hi Tony & Suman, On 04/02/19 18:33, Tony Lindgren wrote: Hi, * Roger Quadros [190204 14:23]: From: Suman Anna ... +Example: + +1. /* AM33xx PRU-ICSS */ + + pruss: pruss@0 { + compatible =

Re: BUG: optimized kprobes illegal instructions in v4.19 stable kernels

2019-02-05 Thread Kees Cook
On Mon, Feb 4, 2019 at 7:15 PM Mathieu Desnoyers wrote: > > Hi, > > I notice this commit as a possible culprit of the illegal instructions my > lttng > users are noticing on arm32 when using kprobes on a v4.19.13 Linux kernel > in a Yocto environment [1]. They were able to reproduce the issue

[PATCH] staging: vt6656: Use the correct style for SPDX license Identifier

2019-02-05 Thread Nishad Kamdar
This patch corrects the style for SPDX license Identifier in mac.h by using "/* */" in place of "//" as per Linux kernel licensing rules. Issue found by checkpatch. Signed-off-by: Nishad Kamdar --- drivers/staging/vt6656/mac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH v8 0/3] x86/boot/KASLR: Parse ACPI table and limit kaslr in immovable memory

2019-02-05 Thread Masayoshi Mizuma
Hi Boris and all, On Sun, Nov 11, 2018 at 08:45:57AM -0500, Masayoshi Mizuma wrote: > On Sat, Nov 10, 2018 at 11:54:22AM +0100, Borislav Petkov wrote: > > On Thu, Nov 08, 2018 at 11:51:29AM +0100, Borislav Petkov wrote: > > > A global definition which doesn't need allocation? > > > > > > Maybe

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