Re: [PATCH] doc:it_IT: add translations in process/

2019-01-20 Thread Jonathan Corbet
On Sat, 19 Jan 2019 23:13:41 +0100 Federico Vaga wrote: > This patch adds the Italian translation for the following documents > in Documentation/process: > > - applying-patches > - submit-checklist > - submitting-drivers > - changes > - stable api nonsense > > Signed-off-by: Federico Vaga In

Re: [PATCH] doc:it_IT: documentation alignment

2019-01-20 Thread Jonathan Corbet
On Sat, 19 Jan 2019 23:14:22 +0100 Federico Vaga wrote: > It aligns the italian translation with the latest changes: > > ae67ee6c5e1d docs: fix Co-Developed-by docs > 3fe5dbfef47e Documentation/process/coding-style.rst: don't use "extern" with > function prototypes > > Signed-off-by: Federico

Re: [PATCH] doc:process: remove note from 'stable api nonsense'

2019-01-20 Thread Jonathan Corbet
On Fri, 18 Jan 2019 22:58:04 +0100 Federico Vaga wrote: > The link referred by the note can't be retrieved: this patch just > remove that old note. > > Signed-off-by: Federico Vaga > --- > Documentation/process/stable-api-nonsense.rst | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >

[RESEND PATCH V8 07/11] KVM: Add support for byte granular memory ROE

2019-01-20 Thread Ahmed Abd El Mawgood
This patch documents and implements ROE_MPROTECT_CHUNK, a part of ROE hypercall designed to protect regions of a memory page with byte granularity. This feature provides a key primitive to protect against attacks involving pages remapping. Signed-off-by: Ahmed Abd El Mawgood --- include/linux/kv

[RESEND PATCH V8 08/11] KVM: X86: Port ROE_MPROTECT_CHUNK to x86

2019-01-20 Thread Ahmed Abd El Mawgood
Apply d->memslot->partial_roe_bitmap to shadow page table entries too. Signed-off-by: Ahmed Abd El Mawgood --- arch/x86/kvm/roe.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/roe.c b/arch/x86/kvm/roe.c index f787106be8..700f69823b 100644 --- a/arch/x86/kvm

Re: [PATCH v2 1/1] doc: networking: integrate scaling document into doc tree

2019-01-20 Thread Otto Sabart
On 20. Jan (Sunday) v 19:13:59 -0700 2019, Jonathan Corbet wrote: > On Fri, 18 Jan 2019 21:38:32 +0100 > Otto Sabart wrote: > > > Convert scaling document into reStructuredText and add reference to > > scaling document into main table of contents in network documentation. > > > > There are no se

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-20 Thread Sandeep Patil
On Sun, Jan 20, 2019 at 06:49:56PM -0800, h...@zytor.com wrote: > On January 20, 2019 5:45:53 PM PST, Joel Fernandes > wrote: > >On Sun, Jan 20, 2019 at 01:58:15PM -0800, h...@zytor.com wrote: > >> On January 20, 2019 8:10:03 AM PST, Joel Fernandes > > wrote: > >> >On Sat, Jan 19, 2019 at 11:01:1

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-20 Thread Joel Fernandes
On Sun, Jan 20, 2019 at 01:58:15PM -0800, h...@zytor.com wrote: > On January 20, 2019 8:10:03 AM PST, Joel Fernandes > wrote: > >On Sat, Jan 19, 2019 at 11:01:13PM -0800, h...@zytor.com wrote: > >> On January 19, 2019 2:36:06 AM PST, Greg KH > > wrote: > >> >On Sat, Jan 19, 2019 at 02:28:00AM -08

[RESEND PATCH V8 09/11] KVM: Add new exit reason For ROE violations

2019-01-20 Thread Ahmed Abd El Mawgood
The problem is that qemu will not be able to detect ROE violations, so one option would be create host API to tell if a given page is ROE protected, or create ROE violation exit reason. Signed-off-by: Ahmed Abd El Mawgood --- arch/x86/kvm/x86.c | 10 +- include/kvm/roe.h| 1

