Displaying 20 results from an estimated 61 matches for "442,6".
Did you mean:
42,6
2019 Feb 04
1
[PATCH] drm/bochs: fix bochs_gem_prime_mmap
...m>
---
drivers/gpu/drm/bochs/bochs_mm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/bochs/bochs_mm.c b/drivers/gpu/drm/bochs/bochs_mm.c
index 641a33f134..49463348a0 100644
--- a/drivers/gpu/drm/bochs/bochs_mm.c
+++ b/drivers/gpu/drm/bochs/bochs_mm.c
@@ -442,5 +442,6 @@ int bochs_gem_prime_mmap(struct drm_gem_object *obj,
{
struct bochs_bo *bo = gem_to_bochs_bo(obj);
- return ttm_fbdev_mmap(vma, &bo->bo);
+ bo->gem.vma_node.vm_node.start = bo->bo.vma_node.vm_node.start;
+ return drm_gem_prime_mmap(obj, vma);
}
--
2.9.3
2020 Aug 05
2
[PATCH 4/4] vhost: vdpa: report iova range
...+ range.start = vdpa_range.start;
> + range.end = vdpa_range.end;
> + }
> +
> + return copy_to_user(argp, &range, sizeof(range));
> +
> +}
> +
> static long vhost_vdpa_vring_ioctl(struct vhost_vdpa *v, unsigned int cmd,
> void __user *argp)
> {
> @@ -442,6 +466,9 @@ static long vhost_vdpa_unlocked_ioctl(struct file *filep,
> case VHOST_VDPA_SET_CONFIG_CALL:
> r = vhost_vdpa_set_config_call(v, argp);
> break;
> + case VHOST_VDPA_GET_IOVA_RANGE:
> + r = vhost_vdpa_get_iova_range(v, argp);
> + break;
> default:
>...
2020 Aug 05
2
[PATCH 4/4] vhost: vdpa: report iova range
...+ range.start = vdpa_range.start;
> + range.end = vdpa_range.end;
> + }
> +
> + return copy_to_user(argp, &range, sizeof(range));
> +
> +}
> +
> static long vhost_vdpa_vring_ioctl(struct vhost_vdpa *v, unsigned int cmd,
> void __user *argp)
> {
> @@ -442,6 +466,9 @@ static long vhost_vdpa_unlocked_ioctl(struct file *filep,
> case VHOST_VDPA_SET_CONFIG_CALL:
> r = vhost_vdpa_set_config_call(v, argp);
> break;
> + case VHOST_VDPA_GET_IOVA_RANGE:
> + r = vhost_vdpa_get_iova_range(v, argp);
> + break;
> default:
>...
2018 Jan 19
1
Re: [nbdkit PATCH v2 13/13] RFC: plugins: Add callbacks for FUA semantics
...n.h>
I'm in favour of only documenting the newest API. Of course we keep
the old one working, but we don't need to document it any longer.
This means that each instance of the #include is always preceeded by
‘#define NBDKIT_API_VERSION 2’ (or whatever is the latest version).
> @@ -442,6 +477,21 @@ recovered from), C<.pwrite> should call C<nbdkit_error> with an error
> message, and C<nbdkit_set_error> to record an appropriate error
> (unless C<errno> is sufficient), then return C<-1>.
>
> +If the plugin can provide efficient Forced Uni...
2020 Jun 17
0
[PATCH 4/4] vhost: vdpa: report iova range
...} else {
+ vdpa_range = ops->get_iova_range(vdpa);
+ range.start = vdpa_range.start;
+ range.end = vdpa_range.end;
+ }
+
+ return copy_to_user(argp, &range, sizeof(range));
+
+}
+
static long vhost_vdpa_vring_ioctl(struct vhost_vdpa *v, unsigned int cmd,
void __user *argp)
{
@@ -442,6 +466,9 @@ static long vhost_vdpa_unlocked_ioctl(struct file *filep,
case VHOST_VDPA_SET_CONFIG_CALL:
r = vhost_vdpa_set_config_call(v, argp);
break;
+ case VHOST_VDPA_GET_IOVA_RANGE:
+ r = vhost_vdpa_get_iova_range(v, argp);
+ break;
default:
r = vhost_dev_ioctl(&v->vdev, cm...
2023 Feb 23
0
[PATCH v2 11/13] vdpa: block migration if dev does not have _F_SUSPEND
...+++++++++++++
>>> 1 file changed, 21 insertions(+)
>>>
>>> diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c
>>> index 84a6b9690b..9d30cf9b3c 100644
>>> --- a/hw/virtio/vhost-vdpa.c
>>> +++ b/hw/virtio/vhost-vdpa.c
>>> @@ -442,6 +442,27 @@ static int vhost_vdpa_init(struct vhost_dev *dev, void *opaque, Error **errp)
>>> return 0;
>>> }
>>>
>>> + /*
>>> + * If dev->shadow_vqs_enabled at initialization that means the device has
>>> + * be...
2007 Aug 22
0
Branch 'vivi' - 2 commits - libswfdec-gtk/swfdec_source.c vivified/ui
...r;
+ g_signal_handlers_disconnect_by_func (movies->app, vivi_movie_list_reset, movies);
g_signal_handlers_disconnect_by_func (debugger, vivi_movie_list_removed, movies);
g_signal_handlers_disconnect_by_func (debugger, vivi_movie_list_added, movies);
g_object_unref (movies->app);
@@ -442,6 +452,7 @@ vivi_movie_list_new (ViviApplication *ap
g_object_ref (app);
movies->app = app;
debugger = app->debugger;
+ g_signal_connect (app, "notify::player", G_CALLBACK (vivi_movie_list_reset), movies);
g_signal_connect (debugger, "add", G_CALLBACK (vivi_mo...
2007 Jun 20
0
Branch 'as' - 2 commits - player/swfdec_debug_script.c player/swfdec_player_manager.c
...t to the start of every function, make sure the function has a body
This triggers an assertion otherwise
diff --git a/player/swfdec_player_manager.c b/player/swfdec_player_manager.c
index cb3e7b0..966c170 100644
--- a/player/swfdec_player_manager.c
+++ b/player/swfdec_player_manager.c
@@ -442,12 +442,6 @@ command_continue (SwfdecPlayerManager *m
}
static void
-set_breakpoint (gpointer script, gpointer debugger)
-{
- swfdec_debugger_set_breakpoint (debugger, script, 0);
-}
-
-static void
command_next (SwfdecPlayerManager *manager, const char *arg)
{
if (!swfdec_player_manager_g...
2020 Aug 06
0
[PATCH 4/4] vhost: vdpa: report iova range
...range.end = vdpa_range.end;
>> + }
>> +
>> + return copy_to_user(argp, &range, sizeof(range));
>> +
>> +}
>> +
>> static long vhost_vdpa_vring_ioctl(struct vhost_vdpa *v, unsigned int cmd,
>> void __user *argp)
>> {
>> @@ -442,6 +466,9 @@ static long vhost_vdpa_unlocked_ioctl(struct file *filep,
>> case VHOST_VDPA_SET_CONFIG_CALL:
>> r = vhost_vdpa_set_config_call(v, argp);
>> break;
>> + case VHOST_VDPA_GET_IOVA_RANGE:
>> + r = vhost_vdpa_get_iova_range(v, argp);
>> + bre...
2013 Aug 29
6
[PATCH 2/3 v3] Refactor MSI restore call-chain to drop unnecessary argument
...PCI_MSI_FLAGS, &control);
- msi_mask_irq(entry, msi_capable_mask(control), entry->masked);
control &= ~PCI_MSI_FLAGS_QSIZE;
control |= (entry->msi_attrib.multiple << 4) | PCI_MSI_FLAGS_ENABLE;
pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control);
@@ -430,7 +442,6 @@ static void __pci_restore_msix_state(struct pci_dev *dev)
list_for_each_entry(entry, &dev->msi_list, list) {
arch_restore_msi_irqs(dev, entry->irq);
- msix_mask_irq(entry, entry->masked);
}
control &= ~PCI_MSIX_FLAGS_MASKALL;
--
1.7.3
2009 Jul 07
1
Read buffer size in clientloop.c
Hi,
when trying to optimize socket transfer rates under Cygwin, it turned
out that the underlying WinSock implementation is surprisingly sensitive
to buffer sizes. The latest Cygwin from CVS is now setting the socket
receive/send buffers (SO_RCVBUF/SO_SNDBUF) to 64K, rather than keeping
them at their default values of 8K which thwarts data transfers a lot.
While testing I still had the problem
2012 Jun 18
2
[RFC 1/2] virtio-ring: Use threshold for switching to indirect descriptors
Currently if VIRTIO_RING_F_INDIRECT_DESC is enabled we will use indirect
descriptors even if we have plenty of space in the ring. This means that
we take a performance hit at all times due to the overhead of creating
indirect descriptors.
Instead, use it only after we're below a configurable offset.
Signed-off-by: Sasha Levin <levinsasha928 at gmail.com>
---
drivers/block/virtio_blk.c
2012 Jun 18
2
[RFC 1/2] virtio-ring: Use threshold for switching to indirect descriptors
Currently if VIRTIO_RING_F_INDIRECT_DESC is enabled we will use indirect
descriptors even if we have plenty of space in the ring. This means that
we take a performance hit at all times due to the overhead of creating
indirect descriptors.
Instead, use it only after we're below a configurable offset.
Signed-off-by: Sasha Levin <levinsasha928 at gmail.com>
---
drivers/block/virtio_blk.c
2012 Dec 14
1
[PATCH] Add support for getting and setting GPT partition type GUIDs
...an error if
+the partition table of C<device> isn't GPT." };
+
]
(* Non-API meta-commands available only in guestfish.
diff --git a/generator/tests_c_api.ml b/generator/tests_c_api.ml
index 116a8b0..2aa78df 100644
--- a/generator/tests_c_api.ml
+++ b/generator/tests_c_api.ml
@@ -442,6 +442,13 @@ and generate_one_test_body name i test_name init test =
["umount_all"];
["lvm_remove_all"];
["part_disk"; "/dev/sda"; "mbr"]]
+ | InitGPT ->
+ pr " /* InitGPT for %s: create /dev/sda1 */...
2007 Mar 28
0
3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_sprite.c libswfdec/swfdec_tag.c
...er (bits, length);
- if (buffer == NULL)
- break;
- swfdec_bits_init (&action_bits, buffer);
+ swfdec_bits_init_bits (&action_bits, bits, length);
if (event_flags & SWFDEC_EVENT_KEY_PRESS)
key_code = swfdec_bits_get_u8 (&action_bits);
else
@@ -445,7 +442,6 @@ swfdec_spriteseg_place_object_2 (SwfdecS
SWFDEC_ERROR ("not all action data was parsed: %u bytes left",
swfdec_bits_left (&action_bits));
}
- swfdec_buffer_unref (buffer);
}
g_free (script_name);
}
diff --git a/libswfdec/swfdec_tag.c b/libswfdec/s...
2020 Jun 17
12
[PATCH 0/4] vDPA: API for reporting IOVA range
Hi All:
This series introduces API for reporing IOVA range. This is a must for
userspace to work correclty:
- for the process that uses vhost-vDPA directly to properly allocate
IOVA
- for VM(qemu), when vIOMMU is not enabled, fail early if GPA is out
of range
- for VM(qemu), when vIOMMU is enabled, determine a valid guest
address width
Please review.
Thanks
Jason Wang (4):
vdpa:
2020 Jun 17
12
[PATCH 0/4] vDPA: API for reporting IOVA range
Hi All:
This series introduces API for reporing IOVA range. This is a must for
userspace to work correclty:
- for the process that uses vhost-vDPA directly to properly allocate
IOVA
- for VM(qemu), when vIOMMU is not enabled, fail early if GPA is out
of range
- for VM(qemu), when vIOMMU is enabled, determine a valid guest
address width
Please review.
Thanks
Jason Wang (4):
vdpa:
2019 Jun 17
0
[PATCH 08/25] memremap: move dev_pagemap callbacks into a separate structure
...ef)
percpu_ref_exit(ref);
}
-static void dev_dax_percpu_kill(struct percpu_ref *data)
+static void dev_dax_percpu_kill(struct percpu_ref *ref)
{
- struct percpu_ref *ref = data;
struct dev_dax *dev_dax = ref_to_dev_dax(ref);
dev_dbg(&dev_dax->dev, "%s\n", __func__);
@@ -442,6 +441,11 @@ static void dev_dax_kill(void *dev_dax)
kill_dev_dax(dev_dax);
}
+static const struct dev_pagemap_ops dev_dax_pagemap_ops = {
+ .kill = dev_dax_percpu_kill,
+ .cleanup = dev_dax_percpu_exit,
+};
+
int dev_dax_probe(struct device *dev)
{
struct dev_dax *dev_dax = to_dev_dax(de...
2002 Apr 22
9
Password from open filedescriptor
...default:
usage();
diff -bur openssh-3.1p1.org/sshconnect2.c openssh-3.1p1/sshconnect2.c
--- openssh-3.1p1.org/sshconnect2.c Tue Feb 26 19:15:10 2002
+++ openssh-3.1p1/sshconnect2.c Mon Apr 22 10:28:28 2002
@@ -435,6 +435,7 @@
return 1;
}
+
int
userauth_passwd(Authctxt *authctxt)
{
@@ -442,6 +443,12 @@
char prompt[80];
char *password;
+ if (options.password_from_fd != -1) {
+ if (attempt++ >= 1)
+ return 0;
+
+ password = read_password_from_fd(options.password_from_fd);
+ } else {
if (attempt++ >= options.number_of_password_prompts)
return 0;
@@ -451,6 +458,8...
2010 Mar 05
2
Bug in driver-mysql.c + fix
...m(0);
if (failed) {
if (conn->connect_failure_count > 0) {
@@ -429,6 +430,7 @@
struct mysql_db *db = (struct mysql_db *)_db;
struct mysql_connection *conn;
struct mysql_result *result;
+ int nr;
result = i_new(struct mysql_result, 1);
result->api = driver_mysql_result;
@@ -442,6 +444,17 @@
case 1:
/* query ok */
result->result = mysql_store_result(conn->mysql);
+ while((nr = mysql_next_result(conn->mysql)) >= 0) {
+ /* more results? -1 = no, >0 = error, 0 = yes
+ * Because of the CLIENT_MULTI_RESULTS on mysql_real_connect()
+ * we need to...