[PATCH v6 0/4] arm64 SMMUv3 PMU driver with IORT support

2019-02-04 Thread Shameer Kolothum
This adds a driver for the SMMUv3 PMU into the perf framework. It includes an IORT update to support PM Counter Groups. This is based on the initial work done by Neil Leeder[1] SMMUv3 PMCG devices are named as smmuv3_pmcg_ where is the physical page address of the SMMU PMCG. For example, the PMC

[PATCH v6 2/4] perf: add arm64 smmuv3 pmu driver

2019-02-04 Thread Shameer Kolothum
From: Neil Leeder Adds a new driver to support the SMMUv3 PMU and add it into the perf events framework. Each SMMU node may have multiple PMUs associated with it, each of which may support different events. SMMUv3 PMCG devices are named as smmuv3_pmcg_ where is the physical page address of the

Re: [PATCH 0/9] Analogix ANX6345 RGB-(e)DP bridge support

2019-02-04 Thread Torsten Duwe
On Thu, Oct 18, 2018 at 03:33:18PM +0800, Icenowy Zheng wrote: > This patchset brings the support for Analogix ANX6345 RGB-(e)DP bridge, > which is used by some Allwinner A64 laptops, such as Pinebook and Olimex > TERES-I. > So what's the status here? I'm working on the Teres-I and I find myself

Re: [PATCH] vfio: platform: reset: fix up include directives to remove ccflags-y

2019-02-04 Thread Auger Eric
Hi Masahiro, On 1/30/19 3:52 AM, Masahiro Yamada wrote: > For the include directive with double-quotes "", the preprocessor > searches the header in the relative path to the current file. > > Fix them up, and remove the header search path option. > > Signed-off-by: Masahiro Yamada Acked-by: Eri

Re: [RFC PATCH v4 07/10] gpio: Initial support for ROHM bd70528 GPIO block

2019-02-04 Thread Matti Vaittinen
On Mon, Feb 04, 2019 at 12:29:53PM +0100, Linus Walleij wrote: > On Thu, Jan 31, 2019 at 1:08 PM Matti Vaittinen > wrote: > > > ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be > > controlled by GPIO framework. > > > > IRQs are handled by regmap-irq and GPIO driver is not > > aware of the irq

Re: [PATCH v15 1/3] pps: descriptor-based gpio

2019-02-04 Thread Rodolfo Giometti
On 02/02/2019 11:57, Tom Burkart wrote: This patch changes the GPIO access for the pps-gpio driver from the integer based API to the descriptor based API. Reviewed-by: Philipp Zabel Signed-off-by: Tom Burkart Acked-by: Rodolfo Giometti -- GNU/Linux Solutions e-mail: giome.

Re: RIP: e030:move_page_tables+0xaa3/0xb80

2019-02-04 Thread Juergen Gross
On 02/02/2019 05:37, Christian Kujau wrote: > Hi, > > I'm running an Ubuntu "mainline" kernel[0] as a Xen 4.11.1 DomU (PV) and > ever since upgrading to Linux 5.0-rcX I get these WARNING messages shown > below. Going back in my logs[1] I can see that I got a similar messages > for v4.20 too, bu

Re: [PATCH v15 3/3] pps: pps-gpio pps-echo implementation

2019-02-04 Thread Rodolfo Giometti
On 02/02/2019 11:57, Tom Burkart wrote: This patch implements the pps echo functionality for pps-gpio, that sysfs claims is available already. Configuration is done via device tree bindings. This patch was originally written by Lukas Senger as part of a masters thesis project and modified for i

Re: [PATCH v4 1/3] PCI: dwc: allow to limit registers set length

2019-02-04 Thread Lorenzo Pieralisi
On Thu, Jan 31, 2019 at 10:08:11AM +0100, Stefan Agner wrote: > On 30.01.2019 18:54, Lorenzo Pieralisi wrote: > > On Tue, Dec 04, 2018 at 05:55:26PM +0100, Stefan Agner wrote: > >> Add length to the struct dw_pcie and check that the accessors > >> dw_pcie_(rd|wr)_conf() do not read/write beyond tha

Re: [PATCH 2/2] mtd: spinand: micron: Support for all Micron SPI NAND flashes

2019-02-04 Thread Emil Lenngren
Hi, Den mån 4 feb. 2019 kl 12:18 skrev Shivamurthy Shastri (sshivamurthy) : > > Driver is redesigned using parameter page to support all the Micron > SPI NAND flashes. > > Parameter page of Micron flashes is similar to ONFI parameter table and > functionality is same, so copied some of the common

[PATCH] perf: Add check_period pmu callback

2019-02-04 Thread Jiri Olsa
On Sat, Feb 02, 2019 at 12:58:07PM -0500, Vince Weaver wrote: > On Fri, 1 Feb 2019, Jiri Olsa wrote: > > > > > > > I've just started fuzzing with the patch applied. Often it takes a few > > > hours to trigger the bug. > > > > cool, thanks > > I let it run overnight and no crash. > > > > Adde

[PATCH v4] iio: adc: ad7476: Add support for TI ADS786X ADCs

2019-02-04 Thread Ricardo Ribalda Delgado
Add support for Texas Instruments ADS7866, ADS7867 and ADS7868 8/10/12 bit Single channel ADC. Datasheet: http://www.ti.com/lit/ds/symlink/ads7868.pdf Signed-off-by: Ricardo Ribalda Delgado --- v4: Changes by Alexandru Ardelean Break Kconfig into a table drivers/iio/adc/Kconfig | 11 +++

