Re: [RFC PATCH v2 7/7] sched/idle: update poll time when wakeup from idle

2017-09-01 Thread Yang Zhang
On 2017/8/29 20:46, Peter Zijlstra wrote: On Tue, Aug 29, 2017 at 11:46:41AM +, Yang Zhang wrote: In ttwu_do_wakeup, it will update avg_idle when wakeup from idle. Here we just reuse this logic to update the poll time. It may be a little late to update the poll in ttwu_do_wakeup, but the tes

Re: [RFC PATCH v2 0/7] x86/idle: add halt poll support

2017-09-01 Thread Yang Zhang
On 2017/9/1 14:58, Wanpeng Li wrote: 2017-09-01 14:44 GMT+08:00 Yang Zhang : On 2017/8/29 22:02, Wanpeng Li wrote: Here is the data we get when running benchmark netperf: 2. w/ patch: halt_poll_threshold=1 -- 15803.89 bits/s -- 159.5 %CPU halt_poll_threshold=2 --

Re: [PATCH] kernel-doc parser mishandles declarations split into lines

2017-09-01 Thread Markus Heiser
> Am 31.08.2017 um 00:38 schrieb Jonathan Corbet : > > On Fri, 16 Jun 2017 21:27:48 +0200 > Markus Heiser wrote: > >> Reported by Johannes Berg [1]. Problem here: function >> process_proto_type() concatenates the striped lines of declaration >> without any whitespace. A one-liner of:: >> >> s

Re: [PATCH 00/15] Improve DVB documentation and reduce its gap

2017-09-01 Thread Honza Petrouš
2017-09-01 1:46 GMT+02:00 Mauro Carvalho Chehab : > The DVB documentation was negligected for a long time, with > resulted on several gaps between the API description and its > documentation. > > I'm doing a new reading at the documentation. As result of it, > this series: > > - improves the introd

Re: [PATCH 00/15] Improve DVB documentation and reduce its gap

2017-09-01 Thread Mauro Carvalho Chehab
Em Fri, 1 Sep 2017 10:40:28 +0200 Honza Petrouš escreveu: > 2017-09-01 1:46 GMT+02:00 Mauro Carvalho Chehab : > > The DVB documentation was negligected for a long time, with > > resulted on several gaps between the API description and its > > documentation. > > > > I'm doing a new reading at the

Re: [PATCH 12/15] media: dmx.h: get rid of DMX_SET_SOURCE

2017-09-01 Thread Mauro Carvalho Chehab
Em Fri, 1 Sep 2017 08:28:20 +0200 Honza Petrouš escreveu: > 2017-09-01 1:46 GMT+02:00 Mauro Carvalho Chehab : > > No driver uses this ioctl, nor it is documented anywhere. > > > > So, get rid of it. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > > Documentation/media/dmx.h.rst.exception

Re: [PATCH 12/15] media: dmx.h: get rid of DMX_SET_SOURCE

2017-09-01 Thread Honza Petrouš
2017-09-01 11:37 GMT+02:00 Mauro Carvalho Chehab : > Em Fri, 1 Sep 2017 08:28:20 +0200 > Honza Petrouš escreveu: > >> 2017-09-01 1:46 GMT+02:00 Mauro Carvalho Chehab : >> > No driver uses this ioctl, nor it is documented anywhere. >> > >> > So, get rid of it. >> > >> > Signed-off-by: Mauro Carvalh

Re: [PATCH] Documentation/sphinx: fix kernel-doc decode for non-utf-8 locale

2017-09-01 Thread Markus Heiser
> Am 31.08.2017 um 21:43 schrieb Jonathan Corbet : > > On Thu, 31 Aug 2017 22:21:29 +0300 > Jani Nikula wrote: > >> On python3, Popen() universal_newlines=True converts the subprocess >> stdout to unicode text using a codec based on user preferences. Given >> LANG indicating ascii and utf-8 std

