Re: [PATCH V5 0/5] KVM: X86: Introducing ROE Protection Kernel Hardening

2018-10-28 Thread Ingo Molnar
* Ahmed Abd El Mawgood wrote: > This is the 5th version which is 4th version with minor fixes. ROE is a > hypercall that enables host operating system to restrict guest's access to its > own memory. This will provide a hardening mechanism that can be used to stop > rootkits from manipulating k

[PATCH V3 3/5] misc/pvpanic: add MMIO support

2018-10-28 Thread Peng Hao
On some architectures (e.g. arm64), it's preferable to use MMIO, since this can be used standalone. Add MMIO support to the pvpanic driver. Signed-off-by: Peng Hao --- drivers/misc/pvpanic.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/drivers/misc/pvpa

[PATCH 5/5] dt-bindings/misc/pvpanic :add document for pvpanic-mmio

2018-10-28 Thread Peng Hao
Add dt-bindings document for "qemu:pvpanic-mmio". Signed-off-by: Peng Hao --- .../devicetree/bindings/misc/pvpanic-mmio.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/pvpanic-mmio.txt diff --git a/Documentation/d

[PATCH V3 2/5] misc/pvpanic : convert to SPDX license tags

2018-10-28 Thread Peng Hao
This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Peng Hao --- drivers/misc/pvpanic.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/drivers/misc/pvpanic.c b/drivers/misc/pvpanic.c index fd86dab..9450

[PATCH V4 4/5] misc/pvpanic: add support to get pvpanic device info by FDT

2018-10-28 Thread Peng Hao
By default, when ACPI tables and FDT coexist for ARM64, current kernel takes precedence over FDT to get device information. Virt machine in qemu provides both FDT and ACPI table. This patch increases the way to get information through FDT. Signed-off-by: Peng Hao --- drivers/misc/pvpanic.c | 63

[PATCH V3 1/5] pvpanic: move pvpanic to misc as common driver

2018-10-28 Thread Peng Hao
move pvpanic.c from drivers/platform/x86 to drivers/misc. following patches will use pvpanic device in arm64. Signed-off-by: Peng Hao --- drivers/misc/Kconfig | 7 +++ drivers/misc/Makefile | 1 + drivers/misc/pvpanic.c | 124 +++

[PATCH] doc-guide:kernel-doc.rst: Reference to foobar

2018-10-28 Thread Joris Gutjahr
In the Function documentation Section of kernel-doc.rst there is a function_name() function as an example for how to make a comment about a function. But at the end of that example there is a reference to foobar instead of function_name. I think that should rather be function_name, because that

Re: [PATCH 10/17] prmem: documentation

2018-10-28 Thread Peter Zijlstra
On Fri, Oct 26, 2018 at 11:46:28AM +0100, Kees Cook wrote: > On Fri, Oct 26, 2018 at 10:26 AM, Peter Zijlstra wrote: > > I still don't really understand the whole write-rare thing; how does it > > really help? If we can write in kernel memory, we can write to > > page-tables too. > One aspect of