[RFC PATCH v5 01/10] mfd: bd718x7.h split to ROHM common and bd718x7 specific parts

2019-02-04 Thread Matti Vaittinen
Split the bd718x7.h to ROHM common and bd718x7 specific parts so that we do not need to add same things in every new ROHM PMIC header. Please note that this change requires changes also in bd718x7 sub-device drivers for regulators and clk. Signed-off-by: Matti Vaittinen --- drivers/mfd/rohm-bd71

Re: use generic DMA mapping code in powerpc V4

2019-02-04 Thread Christoph Hellwig
On Mon, Feb 04, 2019 at 01:13:54PM +0100, Christian Zigotzky wrote: >>> Results: The X1000 and X5000 boot but unfortunately the P.A. Semi Ethernet >>> doesn't work. >> Are there any interesting messages in the boot log? Can you send me >> the dmesg? >> > Here you are: http://www.xenosoft.de/dmesg_

[RFC PATCH v5 05/10] clk: bd718x7: Support ROHM BD70528 clk block

2019-02-04 Thread Matti Vaittinen
ROHM BD70528 is an ultra low power PMIC with similar 32K clk as bd718x7. Only difference (from clk perspective) is register address. Add support for controlling BD70528 clk using bd718x7 driver. Signed-off-by: Matti Vaittinen --- drivers/clk/Kconfig | 6 +++--- drivers/clk/clk-bd718x7.c |

[PATCH v4 1/2] iio:dac:ti-dac7612: Add driver for Texas Instruments DAC7612

2019-02-04 Thread Ricardo Ribalda Delgado
It is a driver for Texas Instruments Dual, 12-Bit Serial Input Digital-to-Analog Converter. Datasheet of this chip: http://www.ti.com/lit/ds/sbas106/sbas106.pdf Signed-off-by: Ricardo Ribalda Delgado --- Changelog v4 by: Jonathan Cameron , dt related: -Fix pin name -Fix part name -improve comm

[RFC PATCH v5 07/10] gpio: Initial support for ROHM bd70528 GPIO block

2019-02-04 Thread Matti Vaittinen
ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be controlled by GPIO framework. IRQs are handled by regmap-irq and GPIO driver is not aware of the irq usage. Signed-off-by: Matti Vaittinen Reviewed-by: Linus Walleij --- drivers/gpio/Kconfig| 11 +++ drivers/gpio/Makefile | 1

[RFC PATCH v5 09/10] power: supply: Initial support for ROHM BD70528 PMIC charger block

2019-02-04 Thread Matti Vaittinen
ROHM BD70528 PMIC includes battery charger block. Support charger staus queries and doing few basic settings like input current limit and charging current. Signed-off-by: Matti Vaittinen --- drivers/power/supply/Kconfig | 9 + drivers/power/supply/Makefile | 1 + drivers/p

[PATCH v4 2/2] iio:dac:dac7612: device tree bindings

2019-02-04 Thread Ricardo Ribalda Delgado
Bindings for dac7612. Cc: devicet...@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado --- v4 Changelog by Rob Herring -Add ti, prefix to gpio -Fix example da@1 -Fix partname .../bindings/iio/dac/ti,dac7612.txt | 29 +++ MAINTAINERS

[RFC PATCH v5 10/10] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-02-04 Thread Matti Vaittinen
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 --- drivers/watchdog/Kconfig | 12 +++ drivers/watchdog/Makefile | 1 + drivers/watchdog/bd70528_wdt.c | 187

[RFC PATCH v5 08/10] rtc: bd70528: Initial support for ROHM bd70528 RTC

2019-02-04 Thread Matti Vaittinen
Support RTC block in ROHM bd70528 power management IC. Support getting and setting the time and date as well as arming an alarm which can also be used to wake the PMIC from standby state. HW supports wake interrupt only for the next 24 hours (sec, minute and hour information only) so we limit also

[RFC PATCH v5 06/10] devicetree: bindings: Document first ROHM BD70528 bindings

2019-02-04 Thread Matti Vaittinen
Document bindings for regulators (3 bucks, 3 LDOs and 2 LED drivers) and 4 GPIO pins which can be configured for I/O or as interrupt sources withe configurable trigger levels. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring Acked-by: Linus Walleij --- .../devicetree/bindings/mfd/rohm,b

[RFC PATCH v5 00/10] support ROHM BD70528 PMIC

2019-02-04 Thread Matti Vaittinen
Patch series introducing support for ROHM BD70528 PMIC Please note that patch 1 breaks compilation without patches 2 and 3 ROHM BD70528 is a programmable Power Management IC for battery powered 'ultra low power' systems like the pre-announced NXP i.MX7 ULP. This patch series introduces support fo

[RFC PATCH v5 02/10] regulator: bd718x7 use chip specific and generic data structs

2019-02-04 Thread Matti Vaittinen
Header rohm-bd718x7.h was split to generic and component specific parts. This changed the struct bd718x7. Adapt the regulator driver to these changes. Signed-off-by: Matti Vaittinen Acked-by: Mark Brown --- drivers/regulator/bd718x7-regulator.c | 22 +++--- 1 file changed, 11 in

[RFC PATCH v5 03/10] clk: bd718x7: use chip specific and generic data structs

