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

2019-08-09 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

Re: [Intel-gfx] [PATCH v6 07/24] drm/sun4i: hdmi: Provide ddc symlink in sun4i hdmi connector sysfs directory

2019-08-09 Thread Maxime Ripard
On Fri, Jul 26, 2019 at 07:23:01PM +0200, Andrzej Pietrasiewicz wrote: > Use the ddc pointer provided by the generic connector. > > Signed-off-by: Andrzej Pietrasiewicz Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com

[Intel-gfx] [PATCH 30/34] crypt: convert put_page() to put_user_page*()

2019-08-09 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: [Intel-gfx] [PATCH 1/6] dma-buf: add dynamic DMA-buf handling v13

2019-08-09 Thread Christian König
Am 31.07.19 um 11:12 schrieb Daniel Vetter: [SNIP] I think I brought this up before, but new top-post for a clean start. Use-case I have in mind is something like amdkfd's model, where you have a list of buffers (per context or whatever) that you always need to have present. Idea is to also use

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

2019-08-09 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: [Intel-gfx] [PATCH 31/34] nfs: convert put_page() to put_user_page*()

2019-08-09 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: [Intel-gfx] [RFC PATCH 0/3] Propose new struct drm_mem_region

2019-08-09 Thread Christian König
Am 31.07.19 um 10:05 schrieb Daniel Vetter: [SNIP] Okay, I see now I was far off the mark with what I thought TTM_PL_SYSTEM was. The discussion helped clear up several bits of confusion on my part. From proposed names, I find MAPPED and PINNED slightly confusing. In terms of backing store

[Intel-gfx] [PATCH 12/34] vmci: convert put_page() to put_user_page*()

2019-08-09 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

[Intel-gfx] [PATCH 34/34] fs/binfmt_elf: convert put_page() to put_user_page*()

2019-08-09 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

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

2019-08-09 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

[Intel-gfx] [PATCH 3/5] dma-buf: further relax reservation_object_add_shared_fence

2019-08-09 Thread Christian König
Other cores don't busy wait any more and we removed the last user of checking the seqno for changes. Drop updating the number for shared fences altogether. Signed-off-by: Christian König --- drivers/dma-buf/reservation.c | 6 -- 1 file changed, 6 deletions(-) diff --git

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

2019-08-09 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: [Intel-gfx] [PATCH 00/34] put_user_pages(): miscellaneous call sites

2019-08-09 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

[Intel-gfx] [PATCH 23/34] uprobes: convert put_page() to put_user_page*()

2019-08-09 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

[Intel-gfx] [PATCH 11/34] scif: convert put_page() to put_user_page*()

2019-08-09 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: [Intel-gfx] [PATCH 31/34] nfs: convert put_page() to put_user_page*()

2019-08-09 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

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

2019-08-09 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: [Intel-gfx] [PATCHv2 2/3] i915: convert to new mount API

2019-08-09 Thread Sergey Senozhatsky
On (08/05/19 19:12), Al Viro wrote: [..] > On Tue, Aug 06, 2019 at 01:03:06AM +0900, Sergey Senozhatsky wrote: > > tmpfs does not set ->remount_fs() anymore and its users need > > to be converted to new mount API. > > Could you explain why the devil do you bother with remount at all? I would

[Intel-gfx] [CI 2/3] drm/i915: Replace global bsd_dispatch_index with random seed

2019-08-09 Thread Chris Wilson
We keep a global seed for the legacy BSD round-robin selector, but in our testing of multiple simultaneous client workloads, a random seed spreads the load more evenly. (As even as an initial round-robin selector can be!) Removing the global is one less variable we have to find a home for! We can

[Intel-gfx] [CI 1/3] drm/i915: Check for a second VCS engine more carefully

2019-08-09 Thread Chris Wilson
To use the legacy BSD selector, you must have a second VCS engine, or else the ABI simply maps the request for another engine onto VCS0. However, we only checked a single VCS1 location and overlooking the possibility of a sparse VCS set being mapped to the dense ABI. v2: num_vcs_engines() turns

[Intel-gfx] [CI 3/3] drm/i915: Generalise BSD default selection

