Re: [PATCH] serial: 8250: Add support for using platform_device resources

2019-05-02 Thread Andy Shevchenko
On Wed, May 01, 2019 at 09:17:37AM +0200, Esben Haabendal wrote: > Andy Shevchenko writes: > > Hmm... Currently it's done inside individual port drivers, like 8250_dw.c. > > Each of the drivers can do it differently, for example 8250_lpss.c or > > 8250_pnp.c. > > So, you would prefer to create

Re: [PATCH v6 3/3] backlight: lm3630a: add firmware node support

2019-05-02 Thread Brian Masney
On Thu, May 02, 2019 at 11:19:50AM +0100, Daniel Thompson wrote: > On 24/04/2019 10:25, Brian Masney wrote: > > Add fwnode support to the lm3630a driver and optionally allow > > configuring the label, default brightness level, and maximum brightness > > level. The two outputs can be controlled by

Re: [PATCH] clk: actions: Use the correct style for SPDX License Identifier

2019-05-02 Thread Andreas Färber
Am 02.05.19 um 12:38 schrieb Greg Kroah-Hartman: > On Thu, May 02, 2019 at 12:25:36PM +0200, Andreas Färber wrote: >> Am 02.05.19 um 09:07 schrieb Greg Kroah-Hartman: >>> On Wed, May 01, 2019 at 10:20:44PM +0200, Andreas Färber wrote: + linux-actions Am 01.05.19 um 09:07 schrieb

Re: [PATCH V2 0/3] Introduce Thermal Pressure

2019-05-02 Thread Ionela Voinescu
Hi Thara, >> After cleaning it up I'm getting results around 5.6s for this test case. >> I've run 50 iterations for each test, with 90s cool down period between >> them. >> >> >> Hackbench: (1 group , 3 loops, 50 runs) >> Result

Re: [PATCH] clk: actions: Use the correct style for SPDX License Identifier

2019-05-02 Thread Greg Kroah-Hartman
On Thu, May 02, 2019 at 12:25:36PM +0200, Andreas Färber wrote: > Am 02.05.19 um 09:07 schrieb Greg Kroah-Hartman: > > On Wed, May 01, 2019 at 10:20:44PM +0200, Andreas Färber wrote: > >> + linux-actions > >> > >> Am 01.05.19 um 09:07 schrieb Nishad Kamdar: > >>> This patch corrects the SPDX

[RFC PATCH V3 2/4] firmware: xilinx: Add ZynqMP sha_hash API for SHA3 functionality

2019-05-02 Thread Kalyani Akula
Add ZynqMP firmware SHA_HASH API to compute SHA3 hash of given data. Signed-off-by: Kalyani Akula --- drivers/firmware/xilinx/zynqmp.c | 27 +++ include/linux/firmware/xlnx-zynqmp.h | 2 ++ 2 files changed, 29 insertions(+) diff --git

[RFC PATCH V3 1/4] dt-bindings: crypto: Add bindings for ZynqMP SHA3 driver

2019-05-02 Thread Kalyani Akula
Add documentation to describe Xilinx ZynqMP SHA3 driver bindings. Signed-off-by: Kalyani Akula --- Documentation/devicetree/bindings/crypto/zynqmp-sha.txt | 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/zynqmp-sha.txt diff --git

[PATCH v2 2/2] RISC-V: sifive_l2_cache: Add L2 cache controller driver for SiFive SoCs

2019-05-02 Thread Yash Shah
The driver currently supports only SiFive FU540-C000 platform. The initial version of L2 cache controller driver includes: - Initial configuration reporting at boot up. - Support for ECC related functionality. Signed-off-by: Yash Shah --- arch/riscv/mm/Makefile | 1 +

[PATCH v2 1/2] RISC-V: Add DT documentation for SiFive L2 Cache Controller

2019-05-02 Thread Yash Shah
Add device tree bindings for SiFive FU540 L2 cache controller driver Signed-off-by: Yash Shah --- .../devicetree/bindings/riscv/sifive-l2-cache.txt | 51 ++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/riscv/sifive-l2-cache.txt

[PATCH v2 0/2] L2 cache controller support for SiFive FU540

2019-05-02 Thread Yash Shah
This patch series adds an L2 cache controller driver with DT documentation for SiFive FU540-C000. These two patches were initially part of the patch series: 'L2 cache controller and EDAC support for SiFive SoCs' https://lkml.org/lkml/2019/4/15/320 In order to merge L2 cache controller driver

Re: linux-next: Fixes tag needs some work in the vfs tree

2019-05-02 Thread Stephen Rothwell
Hi all, On Thu, 2 May 2019 20:25:15 +1000 Stephen Rothwell wrote: > > In commit > > 4e9036042fed ("ufs: fix braino in ufs_get_inode_gid() for solaris UFS > flavour") > > Fixes tag > > Fixes: 252e211e90ce > > has these problem(s): > > - missing subject > > Did you mean > > Fixes:

