Re: [PATCH 0/2] docs/mm-api: link kernel-doc comments from slab_common.c

2018-12-19 Thread Mike Rapoport
ping? On Thu, Dec 06, 2018 at 11:12:59PM +0200, Mike Rapoport wrote: > Hi, > > These patches update formatting of function descriptions in > mm/slab_common.c and link the comments from this file to "The Slab Cache" > section of the MM API reference. > > As the changes to mm/slab_common.c only to

[PATCH 2/2 v4] kdump,vmcoreinfo: Export the value of sme mask to vmcoreinfo

2018-12-19 Thread Lianbo Jiang
For AMD machine with SME feature, makedumpfile tools need to know whether the crash kernel was encrypted or not. If SME is enabled in the first kernel, the crash kernel's page table(pgd/pud/pmd/pte) contains the memory encryption mask, so need to remove the sme mask to obtain the true physical addr

[PATCH 0/2 v4] kdump,vmcoreinfo: Export the value of sme mask to vmcoreinfo

2018-12-19 Thread Lianbo Jiang
This patchset did two things: a. add a new document for vmcoreinfo This document lists some variables that export to vmcoreinfo, and briefly describles what these variables indicate. It should be instructive for many people who do not know the vmcoreinfo, and it also normalizes the exported variab

[PATCH 1/2 v4] kdump: add the vmcoreinfo documentation

2018-12-19 Thread Lianbo Jiang
This document lists some variables that export to vmcoreinfo, and briefly describles what these variables indicate. It should be instructive for many people who do not know the vmcoreinfo, and it also normalizes the exported variables as a convention between kernel and use-space. Suggested-by: Bor

Re: [RFC PATCH] x86/speculation: Don't inherit TIF_SSBD on execve()

2018-12-19 Thread Andi Kleen
> You can always force disable SSB. In that case, all the child processes > will have SSBD on. Okay that sounds reasonable, given the below. Thanks. -Andi > > > > > Do you have a real use case where this behavior is a problem? > > > > -Andi > > Yes, we have an enterprise application partner th

Re: [RFC PATCH] x86/speculation: Don't inherit TIF_SSBD on execve()

2018-12-19 Thread Waiman Long
On 12/19/2018 02:38 PM, Andi Kleen wrote: > On Wed, Dec 19, 2018 at 02:09:50PM -0500, Waiman Long wrote: >> With the default SPEC_STORE_BYPASS_SECCOMP/SPEC_STORE_BYPASS_PRCTL mode, >> the TIF_SSBD bit will be inherited when a new task is fork'ed or cloned. >> >> As only certain class of application

Re: [RFC PATCH] x86/speculation: Don't inherit TIF_SSBD on execve()

2018-12-19 Thread Andi Kleen
On Wed, Dec 19, 2018 at 02:09:50PM -0500, Waiman Long wrote: > With the default SPEC_STORE_BYPASS_SECCOMP/SPEC_STORE_BYPASS_PRCTL mode, > the TIF_SSBD bit will be inherited when a new task is fork'ed or cloned. > > As only certain class of applications (like Java) requires disabling > speculative

[RFC PATCH] x86/speculation: Don't inherit TIF_SSBD on execve()

2018-12-19 Thread Waiman Long
With the default SPEC_STORE_BYPASS_SECCOMP/SPEC_STORE_BYPASS_PRCTL mode, the TIF_SSBD bit will be inherited when a new task is fork'ed or cloned. As only certain class of applications (like Java) requires disabling speculative store bypass for security purpose, it may not make sense to allow the T

Re: [RFC RESEND PATCH] kvm: arm64: export memory error recovery capability to user space

2018-12-19 Thread Peter Maydell
On Mon, 17 Dec 2018 at 15:56, James Morse wrote: > I think the root issue here is the name of the cpufeature 'RAS Extensions', > this > doesn't mean RAS is new, or even requires these features. It's just > standardised > records, classification and a barrier. > Not only is it possible to build a

Re: [WIP PATCH 03/15] drm/dp_mst: Introduce new refcounting scheme for mstbs and ports

2018-12-19 Thread Lyude Paul
On Wed, 2018-12-19 at 13:48 +0100, Daniel Vetter wrote: > On Tue, Dec 18, 2018 at 04:27:58PM -0500, Lyude Paul wrote: > > On Fri, 2018-12-14 at 10:29 +0100, Daniel Vetter wrote: > > > On Thu, Dec 13, 2018 at 08:25:32PM -0500, Lyude Paul wrote: > > > > The current way of handling refcounting in the

Re: [PATCH v2 2/9] dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71

2018-12-19 Thread Rob Herring
On Wed, Dec 19, 2018 at 6:33 AM james qian wang (Arm Technology China) wrote: > > Add DT bindings documentation for the ARM display processor D71 and later > IPs. > > Signed-off-by: James (Qian) Wang > --- > .../bindings/display/arm/arm,komeda.txt | 87 +++ > 1 file changed

Re: [RFC][PATCH 0/3] arm64 relaxed ABI

