On Mon, 2016-09-12 at 23:17 -0300, Mauro Carvalho Chehab wrote:
> - Fix all chapter identation;
> - add c blocks where needed;
Assuming this is really useful and people agree with simple
conversions of .txt to .rst (and it does have some use),
there are a couple funky conversions
if
- Convert document name to ReST;
- Convert footnotes;
- Convert sections to ReST format;
- Don't use _foo_, as Sphinx doesn't support underline. Instead,
use bold;
- While here, remove whitespaces at the end of lines.
Signed-off-by: Mauro Carvalho Chehab
---
- Change the document title markup to make it on a higher level;
- Add blank lines as needed, to improve the output;
- use italics for the country-code at kernel.org ftp URL.
Signed-off-by: Mauro Carvalho Chehab
---
.../development-process/SubmittingDrivers.rst |
- use the correct markup to identify each section;
- Add some blank lines for Sphinx to properly interpret
the markups;
- Remove a blank space on some paragraphs;
- Fix the verbatim and bold markups;
- Cleanup the remaining errors to make Sphinx happy.
Signed-off-by: Mauro Carvalho Chehab
Add markups for it to be properly parsed by Sphinx.
As people browsing this document may not notice that the source
file title is "stable_api_nonsense", I opted to use bold to
the rationale for this document. I also found it better to
add a note when it says that the nonsense applies only to the
- Fix chapter identation inconsistencies;
- Convert table to ReST format;
- use the right tag for bullets;
- Fix bold emphasis;
- mark blocks with :: tags;
- use verbatim font for files;
- make Sphinx happy
Signed-off-by: Mauro Carvalho Chehab
---
This document is on good shape: all it was needed was to
fix the section markups, add a toctree, convert the tables
and add a few code/quote blocks.
While not strictly required, I opted to use lowercase for
the titles, just like the other books that were converted
to Sphinx.
Signed-off-by: Mauro
- Change the sections to use ReST markup;
- Add cross-references where needed;
- convert aspas to verbatim text;
- use code block tags;
- make Sphinx happy.
Signed-off-by: Mauro Carvalho Chehab
---
.../development-process/SubmittingPatches.rst | 233
This document is almost compiant with ReST notation, but some
small adjustments are needed to make it parse properly by
Sphinx (mostly, add blank lines where needed).
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/development-process/HOWTO.rst | 53
Add an index and put it at Documentation/index.rst, in order
to allow building the Kernel develpment documentation on Sphinx.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/conf.py | 2 ++
Documentation/development-process/conf.py | 10
In preparation to convert the Kernel development documentation
to ReST, move them to a separate dir and rename their extension
to RST.
Please notice that the main README file was not moved. It
probably makes sense to move it too as well, in order to be
able to parse it via Sphinx, but this could
- use ReST markups for section headers;
- add cross-references to the options;
- mark code blocks;
- a few minor changes to make Sphinx happy.
Signed-off-by: Mauro Carvalho Chehab
---
.../development-process/stable_kernel_rules.rst| 101 ++---
1
Sphinx doesn't accept underline markups by purpose. While we might
hack it via CSS, this won't be portable with non-html outputs.
So, let's replace those by bold.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/development-process/CodingStyle.rst | 32
- Fix all chapter identation;
- add c blocks where needed;
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/development-process/CodingStyle.rst | 253 --
1 file changed, 187 insertions(+), 66 deletions(-)
diff --git
There are several documents related to Kernel development, where the
HOWTO working like an index to most of them. There are also a series
of files describing the development process.
Convert the documents mentioned at the HOWTO (including it) and the
development-process/ documents to ReST and add
Prepare conversion to ReST by renaming all files to .rst.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/development-process/{1.Intro => 1.Intro.rst}| 0
Documentation/development-process/{2.Process => 2.Process.rst}| 0
The other documents at kernel-development are all mentioned
by HOWTO. Convert those mention to cross-references.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/development-process/Changes.rst | 2 ++
Documentation/development-process/CodingStyle.rst
Instead of using "foo", use ``foo`` for the names that are
literal.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/development-process/CodingStyle.rst | 98 +++
1 file changed, 49 insertions(+), 49 deletions(-)
diff --git
Add a name for the document and convert the sections to
ReST markups.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/development-process/SecurityBugs.rst | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git
I just saved the new .rst file and tested it with rst2html and rst2pdf.
Conversion ran without Errors, Markup/Layout looks sensible to me.
Some nit-picking:
> +
> +BOOKS: (Not on-line)
> +
> +
> + * Title: **Linux Device Drivers**
> +
> + :Author: Alessandro Rubini.
On 2016-09-12 12:01 PM, Chris Metcalf wrote:
> The syscall test fails on x86:
>>
>> $ sudo ./isolation
>> [...]
>> test_syscall: FAIL (0x100)
>> test_syscall (SIGUSR1): FAIL (0x100)
>
> Your next email suggested adding TIF_TASK_ISOLATION to the set of
> flags in
On Monday, September 12, 2016 11:15:45 PM Rafael J. Wysocki wrote:
> On Monday, September 12, 2016 06:14:44 PM Peter Zijlstra wrote:
> > On Mon, Sep 12, 2016 at 12:01:58PM -0400, Chris Metcalf wrote:
> > > On 9/7/2016 5:11 PM, Francis Giraldeau wrote:
> > > >When running only the test_jitter(),
Hey Oleg!
Thanks for the feedback, I'll keep it in mind, but currently it looks
like the patch is on ice for non-implementation related reasons.
Rob.
@@ -2854,6 +2854,7 @@ static const struct pid_entry tgid_base_stuff[] = {
REG("clear_refs", S_IWUSR, proc_clear_refs_operations),
On Monday, September 12, 2016 06:14:44 PM Peter Zijlstra wrote:
> On Mon, Sep 12, 2016 at 12:01:58PM -0400, Chris Metcalf wrote:
> > On 9/7/2016 5:11 PM, Francis Giraldeau wrote:
> > >When running only the test_jitter(), the isolation mode is lost:
> > >
> > > [ 6741.566048] isolation/9515:
On 9/12/2016 1:41 PM, Andy Lutomirski wrote:
On Sep 9, 2016 1:40 PM, "Chris Metcalf" wrote:
On 9/2/2016 1:28 PM, Andy Lutomirski wrote:
On Sep 2, 2016 7:04 AM, "Chris Metcalf" wrote:
On 8/30/2016 3:50 PM, Andy Lutomirski wrote:
On Tue, Aug 30,
Em Mon, 12 Sep 2016 10:40:41 -0600
Jonathan Corbet escreveu:
> On Mon, 12 Sep 2016 11:47:51 -0300
> Mauro Carvalho Chehab wrote:
>
> > There are several documents related to Kernel development, where the
> > HOWTO working like an index to most of them.
On Mon, Aug 22, 2016 at 05:39:08PM -0500, Tom Lendacky wrote:
> This patch adds the support to check if SME has been enabled and if the
> mem_encrypt=on command line option is set. If both of these conditions
> are true, then the encryption mask is set and the kernel is encrypted
> "in place."
>
On 9/7/2016 5:11 PM, Francis Giraldeau wrote:
On 2016-08-29 12:27 PM, Chris Metcalf wrote:
On 8/16/2016 5:19 PM, Chris Metcalf wrote:
Here is a respin of the task-isolation patch set.
No concerns have been raised yet with the v15 version of the patch series
in the two weeks since I posted it,
On Mon, Sep 12, 2016 at 10:15 AM, Michal Hocko wrote:
> On Mon 12-09-16 08:31:36, Sonny Rao wrote:
>> On Mon, Sep 12, 2016 at 5:02 AM, Michal Hocko wrote:
>> > On Mon 05-09-16 16:14:06, robert.f...@collabora.com wrote:
>> >> From: Robert Foss
On Mon 12-09-16 08:31:36, Sonny Rao wrote:
> On Mon, Sep 12, 2016 at 5:02 AM, Michal Hocko wrote:
> > On Mon 05-09-16 16:14:06, robert.f...@collabora.com wrote:
> >> From: Robert Foss
> >>
> >> This series provides the /proc/PID/totmaps feature,
On Mon, Aug 22, 2016 at 05:38:59PM -0500, Tom Lendacky wrote:
> Since the setup data is in memory in the clear, it must be accessed as
> un-encrypted. Always use ioremap (similar to sysfs setup data support)
> to map the data.
>
> Signed-off-by: Tom Lendacky
> ---
>
On Aug 22, 2016 6:53 PM, "Tom Lendacky" wrote:
>
> BOOT data (such as EFI related data) is not encyrpted when the system is
> booted and needs to be accessed as non-encrypted. Add support to the
> early_memremap API to identify the type of data being accessed so that
>
On Mon, Aug 22, 2016 at 05:38:29PM -0500, Tom Lendacky wrote:
> Add support to check if memory encryption is active in the kernel and that
> it has been enabled on the AP. If memory encryption is active in the kernel
A small nit: let's write out "AP" the first time at least: "... on the
On Mon, Sep 12, 2016 at 10:41:29AM -0500, Tom Lendacky wrote:
> Looking at __change_page_attr_set_clr() isn't it possible for some of
> the pages to be changed before an error is encountered since it is
> looping? If so, we may still need to flush. The CPA_FLUSHTLB flag
> should take care of a
On Mon, 12 Sep 2016 11:47:51 -0300
Mauro Carvalho Chehab wrote:
> There are several documents related to Kernel development, where the
> HOWTO working like an index to most of them.
>
> Convert the documents mentioned at HOWTO (including it) to ReST and add them
> at
On Mon, Sep 12, 2016 at 10:14:59AM -0500, Tom Lendacky wrote:
> I did run checkpatch against everything, but was always under the
> assumption that I shouldn't change existing warnings/errors like this.
> If it's considered ok since I'm touching that line of code then I'll
> take care of those
On Mon, Sep 12, 2016 at 10:05:36AM -0500, Tom Lendacky wrote:
> I can look into that. The reason I put this here is this is all the
> early page fault support that is very specific to this file. I modified
> an existing static function to take advantage of the mapping support.
Yeah, but all this
With ReST conversion, the media subsystem documentation is now
located on different directories.
Update them.
Suggested-by: Joe Perches
Cc: LKML
Cc: linux-doc
Cc: Jonathan Corbet
Signed-off-by: Mauro
On Mon, Sep 12, 2016 at 5:02 AM, Michal Hocko wrote:
> On Mon 05-09-16 16:14:06, robert.f...@collabora.com wrote:
>> From: Robert Foss
>>
>> This series provides the /proc/PID/totmaps feature, which
>> summarizes the information provided by
On 09/09/2016 12:23 PM, Borislav Petkov wrote:
> On Mon, Aug 22, 2016 at 05:37:49PM -0500, Tom Lendacky wrote:
>> This patch adds support to be change the memory encryption attribute for
>> one or more memory pages.
>>
>> Signed-off-by: Tom Lendacky
>> ---
>>
On 09/09/2016 11:38 AM, Borislav Petkov wrote:
> On Mon, Aug 22, 2016 at 05:37:38PM -0500, Tom Lendacky wrote:
>> BOOT data (such as EFI related data) is not encyrpted when the system is
>> booted and needs to be accessed as non-encrypted. Add support to the
>> early_memremap API to identify the
On 09/09/2016 10:53 AM, Borislav Petkov wrote:
> On Mon, Aug 22, 2016 at 05:37:23PM -0500, Tom Lendacky wrote:
>> Encrypt memory areas in place when possible (e.g. zero page, etc.) so
>> that special handling isn't needed afterwards.
>>
>> Signed-off-by: Tom Lendacky
>>
Add markups for it to be properly parsed by Sphinx.
As people browsing this document may not notice that the source
file title is "stable_api_nonsense", I opted to use bold to
the rationale for this document. I also found it better to
add a note when it says that the nonsense applies only to the
- use ReST markups for section headers;
- add cross-references to the options;
- mark code blocks;
- a few minor changes to make Sphinx happy.
Signed-off-by: Mauro Carvalho Chehab
---
.../kernel-development/stable_kernel_rules.rst | 101 ++---
1
- Convert document name to ReST;
- Convert footnotes;
- Convert sections to ReST format;
- Don't use _foo_, as Sphinx doesn't support underline. Instead,
use bold;
- While here, remove whitespaces at the end of lines.
Signed-off-by: Mauro Carvalho Chehab
---
Add a name for the document and convert the sections to
ReST markups.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/kernel-development/SecurityBugs.rst | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git
There are several documents related to Kernel development, where the
HOWTO working like an index to most of them.
Convert the documents mentioned at HOWTO (including it) to ReST and add them
at the Sphinx build.
NOTE: HOWTO also mentions the /README document on it. While IMHO it makes
sense to
- use the correct markup to identify each section;
- Add some blank lines for Sphinx to properly interpret
the markups;
- Remove a blank space on some paragraphs;
- Fix the verbatim and bold markups;
- Cleanup the remaining errors to make Sphinx happy.
Signed-off-by: Mauro Carvalho Chehab
This document is almost compiant with ReST notation, but some
small adjustments are needed to make it parse properly by
Sphinx (mostly, add blank lines where needed).
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/kernel-development/HOWTO.rst | 53
- Change the document title markup to make it on a higher level;
- Add blank lines as needed, to improve the output;
- use italics for the country-code at kernel.org ftp URL.
Signed-off-by: Mauro Carvalho Chehab
---
.../kernel-development/SubmittingDrivers.rst |
- Fix chapter identation inconsistencies;
- Convert table to ReST format;
- use the right tag for bullets;
- Fix bold emphasis;
- mark blocks with :: tags;
- use verbatim font for files;
- make Sphinx happy
Signed-off-by: Mauro Carvalho Chehab
---
Instead of using "foo", use ``foo`` for the names that are
literal.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/kernel-development/CodingStyle.rst | 98
1 file changed, 49 insertions(+), 49 deletions(-)
diff --git
- Fix all chapter identation;
- add c blocks where needed;
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/kernel-development/CodingStyle.rst | 253 +--
1 file changed, 187 insertions(+), 66 deletions(-)
diff --git
This one required lots of manual work, for it to be properly
displayed.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/kernel-development/kernel-docs.rst | 1514 +++---
1 file changed, 786 insertions(+), 728 deletions(-)
diff --git
Sphinx doesn't accept underline markups by purpose. While we might
hack it via CSS, this won't be portable with non-html outputs.
So, let's replace those by bold.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/kernel-development/CodingStyle.rst | 32
Add an index and put it at Documentation/index.rst, in order
to allow building the Kernel develpment documentation on Sphinx.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/index.rst| 1 +
Documentation/kernel-development/index.rst | 29
On Mon, Aug 22, 2016 at 05:38:49PM -0500, Tom Lendacky wrote:
> Update the KVM support to include the memory encryption mask when creating
> and using nested page tables.
>
> Signed-off-by: Tom Lendacky
> ---
> arch/x86/include/asm/kvm_host.h |3 ++-
>
On 09/08/2016 08:55 AM, Borislav Petkov wrote:
> On Thu, Sep 08, 2016 at 08:26:27AM -0500, Tom Lendacky wrote:
>> When does this value get initialized? Since _PAGE_ENC is #defined to
>> sme_me_mask, which is not set until the boot process begins, I'm afraid
>> we'd end up using the initial value
On Mon, Aug 22, 2016 at 05:38:20PM -0500, Tom Lendacky wrote:
> Add support to the AMD IOMMU driver to set the memory encryption mask if
> memory encryption is enabled.
>
> Signed-off-by: Tom Lendacky
> ---
> arch/x86/include/asm/mem_encrypt.h |2 ++
>
On Mon, Aug 22, 2016 at 05:38:07PM -0500, Tom Lendacky wrote:
> Since DMA addresses will effectively look like 48-bit addresses when the
> memory encryption mask is set, SWIOTLB is needed if the DMA mask of the
> device performing the DMA does not support 48-bits. SWIOTLB will be
> initialized to
60 matches
Mail list logo