[PATCH v2 11/34] scif: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 10/34] genwqe: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 04/34] x86/kvm: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder versions"). Cc:

[PATCH v2 08/34] media/ivtv: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH 31/34] nfs: convert put_page() to put_user_page*()

2019-08-05 Thread Calum Mackay
On 03/08/2019 2:41 am, John Hubbard wrote: On 8/2/19 6:27 PM, Calum Mackay wrote: On 02/08/2019 3:20 am, john.hubb...@gmail.com wrote: ... Since it's static, and only called twice, might it be better to change its two callers [nfs_direct_{read,write}_schedule_iovec()] to call

[PATCH v2 18/34] fbdev/pvr2fb: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH 16/34] drivers/tee: convert put_page() to put_user_page*()

2019-08-05 Thread John Hubbard
On 8/1/19 11:29 PM, Jens Wiklander wrote: On Fri, Aug 2, 2019 at 4:20 AM wrote: From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide

Re: [Bug 204407] New: Bad page state in process Xorg

2019-08-05 Thread Qian Cai
On Fri, 2019-08-02 at 13:33 -0700, Matthew Wilcox wrote: > On Fri, Aug 02, 2019 at 01:23:06PM -0700, Andrew Morton wrote: > > > [259701.387365] BUG: Bad page state in process Xorg  pfn:2a300 > > > [259701.393593] page:eaa8c000 refcount:0 mapcount:-128 > > > mapping:

[PATCH v2 32/34] goldfish_pipe: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 27/34] mm/memory.c: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [Bug 204407] New: Bad page state in process Xorg

2019-08-05 Thread Matthew Wilcox
On Fri, Aug 02, 2019 at 01:23:06PM -0700, Andrew Morton wrote: > > [259701.387365] BUG: Bad page state in process Xorg pfn:2a300 > > [259701.393593] page:eaa8c000 refcount:0 mapcount:-128 > > mapping: index:0x0 mapcount -128 is PAGE_MAPCOUNT_RESERVE, aka PageBuddy. I

[PATCH v2 14/34] oradax: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 07/34] drm/radeon: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 06/34] drm/i915: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH 12/13] drm/tilcdc: Provide ddc symlink in connector sysfs directory

2019-08-05 Thread Jyri Sarha
On 31/07/2019 19:58, Andrzej Pietrasiewicz wrote: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz > Acked-by: Sam Ravnborg > Reviewed-by: Emil Velikov Acked-by: Jyri Sarha > --- > drivers/gpu/drm/tilcdc/tilcdc_tfp410.c | 6 -- > 1 file

RE: [PATCH/RFC 03/12] dt-bindings: panel: lvds: Add dual-link LVDS display support

2019-08-05 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 02 August 2019 09:00 > Subject: Re: [PATCH/RFC 03/12] dt-bindings: panel: lvds: Add dual-link LVDS > display support > > Hi Fabrizio, > > Thank you for the patch. > > On Fri, Aug 02, 2019 at 08:34:00AM +0100, Fabrizio

[Bug 108464] System fails to reboot after Ctrl-Alt-Del

2019-08-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108464 Duncan Roe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[PATCH] drm/qxl: get vga ioports

2019-08-05 Thread Gerd Hoffmann
qxl has two modes: "native" (used by the drm driver) and "vga" (vga compatibility mode, typically used for boot display and firmware framebuffers). Accessing any vga ioport will switch the qxl device into vga mode. The qxl driver never does that, but other drivers accessing vga ports can trigger

RE: [PATCH/RFC 08/12] drm: rcar-du: lvds: Fix bridge_to_rcar_lvds

2019-08-05 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 02 August 2019 09:22 > Subject: Re: [PATCH/RFC 08/12] drm: rcar-du: lvds: Fix bridge_to_rcar_lvds > > Hi Fabrizio, > > Thank you for the patch. > > On Fri, Aug 02, 2019 at 08:34:05AM +0100, Fabrizio Castro wrote: > >

Re: [PATCH v1 07/16] drm/mxsfb: fix opencoded use of drm_panel_*

