RE: [PATCH v4 07/14] iommu: make map, unmap and flush all take both an order and a count

2020-08-13 Thread Tian, Kevin
> From: Jan Beulich > Sent: Thursday, August 6, 2020 5:57 PM > > On 04.08.2020 15:42, Paul Durrant wrote: > > From: Paul Durrant > > > > At the moment iommu_map() and iommu_unmap() take a page order but > not a > > count, whereas iommu_iotlb_flush() takes a count but not a page order. > > This p

[libvirt test] 152595: regressions - FAIL

2020-08-13 Thread osstest service owner
flight 152595 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/152595/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 6 libvirt-buildfail REGR. vs. 151777 build-i386-libvirt

RE: [PATCH v4 06/14] iommu: flush I/O TLB if iommu_map() or iommu_unmap() fail

2020-08-13 Thread Tian, Kevin
> From: Paul Durrant > Sent: Tuesday, August 4, 2020 9:42 PM > > From: Paul Durrant > > This patch adds a full I/O TLB flush to the error paths of iommu_map() and > iommu_unmap(). > > Without this change callers need constructs such as: > > rc = iommu_map/unmap(...) > err = iommu_flush(...) >

RE: [PATCH v4 03/14] x86/iommu: convert VT-d code to use new page table allocator

2020-08-13 Thread Tian, Kevin
> From: Paul Durrant > Sent: Tuesday, August 4, 2020 9:42 PM > > From: Paul Durrant > > This patch converts the VT-d code to use the new IOMMU page table > allocator > function. This allows all the free-ing code to be removed (since it is now > handled by the general x86 code) which reduces TLB

RE: [PATCH v4 01/14] x86/iommu: re-arrange arch_iommu to separate common fields...

2020-08-13 Thread Tian, Kevin
> From: Paul Durrant > Sent: Tuesday, August 4, 2020 9:42 PM > > From: Paul Durrant > > ... from those specific to VT-d or AMD IOMMU, and put the latter in a union. > > There is no functional change in this patch, although the initialization of > the 'mapped_rmrrs' list occurs slightly later i

RE: [PATCH 1/5] x86/hvm: change EOI exit bitmap helper parameter

2020-08-13 Thread Tian, Kevin
> From: Roger Pau Monne > Sent: Wednesday, August 12, 2020 8:47 PM arameter > > Change the last parameter of the update_eoi_exit_bitmap helper to be a > set/clear boolean instead of a triggering field. This is already > inline with how the function is implemented, and will allow deciding > whethe

RE: [PATCH] x86/vmx: reorder code in vmx_deliver_posted_intr

2020-08-13 Thread Tian, Kevin
> From: Roger Pau Monne > Sent: Thursday, July 30, 2020 10:03 PM > > Remove the unneeded else branch, which allows to reduce the > indentation of a larger block of code, while making the flow of the > function more obvious. > > No functional change intended. > > Signed-off-by: Roger Pau Monné

[xen-unstable test] 152586: regressions - FAIL

2020-08-13 Thread osstest service owner
flight 152586 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/152586/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-debianhvm-i386-xsm 10 debian-hvm-install fail REGR. vs. 152566 Tests wh

[ovmf test] 152587: all pass - PUSHED

2020-08-13 Thread osstest service owner
flight 152587 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/152587/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 3633d5309f67550e2369776b37220674ad1b623c baseline version: ovmf e6042aec1bc2bf3a2eaf4

[linux-linus test] 152584: regressions - FAIL

2020-08-13 Thread osstest service owner
flight 152584 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/152584/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-i386-xl-qemuu-ws16-amd64 7 xen-boot fail REGR. vs. 152332 test-amd64-i386-xl-

[PATCH] x86/pci: fix xen.c build error when CONFIG_ACPI is not set

2020-08-13 Thread Randy Dunlap
changed, 1 insertion(+) --- linux-next-20200813.orig/arch/x86/pci/xen.c +++ linux-next-20200813/arch/x86/pci/xen.c @@ -26,6 +26,7 @@ #include #include #include +#include #include static int xen_pcifront_enable_irq(struct pci_dev *dev)

