Documentation has been compiled from git logs and by reading through
code.
Signed-off-by: Aishwarya Pant
---
For drivers/block/loop.c, I don't see any maintainers or mailing lists except
for LKML. I am guessing linux-block mailing list should be okay.
Changes in v2:
- Add linux-bl...@vger.kernel
From: Changbin Du
Add ftrace-uses.rst into Sphinx TOC tree. Few format issues are fixed.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/ftrace-uses.rst | 23 ---
Documentation/trace/index.rst | 1 +
2 files changed, 13 insertions(+), 11 deleti
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. This documentation is not synced with current
code, so mark it as out of date.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
.../trace/{ftrace-design.txt => ftrace-design
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
...epoint-analysis.txt => tracepoi
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/events-nmi.rst | 45 ++
Documentation
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
.../trace/{kprobetrace.txt => kpr
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
.../trace/{events-power.txt => events-power.rst} | 52 +-
Documentation
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/{events.txt => events.rst} | 669 +
Documentation
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
.../trace/{uprobetracer.txt => upr
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
.../trace/{mmiotrace.txt => mmiotr
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/events-msr.rst | 40 ++
Documentation
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
.../{hwlat_detector.txt => hwlat_detector.rst} | 26 +-
Documentation
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst| 1 +
Documentation/trace/{stm.txt => stm.rst} | 2
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
Documentation/trace/{intel_th.txt
From: Changbin Du
Hi All,
The linux tracers are so useful that I want to make the docs better. The kernel
now uses Sphinx to generate intelligent and beautiful documentation from
reStructuredText files. I converted most of the Linux trace docs to rst format
in this serias.
For you to preview, pl
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
.../trace/{tracepoints.txt => trac
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
.../trace/{events-kmem.txt => events-kmem.rst} | 50 ++
Documentation
From: Changbin Du
This just add a index.rst for trace subsystem. More docs will
be added later.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/index.rst | 1 +
Documentation/trace/index.rst | 6 ++
2 files changed, 7 insertions(+)
create mode 100644 Documentation/t
On Fri, Feb 16, 2018 at 04:36:56PM +0100, Corentin Labbe wrote:
>
> As mentionned in the cover letter, all patchs (except documentation one)
> should be squashed.
> A kbuild robot reported a build error on cryptodev due to this.
It's too late now. In future if you want the patches to be squashed
On Fri, Feb 16, 2018 at 12:36:29PM -0500, Steven Rostedt wrote:
> On Fri, 16 Feb 2018 05:49:52 -0700
> Jonathan Corbet wrote:
>
> > On Thu, 15 Feb 2018 22:57:05 -0500
> > Steven Rostedt wrote:
> >
> > > This document is out of date, and I rather have it updated before we
> > > make it more "ava
On February 16, 2018 1:47:35 PM PST, Victor Kamensky wrote:
>
>
>On Fri, 16 Feb 2018, Rob Landley wrote:
>
>>
>> On 02/16/2018 02:59 PM, H. Peter Anvin wrote:
>>> On 02/16/18 12:33, Taras Kondratiuk wrote:
Many of the Linux security/integrity features are dependent on file
metadata, stor
On Fri, Feb 16, 2018 at 1:02 PM, Andrew Morton
wrote:
> On Thu, 15 Feb 2018 19:37:44 -0800 Kees Cook wrote:
>
>> --- a/Documentation/sysctl/kernel.txt
>> +++ b/Documentation/sysctl/kernel.txt
>> @@ -991,6 +991,7 @@ ORed together. The letters are seen in "Tainted" line of
>> Oops reports.
>> 16
On 02/16/18 12:33, Taras Kondratiuk wrote:
> Many of the Linux security/integrity features are dependent on file
> metadata, stored as extended attributes (xattrs), for making decisions.
> These features need to be initialized during initcall and enabled as
> early as possible for complete security
On Fri, 16 Feb 2018, Rob Landley wrote:
On 02/16/2018 02:59 PM, H. Peter Anvin wrote:
On 02/16/18 12:33, Taras Kondratiuk wrote:
Many of the Linux security/integrity features are dependent on file
metadata, stored as extended attributes (xattrs), for making decisions.
These features need to
On 02/16/2018 02:59 PM, H. Peter Anvin wrote:
> On 02/16/18 12:33, Taras Kondratiuk wrote:
>> Many of the Linux security/integrity features are dependent on file
>> metadata, stored as extended attributes (xattrs), for making decisions.
>> These features need to be initialized during initcall and
On Thu, 15 Feb 2018 19:37:44 -0800 Kees Cook wrote:
> --- a/Documentation/sysctl/kernel.txt
> +++ b/Documentation/sysctl/kernel.txt
> @@ -991,6 +991,7 @@ ORed together. The letters are seen in "Tainted" line of
> Oops reports.
> 16384 (L): A soft lockup has previously occurred on the system.
>
On 2/14/2018 4:07 AM, Amit Kucheria wrote:
On Sat, Jan 13, 2018 at 6:35 AM, Karthikeyan Ramasubramanian
wrote:
This driver manages the Generic Interface (GENI) firmware based Qualcomm
Universal Peripheral (QUP) Wrapper. GENI based QUP is the next generation
programmable module composed of mul
Currently the FSM states are mapped directly to function pointers. Extra
level of intirection is not needed and makes navigation over the code
harder. One can't jump between states directly when browsing code (e.g.
with cscope). Need to go through actions[] array each time.
Replace states with the
Special handling of symlinks in do_header() assumes that name and body
entries are sequential and reads them together. This shortcut has no
real performance benefits, but it complicates changes to the state
machine.
Make handling of symlinks more similar to a regular files. Store name
in name_buf
Many of the Linux security/integrity features are dependent on file
metadata, stored as extended attributes (xattrs), for making decisions.
These features need to be initialized during initcall and enabled as
early as possible for complete security coverage.
Initramfs (tmpfs) supports xattrs, but
Move most of the file creation logic into a separate state. This splits
collection of data stage from data processing and makes it easier to add
additional states for a new archive format.
Signed-off-by: Taras Kondratiuk
---
init/initramfs.c | 52 ++---
There is already name_buf buffer pre-allocated for a file name. No need
to allocate vcollected for every file. More over a name can be already
stored in name_buf by read_info() function.
Add memcpy_optional() function to handle such case.
Signed-off-by: Taras Kondratiuk
---
init/initramfs.c | 1
Header parsing has hardcoded assumption about header field size and
layout. It is hard to modify the function to parse a new format.
Move information about size and layout into a data structure to
make parsing code more generic and simplify adding a new format.
This also removes some magic numbers
From: Mimi Zohar
In preparation for adding xattr support, read the CPIO method
separately from the rest of the header.
Signed-off-by: Mimi Zohar
Signed-off-by: Taras Kondratiuk
---
init/initramfs.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/init/initr
CPIO header is generated in multiple places with the same sprintf()
format string. Move formatting into a single function in preparation
to adding a new cpio format.
Signed-off-by: Taras Kondratiuk
---
usr/gen_init_cpio.c | 186 ++--
1 file changed
gen_init_cpio creates CPIO archive according to cpio_list manifest file
that contains list of archive entries (one per line). To be able to
store extended attributes in newcx CPIO format we need to pass them via
cpio_list file.
One way of doing it would be to append xattrs to each entry line, but
From: Mimi Zohar
This patch writes out the extended attributes included in the cpio file.
As the "security.ima" xattr needs to be written after the file data.
this patch separates extracting and setting the xattrs by defining new
do_setxattrs state.
[kamensky: fixed restoring of xattrs for symbo
Add 'newcx' format that adds extended attributes and increased size of
c_mtime and c_filesize fields.
Refer to Documentation/early-userspace/buffer-format.txt for detailed
format description.
Signed-off-by: Taras Kondratiuk
---
init/initramfs.c | 121 +++-
From: Victor Kamensky
initramfs code supporting extended cpio format have ability to
fill extended attributes from cpio archive, but if SELinux enabled
and security server is not initialized yet, selinux callback would
refuse setxattr made by initramfs code.
Solution enable SBLABEL_MNT on rootfs
Add "newcx" format that supports extended attributes and has increased
size of c_mtime and c_filesize fields.
Added -x option to select "newcx" format. Default is "newc".
Refer to Documentation/early-userspace/buffer-format.txt for detailed
format description.
Signed-off-by: Taras Kondratiuk
--
From: Victor Kamensky
With initramfs cpio format that supports extended attributes
we need to skip sid population on sys_lsetxattr call from
initramfs for rootfs if security server is not initialized yet.
Otherwise callback in selinux_inode_post_setxattr will try to
translate give security.selin
From: Victor Kamensky
With initramfs cpio format that supports extended attributes
we need to skip sid population on sys_lsetxattr call from
initramfs for rootfs if security server is not initialized yet.
Otherwise callback in selinux_inode_post_setxattr will try to
translate give security.selin
From: Mimi Zohar
-x option populates extended attributes in cpio_list file passed to
get_init_cpio and selects newcx CPIO format.
Signed-off-by: Mimi Zohar
Signed-off-by: Taras Kondratiuk
---
scripts/gen_initramfs_list.sh | 13 -
usr/Kconfig | 11 +++
usr
From: Mimi Zohar
-x option populates extended attributes in cpio_list file passed to
get_init_cpio and selects newcx CPIO format.
Signed-off-by: Mimi Zohar
Signed-off-by: Taras Kondratiuk
---
scripts/gen_initramfs_list.sh | 13 -
usr/Kconfig | 11 +++
usr
Many of the Linux security/integrity features are dependent on file
metadata, stored as extended attributes (xattrs), for making decisions.
These features need to be initialized during initcall and enabled as
early as possible for complete security coverage.
Initramfs (tmpfs) supports xattrs, but
From: Victor Kamensky
initramfs code supporting extended cpio format have ability to
fill extended attributes from cpio archive, but if SELinux enabled
and security server is not initialized yet, selinux callback would
refuse setxattr made by initramfs code.
Solution enable SBLABEL_MNT on rootfs
> Am 16.02.2018 um 19:56 schrieb Markus Heiser :
>
>
>> Am 01.10.2017 um 20:33 schrieb Randy Dunlap :
>>
>> A different "problem" this time:
>>
>> Documentation/driver-api/basics.rst pulls in include/linux/kernel.h.
>> has kernel-doc notation for (among others) trace_printk()
>> and trace_put
> Am 01.10.2017 um 20:33 schrieb Randy Dunlap :
>
> A different "problem" this time:
>
> Documentation/driver-api/basics.rst pulls in include/linux/kernel.h.
> has kernel-doc notation for (among others) trace_printk()
> and trace_puts().
>
> Part of the text for trace_printk() says:
>
> * Not
I brushed up the implementation in this version.
In the previous RFC, CC_HAS_ was described by using 'option shell=',
like this:
config CC_HAS_STACKPROTECTOR
bool
option shell="$CC -Werror -fstack-protector -c -x c /dev/null"
After I thought a bit more, the following syntax is mo
To get an environment value, Kconfig needs to define a symbol using
"option env=" syntax. It is tedious to add a config entry for each
environment given that we need more environments such as 'CC', 'AS',
'srctree' etc. to evaluate the compiler capability in Kconfig.
Adding '$' to symbols is weird
On 02/16/2018 09:53 AM, Markus Heiser wrote:
>
>> Am 22.10.2017 um 21:42 schrieb Randy Dunlap :
>>
>> Hi,
>>
>> I'm trying to render the ascii-art in lib/textsearch.c "ARCHITECTURE" (block
>> diagram):
>
> Hi Randy,
>
> FYI: if you not have already been noticed, with Jon's patch [1] it should
> Am 22.10.2017 um 21:42 schrieb Randy Dunlap :
>
> Hi,
>
> I'm trying to render the ascii-art in lib/textsearch.c "ARCHITECTURE" (block
> diagram):
Hi Randy,
FYI: if you not have already been noticed, with Jon's patch [1] it should work.
[1] https://www.mail-archive.com/linux-doc@vger.kerne
On Fri, 16 Feb 2018 05:49:52 -0700
Jonathan Corbet wrote:
> On Thu, 15 Feb 2018 22:57:05 -0500
> Steven Rostedt wrote:
>
> > This document is out of date, and I rather have it updated before we
> > make it more "available" elsewhere.
>
> Imagine that, an out-of-date doc in the kernel :)
>
>
On Fri, 16 Feb 2018 17:07:26 +0800
"Du, Changbin" wrote:
> > This document is out of date, and I rather have it updated before we
> > make it more "available" elsewhere.
> >
> Got you. I plan to convert below docs. Are they out of date, too?
>
> events-msr.txt, events.txt, mmiotrace.txt, stm.
On Fri, Feb 16, 2018 at 10:08:28AM -0600, Christopher Lameter wrote:
> On Fri, 16 Feb 2018, Matthew Wilcox wrote:
> > I don't understand this response. I'm not suggesting mixing objects
> > of different sizes within the same page. The vast majority of slabs
> > use order-0 pages, a few use order-
> Am 16.02.2018 um 15:56 schrieb Jonathan Corbet :
>
> On Tue, 13 Feb 2018 13:31:46 +0200
> Mike Rapoport wrote:
>
>> When function description includes brackets after the function name as
>> suggested by Documentation/doc-guide/kernel-doc, the kernel-doc script
>> omits the function name from
> Am 16.02.2018 um 15:56 schrieb Mauro Carvalho Chehab
> :
>
> Em Fri, 16 Feb 2018 15:52:33 +0100
> Markus Heiser escreveu:
>
>>> Am 16.02.2018 um 14:48 schrieb Mauro Carvalho Chehab
>>> :
>>>
>>> The parser at kernel-doc rejects names with dots in the middle.
>>> Fix it, in order to support
On Fri, 16 Feb 2018, Matthew Wilcox wrote:
> On Fri, Feb 16, 2018 at 09:44:25AM -0600, Christopher Lameter wrote:
> > On Thu, 15 Feb 2018, Matthew Wilcox wrote:
> > > What I was proposing was an intermediate page allocator where slab would
> > > request 2MB for its own uses all at once, then alloc
On Fri, Feb 16, 2018 at 09:44:25AM -0600, Christopher Lameter wrote:
> On Thu, 15 Feb 2018, Matthew Wilcox wrote:
> > What I was proposing was an intermediate page allocator where slab would
> > request 2MB for its own uses all at once, then allocate pages from that to
> > individual slabs, so allo
On Thu, 15 Feb 2018, Matthew Wilcox wrote:
> > The inducing of releasing memory back is not there but you can run SLUB
> > with MAX_ORDER allocations by passing "slab_min_order=9" or so on bootup.
>
> This is subtly different from the idea that I had. If you set
> slub_min_order to 9, then slub w
On Thu, 15 Feb 2018, Matthew Wilcox wrote:
> On Thu, Feb 15, 2018 at 09:49:00AM -0600, Christopher Lameter wrote:
> > On Thu, 15 Feb 2018, Matthew Wilcox wrote:
> >
> > > What if ... on startup, slab allocated a MAX_ORDER page for itself.
> > > It would then satisfy its own page allocation request
On Thu, Feb 15, 2018 at 11:51:00PM +0800, Herbert Xu wrote:
> On Fri, Jan 26, 2018 at 08:15:28PM +0100, Corentin Labbe wrote:
> > Hello
> >
> > The current crypto_engine support only ahash and ablkcipher request.
> > My first patch which try to add skcipher was Nacked, it will add too many
> > fu
Em Fri, 16 Feb 2018 15:52:33 +0100
Markus Heiser escreveu:
> > Am 16.02.2018 um 14:48 schrieb Mauro Carvalho Chehab
> > :
> >
> > The parser at kernel-doc rejects names with dots in the middle.
> > Fix it, in order to support nested structs/unions.
> >
> > Tested-by: Jani Nikula
> > Signed-of
On Tue, 13 Feb 2018 13:31:46 +0200
Mike Rapoport wrote:
> When function description includes brackets after the function name as
> suggested by Documentation/doc-guide/kernel-doc, the kernel-doc script
> omits the function name from "Scanning doc for" report.
> Extending match for identifier name
> Am 16.02.2018 um 14:48 schrieb Mauro Carvalho Chehab
> :
>
> The parser at kernel-doc rejects names with dots in the middle.
> Fix it, in order to support nested structs/unions.
>
> Tested-by: Jani Nikula
> Signed-off-by: Mauro Carvalho Chehab
> ---
> scripts/kernel-doc | 2 +-
> 1 file chan
On Thu, 15 Feb 2018 20:03:14 -0500
Minghui Liu wrote:
> Delete reference to the kernel-mentors mailing list because the mailing list
> no longer exists
>
> Signed-off-by: Minghui Liu
It does indeed seem to have vanished. Applied, thanks.
jon
--
To unsubscribe from this list: send the line "
Em Wed, 14 Feb 2018 20:20:21 +0200
Jani Nikula escreveu:
> On Wed, 14 Feb 2018, Mauro Carvalho Chehab wrote:
> > There is a simple fix, though. Make inline comments to accept a dot:
> >
> > diff --git a/scripts/kernel-doc b/scripts/kernel-doc
> > index fee8952037b1..06d7f3f2c094 100755
> > --- a
The in-lined comments for channel.port doesn't follow the syntax
described at kernel-doc document, causing the following warning:
$ ./scripts/kernel-doc -none drivers/gpu/drm/i915/intel_dpio_phy.c
drivers/gpu/drm/i915/intel_dpio_phy.c:154: warning: Function parameter
or member 'ch
The parser at kernel-doc rejects names with dots in the middle.
Fix it, in order to support nested structs/unions.
Tested-by: Jani Nikula
Signed-off-by: Mauro Carvalho Chehab
---
scripts/kernel-doc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/kernel-doc b/scripts/
It helps to give some examples about how to use in-line
comments also when nested union/structs are present. So add it.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/doc-guide/kernel-doc.rst | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/Documentation
We want to give some examples about how to do in-line comments
for nested structs. So, move it to be after nested structs/unions
chapter.
The section content was not changed on this patch.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/doc-guide/kernel-doc.rst | 56 +
Without ending with a ";", kernel-doc doesn't recognize it
as an struct, and it fails to parse the example.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/doc-guide/kernel-doc.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/doc-guide/kernel-doc.rst
There's a missing */ at the end of Kernel docs example.
Even adding it, it will still produce 3 warnings:
example:33: warning: Function parameter or member 'bar' not described
in 'nested_foobar'
example:33: warning: Function parameter or member 'bar.st1' not
described in 'nested_
This series fix two bugs at kernel-doc.rst examples and add support
for in-line nested struct comments.
It also converts one documentation at intel_dpio_phy to use it,
in order to give a practical example about how to use it.
Mauro Carvalho Chehab (6):
doc-guide: kernel-doc: fix example for nes
On Thu, 15 Feb 2018 22:57:05 -0500
Steven Rostedt wrote:
> This document is out of date, and I rather have it updated before we
> make it more "available" elsewhere.
Imagine that, an out-of-date doc in the kernel :)
Seriously, though, I'd argue that (1) it's already highly available, and
(2) it
On Thu, Feb 15, 2018 at 10:57:05PM -0500, Steven Rostedt wrote:
> On Fri, 16 Feb 2018 11:12:18 +0800
> changbin...@intel.com wrote:
>
> > From: Changbin Du
> >
> > Signed-off-by: Changbin Du
> > ---
> > .../trace/{ftrace-design.txt => ftrace-design.rst} | 248
> > +++--
> > Do
76 matches
Mail list logo