Re: [PATCH] clk: actions: Use the correct style for SPDX License Identifier

2019-05-02 Thread Andreas Färber
Am 02.05.19 um 09:07 schrieb Greg Kroah-Hartman: > On Wed, May 01, 2019 at 10:20:44PM +0200, Andreas Färber wrote: >> + linux-actions >> >> Am 01.05.19 um 09:07 schrieb Nishad Kamdar: >>> This patch corrects the SPDX License Identifier style >>> in header files related to Clock Drivers for Actions

linux-next: Fixes tag needs some work in the vfs tree

2019-05-02 Thread Stephen Rothwell
Hi Al, In commit 4e9036042fed ("ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour") Fixes tag Fixes: 252e211e90ce has these problem(s): - missing subject Did you mean Fixes: 252e211e90ce ("Add in SunOS 4.1.x compatible mode for UFS") -- Cheers, Stephen Rothwell

Re: [linux-sunxi] Re: [PATCH v5 3/7] ARM: dts: sun8i: v40: bananapi-m2-berry: Enable GMAC ethernet controller

2019-05-02 Thread Pablo Sebastián Greco
El 2/5/19 a las 04:39, Maxime Ripard escribió: On Tue, Apr 23, 2019 at 02:26:00PM -0300, Pablo Greco wrote: Just like the Bananapi M2 Ultra, the Bananapi M2 Berry has a Realtek RTL8211E RGMII PHY tied to the GMAC. The PMIC's DC1SW output provides power for the PHY, while the ALDO2 output

Re: Linux 5.0.11

2019-05-02 Thread Bhaskar Chowdhury
Thanks, a bunch! On 12:14 Thu 02 May , Greg KH wrote: I'm announcing the release of the 5.0.11 kernel. All users of the 5.0 kernel series must upgrade. The updated 5.0.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.0.y and

[PATCH] kobject: clean up the kobject add documentation a bit more

2019-05-02 Thread Greg Kroah-Hartman
Commit 1fd7c3b438a2 ("kobject: Improve doc clarity kobject_init_and_add()") tried to provide more clarity, but the reference to kobject_del() was incorrect. Fix that up by removing that line, and hopefully be more explicit as to exactly what needs to happen here once you register a kobject with

Re: [PATCH 5/4] 9p: pass the correct prototype to read_cache_page

2019-05-02 Thread Matthew Wilcox
On Thu, May 02, 2019 at 12:08:29AM -0600, William Kucharski wrote: > 3) Patch 5/4? That's a relatively common notation when an extra patch is needed to fix something after a series has been sent ;-)

Linux 5.0.11

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

Re: Linux 4.19.38

2019-05-02 Thread Greg KH
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index f5acf35c712f..8b6567f7cb9b 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -2805,7 +2805,7 @@

Re: [PATCH] power/poweroff.c: mark variables with __initdata and __maybe_unused

2019-05-02 Thread Pavel Machek
On Thu 2019-05-02 00:43:05, Nikitas Angelinas wrote: > There is no need to keep sysrq_poweroff_op after initialization, so mark > it with __initdata. Are you sure? pavel@duo:/data/l/k$ grep -ri sysrq_key_op . | grep initdata pavel@duo:/data/l/k$

Re: Linux 5.0.11

2019-05-02 Thread Greg KH
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index acdfb5d2bcaa..e2142fe40cda 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt @@ -422,6 +422,7 @@ tcp_min_rtt_wlen - INTEGER minimum RTT when it

Linux 4.19.38

2019-05-02 Thread Greg KH
I'm announcing the release of the 4.19.38 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.14.115

2019-05-02 Thread Greg KH
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 7d8b17ce8804..94fa46d2d805 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -2680,7 +2680,11 @@

Linux 4.14.115

2019-05-02 Thread Greg KH
I'm announcing the release of the 4.14.115 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

Linux 4.9.172

2019-05-02 Thread Greg KH
I'm announcing the release of the 4.9.172 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: Linux 4.9.172

2019-05-02 Thread Greg KH
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index c708a50b060e..a1472b48ee22 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -2758,6 +2758,10 @@ bytes respectively. Such letter suffixes can also be entirely

Re: [PATCH v3 3/4] Documentation: devicetree: add PPMU events description

2019-05-02 Thread Lukasz Luba
Hi Chanwoo, On 4/30/19 8:16 AM, Chanwoo Choi wrote: > Hi Lukasz, > > On 19. 4. 19. 오후 10:48, Lukasz Luba wrote: >> Extend the documenation by events description with new 'event-data-type' >> field. Add example how the event might be defined in DT. >> >> Signed-off-by: Lukasz Luba >> --- >>

linux-next: Tree for May 2