2019-02-04 Thread Matti Vaittinen
Header rohm-bd718x7.h was split to generic and component specific parts. This changed the struct bd718x7. Adapt the clk driver to these changes. Signed-off-by: Matti Vaittinen --- drivers/clk/clk-bd718x7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk-

Re: [RFC PATCH v4 07/10] gpio: Initial support for ROHM bd70528 GPIO block

2019-02-04 Thread Bartosz Golaszewski
pon., 4 lut 2019 o 12:30 Linus Walleij napisał(a): > > On Thu, Jan 31, 2019 at 1:08 PM Matti Vaittinen > wrote: > > > ROHM BD70528 PMIC has 4 GPIO pins. Allow them to be > > controlled by GPIO framework. > > > > IRQs are handled by regmap-irq and GPIO driver is not > > aware of the irq usage. > >

Re: [PATCH v5] ARM: dspi: Provide support for DSPI slave mode operation (Vybryd vf610)

2019-02-04 Thread Lukasz Majewski
Hi Mark, > On Mon, Feb 04, 2019 at 11:30:01AM +0100, Lukasz Majewski wrote: > > > Is there any interest in adding new code (or fixes) to VF610 ? > > You've been sending ARM: patches to me (the SPI maintainer) and one of > the DT maintainers. > You need to send patches for that platform to th

[RFC PATCH v5 04/10] mfd: bd70528: Support ROHM bd70528 PMIC - core

2019-02-04 Thread Matti Vaittinen
ROHM BD70528MWV is an ultra-low quiescent current general purpose single-chip power management IC for battery-powered portable devices. Add MFD core which enables chip access for following subdevices: - regulators/LED drivers - battery-charger - gpios - 32.768kHz cl

Re: [PATCH V9 3/5] i2c: tegra: Add DMA support

2019-02-04 Thread Dmitry Osipenko
03.02.2019 17:47, Dmitry Osipenko пишет: > 01.02.2019 20:07, Sowjanya Komatineni пишет: >> 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 ma

Re: [PATCH v9 6/6] tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()

2019-02-04 Thread Mimi Zohar
On Mon, 2019-02-04 at 14:07 +0200, Jarkko Sakkinen wrote: > On Mon, Feb 04, 2019 at 10:14:38AM +0100, Roberto Sassu wrote: > > On 2/1/2019 8:15 PM, Mimi Zohar wrote: > > > Hi Roberto, > > > > > > Sorry for the delayed review.  A few comments inline below, minor > > > suggestions. > > > > > > > di

Re: [PATCH v5] ARM: dspi: Provide support for DSPI slave mode operation (Vybryd vf610)

2019-02-04 Thread Mark Brown
On Mon, Feb 04, 2019 at 01:52:42PM +0100, Lukasz Majewski wrote: > > On Mon, Feb 04, 2019 at 11:30:01AM +0100, Lukasz Majewski wrote: > > You've been sending ARM: patches to me (the SPI maintainer) and one of > > the DT maintainers. ... > Moreover, I've CC'ed developers (Esben, Andrey, Martin)

Re: [PATCH] arm64: dts: rockchip: add HDMI sound node for rk3328-rock64

2019-02-04 Thread Katsuhiro Suzuki
Hello Heiko, On 2019/02/03 18:06, Heiko Stuebner wrote: Am Samstag, 2. Februar 2019, 05:34:44 CET schrieb Katsuhiro Suzuki: This patch adds HDMI sound (I2S0) node and remove dma properties from UART2 node for rock64. The DMAC of rk3328 can use 8 channels at same time. Currently, total 7 channe

[no subject]

2019-02-04 Thread Rufus Limbaga
Dear, please confirm you received my mail Rufus

Re: [PATCH v5] ARM: dspi: Provide support for DSPI slave mode operation (Vybryd vf610)

2019-02-04 Thread Lukasz Majewski
Hi Mark, > On Mon, Feb 04, 2019 at 01:52:42PM +0100, Lukasz Majewski wrote: > > > On Mon, Feb 04, 2019 at 11:30:01AM +0100, Lukasz Majewski wrote: > > > > You've been sending ARM: patches to me (the SPI maintainer) and > > > one of the DT maintainers. > > ... > > > Moreover, I've CC'ed dev

[PATCH v3] selftests: add TPM 2.0 tests

2019-02-04 Thread Jarkko Sakkinen
Added the tests that I've been using for testing TPM 2.0 functionality for a long time but have been out-of-tree so far, residing in https://github.com/jsakkine-intel/tpm2-scripts Cc: Tadeusz Struk Signed-off-by: Jarkko Sakkinen Acked-By: Joey Pabalinas Reviewed-by: Petr Vorel --- v2: TARGETS

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

2019-02-04 Thread kbuild test robot
/commits/michael-kao-mediatek-com/Add-Mediatek-thermal-dirver-for-mt8183/20190204-131145 base: https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal.git next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagn

Re: [PATCH v9 6/6] tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()

2019-02-04 Thread Roberto Sassu
On 2/4/2019 1:07 PM, Jarkko Sakkinen wrote: On Mon, Feb 04, 2019 at 10:14:38AM +0100, Roberto Sassu wrote: On 2/1/2019 8:15 PM, Mimi Zohar wrote: Hi Roberto, Sorry for the delayed review.  A few comments inline below, minor suggestions. diff --git a/security/integrity/ima/ima.h b/security/in

Re: [PATCH v3 3/4] uaccess: Check no rescheduling function is called in unsafe region

