Applied "ASoC: adau1977: Add MICBIAS example in DT bindings" to the asoc tree

2019-02-20 Thread Mark Brown
The patch ASoC: adau1977: Add MICBIAS example in DT bindings has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Applied "regulator: axp20x: remove a redundant null check on rdev" to the regulator tree

2019-02-20 Thread Mark Brown
The patch regulator: axp20x: remove a redundant null check on rdev has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 2

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

2019-02-20 Thread Mark Brown
On Tue, Feb 19, 2019 at 04:29:28PM +, codrin.ciubota...@microchip.com wrote: > 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. This definitely seems to be the case from the datasheet but... > @@ -184,8 +184,

Applied "regulator: pv88080: Fix array out-of-bounds access" to the regulator tree

2019-02-20 Thread Mark Brown
The patch regulator: pv88080: Fix array out-of-bounds access has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Applied "spi: sifive: Add driver for the SiFive SPI controller" to the spi tree

2019-02-20 Thread Mark Brown
The patch spi: sifive: Add driver for the SiFive SPI controller has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Re: [PATCH 1/7] iio: inkern: API for reading available iio channel attribute values

2019-02-20 Thread Jonathan Cameron
On Sun, 17 Feb 2019 15:29:10 +0100 Artur Rojek wrote: > Extend the inkern API with a function for reading available > attribute values of iio channels. > > Signed-off-by: Artur Rojek Hmm. It would have been cleaner if we'd done the generic version in the first place rather than just having the

Applied "spi: sifive: Add DT documentation for SiFive SPI controller" to the spi tree

2019-02-20 Thread Mark Brown
The patch spi: sifive: Add DT documentation for SiFive SPI controller has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

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

2019-02-20 Thread Mark Brown
On Tue, Feb 19, 2019 at 11:06:48AM -0600, Andrew F. Davis wrote: > Did this work for you before? Strange it would if reversed, I wonder if > the SLEEP bit is really doing anything here. Can investigate later, for > this patch: Thinking about it some more I'm wondering if it gets overridden by som

Re: [PATCH 5/7] power: supply: add Ingenic JZ47xx battery driver.

2019-02-20 Thread Jonathan Cameron
On Sun, 17 Feb 2019 15:29:14 +0100 Artur Rojek wrote: > Add a driver for battery present on Ingenic JZ47xx SoCs. > > Signed-off-by: Artur Rojek A few things inline. thanks, Jonathan > --- > drivers/power/supply/Kconfig | 11 ++ > drivers/power/supply/Makefile | 1 + >

Applied "regulator: da9063: Select maximum current in specific range for set_current_limit" to the regulator tree

2019-02-20 Thread Mark Brown
The patch regulator: da9063: Select maximum current in specific range for set_current_limit has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usua

Applied "regulator: da9062: Select maximum current in specific range for set_current_limit" to the regulator tree

2019-02-20 Thread Mark Brown
The patch regulator: da9062: Select maximum current in specific range for set_current_limit has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usua

[PATCH] cpufreq: kyro: Reduce frame-size of qcom_cpufreq_kryo_probe()

2019-02-20 Thread Viresh Kumar
With the introduction of commit 846a415bf440 ("arm64: default NR_CPUS to 256"), we have started getting following compilation warning: qcom-cpufreq-kryo.c:168:1: warning: the frame size of 2160 bytes is larger than 2048 bytes [-Wframe-larger-than=] Fix that by dynamically allocating opp_tables a

Applied "regulator: pv88090: Fix array out-of-bounds access" to the regulator tree

2019-02-20 Thread Mark Brown
The patch regulator: pv88090: Fix array out-of-bounds access has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Re: [PATCH] gpio: of: Restrict enable-gpio quirk to regulator-gpio

2019-02-20 Thread Marek Vasut
On 2/20/19 11:52 AM, Thierry Reding wrote: > From: Thierry Reding > > Commit 0e7d6f940164 ("gpio: of: Apply regulator-gpio quirk only to > enable-gpios") breaks the device tree ABI specified in the device tree > bindings for fixed regulators (compatible "regulator-fixed"). According > to these bi

Re: [PATCH] iio: chemical: sps30: fix attribute kernel version

2019-02-20 Thread Jonathan Cameron
On Fri, 15 Feb 2019 20:57:59 +0100 Tomasz Duszynski wrote: > 4.22 has never existed and this change was actually added to 4.21 > hence fix the numbering. > > Signed-off-by: Tomasz Duszynski 4.21 isn't going to exist either. Current is targeting 5.0. https://elixir.bootlin.com/linux/v5.0-rc7/so

Re: [PATCH] cpufreq: Report if CPU doesn't report boost technologies

2019-02-20 Thread Rafael J. Wysocki
On Wed, Feb 20, 2019 at 11:52 AM Erwan Velu wrote: > > > Le 20/02/2019 à 11:41, Rafael J. Wysocki a écrit : > > On Wed, Feb 20, 2019 at 11:11 AM Erwan Velu wrote: > >> There is some rare cases where CPB (and possibly IDA) are missing on > >> processors. > >> This is the case fixed by commit f7f3

