Re: [PATCH v2 1/2] f2fs: include charset encoding information in the superblock

2019-07-17 Thread Chao Yu
On 2019/7/17 11:14, Daniel Rosenberg wrote: > Add charset encoding to f2fs to support casefolding. It is modeled after > the same feature introduced in commit c83ad55eaa91 ("ext4: include charset > encoding information in the superblock") > > Currently this is not compatible with encryption, simil

Re: [PATCH v2 2/2] f2fs: Support case-insensitive file name lookups

2019-07-17 Thread Chao Yu
Hi Daniel, On 2019/7/17 11:14, Daniel Rosenberg wrote: > Modeled after commit b886ee3e778e ("ext4: Support case-insensitive file > name lookups") > > """ > This patch implements the actual support for case-insensitive file name > lookups in f2fs, based on the feature bit and the encoding stored i

[PATCH] docs: fs: convert porting to ReST

2019-07-17 Thread Mauro Carvalho Chehab
text file while also produce a good html output after being parsed. Signed-off-by: Mauro Carvalho Chehab --- This patch is against next-20190717 Documentation/filesystems/porting | 686 - Documentation/filesystems/porting.rst | 841 ++ fs/orangefs

[PATCH v3 11/20] docs: kernel_abi.py: Handle with a lazy Sphinx parser

2019-07-17 Thread Mauro Carvalho Chehab
The Sphinx docutils parser is lazy: if the content is bigger than a certain number of lines, it silenlty stops parsing it, producing an incomplete content. This seems to be worse on newer Sphinx versions, like 2.0. So, change the logic to parse the contents per input file. Signed-off-by: Mauro Ca

[PATCH v3 20/20] docs: Kconfig/Makefile: add a check for broken ABI files

2019-07-17 Thread Mauro Carvalho Chehab
The files under Documentation/ABI should follow the syntax as defined at Documentation/ABI/README. Allow checking if they're following the syntax by running the ABI parser script on COMPILE_TEST. With that, when there's a problem with a file under Documentation/ABI, it would produce a warning lik

[PATCH v3 08/20] docs: kernel_abi.py: Update copyrights

2019-07-17 Thread Mauro Carvalho Chehab
As Markus doesn't want to maintain ths file, update it to put me as its maintainer. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/sphinx/kernel_abi.py b/Documentation/sphinx/kernel_

[PATCH v3 17/20] docs: ABI: create a 2-depth index for ABI

2019-07-17 Thread Mauro Carvalho Chehab
That helps to identify what ABI files are adding titles. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/abi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/abi.rst b/Documentation/admin-guide/abi.rst index 3b9645c77469..bcab3

[PATCH v3 09/20] docs: kernel_abi.py: add a SPDX header file

2019-07-17 Thread Mauro Carvalho Chehab
This file is released under GPL v2. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/sphinx/kernel_abi.py b/Documentation/sphinx/kernel_abi.py index ef91b1e1ff4b..5d43cac73d0a 100644 --- a/Documentation

[PATCH v3 05/20] docs: kernel_abi.py: add a script to parse ABI documentation

2019-07-17 Thread Mauro Carvalho Chehab
The ABI documentation is special: it is not plain text files, but, instead, files with an strict format, as specified by Documentation/ABI/README. Add a parser for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 155 + 1 file changed

[PATCH v3 16/20] docs: ABI: make it parse ABI/stable as ReST-compatible files

2019-07-17 Thread Mauro Carvalho Chehab
Now that the stable ABI files are compatible with ReST, parse them without converting complex descriptions as literal blocks nor escaping special characters. Please notice that escaping special characters will probably be needed at descriptions, at least for the asterisk character. Signed-off-by:

[PATCH v3 06/20] docs: kernel_abi.py: fix UTF-8 support

2019-07-17 Thread Mauro Carvalho Chehab
The parser breaks with UTF-8 characters with Sphinx 1.4. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 20 +++- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/Documentation/sphinx/kernel_abi.py b/Documentation/sphinx/kernel_abi.py

[PATCH v3 04/20] docs: kernellog.py: add support for info()

2019-07-17 Thread Mauro Carvalho Chehab
An extension may want to just inform about something. So, add support for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernellog.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/sphinx/kernellog.py b/Documentation/sphinx/kernellog.py

[PATCH v3 07/20] docs: kernel_abi.py: make it compatible with Sphinx 1.7+

2019-07-17 Thread Mauro Carvalho Chehab
The same way kerneldoc.py needed changes to work with newer Sphinx, this script needs the same changes. While here, reorganize the include order to match kerneldoc.py. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 39 +- 1 file changed

[PATCH v3 10/20] docs: kernel_abi.py: use --enable-lineno for get_abi.pl

2019-07-17 Thread Mauro Carvalho Chehab
Just like kernel-doc extension, we need to be able to identify what part of an imported document has issues, as reporting them as: get_abi.pl rest --dir $srctree/Documentation/ABI/obsolete --rst-source:1689: ERROR: Unexpected indentation. Makes a lot harder for someone to fix. It should

[PATCH v3 18/20] docs: ABI: don't escape ReST-incompatible chars from obsolete and removed

2019-07-17 Thread Mauro Carvalho Chehab
With just a single fix, the contents there can be parsed properly without the need to escape any ReST incompatible stuff. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/obsolete/sysfs-gpio | 2 ++ Documentation/admin-guide/abi-obsolete.rst | 1 + Documentation/admin-guide/abi-re

[PATCH v3 12/20] docs: add ABI documentation to the admin-guide book

2019-07-17 Thread Mauro Carvalho Chehab
As we don't want a generic Sphinx extension to execute commands, change the one proposed to Markus to call the abi_book.pl script. Use a script to parse the Documentation/ABI directory and output it at the admin-guide. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/abi-obsol

[PATCH v3 19/20] docs: abi-testing.rst: enable --rst-sources when building docs

2019-07-17 Thread Mauro Carvalho Chehab
Now that ABI/testing documents were fixed, add --rst-sources to the ABI/testing too. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/abi-testing.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/admin-guide/abi-testing.rst b/Documentation/admin-guide/abi-t

Re: [PATCH v3 06/20] docs: kernel_abi.py: fix UTF-8 support

2019-07-17 Thread Markus Heiser
Hi Mauro, just nitpicking .. Am 17.07.19 um 13:05 schrieb Mauro Carvalho Chehab: The parser breaks with UTF-8 characters with Sphinx 1.4. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 20 +++- 1 file changed, 7 insertions(+), 13 deletions(-)

[PATCH v4 08/15] docs: kernel_abi.py: allow passing ABI files in a transparent way

2019-07-17 Thread Mauro Carvalho Chehab
As get-abi.pl supports an ABI file that it is ReST compliant, add an option to kernel-abi.py to allow using the transparent mode of the tool. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Do

[PATCH v4 03/15] docs: kernellog.py: add support for info()

2019-07-17 Thread Mauro Carvalho Chehab
An extension may want to just inform about something. So, add support for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernellog.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/sphinx/kernellog.py b/Documentation/sphinx/kernellog.py

[PATCH v4 06/15] docs: kernel_abi.py: make it compatible with Sphinx 1.7+

2019-07-17 Thread Mauro Carvalho Chehab
The same way kerneldoc.py needed changes to work with newer Sphinx, this script needs the same changes. While here, reorganize the include order to match kerneldoc.py. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 39 +- 1 file changed

[PATCH v4 14/15] docs: ABI: obsolete, removed: don't escape ReST-incompatible chars

2019-07-17 Thread Mauro Carvalho Chehab
With just a single fix, the contents there can be parsed properly without the need to escape any ReST incompatible stuff. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/obsolete/sysfs-gpio | 2 ++ Documentation/admin-guide/abi-obsolete.rst | 1 + Documentation/admin-guide/abi-re

[PATCH v4 10/15] docs: add ABI documentation to the admin-guide book

2019-07-17 Thread Mauro Carvalho Chehab
As we don't want a generic Sphinx extension to execute commands, change the one proposed to Markus to call the abi_book.pl script. Use a script to parse the Documentation/ABI directory and output it at the admin-guide. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/abi-obsol

[PATCH v4 12/15] docs: ABI: stable: make files ReST compatible

2019-07-17 Thread Mauro Carvalho Chehab
Several entries at the stable ABI files won't parse if we pass them directly to the ReST output. Adjust them, in order to allow adding their contents as-is at the stable ABI book. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/stable/firewire-cdev| 4 + Documentation/ABI/st

[PATCH v4 09/15] docs: kernel_abi.py: Sphinx has a lazy parser... workaround it

2019-07-17 Thread Mauro Carvalho Chehab
The Sphinx docutils parser is lazy: if the content is bigger than a certain number of lines, it silenlty stops parsing it, producing an incomplete content. This seems to be worse on newer Sphinx versions, like 2.0. So, change the logic to parse the contents per input file. Signed-off-by: Mauro Ca

[PATCH v4 15/15] docs: Kconfig/Makefile: add a check for broken ABI files

2019-07-17 Thread Mauro Carvalho Chehab
The files under Documentation/ABI should follow the syntax as defined at Documentation/ABI/README. Allow checking if they're following the syntax by running the ABI parser script on COMPILE_TEST. With that, when there's a problem with a file under Documentation/ABI, it would produce a warning lik

[PATCH v4 04/15] docs: kernel_abi.py: add a script to parse ABI documentation

2019-07-17 Thread Mauro Carvalho Chehab
The ABI documentation is special: it is not plain text files, but, instead, files with an strict format, as specified by Documentation/ABI/README. Add a parser for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 158 + 1 file changed

[PATCH v4 05/15] docs: kernel_abi.py: fix UTF-8 support

2019-07-17 Thread Mauro Carvalho Chehab
The parser breaks with UTF-8 characters with Sphinx 1.4. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/kernel_abi.py | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/Documentation/sphinx/kernel_abi.py b/Documentation/sphinx/kernel_abi.py ind

[PATCH v4 07/15] docs: kernel_abi.py: use --enable-lineno for get_abi.pl

2019-07-17 Thread Mauro Carvalho Chehab
Just like kernel-doc extension, we need to be able to identify what part of an imported document has issues, as reporting them as: get_abi.pl rest --dir $srctree/Documentation/ABI/obsolete --rst-source:1689: ERROR: Unexpected indentation. Makes a lot harder for someone to fix. It should

Re: [PATCH v3 06/20] docs: kernel_abi.py: fix UTF-8 support

2019-07-17 Thread Mauro Carvalho Chehab
Em Wed, 17 Jul 2019 13:44:40 +0200 Markus Heiser escreveu: > Hi Mauro, > > just nitpicking .. > > Am 17.07.19 um 13:05 schrieb Mauro Carvalho Chehab: > > The parser breaks with UTF-8 characters with Sphinx 1.4. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > > Documentation/sphinx/ke

If interested

2019-07-17 Thread Tk Allen
My name is Mr. Allen, I have a Business Proposal of Four million five hundred thousand united states dollars for you to handle with me from my bank. I will need you to assist me in executing this Business .

Re: [PATCH v5 02/11] of/platform: Add functional dependency link from DT bindings

2019-07-17 Thread Rob Herring
On Tue, Jul 16, 2019 at 5:54 PM Saravana Kannan wrote: > > On Tue, Jul 16, 2019 at 4:43 PM Rob Herring wrote: > > > > On Fri, Jul 12, 2019 at 5:52 PM Saravana Kannan > > wrote: > > > > > > Add device-links after the devices are created (but before they are > > > probed) by looking at common DT

Re: [PATCH v5 02/11] of/platform: Add functional dependency link from DT bindings

2019-07-17 Thread Saravana Kannan
On Wed, Jul 17, 2019 at 7:35 AM Rob Herring wrote: > > On Tue, Jul 16, 2019 at 5:54 PM Saravana Kannan wrote: > > > > On Tue, Jul 16, 2019 at 4:43 PM Rob Herring wrote: > > > > > > On Fri, Jul 12, 2019 at 5:52 PM Saravana Kannan > > > wrote: > > > > > > > > Add device-links after the devices a

[PATCH v2] Documentation/security-bugs: provide more information about linux-distros

2019-07-17 Thread Sasha Levin
Provide more information about how to interact with the linux-distros mailing list for disclosing security bugs. Reference the linux-distros list policy and clarify that the reporter must read and understand those policies as they differ from secur...@kernel.org's policy. Suggested-by: Solar Desi