2019-05-02 Thread Stephen Rothwell
Hi all, Changes since 20190501: The kbuild tree gained a conflict against Linus' tree. The f2fs tree gained a build failure for which I applied a patch. The net-next tree gained a conflict against the net tree. The pidfd tree gained a conflict against the kbuild tree. The akpm-current tree

Re: [RT WARNING] DEBUG_LOCKS_WARN_ON(rt_mutex_owner(lock) != current) with fsfreeze (4.19.25-rt16)

2019-05-02 Thread Oleg Nesterov
On 05/01, Peter Zijlstra wrote: > > Anyway; I cobbled together the below. Oleg, could you have a look, I'm > sure I messed it up. Oh, I will need to read this carefully. but at first glance I do not see any hole... > +static void readers_block(struct percpu_rw_semaphore *sem) > +{ > +

RE: [PATCH] ASoC: da7219: Update the support rate list

2019-05-02 Thread Adam Thomson
On 02 May 2019 05:08, Yu-Hsuan Hsu wrote: > If we want to set rate to 64000 on da7219, it fails and returns > "snd_pcm_hw_params: Invalid argument". > We should remove 64000 from support rate list because it is not > available. > > Signed-off-by: Yu-Hsuan Hsu Reviewed-by: Adam Thomson > ---

[PATCH] staging: wlan-ng: Fix improper SPDX comment style

2019-05-02 Thread Himadri Pandya
The SPDX license identifier should have the form // SPDX-License-Identifier: for a .c source file. File hfa384x_usb.c has instead the form /* SPDX-License-Identifier: */ which is the form for C header files. Hence this patch corrects it. Issue identified by checkpatch. Signed-off-by: Himadri

Re: [PATCH v2 2/3] mtd: spi-nor: add support to unlock flash device.

2019-05-02 Thread Sagar Kadam
On Tue, Apr 30, 2019 at 10:49 PM Paul Walmsley wrote: > > On Sun, 28 Apr 2019, Sagar Shrikant Kadam wrote: > > > Nor device (is25wp256 mounted on HiFive unleashed Rev A00 board) from ISSI > > have memory blocks guarded by block protection bits BP[0,1,2,3]. > > > > Clearing block protection

Re: [PATCH v2 1/3] mtd: spi-nor: add support for is25wp256

2019-05-02 Thread Sagar Kadam
Thank you Paul, for your review comments. On Tue, Apr 30, 2019 at 10:33 PM Paul Walmsley wrote: > > On Sun, 28 Apr 2019, Sagar Shrikant Kadam wrote: > > > Update spi_nor_id tablet for is25wp256 (32MB)device from ISSI, > > present on HiFive Unleashed dev board (Rev: A00). > > > > Set method to

Re: [PATCH v3] kernel/module: Reschedule while waiting for modules to finish loading

2019-05-02 Thread Jessica Yu
+++ Prarit Bhargava [01/05/19 17:26 -0400]: On 4/30/19 6:22 PM, Prarit Bhargava wrote: On a s390 z14 LAR with 2 cpus about stalls about 3% of the time while loading the s390_trng.ko module. Add a reschedule point to the loop that waits for modules to complete loading. v3: cleanup Fixes

Re: [PATCH v2 2/5] ASoC: sun4i-spdif: Add support for H6 SoC

2019-05-02 Thread Clément Péron
Hi Maxime, On Thu, 2 May 2019 at 10:25, Maxime Ripard wrote: > > On Fri, Apr 19, 2019 at 09:17:27PM +0200, Clément Péron wrote: > > Allwinner H6 has a different mapping for the fifo register controller. > > > > Actually only the fifo tx flush bit is used. > > > > Add a new quirk to know the

[PATCH net-next 3/3] MIPS: generic: Add police related options to ocelot_defconfig

2019-05-02 Thread Joergen Andreasen
Add default support for ingress qdisc, matchall classification and police action on MSCC Ocelot. Signed-off-by: Joergen Andreasen --- arch/mips/configs/generic/board-ocelot.config | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/configs/generic/board-ocelot.config

Re: [PATCH] mod_devicetable.h: reduce sizeof(struct of_device_id) by 80 bytes

2019-05-02 Thread Rasmus Villemoes
On 26/04/2019 11.27, Arnd Bergmann wrote: > On Thu, Apr 25, 2019 at 10:31 PM Rasmus Villemoes > wrote: >> >> For an arm imx_v6_v7_defconfig kernel, .rodata becomes 70K smaller; >> .init.data shrinks by another ~13K, making the whole kernel image >> about 83K, or 0.3%, smaller. >> >>

[PATCH net-next 0/3] Add hw offload of TC police on MSCC ocelot

2019-05-02 Thread Joergen Andreasen
This patch series enables hardware offload of ingress port policing on the MSCC ocelot board. Joergen Andreasen (3): net/sched: act_police: move police parameters into separate header file net: mscc: ocelot: Implement port policers via tc command MIPS: generic: Add police related

Re: [RFC PATCH v1] PCI: qcom: Use quirk to override incorrect device class

