Re: [PATCH v3] Documentation: admin-guide: PM: Add cpuidle document

2018-11-29 Thread Rafael J. Wysocki
On Thu, Nov 29, 2018 at 10:40 PM Jonathan Corbet wrote: > > On Thu, 29 Nov 2018 22:22:04 +0100 > "Rafael J. Wysocki" wrote: > > > Important information is missing from user/admin cpuidle documentation > > available today, so add a new user/admin document for cpuidle containing > > current and com

Re: [PATCH v3] Documentation: admin-guide: PM: Add cpuidle document

2018-11-29 Thread Jonathan Corbet
On Thu, 29 Nov 2018 22:22:04 +0100 "Rafael J. Wysocki" wrote: > Important information is missing from user/admin cpuidle documentation > available today, so add a new user/admin document for cpuidle containing > current and comprehensive information to admin-guide and drop the old > .txt document

[PATCH v3] Documentation: admin-guide: PM: Add cpuidle document

2018-11-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Important information is missing from user/admin cpuidle documentation available today, so add a new user/admin document for cpuidle containing current and comprehensive information to admin-guide and drop the old .txt documents it is replacing. Signed-off-by: Rafael J. W

Re: [PATCH v8 04/14] integrity: Introduce struct evm_xattr

2018-11-29 Thread Mimi Zohar
On Fri, 2018-11-16 at 18:07 -0200, Thiago Jung Bauermann wrote: > Even though struct evm_ima_xattr_data includes a fixed-size array to hold a > SHA1 digest, most of the code ignores the array and uses the struct to mean > "type indicator followed by data of unspecified size" and tracks the real > s

Re: [PATCH v2] drm: TODO: Add DRM_MODESET_LOCK_ALL* conversion to todo.rst

2018-11-29 Thread Sean Paul
On Thu, Nov 29, 2018 at 02:58:33PM -0500, Sean Paul wrote: > From: Sean Paul > > We should also get the drivers using the helpers. Seems like a good > intermediate TODO item. > > Changes in v2: > - Add line about replacing drm_modest_lock_all() (Daniel) > > Acked-by: Daniel Vetter Pushed this

[PATCH v2] drm: TODO: Add DRM_MODESET_LOCK_ALL* conversion to todo.rst

2018-11-29 Thread Sean Paul
From: Sean Paul We should also get the drivers using the helpers. Seems like a good intermediate TODO item. Changes in v2: - Add line about replacing drm_modest_lock_all() (Daniel) Acked-by: Daniel Vetter Signed-off-by: Sean Paul --- Documentation/gpu/todo.rst | 15 +++ 1 file ch

Re: [PATCH v8 3/8] arm64: untag user addresses in access_ok and __uaccess_mask_ptr

2018-11-29 Thread Catalin Marinas
On Thu, Nov 08, 2018 at 03:36:10PM +0100, Andrey Konovalov wrote: > copy_from_user (and a few other similar functions) are used to copy data > from user memory into the kernel memory or vice versa. Since a user can > provided a tagged pointer to one of the syscalls that use copy_from_user, > we nee

Re: [PATCH v8 2/8] uaccess: add untagged_addr definition for other arches

2018-11-29 Thread Catalin Marinas
On Thu, Nov 08, 2018 at 03:36:09PM +0100, Andrey Konovalov wrote: > diff --git a/include/linux/uaccess.h b/include/linux/uaccess.h > index efe79c1cdd47..c045b4eff95e 100644 > --- a/include/linux/uaccess.h > +++ b/include/linux/uaccess.h > @@ -13,6 +13,10 @@ > > #include > > +#ifndef untagged_

Re: [PATCH v8 1/8] arm64: add type casts to untagged_addr macro

2018-11-29 Thread Catalin Marinas
On Thu, Nov 08, 2018 at 03:36:08PM +0100, Andrey Konovalov wrote: > This patch makes the untagged_addr macro accept all kinds of address types > (void *, unsigned long, etc.) and allows not to specify type casts in each > place where it is used. This is done by using __typeof__. > > Signed-off-by:

Re: [PATCH v8 0/8] arm64: untag user pointers passed to the kernel

