search for: 124,12

Displaying 20 results from an estimated 31 matches for "124,12".

2007 Apr 18
2
[PATCH 3/10] I386 mcheck p4 grotesque and needless warning fix.patch
...ecause gcc can sometime generate better code. Signed-off-by: Zachary Amsden <zach@vmware.com> diff -r ed741f57dae8 arch/i386/kernel/cpu/mcheck/p4.c --- a/arch/i386/kernel/cpu/mcheck/p4.c Fri Apr 06 14:29:52 2007 -0700 +++ b/arch/i386/kernel/cpu/mcheck/p4.c Fri Apr 06 14:43:24 2007 -0700 @@ -124,12 +124,9 @@ static void intel_init_thermal(struct cp /* P4/Xeon Extended MCE MSR retrieval, return 0 if unsupported */ -static inline int intel_get_extended_msrs(struct intel_mce_extended_msrs *r) +static inline void intel_get_extended_msrs(struct intel_mce_extended_msrs *r) { u32 h; - - i...
2007 Apr 18
2
[PATCH 3/10] I386 mcheck p4 grotesque and needless warning fix.patch
...ecause gcc can sometime generate better code. Signed-off-by: Zachary Amsden <zach@vmware.com> diff -r ed741f57dae8 arch/i386/kernel/cpu/mcheck/p4.c --- a/arch/i386/kernel/cpu/mcheck/p4.c Fri Apr 06 14:29:52 2007 -0700 +++ b/arch/i386/kernel/cpu/mcheck/p4.c Fri Apr 06 14:43:24 2007 -0700 @@ -124,12 +124,9 @@ static void intel_init_thermal(struct cp /* P4/Xeon Extended MCE MSR retrieval, return 0 if unsupported */ -static inline int intel_get_extended_msrs(struct intel_mce_extended_msrs *r) +static inline void intel_get_extended_msrs(struct intel_mce_extended_msrs *r) { u32 h; - - i...
2016 Sep 18
5
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
...egra_fini, .resource_addr = nvkm_device_tegra_resource_addr, .resource_size = nvkm_device_tegra_resource_size, + .cpu_coherent = false, }; int diff --git a/lib/include/nvif/os.h b/lib/include/nvif/os.h index b45a186..2f34c5a 100644 --- a/lib/include/nvif/os.h +++ b/lib/include/nvif/os.h @@ -124,6 +124,12 @@ typedef dma_addr_t resource_size_t; #define __printf(a,b) #define __user +#if defined(CONFIG_ARM) +#define IS_ENABLED_CONFIG_ARM 1 +#else +#define IS_ENABLED_CONFIG_ARM 0 +#endif + #if defined(CONFIG_IOMMU_API) #define IS_ENABLED_CONFIG_IOMMU_API 1 #else -- 2.10.0
2015 Nov 17
0
[PATCH 1/3] mllib: Add sort_uniq function.
...s.compare) xs = + let xs = List.sort cmp xs in + let xs = uniq ~cmp xs in + xs + let may f = function | None -> () | Some x -> f x diff --git a/mllib/common_utils.mli b/mllib/common_utils.mli index 44b8c93..68f7988 100644 --- a/mllib/common_utils.mli +++ b/mllib/common_utils.mli @@ -124,6 +124,12 @@ val assoc : ?cmp:('a -> 'a -> int) -> default:'b -> 'a -> ('a * 'b) list -> 'b (** Like {!List.assoc} but with a user-defined comparison function, and instead of raising [Not_found], it returns the [~default] value. *) +val uniq : ?...
2018 Jan 10
0
[PATCH 1/3] daemon: make sgdisk_info_extract_uuid_field more generic
...acters used to extract the value is added to the function parameters. --- daemon/parted.ml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/daemon/parted.ml b/daemon/parted.ml index d6638867a..cf1a54a08 100644 --- a/daemon/parted.ml +++ b/daemon/parted.ml @@ -124,12 +124,16 @@ let part_get_parttype device = | _ -> failwithf "%s: cannot parse the output of parted" device +let hex_chars = "0123456789ABCDEF" + let rec part_get_gpt_type device partnum = - sgdisk_info_extract_uuid_field device partnum "Partition GUID code...
2018 Jan 15
0
[PATCH v2 1/3] daemon: make sgdisk_info_extract_uuid_field more generic
...r, it now needs an extractor function to be passed as parameter. --- daemon/parted.ml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/daemon/parted.ml b/daemon/parted.ml index d6638867a..6fe803613 100644 --- a/daemon/parted.ml +++ b/daemon/parted.ml @@ -124,12 +124,11 @@ let part_get_parttype device = | _ -> failwithf "%s: cannot parse the output of parted" device -let rec part_get_gpt_type device partnum = - sgdisk_info_extract_uuid_field device partnum "Partition GUID code" -and part_get_gpt_guid device partnum = -...
2016 Sep 19
0
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
...r, > .resource_size = nvkm_device_tegra_resource_size, > + .cpu_coherent = false, > }; > > int > diff --git a/lib/include/nvif/os.h b/lib/include/nvif/os.h > index b45a186..2f34c5a 100644 > --- a/lib/include/nvif/os.h > +++ b/lib/include/nvif/os.h > @@ -124,6 +124,12 @@ typedef dma_addr_t resource_size_t; > #define __printf(a,b) > #define __user > > +#if defined(CONFIG_ARM) > +#define IS_ENABLED_CONFIG_ARM 1 > +#else > +#define IS_ENABLED_CONFIG_ARM 0 > +#endif > + > #if defined(CONFIG_IOMMU_API) > #define IS_ENABL...
2023 Mar 15
0
[PATCH v3 07/38] drm: handle HAS_IOPORT dependencies
...bochs_device *bochs, u16 ioport, u8 val) > > writeb(val, bochs->mmio + offset); > } else { > +#ifdef HAS_IOPORT > outb(val, ioport); > +#else > + WARN_ONCE(1, "Non-MMIO bochs device needs HAS_IOPORT"); > +#endif > } > } > > @@ -119,7 +124,12 @@ static u8 bochs_vga_readb(struct bochs_device *bochs, u16 ioport) > > return readb(bochs->mmio + offset); > } else { > +#ifdef HAS_IOPORT > return inb(ioport); > +#else > + WARN_ONCE(1, "Non-MMIO bochs device needs HAS_IOPORT"); > + return 0xff...
2018 Jan 15
6
[PATCH v2 0/3] copying gpt attributes
Hi all, Here is the latest version of the series addressing Pino's comments. Cédric Bosdonnat (3): daemon: make sgdisk_info_extract_uuid_field more generic New APIs: part_set_gpt_attributes and part_get_gpt_attributes resize: copy GPT partition flags daemon/parted.ml | 45 +++++++++++++++++++++++++++++++++++---------- daemon/parted.mli | 3 +++
2016 Jul 13
1
[PATCH 1/2] ttm: remove special handling of coherent objects
TTM-allocated coherent objects were populated using the DMA API and accessed using the mapping it returned to workaround coherency issues. These issues seem to have been solved, thus remove this extra case to handle and use the regular kernel mapping functions. Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> --- drm/nouveau/nouveau_bo.c | 61
2016 Sep 19
2
[PATCH 1/2] Revert "bus: remove cpu_coherent flag"
...m_device_tegra_resource_size, >> + .cpu_coherent = false, >> }; >> >> int >> diff --git a/lib/include/nvif/os.h b/lib/include/nvif/os.h >> index b45a186..2f34c5a 100644 >> --- a/lib/include/nvif/os.h >> +++ b/lib/include/nvif/os.h >> @@ -124,6 +124,12 @@ typedef dma_addr_t resource_size_t; >> #define __printf(a,b) >> #define __user >> >> +#if defined(CONFIG_ARM) >> +#define IS_ENABLED_CONFIG_ARM 1 >> +#else >> +#define IS_ENABLED_CONFIG_ARM 0 >> +#endif >> + >> #if defined(...
2018 Jan 16
4
[PATCH v3 0/3] copy GPT attributes
Hi all, Here is v3 of the series, taking Richard's comments in account. Cédric Bosdonnat (3): daemon: make sgdisk_info_extract_uuid_field more generic New APIs: part_set_gpt_attributes and part_get_gpt_attributes resize: copy GPT partition flags daemon/parted.ml | 45 +++++++++++++++++++++++++++++++++++---------- daemon/parted.mli | 2 ++ generator/actions_core.ml
2018 Jan 10
6
[PATCH 0/3] Handle GPT attribute flags
Hi all, Here is the series fixing the bug I mentioned on IRC regarding the GPT attribute flags to copy to the new disk in a virt-resize. Cédric Bosdonnat (3): daemon: make sgdisk_info_extract_uuid_field more generic New APIs: part_set_gpt_attributes and part_get_gpt_attributes resize: copy GPT partition flags daemon/parted.ml | 34 +++++++++++++++++++++++++++-------
2010 Jul 29
1
[PATCH] vhost: locking/rcu cleanup
...X_SG]; }; +static inline void *vhost_vq_data(struct vhost_virtqueue *vq, + struct vhost_dev *dev) +{ + return srcu_dereference(vq->private_data, &dev->worker_srcu); +} + struct vhost_dev { /* Readers use RCU to access memory table pointer * log base pointer and features. @@ -124,12 +131,12 @@ struct vhost_dev { int nvqs; struct file *log_file; struct eventfd_ctx *log_ctx; - spinlock_t work_lock; - struct list_head work_list; struct task_struct *worker; + struct srcu_struct worker_srcu; }; long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue *vqs, int...
2010 Jul 29
1
[PATCH] vhost: locking/rcu cleanup
...X_SG]; }; +static inline void *vhost_vq_data(struct vhost_virtqueue *vq, + struct vhost_dev *dev) +{ + return srcu_dereference(vq->private_data, &dev->worker_srcu); +} + struct vhost_dev { /* Readers use RCU to access memory table pointer * log base pointer and features. @@ -124,12 +131,12 @@ struct vhost_dev { int nvqs; struct file *log_file; struct eventfd_ctx *log_ctx; - spinlock_t work_lock; - struct list_head work_list; struct task_struct *worker; + struct srcu_struct worker_srcu; }; long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue *vqs, int...
2012 Mar 26
2
[PATCH DOCDAY] docs: wrap misc/xen-command-line.markdown to 80 columns
.... By default, if there are more than 8 CPUs, Xen will switch to `bigsmp` over `default`. +Override Xen''s logic for choosing the APIC driver. By default, if +there are more than 8 CPUs, Xen will switch to `bigsmp` over +`default`. ### apic\_verbosity > `= verbose | debug` @@ -98,7 +124,10 @@ Increase the verbosity of the APIC code ### badpage > `= List of [ <integer> | <integer>-<integer> ]` -Specify that certain pages, or certain ranges of pages contain bad bytes and should not be used. For example, if your memory tester says that byte `0x12345678` is...
2012 Oct 02
18
[PATCH 0/3] x86: adjust entry frame generation
This set of patches converts the way frames gets created from using PUSHes/POPs to using MOVes, thus allowing (in certain cases) to avoid saving/restoring part of the register set. While the place where the (small) win from this comes from varies between CPUs, the net effect is a 1 to 2% reduction on a combined interruption entry and exit when the full state save can be avoided. 1: use MOV
2020 Jul 21
4
[PATCH nbdkit] server: Pass the export name through filter .open calls.
...nxdata, readonly) == -1) + if (next (nxdata, readonly, exportname) == -1) return NULL; h = calloc (1, sizeof *h); diff --git a/filters/truncate/truncate.c b/filters/truncate/truncate.c index 485f7f45..ee384871 100644 --- a/filters/truncate/truncate.c +++ b/filters/truncate/truncate.c @@ -124,11 +124,12 @@ struct handle { /* Open a connection. */ static void * -truncate_open (nbdkit_next_open *next, void *nxdata, int readonly) +truncate_open (nbdkit_next_open *next, void *nxdata, + int readonly, const char *exportname) { struct handle *h; - if (next (nxdata, rea...
2015 Jul 01
12
[PATCH 1/9] v2v: Stable bus and slot numbers for removable drives (RHBZ#1238053).
This patch series adds stable bus and slot numbers for removable drives (CDs and floppies) when the guest is converted using virt-v2v or virt-p2v. Previously we were a bit random about this. After this patch series, the bus and slot numbers and preserved if at all possible. BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1238053 Rich.
2015 Nov 17
8
[PATCH 0/3] v2v: windows: Use '*.inf' files to control how Windows drivers are installed.
https://github.com/rwmjones/libguestfs/tree/rewrite-virtio-copy-drivers Instead of trying to split and parse elements from virtio-win paths, use the '*.inf' files supplied with the drivers to control how Windows drivers are installed. The following emails best explain how this works: https://www.redhat.com/archives/libguestfs/2015-October/msg00352.html