Re: [RFC PATCH V1 04/12] xen/arm: Introduce arch specific bits for IOREQ/DM features

2020-08-13 Thread Julien Grall
On Thu, 13 Aug 2020 at 21:40, Oleksandr Tyshchenko wrote: > > > Hi > > Sorry for the possible format issue. > > On Thu, Aug 13, 2020 at 9:42 PM Oleksandr wrote: >> >> >> On 11.08.20 20:50, Julien Grall wrote: >> >> Hi Julien >> >> > >> > >> > On 11/08/2020 18:09, Oleksandr wrote: >> >> >> >> On 0

Re: [RFC PATCH V1 04/12] xen/arm: Introduce arch specific bits for IOREQ/DM features

2020-08-13 Thread Oleksandr
On 13.08.20 23:36, Julien Grall wrote: Hi Julien On 13/08/2020 19:41, Oleksandr wrote: Rebooting domain 2 root@generic-armv8-xt-dom0:~# (XEN) Xen BUG at ...tAUTOINC+bb71237a55-r0/git/xen/include/xen/mm.h:683 (XEN) [ Xen-4.14.0  arm64  debug=y   Not tainted ] (XEN) CPU:    3 (XEN)

Re: [PATCH 2/5] x86/vlapic: introduce an EOI callback mechanism

2020-08-13 Thread Roger Pau Monné
On Thu, Aug 13, 2020 at 03:33:37PM +0100, Andrew Cooper wrote: > On 12/08/2020 13:47, Roger Pau Monne wrote: > > diff --git a/xen/arch/x86/hvm/vlapic.c b/xen/arch/x86/hvm/vlapic.c > > index 7b5c633033..7369be468b 100644 > > --- a/xen/arch/x86/hvm/vlapic.c > > +++ b/xen/arch/x86/hvm/vlapic.c > > @@

Re: [RFC PATCH V1 04/12] xen/arm: Introduce arch specific bits for IOREQ/DM features

2020-08-13 Thread Oleksandr Tyshchenko
Hi Sorry for the possible format issue. On Thu, Aug 13, 2020 at 9:42 PM Oleksandr wrote: > > On 11.08.20 20:50, Julien Grall wrote: > > Hi Julien > > > > > > > On 11/08/2020 18:09, Oleksandr wrote: > >> > >> On 05.08.20 12:32, Julien Grall wrote: > >> > >> Hi Julien, Stefano > >> > >>> > >

Re: [RFC PATCH V1 04/12] xen/arm: Introduce arch specific bits for IOREQ/DM features

2020-08-13 Thread Julien Grall
On 13/08/2020 19:41, Oleksandr wrote: Rebooting domain 2 root@generic-armv8-xt-dom0:~# (XEN) Xen BUG at ...tAUTOINC+bb71237a55-r0/git/xen/include/xen/mm.h:683 (XEN) [ Xen-4.14.0  arm64  debug=y   Not tainted ] (XEN) CPU:    3 (XEN) PC: 00246f28 ioreq.c#hvm_free_ioreq_mfn+

Re: [RFC PATCH V1 01/12] hvm/ioreq: Make x86's IOREQ feature common

2020-08-13 Thread Julien Grall
On 13/08/2020 00:08, Stefano Stabellini wrote: It is very similar to your second patch with a small change on calling try_handle_mmio from handle_mmio and setting the register there. Do you think that would work? If I understood correctly what you had suggested and properly implemented then i

Re: linux-next: Tree for Aug 12 (x86: xen/pci)

2020-08-13 Thread Randy Dunlap
On 8/12/20 7:57 AM, Randy Dunlap wrote: > On 8/11/20 9:22 PM, Stephen Rothwell wrote: >> Hi all, >> > > > on x86_64: > > ../arch/x86/pci/xen.c: In function ‘pci_xen_init’: > ../arch/x86/pci/xen.c:410:2: error: implicit declaration of function > ‘acpi_noirq_set’; did you mean ‘acpi_irq_get’? >

