Re: [PATCH v2 3/9] rcu/sync: Remove custom check for reader-section

2019-07-14 Thread Paul E. McKenney
On Sun, Jul 14, 2019 at 02:38:20PM -0400, Joel Fernandes wrote: > On Sun, Jul 14, 2019 at 02:10:53PM -0400, Joel Fernandes wrote: > > On Sat, Jul 13, 2019 at 02:28:12PM -0700, Paul E. McKenney wrote: > [snip] > > > > > > > > > > > > > > > > > > > > Cc: Oleg Nesterov > > > > > > > > > > Signed-off

Re: [PATCH v2 3/9] rcu/sync: Remove custom check for reader-section

2019-07-14 Thread Joel Fernandes
On Sun, Jul 14, 2019 at 02:10:53PM -0400, Joel Fernandes wrote: > On Sat, Jul 13, 2019 at 02:28:12PM -0700, Paul E. McKenney wrote: [snip] > > > > > > > > > > > > > > > > > > Cc: Oleg Nesterov > > > > > > > > > Signed-off-by: Joel Fernandes (Google) > > > > > > > > > > > > > > > > > > --- > > >

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

2019-07-14 Thread Solar Designer
On Thu, Jul 11, 2019 at 04:35:00PM -0400, Sasha Levin wrote: > On Thu, Jul 11, 2019 at 06:09:21PM +0100, Will Deacon wrote: > >On Thu, Jul 11, 2019 at 07:07:32PM +0200, Greg KH wrote: > >>On Thu, Jul 11, 2019 at 12:36:37PM -0400, Sasha Levin wrote: > >>> Provide more information about how to intera

Re: [PATCH v2 3/9] rcu/sync: Remove custom check for reader-section

2019-07-14 Thread Joel Fernandes
On Sat, Jul 13, 2019 at 02:28:12PM -0700, Paul E. McKenney wrote: > On Sat, Jul 13, 2019 at 12:13:16PM -0400, Joel Fernandes wrote: > > On Sat, Jul 13, 2019 at 08:50:10AM -0700, Paul E. McKenney wrote: > > > On Sat, Jul 13, 2019 at 11:36:06AM -0400, Joel Fernandes wrote: > > > > On Sat, Jul 13, 201

Re: [PATCH 5/5] docs: spi: convert to ReST and add it to the kABI bookset

2019-07-14 Thread Jonathan Cameron
On Fri, 28 Jun 2019 18:23:16 -0300 Mauro Carvalho Chehab wrote: > While there's one file there with briefily describes the uAPI, > the documentation was written just like most subsystems: focused > on kernel developers. So, add it together with driver-api books. > > Signed-off-by: Mauro Carvalho

Re: [PATCH 01/12] Documentation: move architectures together

2019-07-14 Thread Alex Shi
Hi Jon, Thanks for quick response! 在 2019/7/13 上午1:34, Jonathan Corbet 写道: > On Fri, 12 Jul 2019 10:20:07 +0800 > Alex Shi wrote: > >> There are many different archs in Documentation/ dir, it's better to >> move them together in 'Documentation/arch' which follows from kernel source. > > So thi

[PATCH 8/8] docs: remove extra conf.py files

2019-07-14 Thread Mauro Carvalho Chehab
Now that the latex_documents are handled automatically, we can remove those extra conf.py files. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/conf.py | 10 -- Documentation/core-api/conf.py | 10 -- Documentation/crypto/conf.py | 10 --

[PATCH 0/8] docs: some improvements when producing PDF files

2019-07-14 Thread Mauro Carvalho Chehab
Hi Jon, This series addresses your concerns related to CJK fonts that are needed for translations.pdf. It touches only the documentation build system, not the docs themselves. It ended to be bigger than I originally foreseen, as I found several issues when running "make pdfdocs" for the distros

[PATCH 3/8] scripts/sphinx-pre-install: don't use LaTeX with CentOS 7

2019-07-14 Thread Mauro Carvalho Chehab
There aren't enough texlive packages for LaTeX-based builds to work on CentOS/RHEL <= 7. Signed-off-by: Mauro Carvalho Chehab --- scripts/sphinx-pre-install | 68 -- 1 file changed, 50 insertions(+), 18 deletions(-) diff --git a/scripts/sphinx-pre-install b/s

[PATCH 1/8] docs: conf.py: only use CJK if the font is available

2019-07-14 Thread Mauro Carvalho Chehab
If we try to build a book with asian characters with XeLaTeX and the font is not available, it will produce an error. So, instead, add a logic at conf.py to detect if the proper font is installed. This will avoid an error while building the document, although the result may not be readable. Sign

[PATCH 6/8] scripts/sphinx-pre-install: seek for Noto CJK fonts for pdf output

2019-07-14 Thread Mauro Carvalho Chehab
The translations guide need Noto CJK fonts. So, add a logic that would suggest its install for distros. It also fix a few other issues while testing the script with several distributions. Signed-off-by: Mauro Carvalho Chehab --- scripts/sphinx-pre-install | 29 + 1 f

[PATCH 7/8] docs: load_config.py: avoid needing a conf.py just due to LaTeX docs

2019-07-14 Thread Mauro Carvalho Chehab
Right now, for every directory that we need to have LaTeX output, a conf.py file is required. That causes an extra overhead and it is actually a hack, as the latex_documents line there are usually a copy of the ones that are there already at the main conf.py. So, instead, re-use the global latex_

[PATCH 5/8] scripts/sphinx-pre-install: cleanup Gentoo checks

2019-07-14 Thread Mauro Carvalho Chehab
On Gentoo, the portage changes for ImageMagick to work are always suggested, even if already applied. While the two extra commands should be harmless, add a check to avoid reporting it without need. Signed-off-by: Mauro Carvalho Chehab --- scripts/sphinx-pre-install | 15 +-- 1 file

[PATCH 2/8] scripts/sphinx-pre-install: fix script for RHEL/CentOS

2019-07-14 Thread Mauro Carvalho Chehab
There's a missing parenthesis at the script, with causes it to fail to detect non-Fedora releases (e. g. RHEL/CentOS). Tested with Centos 7.6.1810. Signed-off-by: Mauro Carvalho Chehab --- scripts/sphinx-pre-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sph

[PATCH 4/8] scripts/sphinx-pre-install: fix latexmk dependencies

2019-07-14 Thread Mauro Carvalho Chehab
The name of the package with carries latexmk is different on two distros: - On OpenSUSE, latexmk is packaged as "texlive-latexmk-bin" - On Mageia, latexmk is packaged at "texlive-collection-basic" Signed-off-by: Mauro Carvalho Chehab --- scripts/sphinx-pre-install | 4 1 file changed, 4 in

Re: [PATCH v8] Documentation: filesystem: Convert xfs.txt to ReST

2019-07-14 Thread Sheriff Esseson
Move xfs.txt to admin-guide, convert xfs.txt to ReST and broken references Signed-off-by: Sheriff Esseson --- changes in v8: - fix table of Deprecated and Removed options. Documentation/admin-guide/index.rst | 1 + .../xfs.txt => admin-guide/xfs.rst} | 132 +++