Re: [PATCH v6 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-09-01 Thread Hans Verkuil
On 29/08/17 15:17, Mauro Carvalho Chehab wrote: > Add a glossary of terms for V4L2, as several concepts are complex > enough to cause misunderstandings. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/media/uapi/v4l/glossary.rst | 150 > ++ > Documenta

Re: [PATCH 12/15] media: dmx.h: get rid of DMX_SET_SOURCE

2017-09-01 Thread Mauro Carvalho Chehab
Em Fri, 1 Sep 2017 11:53:11 +0200 Honza Petrouš escreveu: > 2017-09-01 11:37 GMT+02:00 Mauro Carvalho Chehab : > > Em Fri, 1 Sep 2017 08:28:20 +0200 > > Honza Petrouš escreveu: > > > >> 2017-09-01 1:46 GMT+02:00 Mauro Carvalho Chehab > >> : > >> > No driver uses this ioctl, nor it is docume

Re: [PATCH 12/15] media: dmx.h: get rid of DMX_SET_SOURCE

2017-09-01 Thread Honza Petrouš
2017-09-01 12:45 GMT+02:00 Mauro Carvalho Chehab : > Em Fri, 1 Sep 2017 11:53:11 +0200 > Honza Petrouš escreveu: > >> 2017-09-01 11:37 GMT+02:00 Mauro Carvalho Chehab : >> > Em Fri, 1 Sep 2017 08:28:20 +0200 >> > Honza Petrouš escreveu: >> > >> >> 2017-09-01 1:46 GMT+02:00 Mauro Carvalho Chehab

Re: [PATCH 12/15] media: dmx.h: get rid of DMX_SET_SOURCE

2017-09-01 Thread Mauro Carvalho Chehab
Em Fri, 1 Sep 2017 13:14:04 +0200 Honza Petrouš escreveu: > 2017-09-01 12:45 GMT+02:00 Mauro Carvalho Chehab : > > Em Fri, 1 Sep 2017 11:53:11 +0200 > > Honza Petrouš escreveu: > > > >> 2017-09-01 11:37 GMT+02:00 Mauro Carvalho Chehab > >> : > >> > Em Fri, 1 Sep 2017 08:28:20 +0200 > >> > H

[PATCH v2 05/27] media: dvb/intro: update the history part of the document

2017-09-01 Thread Mauro Carvalho Chehab
Convergence doesn't exist anymore. The community itself maintains the spec. Update accordingly. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/intro.rst | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Documentation/media/uapi/dvb/intro

[PATCH v2 01/27] media: ca.h: split typedefs from structs

2017-09-01 Thread Mauro Carvalho Chehab
Using typedefs inside the Kernel is against CodingStyle, and there's no good usage here. Just like we did at frontend.h, at changeset 0df289a209e0 ("[media] dvb: Get rid of typedev usage for enums"), let's keep those typedefs only to provide userspace backward compatibility. No functional changes

[PATCH v2 19/27] media: ca.h: document most CA data types

2017-09-01 Thread Mauro Carvalho Chehab
For most of the stuff there, documenting is easy, as the header file contains information. Yet, I was unable to document two data structs: ca_msg and ca_descr As those two structs are used by a few drivers, keep them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dv

[PATCH v2 26/27] media: dvb rst: identify the documentation gap at the API

2017-09-01 Thread Mauro Carvalho Chehab
Now that DVB spec is almost in sync, document what's missing. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca.rst | 5 + Documentation/media/uapi/dvb/legacy_dvb_apis.rst | 5 + 2 files changed, 10 insertions(+) diff --git a/Documentation/media/uapi/

[PATCH v2 20/27] media: dst_ca: return a proper error code from CA errors

2017-09-01 Thread Mauro Carvalho Chehab
Right now, on several places, the driver is returning a "-1" error to userspace, instead of a proper error code. Fix it. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/bt8xx/dst_ca.c | 41 +--- 1 file changed, 22 insertions(+), 19 deletions(-) di

[PATCH v2 09/27] media: dvb frontend docs: use kernel-doc documentation

2017-09-01 Thread Mauro Carvalho Chehab
Now that frontend.h contains most documentation for the frontend, remove the duplicated information from Documentation/ and use the kernel-doc auto-generated one instead. That should simplify maintainership of DVB frontend uAPI, as most of the documentation will stick with the header file. Signed

[PATCH v2 22/27] media: ca-get-cap.rst: document this ioctl

2017-09-01 Thread Mauro Carvalho Chehab
Instead of a generic boilerplate, fill it with relevant information about this ioctl. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-get-cap.rst | 36 - 1 file changed, 5 insertions(+), 31 deletions(-) diff --git a/Documentation/media/uapi/d

[PATCH v2 25/27] media: dvb CA docs: place undocumented data together with ioctls

2017-09-01 Thread Mauro Carvalho Chehab
Right now, the same undocumented structs are on two places: at ca_data_types.rst and together with their ioctls. Move them to just one place and use the standard way to represent them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-get-msg.rst| 38 ++---

[PATCH v2 13/27] media: dmx.h: get rid of DMX_GET_CAPS

2017-09-01 Thread Mauro Carvalho Chehab
There's no driver currently using it; it is also not documented about what it would be supposed to do. So, get rid of it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/dmx.h.rst.exceptions | 1 - Documentation/media/uapi/dvb/dmx-get-caps.rst | 41 ---

[PATCH v2 24/27] media: ca-get-descr-info.rst: document this ioctl

2017-09-01 Thread Mauro Carvalho Chehab
Instead of a generic boilerplate, fill it with relevant information about this ioctl. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-get-descr-info.rst | 29 +++--- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/Documentation/media/uapi/d

[PATCH v2 00/26] Improve DVB documentation and reduce its gap

2017-09-01 Thread Mauro Carvalho Chehab
The DVB documentation was negligected for a long time, with resulted on several gaps between the API description and its documentation. I'm doing a new reading at the documentation. As result of it, this series: - improves the introductory chapter, making it more generic; - Do some adjustments at

[PATCH v2 04/27] media: dvb/intro: update references for TV standards

2017-09-01 Thread Mauro Carvalho Chehab
The references there are only for DVB. Add missing references for ATSC and ISDB standards. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/intro.rst | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/media/uapi/dvb/intro.rst b/Docume

[PATCH v2 07/27] media: dvb/frontend.h: move out a private internal structure

2017-09-01 Thread Mauro Carvalho Chehab
struct dtv_cmds_h is just an ancillary struct used by the dvb_frontend.c to internally store frontend commands. It doesn't belong to the userspace header, nor it is used anywhere, except inside the DVB core. So, remove it from the header. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/d

[PATCH v2 08/27] media: dvb/frontend.h: document the uAPI file

2017-09-01 Thread Mauro Carvalho Chehab
Most of the stuff at the Digital TV frontend header file are documented only at the Documentation. However, a few kernel-doc markups are there, several of them with parsing issues. Add the missing documentation, copying definitions from the Documentation when it applies, fixing some bugs. Please

[PATCH v2 14/27] media: dmx.h: get rid of DMX_SET_SOURCE

2017-09-01 Thread Mauro Carvalho Chehab
No driver uses this ioctl, nor it is documented anywhere. So, get rid of it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/dmx.h.rst.exceptions| 13 Documentation/media/uapi/dvb/dmx-set-source.rst | 44 - Documentation/media/uapi/dvb/dmx_f

[PATCH v2 18/27] media: ca.h: get rid of CA_SET_PID

2017-09-01 Thread Mauro Carvalho Chehab
This ioctl seems to be some attempt to support a feature at the bt8xx dst_ca driver. Yet, as said there, it "needs more work". Right now, the code there is just a boilerplate. At the end of the day, no driver uses this ioctl, nor it is documented anywhere (except for "needs more work"). So, get r

[PATCH v2 06/27] media: dvb/intro: adjust the notices about optional hardware

2017-09-01 Thread Mauro Carvalho Chehab
Both CA and decoders are optional. Also, the presence or absence has nothing to do on being a PCI card or not. Nowadays, most hardware leaves the decoders to either the GPU or to some ISP inside the SoC, instead of implementing it inside the Digital TV part of the device. So, change the wording t

[PATCH v2 23/27] media: ca-get-slot-info.rst: document this ioctl

2017-09-01 Thread Mauro Carvalho Chehab
Instead of a generic boilerplate, fill it with relevant information about this ioctl. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-get-slot-info.rst | 98 +++ 1 file changed, 11 insertions(+), 87 deletions(-) diff --git a/Documentation/media/uapi/

[PATCH v2 10/27] media: fe_property_parameters.rst: better define properties usage

2017-09-01 Thread Mauro Carvalho Chehab
Several frontend properties are specific to a subset of the delivery systems. Make it clearer when describing each property. Signed-off-by: Mauro Carvalho Chehab --- .../media/uapi/dvb/fe_property_parameters.rst | 82 -- 1 file changed, 75 insertions(+), 7 deletions(-)

[PATCH v2 02/27] media: dmx.h: split typedefs from structs

2017-09-01 Thread Mauro Carvalho Chehab
Using typedefs inside the Kernel is against CodingStyle, and there's no good usage here. Just like we did at frontend.h, at changeset 0df289a209e0 ("[media] dvb: Get rid of typedev usage for enums"), let's keep those typedefs only to provide userspace backward compatibility. No functional changes

[PATCH v2 11/27] media: fe_property_parameters.rst: better document bandwidth

2017-09-01 Thread Mauro Carvalho Chehab
Use a table to document the supported bandwidths. That makes it clearer to readers. Signed-off-by: Mauro Carvalho Chehab --- .../media/uapi/dvb/fe_property_parameters.rst | 44 +- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/Documentation/media/uapi/dv

[PATCH v2 16/27] media: dmx.h: add kernel-doc markups and use it at Documentation/

2017-09-01 Thread Mauro Carvalho Chehab
The demux documentation is pretty poor nowadays: most of the structs and enums aren't documented at all. Add proper kernel-doc markups for them and use it. Now, the demux API is fully documented :-) Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/dmx.h.rst.exceptions | 5 + Do

[PATCH v2 12/27] media: dmx.h: get rid of unused DMX_KERNEL_CLIENT

2017-09-01 Thread Mauro Carvalho Chehab
There's a flag defined for Digital TV demux that is not used anywhere, called DMX_KERNEL_CLIENT. Get rid of it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/dmx.h.rst.exceptions | 1 - Documentation/media/uapi/dvb/dmx_types.rst | 1 - include/uapi/linux/dvb/dmx.h

[PATCH v2 17/27] media: net.rst: Fix the level of a section of the net chapter

2017-09-01 Thread Mauro Carvalho Chehab
Due to a mistake, the DVB net chapter was actually broken into two different chapters. Fix it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/net.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/media/uapi/dvb/net.rst b/Documentation/media/uapi/dvb/net

[PATCH v2 15/27] media: dmx.h: get rid of GET_DMX_EVENT

2017-09-01 Thread Mauro Carvalho Chehab
This seems to be a pure fictional API :-) It only exists at the DVB book, with no code implemeting it. So, just get rid of it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dmx-get-event.rst | 60 -- Documentation/media/uapi/dvb/dmx_fcalls.rst