2019-08-05 Thread Stefan Agner
On 2019-08-04 22:16, Sam Ravnborg wrote: > Use the drm_panel_get_modes() function. Looks good to me, Acked-by: Stefan Agner -- Stefan > > Signed-off-by: Sam Ravnborg > Cc: Marek Vasut > Cc: Stefan Agner > Cc: Shawn Guo > Cc: Sascha Hauer > Cc: Pengutronix Kernel Team > Cc: Fabio

Re: [PATCH] drm/bridge/megachips: Drop GPIO header

2019-08-05 Thread Linus Walleij
On Mon, Aug 5, 2019 at 11:31 AM Laurent Pinchart wrote: > On Mon, Aug 05, 2019 at 11:05:55AM +0200, Linus Walleij wrote: > > On Mon, Jul 8, 2019 at 1:28 PM Linus Walleij > > wrote: > > > > > This file isn't using any interfaces from so > > > just drop the include. > > > > > > Signed-off-by:

Re: [PATCH/RFC 07/12] drm: rcar-du: lvds: Add support for dual link panels

2019-08-05 Thread Laurent Pinchart
Hi Fabrizio, On Mon, Aug 05, 2019 at 09:12:34AM +, Fabrizio Castro wrote: > > From: Laurent Pinchart > > Sent: 02 August 2019 09:20 > > Subject: Re: [PATCH/RFC 07/12] drm: rcar-du: lvds: Add support for dual > > link panels > > > > Hi Fabrizio, > > > > Thank you for the patch. > > > > On

Re: [PATCH 1/3] RFT: drm/pl111: Support grayscale

2019-08-05 Thread Fabian Vogt
Hi, Am Samstag, 3. August 2019, 11:51:59 CEST schrieb Linus Walleij: > On Thu, Jul 25, 2019 at 9:26 PM Fabian Vogt wrote: > > > On a real CX the LCD displays shows content without > > any other changes to the set, but has a ~3Hz pulsating effect scrolling from > > the top to the bottom and the

[PATCH v2 09/34] media/v4l2-core/mm: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH 00/34] put_user_pages(): miscellaneous call sites

2019-08-05 Thread John Hubbard
On 8/2/19 7:52 AM, Jan Kara wrote: On Fri 02-08-19 07:24:43, Matthew Wilcox wrote: On Fri, Aug 02, 2019 at 02:41:46PM +0200, Jan Kara wrote: On Fri 02-08-19 11:12:44, Michal Hocko wrote: On Thu 01-08-19 19:19:31, john.hubb...@gmail.com wrote: [...] 2) Convert all of the call sites for

[PATCH v2 30/34] crypt: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 25/34] mm/frame_vector.c: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [Bug 204407] New: Bad page state in process Xorg

2019-08-05 Thread Matthew Wilcox
On Fri, Aug 02, 2019 at 05:17:30PM -0400, Qian Cai wrote: > On Fri, 2019-08-02 at 13:33 -0700, Matthew Wilcox wrote: > > It occurs to me that when a page is freed, we could record some useful bits > > of information in the page from the stack trace to help debug double-free  > > situations.  Even

[PATCH v2 22/34] orangefs: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH] [v9] drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel

2019-08-05 Thread Jerry Han
Add Patch~5 Jerry Han 于2019年8月3日周六 上午10:10写道: > > Hi Emil: > > thanks for you advice. > > V1: https://patchwork.freedesktop.org/patch/287425/ > V2: https://patchwork.freedesktop.org/patch/289843/ > V3: https://patchwork.freedesktop.org/patch/290393/ > V4:

[PATCH hmm] drm/amdkfd: fix a use after free race with mmu_notififer unregister

2019-08-05 Thread Jason Gunthorpe
When using mmu_notififer_unregister_no_release() the caller must ensure there is a SRCU synchronize before the mn memory is freed, otherwise use after free races are possible, for instance: CPU0 CPU1

Re: [PATCH 00/34] put_user_pages(): miscellaneous call sites

2019-08-05 Thread John Hubbard
On 8/2/19 1:05 AM, Peter Zijlstra wrote: On Thu, Aug 01, 2019 at 07:16:19PM -0700, john.hubb...@gmail.com wrote: This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder versions"). That commit has an extensive description of the

