search for: 480,12

Displaying 20 results from an estimated 22 matches for "480,12".

Did you mean: 40,12
2017 Sep 28
9
[PATCH net-next] vhost_net: do not stall on zerocopy depletion
...- return (nvq->upend_idx + vq->num - VHOST_MAX_PEND) % UIO_MAXIOV - == nvq->done_idx; + return (nvq->upend_idx + UIO_MAXIOV - nvq->done_idx) % UIO_MAXIOV > + min(VHOST_MAX_PEND, vq->num >> 2); } /* Expects to be always run from workqueue - which acts as @@ -480,12 +480,6 @@ static void handle_tx(struct vhost_net *net) if (zcopy) vhost_zerocopy_signal_used(net, vq); - /* If more outstanding DMAs, queue the work. - * Handle upend_idx wrap around - */ - if (unlikely(vhost_exceeds_maxpend(net))) - break; - head = vhost_net_tx_get_vq_desc(n...
2017 Sep 28
9
[PATCH net-next] vhost_net: do not stall on zerocopy depletion
...- return (nvq->upend_idx + vq->num - VHOST_MAX_PEND) % UIO_MAXIOV - == nvq->done_idx; + return (nvq->upend_idx + UIO_MAXIOV - nvq->done_idx) % UIO_MAXIOV > + min(VHOST_MAX_PEND, vq->num >> 2); } /* Expects to be always run from workqueue - which acts as @@ -480,12 +480,6 @@ static void handle_tx(struct vhost_net *net) if (zcopy) vhost_zerocopy_signal_used(net, vq); - /* If more outstanding DMAs, queue the work. - * Handle upend_idx wrap around - */ - if (unlikely(vhost_exceeds_maxpend(net))) - break; - head = vhost_net_tx_get_vq_desc(n...
2013 May 16
1
[RFC PATCH v2, part3 07/11] PCI, xen-pcifront: use new PCI interfaces to simplify implementation
...es, &iomem_resource); + pci_add_resource(&resources, &sd->busn_res); + b = pci_create_root_bus(&pdev->xdev->dev, bus, &pcifront_bus_ops, + sd, &resources); if (!b) { dev_err(&pdev->xdev->dev, "Error creating PCI Frontend Bus!\n"); @@ -480,12 +490,14 @@ static int pcifront_scan_root(struct pcifront_device *pdev, goto err_out; } - bus_entry->bus = b; + pci_set_host_bridge_release(to_pci_host_bridge(b->bridge), + pcifront_release_sd, sd); - list_add(&bus_entry->list, &pdev->root_buses); - - /* pci_sc...
2013 May 16
1
[RFC PATCH v2, part3 07/11] PCI, xen-pcifront: use new PCI interfaces to simplify implementation
...es, &iomem_resource); + pci_add_resource(&resources, &sd->busn_res); + b = pci_create_root_bus(&pdev->xdev->dev, bus, &pcifront_bus_ops, + sd, &resources); if (!b) { dev_err(&pdev->xdev->dev, "Error creating PCI Frontend Bus!\n"); @@ -480,12 +490,14 @@ static int pcifront_scan_root(struct pcifront_device *pdev, goto err_out; } - bus_entry->bus = b; + pci_set_host_bridge_release(to_pci_host_bridge(b->bridge), + pcifront_release_sd, sd); - list_add(&bus_entry->list, &pdev->root_buses); - - /* pci_sc...
2013 May 16
1
[RFC PATCH v2, part3 07/11] PCI, xen-pcifront: use new PCI interfaces to simplify implementation
...es, &iomem_resource); + pci_add_resource(&resources, &sd->busn_res); + b = pci_create_root_bus(&pdev->xdev->dev, bus, &pcifront_bus_ops, + sd, &resources); if (!b) { dev_err(&pdev->xdev->dev, "Error creating PCI Frontend Bus!\n"); @@ -480,12 +490,14 @@ static int pcifront_scan_root(struct pcifront_device *pdev, goto err_out; } - bus_entry->bus = b; + pci_set_host_bridge_release(to_pci_host_bridge(b->bridge), + pcifront_release_sd, sd); - list_add(&bus_entry->list, &pdev->root_buses); - - /* pci_sc...
2006 Nov 07
1
Patch for zoom with mixed resolutions
...roperly for me with mixed resolutions. I think this patch corrects that. (Oh, and on my previous comment I meant struts and not extents, if that was confusing to anyone. It was to me when I re-read it, heh.) ...MC -------------- next part -------------- --- plugins/zoom.c +++ plugins/zoom.c @@ -480,8 +480,12 @@ if (zs->currentZoom == 1.0f) { - zs->xTranslate = (x - s->width / 2) / (s->width * 2.0f); - zs->yTranslate = (y - s->height / 2) / (s->height * 2.0f); + CompOutput *o = &s->outputDev[zs->zoomOutput]; + + zs->xTranslate = (...
2017 Sep 28
0
[PATCH net-next] vhost_net: do not stall on zerocopy depletion
...t;num - VHOST_MAX_PEND) % UIO_MAXIOV > - == nvq->done_idx; > + return (nvq->upend_idx + UIO_MAXIOV - nvq->done_idx) % UIO_MAXIOV > > + min(VHOST_MAX_PEND, vq->num >> 2); > } > > /* Expects to be always run from workqueue - which acts as > @@ -480,12 +480,6 @@ static void handle_tx(struct vhost_net *net) > if (zcopy) > vhost_zerocopy_signal_used(net, vq); > > - /* If more outstanding DMAs, queue the work. > - * Handle upend_idx wrap around > - */ > - if (unlikely(vhost_exceeds_maxpend(net))) > - br...
2017 Sep 29
0
[PATCH net-next] vhost_net: do not stall on zerocopy depletion
...->num - VHOST_MAX_PEND) % UIO_MAXIOV > - == nvq->done_idx; > + return (nvq->upend_idx + UIO_MAXIOV - nvq->done_idx) % UIO_MAXIOV > > + min(VHOST_MAX_PEND, vq->num >> 2); > } > > /* Expects to be always run from workqueue - which acts as > @@ -480,12 +480,6 @@ static void handle_tx(struct vhost_net *net) > if (zcopy) > vhost_zerocopy_signal_used(net, vq); > > - /* If more outstanding DMAs, queue the work. > - * Handle upend_idx wrap around > - */ > - if (unlikely(vhost_exceeds_maxpend(net))) > - break...
2020 Sep 15
0
[PATCH v2 05/21] drm/gma500: Introduce GEM object functions
...e *file, struct drm_device *dev, u64 size, u32 *handlep, int stolen, u32 align); + #endif diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_drv.c index 34b4aae9a15e..b13376a6fb91 100644 --- a/drivers/gpu/drm/gma500/psb_drv.c +++ b/drivers/gpu/drm/gma500/psb_drv.c @@ -480,12 +480,6 @@ static const struct dev_pm_ops psb_pm_ops = { .runtime_idle = psb_runtime_idle, }; -static const struct vm_operations_struct psb_gem_vm_ops = { - .fault = psb_gem_fault, - .open = drm_gem_vm_open, - .close = drm_gem_vm_close, -}; - static const struct file_operations psb_gem_fops...
2013 Jun 21
4
[PATCH v2 0/3] deprecate usage of pci_scan_bus_parented()
From: Jiang Liu <jiang.liu at huawei.com> This patch tries to deprecate usage of pci_scan_bus_parented(). It applies to https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next V2: Kill pci_scan_bus_parented() instead of marking it as deprecated Jiang Liu (3): PCI: export three functions to support modular host bridge driver PCI, xen-pcifront: use new PCI interfaces to
2013 Jun 21
4
[PATCH v2 0/3] deprecate usage of pci_scan_bus_parented()
From: Jiang Liu <jiang.liu at huawei.com> This patch tries to deprecate usage of pci_scan_bus_parented(). It applies to https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next V2: Kill pci_scan_bus_parented() instead of marking it as deprecated Jiang Liu (3): PCI: export three functions to support modular host bridge driver PCI, xen-pcifront: use new PCI interfaces to
2013 Jun 21
4
[PATCH v2 0/3] deprecate usage of pci_scan_bus_parented()
From: Jiang Liu <jiang.liu at huawei.com> This patch tries to deprecate usage of pci_scan_bus_parented(). It applies to https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next V2: Kill pci_scan_bus_parented() instead of marking it as deprecated Jiang Liu (3): PCI: export three functions to support modular host bridge driver PCI, xen-pcifront: use new PCI interfaces to
2012 Sep 19
27
[PATCH] Persistent grant maps for xen blk drivers
...,8 @@ static int blkif_queue_request(struct request *req) /* Keep a private copy so we can reissue requests when recovering. */ info->shadow[id].req = *ring_req; - gnttab_free_grant_references(gref_head); + if (new_pers_gnts) + gnttab_free_grant_references(gref_head); return 0; } @@ -480,12 +552,13 @@ static int xlvbd_init_blk_queue(struct gendisk *gd, u16 sector_size) static void xlvbd_flush(struct blkfront_info *info) { blk_queue_flush(info->rq, info->feature_flush); - printk(KERN_INFO "blkfront: %s: %s: %s\n", + printk(KERN_INFO "blkfront: %s: %s: %s. Pe...
2009 Feb 26
1
[PATCH 0/7] OCFS2 locking fixes and lockdep annotations
Hi, the first four patches in this series fix locking problems in OCFS2 quota code (three of them can lead to potential deadlocks). The fifth patch reorders ip_alloc_sem for directories to be acquired before localalloc locks. Mark would you please merge these? The last two patches implement lockdep annotations for OCFS2 cluster locks. We annotate all the cluster locks except for special ones
2009 Jun 02
10
[PATCH 0/7] [RESEND] Fix some deadlocks in quota code and implement lockdep for cluster locks
Hi, I'm resending this patch series. It's rediffed against linux-next branch of Joel's git tree. The first four patches are obvious fixes of deadlocks in quota code and should go in as soon as possible. The other three patches implement lockdep support for OCFS2 cluster locks. So you can have a look whether the code make sence to you and possibly merge them. They should be NOP when
2020 Sep 15
40
[PATCH v2 00/21] Convert all remaining drivers to GEM object functions
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 #16 and #18 to #19 convert DRM drivers to GEM object functions, one by one. Each patch moves existing callbacks from struct drm_driver to
2015 Jun 14
2
[PATCH] pod: Use F<> for filenames instead of C<>.
....c> program. +version of the F<virt-dhcp-address.c> program. =head1 Get the operating system product name string -Save the following script into a file called C<product-name.sh>: +Save the following script into a file called F<product-name.sh>: #!/bin/sh - set -e @@ -480,12 +480,12 @@ SYSLINUX bootloader using either the guestfish commands C<syslinux> (for FAT-based guests) or C<extlinux> (for ext2/3/4 and btrfs-based guests). -This guide assumes a Linux guest where C</dev/sda1> is C</boot>, -C</boot/vmlinuz> is the guest kernel, a...
2020 Sep 23
25
[PATCH v3 00/22] Convert all remaining drivers to GEM object functions
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. Version 3 of this patchset mostly fixes drm_gem_prime_handle_to_fd and updates i.MX's dcss driver. The driver was missing from earlier versions and
2020 Aug 13
28
[PATCH 00/20] Convert all remaining drivers to GEM object functions
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 functions, one by one. Each patch moves existing callbacks from struct drm_driver to an instance of
2017 Nov 17
35
[PATCH 00/32] Updated State of my clk patches
Last update here: https://lists.freedesktop.org/archives/nouveau/2017-September/028848.html Basically big cleanup, reordering, simplifications and some renaming to make the code easier to read and to review. I also moved some bugfixes to the front so they can be merged prior the other patches. There was also a bug related to the therm daemon triggering a pstate change leading to PMU lockups,