Re: [PATCH v2 1/2] drivers: provide devm_platform_ioremap_resource()

2019-02-20 Thread Greg Kroah-Hartman
On Wed, Feb 20, 2019 at 12:12:39PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > There are currently 1200+ instances of using platform_get_resource() > and devm_ioremap_resource() together in the kernel tree. > > This patch wraps these two calls in a single helper. Thanks to

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

2019-02-20 Thread Nicolas.Ferre
On 19/02/2019 at 17:51, Alexandre Belloni wrote: > 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 at91sam9x

Re: [PATCH] powerpc/64s: Fix possible corruption on big endian due to pgd/pud_present()

2019-02-20 Thread Michael Ellerman
Segher Boessenkool writes: > On Mon, Feb 18, 2019 at 11:49:18AM +1100, Michael Ellerman wrote: >> Balbir Singh writes: >> > Fair enough, my point was that the compiler can help out. I'll see what >> > -Wconversion finds on my local build :) >> >> I get about 43MB of warnings here :) > > Yes, -Wc

RE: [PATCH v4 6/6] usb:cdns3 Fix for stuck packets in on-chip OUT buffer.

2019-02-20 Thread Pawel Laszczak
Hi Roger. > >On 14/02/2019 21:45, Pawel Laszczak wrote: >> Controller for OUT endpoints has shared on-chip buffers for all incoming >> packets, including ep0out. It's FIFO buffer, so packets must be handle >> by DMA in correct order. If the first packet in the buffer will not be >> handled, then th

Re: [PATCH v3 0/8] nic: thunderx: fix communication races between VF & PF

2019-02-20 Thread Vadim Lomovtsev
sorry for occasionally reply to old thread. On Wed, Feb 20, 2019 at 11:02:42AM +, Vadim Lomovtsev wrote: > The ThunderX CN88XX NIC Virtual Function driver uses mailbox interface > to communicate to physical function driver. Each of VF has it's own pair > of mailbox registers to read from and w

RE: [PATCH] dt-bindings: imx: update scu resource id headfile

2019-02-20 Thread Aisheng Dong
Hi Marco, > From: Marco Felsch [mailto:m.fel...@pengutronix.de] > Sent: Wednesday, February 20, 2019 6:53 PM > > Hi Aisheng, > > On 19-02-20 09:49, Aisheng Dong wrote: > > > From: Marco Felsch [mailto:m.fel...@pengutronix.de] > > > Sent: Wednesday, February 20, 2019 4:17 PM On 19-02-20 03:38, >

Re: [PATCH] iio/chemical/bme680: Fix SPI read interface

2019-02-20 Thread Jonathan Cameron
.. > > Report temperature in millidegrees Celcius instead of degrees. > > Jonathan, I didn't know about this but is there any rationale to report > in millidegress ? Misguided attempt in the early days of IIO to match hwmon units. Sadly it is now the ABI and hence 'unfixable'. Same odd units f

Re: [PATCH v2 1/2] drivers: provide devm_platform_ioremap_resource()

2019-02-20 Thread Bartosz Golaszewski
śr., 20 lut 2019 o 12:16 Greg Kroah-Hartman napisał(a): > > On Wed, Feb 20, 2019 at 12:12:39PM +0100, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > There are currently 1200+ instances of using platform_get_resource() > > and devm_ioremap_resource() together in the kernel tree.

Re: [PATCH] cpufreq: Report if CPU doesn't report boost technologies

2019-02-20 Thread Erwan Velu
I tried to put the message in a way to stay neutral, not saying if its a real error or not. Just reporting we were not able to find any boost cap on it. Erwan, Le mer. 20 févr. 2019 à 12:16, Rafael J. Wysocki a écrit : > > On Wed, Feb 20, 2019 at 11:52 AM Erwan Velu wrote: > > > > > > Le 20/02/2

[PATCH v1] Bluetooth: hci_qca: Update baudrate change wait time for wcn3990

2019-02-20 Thread Balakrishna Godavarthi
This patch will update the baudrate change request wait time from 300 ms to 100 ms. When host sends the change baudrate request to the controller, controller sets its clock and wait until the clocks settle down. Here the Wait time is required for both host and controller to be on sync. Signed-off-

[PATCH 7/7] clk: at91: add sam9x60 pmc driver

2019-02-20 Thread Alexandre Belloni
Add a driver for the PMC clocks of the sam9c60. Signed-off-by: Alexandre Belloni --- drivers/clk/at91/Makefile | 1 + drivers/clk/at91/sam9x60.c | 307 + 2 files changed, 308 insertions(+) create mode 100644 drivers/clk/at91/sam9x60.c diff --git a/drivers

[PATCH 2/7] clk: at91: allow configuring generated PCR layout

2019-02-20 Thread Alexandre Belloni
The PCR register layout for GCLKCSS is changing for the future SoCs, allow configuring it. Signed-off-by: Alexandre Belloni --- drivers/clk/at91/clk-generated.c | 48 +--- drivers/clk/at91/dt-compat.c | 3 +- drivers/clk/at91/pmc.h | 1 + drivers/clk/a

[PATCH 0/7] clk: at91: add sam9x60 pmc clock support