Re: [PATCH] [v8, 2/2] drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel

2019-08-05 Thread Jerry Han
Hi Emil: Thank you for your advice , After careful thinking, I decided to modify the code. Tanks Emil Velikov 于2019年7月31日周三 上午12:26写道: > > Hi Jerry, > > Can you please disable HTML emails for the Gmail web client and reply > inline. There are multiple articles how to do that. > > On

[PATCH v2 01/34] mm/gup: add make_dirty arg to put_user_pages_dirty_lock()

2019-08-05 Thread john . hubbard
From: John Hubbard Provide a more capable variation of put_user_pages_dirty_lock(), and delete put_user_pages_dirty(). This is based on the following: 1. Lots of call sites become simpler if a bool is passed into put_user_page*(), instead of making the call site choose which put_user_page*()

Re: [PATCH v19 00/15] arm64: untag user pointers passed to the kernel

2019-08-05 Thread Catalin Marinas
On Thu, Aug 01, 2019 at 08:36:47AM -0700, Dave Hansen wrote: > On 8/1/19 5:48 AM, Andrey Konovalov wrote: > > On Thu, Aug 1, 2019 at 2:11 PM Kevin Brodsky wrote: > >> On 31/07/2019 17:50, Dave Hansen wrote: > >>> On 7/23/19 10:58 AM, Andrey Konovalov wrote: > The mmap and mremap (only

[PATCH v2 29/34] mm/process_vm_access.c: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 26/34] mm/gup_benchmark.c: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 21/34] fs/exec.c: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH 00/34] put_user_pages(): miscellaneous call sites

2019-08-05 Thread Matthew Wilcox
On Fri, Aug 02, 2019 at 02:41:46PM +0200, Jan Kara wrote: > On Fri 02-08-19 11:12:44, Michal Hocko wrote: > > On Thu 01-08-19 19:19:31, john.hubb...@gmail.com wrote: > > [...] > > > 2) Convert all of the call sites for get_user_pages*(), to > > > invoke put_user_page*(), instead of put_page().

Re: [PATCH 06/34] drm/i915: convert put_page() to put_user_page*()

2019-08-05 Thread John Hubbard
On 8/2/19 2:19 AM, Joonas Lahtinen wrote: Quoting john.hubb...@gmail.com (2019-08-02 05:19:37) From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a

Re: [PATCH 20/34] xen: convert put_page() to put_user_page*()

2019-08-05 Thread John Hubbard
On 8/2/19 9:09 AM, Weiny, Ira wrote: On 02.08.19 07:48, John Hubbard wrote: On 8/1/19 9:36 PM, Juergen Gross wrote: On 02.08.19 04:19, john.hubb...@gmail.com wrote: From: John Hubbard ... If that's not the case (both here, and in 3 or 4 other patches in this series, then as you said, I

[PATCH v2 17/34] vfio: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 20/34] xen: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 03/34] net/ceph: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 24/34] futex: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [Bug 204407] New: Bad page state in process Xorg

2019-08-05 Thread Petr Vandrovec
On Fri, Aug 2, 2019, 3:59 PM Matthew Wilcox wrote: > That doesn't help because we call reset_page_owner() in the free page path. > > We could turn on tracing because we call trace_mm_page_free() in this > path. That requires the reporter to be able to reproduce the problem, > and it's not clear

[PATCH v2 12/34] vmci: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH] drm/amd/powerplay: Zero initialize some variables

2019-08-05 Thread Nathan Chancellor
Clang warns (only Navi warning shown but Arcturus warns as well): drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c:1534:4: warning: variable 'asic_default_power_limit' is used uninitialized whenever '?:' condition is false [-Wsometimes-uninitialized]

[PATCH v2 02/34] net/rds: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH v2 31/34] fs/nfs: convert put_page() to put_user_page*()

2019-08-05 Thread Calum Mackay
On 04/08/2019 11:49 pm, john.hubb...@gmail.com wrote: From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit

[PATCH v2 31/34] fs/nfs: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 05/34] drm/etnaviv: convert release_pages() to put_user_pages()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 15/34] staging/vc04_services: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH v19 02/15] arm64: Introduce prctl() options to control the tagged user addresses ABI

2019-08-05 Thread Catalin Marinas
On Thu, Aug 01, 2019 at 09:45:05AM -0700, Dave Hansen wrote: > On 8/1/19 5:38 AM, Kevin Brodsky wrote: > > This patch series only changes what is allowed or not at the syscall > > interface. It does not change the address space size. On arm64, TBI (Top > > Byte Ignore) has always been enabled for

[PATCH v2 00/34] put_user_pages(): miscellaneous call sites

2019-08-05 Thread john . hubbard
From: John Hubbard Changes since v1: * 9 out of 34 patches have been reviewed or ack'd or changed: * Picked up Keith's Reviewed-by for patch 26 (gup_benchmark). * Picked up ACKs for patches 3, 10, 15, 16 (ceph, genwqe, staging/vc04_services, drivers/tee). * Patch 6 (i915):

Re: [PATCH v2 20/34] xen: convert put_page() to put_user_page*()

2019-08-05 Thread Juergen Gross
On 05.08.19 00:49, john.hubb...@gmail.com wrote: From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit

Re: [PATCH 31/34] nfs: convert put_page() to put_user_page*()

2019-08-05 Thread Calum Mackay
On 02/08/2019 3:20 am, john.hubb...@gmail.com wrote: From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit

Re: [Bug 204407] New: Bad page state in process Xorg

2019-08-05 Thread Petr Vandrovec
Andrew Morton wrote on 8/2/2019 1:23 PM: (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Thu, 01 Aug 2019 22:34:16 + bugzilla-dae...@bugzilla.kernel.org wrote: [259701.549382] Code: 10 e9 67 ff ff ff 0f 1f 44 00 00 48 8b 15 b1 6c 0c 00

[PATCH v2 19/34] fsl_hypervisor: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH 31/34] nfs: convert put_page() to put_user_page*()

2019-08-05 Thread John Hubbard
On 8/2/19 6:27 PM, Calum Mackay wrote: > On 02/08/2019 3:20 am, john.hubb...@gmail.com wrote: ... > Since it's static, and only called twice, might it be better to change its > two callers [nfs_direct_{read,write}_schedule_iovec()] to call > put_user_pages() directly, and remove

Re: [PATCH v3 6/8] drm/panfrost: Convert MMU IRQ handler to threaded handler

2019-08-05 Thread Alyssa Rosenzweig
A-b, I think. On Fri, Aug 02, 2019 at 01:51:48PM -0600, Rob Herring wrote: > In preparation to handle mapping of page faults, we need the MMU handler > to be threaded as code paths take a mutex. > > As the IRQ may be shared, we can't use the default handler and must > disable the MMU interrupts

[PATCH v2 16/34] drivers/tee: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH 1/3] drm/etnaviv: skip command stream validation on PPAS capable GPUs

2019-08-05 Thread Philipp Zabel
On Fri, 2019-08-02 at 19:29 +0200, Lucas Stach wrote: > With per-process address spaces in place, a rogue process submitting > bogus command streams can only hurt itself. There is no need to > validate the command stream before execution anymore. > > Signed-off-by: Lucas Stach > --- >

RE: [PATCH/RFC 07/12] drm: rcar-du: lvds: Add support for dual link panels

2019-08-05 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 02 August 2019 09:20 > Subject: Re: [PATCH/RFC 07/12] drm: rcar-du: lvds: Add support for dual link > panels > > Hi Fabrizio, > > Thank you for the patch. > > On Fri, Aug 02, 2019 at 08:34:04AM +0100, Fabrizio Castro

Re: [PATCH v4 00/17] drm/ttm: make ttm bo a gem bo subclass

2019-08-05 Thread Christian König
If you ask me I would say that this is ready to be pushed. Regards, Christian. Am 02.08.19 um 07:22 schrieb Gerd Hoffmann: v4: - rebase to latest drm-misc-next, adapt to vram helper changes. v3: - comment updates - rebased on daniels resv series

