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

2019-10-02 Thread Petr Mladek
On Sun 2019-09-29 22:09:28, Rasmus Villemoes wrote: > > On Tue 2019-09-17 08:59:59, Rasmus Villemoes wrote: > >> With my embedded hat on, I've made it possible to remove this. > >> > >> I've tested that the #ifdeffery in errcode.c is sufficient to make > >> this compile on arm, arm64, mips, powerpc

[PATCH 1/2] scripts/sphinx-pre-install: Change the function 'check_missing_file'

2019-10-02 Thread Jeremy MAURO
The current implementation take a simple file as first argument, this change allows to take a list as a first argument. Some file could have a different path according distribution version Signed-off-by: Jeremy MAURO --- scripts/sphinx-pre-install | 20 +++- 1 file changed, 11 i

[PATCH 2/2] scripts/sphinx-pre-install: Add a new path for the debian package "fonts-noto-cjk"

2019-10-02 Thread Jeremy MAURO
The latest debian version "bullseye/sid" has changed the path of the file "notoserifcjk-regular.ttc", with the previous change and this change we keep the backward compatibility and add the latest debian version Signed-off-by: Jeremy MAURO --- scripts/sphinx-pre-install | 3 ++- 1 file changed,

Re: [PATCH 1/2] scripts/sphinx-pre-install: Change the function 'check_missing_file'

2019-10-02 Thread Mauro Carvalho Chehab
Em Wed, 2 Oct 2019 11:53:30 +0200 Jeremy MAURO escreveu: > The current implementation take a simple file as first argument, this > change allows to take a list as a first argument. Please change the title of this patch in a way that it will describe what it will do, and not what function was ch

Re: [PATCH 2/2] scripts/sphinx-pre-install: Add a new path for the debian package "fonts-noto-cjk"

2019-10-02 Thread Mauro Carvalho Chehab
Em Wed, 2 Oct 2019 11:54:06 +0200 Jeremy MAURO escreveu: > The latest debian version "bullseye/sid" has changed the path of the file > "notoserifcjk-regular.ttc", with the previous change and this change we > keep the backward compatibility and add the latest debian version > > Signed-off-by: J

[PATCH] docs: admin-guide: fix printk_ratelimit explanation

2019-10-02 Thread Oleksandr Natalenko
The printk_ratelimit value accepts seconds, not jiffies (though it is converted into jiffies internally). Update documentation to reflect this. Also, remove the statement about allowing 1 message in 5 seconds since bursts up to 10 messages are allowed by default. Finally, while we are here, menti

Re: [PATCH v2 1/3] x86/boot: Introduce the kernel_info

2019-10-02 Thread Daniel Kiper
On Tue, Oct 01, 2019 at 03:28:01PM -0700, H. Peter Anvin wrote: > On 2019-10-01 04:41, Daniel Kiper wrote: > > > > OK, so, this is more or less what I had in my v3 patch before sending > > this email. So, it looks that I am on good track. Great! Though I am not > > sure that we should have magic fo

[RFC PATCH 0/2] software node: API documentation

2019-10-02 Thread Heikki Krogerus
Hi, I'm sending this as an RFC first. I would like to wait for the API change Dmitry proposed [1] before we add the final API documentation for the software nodes. At this point I would like to know if the generic use is explained clearly enough and if there is anything missing that should be add

[RFC PATCH 1/2] software node: Add missing kernel-doc function descriptions

2019-10-02 Thread Heikki Krogerus
Some of the functions were missing kernel-doc style descriptions. Signed-off-by: Heikki Krogerus --- drivers/base/swnode.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/base/swnode.c b/drivers/base/swnode.c index a1f3f0994f9f..51c9e6c56c26 100644 --- a/driv

[RFC PATCH 2/2] software node: Add documentation

2019-10-02 Thread Heikki Krogerus
API documentation for the software nodes. Signed-off-by: Heikki Krogerus --- Documentation/driver-api/software_node.rst | 197 + 1 file changed, 197 insertions(+) create mode 100644 Documentation/driver-api/software_node.rst diff --git a/Documentation/driver-api/software_no

