Re: [PATCH] sched/debug: initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK

2019-01-31 Thread Masayoshi Mizuma
On Wed, Jan 30, 2019 at 09:14:00PM +0100, Peter Zijlstra wrote: > On Tue, Jan 29, 2019 at 10:12:45AM -0500, Masayoshi Mizuma wrote: > > From: Hidetoshi Seto > > > > register_sched_domain_sysctl() copies the cpu_possible_mask into > > sd_sysctl_cpus, but only if sd_sysctl_cpus hasn't already been

Re: [PATCH 3/3] IIO: add Ingenic JZ47xx ADC driver.

2019-01-31 Thread Jonathan Cameron
On Mon, 28 Jan 2019 14:02:41 +0100 Artur Rojek wrote: > Add an IIO driver for the ADC hardware present on Ingenic JZ47xx SoCs. > > Signed-off-by: Artur Rojek Looks pretty good to me. A few minor things inline. Thanks, Jonathan > --- > drivers/iio/adc/Kconfig | 9 + >

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

2019-01-31 Thread Bartosz Golaszewski
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. The series can be logically split into four parts. The first (1-8) aims at introducing support for SPARSE_IRQ. It contains a couple changes

[PATCH 07/35] ARM: davinci: aintc: use irq domain

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We need to create an irq domain if we want to select SPARSE_IRQ. The cp-intc driver already supports it, but aintc doesn't. Use the helpers provided by the generic irq chip abstraction. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/irq.c | 38

[PATCH 04/35] ARM: davinci: pull davinci_intc_base into the respective intc drivers

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This variable is defined globally in common.c. Define separate local variables for the aintc and cp-intc drivers and remove the global one. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/common.c | 2 -- arch/arm/mach-davinci/cp_intc.c

[PATCH 08/35] ARM: davinci: select SPARSE_IRQ

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Everything is in place now for SPARSE_IRQ. Select it and set DAVINCI_INTC_START to NR_IRQS. We now need to include mach/irqs.h in a couple places as it is no longer indirectly included after selecting SPARSE_IRQ. Signed-off-by: Bartosz Golaszewski ---

[PATCH 10/35] ARM: davinci: aintc: wrap davinci_irq_init() with a helper

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're going to extend the davinci_irq_init() function with a config structure so we can drop the intc-related fields from davinci_soc_info. Once we do it, we won't be able to use this routine directly as the init_irq callback. Wrap the calls in additional helpers that

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

2019-01-31 Thread Bartosz Golaszewski
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 wrap all interrupt numbers with a macro and define DAVINCI_INTC_START to 0. Logically nothing changes for now. Signed-off-by:

[PATCH 03/35] ARM: davinci: remove davinci_intc_type

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now use the generic ARM irq handler on davinci. There are no more users that check davinci_intc_type. Remove the variable and all its references. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/common.c | 1 -

[PATCH 18/35] irqchip: davinci-aintc: move the driver to drivers/irqchip

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The aintc driver has now been cleaned up. Move it to drivers/irqchip where it belongs. There's no device-tree support for any dm* board so there's no IRQCHIP_OF_DECLARE() - there's only the exported init function called from machine code. Signed-off-by: Bartosz

[PATCH 14/35] ARM: davinci: aintc: use the new irqchip config structure in dm* SoCs

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add the new-style config structures for dm* SoCs. They will be used once we make the aintc driver stop using davinci_soc_info. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/dm355.c | 11 +++ arch/arm/mach-davinci/dm365.c | 11 +++

[PATCH 15/35] ARM: davinci: aintc: use the new config structure

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Modify the aintc driver to take all its configuration from the new config structure. Stop referencing davinci_soc_info in any way. Move the declaration for davinci_aintc_init() to irq-davinci-aintc.h and make it take the new config structure as parameter. Convert all

[PATCH 13/35] ARM: davinci: aintc: add a new config structure

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add a config structure that will be used by aintc-based platforms. It contains the register range resource, number of interrupts and a list of priorities. Signed-off-by: Bartosz Golaszewski --- include/linux/irqchip/irq-davinci-aintc.h | 17 + 1 file

[PATCH 23/35] ARM: davinci: cp-intc: use a common prefix for all symbols

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski In preparation for moving the driver to drivers/irqchip do some cleanup: use a common prefix for all symbols. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 143 ++-- arch/arm/mach-davinci/da830.c |

[PATCH 16/35] ARM: davinci: aintc: move timer-specific irq_set_handler() out of irq.c

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski I've been unable to figure out exactly why, but it seems that the IRQ_TINT1_TINT34 interrupt for timer 1 needs to be handled as a level irq, not edge like all others. This timer is used by the dsp on dm64* boards only. Let's move the handler setup out of the aintc