[RESEND PATCH V8 06/11] KVM: X86: Enable ROE for x86

2019-01-20 Thread Ahmed Abd El Mawgood
This patch implements kvm_roe_arch_commit_protection and kvm_roe_arch_is_userspace for x86, and invoke kvm_roe via the appropriate vmcall. Signed-off-by: Ahmed Abd El Mawgood --- arch/x86/include/asm/kvm_host.h | 2 +- arch/x86/kvm/Makefile | 4 +- arch/x86/kvm/mmu.c |

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-20 Thread Joel Fernandes
On Sat, Jan 19, 2019 at 11:01:13PM -0800, h...@zytor.com wrote: > On January 19, 2019 2:36:06 AM PST, Greg KH > wrote: > >On Sat, Jan 19, 2019 at 02:28:00AM -0800, Christoph Hellwig wrote: > >> This seems like a pretty horrible idea and waste of kernel memory. > > > >It's only a waste if you want

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-20 Thread Joel Fernandes
On Sat, Jan 19, 2019 at 03:44:48PM -0800, h...@zytor.com wrote: > On January 19, 2019 3:25:03 PM PST, Joel Fernandes > wrote: > >On Sat, Jan 19, 2019 at 12:43:35PM -0500, Daniel Colascione wrote: > >> On Sat, Jan 19, 2019 at 11:27 AM Joel Fernandes > > wrote: > >> > > >> > On Sat, Jan 19, 2019 at

[PATCH 3/3] docs/core-api/mm: fix return value descriptions in mm/

2019-01-20 Thread Mike Rapoport
Many kernel-doc comments in mm/ have the return value descriptions either misformatted or omitted at all which makes kernel-doc script unhappy: $ make V=1 htmldocs ... ./mm/util.c:36: info: Scanning doc for kstrdup ./mm/util.c:41: warning: No description found for return value of 'kstrdup' ./mm/ut

[PATCH 2/3] docs/core-api/mm: fix user memory accessors formatting

2019-01-20 Thread Mike Rapoport
The descriptions of userspace memory access functions had minor issues with formatting that made kernel-doc unable to properly detect the function/macro names and the return value sections: ./arch/x86/include/asm/uaccess.h:80: info: Scanning doc for ./arch/x86/include/asm/uaccess.h:139: info: Scan

[PATCH 0/3] docs/core-api/mm: fix return value descriptions

2019-01-20 Thread Mike Rapoport
Many kernel-doc comments referenced by Documentation/core-api/mm-api.rst have the return value descriptions misformatted or lack it completely. This makes kernel-doc script unhappy and produces more than 100 warnings when running make htmldocs V=1 These patches fix the formatting of pres

[PATCH 1/3] docs/mm: vmalloc: re-indent kernel-doc comemnts

2019-01-20 Thread Mike Rapoport
Some kernel-doc comments in mm/vmalloc.c have leading tab in indentation. This leads to excessive indentation in the generated HTML and to the inconsistency of its layout [1]. Besides, multi-line Note: sections are not handled properly. [1] https://www.kernel.org/doc/html/latest/core-api/mm-api.

[PATCH] doc:process: add missing internal link in stable-kernel-rules

2019-01-20 Thread Federico Vaga
Keep consistent the document. In the document, option references are always linked, except for the one I fixed with this patch Signed-off-by: Federico Vaga --- Documentation/process/stable-kernel-rules.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/pr

Re: [PATCH v5] coding-style: Clarify the expectations around bool

2019-01-20 Thread Federico Vaga
On 2019-01-18 23:50, Jason Gunthorpe wrote: There has been some confusion since checkpatch started warning about bool use in structures, and people have been avoiding using it. Many people feel there is still a legitimate place for bool in structures, so provide some guidance on bool usage der