[PATCH v5 0/5] Add initial support for S32V234-EVB

2019-10-02 Thread Stefan-gabriel Mirea
Hello, NXP's S32V234[1] ("Treerunner") vision microprocessors are targeted for high-performance, computationally intensive vision and sensor fusion applications that require automotive safety levels. They include leading edge Camera Vision modules like APEX-2, ISP and GPU. The S32V234-EVB and S32V

[PATCH v5 1/5] dt-bindings: arm: fsl: Add the S32V234-EVB board

2019-10-02 Thread Stefan-gabriel Mirea
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 --- Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++ 1 file changed, 6 insertions(+) dif

[PATCH v5 3/5] serial: fsl_linflexuart: Be consistent with the name

2019-10-02 Thread Stefan-gabriel Mirea
For consistency reasons, spell the controller name as "LINFlexD" in comments and documentation. Signed-off-by: Stefan-Gabriel Mirea --- Documentation/admin-guide/kernel-parameters.txt | 2 +- drivers/tty/serial/Kconfig | 8 drivers/tty/serial/fsl_linflexuart.c

[PATCH v5 2/5] arm64: Introduce config for S32

2019-10-02 Thread Stefan-gabriel Mirea
From: Mihaela Martinas Add configuration option for the NXP S32 platform family in Kconfig.platforms. For starters, the only SoC supported will be Treerunner (S32V234), with a single execution target: the S32V234-EVB (rev 29288) board. Signed-off-by: Mihaela Martinas Signed-off-by: Stoica Cosmi

[PATCH v5 4/5] arm64: dts: fsl: Add device tree for S32V234-EVB

2019-10-02 Thread Stefan-gabriel Mirea
From: Stoica Cosmin-Stefan Add initial version of device tree for S32V234-EVB, including nodes for the 4 Cortex-A53 cores, AIPS bus with UART modules, ARM architected timer and Generic Interrupt Controller (GIC). Keep SoC level separate from board level to let future boards with this SoC share c

[PATCH v5 5/5] arm64: defconfig: Enable configs for S32V234

2019-10-02 Thread Stefan-gabriel Mirea
From: Mihaela Martinas Enable support for the S32V234 SoC, including the previously added UART driver. Signed-off-by: Mihaela Martinas Signed-off-by: Adrian.Nitu Signed-off-by: Stoica Cosmin-Stefan Signed-off-by: Stefan-Gabriel Mirea --- arch/arm64/configs/defconfig | 3 +++ 1 file changed,

[PATCH v2 1/2] scripts/sphinx-pre-install: allow checking for multiple missing files

2019-10-02 Thread Jeremy MAURO
The current implementation take a simple file as first argument, this change allows to take a list as a first argument. Some file could have a different path according distribution version Signed-off-by: Jeremy MAURO --- Changes in v2: - Change the commit message scripts/sphinx-pre-install | 2

[PATCH v2 2/2] scripts/sphinx-pre-install: Add a new path for the debian package "fonts-noto-cjk"

2019-10-02 Thread Jeremy MAURO
The latest debian version "bullseye/sid" has changed the path of the file "notoserifcjk-regular.ttc", with the previous change and this change we keep the backward compatibility and add the latest debian version Signed-off-by: Jeremy MAURO --- Changes in V2: - Align all lines scripts/sphinx-pre

Re: [PATCH RESEND] k10temp: update docs and add temp2_input info

2019-10-02 Thread Guenter Roeck
On Mon, Sep 23, 2019 at 12:59:31PM +0200, Lukas Zapletal wrote: > It's been a while since the k10temp documentation has been updated. > There are new CPU families supported as well as Tdie temp was added. > This patch adds all missing families which I was able to find from git > history and provide

Re: [PATCH 1/3] hwmon: Fix HWMON_P_MIN_ALARM mask