2019-02-20 Thread Alexandre Belloni
This series add support for the sam9x60 clocks handled by the PMC. The first four patches are preparatory patches to handle register layout and offset differences. Then, a driver for the new interface for PLLs is added and the final patch is the driver for the sam9x60 PMC. Alexandre Belloni (7):

[PATCH 3/7] clk: at91: usb: Add sam9x60 support

2019-02-20 Thread Alexandre Belloni
The sam9x60 USB clock supports four different parents, ensure they can be selected. Signed-off-by: Alexandre Belloni --- drivers/clk/at91/clk-usb.c | 33 +++-- drivers/clk/at91/pmc.h | 3 +++ 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/drivers

Re: [PATCH][udf-next] udf: don't call mark_buffer_dirty on a null bh pointer

2019-02-20 Thread Steve Magnani
> On Feb 20, 2019, at 3:50 AM, Jan Kara wrote: > >> On Tue 19-02-19 08:17:09, Steve Magnani wrote: >>> On 2/19/19 8:02 AM, Jan Kara wrote: On Tue 19-02-19 11:44:03, Colin King wrote: From: Colin Ian King There is a null check on the pointer bh to avoid a null pointer deref

Re: [PATCH v3 9/9] ARM: configs: Add Milbeaut M10V defconfig

2019-02-20 Thread Sugaya, Taichi
Hi On 2019/02/20 18:28, Arnd Bergmann wrote: On Wed, Feb 20, 2019 at 8:44 AM Sugaya Taichi wrote: diff --git a/arch/arm/configs/milbeaut_m10v_defconfig b/arch/arm/configs/milbeaut_m10v_defconfig new file mode 100644 index 000..a263211 --- /dev/null +++ b/arch/arm/configs/milbeaut_m10v_de

Re: [PATCH 05/10] staging: mt7621-mmc: Use pinctrl subsystem to select SDXC pin mode

2019-02-20 Thread Jonas Gorski
On Wed, 20 Feb 2019 at 06:18, George Hilliard wrote: > > The driver previously grabbed the SD pins for itself, ignoring the pin > controller. Replace this direct register access with appropriate calls > to the pinctrl subsystem. > > This also allows this driver to work on related devices that hav

Re: [PATCH] clk: at91: fix masterck name