2019-05-02 Thread Marc Gonzalez
On 30/04/2019 16:06, Lorenzo Pieralisi wrote: > On Tue, Mar 12, 2019 at 06:34:55PM +0100, Marc Gonzalez wrote: > >> On 12/03/2019 18:18, Marc Gonzalez wrote: >> >>> On 12/03/2019 13:42, Stanimir Varbanov wrote: >>> I wonder, in case that dw_pcie_setup_rc() already has a write to

Re: [PATCH 1/2] RISC-V: Add DT documentation for SiFive L2 Cache Controller

2019-05-02 Thread Yash Shah
On Thu, May 2, 2019 at 2:40 PM Sudeep Holla wrote: > > > Sorry if I created confusion. I just wanted a note saying all the properties > in ePAPR/DeviceTree specification applies for this platform. That would > help me check if the standard cacheinfo infrastruction works as is or not. Sure, will

[PATCH v2] dmaengine: stm32-dma: fix residue calculation in stm32-dma

2019-05-02 Thread Arnaud Pouliquen
In double buffer mode, during residue calculation, the DMA can automatically switch to the next transfer. Indeed the CT bit that gives position in the double buffer can has been updated by the hardware, during calculation. In this case the SxNDTR register value can not be trusted. If a transition

RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-05-02 Thread David Laight
From: Reshetova, Elena > Sent: 02 May 2019 09:16 ... > > I'm also guessing that get_cpu_var() disables pre-emption? > > Yes, in my understanding: > > #define get_cpu_var(var) \ > (*({ \

[PATCH v14 8/8] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-05-02 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 Acked-by: Guenter Roeck --- Changelog v14: No changes drivers/watchdog/Kconfig | 12 ++

[PATCH v14 7/8] power: supply: Initial support for ROHM BD70528 PMIC charger block

2019-05-02 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 Acked-by: Sebastian Reichel --- Changelog v14: - constify and statictze few structs - use dev_get_regmap

[PATCH v14 6/8] rtc: bd70528: Initial support for ROHM bd70528 RTC

2019-05-02 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

Re: [PATCH v3 1/4] include: dt-bindings: add Performance Monitoring Unit for Exynos

2019-05-02 Thread Lukasz Luba
On 5/1/19 12:33 AM, Rob Herring wrote: > On Fri, 19 Apr 2019 15:48:05 +0200, Lukasz Luba wrote: >> This patch add support of a new feature which can be used in DT: >> Performance Monitoring Unit with defined event data type. >> In this patch the event data types are defined for Exynos PPMU. >>

[PATCH v14 5/8] gpio: Initial support for ROHM bd70528 GPIO block

2019-05-02 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 --- Changelog v14: No changes drivers/gpio/Kconfig| 11 ++

[PATCH v14 4/8] dt-bindings: mfd: Document first ROHM BD70528 bindings

2019-05-02 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 --- Changelog v14: No changes

[PATCH v14 3/8] clk: bd718x7: Support ROHM BD70528 clk block

2019-05-02 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 Acked-by: Stephen Boyd --- Changelog v14: No changes

[PATCH v14 2/8] mfd: bd70528: Support ROHM bd70528 PMIC - core

2019-05-02 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

[PATCH v14 1/8] mfd: regulator: clk: split rohm-bd718x7.h

2019-05-02 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 Acked-by: Mark Brown

[PATCH v14 0/8] support ROHM BD70528 PMIC

2019-05-02 Thread Matti Vaittinen
Patch series introducing support for ROHM BD70528 PMIC Resending the series as I forgot Lee from the recipient list of the original mail. 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

linux-next: manual merge of the akpm-current tree with the parisc-hd tree

2019-05-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/parisc/mm/init.c between commit: 1fb55c4cf4e6 ("parisc: Enable SPARSEMEM_VMEMMAP") from the parisc-hd tree and commit: 2e5adbd9e97a ("initramfs: provide a generic free_initrd_mem implementation") from

Re: [PATCH 1/2] RISC-V: Add DT documentation for SiFive L2 Cache Controller

2019-05-02 Thread Sudeep Holla
On Thu, May 02, 2019 at 10:50:12AM +0530, Yash Shah wrote: > On Thu, May 2, 2019 at 6:11 AM Rob Herring wrote: > > > > On Tue, Apr 30, 2019 at 09:50:45AM +0530, Yash Shah wrote: > > > On Fri, Apr 26, 2019 at 3:04 PM Sudeep Holla wrote: > > > > > > > > On Fri, Apr 26, 2019 at 11:20:17AM +0530,

Re: [PATCH v3 2/4] drivers: devfreq: events: extend events by type of counted data

