Re: [PATCH v2 0/5] drivers: add a new variant of devm_platform_ioremap_resource()

2019-10-05 Thread Bartosz Golaszewski
śr., 2 paź 2019 o 18:25 Bartosz Golaszewski napisał(a): > > From: Bartosz Golaszewski > > The new devm_platform_ioremap_resource() helper has now been widely > adopted and used in many drivers. Users of the write-combined ioremap() > variants could benefit from the same code shrinkage. This serie

[PATCH v3 8/8] gpio: tegra186: use devm_platform_ioremap_resource_byname()

2019-10-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use the devm_platform_ioremap_resource_byname() helper instead of calling platform_get_resource_byname() and devm_ioremap_resource() separately. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-tegra186.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-

[PATCH v3 6/8] drivers: provide devm_platform_ioremap_resource_byname()

2019-10-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Provide a variant of devm_platform_ioremap_resource() that allows to lookup resources from platform devices by name rather than by index. Signed-off-by: Bartosz Golaszewski --- .../driver-api/driver-model/devres.rst| 1 + drivers/base/platform.c

[PATCH v3 2/8] lib: devres: prepare devm_ioremap_resource() for more variants

2019-10-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We want to add the write-combined variant of devm_ioremap_resource(). Let's first implement __devm_ioremap_resource() which takes an additional argument type. The types are the same as for __devm_ioremap(). The existing devm_ioremap_resource() now simply calls __devm_ior

[PATCH v3 1/8] Documentation: devres: add missing entry for devm_platform_ioremap_resource()

2019-10-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski devm_platform_ioremap_resource() should be documented in devres.rst. Add the missing entry. Signed-off-by: Bartosz Golaszewski --- Documentation/driver-api/driver-model/devres.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/driver-api/driver-mode

[PATCH v3 5/8] misc: sram: use devm_platform_ioremap_resource_wc()

2019-10-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use the new devm_platform_ioremap_resource_wc() helper instead of devm_ioremap_wc() combinded with a call to platform_get_resource(). Also use devm_platform_ioremap_resource() where applicable. Signed-off-by: Bartosz Golaszewski --- drivers/misc/sram.c | 28 --

[PATCH v3 7/8] gpio: mvebu: use devm_platform_ioremap_resource_byname()

2019-10-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use devm_platform_ioremap_resource_byname() instead of calling platform_get_resource_byname() and devm_ioremap_resource() separately. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mvebu.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletio

[PATCH v3 0/8] drivers: add new variants of devm_platform_ioremap_resource()

2019-10-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The new devm_platform_ioremap_resource() helper has now been widely adopted and used in many drivers. Users of the write-combined ioremap() variants could benefit from the same code shrinkage. This series provides a write-combined version of devm_platform_ioremap_resourc

[PATCH v3 3/8] lib: devres: provide devm_ioremap_resource_wc()

2019-10-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Provide a variant of devm_ioremap_resource() for write-combined ioremap. Signed-off-by: Bartosz Golaszewski --- Documentation/driver-api/driver-model/devres.rst | 1 + include/linux/device.h | 2 ++ lib/devres.c

[PATCH v3 4/8] drivers: platform: provide devm_platform_ioremap_resource_wc()

2019-10-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Provide a write-combined variant of devm_platform_ioremap_resource(). Signed-off-by: Bartosz Golaszewski --- .../driver-api/driver-model/devres.rst| 1 + drivers/base/platform.c | 19 ++- include/linux/platform_device.h

Re: [PATCH v4 1/6] dt-bindings: arm: fsl: Add the S32V234-EVB board

2019-10-05 Thread Shawn Guo
On Thu, Sep 05, 2019 at 11:58:32AM +, Stefan-gabriel Mirea wrote: > From: Eddy Petrișor > > Add entry for the NXP S32V234 Customer Evaluation Board to the board/SoC > bindings. > > Signed-off-by: Eddy Petrișor > Signed-off-by: Stefan-Gabriel Mirea > Reviewed-by: Rob Herring I'm about to

Re: [PATCH v4 3/6] serial: fsl_linflexuart: Be consistent with the name

