Re: x86/ioapic: Cleanup the timer_works() irqflags mess

2020-12-10 Thread Jürgen Groß via Virtualization
On 10.12.20 21:15, Thomas Gleixner wrote: Mark tripped over the creative irqflags handling in the IO-APIC timer delivery check which ends up doing: local_irq_save(flags); local_irq_enable(); local_irq_restore(flags); which triggered a new consistency check he's

Re: [PATCH net] vhost_net: fix high cpu load when sendmsg fails

2020-12-10 Thread Jason Wang
On 2020/12/9 下午9:27, wangyunjian wrote: -Original Message- From: Michael S. Tsirkin [mailto:m...@redhat.com] Sent: Wednesday, December 9, 2020 8:50 PM To: wangyunjian Cc: jasow...@redhat.com; virtualization@lists.linux-foundation.org; net...@vger.kernel.org; Lilijun (Jerry) ;

x86/ioapic: Cleanup the timer_works() irqflags mess

2020-12-10 Thread Thomas Gleixner
Mark tripped over the creative irqflags handling in the IO-APIC timer delivery check which ends up doing: local_irq_save(flags); local_irq_enable(); local_irq_restore(flags); which triggered a new consistency check he's working on required for replacing the POPF based

Re: [PATCH v2 13/20] drm/nouveau: Remove references to struct drm_device.pdev

2020-12-10 Thread Jeremy Cline
On Thu, Dec 10, 2020 at 08:56:08AM +0100, Thomas Zimmermann wrote: > Hi > > Am 09.12.20 um 19:04 schrieb Jeremy Cline: > > Hi, > > > > On Tue, Dec 01, 2020 at 11:35:35AM +0100, Thomas Zimmermann wrote: > > > Using struct drm_device.pdev is deprecated. Convert nouveau to struct > > >

Re: [RFC PATCH 16/27] virtio: Expose virtqueue_alloc_element

2020-12-10 Thread Stefan Hajnoczi
On Wed, Dec 09, 2020 at 07:46:49PM +0100, Eugenio Perez Martin wrote: > On Tue, Dec 8, 2020 at 9:26 AM Stefan Hajnoczi wrote: > > > > On Fri, Nov 20, 2020 at 07:50:54PM +0100, Eugenio Pérez wrote: > > > Specify VirtQueueElement * as return type makes no harm at this moment. > > > > The reason for

Re: [RFC PATCH 13/27] vhost: Send buffers to device

2020-12-10 Thread Stefan Hajnoczi
On Wed, Dec 09, 2020 at 07:41:23PM +0100, Eugenio Perez Martin wrote: > On Tue, Dec 8, 2020 at 9:16 AM Stefan Hajnoczi wrote: > > On Fri, Nov 20, 2020 at 07:50:51PM +0100, Eugenio Pérez wrote: > > > +while (true) { > > > +int r; > > > +if (virtio_queue_full(vq)) {

Re: [RFC PATCH 07/27] vhost: Route guest->host notification through qemu

2020-12-10 Thread Stefan Hajnoczi
On Wed, Dec 09, 2020 at 06:08:14PM +0100, Eugenio Perez Martin wrote: > On Mon, Dec 7, 2020 at 6:42 PM Stefan Hajnoczi wrote: > > On Fri, Nov 20, 2020 at 07:50:45PM +0100, Eugenio Pérez wrote: > > > +{ > > > +struct vhost_vring_file file = { > > > +.index = idx > > > +}; > > > +

Re: [PATCH v2 13/20] drm/nouveau: Remove references to struct drm_device.pdev

2020-12-10 Thread Thomas Zimmermann
Hi Am 09.12.20 um 19:04 schrieb Jeremy Cline: Hi, On Tue, Dec 01, 2020 at 11:35:35AM +0100, Thomas Zimmermann wrote: Using struct drm_device.pdev is deprecated. Convert nouveau to struct drm_device.dev. No functional changes. Signed-off-by: Thomas Zimmermann Cc: Ben Skeggs ---

Re: [PATCH v2 09/20] drm/i915: Remove references to struct drm_device.pdev

2020-12-10 Thread Thomas Zimmermann
Hi Am 10.12.20 um 10:03 schrieb Jani Nikula: On Tue, 08 Dec 2020, Thomas Zimmermann wrote: ping for a review of the i915 patches What did you have in mind regarding merging the series? Should we just pick the patches up? Originally I thought that individual trees would merge their rsp

Re: [RFC PATCH 05/27] vhost: Add hdev->dev.sw_lm_vq_handler

2020-12-10 Thread Stefan Hajnoczi
On Wed, Dec 09, 2020 at 04:02:56PM +0100, Eugenio Perez Martin wrote: > On Mon, Dec 7, 2020 at 5:52 PM Stefan Hajnoczi wrote: > > On Fri, Nov 20, 2020 at 07:50:43PM +0100, Eugenio Pérez wrote: > > > diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c > > > index 9179013ac4..9a69ae3598 100644 >

Re: [PATCH v2 05/12] x86: rework arch_local_irq_restore() to not use popf

2020-12-10 Thread Mark Rutland
On Wed, Dec 09, 2020 at 07:54:26PM +0100, Thomas Gleixner wrote: > On Wed, Dec 09 2020 at 18:15, Mark Rutland wrote: > > In arch/x86/kernel/apic/io_apic.c's timer_irq_works() we do: > > > > local_irq_save(flags); > > local_irq_enable(); > > > > [ trigger an IRQ here ] > > > >

Re: [RFC PATCH 00/27] vDPA software assisted live migration

2020-12-10 Thread Jason Wang
On 2020/12/9 下午11:57, Stefan Hajnoczi wrote: On Wed, Dec 09, 2020 at 04:26:50AM -0500, Jason Wang wrote: - Original Message - On Fri, Nov 20, 2020 at 07:50:38PM +0100, Eugenio Pérez wrote: This series enable vDPA software assisted live migration for vhost-net devices. This is a new

Re: [PATCH v1] vdpa/mlx5: Use write memory barrier after updating CQ index

2020-12-10 Thread Jason Wang
On 2020/12/9 下午10:00, Eli Cohen wrote: Make sure to put dma write memory barrier after updating CQ consumer index so the hardware knows that there are available CQE slots in the queue. Failure to do this can cause the update of the RX doorbell record to get updated before the CQ consumer index

Re: [PATCH v2 09/20] drm/i915: Remove references to struct drm_device.pdev

2020-12-10 Thread Jani Nikula
On Tue, 08 Dec 2020, Thomas Zimmermann wrote: > ping for a review of the i915 patches What did you have in mind regarding merging the series? Should we just pick the patches up? BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center ___