[PATCH 19/35] ARM: davinci: cp-intc: remove cp_intc.h

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no need to have a local header for cp-intc. Move the only declaration for a public function to common.h. Move all register offsets into the driver source file and drop all unused defines. Make cp_intc_of_init() static. Signed-off-by: Bartosz Golaszewski ---

[PATCH 21/35] ARM: davinci: cp-intc: add a new config structure

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add a config structure that will be used by cp-intc-based platforms. It contains the register range resource and the number of interrupts. Signed-off-by: Bartosz Golaszewski --- include/linux/irqchip/irq-davinci-cp-intc.h | 16 1 file changed, 16

[PATCH 25/35] ARM: davinci: cp-intc: use the new-style config structure

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Modify the cp-intc driver to take all its configuration from the new config structure. Stop referencing davinci_soc_info in any way. Move the declaration for davinci_cp_intc_init() to irq-davinci-cp-intc.h and make it take the new config structure as parameter. Convert

[PATCH 22/35] ARM: davinci: cp-intc: add the new config structures for da8xx SoCs

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add the new-style config structures for dm* SoCs. They will be used once we make the cp-intc driver stop using davinci_soc_info. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da830.c | 10 ++ arch/arm/mach-davinci/da850.c | 10 ++ 2

[PATCH] net: check negative value for signed refcnt

2019-01-31 Thread alexandre . besnard
From: Alexandre Besnard Device remaining references counter is get as a signed integer. When unregistering network devices, the loop waiting for this counter to decrement tests the 0 strict equality. Thus if an error occurs and two references are given back by a protocol, we are stuck in the

[PATCH 27/35] ARM: davinci: cp-intc: unify error handling

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use WARN_ON() on eny error in cp-intc initialization and drop all custom error messages. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git

[PATCH 28/35] ARM: davinci: cp-intc: remove unneeded include

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This header is no longer needed. Remove it. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-davinci/cp_intc.c b/arch/arm/mach-davinci/cp_intc.c index 8d751318682d..812e49fcaa8b

[PATCH 34/35] ARM: davinci: stop using defines from mach/irqs.h

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski As the second step in preparation for mach/irqs.h removal - replace all constants defined there with the DAVINCI_INTC_IRQ() macro which takes the NR_IRQS offset into account. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/asp.h | 8 +-

[PATCH 35/35] ARM: davinci: remove mach/irqs.h

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We can now remove mach/irqs.h as there are no more users. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-da830-evm.c | 1 - arch/arm/mach-davinci/board-da850-evm.c | 1 - arch/arm/mach-davinci/board-dm644x-evm.c | 1 -

[PATCH 30/35] ARM: davinci: cp-intc: remove redundant comments

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We don't need comments explaining what functions with obvious names do. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-davinci/cp_intc.c b/arch/arm/mach-davinci/cp_intc.c

[PATCH 32/35] ARM: davinci: remove intc related fields from davinci_soc_info

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski These are no longer used. Remove them. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da830.c | 19 --- arch/arm/mach-davinci/da850.c | 20 arch/arm/mach-davinci/dm355.c | 3

[PATCH 31/35] irqchip: davinci-cp-intc: move the driver to drivers/irqchip

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The cp-intc driver has now been cleaned up. Move it to drivers/irqchip where it belongs. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/Kconfig | 8 ++-- arch/arm/mach-davinci/Makefile| 2 --

[PATCH 24/35] ARM: davinci: cp-intc: convert all hex numbers to lowercase

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use lowercase letters in hexadecimal numbers as is done in most of the kernel code base. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-davinci/cp_intc.c

[PATCH 29/35] ARM: davinci: cp-intc: drop GPL license boilerplate

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Replace the GPLv2 license boilerplate with an SPDX identifier. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-davinci/cp_intc.c

[PATCH 01/35] ARM: davinci: remove intc_host_map from davinci_soc_info struct

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This field is not used by any board. Remove it as part of the interrupt support cleanup. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 5 - arch/arm/mach-davinci/include/mach/common.h | 1 - 2 files changed, 6 deletions(-)

[PATCH 33/35] ARM: davinci: prepare to remove mach/irqs.h

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Since we now select SPARSE_IRQ in davinci, the mach/irqs.h header is no longer included from asm/irq.h. All interrupt numbers for devices should be defined as platform device resources. Let's prepare for the removal of mach/irqs.h by moving all defines that we want to

[PATCH 26/35] ARM: davinci: cp-intc: improve coding style

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Drop tabs from variable initialization. Arrange variables in reverse christmas-tree order. Add a newline before a return. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/cp_intc.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff

[PATCH 20/35] ARM: davinci: cp-intc: add a wrapper around cp_intc_init()

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We're going to extend the cp_intc_init() function with a config structure so we can drop the intc-related fields from davinci_soc_info. Once we do it, we won't be able to use this routine directly as the init_irq callback. Wrap the calls in additional helpers that

[PATCH 09/35] ARM: davinci: aintc: drop GPL license boilerplate

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Replace the GPLv2 or later license boilerplate with an SPDX identifier. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/irq.c | 26 ++ 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-davinci/irq.c

[PATCH 17/35] ARM: davinci: aintc: remove unnecessary includes

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski These includes are no longer required. Remove them. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/irq.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-davinci/irq.c b/arch/arm/mach-davinci/irq.c index 2e114ad83adc..ce4625d9cad7

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

2019-01-31 Thread Bartosz Golaszewski
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 numbers are used as array indexes for irq priorities. Drop the defines and just initialize the arrays in a linear manner.

[PATCH 11/35] ARM: davinci: aintc: use a common prefix for symbols in the driver

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski In preparation for moving the driver to drivers/irqchip do some cleanup: use a common prefix for all symbols. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/dm355.c | 2 +- arch/arm/mach-davinci/dm365.c | 2 +-

[PATCH 12/35] ARM: davinci: aintc: drop the 00 prefix from register offsets

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Since no offset goes past 0xff - let's drop the 00 prefix for better readability. While we're at it: convert all hex numbers to lower-case. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/irq.c | 22 +++--- 1 file changed, 11

[PATCH 02/35] ARM: davinci: select GENERIC_IRQ_MULTI_HANDLER

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski In order to support SPARSE_IRQ we first need to make davinci use the generic irq handler for ARM. Translate the legacy assembly to C and put the irq handlers into their respective drivers (aintc and cp-intc). Signed-off-by: Bartosz Golaszewski --- arch/arm/Kconfig

Re: [PATCH v2 0/9] device connection: Add support for device graphs

2019-01-31 Thread Heikki Krogerus
On Thu, Jan 31, 2019 at 11:06:29AM +0100, Hans de Goede wrote: > Hi, > > On 30-01-19 17:02, Heikki Krogerus wrote: > > Hi, > > > > This is the second version of this series. On top the two code style > > improvements requested by Andy, I also renamed the connection > > identifiers used with the

Re: [PATCH v2 7/9] usb: typec: Find the ports by also matching against the device node

2019-01-31 Thread Heikki Krogerus
On Wed, Jan 30, 2019 at 06:51:56PM +0200, Andy Shevchenko wrote: > On Wed, Jan 30, 2019 at 6:03 PM Heikki Krogerus > wrote: > > > > When the connections are defined in firmware, struct > > device_connection will have the fwnode member pointing to > > the device node (struct fwnode_handle) of the

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-31 Thread Tomasz Figa
On Thu, Jan 31, 2019 at 9:42 PM Philipp Zabel wrote: > > Hi Nicolas, > > On Wed, 2019-01-30 at 10:32 -0500, Nicolas Dufresne wrote: > > Le mercredi 30 janvier 2019 à 15:17 +0900, Tomasz Figa a écrit : > > > > I don't remember saying that, maybe I meant to say there might be a > > > > workaround ?

Re: [PATCH v2 07/15] habanalabs: add h/w queues module

2019-01-31 Thread Mike Rapoport
On Thu, Jan 31, 2019 at 12:06:09AM +0200, Oded Gabbay wrote: > This patch adds the H/W queues module and the code to initialize Goya's > various compute and DMA engines and their queues. > > Goya has 5 DMA channels, 8 TPC engines and a single MME engine. For each > channel/engine, there is a H/W

[PATCH] cfi: fix deadloop in cfi_cmdset_0002.c do_write_buffer