2019-10-02 Thread Guenter Roeck
On Tue, Sep 24, 2019 at 02:49:43PM +0200, Nuno Sá wrote: > Both HWMON_P_MIN_ALARM and HWMON_P_MAX_ALARM were using > BIT(hwmon_power_max_alarm). > > Fixes: aa7f29b07c870 ("hwmon: Add support for power min, lcrit, min_alarm and > lcrit_alarm") > CC: > Signed-off-by: Nuno Sá Applied. Thanks, Gu

Re: [PATCH 1/3] docs: fix some broken references

2019-10-02 Thread Guenter Roeck
On Tue, Sep 24, 2019 at 10:01:28AM -0300, Mauro Carvalho Chehab wrote: > There are a number of documentation files that got moved or > renamed. update their references. > > Signed-off-by: Mauro Carvalho Chehab > Acked-by: Shannon Nelson > --- > Documentation/devicetree/bindings/cpu/cpu-topology

Re: [PATCH v2 1/2] scripts/sphinx-pre-install: allow checking for multiple missing files

2019-10-02 Thread Mauro Carvalho Chehab
Em Wed, 2 Oct 2019 15:33:39 +0200 Jeremy MAURO escreveu: > The current implementation take a simple file as first argument, this > change allows to take a list as a first argument. > > Some file could have a different path according distribution version > > Signed-off-by: Jeremy MAURO Review

Re: [PATCH v2 2/2] scripts/sphinx-pre-install: Add a new path for the debian package "fonts-noto-cjk"

2019-10-02 Thread Mauro Carvalho Chehab
Em Wed, 2 Oct 2019 15:35:42 +0200 Jeremy MAURO escreveu: > The latest debian version "bullseye/sid" has changed the path of the file > "notoserifcjk-regular.ttc", with the previous change and this change we > keep the backward compatibility and add the latest debian version > > Signed-off-by: J

Re: [PATCH 2/3] bindings: rename links to mason USB2/USB3 DT files