Re: [RFC PATCH V1 04/12] xen/arm: Introduce arch specific bits for IOREQ/DM features

2020-08-13 Thread Oleksandr
On 11.08.20 20:50, Julien Grall wrote: Hi Julien On 11/08/2020 18:09, Oleksandr wrote: On 05.08.20 12:32, Julien Grall wrote: Hi Julien, Stefano diff --git a/xen/include/asm-arm/p2m.h b/xen/include/asm-arm/p2m.h index 5fdb6e8..5823f11 100644 --- a/xen/include/asm-arm/p2m.h +++ b/xen/

Re: [PATCH 2/5] x86/vlapic: introduce an EOI callback mechanism

2020-08-13 Thread Andrew Cooper
On 12/08/2020 13:47, Roger Pau Monne wrote: > diff --git a/xen/arch/x86/hvm/vlapic.c b/xen/arch/x86/hvm/vlapic.c > index 7b5c633033..7369be468b 100644 > --- a/xen/arch/x86/hvm/vlapic.c > +++ b/xen/arch/x86/hvm/vlapic.c > @@ -159,8 +160,26 @@ void vlapic_set_irq(struct vlapic *vlapic, uint8_t vec,

Re: [PATCH 1/5] x86/hvm: change EOI exit bitmap helper parameter

2020-08-13 Thread Andrew Cooper
On 12/08/2020 13:47, Roger Pau Monne wrote: > Change the last parameter of the update_eoi_exit_bitmap helper to be a > set/clear boolean instead of a triggering field. This is already > inline with how the function is implemented, and will allow deciding "in line" > whether an exit is required by

Re: [PATCH v3] xen/arm: Convert runstate address during hypcall

2020-08-13 Thread Julien Grall
Hi Bertrand, On 31/07/2020 14:26, Bertrand Marquis wrote: +{ +gprintk(XENLOG_WARNING, "Cannot map runstate pointer at 0x%"PRIvaddr +": Invalid offset\n", vaddr); We usually enforce 80 character per lines except for format string. So it is easier to grep them in the

Re: [PATCH v3] xen/arm: Convert runstate address during hypcall

2020-08-13 Thread Julien Grall
Hi Bertrand, On 31/07/2020 14:16, Bertrand Marquis wrote: On 30 Jul 2020, at 22:50, Julien Grall wrote: On 30/07/2020 11:24, Bertrand Marquis wrote: At the moment on Arm, a Linux guest running with KTPI enabled will cause the following error when a context switch happens in user mode: (XEN)

Re: [PATCH v8 03/15] x86/mm: rewrite virt_to_xen_l*e

2020-08-13 Thread Julien Grall
Hi, On 13/08/2020 17:08, Hongyan Xia wrote: On Fri, 2020-08-07 at 16:05 +0200, Jan Beulich wrote: On 27.07.2020 16:21, Hongyan Xia wrote: From: Wei Liu Rewrite those functions to use the new APIs. Modify its callers to unmap the pointer returned. Since alloc_xen_pagetable_new() is almost nev

Re: [PATCH v2 0/5] Fixes and improvements for Xen pvdrm

2020-08-13 Thread Oleksandr Andrushchenko
On 8/13/20 6:13 PM, Jürgen Groß wrote: > On 13.08.20 17:10, Oleksandr Andrushchenko wrote: >> >> On 8/13/20 6:02 PM, Jürgen Groß wrote: >>> On 13.08.20 08:21, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko >>> >>> Series pushed to: >>> >>> xen/tip.git for-linus-5.9 >>> >> The t

Re: [PATCH v8 03/15] x86/mm: rewrite virt_to_xen_l*e

2020-08-13 Thread Hongyan Xia
On Fri, 2020-08-07 at 16:05 +0200, Jan Beulich wrote: > On 27.07.2020 16:21, Hongyan Xia wrote: > > From: Wei Liu > > > > Rewrite those functions to use the new APIs. Modify its callers to > > unmap > > the pointer returned. Since alloc_xen_pagetable_new() is almost > > never > > useful unless ac

Re: [PATCH] arch/x86/setup.c: Ignore early boot parameters like no-real-mode

2020-08-13 Thread Andrew Cooper
On 13/08/2020 00:35, Andrew Cooper wrote: > On 12/08/2020 20:06, Trammell Hudson wrote: >> On Wednesday, August 12, 2020 8:16 PM, Andrew Cooper >> wrote: >>> If you want, I can sort that out as a prereq patch, and rebase this one >>> on top? >> That sounds fine to me. They really are two separate

[libvirt test] 152585: regressions - FAIL

2020-08-13 Thread osstest service owner
flight 152585 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/152585/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 6 libvirt-buildfail REGR. vs. 151777 build-i386-libvirt

Re: [PATCH v2 0/5] Fixes and improvements for Xen pvdrm

2020-08-13 Thread Jürgen Groß
On 13.08.20 17:10, Oleksandr Andrushchenko wrote: On 8/13/20 6:02 PM, Jürgen Groß wrote: On 13.08.20 08:21, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Series pushed to: xen/tip.git for-linus-5.9 The top patch has strange title though: "Subject: [PATCH v2 5/5] drm/xen-f

[xen-unstable-smoke test] 152591: tolerable all pass - PUSHED

2020-08-13 Thread osstest service owner
flight 152591 xen-unstable-smoke real [real] http://logs.test-lab.xenproject.org/osstest/logs/152591/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-libvirt 13 migrate-support-checkfail never pass test-arm64-arm64-xl-xsm 1

Re: [PATCH v2 0/5] Fixes and improvements for Xen pvdrm

2020-08-13 Thread Oleksandr Andrushchenko
On 8/13/20 6:02 PM, Jürgen Groß wrote: > On 13.08.20 08:21, Oleksandr Andrushchenko wrote: >> From: Oleksandr Andrushchenko > > Series pushed to: > > xen/tip.git for-linus-5.9 > The top patch has strange title though: "Subject: [PATCH v2 5/5] drm/xen-front: Pass dumb buffer data offset to the b

Re: [PATCH v2 0/5] Fixes and improvements for Xen pvdrm

2020-08-13 Thread Jürgen Groß
On 13.08.20 08:21, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Series pushed to: xen/tip.git for-linus-5.9 Juergen

Re: [PATCH] x86 / viridian: remove the viridian_vcpu msg_pending bit mask

2020-08-13 Thread Roger Pau Monné
On Thu, Aug 13, 2020 at 10:57:23AM +0100, Paul Durrant wrote: > From: Paul Durrant > > The mask does not actually serve a useful purpose as we only use the SynIC > for timer messages. Oh, I see. I assume it doesn't make sense because there can only be a single message pending (a timer one), and

[qemu-mainline test] 152573: tolerable FAIL - PUSHED

2020-08-13 Thread osstest service owner
flight 152573 qemu-mainline real [real] http://logs.test-lab.xenproject.org/osstest/logs/152573/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-armhf-armhf-xl-rtds 16 guest-start/debian.repeat fail blocked in 152497 test-amd64-amd64-xl-qemuu-win7-amd6

Re: [PATCH v4 2/2] xen: add helpers to allocate unpopulated memory

2020-08-13 Thread Roger Pau Monné
Your email client seems to set 'Reply-to:' to point to everyone on the 'Cc:' field, but not yourself, which is kind of weird. I've manually fixed it on this reply by moving everyone to the 'Cc:' field and setting you on 'To:'. On Thu, Aug 13, 2020 at 11:49:46AM +0200, Daniel Vetter wrote: > On Thu

Re: [PATCH 19/20] drm/xlnx: Initialize DRM driver instance with CMA helper macro

2020-08-13 Thread Thomas Zimmermann
Hi Am 13.08.20 um 15:36 schrieb Laurent Pinchart: > Hi Thomas, > > Thank you for the patch. > > On Thu, Aug 13, 2020 at 10:36:43AM +0200, Thomas Zimmermann wrote: >> The xlnx driver uses CMA helpers with default callback functions. >> Initialize the driver structure with the rsp CMA helper macro

Re: [Xen-devel] [PATCH v2] x86/hvm: re-work viridian APIC assist code

2020-08-13 Thread Roger Pau Monné
On Thu, Aug 13, 2020 at 09:10:31AM +0100, Paul Durrant wrote: > > -Original Message- > > From: Xen-devel On Behalf Of David > > Woodhouse > > Sent: 11 August 2020 14:25 > > To: Paul Durrant ; xen-devel@lists.xenproject.org; > > Roger Pau Monne > > > > Cc: Eslam Elnikety ; Andrew Cooper

Re: [PATCH 10/20] drm/omapdrm: Introduce GEM object functions

2020-08-13 Thread Laurent Pinchart
Hi Thomas, Thank you for the patch. On Thu, Aug 13, 2020 at 10:36:34AM +0200, Thomas Zimmermann wrote: > GEM object functions deprecate several similar callback interfaces in > struct drm_driver. This patch replaces the per-driver callbacks with > per-instance callbacks in omapdrm. > > Signed-of

Re: [PATCH 19/20] drm/xlnx: Initialize DRM driver instance with CMA helper macro

2020-08-13 Thread Laurent Pinchart
Hi Thomas, Thank you for the patch. On Thu, Aug 13, 2020 at 10:36:43AM +0200, Thomas Zimmermann wrote: > The xlnx driver uses CMA helpers with default callback functions. > Initialize the driver structure with the rsp CMA helper macro. The > driver is being converted to use GEM object functions a

Re: [PATCH 4/5] x86/viridian: switch synic to use the new EOI callback

2020-08-13 Thread Roger Pau Monné
On Thu, Aug 13, 2020 at 09:33:43AM +0100, Paul Durrant wrote: > > -Original Message- > > From: Roger Pau Monne > > Sent: 12 August 2020 13:47 > > To: xen-devel@lists.xenproject.org > > Cc: Roger Pau Monne ; Paul Durrant ; > > Wei Liu ; Jan > > Beulich ; Andrew Cooper > > Subject: [PATCH

Re: [PATCH 3/5] x86/vmsi: use the newly introduced EOI callbacks

2020-08-13 Thread Roger Pau Monné
On Thu, Aug 13, 2020 at 09:19:30AM +0100, Paul Durrant wrote: > > -Original Message- > > From: Roger Pau Monne > > Sent: 12 August 2020 13:47 > > To: xen-devel@lists.xenproject.org > > Cc: Roger Pau Monne ; Jan Beulich > > ; Andrew Cooper > > ; Wei Liu ; Paul Durrant > > > > Subject: [P

Re: [PATCH v4 2/2] xen: add helpers to allocate unpopulated memory

2020-08-13 Thread Roger Pau Monné
On Thu, Aug 13, 2020 at 08:33:37AM +0100, Christoph Hellwig wrote: > On Tue, Aug 11, 2020 at 11:44:47AM +0200, Roger Pau Monne wrote: > > If enabled (because ZONE_DEVICE is supported) the usage of the new > > functionality untangles Xen balloon and RAM hotplug from the usage of > > unpopulated phys

Re: [PATCH 18/20] drm/xen: Introduce GEM object functions

2020-08-13 Thread Oleksandr Andrushchenko
Hi, On 8/13/20 11:36 AM, Thomas Zimmermann wrote: > GEM object functions deprecate several similar callback interfaces in > struct drm_driver. This patch replaces the per-driver callbacks with > per-instance callbacks in xen. The only exception is gem_prime_mmap, > which is non-trivial to convert.

Re: [PATCH v2] x86 / viridian: remove the viridian_vcpu msg_pending bit mask

2020-08-13 Thread Wei Liu
On Thu, Aug 13, 2020 at 11:35:53AM +0100, Paul Durrant wrote: > From: Paul Durrant > > The mask does not actually serve a useful purpose as we only use the SynIC > for timer messages. Dropping the mask means that the EOM MSR handler > essentially becomes a no-op. This means we can avoid setting '

Re: [PATCH 12/20] drm/radeon: Introduce GEM object functions

2020-08-13 Thread Christian König
Am 13.08.20 um 12:41 schrieb Thomas Zimmermann: Hi Am 13.08.20 um 12:24 schrieb Christian König: Am 13.08.20 um 10:36 schrieb Thomas Zimmermann: GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instan

Re: [PATCH 12/20] drm/radeon: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
Hi Am 13.08.20 um 12:24 schrieb Christian König: > Am 13.08.20 um 10:36 schrieb Thomas Zimmermann: >> GEM object functions deprecate several similar callback interfaces in >> struct drm_driver. This patch replaces the per-driver callbacks with >> per-instance callbacks in radeon. >> >> Signed-off-

[PATCH v2] x86 / viridian: remove the viridian_vcpu msg_pending bit mask

2020-08-13 Thread Paul Durrant
From: Paul Durrant The mask does not actually serve a useful purpose as we only use the SynIC for timer messages. Dropping the mask means that the EOM MSR handler essentially becomes a no-op. This means we can avoid setting 'message_pending' for timer messages and hence avoid a VMEXIT for the EOM

Re: [PATCH 20/20] drm: Remove obsolete GEM and PRIME callbacks from struct drm_driver

2020-08-13 Thread Thomas Zimmermann
Hi Am 13.08.20 um 12:16 schrieb Sam Ravnborg: > Hi Thomas. > > On Thu, Aug 13, 2020 at 10:36:44AM +0200, Thomas Zimmermann wrote: >> Several GEM and PRIME callbacks have been deprecated in favor of >> per-instance GEM object functions. Remove the callbacks as they are >> now unused. The only exce

Re: [PATCH 12/20] drm/radeon: Introduce GEM object functions

2020-08-13 Thread Christian König
Am 13.08.20 um 10:36 schrieb Thomas Zimmermann: GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in radeon. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/radeon_drv.c

Re: [PATCH 01/20] drm/amdgpu: Introduce GEM object functions

2020-08-13 Thread Christian König
Am 13.08.20 um 10:36 schrieb Thomas Zimmermann: GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in amdgpu. The only exception is gem_prime_mmap, which is non-trivial to convert. Sign

RE: [PATCH] x86 / viridian: remove the viridian_vcpu msg_pending bit mask

2020-08-13 Thread Durrant, Paul
> -Original Message- > From: Roger Pau Monné > Sent: 13 August 2020 11:16 > To: Paul Durrant > Cc: xen-devel@lists.xenproject.org; Durrant, Paul ; > Wei Liu ; Jan > Beulich ; Andrew Cooper > Subject: RE: [EXTERNAL] [PATCH] x86 / viridian: remove the viridian_vcpu > msg_pending bit mask

Re: [PATCH 20/20] drm: Remove obsolete GEM and PRIME callbacks from struct drm_driver

2020-08-13 Thread Sam Ravnborg
Hi Thomas. On Thu, Aug 13, 2020 at 10:36:44AM +0200, Thomas Zimmermann wrote: > Several GEM and PRIME callbacks have been deprecated in favor of > per-instance GEM object functions. Remove the callbacks as they are > now unused. The only exception is .gem_prime_mmap, which is still > in use by sev

[PATCH] x86 / viridian: remove the viridian_vcpu msg_pending bit mask

2020-08-13 Thread Paul Durrant
From: Paul Durrant The mask does not actually serve a useful purpose as we only use the SynIC for timer messages. Dropping the mask means that the EOM MSR handler essentially becomes a no-op. This means we can avoid setting 'message_pending' for timer messages and hence avoid a VMEXIT for the EOM

Re: [PATCH v4 2/2] xen: add helpers to allocate unpopulated memory

2020-08-13 Thread Daniel Vetter
On Thu, Aug 13, 2020 at 09:54:20AM +0200, Roger Pau Monné wrote: > On Thu, Aug 13, 2020 at 08:33:37AM +0100, Christoph Hellwig wrote: > > On Tue, Aug 11, 2020 at 11:44:47AM +0200, Roger Pau Monne wrote: > > > If enabled (because ZONE_DEVICE is supported) the usage of the new > > > functionality unt

RE: [PATCH 4/5] x86/viridian: switch synic to use the new EOI callback

2020-08-13 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monné > Sent: 13 August 2020 09:58 > To: p...@xen.org > Cc: xen-devel@lists.xenproject.org; 'Wei Liu' ; 'Jan Beulich' > ; 'Andrew > Cooper' > Subject: Re: [PATCH 4/5] x86/viridian: switch synic to use the new EOI > callback > > On Thu, Aug 13, 202

Re: [PATCH 06/20] drm/i915: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
Hi Am 13.08.20 um 11:08 schrieb Jani Nikula: > On Thu, 13 Aug 2020, Thomas Zimmermann wrote: >> GEM object functions deprecate several similar callback interfaces in >> struct drm_driver. This patch replaces the per-driver callbacks with >> per-instance callbacks in i915. >> >> Signed-off-by: Tho

Re: [PATCH 06/20] drm/i915: Introduce GEM object functions

2020-08-13 Thread Jani Nikula
On Thu, 13 Aug 2020, Thomas Zimmermann wrote: > GEM object functions deprecate several similar callback interfaces in > struct drm_driver. This patch replaces the per-driver callbacks with > per-instance callbacks in i915. > > Signed-off-by: Thomas Zimmermann > --- > drivers/gpu/drm/i915/gem/i91

[PATCH 16/20] drm/vgem: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in vgem. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/v

[PATCH 13/20] drm/rockchip: Convert to drm_gem_object_funcs

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in rockchip. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann --- drivers/gpu/d

[PATCH 20/20] drm: Remove obsolete GEM and PRIME callbacks from struct drm_driver

2020-08-13 Thread Thomas Zimmermann
Several GEM and PRIME callbacks have been deprecated in favor of per-instance GEM object functions. Remove the callbacks as they are now unused. The only exception is .gem_prime_mmap, which is still in use by several drivers. What is also gone is gem_vm_ops in struct drm_driver. All drivers now us

[PATCH 05/20] drm/gma500: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in gma500. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/framebuffer.c | 2 ++ drivers/gpu/drm/gma500/gem.c | 1

[PATCH 09/20] drm/nouveau: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in nouveau. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/nouveau/nouveau_drm.c | 9 - drivers/gpu/drm/nouveau/nouve

[PATCH 12/20] drm/radeon: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in radeon. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/radeon_drv.c| 23 +-- drivers/gpu/drm/r

[PATCH 10/20] drm/omapdrm: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in omapdrm. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/omapdrm/omap_drv.c | 9 - drivers/gpu/drm/omapdrm/omap_gem.c

[PATCH 04/20] drm/exynos: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in exynos. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm

[PATCH 15/20] drm/vc4: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in vc4. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/vc

[PATCH 14/20] drm/tegra: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in tegra. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/tegra/drm.c | 4 drivers/gpu/drm/tegra/gem.c | 8 2 files

[PATCH 06/20] drm/i915: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in i915. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/i915/gem/i915_gem_object.c | 9 - drivers/gpu/drm/i915/i9

[PATCH 03/20] drm/etnaviv: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in etnaviv. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann --- drivers/gpu/dr

[PATCH 19/20] drm/xlnx: Initialize DRM driver instance with CMA helper macro

2020-08-13 Thread Thomas Zimmermann
The xlnx driver uses CMA helpers with default callback functions. Initialize the driver structure with the rsp CMA helper macro. The driver is being converted to use GEM object functions as part of this change. Two callbacks, .dumb_destroy and .gem_prime_import, were initialized to their default i

[PATCH 17/20] drm/vkms: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in vkms. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/vkms/vkms_drv.c | 8 drivers/gpu/drm/vkms/vkms_gem.c | 13

[PATCH 08/20] drm/msm: Introduce GEM object funcs

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in msm. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ms

[PATCH 18/20] drm/xen: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in xen. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/xe

[PATCH 02/20] drm/armada: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in armada. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/armada/armada_drv.c | 3 --- drivers/gpu/drm/armada/armada_gem.c | 12

[PATCH 11/20] drm/pl111: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in pl111. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/

[PATCH 07/20] drm/mediatek: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in mediatek. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann --- drivers/gpu/d

[PATCH 01/20] drm/amdgpu: Introduce GEM object functions

2020-08-13 Thread Thomas Zimmermann
GEM object functions deprecate several similar callback interfaces in struct drm_driver. This patch replaces the per-driver callbacks with per-instance callbacks in amdgpu. The only exception is gem_prime_mmap, which is non-trivial to convert. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm

[PATCH 00/20] Convert all remaining drivers to GEM object functions

2020-08-13 Thread Thomas Zimmermann
The GEM and PRIME related callbacks in struct drm_driver are deprecated in favor of GEM object functions in struct drm_gem_object_funcs. This patchset converts the remaining drivers to object functions and removes most of the obsolete interfaces. Patches #1 to #18 convert DRM drivers to GEM object

RE: [PATCH 4/5] x86/viridian: switch synic to use the new EOI callback

2020-08-13 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne > Sent: 12 August 2020 13:47 > To: xen-devel@lists.xenproject.org > Cc: Roger Pau Monne ; Paul Durrant ; Wei > Liu ; Jan > Beulich ; Andrew Cooper > Subject: [PATCH 4/5] x86/viridian: switch synic to use the new EOI callback > > Switch synic

RE: [PATCH 3/5] x86/vmsi: use the newly introduced EOI callbacks

2020-08-13 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne > Sent: 12 August 2020 13:47 > To: xen-devel@lists.xenproject.org > Cc: Roger Pau Monne ; Jan Beulich ; > Andrew Cooper > ; Wei Liu ; Paul Durrant > > Subject: [PATCH 3/5] x86/vmsi: use the newly introduced EOI callbacks > > Remove the uncon

RE: [Xen-devel] [PATCH v2] x86/hvm: re-work viridian APIC assist code

2020-08-13 Thread Paul Durrant
> -Original Message- > From: Xen-devel On Behalf Of David > Woodhouse > Sent: 11 August 2020 14:25 > To: Paul Durrant ; xen-devel@lists.xenproject.org; > Roger Pau Monne > > Cc: Eslam Elnikety ; Andrew Cooper > ; Shan Haitao > ; Jan Beulich > Subject: Re: [Xen-devel] [PATCH v2] x86/hv

[ovmf test] 152568: all pass - PUSHED

2020-08-13 Thread osstest service owner
flight 152568 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/152568/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf e6042aec1bc2bf3a2eaf4f2d3bfe9b90ef95948e baseline version: ovmf a3741780fe3535e19e02e

Re: [PATCH v4 2/2] xen: add helpers to allocate unpopulated memory

2020-08-13 Thread Christoph Hellwig
On Tue, Aug 11, 2020 at 11:44:47AM +0200, Roger Pau Monne wrote: > If enabled (because ZONE_DEVICE is supported) the usage of the new > functionality untangles Xen balloon and RAM hotplug from the usage of > unpopulated physical memory ranges to map foreign pages, which is the > correct thing to do

Re: [PATCH v2 0/5] Fixes and improvements for Xen pvdrm

2020-08-13 Thread Oleksandr Andrushchenko
On 8/13/20 10:05 AM, Jürgen Groß wrote: > On 13.08.20 08:32, Oleksandr Andrushchenko wrote: >> Juergen, Boris, >> >> can we please merge these via Xen Linux tree as I have collected enough >> Ack/R-b? >> >> The series has DRM patches, but those anyway are Xen related, so I think >> >> this should

Re: [PATCH v2 0/5] Fixes and improvements for Xen pvdrm

2020-08-13 Thread Jürgen Groß
On 13.08.20 08:32, Oleksandr Andrushchenko wrote: Juergen, Boris, can we please merge these via Xen Linux tree as I have collected enough Ack/R-b? The series has DRM patches, but those anyway are Xen related, so I think this should be fine from DRI point of view. Yes, fine with me. Juergen