2018-11-29 Thread Catalin Marinas
Hi Andrey, On Thu, Nov 08, 2018 at 03:48:10PM +0100, Andrey Konovalov wrote: > On Thu, Nov 8, 2018 at 3:36 PM, Andrey Konovalov > wrote: > > Changes in v8: > > - Rebased onto 65102238 (4.20-rc1). > > - Added a note to the cover letter on why syscall wrappers/shims that untag > > user pointers

Re: [PATCH v2] Documentation: admin-guide: PM: Add cpuidle document

2018-11-29 Thread Ulf Hansson
On Thu, 29 Nov 2018 at 11:28, Rafael J. Wysocki wrote: > > On Thu, Nov 29, 2018 at 9:07 AM Ulf Hansson wrote: > > > > On Wed, 28 Nov 2018 at 12:47, Rafael J. Wysocki wrote: > > > > > > From: Rafael J. Wysocki > > > > > > Important information is missing from user/admin cpuidle documentation > >

Re: [PATCH v12 20/25] kasan, arm64: add brk handler for inline instrumentation

2018-11-29 Thread Will Deacon
On Tue, Nov 27, 2018 at 05:55:38PM +0100, Andrey Konovalov wrote: > Tag-based KASAN inline instrumentation mode (which embeds checks of shadow > memory into the generated code, instead of inserting a callback) generates > a brk instruction when a tag mismatch is detected. > > This commit adds a ta

Re: [PATCH v12 23/25] kasan, arm64: select HAVE_ARCH_KASAN_SW_TAGS

2018-11-29 Thread Will Deacon
On Tue, Nov 27, 2018 at 05:55:41PM +0100, Andrey Konovalov wrote: > Now, that all the necessary infrastructure code has been introduced, > select HAVE_ARCH_KASAN_SW_TAGS for arm64 to enable software tag-based > KASAN mode. > > Signed-off-by: Andrey Konovalov > --- > arch/arm64/Kconfig | 1 + > 1

Re: [PATCH] drm: TODO: Add DRM_MODESET_LOCK_ALL* conversion to todo.rst

2018-11-29 Thread Daniel Vetter
On Thu, Nov 29, 2018 at 10:52:40AM -0500, Sean Paul wrote: > From: Sean Paul > > We should also get the drivers using the helpers. Seems like a good > intermediate TODO item. > > Cc: Daniel Vetter > Signed-off-by: Sean Paul Acked-by: Daniel Vetter > --- > Documentation/gpu/todo.rst | 12 +++

Re: [PATCH] Documentation: drm: Remove dangling pointer from drm-mm.rst

2018-11-29 Thread Koenig, Christian
Am 29.11.18 um 17:21 schrieb Sean Paul: > On Thu, Nov 29, 2018 at 11:14 AM Christian König > wrote: >> Am 29.11.18 um 17:11 schrieb Sean Paul: >>> On Thu, Nov 29, 2018 at 10:58 AM Koenig, Christian >>> wrote: Am 29.11.18 um 16:55 schrieb Sean Paul: > From: Sean Paul > > Fixes ht

Re: [PATCH] Documentation: drm: Remove dangling pointer from drm-mm.rst

2018-11-29 Thread Sean Paul
On Thu, Nov 29, 2018 at 11:14 AM Christian König wrote: > > Am 29.11.18 um 17:11 schrieb Sean Paul: > > On Thu, Nov 29, 2018 at 10:58 AM Koenig, Christian > > wrote: > >> Am 29.11.18 um 16:55 schrieb Sean Paul: > >>> From: Sean Paul > >>> > >>> Fixes htmldocs build error: > >>> Error: Cannot ope

Re: [PATCH] Documentation: drm: Remove dangling pointer from drm-mm.rst