2019-08-09 Thread Chris Wilson
For the default I915_EXEC_BSD round robin selector, it may select any available VCS engine. Make it so. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Cc: Joonas Lahtinen Reviewed-by: Joonas Lahtinen --- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 3 ++- 1 file changed, 2 insertions(+),

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/execlists: Backtrack along timeline

2019-08-09 Thread Patchwork
== Series Details == Series: drm/i915/execlists: Backtrack along timeline URL : https://patchwork.freedesktop.org/series/64942/ State : success == Summary == CI Bug Log - changes from CI_DRM_6663 -> Patchwork_13932 Summary ---

[Intel-gfx] [PATCH v2] drm/i915: Check for a second VCS engine more carefully

2019-08-09 Thread Chris Wilson
To use the legacy BSD selector, you must have a second VCS engine, or else the ABI simply maps the request for another engine onto VCS0. However, we only checked a single VCS1 location and overlooking the possibility of a sparse VCS set being mapped to the dense ABI. v2: num_vcs_engines() turns

Re: [Intel-gfx] [PATCH] drm/i915: Generalise BSD default selection

2019-08-09 Thread Joonas Lahtinen
Quoting Chris Wilson (2019-08-09 11:38:20) > For the default I915_EXEC_BSD round robin selector, it may select any > available VCS engine. Make it so. > > Signed-off-by: Chris Wilson > Cc: Tvrtko Ursulin > Cc: Joonas Lahtinen We most likely want to share the code to count the vcs engines. I

Re: [Intel-gfx] [PATCH] drm/i915: Check for a second VCS engine more carefully

2019-08-09 Thread Joonas Lahtinen
Quoting Chris Wilson (2019-08-09 08:13:54) > To use the legacy BSD selector, you must have a second VCS engine, or > else the ABI simply maps the request for another engine onto VCS0. > However, we only checked a single VCS1 location and overlooking the > possibility of a sparse VCS set being

Re: [Intel-gfx] [PATCH] drm/i915: Flush any deferred RCU cleanup before switching off GEM

2019-08-09 Thread kbuild test robot
Hi Chris, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [cannot apply to v5.3-rc3 next-20190809] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [Intel-gfx] [PATCH] drm/i915/execlists: Backtrack along timeline

2019-08-09 Thread Mika Kuoppala
Chris Wilson writes: > After a preempt-to-busy, we may find an active request that is caught > between execution states. Walk back along the timeline instead of the > execution list to be safe. > > [ 106.417541] i915 :00:02.0: Resetting rcs0 for preemption time out > [ 106.417659] >

Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Fix HW readout for crtc_clock in HDMI mode (rev2)

2019-08-09 Thread Imre Deak
On Fri, Aug 09, 2019 at 06:55:53AM +, Patchwork wrote: > == Series Details == > > Series: drm/i915: Fix HW readout for crtc_clock in HDMI mode (rev2) > URL : https://patchwork.freedesktop.org/series/64909/ > State : failure > > == Summary == > > CI Bug Log - changes from CI_DRM_6657_full

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

2019-08-09 Thread Jan Kara
On Thu 08-08-19 16:25:04, Weiny, Ira wrote: > > I thought I'd caught things early enough to get away with the > > rename and deletion of that. You could either: > > > > a) open code an implementation of vaddr_put_pages_dirty_lock() that > > doesn't call any of the *put_user_pages_dirty*()

[Intel-gfx] [PATCH] drm/i915: Generalise BSD default selection

2019-08-09 Thread Chris Wilson
For the default I915_EXEC_BSD round robin selector, it may select any available VCS engine. Make it so. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Cc: Joonas Lahtinen --- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff

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

2019-08-09 Thread Jan Kara
On Wed 07-08-19 19:36:37, Ira Weiny wrote: > On Wed, Aug 07, 2019 at 10:46:49AM +0200, Michal Hocko wrote: > > > So I think your debug option and my suggested renaming serve a bit > > > different purposes (and thus both make sense). If you do the renaming, you > > > can just grep to see

[Intel-gfx] [CI] drm/i915: Replace global bsd_dispatch_index with random seed

2019-08-09 Thread Chris Wilson
We keep a global seed for the legacy BSD round-robin selector, but in our testing of multiple simultaneous client workloads, a random seed spreads the load more evenly. (As even as an initial round-robin selector can be!) Removing the global is one less variable we have to find a home for! We can