2019-10-02 Thread Rob Herring
On Tue, 24 Sep 2019 10:01:29 -0300, Mauro Carvalho Chehab wrote: > Those files got renamed, but another DT file still points to the older > places. > > Fixes: 87a55485f2fc ("dt-bindings: phy: meson-g12a-usb3-pcie-phy: convert to > yaml") > Fixes: da86d286cce8 ("dt-bindings: phy: meson-g12a-usb2-p

Re: [PATCH 3/3] dt-bindings: iio: Add ltc2947 documentation

2019-10-02 Thread Rob Herring
On Tue, Sep 24, 2019 at 02:49:45PM +0200, Nuno Sá wrote: > Document the LTC2947 device devicetree bindings. > > Signed-off-by: Nuno Sá > --- > .../bindings/hwmon/adi,ltc2947.yaml | 101 ++ > MAINTAINERS | 1 + > 2 files changed, 102 i

Re: [PATCH 1/3] docs: fix some broken references

2019-10-02 Thread Rob Herring
On Tue, 24 Sep 2019 10:01:28 -0300, Mauro Carvalho Chehab wrote: > There are a number of documentation files that got moved or > renamed. update their references. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/devicetree/bindings/cpu/cpu-topology.txt| 2 +- > Documentation/de

[PATCH] Documentation: gpio: driver: Format code blocks properly

2019-10-02 Thread Jonathan Neuschäfer
This fixes a lot of Sphinx warnings, and makes the code blocks look nice in HTML. Signed-off-by: Jonathan Neuschäfer --- Documentation/driver-api/gpio/driver.rst | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/driver-api/gpio/driver.rst b/Documentation/driver-api/gpio/driv

Re: [PATCH 3/3] dt-bindings: iio: Add ltc2947 documentation

2019-10-02 Thread Sa, Nuno
On Wed, 2019-10-02 at 09:19 -0500, Rob Herring wrote: > > On Tue, Sep 24, 2019 at 02:49:45PM +0200, Nuno Sá wrote: > > Document the LTC2947 device devicetree bindings. > > > > Signed-off-by: Nuno Sá > > --- > > .../bindings/hwmon/adi,ltc2947.yaml | 101 > > ++ > > MAIN

[PATCH] Documentation: networking: device drivers: Remove stray asterisks

2019-10-02 Thread Jonathan Neuschäfer
These asterisks were once references to a line that said: "* Other names and brands may be claimed as the property of others." But now, they serve no purpose; they can only irritate the reader. Fixes: de3edab4276c ("e1000: update README for e1000") Fixes: a3fb65680f65 ("e100.txt: Cleanup license

[PATCH] Documentation: update about adding syscalls

2019-10-02 Thread Christian Brauner
Add additional information on how to ensure that syscalls with structure arguments are extensible and add a section about naming conventions to follow when adding revised versions of already existing syscalls. Co-Developed-by: Aleksa Sarai Signed-off-by: Aleksa Sarai Signed-off-by: Christian Bra

[PATCH] docs: it_IT: maintainer-pgp-guide: Fix reference to "Nitrokey Pro 2"

2019-10-02 Thread Jonathan Neuschäfer
This fixes the following Sphinx warning: Documentation/translations/it_IT/process/maintainer-pgp-guide.rst:458: WARNING: Unknown target name: "nitrokey pro". Signed-off-by: Jonathan Neuschäfer --- .../translations/it_IT/process/maintainer-pgp-guide.rst | 2 +- 1 file changed, 1 insert

Re: [PATCH] Documentation: networking: device drivers: Remove stray asterisks

2019-10-02 Thread Shannon Nelson
On 10/2/19 8:09 AM, Jonathan Neuschäfer wrote: These asterisks were once references to a line that said: "* Other names and brands may be claimed as the property of others." But now, they serve no purpose; they can only irritate the reader. [...] Fixes: df69ba43217d ("ionic: Add basic frame

Re: [PATCH v2 0/2] docs: Programmatically render MAINTAINERS into ReST

2019-10-02 Thread Jonathan Corbet
On Tue, 1 Oct 2019 11:25:30 -0700 Kees Cook wrote: > v1: https://lore.kernel.org/lkml/20190924230208.12414-1-keesc...@chromium.org > > v2: fix python2 utf-8 issue thanks to Jonathan Corbet > > > Commit log from Patch 2 repeated here for cover letter: > > In order to have the MAINTAINERS file

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

2019-10-02 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 v2 1/5] Documentation: devres: add missing entry for devm_platform_ioremap_resource()

2019-10-02 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 v2 3/5] lib: devres: provide devm_ioremap_resource_wc()

2019-10-02 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 v2 5/5] misc: sram: use devm_platform_ioremap_resource_wc()

2019-10-02 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 v2 4/5] drivers: platform: provide devm_platform_ioremap_resource_wc()

2019-10-02 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Provide a write-combined variant of devm_platform_ioremap_resource(). While at it: in order not to duplicate code - pass the resource retrieved by platform_get_resource() directly to the appropriate devm_ioremap_resource() variant. Signed-off-by: Bartosz Golaszewski -

[PATCH v2 2/5] lib: devres: prepare devm_ioremap_resource() for more variants

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

Re: [PATCH v2 0/2] docs: Programmatically render MAINTAINERS into ReST

2019-10-02 Thread Kees Cook
On Wed, Oct 02, 2019 at 10:25:35AM -0600, Jonathan Corbet wrote: > On Tue, 1 Oct 2019 11:25:30 -0700 > Kees Cook wrote: > > > v1: > > https://lore.kernel.org/lkml/20190924230208.12414-1-keesc...@chromium.org > > > > v2: fix python2 utf-8 issue thanks to Jonathan Corbet > > > > > > Commit log

[PATCH] docs: misc: xilinx_sdfec: Actually add documentation