[PATCH v2 27/27] media: dst_ca: remove CA_SET_DESCR boilerplate

2017-09-01 Thread Mauro Carvalho Chehab
This ioctl is not implemented at dst_ca driver. There's just a boilerplate code there. Remove it, as it is unlikely that anyone would implement it those days. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/bt8xx/dst_ca.c | 17 - 1 file changed, 17 deletions(-) diff -

[PATCH v2 21/27] media: ca-reset.rst: add some description to this ioctl

2017-09-01 Thread Mauro Carvalho Chehab
While we don't have any documentation for it, based on what's there at Kaffeine and VDR, it seems that this command should be issued before start using CA. So, document it as such. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-reset.rst | 3 ++- 1 file changed, 2 inser

[PATCH v2 03/27] media: dvb/intro: use the term Digital TV to refer to the system

2017-09-01 Thread Mauro Carvalho Chehab
On several places at the introduction, a digital TV board and its kernel support is called as DVB. The reason is simple: by the time the document was written, there were no other digital TV standards :-) Modernize the specs by referring to them as Digital TV. Signed-off-by: Mauro Carvalho Chehab

[PATCH 05/14] media: ca-fopen.rst: Fixes the device node name for CA

2017-09-01 Thread Mauro Carvalho Chehab
The device node name for CA is wrong since ever. I suspect that the name there was before DVBv3 (with was the first API introduced at the Kernel). Anyway, use the right name there. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-fopen.rst | 4 ++-- 1 file changed, 2 ins