2019-02-04 Thread Julien Thierry
On 30/01/2019 16:58, Valentin Schneider wrote: > On 15/01/2019 13:58, Julien Thierry wrote: > [...]> @@ -6151,6 +6159,20 @@ void ___might_sleep(const char *file, int line, > int preempt_offset) >> EXPORT_SYMBOL(___might_sleep); >> #endif >> >> +#ifdef CONFIG_DEBUG_UACCESS_SLEEP >> +void __mig

[PATCH] firmware: efi: arm-runtime: fix build error void value not ignored

2019-02-04 Thread Anders Roxell
Commit e2a2e56e4082 ("arm64: dump: no need to check return value of debugfs_create functions") changed the return value from 'int' to 'void'. ../drivers/firmware/efi/arm-runtime.c: In function ‘ptdump_init’: ../drivers/firmware/efi/arm-runtime.c:52:9: error: void value not ignored as it ought to

Re: [PATCH] mtd: spi-nor: cadence-quadspi: write upto 8-bytes data in STIG mode

2019-02-04 Thread Vignesh R
Hi, On 03/02/19 5:50 PM, tudor.amba...@microchip.com wrote: > + Vignesh > Thanks for looping in. > On 01/28/2019 07:02 AM, Purna Chandra Mandal wrote: >> cadence-quadspi controller allows upto eight bytes of data to >> be written in software Triggered Instruction generator (STIG) mode >> of ope

[PATCH v2] tpm/st33zp24: Fix the name collisions in tpm_st33zp24_spi and tpm_i2c_infineon

2019-02-04 Thread Jarkko Sakkinen
Rename TPM_BUFSIZE defined in drivers/char/tpm/st33zp24/st33zp24.h to ST33ZP24_BUFSIZE. Rename TPM_BUFSIZE defined in drivers/char/tpm/tpm_i2c_infineon.c to TPM_I2C_INFINEON_BUFSIZE. Cc: sta...@vger.kernel.org Fixes: bf38b8710892 ("tpm/tpm_i2c_stm_st33: Split tpm_i2c_tpm_st33 in 2 layers (core +

Re: [PATCH] mmc: mmc: Fix HS setting in mmc_hs400_to_hs200()

2019-02-04 Thread Adrian Hunter
On 4/02/19 12:54 PM, Ulf Hansson wrote: > On Mon, 4 Feb 2019 at 10:58, Adrian Hunter wrote: >> >> On 1/02/19 10:10 AM, Ulf Hansson wrote: >>> On Fri, 1 Feb 2019 at 02:38, Chaotian Jing >>> wrote: On Thu, 2019-01-31 at 16:58 +0100, Ulf Hansson wrote: > On Thu, 31 Jan 2019 at 08:53,

Re: [PATCH] firmware: efi: arm-runtime: fix build error void value not ignored

2019-02-04 Thread Ard Biesheuvel
On Mon, 4 Feb 2019 at 14:29, Anders Roxell wrote: > > Commit e2a2e56e4082 ("arm64: dump: no need to check return value of > debugfs_create functions") > changed the return value from 'int' to 'void'. > > ../drivers/firmware/efi/arm-runtime.c: In function ‘ptdump_init’: > ../drivers/firmware/efi/a

[PATCH] ASoC: rsnd: ssiu: correct shift bit for ssiu9

2019-02-04 Thread Jiada Wang
Currently "0xf << 36" is used to clear SSIU-9 internal buffer state, which overflows 32-bit value according to user reference manual, it is always bit4 ~ bit7 of SSI_SYS_STATUS[1,3,5,7] registers indicate SSIU-9's buffer state, so "0xf << 4" should be used. This patch fix incorrect shifting issue

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

2019-02-04 Thread Maxime Ripard
On Mon, Feb 04, 2019 at 06:16:24PM +0800, Chen-Yu Tsai wrote: > On Mon, Feb 4, 2019 at 5:34 PM Maxime Ripard > wrote: > > > > On Sun, Feb 03, 2019 at 11:56:27PM +0800, Chen-Yu Tsai wrote: > > > The MMC device tree bindings include properties used to signal various > > > signalling speed modes. Un

Re: [PATCH 1/1] mm/vmalloc: convert vmap_lazy_nr to atomic_long_t

2019-02-04 Thread Matthew Wilcox
On Mon, Feb 04, 2019 at 11:49:56AM +0100, Uladzislau Rezki wrote: > On Fri, Feb 01, 2019 at 01:45:28PM +0100, Michal Hocko wrote: > > On Thu 31-01-19 17:24:52, Uladzislau Rezki (Sony) wrote: > > > vmap_lazy_nr variable has atomic_t type that is 4 bytes integer > > > value on both 32 and 64 bit syst

Re: [PATCH v7 2/3] arm64: implement ftrace with regs

2019-02-04 Thread Ard Biesheuvel
On Mon, 4 Feb 2019 at 13:03, Torsten Duwe wrote: > > On Tue, Jan 22, 2019 at 02:55:12PM +0100, Ard Biesheuvel wrote: > > On Tue, 22 Jan 2019 at 14:28, Torsten Duwe wrote: > > > > > > On Tue, Jan 22, 2019 at 10:18:17AM +, Julien Thierry wrote: > > > > Hi Torsten, > > > > > > > > A few suggesti

Re: [PATCH] efi/arm: Don't expect a return value of ptdump_debugfs_register

2019-02-04 Thread Will Deacon
On Fri, Feb 01, 2019 at 11:18:22PM +0100, Ard Biesheuvel wrote: > On Fri, 1 Feb 2019 at 20:21, Nathan Chancellor > wrote: > > > > As of commit e2a2e56e4082 ("arm64: dump: no need to check return value > > of debugfs_create functions") in the arm64 for-next/core branch, > > ptdump_debugfs_register

Re: [PATCH v2] tpm/st33zp24: Fix the name collisions in tpm_st33zp24_spi and tpm_i2c_infineon

2019-02-04 Thread Roberto Sassu
On 2/4/2019 2:37 PM, Jarkko Sakkinen wrote: Rename TPM_BUFSIZE defined in drivers/char/tpm/st33zp24/st33zp24.h to ST33ZP24_BUFSIZE. Rename TPM_BUFSIZE defined in drivers/char/tpm/tpm_i2c_infineon.c to TPM_I2C_INFINEON_BUFSIZE. Please also add a prefix to TPM_RETRY in tpm_i2c_nuvoton.c. Thanks

Re: [PATCH 3/3] selftests/ima: kexec_file_load syscall test

2019-02-04 Thread Mimi Zohar
On Sun, 2019-02-03 at 23:02 +0100, Petr Vorel wrote: > Hi Mimi, > > > The kernel can be configured to verify PE signed kernel images, IMA > > kernel image signatures, both types of signatures, or none. This test > > verifies only properly signed kernel images are loaded into memory, > > based on

Re: [PATCH v5 0/9] phy: Add configuration interface for MIPI D-PHY devices

2019-02-04 Thread Maxime Ripard
Hi Kishon, On Mon, Feb 04, 2019 at 03:33:31PM +0530, Kishon Vijay Abraham I wrote: > On 21/01/19 9:15 PM, Maxime Ripard wrote: > > Here is a set of patches to allow the phy framework consumers to test and > > apply runtime configurations. > > > > This is needed to support more phy classes that re

PROBLEM: fs: hugetlbfs: boot failure due to specs sentinel missing on linux-next

2019-02-04 Thread Abel Vesa
Hi David, I found this this morning trying to boot up i.MX8MQ platform. It's totally unrelated though. Your commit: 2284cf59cbcec "hugetlbfs: Convert to fs_context" doesn't put a sentinel at the end of hugetlb_param_specs. Then, the your commit: f512b838c1048 "vfs: Add configuration parser helpe

[PATCH v2 2/4] livepatch: return -ENOMEM on ptr_id() allocation failure

2019-02-04 Thread Petr Mladek
From: Joe Lawrence Fixes the following smatch warning: lib/livepatch/test_klp_shadow_vars.c:47 ptr_id() warn: returning -1 instead of -ENOMEM is sloppy Signed-off-by: Joe Lawrence Signed-off-by: Petr Mladek --- lib/livepatch/test_klp_shadow_vars.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 0/4] livepatch: Followup changes for the atomic replace patchset