2019-01-31 Thread Liu Jian
In function do_write_buffer(), in the for loop, there is a case chip_ready() returns 1 while chip_good() returns 0, so it never break the loop. To fix this, chip_good() is enough and it should timeout if it stay bad for a while. Fixes: dfeae1073583(mtd: cfi_cmdset_0002: Change write buffer to

[PATCH] dt-bindings: gpu: add bindings for the ARM Mali Bifrost GPU

2019-01-31 Thread Neil Armstrong
Add the bindings for the Bifrost family of ARM Mali GPUs. The Bifrost GPU architecture is similar to the Midgard family, but with a different Shader Core & Execution Engine structures. Bindings are based on the Midgard family bindings, but the inner architectural changes makes it a separate

[PATCH] drm/sun4i: tcon: Prepare and enable TCON channel 0 clock at init

2019-01-31 Thread Paul Kocialkowski
When initializing clocks, a reference to the TCON channel 0 clock is obtained. However, the clock is never prepared and enabled later. Switching from simplefb to DRM actually disables the clock (that was usually configured by U-Boot) because of that. On the V3s, this results in a hang when

Re: [PATCH 0/8] drm/meson: Add support for HDMI2.0 4k60

2019-01-31 Thread Neil Armstrong
Hi Andrzej, Laurent, On 15/01/2019 13:33, Neil Armstrong wrote: > This patchset aims to add support for the following HDMI2.0 4k60 modes: > - 594Mhz TMDS frequency needing TMDS Scramling and 1/40 rate for RGB/YUV4:4:4 > - 297MHz TMDS frequency with YUV4:2:0 encoding > > The first mode uses the

Re: [PATCH] irqchip/gic-v3-its: Fix probing for ITT_entry_size

2019-01-31 Thread Zenghui Yu
On 2019/1/31 20:48, Marc Zyngier wrote: On 31/01/2019 11:19, Zenghui Yu wrote: According to ARM IHI 0069C (ID070116), we should use GITS_TYPER's bits [7:4] as ITT_entry_size. Signed-off-by: Zenghui Yu --- include/linux/irqchip/arm-gic-v3.h | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v7 0/3] clk: clkdev add managed lookup registrations

2019-01-31 Thread Matti Vaittinen
Hello All, On Fri, Dec 07, 2018 at 01:09:00PM +0200, Matti Vaittinen wrote: > Series adds managed clkdev lookup interfaces and cleans few drivers > > Few clk drivers appear to be leaking clkdev lookup registrations at > driver remove. The patch series adds devm versions of lookup > registrations

Re: [PATCH 0/6] driver core: Fix some issues related to device links

2019-01-31 Thread Greg Kroah-Hartman
On Thu, Jan 31, 2019 at 02:22:47PM +0100, Greg Kroah-Hartman wrote: > On Thu, Jan 31, 2019 at 11:09:51AM +0100, Rafael J. Wysocki wrote: > > On Thu, Jan 24, 2019 at 12:25 PM Rafael J. Wysocki > > wrote: > > > > > > Hi Greg at al, > > > > > > Recently I have been looking at the device links code

Re: [PATCH 0/6] driver core: Fix some issues related to device links

2019-01-31 Thread Greg Kroah-Hartman
On Thu, Jan 31, 2019 at 11:09:51AM +0100, Rafael J. Wysocki wrote: > On Thu, Jan 24, 2019 at 12:25 PM Rafael J. Wysocki wrote: > > > > Hi Greg at al, > > > > Recently I have been looking at the device links code because of the > > recent discussion on possibly using them in the DRM subsystem (see

Re: [PATCH 0/4] drm/atmel-hlcdc: fix plane clipping/rotation issues

2019-01-31 Thread Boris Brezillon
On Thu, 31 Jan 2019 13:13:22 + Peter Rosin wrote: > On 2019-01-27 09:27, Boris Brezillon wrote: > > On Thu, 10 Jan 2019 15:10:28 + > > Peter Rosin wrote: > > > >> Hi! > >> > >> I found an unfortunate issue while recoding plane handling to use > >>

Re: [PATCH v3 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-31 Thread Hans Verkuil
On 1/31/19 1:44 PM, Philipp Zabel wrote: > On Thu, 2019-01-31 at 13:30 +0100, Hans Verkuil wrote: >> On 1/31/19 11:45 AM, Hans Verkuil wrote: >>> On 1/24/19 11:04 AM, Tomasz Figa wrote: Due to complexity of the video decoding process, the V4L2 drivers of stateful decoder hardware require

Re: [PATCHv5 1/7] arm64: dts: qcom: sdm845: Add Coresight support

2019-01-31 Thread Sai Prakash Ranjan
On 1/31/2019 12:07 AM, Mathieu Poirier wrote: On Tue, Jan 29, 2019 at 12:43:58AM +0530, Sai Prakash Ranjan wrote: Add coresight components found on Qualcomm SDM845 SoC. Signed-off-by: Sai Prakash Ranjan --- Depends on AOSS QMP side channel patches and AMBA bus pclk change by Bjorn Andersson

Re: [PATCH v4] mmc: mxs-mmc: Introduce regulator support

2019-01-31 Thread Martin Kepplinger
On 31.01.19 14:09, Robin van der Gracht wrote: On Thu, 31 Jan 2019 13:17:23 +0100 Ulf Hansson wrote: On Thu, 31 Jan 2019 at 09:20, Robin van der Gracht wrote: On Mon, 28 Jan 2019 22:15:23 +0100 Ulf Hansson wrote: ... BTW, you didn't really answer my earlier question about the TI WiFi

Re: [PATCH 0/4] drm/atmel-hlcdc: fix plane clipping/rotation issues

2019-01-31 Thread Peter Rosin
On 2019-01-27 09:27, Boris Brezillon wrote: > On Thu, 10 Jan 2019 15:10:28 + > Peter Rosin wrote: > >> Hi! >> >> I found an unfortunate issue while recoding plane handling to use >> drm_atomic_helper_check_plane_state(). The driver rotates clockwise, >> which is not correct. I simply fixed

Re: [PATCH 9/9] spi: atmel-quadspi: add support for sam9x60 qspi controller

2019-01-31 Thread Boris Brezillon
On Thu, 31 Jan 2019 12:40:04 + wrote: > On 01/31/2019 01:55 PM, Boris Brezillon wrote: > > On Wed, 30 Jan 2019 15:08:47 + > > wrote: > > > >> + > >> +static int atmel_sam9x60_qspi_set_cfg(struct atmel_qspi *aq, > >> +const struct spi_mem_op *op, > >> +

Re: [PATCH V3 01/13] perf/core, x86: Add PERF_SAMPLE_DATA_PAGE_SIZE

2019-01-31 Thread Andi Kleen
> > Aside from all the missin {}, I'm fairly sure this is broken since this > happens from NMI context. This can interrupt switch_mm() and things like > use_temporary_mm(). So the concern is that the sample is from before the switch, and then looks it up in the wrong page tables if the PMI

Re: [PATCH v5 00/13] KVM/X86: Introduce a new guest mapping interface

2019-01-31 Thread Paolo Bonzini
On 31/01/19 14:03, Raslan, KarimAllah wrote: > > One option here would be to add 'e820__mapped_raw_any' (or whatever  > other name) and make it identical to the current implementation of  > e820__mapped_any at. Would that be slightly more acceptable? :) Yes, of course it would (for me at least

Re: [PATCH v4] mmc: mxs-mmc: Introduce regulator support

2019-01-31 Thread Robin van der Gracht
On Thu, 31 Jan 2019 13:17:23 +0100 Ulf Hansson wrote: > On Thu, 31 Jan 2019 at 09:20, Robin van der Gracht wrote: > > > > On Mon, 28 Jan 2019 22:15:23 +0100 > > Ulf Hansson wrote: > > > > > On Mon, 28 Jan 2019 at 15:41, Martin Kepplinger > > > wrote: > > > > > > > > From: Martin

Re: [PATCH v5 00/13] KVM/X86: Introduce a new guest mapping interface

2019-01-31 Thread Raslan, KarimAllah
On Wed, 2019-01-30 at 18:14 +0100, Paolo Bonzini wrote: > On 25/01/19 19:28, Raslan, KarimAllah wrote: > > > > So the simple way to do it is: > > > > 1- Pass 'mem=' in the kernel command-line to limit the amount of memory > > managed  > >    by the kernel. > > 2- Map this physical memory you

Re: System crash with perf_fuzzer (kernel: 5.0.0-rc3)

2019-01-31 Thread Andi Kleen
On Thu, Jan 31, 2019 at 01:28:34PM +0530, Ravi Bangoria wrote: > Hi Andi, > > On 1/25/19 9:30 PM, Andi Kleen wrote: > >> [Fri Jan 25 10:28:53 2019] perf: interrupt took too long (2501 > 2500), > >> lowering kernel.perf_event_max_sample_rate to 79750 > >> [Fri Jan 25 10:29:08 2019] perf:

[PATCH] dma: Uninline dma_max_mapping_size()

2019-01-31 Thread Joerg Roedel
On Thu, Jan 31, 2019 at 11:41:29AM +0100, Christoph Hellwig wrote: > Sorry for not noticing last time, but since 5.0 we keep all non-fast > path DMA mapping interfaces out of line, so this should move to > kernel/dma/mapping.c. Okay, attached patch does that. It applies on-top of this patch-set.

Re: [PATCH v5 2/7] x86, olpc: Use a correct version when making up a battery node

2019-01-31 Thread Borislav Petkov
+ the platform maintainers. On Thu, Jan 31, 2019 at 01:26:16PM +0100, Lubomir Rintel wrote: > Hi, > > On Wed, 2019-01-23 at 21:56 +0100, Sebastian Reichel wrote: > > Hi, > > > > On Thu, Jan 10, 2019 at 06:40:00PM +0100, Lubomir Rintel wrote: > > > The XO-1 and XO-1.5 batteries apparently differ

Re:

2019-01-31 Thread Vladimir Murzin
Hi Souptick, On 1/31/19 5:54 AM, Souptick Joarder wrote: > On Thu, Jan 17, 2019 at 4:58 PM Mike Rapoport wrote: >> >> On Thu, Jan 17, 2019 at 04:53:44PM +0530, Souptick Joarder wrote: >>> On Mon, Jan 7, 2019 at 10:54 PM Souptick Joarder >>> wrote: Remove duplicate headers which are

Re: [PATCH V3 01/13] perf/core, x86: Add PERF_SAMPLE_DATA_PAGE_SIZE

2019-01-31 Thread Peter Zijlstra
On Thu, Jan 31, 2019 at 01:37:25PM +0100, Peter Zijlstra wrote: > On Wed, Jan 30, 2019 at 06:23:42AM -0800, kan.li...@linux.intel.com wrote: > > diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c > > index 374a197..03bf45d 100644 > > --- a/arch/x86/events/core.c > > +++

Re: [PATCH 2/3] mm/filemap: initiate readahead even if IOCB_NOWAIT is set for the I/O

2019-01-31 Thread Daniel Gruss
On 1/31/19 1:08 PM, Jiri Kosina wrote: > On Thu, 31 Jan 2019, Daniel Gruss wrote: > >> If I understood it correctly, this patch just removes the advantages of >> preadv2 over mmmap+access for the attacker. > > Which is the desired effect. We are not trying to solve the timing aspect, > as I

[PATCH RFC] virtio: hint if callbacks surprisingly might sleep

2019-01-31 Thread Cornelia Huck
A virtio transport is free to implement some of the callbacks in virtio_config_ops in a matter that they cannot be called from atomic context (e.g. virtio-ccw, which maps a lot of the callbacks to channel I/O, which is an inherently asynchronous mechanism). This can be very surprising for

Re: [PATCH V8 5/5] i2c: tegra: Add I2C interface timing support

2019-01-31 Thread Thierry Reding
On Wed, Jan 30, 2019 at 10:16:27PM -0800, Sowjanya Komatineni wrote: > This patch adds I2C interface timing registers support for > proper bus rate configuration along with meeting the i2c spec > setup and hold times based on the tuning performed on Tegra210, > Tegra186 and Tegra194 platforms. >

Re: [v1] PCI: mediatek: Remove MSI inner domain

2019-01-31 Thread Jianjun Wang
On Thu, 2019-01-31 at 09:44 +, Marc Zyngier wrote: > On 31/01/2019 09:19, Honghui Zhang wrote: > > On Tue, 2019-01-22 at 17:37 +0800, Jianjun Wang wrote: > >> There is no need to create the inner domain as a parent for MSI domian, > >> some feature has been implemented by MSI framework. > >> >

Re: [PATCH] irqchip/gic-v3-its: Fix probing for ITT_entry_size

2019-01-31 Thread Marc Zyngier
On 31/01/2019 11:19, Zenghui Yu wrote: > According to ARM IHI 0069C (ID070116), we should use GITS_TYPER's > bits [7:4] as ITT_entry_size. > > Signed-off-by: Zenghui Yu > --- > include/linux/irqchip/arm-gic-v3.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH V8 4/5] i2c: tegra: Update transfer timeout

2019-01-31 Thread Thierry Reding
On Wed, Jan 30, 2019 at 10:16:26PM -0800, Sowjanya Komatineni wrote: > Tegra194 allows max of 64K bytes and Tegra186 and prior allows > max of 4K bytes of transfer per packet. > > one sec timeout is not enough for transfers more than 10K bytes > at STD bus rate. > > This patch updates I2C

Re: use generic DMA mapping code in powerpc V4

2019-01-31 Thread Christian Zigotzky
Hi Christoph, I compiled kernels for the X5000 and X1000 from your branch 'powerpc-dma.6' today. Gitweb: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/powerpc-dma.6 git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a The X1000 and X5000 boot but

[PATCH v2 3/3] ARM: dts: rockchip: rv1108-evb: Use the correct regulator properties

2019-01-31 Thread Otavio Salvador
The following properties: - regulator-state-enabled - regulator-state-disabled - regulator-state-uv are not valid ones as per Documentation/devicetree/bindings/regulator/regulator.txt Fix it by using the correct properties as per the dt bindings. Signed-off-by: Otavio Salvador --- Changes in

[PATCH v2 2/3] ARM: dts: rockchip: rv1108-elgin: Use the correct regulator properties

2019-01-31 Thread Otavio Salvador
The following properties: - regulator-state-enabled - regulator-state-disabled - regulator-state-uv are not valid ones as per Documentation/devicetree/bindings/regulator/regulator.txt Fix it by using the correct properties as per the dt bindings. Signed-off-by: Otavio Salvador --- Changes in

[PATCH v2 1/3] ARM: dts: rockchip: rv1108-elgin: Fix vcc5/6-supply representation

2019-01-31 Thread Otavio Salvador
On rv1108-elgin-r1 board the RK805 VCC5 and VCC6 supplies come from the BUCK2 regulator at 2.2V, so fix the representation in the device tree. While at it, rename it from vdd_cam to vdd_buck2, which is a better name for the regulator label. Signed-off-by: Otavio Salvador --- Changes in v2:

Linux 4.20.6

2019-01-31 Thread Greg KH
I'm announcing the release of the 4.20.6 kernel. All users of the 4.20 kernel series must upgrade. The updated 4.20.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.20.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v5 1/2] spi: support inter-word delay requirement for devices

2019-01-31 Thread Mark Brown
On Wed, Jan 30, 2019 at 09:15:09AM +0100, Geert Uytterhoeven wrote: > On Wed, Jan 30, 2019 at 9:10 AM Jonas Bonn wrote: > > And with that said, if you insist having a u16 for this, I'll change it. > > Just let me know. > I'll defer that to the maintainer (Mark). It's an internal kernel

[PATCH v2] regulator: rk808: Fix BUCK1/2 voltages on rk805

2019-01-31 Thread Otavio Salvador
RK805 has the following voltage range for the BUCK1 and BUCK2 regulators: >From 0.7125V to 1.45V in 12.5mV steps, 1.8V, 2V, 2.2V and 2.3V , which corresponds to the following values as per the RK805 datasheet: 000 000: 0.7125V 000 001: 0.725V …… 111 011: 1.45V 111 100: 1.8V 111 101: 2.0V 111

Linux 4.19.19

2019-01-31 Thread Greg KH
I'm announcing the release of the 4.19.19 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web

Re: Linux 4.19.19

2019-01-31 Thread Greg KH
diff --git a/Makefile b/Makefile index 9f37a8a9feb9..39c4e7c3c13c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 18 +SUBLEVEL = 19 EXTRAVERSION = NAME = "People's Front" diff --git

Linux 4.14.97

2019-01-31 Thread Greg KH
I'm announcing the release of the 4.14.97 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Re: [PATCH V8 1/5] i2c: tegra: Sort all the include headers alphabetically

2019-01-31 Thread Thierry Reding
On Wed, Jan 30, 2019 at 10:16:23PM -0800, Sowjanya Komatineni wrote: > This patch sorts all the include headers alphabetically for the > I2C tegra driver > > Signed-off-by: Sowjanya Komatineni > --- > [V3/V4/V5/V7/V8] : Removed unsued headers in tegra I2C > [V2] : Added this in V2 to sort the

Re: [PATCH V8 2/5] i2c: tegra: Add Bus Clear Master Support

2019-01-31 Thread Thierry Reding
On Wed, Jan 30, 2019 at 10:16:24PM -0800, Sowjanya Komatineni wrote: > Bus clear feature of tegra i2c controller helps to recover from > bus hang when i2c master loses the bus arbitration due to the > slave device holding SDA LOW continuously for some unknown reasons. > > Per I2C specification,

Re: Linux 4.14.97

2019-01-31 Thread Greg KH
diff --git a/Makefile b/Makefile index 57b45169ed85..485afde0f1f1 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 96 +SUBLEVEL = 97 EXTRAVERSION = NAME = Petit Gorille diff --git

Re: Linux 4.9.154

2019-01-31 Thread Greg KH
diff --git a/Makefile b/Makefile index 44a487ee24d2..9964792e200f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 153 +SUBLEVEL = 154 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arc/include/asm/perf_event.h

Re: [PATCH 1/4] regulator: rk808: Fix BUCK1/2 voltages on rk805

2019-01-31 Thread Otavio Salvador
Hello Mark, On Wed, Jan 30, 2019 at 1:40 PM Mark Brown wrote: > On Tue, Jan 29, 2019 at 05:54:21PM -0200, Otavio Salvador wrote: > > RK805 has the following voltage range for the BUCK1 and BUCK2 regulators: > > I'm missing the other patches in this series and don't see a cover > letter - what's

Re: [PATCH v3 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-31 Thread Philipp Zabel
On Thu, 2019-01-31 at 13:30 +0100, Hans Verkuil wrote: > On 1/31/19 11:45 AM, Hans Verkuil wrote: > > On 1/24/19 11:04 AM, Tomasz Figa wrote: > > > Due to complexity of the video decoding process, the V4L2 drivers of > > > stateful decoder hardware require specific sequences of V4L2 API calls > >

Linux 4.9.154

2019-01-31 Thread Greg KH
I'm announcing the release of the 4.9.154 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH V8 3/5] i2c: tegra: Add DMA Support

2019-01-31 Thread Thierry Reding
On Wed, Jan 30, 2019 at 10:16:25PM -0800, Sowjanya Komatineni wrote: > This patch adds DMA support for Tegra I2C. > > Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for > transfer size of the max FIFO depth and DMA mode is used for > transfer size higher than max FIFO depth to save

Linux 4.9.154

2019-01-31 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.154 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-31 Thread Philipp Zabel
Hi Nicolas, On Wed, 2019-01-30 at 10:32 -0500, Nicolas Dufresne wrote: > Le mercredi 30 janvier 2019 à 15:17 +0900, Tomasz Figa a écrit : > > > I don't remember saying that, maybe I meant to say there might be a > > > workaround ? > > > > > > For the fact, here we queue the headers (or first

Re: Commit 594cc251fdd0 (user_access_begin does access_ok) made arch/sh stop booting on qemu.

2019-01-31 Thread Rob Landley
On 1/31/19 2:30 AM, Linus Torvalds wrote: > See > >   >    > https://lore.kernel.org/lkml/CAHk-=wihe4dnhkpe4oghwwmy23jntuufqagwtgcjjxyovyj...@mail.gmail.com/ > > for an explanation of the SH bug. > > But Guenter Roeck confirmed that my patch fixed it on SH for him. Is there > something else

Re: [PATCH v2 2/3] bpfilter: include bpfilter_umh in assembly instead of using objcopy

2019-01-31 Thread Janne Karhunen
Hi, Okay my bad, proper __initconst declarations would do the trick, cool stuff. -- Janne On Thu, Jan 31, 2019 at 1:09 PM Janne Karhunen wrote: > > Hi, > > Never mind, not enough coffee for the morning. Looks good addressing > wise, but something goes haywire with the copy. Some size

Re: [PATCH 9/9] spi: atmel-quadspi: add support for sam9x60 qspi controller

2019-01-31 Thread Tudor.Ambarus
On 01/31/2019 01:55 PM, Boris Brezillon wrote: > On Wed, 30 Jan 2019 15:08:47 + > wrote: > >> + >> +static int atmel_sam9x60_qspi_set_cfg(struct atmel_qspi *aq, >> + const struct spi_mem_op *op, >> + struct atmel_qspi_cfg

Re: [PATCH v3 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-31 Thread Hans Verkuil
On 1/31/19 1:30 PM, Hans Verkuil wrote: > On 1/31/19 11:45 AM, Hans Verkuil wrote: >> On 1/24/19 11:04 AM, Tomasz Figa wrote: >>> Due to complexity of the video decoding process, the V4L2 drivers of >>> stateful decoder hardware require specific sequences of V4L2 API calls >>> to be followed.

Re: [PATCH V3 01/13] perf/core, x86: Add PERF_SAMPLE_DATA_PAGE_SIZE

2019-01-31 Thread Peter Zijlstra
On Wed, Jan 30, 2019 at 06:23:42AM -0800, kan.li...@linux.intel.com wrote: > diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c > index 374a197..03bf45d 100644 > --- a/arch/x86/events/core.c > +++ b/arch/x86/events/core.c > @@ -2578,3 +2578,45 @@ void perf_get_x86_pmu_capability(struct

Re: [PATCH 5/7] dt-bindings: add bindings for SAM9X60

2019-01-31 Thread Ludovic Desroches
On Thu, Jan 31, 2019 at 01:29:40PM +0100, Claudiu Beznea - M18063 wrote: > From: Claudiu Beznea > > Add device tree binding for SAM9X60 pin controller. > > Signed-off-by: Claudiu Beznea > --- > Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt | 5 +++-- > 1 file changed, 3

Re: [PATCHv2 1/9] mm: Introduce new vm_insert_range and vm_insert_range_buggy API

2019-01-31 Thread Heiko Stuebner
Am Donnerstag, 31. Januar 2019, 13:31:52 CET schrieb Souptick Joarder: > On Thu, Jan 31, 2019 at 5:37 PM Heiko Stuebner wrote: > > > > Am Donnerstag, 31. Januar 2019, 04:08:12 CET schrieb Souptick Joarder: > > > Previouly drivers have their own way of mapping range of > > > kernel pages/memory

Re: [PATCH v2 -next] tty: ipwireless: Fix potential NULL pointer dereference

2019-01-31 Thread Jiri Slaby
On 31. 01. 19, 13:32, David Sterba wrote: > This should be mentioned in the changelog though, it's not obvious at > all why just returning after a failure is ok and that the packet will be > resent. Agreed. thanks, -- js suse labs

<    4   5   6   7   8   9   10   11   12   13   >