2019-05-02 Thread Lukasz Luba
On 5/2/19 3:25 AM, Chanwoo Choi wrote: > Hi Lukasz, > > On 19. 5. 1. 오전 6:19, Lukasz Luba wrote: >> Hi Chanwoo, >> >> On 4/30/19 9:34 AM, Chanwoo Choi wrote: >>> Hi Lukasz, >>> >>> On 19. 4. 19. 오후 10:48, Lukasz Luba wrote: This patch adds posibility to choose what type of data should be

Re: kobject_init_and_add() confusion

2019-05-02 Thread Greg Kroah-Hartman
On Thu, May 02, 2019 at 10:34:12AM +0200, Petr Mladek wrote: > On Wed 2019-05-01 09:38:03, Tobin C. Harding wrote: > > Hi, > > > > Looks like I've created a bit of confusion trying to fix memleaks in > > calls to kobject_init_and_add(). Its spread over various patches and > > mailing lists so

Re: [PATCH v2 1/4] of_net: Add NVMEM support to of_get_mac_address

2019-05-02 Thread Petr Štetiar
Rob Herring [2019-05-01 15:19:25]: Hi Rob, > > + struct property *pp; ... > > + pp = kzalloc(sizeof(*pp), GFP_KERNEL); > > + if (!pp) > > + return NULL; > > + > > + pp->name = "nvmem-mac-address"; > > + pp->length = ETH_ALEN; > > + pp->value = kmemdup(mac, ETH_ALEN,

Re: PSCI version 1.1 and SYSTEM_RESET2

2019-05-02 Thread Sudeep Holla
On Wed, May 01, 2019 at 11:43:00AM -0700, Sodagudi Prasad wrote: > On 2019-05-01 02:49, Sudeep Holla wrote: > > On Tue, Apr 30, 2019 at 05:07:31PM -0700, Sodagudi Prasad wrote: > > > On 2019-04-30 14:44, Sodagudi Prasad wrote: [...] > > > > > > It would nice if there is a config option to reboot

[PATCH 4/4] nvme-pci: trigger device coredump before resetting controller

2019-05-02 Thread Akinobu Mita
This enables the nvme driver to trigger a device coredump before resetting the controller caused by I/O timeout. The device coredump helps diagnose and debug issues. Cc: Johannes Berg Cc: Keith Busch Cc: Jens Axboe Cc: Christoph Hellwig Cc: Sagi Grimberg Signed-off-by: Akinobu Mita ---

[PATCH 1/4] devcoredump: use memory_read_from_buffer

2019-05-02 Thread Akinobu Mita
Use memory_read_from_buffer() to simplify devcd_readv(). Cc: Johannes Berg Cc: Keith Busch Cc: Jens Axboe Cc: Christoph Hellwig Cc: Sagi Grimberg Signed-off-by: Akinobu Mita --- drivers/base/devcoredump.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git

[PATCH 3/4] nvme-pci: add device coredump support

2019-05-02 Thread Akinobu Mita
This enables to capture snapshot of controller information via device coredump machanism. The nvme device coredump creates the following coredump files. - regs: NVMe controller registers, including each I/O queue doorbell registers, in nvme-show-regs style text format. - sq: I/O

[PATCH 2/4] devcoredump: allow to create several coredump files in one device

2019-05-02 Thread Akinobu Mita
The device coredump mechanism currently allows drivers to create only a single coredump file. If there are several binary blobs to dump, we need to define a binary format or conver to text format in order to put them into a single coredump file. This provides a new function that allows drivers

[PATCH 0/4] nvme-pci: support device coredump

2019-05-02 Thread Akinobu Mita
This enables to capture snapshot of controller information via device coredump machanism, and it helps diagnose and debug issues. The nvme device coredump is triggered before resetting the controller caused by I/O timeout, and creates the following coredump files. - regs: NVMe controller

Re: [PATCH 11/10] arm64: unbreak DYNAMIC_DEBUG=y build with clang

2019-05-02 Thread Rasmus Villemoes
On 30/04/2019 20.22, Nick Desaulniers wrote: > On Mon, Apr 29, 2019 at 10:32 AM Nick Desaulniers > wrote: >> >> On Fri, Apr 26, 2019 at 12:06 PM Rasmus Villemoes >> wrote: >>> >>> Current versions of clang does not like the %c modifier in inline >>> assembly for targets other than x86, so any

[GIT PULL] MTD fixes for 5.1 final

2019-05-02 Thread Richard Weinberger
Linus, The following changes since commit 085b7755808aa11f78ab9377257e1dad2e6fa4bb: Linux 5.1-rc6 (2019-04-21 10:45:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git tags/mtd/fixes-for-5.1-rc6 for you to fetch changes up to

Re: [PATCH v3 3/4] Documentation: devicetree: add PPMU events description

2019-05-02 Thread Lukasz Luba
Hi Rob, On 5/1/19 12:36 AM, Rob Herring wrote: > On Fri, Apr 19, 2019 at 03:48:07PM +0200, Lukasz Luba wrote: >> Extend the documenation by events description with new 'event-data-type' >> field. Add example how the event might be defined in DT. > > Why do we need event types in DT? We don't do

Re: [RFC PATCH 5/5] livepatch: Do not manually track kobject initialization

2019-05-02 Thread Petr Mladek
On Thu 2019-05-02 18:31:27, Tobin C. Harding wrote: > On Thu, May 02, 2019 at 09:30:44AM +0200, Petr Mladek wrote: > > On Thu 2019-05-02 09:12:32, Greg Kroah-Hartman wrote: > > > On Thu, May 02, 2019 at 12:31:42PM +1000, Tobin C. Harding wrote: > > > > Currently we use custom logic to track

[PATCH] ARM: dts: am57xx-idk: Remove support for voltage switching for SD card

2019-05-02 Thread Faiz Abbas
If UHS speed modes are enabled, a compatible SD card switches down to 1.8V during enumeration. If after this a software reboot/crash takes place and on-chip ROM tries to enumerate the SD card, the difference in IO voltages (host @ 3.3V and card @ 1.8V) may end up damaging the card. The fix for

Re: [RFC PATCH 1/5] livepatch: Fix kobject memleak

2019-05-02 Thread Petr Mladek
On Thu 2019-05-02 12:31:38, Tobin C. Harding wrote: > Currently error return from kobject_init_and_add() is not followed by a > call to kobject_put(). This means there is a memory leak. Strictly speaking there is no real memory leak in this case because the structures are either static and or

Re: [PATCH 4/5] dt-binding: mtd: onenand/samsung: Add device tree support

2019-05-02 Thread Tomasz Figa
2019年5月2日(木) 16:21 Boris Brezillon : > > On Thu, 2 May 2019 15:58:24 +0900 > Tomasz Figa wrote: > > > 2019年5月2日(木) 15:55 Boris Brezillon : > > > > > > On Thu, 2 May 2019 15:42:59 +0900 > > > Tomasz Figa wrote: > > > > > > > 2019年5月2日(木) 15:36 Boris Brezillon : > > > > > > > > > > Hi Tomasz, > >

Re: [RFC PATCH 3/5] kobject: Fix kernel-doc comment first line

2019-05-02 Thread Johan Hovold
On Thu, May 02, 2019 at 06:25:39PM +1000, Tobin C. Harding wrote: > Adding Jon to CC > > On Thu, May 02, 2019 at 09:38:23AM +0200, Johan Hovold wrote: > > On Thu, May 02, 2019 at 12:31:40PM +1000, Tobin C. Harding wrote: > > > kernel-doc comments have a prescribed format. This includes

Re: [RFC] Disable lockref on arm64

2019-05-02 Thread Jan Glauber
On Wed, May 01, 2019 at 05:01:40PM +0100, Will Deacon wrote: > Hi Jan, > > [+Peter and Linus, since they enjoy this stuff] > > On Mon, Apr 29, 2019 at 02:52:11PM +, Jan Glauber wrote: > > I've been looking into performance issues that were reported for several > > test-cases, for instance an

RE: [EXT] Re: [PATCH 1/4] mtd: rawnand: Turn the ONFI support to generic

2019-05-02 Thread Shivamurthy Shastri (sshivamurthy)
Hi Miquel, > Hi Shivamurthy, > > Sorry for the long delay I was a bit overloaded. > > "Shivamurthy Shastri (sshivamurthy)" wrote > on > Tue, 26 Mar 2019 10:51:47 +: > > > Fix headers to make way for adding helper functions. > > > > Add onfi helper structure. > > > > Add helper functions

Re: kobject_init_and_add() confusion

2019-05-02 Thread Petr Mladek
On Wed 2019-05-01 09:38:03, Tobin C. Harding wrote: > Hi, > > Looks like I've created a bit of confusion trying to fix memleaks in > calls to kobject_init_and_add(). Its spread over various patches and > mailing lists so I'm starting a new thread and CC'ing anyone that > commented on one of

Re: [RFC PATCH 5/5] livepatch: Do not manually track kobject initialization

2019-05-02 Thread Tobin C. Harding
On Thu, May 02, 2019 at 09:30:44AM +0200, Petr Mladek wrote: > On Thu 2019-05-02 09:12:32, Greg Kroah-Hartman wrote: > > On Thu, May 02, 2019 at 12:31:42PM +1000, Tobin C. Harding wrote: > > > Currently we use custom logic to track kobject initialization. Recently > > > a predicate function was

linux-next: manual merge of the pidfd tree with the kbuild tree

2019-05-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the pidfd tree got a conflict in: samples/Makefile between commit: a757ed09d672 ("samples: guard sub-directories with CONFIG options") from the kbuild tree and commit: eb364bbe6791 ("samples: show race-free pidfd metadata access") from the pidfd

Re: [RFC PATCH v2 2/3] x86/vdso: Modify __vdso_sgx_enter_enclave() to allow parameter passing on untrusted stack

2019-05-02 Thread Jarkko Sakkinen
On Fri, Apr 26, 2019 at 02:00:18PM -0700, Sean Christopherson wrote: > On Thu, Apr 25, 2019 at 04:31:40PM -0700, Xing, Cedric wrote: > > > While this may format nicely in .rst (I haven't checked), it's damn near > > > unreadable in its raw form. Escaping '%' in kernel-doc is unresolved at > > >

Re: [RFC] Disable lockref on arm64

2019-05-02 Thread Jan Glauber
On Wed, May 01, 2019 at 09:41:08AM -0700, Linus Torvalds wrote: > On Mon, Apr 29, 2019 at 7:52 AM Jan Glauber wrote: > > > > It turned out the issue we have on ThunderX2 is the file open-close sequence > > with small read sizes. If the used files are opened read-only the > > lockref code (enabled

Re: [PATCH v20 16/28] x86/sgx: Add provisioning

2019-05-02 Thread Jarkko Sakkinen
On Wed, Apr 24, 2019 at 01:34:03AM +, Jethro Beekman wrote: > On 2019-04-17 03:39, Jarkko Sakkinen wrote: > > diff --git a/arch/x86/include/uapi/asm/sgx.h > > b/arch/x86/include/uapi/asm/sgx.h > > index 7bf627ac4958..3b80acde8671 100644 > > --- a/arch/x86/include/uapi/asm/sgx.h > > +++

Re: [RFC PATCH 3/5] kobject: Fix kernel-doc comment first line

2019-05-02 Thread Tobin C. Harding
Adding Jon to CC On Thu, May 02, 2019 at 09:38:23AM +0200, Johan Hovold wrote: > On Thu, May 02, 2019 at 12:31:40PM +1000, Tobin C. Harding wrote: > > kernel-doc comments have a prescribed format. This includes parenthesis > > on the function name. To be _particularly_ correct we should also >

Re: [PATCH] mtd: nand: raw: brcmnand: When oops in progress use pio and interrupt polling

2019-05-02 Thread Miquel Raynal
Hi Kamal, Kamal Dasu wrote on Wed, 1 May 2019 13:46:15 -0400: > If mtd_oops is in progress switch to polling for nand command completion s/nand/NAND/ > interrupts and use PIO mode wihtout DMA so that the mtd_oops buffer can > be completely written in the assinged nand partition. What about:

Re: memleak around kobject_init_and_add()

2019-05-02 Thread Tobin C. Harding
On Thu, May 02, 2019 at 09:28:08AM +0200, Greg Kroah-Hartman wrote: > On Thu, May 02, 2019 at 09:17:42AM +0200, Greg Kroah-Hartman wrote: > > On Thu, May 02, 2019 at 07:56:16AM +1000, Tobin C. Harding wrote: > > > On Sat, Apr 27, 2019 at 09:28:09PM +0200, Greg Kroah-Hartman wrote: > > > > On Sat,

RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-05-02 Thread Reshetova, Elena
From: Reshetova, Elena > > Sent: 30 April 2019 18:51 > ... > > +unsigned char random_get_byte(void) > > +{ > > +struct rnd_buffer *buffer = _cpu_var(stack_rand_offset); > > +unsigned char res; > > + > > +if (buffer->byte_counter >= RANDOM_BUFFER_SIZE) { > > +

[PATCH v3 1/8] dt-bindings: stm32: add bindings for ML-AHB interconnect

2019-05-02 Thread Fabien Dessenne
Document the ML-AHB interconnect for stm32 SoCs. Signed-off-by: Fabien Dessenne --- .../devicetree/bindings/arm/stm32/mlahb.txt| 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/stm32/mlahb.txt diff --git

[PATCH v3 7/8] ARM: dts: stm32: declare copro reserved memories on STM32MP157a-dk1

2019-05-02 Thread Fabien Dessenne
Declare reserved memories shared by the processors for STM32MP157a-dk1 Signed-off-by: Fabien Dessenne --- arch/arm/boot/dts/stm32mp157a-dk1.dts | 42 +++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts

[PATCH v3 2/8] dt-bindings: remoteproc: add bindings for stm32 remote processor driver

2019-05-02 Thread Fabien Dessenne
Add the device tree bindings document for the stm32 remoteproc devices. Signed-off-by: Fabien Dessenne --- .../devicetree/bindings/remoteproc/stm32-rproc.txt | 63 ++ 1 file changed, 63 insertions(+) create mode 100644

[PATCH v3 6/8] ARM: dts: stm32: enable m4 coprocessor support on STM32MP157c-ed1

2019-05-02 Thread Fabien Dessenne
Enable m4 coprocessor for STM32MP157c-ed1 board. Signed-off-by: Fabien Dessenne --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts index acfc5cd..e5a6f40 100644

[PATCH v3 5/8] ARM: dts: stm32: declare copro reserved memories on STM32MP157c-ed1

2019-05-02 Thread Fabien Dessenne
Declare reserved memories shared by the processors for STM32MP157c-ed1 board. Signed-off-by: Fabien Dessenne --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 42 +++ 1 file changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts

[PATCH v3 8/8] ARM: dts: stm32: enable m4 coprocessor support on STM32MP157a-dk1

2019-05-02 Thread Fabien Dessenne
Enable m4 coprocessor for STM32MP157a-dk1 board. Signed-off-by: Fabien Dessenne --- arch/arm/boot/dts/stm32mp157a-dk1.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts index 26ce8de..da64ee2 100644

[PATCH v3 3/8] remoteproc: stm32: add an ST stm32_rproc driver

2019-05-02 Thread Fabien Dessenne
This patch introduces a new remoteproc driver to control Cortex-M4 co-processor of the STM32 family. It provides with the following features: - start and stop - dedicated co-processor memory regions registration - coredump and recovery Signed-off-by: Fabien Dessenne Signed-off-by: Ludovic Barre

[PATCH v3 4/8] ARM: dts: stm32: add m4 remoteproc support on STM32MP157c

2019-05-02 Thread Fabien Dessenne
Declare the M4 remote processor in a sub-node of the mlahb simple bus. Signed-off-by: Fabien Dessenne --- arch/arm/boot/dts/stm32mp157c.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index

[PATCH v3 0/8] stm32 m4 remoteproc on STM32MP157c

2019-05-02 Thread Fabien Dessenne
STMicrolectronics STM32MP157 MPU are based on a Dual Arm Cortex-A7 core and a Cortex-M4. This patchset adds the support of the stm32_rproc driver allowing to control the M4 remote processor. Changes since v2: - Clarified "reg" description - Change m4 unit adress to 3800 - Renamed "auto_boot"

[PATCH v2 02/18] clk: imx6sx: Do not reparent to unregistered IMX6SX_CLK_AXI

2019-05-02 Thread Abel Vesa
The clock IMX6SX_CLK_AXI is not registered at all. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-imx6sx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/imx/clk-imx6sx.c b/drivers/clk/imx/clk-imx6sx.c index 91558b0..4ed180c 100644 --- a/drivers/clk/imx/clk-imx6sx.c +++

[PATCH v2 03/18] clk: imx6q: Do not reparent uninitialized IMX6QDL_CLK_PERIPH2 clock

2019-05-02 Thread Abel Vesa
The clock is registered later than these two re-parentings. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-imx6q.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/clk/imx/clk-imx6q.c b/drivers/clk/imx/clk-imx6q.c index 708e7c5..c7b671e 100644 ---

[PATCH v2 12/18] clk: imx: Switch wrappers to clk_hw based API

2019-05-02 Thread Abel Vesa
Switch all the wrappers to clk_hw based API and rename them to indicate that. Add macros for clk based legacy users. This allows us to move closer to a clear split between consumer and provider clk APIs. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk.h | 91

[PATCH v2 06/18] clk: imx: clk-gate2: Switch to clk_hw based API

2019-05-02 Thread Abel Vesa
Switch the clk_register_gate2 function to clk_hw based API, rename accordingly and add a macro for clk based legacy. This allows us to move closer to a clear split between consumer and provider clk APIs. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-gate2.c | 14 +-

[PATCH v2 05/18] clk: imx: clk-cpu: Switch to clk_hw based API

2019-05-02 Thread Abel Vesa
Switch the clk_cpu clock registering function to clk_hw based API and add a macro for clk based legacy. This allows us to move closer to a clear split between consumer and provider clk APIs. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-cpu.c | 14 +- drivers/clk/imx/clk.h |

[PATCH v2 13/18] clk: imx6q: Switch to clk_hw based API

2019-05-02 Thread Abel Vesa
Switch the entire clk-imx6q driver to clk_hw based API. Add imx6q_obtain_fixed_clk_hw helper to clean up the registration of the clocks that are either found in device tree or are assigned a fixed zero rate. This switch allows us to move closer to a clear split between consumer and provider clk

[PATCH v2 17/18] clk: imx7d: Switch to clk_hw based API

2019-05-02 Thread Abel Vesa
Switch the entire clk-imx7d driver to clk_hw based API. This allows us to move closer to a clear split between consumer and provider clk APIs. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-imx7d.c | 983 ++-- 1 file changed, 499 insertions(+), 484

[PATCH v2 08/18] clk: imx: clk-pfd: Switch to clk_hw based API

2019-05-02 Thread Abel Vesa
Switch the imx_clk_pfd function to clk_hw based API, rename accordingly and add a macro for clk based legacy. This allows us to move closer to a clear split between consumer and provider clk APIs. Signed-off-by: Abel Vesa --- drivers/clk/imx/clk-pfd.c | 14 +- drivers/clk/imx/clk.h

<    3   4   5   6   7   8   9   >