2019-02-04 Thread Petr Mladek
This patchset implements ideas that were mentioned and postponed during the review of the atomic replace patchset. The patches apply on top of livepatching.git, branch origin/for-5.1/atomic-replace. Changes against v1: + Added Joe's patch that fixed ptr_id() error code [Joe] + Did proper er

[PATCH v2 3/4] livepatch: Proper error handling in the shadow variables selftest

2019-02-04 Thread Petr Mladek
Add proper error handling when allocating or getting shadow variables in the selftest. It prevents an invalid pointer access in some situations. It shows the good programming practice in the others. The error codes are just the best guess and specific for this particular test. In general, klp_shad

[PATCH v2 4/4] livepatch: Module coming and going callbacks can proceed with all listed patches

2019-02-04 Thread Petr Mladek
Livepatches can no longer get enabled and disabled repeatedly. The list klp_patches contains only enabled patches and eventually the patch in transition. The module coming and going callbacks do no longer need to check for these state. They have to proceed with all listed patches. Suggested-by: J

[PATCH v2 1/4] livepatch: Introduce klp_for_each_patch macro

2019-02-04 Thread Petr Mladek
There are already macros to iterate over struct klp_func and klp_object. Add also klp_for_each_patch(). But make it internal because also klp_patches list is internal. Suggested-by: Josh Poimboeuf Signed-off-by: Petr Mladek Acked-by: Miroslav Benes Acked-by: Joe Lawrence --- kernel/livepatch

pull-request: wireless-drivers 2019-02-04

2019-02-04 Thread Kalle Valo
Hi Dave, here are fixes to net tree for 5.0, more info below. Please let me know if there are any problems. Kalle The following changes since commit bfeffd155283772bbe78c6a05dec7c0128ee500c: Linux 5.0-rc1 (2019-01-06 17:08:20 -0800) are available in the git repository at: git://git.kerne

Re: [PATCHv3 1/2] ARM64: dts: meson-gxbb-odroidc2: Fix usb phy reset warning

2019-02-04 Thread Martin Blumenstingl
Hi Anand, On Tue, Jan 29, 2019 at 11:25 AM Anand Moon wrote: > > Add missing vin-supply node 5.0V regulator setting to power > to usb ports, changes help fix the usb reset warning. > > [ 795.380156] usb 1-1.2: reset high-speed USB device number 3 using dwc2 > [ 798.356073] usb 1-1.2: reset high

[PATCH v2] tpm/tpm_crb: Avoid unaligned reads in crb_recv()