2019-02-20 Thread Nicolas.Ferre
On 08/02/2019 at 16:53, nicolas.fe...@microchip.com wrote: > On 08/02/2019 at 15:40, Alexandre Belloni wrote: >> The master clock is actually named masterck earlier in the driver. Having >> "mck" in the parent list means that it can never be selected. >> >> Fixes: 1eabdc2f9dd8 ("clk: at91: add at91

Re: [PATCH 1/3] dt-bindings: dmaengine: Add one new cell to present hardware slave id

2019-02-20 Thread Baolin Wang
On Wed, 20 Feb 2019 at 17:08, Arnd Bergmann wrote: > > On Wed, Feb 20, 2019 at 4:13 AM Baolin Wang wrote: > > On Tue, 19 Feb 2019 at 20:20, Vinod Koul wrote: > > > On 19-02-19, 17:49, Baolin Wang wrote: > > > > On Tue, 19 Feb 2019 at 17:30, Geert Uytterhoeven > > > > wrote: > > > > > On Tue, F

RE: [PATCH v4 2/2] irqchip: Add support for Renesas RZ/N1 GPIO interrupt multiplexer

2019-02-20 Thread Phil Edworthy
Hi Marc, On 20 February 2019 10:05 Marc Zyngier wrote: > On Wed, 20 Feb 2019 09:07:02 +, Phil Edworthy wrote: > > On 19 February 2019 20:29 Marc Zyngier wrote: > > [...] > > > > > + for (i = 0; i < MAX_NR_INPUT_IRQS; i++) > > > > + irq_create_mapping(priv->irq_domain, i);

Re: [PATCH] iio/chemical/bme680: Fix SPI read interface

2019-02-20 Thread Jonathan Cameron
On Mon, 18 Feb 2019 07:03:10 + Mike Looijmans wrote: > On 16-02-19 12:27, Himanshu Jha wrote: > > Hello Mike, > > > > On Fri, Feb 15, 2019 at 02:47:55PM +0100, Mike Looijmans wrote: > >> The SPI interface implementation was completely broken. > > > > My apologies! > > > > SPI interface

Re: [PATCH] iio: trigger: Print an error if there is no available irq

2019-02-20 Thread Jonathan Cameron
On Wed, 13 Feb 2019 22:19:16 + Martin Kelly wrote: > On 2/13/19 5:17 AM, Mathieu Othacehe wrote: > > If there are more trigger consumers than > > CONFIG_IIO_CONSUMERS_PER_TRIGGER, iio_trigger_attach_poll_func will > > silently fail. Add an error message to inform the user that > > CONFIG_IIO_

[PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Mans Rullgard
If the provided fwnode is an OF node, set dev.of_node as well. Some drivers are just shims that create extra "glue" devices with the DT device as parent and have the real driver bind to these. In these cases, the glue device needs to get a reference to the original DT node in order for the main d

Re: [PATCH v2 2/3] arm64: dts: hisilicon: hi3670: Add UFS controller support

2019-02-20 Thread Thierry Reding
On Sat, Jan 05, 2019 at 12:58:58PM +0530, Manivannan Sadhasivam wrote: > Add UFS controller support for HiSilicon HI3670 SoC. > > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 18 ++ > 1 file changed, 18 insertions(+) Hi Martin, it loo

Re: [PATCH 06/13] mm: pagewalk: Add 'depth' parameter to pte_hole

2019-02-20 Thread William Kucharski
> On Feb 15, 2019, at 10:02 AM, Steven Price wrote: > > The pte_hole() callback is called at multiple levels of the page tables. > Code dumping the kernel page tables needs to know what at what depth > the missing entry is. Add this is an extra parameter to pte_hole(). > When the depth isn't k

[PATCH V4 3/4] irq: imx-irqsteer: change to use reg_num instead of irq_group

2019-02-20 Thread Aisheng Dong
One group can manage 64 interrupts by using two registers (e.g. STATUS/SET). However, the integrated irqsteer may support only 32 interrupts which needs only one register in a group. But the current driver assume there's a mininum of two registers in a group which result in a wrong register map for

[PATCH V4 2/4] dt-bindings: irq: imx-irqsteer: add multi output interrupts support

2019-02-20 Thread Aisheng Dong
One irqsteer channel can support up to 8 output interrupts. Cc: Marc Zyngier Cc: Rob Herring Cc: Shawn Guo Cc: devicet...@vger.kernel.org Reviewed-by: Lucas Stach Signed-off-by: Dong Aisheng --- ChangeLog: v3->v4: * no changes v2->v3: * fix a typo v1->v2: * remove one unnecessary note. ---

[PATCH V4 0/4] irq: imx-irqsteer: add 32 interrupts chan and multi outputs support

2019-02-20 Thread Aisheng Dong
Not all 64 interrupts may be used in one group. e.g. most irqsteer in imx8qxp and imx8qm subsystems supports only 32 interrupts. And one irqsteer channel can support up to 8 output interrupts. This patch series aims to support 32 interrupts chan and multi output interrupts. Tested on: iMX8QXP MEK

[PATCH V4 1/4] dt-binding: irq: imx-irqsteer: use irq number instead of group number

2019-02-20 Thread Aisheng Dong
Not all 64 interrupts may be used in one group. e.g. most irqsteer in imx8qxp and imx8qm subsystems supports only 32 interrupts. As the IP integration parameters are Channel number and interrupts number, let's use fsl,irqs-num to represents how many interrupts supported by this irqsteer channel.

[PATCH V4 4/4] irq: imx: irqsteer: add multi output interrupts support

2019-02-20 Thread Aisheng Dong
One irqsteer channel can support up to 8 output interrupts. Cc: Marc Zyngier Cc: Lucas Stach Cc: Shawn Guo Reviewed-by: Lucas Stach Signed-off-by: Dong Aisheng --- ChangeLog: v3->v4: * no changes v2->v3: * add error check for imx_irqsteer_get_hwirq_base * use DIV_ROUND_UP * merge 'hwirq +

[PATCH 6/7] dt-bindings: clk: at91: add bindings for SAM9X60 pmc

2019-02-20 Thread Alexandre Belloni
Add SAM9X60 PMC compatible string. Cc: Rob Herring Signed-off-by: Alexandre Belloni --- Documentation/devicetree/bindings/clock/at91-clock.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/at91-clock.txt b/Documentation/devicetree

[PATCH 5/7] clk: at91: add sam9x60 PLL driver

2019-02-20 Thread Alexandre Belloni
The PLLs on the sam9x60 (PLLA and USB PLL) use a different register set and programming model than the previous SoCs. Signed-off-by: Alexandre Belloni --- drivers/clk/at91/Makefile | 1 + drivers/clk/at91/clk-sam9x60-pll.c | 329 + drivers/clk/at91/pmc.h

[PATCH 4/7] clk: at91: master: Add sam9x60 support

2019-02-20 Thread Alexandre Belloni
The sam9x60 cpu clock is located at a different offset but is otherwise similar to the master clock. Signed-off-by: Alexandre Belloni --- drivers/clk/at91/clk-master.c | 8 +--- drivers/clk/at91/pmc.h| 1 + include/linux/clk/at91_pmc.h | 2 ++ 3 files changed, 8 insertions(+), 3 del

Re: [PATCH v2 04/26] mm: allow VM_FAULT_RETRY for multiple times

2019-02-20 Thread Peter Xu
On Wed, Feb 13, 2019 at 11:34:44AM +0800, Peter Xu wrote: > On Tue, Feb 12, 2019 at 10:56:10AM +0800, Peter Xu wrote: > > [...] > > > @@ -1351,7 +1351,7 @@ EXPORT_SYMBOL_GPL(__lock_page_killable); > > int __lock_page_or_retry(struct page *page, struct mm_struct *mm, > > unsi

[PATCH 1/7] clk: at91: allow configuring peripheral PCR layout

2019-02-20 Thread Alexandre Belloni
The PCR register actually changed layout for each SoC. By chance, this didn't have impact on sama5d[2-4] support but since sama5d3, PID is seven bits wide and sama5d4 and sama5d2 don't have DIV. For the DT backward compatibility, keep the layout as is. Signed-off-by: Alexandre Belloni --- drive

Re: [PATCH v2 1/2] staging: iio: frequency: ad9834: Move frequency to standard iio types

2019-02-20 Thread Jonathan Cameron
On Thu, 14 Feb 2019 18:41:29 +0200 Beniamin Bia wrote: > Frequency attribute is added with a standard type from iio framework > instead of custom attribute. This is a small step towards removing any > unnecessary custom attribute. Ad9834 will diverge from ad9833 in the > future, that is why we ha

Re: [PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Johan Hovold
On Wed, Feb 20, 2019 at 11:35:06AM +, Mans Rullgard wrote: > If the provided fwnode is an OF node, set dev.of_node as well. > > Some drivers are just shims that create extra "glue" devices with the > DT device as parent and have the real driver bind to these. In these > cases, the glue device

Re: [PATCH 4/4] drm/panel: Add OSD101T2587-53TS driver

2019-02-20 Thread Sam Ravnborg
Hi Peter. On Wed, Feb 20, 2019 at 12:39:11PM +0200, Peter Ujfalusi wrote: > Hi Sam, > > On 15/02/2019 20.07, Sam Ravnborg wrote: > >> +#include > >> +#include > >> +#include > >> +#include > >> + > >> +#include > > Please do not use drmP.h in new drivers - we try to get rid of this file. >

Re: [PATCH v2 2/2] staging: iio: frequency: ad9834: Move phase and scale to standard iio attribute

2019-02-20 Thread Jonathan Cameron
On Thu, 14 Feb 2019 18:41:30 +0200 Beniamin Bia wrote: > The custom phase and scale attributes were moved to standard iio types. > > Signed-off-by: Beniamin Bia Hi, This hits the same fundamental questions of ABI as the FSK elements in the previous patch, just now for Phase Shift Keying. Unf

Re: [PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Måns Rullgård
Mans Rullgard writes: > If the provided fwnode is an OF node, set dev.of_node as well. > > Some drivers are just shims that create extra "glue" devices with the > DT device as parent and have the real driver bind to these. In these > cases, the glue device needs to get a reference to the origina

Re: [PATCH v3 7/9] s390: ap: implement PAPQ AQIC interception in kernel

2019-02-20 Thread Halil Pasic
On Thu, 14 Feb 2019 14:51:07 +0100 Pierre Morel wrote: > We register the AP PQAP instruction hook during the open > of the mediated device. And unregister it on release. > > In the AP PQAP instruction hook, if we receive a demand to > enable IRQs, > - we retrieve the vfio_ap_queue based on the A

Re: [PATCH v3] iio: adc: ti-ads7950: add GPIO support

2019-02-20 Thread Jonathan Cameron
On Wed, 13 Feb 2019 09:10:53 +0100 David Lechner wrote: > On 2/12/19 9:57 PM, justinpo...@gmail.com wrote: > > From: Justin Chen > > > > The ADS79XX has GPIO pins that can be used. Add support for the GPIO > > pins using the GPIO chip framework. > > > > Signed-off-by: Justin Chen > > --- >

[PATCH V2] dt-bindings: imx: update scu resource id headfile

2019-02-20 Thread Anson Huang
Update i.MX SCU resource ID table according to latest system controller firmware. Latest system controller firmware removes below resources which are never be used: IMX_SC_R_DC_0_CAPTURE0 IMX_SC_R_DC_0_CAPTURE1 IMX_SC_R_DC_0_INTEGRAL0 IMX_SC_R_DC_0_INTEGRAL1

[PATCH] staging: octeon-usb: fix misspelled "re-enable"

2019-02-20 Thread Sumit Pundir
Fixes misspelled "re-enable" in comment. Reported by checkpatch.pl Signed-off-by: Sumit Pundir --- drivers/staging/octeon-usb/octeon-hcd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/octeon-usb/octeon-hcd.h b/drivers/staging/octeon-usb/octeon-hcd.h index

Re: [PATCH v2 0/2] drivers: new helper for ioremapping memory resources

2019-02-20 Thread Andy Shevchenko
On Wed, Feb 20, 2019 at 12:12:38PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > There are currently 1200+ instances of using platform_get_resource() > and devm_ioremap_resource() together in the kernel tree. It's a minor > redundancy, but consolidation is always good. > > Th

Re: [PATCH 4/4] drm/panel: Add OSD101T2587-53TS driver

2019-02-20 Thread Peter Ujfalusi
Hi Sam, On 20/02/2019 13.52, Sam Ravnborg wrote: > Hi Peter. > > On Wed, Feb 20, 2019 at 12:39:11PM +0200, Peter Ujfalusi wrote: >> Hi Sam, >> >> On 15/02/2019 20.07, Sam Ravnborg wrote: +#include +#include +#include +#include + +#include >>> Please do not use d

[PATCH v2] ARM: dts: sun7i: add pinctrl for missing uart mux options

2019-02-20 Thread Mans Rullgard
This adds pinctrl settings for various missing uart options. Signed-off-by: Mans Rullgard --- Changed in v2: - add /omit-if-no-ref/ tags to new nodes --- arch/arm/boot/dts/sun7i-a20.dtsi | 54 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/sun7i

Re: [PATCH v2] iio/gyro/bmg160: Use millidegrees for temperature scale

2019-02-20 Thread Jonathan Cameron
On Wed, 13 Feb 2019 08:41:47 +0100 Mike Looijmans wrote: > Standard unit for temperature is millidegrees Celcius, whereas this driver > was reporting in degrees. Fix the scale factor in the driver. > > Signed-off-by: Mike Looijmans Applied to the fixes-togreg branch of iio.git and marked for st

Re: [PATCH] dt-bindings: imx: update scu resource id headfile

2019-02-20 Thread Lucas Stach
Am Mittwoch, den 20.02.2019, 11:21 + schrieb Aisheng Dong: > Hi Marco, > > > From: Marco Felsch [mailto:m.fel...@pengutronix.de] > > Sent: Wednesday, February 20, 2019 6:53 PM > > > > Hi Aisheng, > > > > On 19-02-20 09:49, Aisheng Dong wrote: > > > > From: Marco Felsch [mailto:m.fel...@pengu

Re: [PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Måns Rullgård
Johan Hovold writes: > On Wed, Feb 20, 2019 at 11:35:06AM +, Mans Rullgard wrote: >> If the provided fwnode is an OF node, set dev.of_node as well. >> >> Some drivers are just shims that create extra "glue" devices with the >> DT device as parent and have the real driver bind to these. In t

Re: [PATCH] usb: typec: tps6598x: handle block writes separately with plain-I2C adapters

2019-02-20 Thread Heikki Krogerus
Hi, On Mon, Sep 10, 2018 at 07:05:01AM +0200, Nikolaus Voss wrote: > Commit 1a2f474d328f handles block _reads_ separately with plain-I2C > adapters, but the problem described with regmap-i2c not handling > SMBus block transfers (i.e. read and writes) correctly also exists > with writes. > > As wo

Re: [PATCH v2 1/2] drivers: provide devm_platform_ioremap_resource()

2019-02-20 Thread Greg Kroah-Hartman
On Wed, Feb 20, 2019 at 12:21:26PM +0100, Bartosz Golaszewski wrote: > śr., 20 lut 2019 o 12:16 Greg Kroah-Hartman > napisał(a): > > > > On Wed, Feb 20, 2019 at 12:12:39PM +0100, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > > > There are currently 1200+ instances of using pl

Re: [PATCH] iio: mma8452: mark expected switch fall-through

2019-02-20 Thread Jonathan Cameron
On Mon, 11 Feb 2019 16:23:18 -0600 "Gustavo A. R. Silva" wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > This patch fixes the following warning: > > drivers/iio/accel/mma8452.c: In function ‘mma8452_probe’: > drivers/ii

Re: linux-next: Tree for Feb 20

2019-02-20 Thread Mimi Zohar
> Fixes for this have already been proposed, and should appear in -next shortly > > The EFI one is here > https://mail.google.com/mail/u/0/#label/linux-efi/FMfcgxwBVgrQRjglPkWRqRqVclGgVDnB > > Not sure about the IMA one, Mimi should be able to comment ...      I've already commented on the othe

[PATCH v2 -next] btrfs: Remove unnecessary casts in btrfs_read_root_item

2019-02-20 Thread YueHaibing
There is a messy cast here: min_t(int, len, (int)sizeof(*item))); min_t() should normally cast to unsigned. It's not possible for "len" to be negative, but if it were then we definitely wouldn't want to pass negatives to read_extent_buffer(). Also there is an extra cast. This patch shou

Re: [PATCH] printk: Pass caller information to log_store().

2019-02-20 Thread Petr Mladek
On Sat 2019-02-16 19:59:33, Tetsuo Handa wrote: > When thread1 called printk() which did not end with '\n', and then thread2 > called printk() which ends with '\n' before thread1 calls pr_cont(), the > partial content saved into "struct cont" is flushed by thread2 despite the > partial content was

Re: [PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Rafael J. Wysocki
On Wed, Feb 20, 2019 at 1:12 PM Måns Rullgård wrote: > > Johan Hovold writes: > > > On Wed, Feb 20, 2019 at 11:35:06AM +, Mans Rullgard wrote: > >> If the provided fwnode is an OF node, set dev.of_node as well. > >> > >> Some drivers are just shims that create extra "glue" devices with the >

[PATCH 3/3] usb: gadget: atmel: tie wake lock to running clock

2019-02-20 Thread Jonas Bonn
If the USB device is connected to a host, the CPU cannot be suspended or else the USB device appears to be disconnected from the host's point of view. Only after a "USB suspend" state has been entered (as set by the host) or the host is disconnected can the system safely be suspended: in both thes

[PATCH 2/3] usb: gadget: atmel: support USB suspend

2019-02-20 Thread Jonas Bonn
This patch adds support for USB suspend to the Atmel UDC. When suspended, the UDC clock can be stopped, resulting in some power savings. The "wake up" interrupt will fire irregardless of whether the clock is running or not, allowing the UDC clock to be restarted when the USB master wants to wake

[PATCH 1/3] usb: gadget: atmel_usba_udc: simplify setting of interrupt-enabled mask

2019-02-20 Thread Jonas Bonn
This patch adds set and clear functions for enabling/disabling interrupts. This simplifies the implementation a bit as the masking of previously set bits doesn't need to be so explicit. Signed-off-by: Jonas Bonn CC: Cristian Birsan CC: Felipe Balbi CC: Greg Kroah-Hartman CC: Nicolas Ferre CC

[PATCH 0/3] usb: gadget: atmel: support USB suspend/resume

2019-02-20 Thread Jonas Bonn
This patch series hooks up proper support for USB suspend and resume to the Atmel UDC. Jonas Bonn (3): usb: gadget: atmel_usba_udc: simplify setting of interrupt-enabled mask usb: gadget: atmel: support USB suspend usb: gadget: atmel: tie wake lock to running clock drivers/usb/gadget/u

Re: [PATCH v2 1/3] arm64: mm: use appropriate ctors for page tables

2019-02-20 Thread Matthew Wilcox
On Wed, Feb 20, 2019 at 03:57:59PM +0530, Anshuman Khandual wrote: > On 02/20/2019 03:58 AM, Yu Zhao wrote: > > On Tue, Feb 19, 2019 at 11:47:12AM +0530, Anshuman Khandual wrote: > >> On 02/19/2019 11:02 AM, Yu Zhao wrote: > >>> On Tue, Feb 19, 2019 at 09:51:01AM +0530, Anshuman Khandual wrote: > >

Re: [PATCH] platform: set of_node in platform_device_register_full()

2019-02-20 Thread Måns Rullgård
"Rafael J. Wysocki" writes: > On Wed, Feb 20, 2019 at 1:12 PM Måns Rullgård wrote: >> >> Johan Hovold writes: >> >> > On Wed, Feb 20, 2019 at 11:35:06AM +, Mans Rullgard wrote: >> >> If the provided fwnode is an OF node, set dev.of_node as well. >> >> >> >> Some drivers are just shims that

[PATCH 6/6] perf tools: Make rm_rf to remove single file

2019-02-20 Thread Jiri Olsa
Let rm_rf remove file if it's provided by path. Cc: Alexey Budankov Link: http://lkml.kernel.org/n/tip-whhp3ej5795l9dc86xfyy...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/util.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/tools/perf/uti

[PATCH 4/6] perf tools: Add missing new line into pr_debug call

2019-02-20 Thread Jiri Olsa
Adding missing new line into pr_debug call in perf_event__synthesize_bpf_events function, so the error message does not screw the verbose output. Link: http://lkml.kernel.org/n/tip-z9h6x8v1mef0iqsfx6m28...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/bpf-event.c | 2 +- 1 file cha

[PATCH 2/6] perf tools: Force sample_type for slave events

2019-02-20 Thread Jiri Olsa
Forcing sample_type setup for slave events in group leader sessions. We don't get sample for slave events, we make them when delivering group leader sample. Set the slave event to follow the master sample_type to ease up report. Link: http://lkml.kernel.org/n/tip-mqhyqhxm0p2jyzqjffwgb...@git.kern

[PATCH 0/6] perf tools: Assorted fixes

2019-02-20 Thread Jiri Olsa
hi, sending assorted general fixes that queued up in my other branches. Also available in here: https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/fixes thanks, jirka --- Jiri Olsa (6): perf tools: Don't report zero period samples for slave events perf tools: Fo

Re: [PATCH v3 9/9] ARM: configs: Add Milbeaut M10V defconfig

2019-02-20 Thread Arnd Bergmann
On Wed, Feb 20, 2019 at 12:27 PM Sugaya, Taichi wrote: > > Hi > > On 2019/02/20 18:28, Arnd Bergmann wrote: > > On Wed, Feb 20, 2019 at 8:44 AM Sugaya Taichi > > wrote: > > > >> diff --git a/arch/arm/configs/milbeaut_m10v_defconfig > >> b/arch/arm/configs/milbeaut_m10v_defconfig > >> new file mo

[PATCH 1/6] perf tools: Don't report zero period samples for slave events

2019-02-20 Thread Jiri Olsa
There's no reason to deliver sample for zero period. It means there was no value for slave event since its last group leader sample. Link: http://lkml.kernel.org/n/tip-d5he0papol5dhwvfq33es...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/session.c | 7 +++ 1 file changed, 7 in

[PATCH 5/6] perf tools: Increase debug leve for cpu_map__snprint verbose output

2019-02-20 Thread Jiri Olsa
So it does not screw up single -v verbose output. Link: http://lkml.kernel.org/n/tip-4ucm1kfmy1xwp9w8xohdz...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/cpumap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/cpumap.c b/tools/perf/util/cpumap

[PATCH 3/6] perf script: Allow +- operator for type specific fields option

2019-02-20 Thread Jiri Olsa
Adding support to add/remove fields for specific event types in -F option. It's now possible to use '+-' after event type, like: # cat > test.c #include int main(void) { printf("Hello world\n"); while(1) {} } ^D # gcc -g -o test test.c # perf probe -x test 'test.c:5'

Re: [PATCH] cpufreq: kyro: Reduce frame-size of qcom_cpufreq_kryo_probe()

2019-02-20 Thread Arnd Bergmann
On Wed, Feb 20, 2019 at 12:14 PM Viresh Kumar wrote: > > With the introduction of commit 846a415bf440 ("arm64: default NR_CPUS to > 256"), we have started getting following compilation warning: > > qcom-cpufreq-kryo.c:168:1: warning: the frame size of 2160 bytes is larger > than 2048 bytes [-Wfra

[PATCH v2,2/7] thermal: mediatek: add common index of vts settings.

2019-02-20 Thread michael.kao
From: Michael Kao Each project has different number of vts settings. For the MT2701 just have to set three vts, but the original code flow add five unnecessary vts. Add common index of vts settings for scalablity, and reduce the setting of unnecessary vts. Signed-off-by: Michael Kao --- driver

[PATCH v2,4/7] thermal: mediatek: add thermal controller offset

2019-02-20 Thread michael.kao
From: Michael Kao One thermal controller can read four sensors at most, so we need to add controller_offset for the project with more than four sensors to reuse the same register settings. Signed-off-by: Michael Kao --- drivers/thermal/mtk_thermal.c | 79 +--

[PATCH v2,1/7] thermal: mediatek: fix register index error

2019-02-20 Thread michael.kao
From: Michael Kao The index of msr and adcpnp should match the sensor which belongs to the selected bank in the for loop. Fixes: b7cf0053738c ("thermal: Add Mediatek thermal driver for mt2701.") Signed-off-by: Michael Kao --- drivers/thermal/mtk_thermal.c | 6 -- 1 file changed, 4 inserti

[PATCH v2,7/7] thermal: mediatek: add support for MT8183

2019-02-20 Thread michael.kao
From: Michael Kao MT8183 has two built-in thermal controllers with total six thermal sensors. And it doesn't have bank, so doesn't need to select bank. This patch adds support for mt8183. Signed-off-by: Michael Kao --- drivers/thermal/mtk_thermal.c | 99

[PATCH v2,6/7] dt-bindings: thermal: add binding document for mt8183 thermal controller

2019-02-20 Thread michael.kao
From: Michael Kao This patch adds binding document for mt8183 thermal controller. Signed-off-by: Michael Kao --- Documentation/devicetree/bindings/thermal/mediatek-thermal.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt b/

[PATCH v2,3/7] thermal: mediatek: add calibration item

2019-02-20 Thread michael.kao
From: Michael Kao Add calibration item in thermal_data to support the project with different calibration coefficient. Signed-off-by: Michael Kao --- drivers/thermal/mtk_thermal.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/mtk_thermal

[PATCH v2,5/7] thermal: mediatek: add flag for bank selection

2019-02-20 Thread michael.kao
From: Michael Kao For past ic designs, the thermal controller should select banks before reading the thermal sensor. And the new ic design architecture removes this mechanism. Signed-off-by: Michael Kao --- drivers/thermal/mtk_thermal.c | 20 ++-- 1 file changed, 14 insertions(

Re: [PATCH 1/3] iio: light: Add driver for ap3216c

2019-02-20 Thread Jonathan Cameron
On Mon, 18 Feb 2019 14:35:51 -0500 Sven Van Asbroeck wrote: > Hi Jonathan, > > Thanks again for your clear and extensive feedback ! > > On Mon, Feb 18, 2019 at 10:16 AM Jonathan Cameron > wrote: > > > > I suspect that would break lots of devices if it happened, but > > fair enough that explici

[PATCH v2,0/7] Add Mediatek thermal dirver for mt8183

2019-02-20 Thread michael.kao
This patchset supports for mt8183 chip to mtk_thermal.c. MT8183 has six temperature sensors and two thermal controllers. It has different calibration coefficent with past project, and doesn't need to select bank. As a result, we add the common architecture for scalability. change in v2: 1.Add fix

Re: BUG: assuming atomic context at kernel/seccomp.c:LINE

2019-02-20 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:abf446c90405 Add linux-next specific files for 20190220 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=101e7fb0c0 kernel config: https://syzkaller.appspot.com/x/.config?x

Re: [PATCH v2 -next] btrfs: Remove unnecessary casts in btrfs_read_root_item

2019-02-20 Thread Dan Carpenter
On Wed, Feb 20, 2019 at 12:32:02PM +, YueHaibing wrote: > There is a messy cast here: > min_t(int, len, (int)sizeof(*item))); > > min_t() should normally cast to unsigned. It's not possible for > "len" to be negative, but if it were then we definitely > wouldn't want to pass negatives t

[PATCH v4 2/3] dt-bindings: i2c: Add Mediatek MT8183 i2c binding

2019-02-20 Thread Qii Wang
Add MT8183 i2c binding to binding file. Compare to MT2712 i2c controller, MT8183 has different registers, offsets, and clock. Signed-off-by: Qii Wang --- Documentation/devicetree/bindings/i2c/i2c-mtk.txt |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/de

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