2019-10-05 Thread Shawn Guo
On Thu, Sep 05, 2019 at 11:58:36AM +, Stefan-gabriel Mirea wrote: > For consistency reasons, spell the controller name as "LINFlexD" in > comments and documentation. > > Signed-off-by: Stefan-Gabriel Mirea Hi Greg, The series looks good to me. I assume that you will take this patch and #5.

Re: [PATCH v3] printf: add support for printing symbolic error codes

2019-10-05 Thread Andrew Morton
On Tue, 17 Sep 2019 08:59:59 +0200 Rasmus Villemoes wrote: > It has been suggested several times to extend vsnprintf() to be able > to convert the numeric value of ENOSPC to print "ENOSPC". This is yet > another attempt. Rather than adding another %p extension, simply teach > plain %p to convert

[PATCH 1/2] docs: i2c: Fix SPDX-License-Identifier syntax

2019-10-05 Thread Jonathan Neuschäfer
ReST directives are introduced with two dots. Signed-off-by: Jonathan Neuschäfer --- Documentation/i2c/busses/index.rst | 2 +- Documentation/i2c/index.rst| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/i2c/busses/index.rst b/Documentation/i2c/busses

[PATCH 2/2] docs: w1: Fix SPDX-License-Identifier syntax

2019-10-05 Thread Jonathan Neuschäfer
ReST directives are introduced with two dots. Signed-off-by: Jonathan Neuschäfer --- Documentation/w1/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/w1/index.rst b/Documentation/w1/index.rst index 57cba81865e2..156279f17553 100644 --- a/Documentation/

Re: [PATCH 3/4] Documentation/process: Add fallthrough pseudo-keyword

2019-10-05 Thread Miguel Ojeda
On Sat, Oct 5, 2019 at 6:47 PM Joe Perches wrote: > > diff --git a/Documentation/process/deprecated.rst > b/Documentation/process/deprecated.rst > index 56280e108d5a..a0ffdc8daef3 100644 > --- a/Documentation/process/deprecated.rst > +++ b/Documentation/process/deprecated.rst > @@ -122,14 +122,27

[PATCH 3/4] Documentation/process: Add fallthrough pseudo-keyword

2019-10-05 Thread Joe Perches
Describe the fallthrough pseudo-keyword. Convert the coding-style.rst example to the keyword style. Add description and links to deprecated.rst. Signed-off-by: Joe Perches --- Documentation/process/coding-style.rst | 2 +- Documentation/process/deprecated.rst | 33 +++

[PATCH 0/4] treewide: Add 'fallthrough' pseudo-keyword

2019-10-05 Thread Joe Perches
Add 'fallthrough' pseudo-keyword to enable the removal of comments like '/* fallthrough */'. Add a script to convert the fallthrough comments. The script can be run over any single file or treewide. For instance, a treewide conversion can be done using: $ git ls-files -- '*.[ch]' | \ xargs sc

Re: [PATCH] genalloc: Fix a set of docs build warnings

2019-10-05 Thread Dan Williams
On Thu, Oct 3, 2019 at 11:48 AM Jonathan Corbet wrote: > > Commit 795ee30648c7 ("lib/genalloc: introduce chunk owners") made a number > of changes to the genalloc API and implementation but did not update the > documentation to match, leading to these docs build warnings: > > ./lib/genalloc.c:1:

Re: [PATCH v7 4/8] firmware: Add new platform fallback mechanism and firmware_request_platform()

2019-10-05 Thread Hans de Goede
Hi Dmitry, On 05-10-2019 01:17, Dmitry Torokhov wrote: Hi Hans, On Fri, Oct 04, 2019 at 04:50:52PM +0200, Hans de Goede wrote: In some cases the platform's main firmware (e.g. the UEFI fw) may contain an embedded copy of device firmware which needs to be (re)loaded into the peripheral. Normall

Re: [PATCH v7 7/8] platform/x86: touchscreen_dmi: Add EFI embedded firmware info support

2019-10-05 Thread kbuild test robot
y the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/efi-firmware-platform-x86-Add-EFI-embedded-fw-support/20191005-021239 base: https://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next conf