Displaying 20 results from an estimated 57 matches for "101,11".
Did you mean:
1013,11
2020 Jun 11
2
[PATCH v1] virtio-mem: add memory via add_memory_driver_managed()
...---
drivers/virtio/virtio_mem.c | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/drivers/virtio/virtio_mem.c b/drivers/virtio/virtio_mem.c
index 50c689f250450..d2eab3558a9e1 100644
--- a/drivers/virtio/virtio_mem.c
+++ b/drivers/virtio/virtio_mem.c
@@ -101,6 +101,11 @@ struct virtio_mem {
/* The parent resource for all memory added via this device. */
struct resource *parent_resource;
+ /*
+ * Copy of "System RAM (virtio_mem)" to be used for
+ * add_memory_driver_managed().
+ */
+ const char *resource_name;
/* Summary of all me...
2020 Jun 11
2
[PATCH v1] virtio-mem: add memory via add_memory_driver_managed()
...---
drivers/virtio/virtio_mem.c | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/drivers/virtio/virtio_mem.c b/drivers/virtio/virtio_mem.c
index 50c689f250450..d2eab3558a9e1 100644
--- a/drivers/virtio/virtio_mem.c
+++ b/drivers/virtio/virtio_mem.c
@@ -101,6 +101,11 @@ struct virtio_mem {
/* The parent resource for all memory added via this device. */
struct resource *parent_resource;
+ /*
+ * Copy of "System RAM (virtio_mem)" to be used for
+ * add_memory_driver_managed().
+ */
+ const char *resource_name;
/* Summary of all me...
2020 Jan 10
2
[PATCH 03/23] drm/i915: Don't use struct drm_driver.get_scanout_position()
...; {
> struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
> diff --git a/drivers/gpu/drm/i915/i915_irq.h b/drivers/gpu/drm/i915/i915_irq.h
> index 812c47a9c2d6..5f7b133ce721 100644
> --- a/drivers/gpu/drm/i915/i915_irq.h
> +++ b/drivers/gpu/drm/i915/i915_irq.h
> @@ -101,10 +101,11 @@ void gen8_irq_power_well_post_enable(struct drm_i915_private *dev_priv,
> void gen8_irq_power_well_pre_disable(struct drm_i915_private *dev_priv,
> u8 pipe_mask);
>
> -bool i915_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe,
> - bool...
2019 Feb 07
0
[PATCH v7 2/5] swiotlb: Add is_swiotlb_active() function
...ys, dma_addr_t *dma_addr,
void __init swiotlb_exit(void);
unsigned int swiotlb_max_segment(void);
size_t swiotlb_max_mapping_size(struct device *dev);
+bool is_swiotlb_active(void);
#else
#define swiotlb_force SWIOTLB_NO_FORCE
static inline bool is_swiotlb_buffer(phys_addr_t paddr)
@@ -100,6 +101,11 @@ static inline size_t swiotlb_max_mapping_size(struct device *dev)
{
return SIZE_MAX;
}
+
+static inline bool is_swiotlb_active(void)
+{
+ return false;
+}
#endif /* CONFIG_SWIOTLB */
extern void swiotlb_print_info(void);
diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c
index 9...
2005 Sep 01
3
question about page_to_phys
The page_to_phys is defined as
#define page_to_phys(page) (phys_to_machine(page_to_pseudophys(page)))
so it return machine addresss
while virt_to_phys return psedophys. include/asm-xen/asm-i386/io.h
this is really confusing.
why not define page_to_machine?
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2006 Sep 18
1
Incorrect GSSAPI Service Name for POP3
...-----------------------
diff -ruN dovecot-1.0.beta8/src/auth/mech-gssapi.c dovecot-1.0.beta8.new/src/auth/mech-gssapi.c
--- dovecot-1.0.beta8/src/auth/mech-gssapi.c 2006-09-18 17:35:02.000000000 -0500
+++ dovecot-1.0.beta8.new/src/auth/mech-gssapi.c 2006-09-18 17:37:46.000000000 -0500
@@ -101,7 +101,11 @@
gss_name_t gss_principal;
principal_name = t_str_new(128);
- str_append(principal_name, t_str_lcase(request->service));
+ if(strcmp(request->service, "POP3") == 0) {
+ str_append(principal_name, "pop");
+ } els...
2004 Jul 12
0
[patch] logtail recheck permissions of offset files
...logcheck/src/logtail,v
retrieving revision 1.7
diff -u -r1.7 logtail
--- src/logtail 10 Jun 2004 09:34:05 -0000 1.7
+++ src/logtail 10 Jul 2004 14:48:23 -0000
@@ -24,6 +24,7 @@
my ($size);
use Getopt::Std;
my %opts = ();
+my $user = 'logcheck';
# process args and switches
@@ -100,5 +101,11 @@
}
print OFFSET "$ino\n$size\n";
close OFFSET;
+
+ # make shure if invoked as root that file remains readable for cronjob
+ my ($login,$pass,$uid,$gid) = getpwnam($user)
+ or print "$user not in passwd file" and exit 73;
+ chown $uid, $gid, $offse...
2006 Aug 18
2
[patch] simplify nuke
...libc] simplify nuke
fixes boot failures due to unexpected error returns
usr/utils/nuke.c | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/usr/utils/nuke.c b/usr/utils/nuke.c
index 01b300f..9470bcf 100644
--- a/usr/utils/nuke.c
+++ b/usr/utils/nuke.c
@@ -101,18 +101,11 @@ static int nuke(const char *what)
/* It's a directory. */
err = nuke_dir(what);
if (!err)
- err = rmdir(what) ? errno : err;
- } else {
- err = errno;
+ rmdir(what);
}
}
- if (err) {
- fprintf(stderr, "%s: %s: %s\n", program, what, strerror(e...
2020 Jun 11
0
[PATCH v1] virtio-mem: add memory via add_memory_driver_managed()
...25 ++++++++++++++++++++++---
> 1 file changed, 22 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/virtio/virtio_mem.c b/drivers/virtio/virtio_mem.c
> index 50c689f250450..d2eab3558a9e1 100644
> --- a/drivers/virtio/virtio_mem.c
> +++ b/drivers/virtio/virtio_mem.c
> @@ -101,6 +101,11 @@ struct virtio_mem {
>
> /* The parent resource for all memory added via this device. */
> struct resource *parent_resource;
> + /*
> + * Copy of "System RAM (virtio_mem)" to be used for
> + * add_memory_driver_managed().
> + */
> + const char...
2010 May 25
3
Supercedes previous patch...
The previous patch, for whatever reason, fails to apply on top of tip.
This patch is reimplemented and, hopefully, fixed.
2014 Dec 09
3
Tiny suggestion for upslog.c
...02.906586228 +0000
@@ -76,6 +76,11 @@
exit_flag = sig;
}
+static void set_print_now_flag(int sig)
+{
+ /* no need to do anything, the signal will cause sleep to be
interrupted */
+}
+
/* handlers: reload on HUP, exit on INT/QUIT/TERM */
static void setup_signals(void)
{
@@ -96,6 +101,11 @@
fatal_with_errno(EXIT_FAILURE, "Can't install SIGQUIT handler");
if (sigaction(SIGTERM, &sa, NULL) < 0)
fatal_with_errno(EXIT_FAILURE, "Can't install SIGTERM handler");
+
+ sa.sa_handler = set_print_now_flag;
+ if (sigaction(S...
2007 Feb 12
0
[871] trunk/wxruby2/samples/printing/printing.rb: Enable sample to be run from other directories
...mp;nbsp      2007-02-12 19:45:58 UTC (rev 870)
+++ trunk/wxruby2/samples/printing/printing.rb        2007-02-12 19:55:19 UTC (rev 871)
</span><span class="lines">@@ -101,9 +101,11 @@
</span><span class="cx">
</span><span class="cx"> # Load icon
</span><span class="cx"> if Wx::PLATFORM == "WXMSW"
</span><del>- my_icon = Wx::Icon.new("mondrian.ico",Wx::BITM...
2020 Jan 10
0
[PATCH 03/23] drm/i915: Don't use struct drm_driver.get_scanout_position()
...anline(struct intel_crtc *crtc)
{
struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
diff --git a/drivers/gpu/drm/i915/i915_irq.h b/drivers/gpu/drm/i915/i915_irq.h
index 812c47a9c2d6..5f7b133ce721 100644
--- a/drivers/gpu/drm/i915/i915_irq.h
+++ b/drivers/gpu/drm/i915/i915_irq.h
@@ -101,10 +101,11 @@ void gen8_irq_power_well_post_enable(struct drm_i915_private *dev_priv,
void gen8_irq_power_well_pre_disable(struct drm_i915_private *dev_priv,
u8 pipe_mask);
-bool i915_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe,
- bool in_vblank_irq, int *vpos...
2020 Apr 24
1
[PATCH nbdkit] golang: Pass Plugin and Connection by reference not value.
...r) {
+func (c *RAMDiskConnection) CanMultiConn() (bool, error) {
return true, nil
}
-func (c RAMDiskConnection) PRead(buf []byte, offset uint64,
+func (c *RAMDiskConnection) PRead(buf []byte, offset uint64,
flags uint32) error {
copy(buf, disk[offset:int(offset)+len(buf)])
return nil
@@ -101,11 +101,11 @@ func (c RAMDiskConnection) PRead(buf []byte, offset uint64,
// Note that CanWrite is required in golang plugins, otherwise PWrite
// will never be called.
-func (c RAMDiskConnection) CanWrite() (bool, error) {
+func (c *RAMDiskConnection) CanWrite() (bool, error) {
return true,...
2007 May 13
0
No subject
...dev->descriptor.idProduct == 0x0002) ||
+ (dev->descriptor.idVendor == 0x0925 &&
+ dev->descriptor.idProduct == 0x1234))
+ return usb_open(dev);
}
}
@@ -101,11 +103,33 @@
goto errout;
}
+#if LIBUSB_HAS_DETACH_KRNL_DRV
+ /* this method requires at least libusb 0.1.8:
+ * it force device claiming by unbinding
+ * attached driver... From libhid */
+ retry = 3;
+ while (usb_set_configuration(dev...
2007 May 13
0
No subject
...dev->descriptor.idProduct == 0x0002) ||
+ (dev->descriptor.idVendor == 0x0925 &&
+ dev->descriptor.idProduct == 0x1234))
+ return usb_open(dev);
}
}
@@ -101,11 +103,33 @@
goto errout;
}
+#if LIBUSB_HAS_DETACH_KRNL_DRV
+ /* this method requires at least libusb 0.1.8:
+ * it force device claiming by unbinding
+ * attached driver... From libhid */
+ retry = 3;
+ while (usb_set_configuration(dev_...
2007 May 13
0
No subject
...dev->descriptor.idProduct == 0x0002) ||
+ (dev->descriptor.idVendor == 0x0925 &&
+ dev->descriptor.idProduct == 0x1234))
+ return usb_open(dev);
}
}
@@ -101,11 +103,33 @@
goto errout;
}
+#if LIBUSB_HAS_DETACH_KRNL_DRV
+ /* this method requires at least libusb 0.1.8:
+ * it force device claiming by unbinding
+ * attached driver... From libhid */
+ retry = 3;
+ while (usb_set_configuration(dev_...
2020 Jan 10
0
[PATCH 03/23] drm/i915: Don't use struct drm_driver.get_scanout_position()
...rm_i915_private *dev_priv = to_i915(crtc->base.dev);
>> diff --git a/drivers/gpu/drm/i915/i915_irq.h b/drivers/gpu/drm/i915/i915_irq.h
>> index 812c47a9c2d6..5f7b133ce721 100644
>> --- a/drivers/gpu/drm/i915/i915_irq.h
>> +++ b/drivers/gpu/drm/i915/i915_irq.h
>> @@ -101,10 +101,11 @@ void gen8_irq_power_well_post_enable(struct drm_i915_private *dev_priv,
>> void gen8_irq_power_well_pre_disable(struct drm_i915_private *dev_priv,
>> u8 pipe_mask);
>>
>> -bool i915_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe,
>...
2010 May 05
4
[PATCH RFC] virtio: put last seen used index into ring itself
...6 *last_used_idx;
};
/* The standard layout for the ring is a continuous chunk of memory which looks
@@ -83,6 +88,7 @@ struct vring {
* __u16 avail_flags;
* __u16 avail_idx;
* __u16 available[num];
+ * __u16 last_used_idx;
*
* // Padding to the next align boundary.
* char pad[];
@@ -101,11 +107,17 @@ static inline void vring_init(struct vring *vr, unsigned int num, void *p,
vr->avail = p + num*sizeof(struct vring_desc);
vr->used = (void *)(((unsigned long)&vr->avail->ring[num] + align-1)
& ~(align - 1));
+ /* We publish the last-seen used index at t...
2010 May 05
4
[PATCH RFC] virtio: put last seen used index into ring itself
...6 *last_used_idx;
};
/* The standard layout for the ring is a continuous chunk of memory which looks
@@ -83,6 +88,7 @@ struct vring {
* __u16 avail_flags;
* __u16 avail_idx;
* __u16 available[num];
+ * __u16 last_used_idx;
*
* // Padding to the next align boundary.
* char pad[];
@@ -101,11 +107,17 @@ static inline void vring_init(struct vring *vr, unsigned int num, void *p,
vr->avail = p + num*sizeof(struct vring_desc);
vr->used = (void *)(((unsigned long)&vr->avail->ring[num] + align-1)
& ~(align - 1));
+ /* We publish the last-seen used index at t...