[PATCH 08/14] media: dvb-frontend-parameters.rst: fix the name of a struct

2017-09-01 Thread Mauro Carvalho Chehab
The struct that contains an union of DVB parameters is called dvb_frontend_parameters (and not FrontendParameters). Fix it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dvb-frontend-parameters.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docum

[PATCH 07/14] media: dmx-fread.rst: specify how DMX_CHECK_CRC works

2017-09-01 Thread Mauro Carvalho Chehab
In the past, the documentation used to say that, if a CRC error was found, a "-ECRC" error would be returned. That's not true: the DVB core will just silently ignore such errors. So, add an explicit note about that. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dmx-fread

[PATCH 02/14] media: gen-errors.rst: remove row number comments

2017-09-01 Thread Mauro Carvalho Chehab
Those are introduced by the conversion scripts and don't really help. Get rid of them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/gen-errors.rst | 44 + 1 file changed, 11 insertions(+), 33 deletions(-) diff --git a/Documentation/media/uapi

[PATCH 12/14] media: dvbstb.svg: use dots for the optional parts of the hardware

2017-09-01 Thread Mauro Carvalho Chehab
The hardware description mentions that some parts are optional. Make it clearer at the drawing. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dvbstb.svg | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/Documentation/med

[PATCH 03/14] media: gen-errors.rst: document ENXIO error code