[Bug 111296] testinggg

2019-08-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111296 Andre Klapper changed: What|Removed |Added Attachment #144947|0 |1 is obsolete|

Re: [PATCH] [v9] drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel

2019-08-05 Thread Emil Velikov
Hi Jerry, On Sat, 3 Aug 2019 at 03:11, Jerry Han wrote: > > Hi Emil: > > thanks for you advice. > Please use interleaved posting style - top posting is generally discouraged. See the wikipedia article for details [1]. Here [2] is now to do that for Gmail. > V1:

[PATCH v2] drm/komeda: Add support for 'memory-region' DT node property

2019-08-05 Thread Mihail Atanassov
The 'memory-region' property of the komeda display driver DT binding allows the use of a 'reserved-memory' node for buffer allocations. Add the requisite of_reserved_mem_device_{init,release} calls to actually make use of the memory if present. Changes since v1: - Move handling inside

Re: [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-08-05 Thread Feng Tang
Hi Thomas, On Sun, Aug 04, 2019 at 08:39:19PM +0200, Thomas Zimmermann wrote: > Hi > > I did some further analysis on this problem and found that the blinking > cursor affects performance of the vm-scalability test case. > > I only have a 4-core machine, so scalability is not really testable.

Re: [PATCH] dma-buf: add more reservation object locking wrappers

2019-08-05 Thread Koenig, Christian
Am 31.07.19 um 15:58 schrieb Chris Wilson: > Quoting Christian König (2019-07-31 14:34:28) >> Am 31.07.19 um 14:33 schrieb Chris Wilson: >>> Quoting Christian König (2019-07-31 12:38:53) Complete the abstraction of the ww_mutex inside the reservation object. This allows us to add

Re: [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-08-05 Thread Rong Chen
Hi, On 8/5/19 3:02 PM, Feng Tang wrote: Hi Thomas, On Sun, Aug 04, 2019 at 08:39:19PM +0200, Thomas Zimmermann wrote: Hi I did some further analysis on this problem and found that the blinking cursor affects performance of the vm-scalability test case. I only have a 4-core machine, so

Re: [PATCH] drm: rcar_lvds: Fix dual link mode operations

2019-08-05 Thread Jacopo Mondi
Hi Laurent, On Thu, Aug 01, 2019 at 06:11:29PM +0300, Laurent Pinchart wrote: > Hello Jacopo, > > Thank you for the patch. > > On Tue, Jul 23, 2019 at 06:57:00PM +0200, Jacopo Mondi wrote: > > The R-Car LVDS encoder units support dual-link operations by splitting > > the pixel output between the

[Bug 111296] testinggg

2019-08-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111296 Bug ID: 111296 Summary: testinggg Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium

[Bug 108139] My HDMI stopped working at Linux 4.18.8

2019-08-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108139 Duncan Roe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH 3/3] drm/etnaviv: implement softpin

2019-08-05 Thread Philipp Zabel
On Fri, 2019-08-02 at 19:29 +0200, Lucas Stach wrote: > With softpin we allow the userspace to take control over the GPU virtual > address space. The new capability is relected by a bump of the minor DRM > version. There are a few restrictions for userspace to take into > account: > > 1. The

[PATCH 0/4 v2] PL111 DRM conversion of nspire

2019-08-05 Thread Linus Walleij
This now works, I think. So this is a cold-coded attempt to move the TI nspire over to using DRM. It is more or less the last user of the old fbdev driver so it is a noble cause and interesting usecase. This can be applied on top of a vanilla Torvalds v5.3-rc1 kernel out since sunday. I do not

[PATCH 4/4 v2] ARM: nspire: Move CLCD set-up to device tree

2019-08-05 Thread Linus Walleij
This moves the nspire over to using the device tree to set-up and probe the PL111 DRM driver and use the panels from the simple-panel drivers. Cc: Daniel Tang Cc: Fabian Vogt Tested-by: Fabian Vogt Acked-by: Sam Ravnborg Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Now tested - This

RE: [PATCH/RFC 02/12] dt-bindings: display: renesas: lvds: Document renesas,swap-data

2019-08-05 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 02 August 2019 08:44 > Subject: Re: [PATCH/RFC 02/12] dt-bindings: display: renesas: lvds: Document > renesas,swap-data > > Hi Fabrizio, > > Thank you for the patch. > > On Fri, Aug 02, 2019 at 08:33:59AM +0100,

Re: [PATCH v1 05/16] drm/fsl-dcu: fix opencoded use of drm_panel_*

2019-08-05 Thread Stefan Agner
On 2019-08-04 22:16, Sam Ravnborg wrote: > Use drm_panel_get_modes() to access modes. > This has a nice side effect to simplify the code. > > Signed-off-by: Sam Ravnborg > Cc: Stefan Agner > Cc: Alison Wang > --- > drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 10 +- > 1 file changed, 1

RE: [PATCH/RFC 09/12] drm: rcar-du: lvds: Fix companion's mode

2019-08-05 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 02 August 2019 09:26 > Subject: Re: [PATCH/RFC 09/12] drm: rcar-du: lvds: Fix companion's mode > > Hi Fabrizio, > > Thank you for the patch. > > On Fri, Aug 02, 2019 at 08:34:06AM +0100, Fabrizio Castro wrote: > > The

Re: [PATCH v2 1/7] sh: ecovec24: add additional properties to the backlight device

2019-08-05 Thread Linus Walleij
On Mon, Jul 22, 2019 at 5:03 PM Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add a GPIO lookup entry and a device property for GPIO backlight to the > board file. Tie them to the platform device which is now registered using > platform_device_register_full() because of the

Re: [PATCH] dma-buf: fix stack corruption in dma_fence_chain_release

2019-08-05 Thread Lionel Landwerlin
On 05/08/2019 10:36, Christian König wrote: We can't free up the chain using recursion or we run into a stack overflow. Manually free up the dangling chain nodes to avoid recursion. Signed-off-by: Christian König That definitely makes sense to me, but I'm not an expert in RCU foo :/

RE: [PATCH/RFC 04/12] dt-bindings: display: Add bindings for Advantech IDK-2121WR

2019-08-05 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 02 August 2019 09:04 > Subject: Re: [PATCH/RFC 04/12] dt-bindings: display: Add bindings for > Advantech IDK-2121WR > > Hi Fabrizio, > > Thank you for the patch. > > On Fri, Aug 02, 2019 at 08:34:01AM +0100, Fabrizio

Re: [PATCH] drm/bridge/megachips: Drop GPIO header

2019-08-05 Thread Linus Walleij
On Mon, Jul 8, 2019 at 1:28 PM Linus Walleij wrote: > This file isn't using any interfaces from so > just drop the include. > > Signed-off-by: Linus Walleij So what do I do with these simple patches as noone seems to ACK or review them for a month? I guess as last resort simply apply them to

Re: [Spice-devel] [PATCH] drm/qxl: get vga ioports

2019-08-05 Thread Frediano Ziglio
> > qxl has two modes: "native" (used by the drm driver) and "vga" (vga > compatibility mode, typically used for boot display and firmware > framebuffers). > > Accessing any vga ioport will switch the qxl device into vga mode. > The qxl driver never does that, but other drivers accessing vga

[Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-08-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #80 from Mauro Gaspari --- (In reply to Alex Deucher from comment #79) > the ta bin is optional. It's only used for server cards with xgmi and ras > features. Consumer cards don't support those features and don't use it. Alex,

Re: [PATCH 2/3] drm/etnaviv: allow to request specific virtual address for gem mapping

2019-08-05 Thread Philipp Zabel
On Fri, 2019-08-02 at 19:29 +0200, Lucas Stach wrote: > Allow the mapping code to request a specific virtual address for the gem > mapping. If the virtual address is zero we fall back to the old mode of > allocating a virtual address for the mapping. > > Signed-off-by: Lucas Stach Reviewed-by:

RE: [PATCH/RFC 06/12] drm: rcar-du: lvds: Do not look at ports for identifying bridges

2019-08-05 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 02 August 2019 09:08 > Subject: Re: [PATCH/RFC 06/12] drm: rcar-du: lvds: Do not look at ports for > identifying bridges > > Hi Fabrizio, > > Thank you for the patch. > > On Fri, Aug 02, 2019 at 08:34:03AM +0100,

RE: [PATCH/RFC 05/12] drm: rcar-du: lvds: Add data swap support

2019-08-05 Thread Fabrizio Castro
Hi Laurent, Thank you for your feedback! > From: Laurent Pinchart > Sent: 02 August 2019 09:06 > Subject: Re: [PATCH/RFC 05/12] drm: rcar-du: lvds: Add data swap support > > Hi Fabrizio, > > Thank you for the patch. > > On Fri, Aug 02, 2019 at 08:34:02AM +0100, Fabrizio Castro wrote: > >

Re: [PATCH] drm/bridge/megachips: Drop GPIO header

2019-08-05 Thread Laurent Pinchart
Hi Linus, On Mon, Aug 05, 2019 at 11:05:55AM +0200, Linus Walleij wrote: > On Mon, Jul 8, 2019 at 1:28 PM Linus Walleij wrote: > > > This file isn't using any interfaces from so > > just drop the include. > > > > Signed-off-by: Linus Walleij > > So what do I do with these simple patches as

[PATCH v2 13/34] rapidio: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH 06/34] drm/i915: convert put_page() to put_user_page*()

2019-08-05 Thread John Hubbard
On 8/2/19 11:48 AM, John Hubbard wrote: > On 8/2/19 2:19 AM, Joonas Lahtinen wrote: >> Quoting john.hubb...@gmail.com (2019-08-02 05:19:37) >>> From: John Hubbard ... > In order to deal with the merge problem, I'll drop this patch from my series, > and I'd recommend that the drm-intel-next take

[PATCH v2 28/34] mm/madvise.c: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 33/34] kernel/events/core.c: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH v2 23/34] uprobes: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: John Hubbard For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

