Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Mauro Carvalho Chehab
Em Thu, 5 Sep 2019 13:40:08 -0600 Jonathan Corbet escreveu: > On Thu, 5 Sep 2019 16:28:10 -0300 > Mauro Carvalho Chehab wrote: > > > I don't think we can count that python 3 uses utf-8 per default. > > > > I strongly suspect that, if one uses a Python3 version < 3.7, it will > > still default

Re: [PATCH 0/6] Address issues with SPDX requirements and PEP-263

2019-09-05 Thread Joe Perches
On Thu, 2019-09-05 at 16:57 -0300, Mauro Carvalho Chehab wrote: > The description at Documentation/process/license-rules.rst is very strict > with regards to the position where the SPDX tags should be. [] > PS.: I sent already a RFC version for those patches along with this > thread: > > > h

[PATCH 4/6] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Mauro Carvalho Chehab
The author of the license-rules.rst file wanted to be very restrict with regards to the location of the SPDX header. It says that the SPDX header "shall be added at the first possible line in a file which can contain a comment". Not happy with this already restrictive requiement, it goes further:

[PATCH 1/6] docs: sphinx: add SPDX header for some sphinx extensions

2019-09-05 Thread Mauro Carvalho Chehab
Those extensions are released under GPLv2, as stated at the :license: markup tag. Add the corresponding SPDX tags for such license. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_include.py | 1 + Documentation/sphinx/rstFlatTable.py | 1 + 2 files changed, 2 insertions(

[PATCH 0/6] Address issues with SPDX requirements and PEP-263

2019-09-05 Thread Mauro Carvalho Chehab
The description at Documentation/process/license-rules.rst is very strict with regards to the position where the SPDX tags should be. In the past several developers and maintainers interpreted it on a more permissive way, placing the SPDX header between lines 1 to 15, with are the ones which the

Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Jonathan Corbet
On Thu, 5 Sep 2019 16:28:10 -0300 Mauro Carvalho Chehab wrote: > I don't think we can count that python 3 uses utf-8 per default. > > I strongly suspect that, if one uses a Python3 version < 3.7, it will > still default to ASCII. > > On a quick look, the new UTF-8 mode was added on PEP-540: >

Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Mauro Carvalho Chehab
Em Thu, 5 Sep 2019 06:57:01 -0600 Jonathan Corbet escreveu: > On Thu, 5 Sep 2019 06:23:13 -0300 > Mauro Carvalho Chehab wrote: > > > Python's PEP-263 [1] dictates that an script that needs to default to > > UTF-8 encoding has to follow this rule: > > > > 'Python will default to ASCII as s

Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Joe Perches
On Thu, 2019-09-05 at 09:07 -0300, Mauro Carvalho Chehab wrote: > There are currently 227 files that don't complain with the "up to line 3" > rule, including COPYING (with should probably be excluded from the check). > > Patches are at: > > https://git.linuxtv.org/mchehab/experimental.git/l

Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Mauro Carvalho Chehab
Em Thu, 5 Sep 2019 16:17:23 +0200 Greg Kroah-Hartman escreveu: > On Thu, Sep 05, 2019 at 06:57:01AM -0600, Jonathan Corbet wrote: > > On Thu, 5 Sep 2019 06:23:13 -0300 > > Mauro Carvalho Chehab wrote: > > > > > Python's PEP-263 [1] dictates that an script that needs to default to > > > UTF-8

Re: [PATCH 0/2] trace-vmscan-postprocess: fix parsing and output

2019-09-05 Thread Daniel Jordan
On Thu, Sep 05, 2019 at 12:32:49PM +0800, Yafang Shao wrote: > On Thu, Sep 5, 2019 at 4:42 AM Daniel Jordan > wrote: > > I wonder if we shouldn't just get rid of the whole script, it's hard to > > remember to keep in sync with vmscan changes and I can't think of a way to > > remedy that short of

Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2019 at 06:57:01AM -0600, Jonathan Corbet wrote: > On Thu, 5 Sep 2019 06:23:13 -0300 > Mauro Carvalho Chehab wrote: > > > Python's PEP-263 [1] dictates that an script that needs to default to > > UTF-8 encoding has to follow this rule: > > > > 'Python will default to ASCII a

Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Jonathan Corbet
On Thu, 5 Sep 2019 06:23:13 -0300 Mauro Carvalho Chehab wrote: > Python's PEP-263 [1] dictates that an script that needs to default to > UTF-8 encoding has to follow this rule: > > 'Python will default to ASCII as standard encoding if no other >encoding hints are given. > >

Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Mauro Carvalho Chehab
Em Thu, 5 Sep 2019 11:27:03 +0200 Greg Kroah-Hartman escreveu: > On Thu, Sep 05, 2019 at 06:23:13AM -0300, Mauro Carvalho Chehab wrote: > > The author of the license-rules.rst file wanted to be very restrict > > with regards to the location of the SPDX header. It says that > > the SPDX header "sh

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

2019-09-05 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 v4 0/6] Add initial support for S32V234-EVB