2017-09-01 Thread Mauro Carvalho Chehab
This error can be produced at least at the DVB subsystem. As it is generic enough, document it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/gen-errors.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/media/uapi/gen-errors.rst b/Documentation/medi

[PATCH 10/14] media: dvb uAPI docs: minor editorial changes

2017-09-01 Thread Mauro Carvalho Chehab
Do minor editorial changes to improve documentation readability: - mark literals as such; - add table markups to hint sizes; - define what PES means; - instead of hardcoding devnode numbers to zero (like adapter0/) use a question mark, to indicate that multiple devnodes may exist; - add cross-re

[PATCH 06/14] media: dvb uAPI docs: Prefer use "Digital TV instead of "DVB"

2017-09-01 Thread Mauro Carvalho Chehab
The usage of the term "DVB" at the dvb API docs is confusing, as, right now, it can refer to either the European digital TV standard or to the subsystem. So, prefer calling it as "Digital TV" on most places, to avoid ambiguity. Signed-off-by: Mauro Carvalho Chehab --- .../media/uapi/dvb/audio-c

[PATCH 04/14] media: dvb uAPI docs: adjust return value ioctl descriptions

2017-09-01 Thread Mauro Carvalho Chehab
There are several issues on the return value for ioctls: - Text is confusing; - Some error codes don't exist; - The non-generic error codes should come before the text that points to the generic error codes; - Tables don't contain column size hints; - Some references are not marked as such. Cor

[PATCH 14/14] media: frontend.h: Avoid the term DVB when doesn't refer to a delivery system

