search for: 296,6

Displaying 20 results from an estimated 130 matches for "296,6".

Did you mean: 286,6
2017 Aug 10
5
[PATCH 0/2] virtio_scsi: Set can_queue based on size of virtqueue.
Earlier discussion: https://lkml.org/lkml/2017/8/4/601 "Increased memory usage with scsi-mq" Downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1478201
2017 Aug 10
5
[PATCH 0/2] virtio_scsi: Set can_queue based on size of virtqueue.
Earlier discussion: https://lkml.org/lkml/2017/8/4/601 "Increased memory usage with scsi-mq" Downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1478201
2002 Jul 08
1
PATH problem in Irix.
...get the default, which is missing /usr/bsd (which on Irix has things like head, more, lpr) and /usr/bin/X11. This annoys the users, who want X11 to work. I added a test to defines.h, as follows: --- openssh-3.4p1/defines.h Mon Jun 24 09:26:49 2002 +++ defines.h Sun Jul 7 00:33:08 2002 @@ -296,6 +296,14 @@ # define _PATH_STDPATH USER_PATH #endif +#ifdef _PATH_USERPATH +# ifdef _PATH_STDPATH +# undef _PATH_STDPATH +# endif +# define _PATH_STDPATH _PATH_USERPATH +#endif + + #ifndef _PATH_STDPATH # define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin" #endif There's a...
2013 Jul 24
4
[PATCH] [RFC] drm/nouveau: bring back hdmi audio device after switcheroo power down
...u/drm/nouveau/nouveau_vga.c | 17 +++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index 6197266..12a6240 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -296,6 +296,31 @@ static int nouveau_drm_probe(struct pci_dev *pdev, return 0; } +#define PCI_CLASS_MULTIMEDIA_HD_AUDIO 0x0403 + +static void +nouveau_get_hdmi_dev(struct drm_device *dev) +{ + struct nouveau_drm *drm = dev->dev_private; + struct pci_dev *pdev = dev->pdev; + + /* subfunction o...
2013 Nov 20
1
[PATCH net 2/3] virtio-net: fix num calculation on frag skb allocation failure
...etty clear how the code works. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> but I don't think we need to apply this. diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 11d9cc9..1cc2e43 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -296,6 +296,14 @@ static struct sk_buff *page_to_skb(struct receive_queue *rq, return skb; } +static void *rq_get_buf(struct receive_queue *rq, unsigned int *len) +{ + void *buf = virtqueue_get_buf(rq->vq, len); + if (buf) + rq->num--; + return buf; +} + static struct sk_buff *receive_merge...
2013 Nov 20
1
[PATCH net 2/3] virtio-net: fix num calculation on frag skb allocation failure
...etty clear how the code works. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> but I don't think we need to apply this. diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 11d9cc9..1cc2e43 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -296,6 +296,14 @@ static struct sk_buff *page_to_skb(struct receive_queue *rq, return skb; } +static void *rq_get_buf(struct receive_queue *rq, unsigned int *len) +{ + void *buf = virtqueue_get_buf(rq->vq, len); + if (buf) + rq->num--; + return buf; +} + static struct sk_buff *receive_merge...
2014 Feb 26
2
[PATCH v5 3/8] qspinlock, x86: Add x86 specific optimization for 2 contending tasks
...unfairness here won't change the big picture. > + * So just take the lock and return. > + */ > + return 1; > + } > + /* > + * Nothing need to be done if the old value is > + * (_QSPINLOCK_WAITING | _QSPINLOCK_LOCKED). > + */ > + return 0; > +} > @@ -296,6 +478,9 @@ void queue_spin_lock_slowpath(struct qspinlock *lock, int qsval) > return; > } > > +#ifdef queue_code_xchg > + prev_qcode = queue_code_xchg(lock, my_qcode); > +#else > /* > * Exchange current copy of the queue node code > */ > @@ -329,6 +514,...
2014 Feb 26
2
[PATCH v5 3/8] qspinlock, x86: Add x86 specific optimization for 2 contending tasks
...unfairness here won't change the big picture. > + * So just take the lock and return. > + */ > + return 1; > + } > + /* > + * Nothing need to be done if the old value is > + * (_QSPINLOCK_WAITING | _QSPINLOCK_LOCKED). > + */ > + return 0; > +} > @@ -296,6 +478,9 @@ void queue_spin_lock_slowpath(struct qspinlock *lock, int qsval) > return; > } > > +#ifdef queue_code_xchg > + prev_qcode = queue_code_xchg(lock, my_qcode); > +#else > /* > * Exchange current copy of the queue node code > */ > @@ -329,6 +514,...
2015 Dec 19
2
[PATCH] nvc0: add hardware ETC2 and ASTC support where possible
...+#define NV50_TIC_0_FMT_ASTC_2D_10X10 0x45 +#define NV50_TIC_0_FMT_ASTC_2D_12X10 0x54 +#define NV50_TIC_0_FMT_ASTC_2D_12X12 0x46 + #if NOUVEAU_DRIVER == 0xc0 # define NVXX_3D_VAF_SIZE(s) NVC0_3D_VERTEX_ATTRIB_FORMAT_SIZE_##s # define NVXX_3D_VAF_TYPE(t) NVC0_3D_VERTEX_ATTRIB_FORMAT_TYPE_##t @@ -296,6 +319,47 @@ const struct nv50_format nv50_format_table[PIPE_FORMAT_COUNT] = F3B(BPTC_RGB_FLOAT, NONE, C0, C1, C2, xx, FLOAT, BPTC_FLOAT, t), F3B(BPTC_RGB_UFLOAT, NONE, C0, C1, C2, xx, FLOAT, BPTC_UFLOAT, t), + F3B(ETC2_RGB8, NONE, C0, C1, C2, xx, UNORM, ETC2_RGB, t), + F3B(E...
2020 Sep 15
0
[PATCH v2 13/21] drm/rockchip: Convert to drm_gem_object_funcs
...amp;rockchip_drm_driver_fops, .name = DRIVER_NAME, diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_gem.c b/drivers/gpu/drm/rockchip/rockchip_drm_gem.c index 0055d86576f7..bddc7d99efe3 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_gem.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_gem.c @@ -296,6 +296,14 @@ static void rockchip_gem_release_object(struct rockchip_gem_object *rk_obj) kfree(rk_obj); } +static const struct drm_gem_object_funcs rockchip_gem_object_funcs = { + .free = rockchip_gem_free_object, + .get_sg_table = rockchip_gem_prime_get_sg_table, + .vmap = rockchip_gem_prime_...
2017 Aug 10
0
[PATCH 1/2] virtio: Reduce BUG if total_sg > virtqueue size to WARN.
...at redhat.com> --- drivers/virtio/virtio_ring.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index 5e1b548828e6..27cbc1eab868 100644 --- a/drivers/virtio/virtio_ring.c +++ b/drivers/virtio/virtio_ring.c @@ -296,7 +296,6 @@ static inline int virtqueue_add(struct virtqueue *_vq, } #endif - BUG_ON(total_sg > vq->vring.num); BUG_ON(total_sg == 0); head = vq->free_head; @@ -305,8 +304,10 @@ static inline int virtqueue_add(struct virtqueue *_vq, * buffers, then go indirect. FIXME: tune th...
2018 Dec 19
0
[PATCH 08/10] drm/virtio: drop fencing in virtio_gpu_resource_create_ioctl
...io_gpu_object *qobj; struct drm_gem_object *obj; uint32_t handle = 0; - struct list_head validate_list; - struct ttm_validate_buffer mainbuf; - struct virtio_gpu_fence *fence = NULL; - struct ww_acquire_ctx ticket; struct virtio_gpu_object_params params = { .pinned = false, }; @@ -300,9 +296,6 @@ static int virtio_gpu_resource_create_ioctl(struct drm_device *dev, void *data, return -EINVAL; } - INIT_LIST_HEAD(&validate_list); - memset(&mainbuf, 0, sizeof(struct ttm_validate_buffer)); - params.format = rc->format; params.width = rc->width; params.height = rc-...
2023 Oct 20
0
[PATCH] Clean up the regress directory with make clean
...patch removes the various keys and support files created during make tests. It might not be as compact as it could be, and I'd be happy to get comments on that, but it does work. diff --git a/Makefile.in b/Makefile.in index 70287f51f..0f1ef844d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -296,6 +296,45 @@ clean: regressclean rm -f regress/misc/sk-dummy/*.o rm -f regress/misc/sk-dummy/*.lo rm -f regress/misc/sk-dummy/sk-dummy.so + rm -f regress/agent-ca.pub + rm -f regress/agent.log + rm -f regress/allowed_signers + rm -f regress/aut...
2006 Aug 02
1
WINEPATH disappeared?
...documentation I could find on it was this snippet from Dec 2002. RCS file: /home/wine/wine/documentation/running.sgml,v retrieving revision 1.13 diff -u -r1.13 running.sgml --- documentation/running.sgml 19 Oct 2002 01:00:04 -0000 1.13 +++ documentation/running.sgml 15 Dec 2002 13:16:29 -0000 @@ -296,6 +296,17 @@ place the setting into /etc/profile, or also ~/.bashrc in the case of bash. </para> + <para> + Note however that there is an exception to the rule: + If you want to change the PATH environment variable, then of + course you can't modify it that wa...
2001 Apr 06
0
Protocol 1 not working in openssh-2.5.2p2
...e useful in anything but troubleshooting. YMMV. Please let me know if a proper fix is committed. Thanks, diff -Nurd openssh-2.5.2p2-orig/sshpty.c openssh-2.5.2p2/sshpty.c --- openssh-2.5.2p2-orig/sshpty.c Sun Mar 4 19:53:03 2001 +++ openssh-2.5.2p2/sshpty.c Thu Apr 5 19:41:55 2001 @@ -296,6 +296,10 @@ gid_t gid; mode_t mode; struct stat st; + char *dex; + + dex = index(ttyname, ' '); + *dex = 0; /* Determine the group to make the owner of the tty. */ grp = getgrnam("tty"); ===== -- Au ______________...
2001 Apr 06
0
Now Protocol 2 doesn't work ;)
Actually, this is a better workaround: --- openssh-2.5.2p2-orig/sshpty.c Sun Mar 4 19:53:03 2001 +++ openssh-2.5.2p2/sshpty.c Thu Apr 5 19:41:55 2001 @@ -296,6 +296,10 @@ gid_t gid; mode_t mode; struct stat st; + char *dex; + + if ((dex = index(ttyname, ' ')) != NULL) + *dex = 0; /* Determine the group to make the owner of the tty. */ grp = getgrnam("tty"); ===== --...
2011 Sep 08
0
[PATCH node] don't blacklist /etc/pki/tls/openssl.cnf
...ike Burns <mburns at redhat.com> --- recipe/common-minimizer.ks | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/recipe/common-minimizer.ks b/recipe/common-minimizer.ks index 0b33be7..4151f49 100644 --- a/recipe/common-minimizer.ks +++ b/recipe/common-minimizer.ks @@ -296,6 +296,7 @@ keep /lib/firmware/aic94xx-seq.fw drop /lib/kbd/consolefonts drop /etc/pki/tls +keep /etc/pki/tls/openssl.cnf drop /etc/pki/java drop /etc/pki/nssdb drop /etc/pki/rpm-gpg -- 1.7.4.4
2019 Mar 28
0
[PATCH v2 3/4] common/mltools: allow fd for machine readable output
...t; Some (open_out f) in + | File f -> Some (open_out f) + | Fd fd -> + (* Note that Unix.file_descr is really just an int. *) + Some (Unix.out_channel_of_descr (Obj.magic fd)) in machine_readable_channel := chan ); !machine_readable_channel @@ -296,6 +300,11 @@ let create_standard_options argspec ?anon_fun ?(key_opts = false) ?(machine_read | n -> error (f_"invalid output stream for --machine-readable: %s") fmt in machine_readable_output := Channel chan + | "fd" -> + (try...
2001 Jan 07
1
[PATCH] Caching passphrase in ssh-add.
...trlen(pass)); xfree(pass); - if (success) - break; strlcpy(msg, "Bad passphrase, try again", sizeof msg); } - } + } xfree(comment); if (ssh_add_identity(ac, private, saved_comment)) fprintf(stderr, "Identity added: %s (%s)\n", filename, saved_comment); @@ -296,6 +308,16 @@ delete_file(ac, buf); else add_file(ac, buf); + + snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir, SSH_CLIENT_ID_DSA); + if (deleting) + delete_file(ac, buf); + else + add_file(ac, buf); + } + if (last_passphrase) { + memset(last_passphrase, 0, strlen(last...
2012 Jan 26
1
[PATCH v2] libxl: fix mutex initialization
...0 ) { LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR, "Is xenstore daemon running?\n" diff -r f581bb82fecd -r 259112aee618 tools/libxl/libxl_internal.c --- a/tools/libxl/libxl_internal.c Sat Jan 14 19:04:48 2012 +0100 +++ b/tools/libxl/libxl_internal.c Sat Jan 14 19:04:48 2012 +0100 @@ -296,6 +296,33 @@ int libxl__file_reference_unmap(libxl_fi return 0; } +_hidden int libxl__init_recursive_mutex(libxl_ctx *ctx, pthread_mutex_t *lock) +{ + pthread_mutexattr_t attr; + int rc = 0; + + if (pthread_mutexattr_init(&attr) != 0) { + LIBXL__LOG_ERRNO(ctx, LIBXL__LOG...