2019-10-02 Thread Kees Cook
From: Derek Kiernan Add SD-FEC driver documentation. Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic Link: https://lore.kernel.org/r/1560274185-264438-11-git-send-email-dragan.cve...@xilinx.com [kees: extracted from v7 as it was missing in the commit for v8] Signed-off-by: Kees Cook

Re: [PATCH v2 0/2] docs: Programmatically render MAINTAINERS into ReST

2019-10-02 Thread Mauro Carvalho Chehab
Em Wed, 2 Oct 2019 10:25:35 -0600 Jonathan Corbet escreveu: > On Tue, 1 Oct 2019 11:25:30 -0700 > Kees Cook wrote: > > > v1: > > https://lore.kernel.org/lkml/20190924230208.12414-1-keesc...@chromium.org > > > > v2: fix python2 utf-8 issue thanks to Jonathan Corbet > > > > > > Commit log fr

Re: [PATCH v6 1/4] nvmem: core: add nvmem_device_find

2019-10-02 Thread Paul Burton
Hello, On Tue, Oct 01, 2019 at 11:11:58AM +0100, Srinivas Kandagatla wrote: > On 23/09/2019 12:46, Thomas Bogendoerfer wrote: > > nvmem_device_find provides a way to search for nvmem devices with > > the help of a match function simlair to bus_find_device. > > > > Signed-off-by: Thomas Bogendoerf

Re: [PATCH 3/3] dt-bindings: iio: Add ltc2947 documentation

2019-10-02 Thread Rob Herring
On Wed, Oct 2, 2019 at 10:09 AM Sa, Nuno wrote: > > On Wed, 2019-10-02 at 09:19 -0500, Rob Herring wrote: > > > > On Tue, Sep 24, 2019 at 02:49:45PM +0200, Nuno Sá wrote: > > > Document the LTC2947 device devicetree bindings. > > > > > > Signed-off-by: Nuno Sá > > > --- > > > .../bindings/hwmon/

Re: [PATCH v6 1/4] nvmem: core: add nvmem_device_find

2019-10-02 Thread Thomas Bogendoerfer
On Wed, 2 Oct 2019 18:33:28 + Paul Burton wrote: > Hello, > > On Tue, Oct 01, 2019 at 11:11:58AM +0100, Srinivas Kandagatla wrote: > > On 23/09/2019 12:46, Thomas Bogendoerfer wrote: > > > nvmem_device_find provides a way to search for nvmem devices with > > > the help of a match function si

Re: [PATCH 1/3] docs: fix some broken references

2019-10-02 Thread Paul Walmsley
On Tue, 24 Sep 2019, Mauro Carvalho Chehab wrote: > There are a number of documentation files that got moved or > renamed. update their references. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/devicetree/bindings/cpu/cpu-topology.txt| 2 +- > Documentation/devicetree/bindi

[PATCH] lib: textsearch: fix escapes in example code

2019-10-02 Thread Randy Dunlap
From: Randy Dunlap This textsearch code example does not need the '\' escapes and they can be misleading to someone reading the example. Also, gcc and sparse warn that the "\%d" is an unknown escape sequence. Fixes: 5968a70d7af5 ("textsearch: fix kernel-doc warnings and add kernel-api section")

Re: [PATCH] Documentation: networking: device drivers: Remove stray asterisks

2019-10-02 Thread David Miller
From: Jonathan Neuschäfer Date: Wed, 2 Oct 2019 17:09:55 +0200 > These asterisks were once references to a line that said: > "* Other names and brands may be claimed as the property of others." > But now, they serve no purpose; they can only irritate the reader. > > Fixes: de3edab4276c ("e100

Re: [PATCH 2/3] hwmon: Add support for ltc2947

2019-10-02 Thread Guenter Roeck
On Tue, Sep 24, 2019 at 02:49:44PM +0200, Nuno Sá wrote: > The ltc2947 is a high precision power and energy monitor with an > internal sense resistor supporting up to +/- 30A. Three internal no > Latency ADCs ensure accurate measurement of voltage and current, while > high-bandwidth analog multipli