2019-09-05 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 v4 3/6] serial: fsl_linflexuart: Be consistent with the name

2019-09-05 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 v4 5/6] dt-bindings: serial: Document Freescale LINFlexD UART

2019-09-05 Thread Stefan-gabriel Mirea
From: Stoica Cosmin-Stefan Add documentation for the serial communication interface module (LINFlexD), found in two instances on S32V234. Signed-off-by: Stoica Cosmin-Stefan Signed-off-by: Larisa Grigore Signed-off-by: Stefan-Gabriel Mirea Reviewed-by: Rob Herring --- .../bindings/serial/fs

[PATCH v4 2/6] arm64: Introduce config for S32

2019-09-05 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 v4 6/6] arm64: defconfig: Enable configs for S32V234

2019-09-05 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 v4 1/6] dt-bindings: arm: fsl: Add the S32V234-EVB board

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

Re: [PATCH v3 4/7] serial: fsl_linflexuart: Be consistent with the name

2019-09-05 Thread Stefan-gabriel Mirea
Hello Greg, On 9/4/2019 10:53 AM, gre...@linuxfoundation.org wrote: > On Fri, Aug 23, 2019 at 07:11:37PM +, Stefan-gabriel Mirea wrote: >> For consistency reasons, spell the controller name as "LINFlexD" in >> comments and documentation. >> >> Signed-off-by: Stefan-Gabriel Mirea >> --- >> Do

[PATCH 1/3] docs: sphinx: add SPDX header for some sphinx extensions

2019-09-05 Thread Mauro Carvalho Chehab
Those extensions are released under GPLv2, as stated at the :license: markup tag. Add the corresponding SPDX tags for such license. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_include.py | 1 + Documentation/sphinx/rstFlatTable.py | 1 + 2 files changed, 2 insertions(

Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Mauro Carvalho Chehab
Em Thu, 5 Sep 2019 11:27:03 +0200 Greg Kroah-Hartman escreveu: > On Thu, Sep 05, 2019 at 06:23:13AM -0300, Mauro Carvalho Chehab wrote: > > The author of the license-rules.rst file wanted to be very restrict > > with regards to the location of the SPDX header. It says that > > the SPDX header "sh

Re: [PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2019 at 06:23:13AM -0300, Mauro Carvalho Chehab wrote: > The author of the license-rules.rst file wanted to be very restrict > with regards to the location of the SPDX header. It says that > the SPDX header "shall be added at the first possible line in > a file which can contain a

[PATCH] docs: license-rules.txt: cover SPDX headers on Python scripts

2019-09-05 Thread Mauro Carvalho Chehab
The author of the license-rules.rst file wanted to be very restrict with regards to the location of the SPDX header. It says that the SPDX header "shall be added at the first possible line in a file which can contain a comment". Not happy with this already restrictive requiement, it goes further:

Re: [PATCH] doc:lock: remove reference to clever use of read-write lock

2019-09-05 Thread Federico Vaga
On Saturday, August 31, 2019 4:43:44 PM CEST Jonathan Corbet wrote: > On Sat, 31 Aug 2019 15:41:16 +0200 > > Federico Vaga wrote: > > several CPU's and you want to use spinlocks you can potentially use > > > > -cheaper versions of the spinlocks. IFF you know that the spinlocks are > > +cheaper