2018-11-29 Thread Christian König
Am 29.11.18 um 17:11 schrieb Sean Paul: On Thu, Nov 29, 2018 at 10:58 AM Koenig, Christian wrote: Am 29.11.18 um 16:55 schrieb Sean Paul: From: Sean Paul Fixes htmldocs build error: Error: Cannot open file ../drivers/gpu/drm/drm_global.c Fixes: 2bb42410b1bd ("drm: Remove drm_global.{c,h} v2

Re: [PATCH] Documentation: drm: Remove dangling pointer from drm-mm.rst

2018-11-29 Thread Sean Paul
On Thu, Nov 29, 2018 at 10:58 AM Koenig, Christian wrote: > > Am 29.11.18 um 16:55 schrieb Sean Paul: > > From: Sean Paul > > > > Fixes htmldocs build error: > > Error: Cannot open file ../drivers/gpu/drm/drm_global.c > > > > Fixes: 2bb42410b1bd ("drm: Remove drm_global.{c,h} v2") > > Cc: Thomas

Re: [PATCH] Documentation: drm: Remove dangling pointer from drm-mm.rst

2018-11-29 Thread Koenig, Christian
Am 29.11.18 um 16:55 schrieb Sean Paul: > From: Sean Paul > > Fixes htmldocs build error: > Error: Cannot open file ../drivers/gpu/drm/drm_global.c > > Fixes: 2bb42410b1bd ("drm: Remove drm_global.{c,h} v2") > Cc: Thomas Zimmermann > Cc: Christian König > Cc: Junwei Zhang > Cc: Alex Deucher >

[PATCH] Documentation: drm: Remove dangling pointer from drm-mm.rst

2018-11-29 Thread Sean Paul
From: Sean Paul Fixes htmldocs build error: Error: Cannot open file ../drivers/gpu/drm/drm_global.c Fixes: 2bb42410b1bd ("drm: Remove drm_global.{c,h} v2") Cc: Thomas Zimmermann Cc: Christian König Cc: Junwei Zhang Cc: Alex Deucher Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc:

[PATCH] drm: TODO: Add DRM_MODESET_LOCK_ALL* conversion to todo.rst

2018-11-29 Thread Sean Paul
From: Sean Paul We should also get the drivers using the helpers. Seems like a good intermediate TODO item. Cc: Daniel Vetter Signed-off-by: Sean Paul --- Documentation/gpu/todo.rst | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/gpu/todo.rst b/Documentation/gp

Re: [PATCH 0/9] drm: remove deprecated functions

2018-11-29 Thread Daniel Vetter
On Thu, Nov 29, 2018 at 3:45 PM Linus Walleij wrote: > > On Mon, Nov 26, 2018 at 3:12 PM Daniel Vetter wrote: > > On Sat, Nov 24, 2018 at 10:17:13PM +0100, Linus Walleij wrote: > > > > It was especially scary. > > > > > > But I think I managed to apply the patches and push the > > > branch now. >

Re: [PATCH 0/9] drm: remove deprecated functions

2018-11-29 Thread Linus Walleij
On Mon, Nov 26, 2018 at 3:12 PM Daniel Vetter wrote: > On Sat, Nov 24, 2018 at 10:17:13PM +0100, Linus Walleij wrote: > > It was especially scary. > > > > But I think I managed to apply the patches and push the > > branch now. > > Except when you're racing with someone else you should only see co

Re: [PATCH v4 1/5] cgroup: subtree_control bypass mode for bypassable controllers

2018-11-29 Thread Dan Carpenter
Hi Waiman, Thank you for the patch! Perhaps something to improve: url: https://github.com/0day-ci/linux/commits/Waiman-Long/cgroup-Introducing-bypass-mode/20181123-030552 base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next smatch warnings: kernel/cgroup/cgroup.c:48

Re: [PATCH v2] Documentation: admin-guide: PM: Add cpuidle document

2018-11-29 Thread Rafael J. Wysocki
On Thu, Nov 29, 2018 at 9:07 AM Ulf Hansson wrote: > > On Wed, 28 Nov 2018 at 12:47, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > Important information is missing from user/admin cpuidle documentation > > available today, so add a new user/admin document for cpuidle containin

Re: [PATCH v2] Documentation: admin-guide: PM: Add cpuidle document

2018-11-29 Thread Ulf Hansson
On Wed, 28 Nov 2018 at 12:47, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > Important information is missing from user/admin cpuidle documentation > available today, so add a new user/admin document for cpuidle containing > current and comprehensive information to admin-guide and drop