2019-02-04 Thread Jarkko Sakkinen
The current approach to read first 6 bytes from the response and then tail of the response, can cause the 2nd memcpy_fromio() to do an unaligned read (e.g. read 32-bit word from address aligned to a 16-bits), depending on how memcpy_fromio() is implemented. If this happens, the read will fail and t

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

2019-02-04 Thread Boris Brezillon
On Mon, 4 Feb 2019 10:09:22 + wrote: > 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 Rev

Re: [PATCH v2] ALSA: hda/tegra: enable clock during probe

2019-02-04 Thread Thierry Reding
On Mon, Feb 04, 2019 at 03:03:49PM +0300, Dmitry Osipenko wrote: > 04.02.2019 14:05, Thierry Reding пишет: > > On Mon, Feb 04, 2019 at 09:53:32AM +, Jon Hunter wrote: > >> > >> > >> On 04/02/2019 08:45, Thierry Reding wrote: > >> > >> ... > >> > >>> The idea was, as I was saying below, to reuse

Re: [RFC PATCH v4] akcipher: new verify API for public key algorithms

2019-02-04 Thread Vitaly Chikunov
Herbert, On Fri, Feb 01, 2019 at 10:09:23AM +0300, Vitaly Chikunov wrote: > On Fri, Feb 01, 2019 at 02:26:55PM +0800, Herbert Xu wrote: > > On Fri, Jan 25, 2019 at 09:01:16PM +0300, Vitaly Chikunov wrote: > > > > > > @@ -781,36 +780,17 @@ static int tpm_key_verify_signature(const struct > > > key

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

2019-02-04 Thread Boris Brezillon
On Mon, 4 Feb 2019 10:09:53 + wrote: > 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

Re: PROBLEM: fs: hugetlbfs: boot failure due to specs sentinel missing on linux-next

2019-02-04 Thread David Howells
Abel Vesa wrote: > Your commit: > 2284cf59cbcec "hugetlbfs: Convert to fs_context" > doesn't put a sentinel at the end of hugetlb_param_specs. Yes, I have a fix queued for Al to pick up on my mount-api-viro branch (2nd from bottom, "Fix hugetlbfs"). https://git.kernel.org/pub/scm/linux/kernel/g

Re: [PATCHv3 2/2] ARM64: dts: meson-gxbb-odroidc2: Fix usb phy regulator power failed warning

2019-02-04 Thread Martin Blumenstingl
Hi Anand, On Tue, Jan 29, 2019 at 11:25 AM Anand Moon wrote: > > Override the dr_mode from "host" to "otg" for USB_HOST controller (usb0) > changes help usb_phy0->usb0 initialization of OTG bus port. > > Changes fix the below warning. > > [1.183681] dwc2 c900.usb: c900.usb supply vusb

[PATCH] mailbox: Export mbox_flush()

2019-02-04 Thread Thierry Reding
From: Thierry Reding The mbox_flush() function can be used by drivers that are built as modules, so the function needs to be exported. Reported-by: Mark Brown Signed-off-by: Thierry Reding --- drivers/mailbox/mailbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/mailbo

[PATCH] sysfs: remove unused include of kernfs-internal.h

2019-02-04 Thread Ondrej Mosnacek
This include is not needed (fs/sysfs/file.c builds just fine without it). Remove it. Cc: Tejun Heo Signed-off-by: Ondrej Mosnacek --- fs/sysfs/file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index 52d9235e0291..130fc6fbcc03 100644 --- a/fs/sysfs/file.

Assalamu`Alaikum.

2019-02-04 Thread Mohammad ouattara
Dear Sir/Madam. Assalamu`Alaikum. I am Dr mohammad ouattara, I have ($14.6 Million us dollars) to transfer into your account, I will send you more details about this deal and the procedures to follow when I receive a positive response from you, Have a great day, Dr mohammad ouattara.

Re: [PATCH] staging: rtl8192u: fix a null pointer dereference on a null dev pointer

2019-02-04 Thread Colin Ian King
On 03/02/2019 11:31, Dan Carpenter wrote: > On Sat, Feb 02, 2019 at 10:56:27PM +, Colin King wrote: >> From: Colin Ian King >> >> There is an earlier null check on pointer dev which implies it may be null, >> however the assignment of pointer pref and the call to free_ieee82011 on >> a null de

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

2019-02-04 Thread Boris Brezillon
On Mon, 4 Feb 2019 10:10:21 + wrote: > + > +static void atmel_qspi_sam9x60_write_regs(const struct atmel_qspi *aq, > + const struct spi_mem_op *op, > + const struct atmel_qspi_cfg *cfg) > +{ > + /* Clear pending i

Re: [PATCH v3 2/6] usb:common Separated decoding functions from dwc3 driver.

2019-02-04 Thread Felipe Balbi
Hi, Greg KH writes: > On Thu, Jan 31, 2019 at 11:52:29AM +, Pawel Laszczak wrote: >> Patch moves some decoding functions from driver/usb/dwc3/debug.h driver >> to driver/usb/common/debug.c file. These moved functions include: >> dwc3_decode_get_status >> dwc3_decode_set_clear_feature

[PATCH 2/3] perf tools: Add perf_evsel__output_resort_cb function

2019-02-04 Thread Jiri Olsa
Adding perf_evsel__output_resort_cb so we have an interface with callback on each hist entry. It will be used in following patch. Link: http://lkml.kernel.org/n/tip-oakdwgxijwhxrlp9405qz...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/hist.c | 10 -- tools/perf/util/hist.h

[PATCH 0/3] perf tools: Move ipc_symbol computation to resort

2019-02-04 Thread Jiri Olsa
hi, currently the we make annotation for ipc column during the entry display, already outside the progress bar scope, so it appears like perf report is stuck. You can see that on following example (with perf.data big enough): $ perf record -b ... $ perf report -s symbol The report TUI c

[PATCH 3/3] perf tools: Move symbol annotation to resort

2019-02-04 Thread Jiri Olsa
Currently the we make annotation for ipc column during the entry display, already outside the progress bar scope, so it appears like perf report is stuck. Moving the annotation retrieval to the resort phase, so all the data are ready for display. Link: http://lkml.kernel.org/n/tip-gvqlawikmwbg5iq

[PATCH 1/3] perf tools: Add argument to hists__resort_cb_t callback

2019-02-04 Thread Jiri Olsa
Adding argument to hists__resort_cb_t so we could pass data from upper layers to callback function. It will be used in following patches. Link: http://lkml.kernel.org/n/tip-o5z31ieiejppymvebyv2u...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 8 tools/perf/uti

[PATCH v2 00/14] Add support for TI PRU ICSS

2019-02-04 Thread Roger Quadros
Hi, The Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS) is present on various TI SoCs such as AM335x, AM437x, AM57x, Keystone 66AK2G, etc. A PRUSS consists of dual 32-bit RISC cores (Programmable Real-Time Units, or PRUs), with instruction and data memories. The prog

[PATCH v2 02/14] soc: ti: pruss: Add a platform driver for PRUSS in TI SoCs

2019-02-04 Thread Roger Quadros
From: Suman Anna The Programmable Real-Time Unit - Industrial Communication Subsystem (PRU-ICSS) is present on various TI SoCs such as AM335x or AM437x or the Keystone 66AK2G. Each SoC can have one or more PRUSS instances that may or may not be identical. For example, AM335x SoCs have a single PR

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

2019-02-04 Thread Roger Quadros
From: Suman Anna This patch adds the bindings for the Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS) present on various SoCs such as AM33xx, AM437x, AM57xx, Keystone 66AK2G SoC, etc. It is present on the Davinci based OMAPL138 SoCs and K3 architecture based AM65x So

[PATCH v2 05/14] remoteproc: add map parameter to da_to_va

2019-02-04 Thread Roger Quadros
From: David Lechner This adds a new map parameter to the da_to_va callback for remoteproc devices. This parameter will be used by devices that have more than one memory map, such as the PRU found in TI Sitara SoCs. On these devices, the same physical memory address can refer to two different loc

[PATCH v2 11/14] remoteproc/pru: Add pru_rproc_set_ctable() and pru_rproc_set_gpimode()

2019-02-04 Thread Roger Quadros
Some firmwares expect the OS drivers to configure the CTABLE entries publishing dynamically allocated memory regions. For example, the PRU Ethernet firmwares use the C28 and C30 entries for retrieving the Shared RAM and System SRAM (OCMC) areas allocated by the PRU Ethernet client driver. Provide

[PATCH v2 06/14] remoteproc: add page lookup for TI PRU to ELF loader

2019-02-04 Thread Roger Quadros
From: David Lechner This adds a special handler to the default remoteproc ELF firmware loader that looks up the memory map on TI PRU firmware files. These processors have multiple memory maps that share the same address space, so we need to know the page in addition to the physical address in or

[PATCH v2 09/14] dt-binding: remoteproc: Add binding doc for PRU Cores in the PRU-ICSS

2019-02-04 Thread Roger Quadros
From: Suman Anna The Programmable Real-Time Unit Subsystem (PRUSS) consists of dual 32-bit RISC cores (Programmable Real-Time Units, or PRUs) for program execution. This patch adds a remoteproc platform driver for managing the individual PRU RISC cores life cycle. Add DT binding documentation fo

[PATCH v2 12/14] remoteproc/pru: Add support for virtio rpmsg stack

2019-02-04 Thread Roger Quadros
From: Suman Anna The PRU remoteproc driver has been enhanced to support the optional rpmsg stack using the virtio-ring based communication transport between MPU and a PRU core. This provides support to any firmware images supporting the virtio devices. The virtio-ring signalling support is provi

[PATCH v2 10/14] remoteproc/pru: Add PRU remoteproc driver

2019-02-04 Thread Roger Quadros
From: Suman Anna The Programmable Real-Time Unit Subsystem (PRUSS) consists of dual 32-bit RISC cores (Programmable Real-Time Units, or PRUs) for program execution. This patch adds a remoteproc platform driver for managing the individual PRU RISC cores life cycle. This remoteproc driver does not

[PATCH v2 13/14] rpmsg: virtio_rpmsg_bus: move back rpmsg_hdr into a public header

2019-02-04 Thread Roger Quadros
From: Suman Anna Commit e88dae5da46d ("rpmsg: Move virtio specifics from public header") has moved the struct rpmsg_hdr definition from the public rpmsg.h and made it private to virtio_rpmsg_bus module. This structure is a common header used in all virtio rpmsg messages, and used by various virti

[PATCH v2 04/14] irqchip: pruss: Add a PRUSS irqchip driver for PRUSS interrupts

2019-02-04 Thread Roger Quadros
From: "Andrew F. Davis" The Programmable Real-Time Unit Subsystem (PRUSS) contains an interrupt controller (INTC) that can handle various system input events and post interrupts back to the device-level initiators. The INTC can support upto 64 input events with individual control configuration an

[PATCH v2 03/14] dt-binding: irqchip: Add pruss-intc-irq driver for PRUSS interrupts

2019-02-04 Thread Roger Quadros
From: "Andrew F. Davis" The Programmable Real-Time Unit Subsystem (PRUSS) contains an interrupt controller (INTC) that can handle various system input events and post interrupts back to the device-level initiators. The INTC can support upto 64 input events with individual control configuration an

[PATCH v2 14/14] rpmsg: pru: add a PRU RPMsg driver

2019-02-04 Thread Roger Quadros
From: Jason Reeder An RPMsg driver that exposes interfaces to user space, to allow applications to communicate with the PRU processors on available TI SoCs has been added. This is restricted to SoCs that have the PRUSS remoteproc support. Signed-off-by: Jason Reeder [s-a...@ti.com: various clea

[PATCH v2 07/14] remoteproc: Add a rproc_set_firmware() API

2019-02-04 Thread Roger Quadros
From: Suman Anna A new API, rproc_set_firmware() is added to allow the remoteproc platform drivers and remoteproc client drivers to be able to configure a custom firmware name that is different from the default name used during remoteproc registration. This function is being introduced to provide

[PATCH v2 08/14] remoteproc: Add support to handle device specific resource types

2019-02-04 Thread Roger Quadros
From: Suman Anna The remoteproc framework handles a fixed set of resource table entries today. To make it scalable across multiple platforms, it makes sense for the framework to provide a way for the device specific implementation to define and handle vendor specific resource types. These resourc

Re: [PATCH V6 1/5] x86/cpufeature: Add facility to check for min microcode revisions

2019-02-04 Thread Liang, Kan
Hi all, Ping. Any comments on this series? Thanks, Kan On 1/21/2019 4:42 PM, kan.li...@linux.intel.com wrote: From: Kan Liang For bug workarounds or checks, it is useful to check for specific microcode revisions. Add a new generic function to match the CPU with stepping. Add the other funct

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

2019-02-04 Thread Tudor.Ambarus
On 02/04/2019 04:16 PM, Boris Brezillon wrote: > On Mon, 4 Feb 2019 10:10:21 + > wrote: > >> + >> +static void atmel_qspi_sam9x60_write_regs(const struct atmel_qspi *aq, >> + const struct spi_mem_op *op, >> + const st

Re: [PATCH v2 03/20] x86/mm: temporary mm struct

2019-02-04 Thread Borislav Petkov
On Thu, Jan 31, 2019 at 10:19:54PM +, Nadav Amit wrote: > Having a different struct can prevent the misuse of using mm_structs in > unuse_temporary_mm() that were not “used” using use_temporary_mm. The > typedef, I presume, can deter users from starting to play with the internal > “private” fie

Re: [PATCH v2] ALSA: hda/tegra: enable clock during probe

2019-02-04 Thread Dmitry Osipenko
04.02.2019 17:00, Thierry Reding пишет: > On Mon, Feb 04, 2019 at 03:03:49PM +0300, Dmitry Osipenko wrote: >> 04.02.2019 14:05, Thierry Reding пишет: >>> On Mon, Feb 04, 2019 at 09:53:32AM +, Jon Hunter wrote: On 04/02/2019 08:45, Thierry Reding wrote: ... > Th

Re: [PATCH 0/3] perf tools: Move ipc_symbol computation to resort

2019-02-04 Thread Arnaldo Carvalho de Melo
Em Mon, Feb 04, 2019 at 03:18:05PM +0100, Jiri Olsa escreveu: > hi, > currently the we make annotation for ipc column during the > entry display, already outside the progress bar scope, so > it appears like perf report is stuck. > > You can see that on following example (with perf.data big enough)

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

2019-02-04 Thread Boris Brezillon
On Mon, 4 Feb 2019 14:28:27 + wrote: > > > >> + writel_relaxed(cfg->ifr, aq->regs + QSPI_IFR); > >> +} > > > > Hm, so the only difference we have is the RICR vs ICR reg and the > > APBTFRTYP_READ vs SAMA5D2_WRITE_TRSFR bit. Not sure it deserves > > creating 2 hooks for that. Can we hav

[RESEND PATCH v2] of: fix kmemleak crash caused by imbalance in early memory reservation

2019-02-04 Thread Marc Gonzalez
From: Mike Rapoport Marc Gonzalez reported the following kmemleak crash: Unable to handle kernel paging request at virtual address ffc021e0 Mem abort info: ESR = 0x9606 Exception class = DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 Data abort info: ISV

Re: [PATCH v2] mm: page_mapped: don't assume compound page is huge or THP

2019-02-04 Thread Lars Persson
On Fri, Nov 30, 2018 at 1:07 PM Jan Stancek wrote: > > LTP proc01 testcase has been observed to rarely trigger crashes > on arm64: > page_mapped+0x78/0xb4 > stable_page_flags+0x27c/0x338 > kpageflags_read+0xfc/0x164 > proc_reg_read+0x7c/0xb8 > __vfs_read+0x58/0x178 > vfs_re

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

2019-02-04 Thread Guenter Roeck
On 2/4/19 4:49 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 --- drivers/watchdog/Kconfig | 12 +++ drivers/watchdog/Makefile

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