Re: [PATCH 12/39] docs: interconnect.rst: add it to the driver-api guide

2019-06-28 Thread Georgi Djakov
On 6/28/19 15:30, Mauro Carvalho Chehab wrote: > This is intented for Kernel hackers audience. s/intented/intended/ > > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Georgi Djakov Thanks! Georgi > --- > Documentation/driver-api/index.rst | 1 + > Documentation/

Re: [PATCH v2] Documentation:sh:convert register-banks.txt and new-machine.txt to rst format.

2019-06-28 Thread Vandana BN
On 28/06/19 7:09 PM, Mauro Carvalho Chehab wrote: > Em Fri, 28 Jun 2019 18:54:59 +0530 > Vandana BN escreveu: > >> This patch converts new-machine.txt and register-banks.txt to ReST format, >> No content >> change. >> Added new-machine.rst and register-banks.rst to sh/index.rst >> >> Signed-off

Re: [PATCH 42/43] docs: move gcc_plugins.txt to core-api and rename to .rst

2019-06-28 Thread Kees Cook
On Fri, Jun 28, 2019 at 09:20:38AM -0300, Mauro Carvalho Chehab wrote: > The gcc_plugins.txt file is already a ReST file. Move it > to the core-api book while renaming it. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Kees Cook -Kees > --- > Documentation/{gcc-plugins.txt => core-api/gc

Re: [PATCH 9/9] platform: x86: get rid of a non-existent document

2019-06-28 Thread Andy Shevchenko
On Fri, Jun 28, 2019 at 3:12 PM Mauro Carvalho Chehab wrote: > > Changeset 163ede97a9a2 ("Documentation: platform: Delete > x86-laptop-drivers.txt") > removed the x86-laptop-drivers.txt file, but forgot to update its > Kconfig. Acked-by: Andy Shevchenko > > Fixes: 163ede97a9a2 ("Documentation:

Re: [PATCH 17/39] docs: admin-guide: add laptops documentation

2019-06-28 Thread Andy Shevchenko
On Fri, Jun 28, 2019 at 3:30 PM Mauro Carvalho Chehab wrote: > > The docs under Documentation/laptops contain users specific > information. > Acked-by: Andy Shevchenko > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/ABI/testing/sysfs-block-device | 2 +- > Docume

Re: [PATCH 9/9] platform: x86: get rid of a non-existent document

2019-06-28 Thread Jonathan Corbet
On Fri, 28 Jun 2019 17:49:48 +0300 Andy Shevchenko wrote: > On Fri, Jun 28, 2019 at 3:12 PM Mauro Carvalho Chehab > wrote: > > > > Changeset 163ede97a9a2 ("Documentation: platform: Delete > > x86-laptop-drivers.txt") > > removed the x86-laptop-drivers.txt file, but forgot to update its > > Kcon

[PATCH v3] Documentation:sh:convert register-banks.txt and new-machine.txt to rst format.

2019-06-28 Thread Vandana BN
This patch converts new-machine.txt and register-banks.txt to ReST format, No content change. Added interfaces.rst to contain kernel-doc markups from index.rst Added interfaces.rst,new-machine.rst and register-banks.rst to sh/index.rst Signed-off-by: Vandana BN --- Documentation/sh/index.rst

Re: [linux-kernel-mentees] [PATCH v2] Doc : doc-guide : Fix a typo

2019-06-28 Thread Jonathan Corbet
On Fri, 28 Jun 2019 07:20:01 +0100 Sheriff Esseson wrote: > fix the disjunction by replacing "of" with "or". > > Signed-off-by: Sheriff Esseson > --- > > changes in v2: > - cc-ed Corbet. > > Documentation/doc-guide/kernel-doc.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > d

Re: [PATCH] docs: format kernel-parameters -- as code

2019-06-28 Thread Jonathan Corbet
On Thu, 27 Jun 2019 15:59:38 +0200 Stephen Kitt wrote: > The current ReStructuredText formatting results in "--", used to > indicate the end of the kernel command-line parameters, appearing as > an en-dash instead of two hyphens; this patch formats them as code, > "``--``", as done elsewhere in t

Re: [Linux-kernel-mentees][PATCH] doc: RCU callback locks need only _bh, not necessarily _irq

2019-06-28 Thread Jonathan Corbet
On Thu, 27 Jun 2019 16:01:47 -0500 Jiunn Chang wrote: > The UP.rst file calls for locks acquired within RCU callback functions > to use _irq variants (spin_lock_irqsave() or similar), which does work, > but can be overkill. This commit therefore instead calls for _bh variants > (spin_lock_bh() o

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-28 Thread Christopher Lameter
On Thu, 27 Jun 2019, Roman Gushchin wrote: > so that objects belonging to different memory cgroups can share the same page > and kmem_caches. > > It's a fairly big change though. Could this be done at another level? Put a cgoup pointer into the corresponding structures and then go back to just a

Re: [PATCH 30/43] docs: nvdimm: convert to ReST

2019-06-28 Thread Dan Williams
On Fri, Jun 28, 2019 at 5:21 AM Mauro Carvalho Chehab wrote: > > Rename the nvdimm documentation files to ReST, add an > index for them and adjust in order to produce a nice html > output via the Sphinx build system. > > At its new index.rst, let's add a :orphan: while this is not linked to > the

Re: [PATCH 04/39] docs: nvdimm: add it to the driver-api book

2019-06-28 Thread Dan Williams
On Fri, Jun 28, 2019 at 5:30 AM Mauro Carvalho Chehab wrote: > > The descriptions here are from Kernel driver's PoV. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Dan Williams

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-28 Thread Roman Gushchin
On Fri, Jun 28, 2019 at 03:32:28PM +, Christopher Lameter wrote: > On Thu, 27 Jun 2019, Roman Gushchin wrote: > > > so that objects belonging to different memory cgroups can share the same > > page > > and kmem_caches. > > > > It's a fairly big change though. > > Could this be done at anothe

Клиентские базы! Email: proda...@armyspy.com Узнайте подробнее!

2019-06-28 Thread vlas_m
Клиентские базы! Email: proda...@armyspy.com Узнайте подробнее!

Re: [PATCH] kbuild: get rid of misleading $(AS) from documents

2019-06-28 Thread Sam Ravnborg
Hi Masahiro. On Fri, Jun 28, 2019 at 11:04:33AM +0900, Masahiro Yamada wrote: > The assembler files in the kernel are *.S instead of *.s, so they must > be preprocessed. Hence, we always use $(CC) as an assembler driver. > > $(AS) is almost unused in Kbuild. As of writing, there is just one user.

Re: [PATCH v3] Documentation:sh:convert register-banks.txt and new-machine.txt to rst format.

2019-06-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Jun 2019 20:33:45 +0530 Vandana BN escreveu: > This patch converts new-machine.txt and register-banks.txt > to ReST format, No content change. > Added interfaces.rst to contain kernel-doc markups from index.rst > Added interfaces.rst,new-machine.rst and register-banks.rst to sh/index.r

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-28 Thread Yang Shi
On Fri, Jun 28, 2019 at 8:32 AM Christopher Lameter wrote: > > On Thu, 27 Jun 2019, Roman Gushchin wrote: > > > so that objects belonging to different memory cgroups can share the same > > page > > and kmem_caches. > > > > It's a fairly big change though. > > Could this be done at another level?

[RFC PATCH] binfmt_elf: Extract .note.gnu.property from an ELF file

2019-06-28 Thread Yu-cheng Yu
This patch was part of the Intel Control-flow Enforcement (CET) series at: https://lkml.org/lkml/2019/6/6/1014. In the discussion, we decided to look at only an ELF header's PT_GNU_PROPERTY, which is a shortcut pointing to the file's .note.gnu.property. The Linux gABI extension draft is here

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-28 Thread Roman Gushchin
On Fri, Jun 28, 2019 at 10:16:13AM -0700, Yang Shi wrote: > On Fri, Jun 28, 2019 at 8:32 AM Christopher Lameter wrote: > > > > On Thu, 27 Jun 2019, Roman Gushchin wrote: > > > > > so that objects belonging to different memory cgroups can share the same > > > page > > > and kmem_caches. > > > > >

Re: [PATCH] docs: format kernel-parameters -- as code

2019-06-28 Thread Jonathan Corbet
On Fri, 28 Jun 2019 20:38:41 +0200 Stephen Kitt wrote: > Right, looking further shows a large number of places where -- is handled > incorrectly. The following patch disables this “smart” handling wholesale; > I’ll follow up (in the next few days) with patches to use real em- and > en-dashes wher

Re: [PATCH 24/43] docs: leds: convert to ReST

2019-06-28 Thread Jacek Anaszewski
Hi Mauro, On 6/28/19 2:20 PM, Mauro Carvalho Chehab wrote: > Rename the leds documentation files to ReST, add an > index for them and adjust in order to produce a nice html > output via the Sphinx build system. > > At its new index.rst, let's add a :orphan: while this is not linked to > the main

Re: [PATCH v4] RISC-V: Add an Image header that boot loader can parse.

2019-06-28 Thread Paul Walmsley
On Thu, 6 Jun 2019, Atish Patra wrote: > Currently, the last stage boot loaders such as U-Boot can accept only > uImage which is an unnecessary additional step in automating boot > process. > > Add an image header that boot loader understands and boot Linux from > flat Image directly. ... > +#

Re: [PATCH v4] RISC-V: Add an Image header that boot loader can parse.

2019-06-28 Thread Atish Patra
On Fri, 2019-06-28 at 12:09 -0700, Paul Walmsley wrote: > On Thu, 6 Jun 2019, Atish Patra wrote: > > > Currently, the last stage boot loaders such as U-Boot can accept > > only > > uImage which is an unnecessary additional step in automating boot > > process. > > > > Add an image header that boot

[RFC PATCH 3/3] Prevent user from writing to IBT bitmap.

2019-06-28 Thread Yu-cheng Yu
The IBT bitmap is visiable from user-mode, but not writable. Signed-off-by: Yu-cheng Yu --- arch/x86/mm/fault.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 59f4f66e4f2e..231196abb62e 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/m

[RFC PATCH 2/3] Introduce arch_prctl(ARCH_X86_CET_MARK_LEGACY_CODE)

2019-06-28 Thread Yu-cheng Yu
The CET legacy code bitmap covers the whole user-mode address space and is located at the top of the user-mode address space. It is allocated only when the first time arch_prctl(ARCH_X86_MARK_LEGACY_CODE) is called from an application. Introduce: arch_prctl(ARCH_X86_MARK_LEGACY_CODE, unsigned lo

[RFC PATCH 1/3] mm: Introduce VM_IBT for CET legacy code bitmap

2019-06-28 Thread Yu-cheng Yu
The previous discussion of the IBT legacy code bitmap is here: https://lkml.org/lkml/2019/6/6/1032 When CET Indirect Branch Tracking (IBT) is enabled, the processor expects every branch target is an ENDBR instruction, or the target's address is marked as legacy in the legacy code bitmap. The

Re: [PATCH] docs: format kernel-parameters -- as code

2019-06-28 Thread Randy Dunlap
On 6/28/19 11:48 AM, Jonathan Corbet wrote: > On Fri, 28 Jun 2019 20:38:41 +0200 > Stephen Kitt wrote: > >> Right, looking further shows a large number of places where -- is handled >> incorrectly. The following patch disables this “smart” handling wholesale; >> I’ll follow up (in the next few da

Re: [PATCH] docs: format kernel-parameters -- as code

2019-06-28 Thread Stephen Kitt
On Fri, 28 Jun 2019 09:10:21 -0600, Jonathan Corbet wrote: > On Thu, 27 Jun 2019 15:59:38 +0200 > > The current ReStructuredText formatting results in "--", used to > > indicate the end of the kernel command-line parameters, appearing as > > an en-dash instead of two hyphens; this patch formats th

Re: [PATCH] docs: format kernel-parameters -- as code

2019-06-28 Thread Stephen Kitt
On Fri, 28 Jun 2019 12:48:04 -0600, Jonathan Corbet wrote: > On Fri, 28 Jun 2019 20:38:41 +0200 > Stephen Kitt wrote: > > > Right, looking further shows a large number of places where -- is handled > > incorrectly. The following patch disables this “smart” handling wholesale; > > I’ll follow up

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

2019-06-28 Thread Mauro Carvalho Chehab
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 Chehab --- Documentation/index.rst | 1 + .../spi

[PATCH 0/5] Convert misc-devices, i2c, w1, spi and some markdown files to ReST

2019-06-28 Thread Mauro Carvalho Chehab
There are some files under Documentation/ that don't end with .txt but as plain text files. If I did the math right, ~140 of such files make sense to convert, IMO. This series convert most of them. After this series, there will be around 30-40 files without any extension to be converted. The res

[PATCH 1/5] docs: convert markdown documents to ReST

2019-06-28 Thread Mauro Carvalho Chehab
The documentation standard is ReST and not markdown. Signed-off-by: Mauro Carvalho Chehab --- Documentation/devicetree/writing-schema.md| 130 --- Documentation/devicetree/writing-schema.rst | 153 ++ ...entication.md => ubifs-authentication.rst} | 70 +---

[PATCH 4/5] docs: w1: convert to ReST and add to the kAPI group of docs

2019-06-28 Thread Mauro Carvalho Chehab
The 1wire documentation was written with w1 developers in mind, so, it makes sense to add it together with the driver-api set. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/stable/sysfs-bus-w1 | 2 +- .../ABI/stable/sysfs-driver-w1_ds28e04| 4 +- .../ABI/stable/sys

[PATCH 2/5] docs: misc-devices: convert files without extension to ReST

2019-06-28 Thread Mauro Carvalho Chehab
Those files are also text files. Convert them to ReST and add to the misc-files index.rst. Signed-off-by: Mauro Carvalho Chehab --- .../misc-devices/{eeprom => eeprom.rst} | 43 +-- .../{ics932s401 => ics932s401.rst}| 7 ++- Documentation/misc-devices/index.rst

[PATCH v1] Doc : fs : convert xfs.txt to ReST

2019-06-28 Thread Sheriff Esseson
Convert xfs.txt to ReST, markup and rename accordingly. Update Documentation/index.rst. While at it, make "value" in "option=value" form xfs options definable by the user, by embedding in angle "<>" brackets, rather than something predifined elsewhe

Re: [RFC PATCH 1/3] mm: Introduce VM_IBT for CET legacy code bitmap

2019-06-28 Thread Andy Lutomirski
> On Jun 28, 2019, at 12:41 PM, Yu-cheng Yu wrote: > > The previous discussion of the IBT legacy code bitmap is here: > >https://lkml.org/lkml/2019/6/6/1032 > > When CET Indirect Branch Tracking (IBT) is enabled, the processor expects > every branch target is an ENDBR instruction, or the

Re: [PATCH v1] Doc : fs : convert xfs.txt to ReST

2019-06-28 Thread Matthew Wilcox
On Fri, Jun 28, 2019 at 10:43:02PM +0100, Sheriff Esseson wrote: > Convert xfs.txt to ReST, markup and rename accordingly. Update > Documentation/index.rst. Didn't get_maintainers.pl suggest that you cc the linux-xfs mailing list? You also need to update MAINTAINERS. > While at

Re: [PATCH v1] Doc : fs : convert xfs.txt to ReST

2019-06-28 Thread Shuah Khan
Hi Sheriff, On 6/28/19 3:43 PM, Sheriff Esseson wrote: Convert xfs.txt to ReST, markup and rename accordingly. Update Documentation/index.rst. While at it, make "value" in "option=value" form xfs options definable by the user, by embedding in angle "<>"

Re: [PATCH 3/5] docs: i2c: convert to ReST and add to driver-api bookset

2019-06-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Jun 2019 23:41:38 +0200 Alexandre Belloni escreveu: > On 28/06/2019 18:23:14-0300, Mauro Carvalho Chehab wrote: > > diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c > > index 225a8df1d4e9..1803f3cab39f 100644 > > --- a/drivers/rtc/rtc-ds1374.c > > +++ b/drivers/rtc/rtc-

Re: [PATCH 3/5] docs: i2c: convert to ReST and add to driver-api bookset

2019-06-28 Thread Alexandre Belloni
On 28/06/2019 18:54:45-0300, Mauro Carvalho Chehab wrote: > Em Fri, 28 Jun 2019 23:41:38 +0200 > Alexandre Belloni escreveu: > > > On 28/06/2019 18:23:14-0300, Mauro Carvalho Chehab wrote: > > > diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c > > > index 225a8df1d4e9..1803f3cab39

Re: [PATCH v1] Doc : fs : convert xfs.txt to ReST

2019-06-28 Thread Darrick J. Wong
On Fri, Jun 28, 2019 at 02:51:06PM -0700, Matthew Wilcox wrote: > On Fri, Jun 28, 2019 at 10:43:02PM +0100, Sheriff Esseson wrote: > > Convert xfs.txt to ReST, markup and rename accordingly. Update > > Documentation/index.rst. > > Didn't get_maintainers.pl suggest that you cc the linux-xfs

Re: [PATCH 1/5] docs: convert markdown documents to ReST

2019-06-28 Thread Rob Herring
On Fri, Jun 28, 2019 at 3:23 PM Mauro Carvalho Chehab wrote: > > The documentation standard is ReST and not markdown. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/devicetree/writing-schema.md| 130 --- > Documentation/devicetree/writing-schema.rst | 153 ++

Re: [PATCH 3/5] docs: i2c: convert to ReST and add to driver-api bookset

2019-06-28 Thread Alexandre Belloni
On 28/06/2019 18:23:14-0300, Mauro Carvalho Chehab wrote: > diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c > index 225a8df1d4e9..1803f3cab39f 100644 > --- a/drivers/rtc/rtc-ds1374.c > +++ b/drivers/rtc/rtc-ds1374.c > @@ -14,7 +14,7 @@ > */ > /* > * It would be more efficient

Re: [PATCH v1] Doc : fs : convert xfs.txt to ReST

2019-06-28 Thread Sheriff Esseson
On Fri, Jun 28, 2019 at 10:43:24PM +0100, Sheriff Esseson wrote: > Convert xfs.txt to ReST, markup and rename accordingly. Update > Documentation/index.rst. > > While at it, make "value" in "option=value" form xfs options definable > by > the user, by embedding in an

Re: [PATCH v1] Doc : fs : convert xfs.txt to ReST

2019-06-28 Thread Matthew Wilcox
On Sat, Jun 29, 2019 at 02:25:08AM +0100, Sheriff Esseson wrote: > On Fri, Jun 28, 2019 at 10:43:24PM +0100, Sheriff Esseson wrote: > > Convert xfs.txt to ReST, markup and rename accordingly. Update > > Documentation/index.rst. Don't quote the entire previous patch when submitting a new on

<    1   2