2018-12-19 Thread Dave Martin
On Tue, Dec 18, 2018 at 05:59:38PM +, Catalin Marinas wrote: > On Tue, Dec 18, 2018 at 04:03:38PM +0100, Andrey Konovalov wrote: > > On Wed, Dec 12, 2018 at 4:02 PM Catalin Marinas > > wrote: > > > The summary of our internal discussions (mostly between kernel > > > developers) is that we can

Re: [WIP PATCH 03/15] drm/dp_mst: Introduce new refcounting scheme for mstbs and ports

2018-12-19 Thread Daniel Vetter
On Tue, Dec 18, 2018 at 04:27:58PM -0500, Lyude Paul wrote: > On Fri, 2018-12-14 at 10:29 +0100, Daniel Vetter wrote: > > On Thu, Dec 13, 2018 at 08:25:32PM -0500, Lyude Paul wrote: > > > The current way of handling refcounting in the DP MST helpers is really > > > confusing and probably just plain

[PATCH v2 9/9] MAINTAINERS: Add maintainer for arm komeda driver

2018-12-19 Thread james qian wang (Arm Technology China)
v2: Adjusted the position of KOMEDA by alphabetical order Signed-off-by: James (Qian) Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 254b7b267731..e48c2e5fd29f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1124,6 +1124,15 @@ S:

[PATCH v2 8/9] drm/doc: Add initial komeda driver documentation

2018-12-19 Thread james qian wang (Arm Technology China)
v2: Some editing changes according to Randy Dunlap's comments Signed-off-by: James (Qian) Wang --- Documentation/gpu/drivers.rst| 1 + Documentation/gpu/komeda-kms.rst | 488 +++ 2 files changed, 489 insertions(+) create mode 100644 Documentation/gpu/komeda-kms

[PATCH v2 7/9] drm/komeda: Attach komeda_dev to DRM-KMS

2018-12-19 Thread james qian wang (Arm Technology China)
Add komeda_kms abstracton to attach komeda_dev to DRM-KMS CRTC: according to the komeda_pipeline PLANE: according to komeda_layer (layer input pipeline) PRIVATE_OBJS: komeda_pipeline/component all will be treat as private_objs komeda_kms is for connecting DRM-KMS and komeda_dev, like reporti

[PATCH v2 6/9] drm/komeda: Add komeda_framebuffer

2018-12-19 Thread james qian wang (Arm Technology China)
komeda_framebuffer is for extending drm_framebuffer to add komeda own attributes and komeda specific fb handling. Signed-off-by: James (Qian) Wang --- drivers/gpu/drm/arm/display/komeda/Makefile | 3 +- .../arm/display/komeda/komeda_framebuffer.c | 165 ++ .../arm/display/k

[PATCH v2 5/9] drm/komeda: Add komeda_format_caps for format handling

2018-12-19 Thread james qian wang (Arm Technology China)
komeda_format_caps is for describing ARM display specific features and limitations of a specific format, and format_caps will be linked into &komeda_framebuffer like a extension of &drm_format_info. And komed_format_caps_table will be initialized before the enum_resources, since the layer features

[PATCH v2 4/9] drm/komeda: Add DT parsing

2018-12-19 Thread james qian wang (Arm Technology China)
Parse DT and initialize corresponding dev/pipeline attributes. Signed-off-by: James (Qian) Wang --- .../gpu/drm/arm/display/komeda/komeda_dev.c | 74 +++ .../gpu/drm/arm/display/komeda/komeda_dev.h | 3 + .../drm/arm/display/komeda/komeda_pipeline.c | 4 + .../drm/arm/disp

[PATCH v2 3/9] drm/komeda: Build komeda to be a platform module

2018-12-19 Thread james qian wang (Arm Technology China)
Implement a simple wrapper for platform module to build komeda to module, Also add a very simple D71 layer code to show how to discover a product. Komeda driver direct bind the product ENTRY function xxx_identity to DT compatible name like: d71_product = { .product_id = MALIDP_D71_PRODUCT_

[PATCH v2 1/9] drm/komeda: komeda_dev/pipeline/component definition and initialzation

2018-12-19 Thread james qian wang (Arm Technology China)
1. Added a brief definition of komeda_dev/pipeline/component, this change didn't add the detailed component features and capabilities, which will be added in the following changes. 2. Corresponding resources discovery and initialzation functions. Signed-off-by: James (Qian) Wang --- driver

[PATCH v2 2/9] dt/bindings: drm/komeda: Add DT bindings for ARM display processor D71

2018-12-19 Thread james qian wang (Arm Technology China)
Add DT bindings documentation for the ARM display processor D71 and later IPs. Signed-off-by: James (Qian) Wang --- .../bindings/display/arm/arm,komeda.txt | 87 +++ 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/arm/arm,komed

[PATCH v2 0/9] Overview of Arm komeda display driver

2018-12-19 Thread james qian wang (Arm Technology China)
This is the first patchset of ARM new komeda display driver, this patchset added all basic structure of komeda, relationship of DRM-KMS with komeda, for tring to give a brife overview of komeda-driver. komeda is for supporting the ARM display processor D71 and later IPs, Since from D71, Arm displa