2017-09-01 Thread Mauro Carvalho Chehab
The DVB term can either refer to the subsystem or to a delivery system. Avoid it in the first case at the kernel-doc markups. Signed-off-by: Mauro Carvalho Chehab --- include/uapi/linux/dvb/frontend.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/linux/dv

[PATCH 01/14] media: dvb uapi docs: better organize header files

2017-09-01 Thread Mauro Carvalho Chehab
Instead of having one chapter per file, place all of them at the same chapter. That better organize the chapters at the uAPI documentation. As a side effect, now all uAPI headers are at the same page, at the html output, with makes easier to use it as a reference index for the spec. Signed-off-by

[PATCH 13/14] media: intro.rst: don't assume audio and video codecs to be MPEG2

2017-09-01 Thread Mauro Carvalho Chehab
Originally, when DVB was introduced, all codecs would be part of MPEG2 standard. That's not true anymore, as there are a large number of codec standards used on digital TV nowadays. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/intro.rst | 9 - 1 file changed, 4 i

[PATCH 11/14] media: dmx-get-pes-pids.rst: document the ioctl

2017-09-01 Thread Mauro Carvalho Chehab
This ioctl is supported by the DVB core, but was never documented. Add a documentation for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dmx-get-pes-pids.rst | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/Documentation/med

[PATCH 09/14] media: dvbapi.rst: add an entry to DVB revision history

2017-09-01 Thread Mauro Carvalho Chehab
There are several missing items at the API history. Yet, as we're doing a significant change there, add a new entry. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dvbapi.rst | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/media/uapi

[PATCH 00/14] Another set of DVB documentation patches

2017-09-01 Thread Mauro Carvalho Chehab
This series should come after this series: [PATCH v2 00/26] Improve DVB documentation and reduce its gap (with actually has 27 patches :-p ) It adds documentation for a dmx.h ioctl (DMX_GET_PES_PIDS) and do a cleanup at the documentation, to make it more coherent with the other me

[PATCH] media: net.h: add kernel-doc and use it at Documentation/

2017-09-01 Thread Mauro Carvalho Chehab
As we did with frontend.h, ca.h and dmx.h, move the struct definition to net.h. That should help to keep it updated, as more stuff gets added there. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/net-add-if.rst | 34 - Documentation/media/uapi/

Re: [PATCH v2] fscrypt: add a documentation file for filesystem-level encryption

2017-09-01 Thread Michael Halcrow
On Thu, Aug 31, 2017 at 05:02:17PM -0700, Eric Biggers wrote: > From: Eric Biggers > > Perhaps long overdue, add a documentation file for filesystem-level > encryption, a.k.a. fscrypt or fs/crypto/, to the Documentation > directory. The new file is based loosely on the latest version of the > "E

Re: [PATCH v4 next 1/3] modules:capabilities: allow __request_module() to take a capability argument

2017-09-01 Thread Djalal Harouni
Hi Kees, On Thu, Jun 1, 2017 at 9:10 PM, Kees Cook wrote: > On Thu, Jun 1, 2017 at 7:56 AM, Djalal Harouni wrote: ... > >> BTW Kees, also in next version I won't remove the >> capable(CAP_NET_ADMIN) check from [1] >> even if there is the new request_module_cap(), I would like it to be >> in a di

[PATCH] Documentation: Standardize DTS examples to use status "okay", not "ok"

2017-09-01 Thread Robert P. J. Day
While the current kernel code in drivers/of/ allows developers to be sloppy and use a status value of "ok" in DTS files, the current DTSpec 0.1 makes it clear that the only acceptable spelling of that is "okay". There's quite a lot of this scattered throughout the kernel source, but this patch cle

[PATCH v2] Documentation: Standardize DTS examples to use status "okay", not "ok"

2017-09-01 Thread Robert P. J. Day
While the current kernel code in drivers/of/ allows developers to be sloppy and use a status value of "ok" in DTS files, the current DTSpec 0.1 makes it clear that the only acceptable spelling of that is "okay". There's quite a lot of this scattered throughout the kernel source, but this patch cle