[PATCH] dma-buf: fix stack corruption in dma_fence_chain_release

2019-08-05 Thread Christian König
We can't free up the chain using recursion or we run into a stack overflow. Manually free up the dangling chain nodes to avoid recursion. Signed-off-by: Christian König --- drivers/dma-buf/dma-fence-chain.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff

[PATCH v2 34/34] fs/binfmt_elf: convert put_page() to put_user_page*()

2019-08-05 Thread john . hubbard
From: Ira Weiny For pages that were retained via get_user_pages*(), release those pages via the new put_user_page*() routines, instead of via put_page() or release_pages(). This is part a tree-wide conversion, as described in commit fc1d8e7cca2d ("mm: introduce put_user_page*(), placeholder

Re: [PATCH 1/7] drm/msm/mdp4: Drop unused GPIO include

2019-08-05 Thread Linus Walleij
On Sun, Jul 28, 2019 at 12:02 PM Linus Walleij wrote: > On Sat, Jun 29, 2019 at 3:01 PM Linus Walleij > wrote: > > > This file is not using any symbols from so just > > drop this include. > > > > Cc: Rob Clark > > Cc: Sean Paul > > Cc: linux-arm-...@vger.kernel.org > > Cc:

Re: [Intel-gfx] [PATCH v12 0/6] HDCP2.2 Phase II

2019-08-05 Thread Jani Nikula
On Thu, 01 Aug 2019, Ramalingam C wrote: > Series adds the content_type support for HDCP2.2. Along with that uevent > is sent for each HDCP state change triggered within kernel. Acked-by: Jani Nikula For merging the i915 specific parts via drm-misc along the rest of the patches. > > Pekka

Re: [PATCH] drm/komeda: Add support for 'memory-region' DT node property

2019-08-05 Thread james qian wang (Arm Technology China)
Hi Mihail: On Fri, Aug 02, 2019 at 10:40:19PM +0800, Mihail Atanassov wrote: > The 'memory-region' property of the komeda display driver DT binding > allows the use of a 'reserved-memory' node for buffer allocations. Add > the requisite of_reserved_mem_device_{init,release} calls to actually >

  1   2   3   4   >