Re: [Intel-gfx] [PATCH] drm/i915: Replace global bsd_dispatch_index with random seed

2019-08-09 Thread Chris Wilson
Quoting Joonas Lahtinen (2019-08-09 09:04:56) > Quoting Chris Wilson (2019-08-08 12:27:48) > > We keep a global seed for the legacy BSD round-robin selector, but in > > our testing of multiple simultaneous client workloads, a random seed > > spreads the load more evenly. (As even as an initial

Re: [Intel-gfx] [PATCH] drm/i915: Replace global bsd_dispatch_index with random seed

2019-08-09 Thread Joonas Lahtinen
Quoting Chris Wilson (2019-08-08 12:27:48) > We keep a global seed for the legacy BSD round-robin selector, but in > our testing of multiple simultaneous client workloads, a random seed > spreads the load more evenly. (As even as an initial round-robin selector > can be!) A sentence could be

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+

2019-08-09 Thread Patchwork
== Series Details == Series: drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+ URL : https://patchwork.freedesktop.org/series/64920/ State : success == Summary == CI Bug Log - changes from CI_DRM_6657_full -> Patchwork_13924_full

Re: [Intel-gfx] [RFC 0/3] Display uncore

2019-08-09 Thread Jani Nikula
On Thu, 08 Aug 2019, Lucas De Marchi wrote: > On Thu, Aug 08, 2019 at 09:47:56AM -0700, Daniele Ceraolo Spurio wrote: >> >> >>On 8/8/19 6:58 AM, Jani Nikula wrote: >>>On Thu, 08 Aug 2019, Chris Wilson wrote: Quoting Daniele Ceraolo Spurio (2019-08-08 02:44:20) >I've been trying to

[Intel-gfx] [PATCH] drm/i915/execlists: Backtrack along timeline

2019-08-09 Thread Chris Wilson
After a preempt-to-busy, we may find an active request that is caught between execution states. Walk back along the timeline instead of the execution list to be safe. [ 106.417541] i915 :00:02.0: Resetting rcs0 for preemption time out [ 106.417659]

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: split out uncore_mmio_debug

2019-08-09 Thread Patchwork
== Series Details == Series: drm/i915: split out uncore_mmio_debug URL : https://patchwork.freedesktop.org/series/64941/ State : success == Summary == CI Bug Log - changes from CI_DRM_6661 -> Patchwork_13931 Summary --- **SUCCESS**

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: split out uncore_mmio_debug

2019-08-09 Thread Patchwork
== Series Details == Series: drm/i915: split out uncore_mmio_debug URL : https://patchwork.freedesktop.org/series/64941/ State : warning == Summary == $ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915: split out uncore_mmio_debug +drivers/gpu/drm/i915/intel_uncore.c:1231:1:

[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Fix HW readout for crtc_clock in HDMI mode (rev2)

2019-08-09 Thread Patchwork
== Series Details == Series: drm/i915: Fix HW readout for crtc_clock in HDMI mode (rev2) URL : https://patchwork.freedesktop.org/series/64909/ State : failure == Summary == CI Bug Log - changes from CI_DRM_6657_full -> Patchwork_13923_full

[Intel-gfx] [CI] drm/i915: split out uncore_mmio_debug

2019-08-09 Thread Chris Wilson
From: Daniele Ceraolo Spurio Multiple uncore structures will share the debug infrastructure, so move it to a common place and add extra locking around it. Also, since we now have a separate object, it is cleaner to have dedicated functions working on the object to stop and restart the mmio

[Intel-gfx] [PATCH i-g-t] i915/perf_pmu: Flush idle work before waiting for suspend

2019-08-09 Thread Chris Wilson
Runtime suspend kicks in quicker if we flush any idle work that may been accrued. Signed-off-by: Chris Wilson --- tests/perf_pmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/perf_pmu.c b/tests/perf_pmu.c index d392a67d4..351090710 100644 --- a/tests/perf_pmu.c +++

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Make debugfs/per_file_stats scale better

2019-08-09 Thread Patchwork
== Series Details == Series: drm/i915: Make debugfs/per_file_stats scale better URL : https://patchwork.freedesktop.org/series/64919/ State : success == Summary == CI Bug Log - changes from CI_DRM_6657_full -> Patchwork_13922_full Summary

<    1   2   3   4