Displaying 8 results from an estimated 8 matches for "mem_end".
2011 Apr 07
3
Re: xen: do not create the extra e820 region at an addr lower than 4G
...diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index 9c38bd1..f831568 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -229,7 +229,7 @@ char * __init xen_memory_setup(void)
memcpy(map_raw, map, sizeof(map));
e820.nr_map = 0;
- xen_extra_mem_start = mem_end;
+ xen_extra_mem_start = mem_end < (1UL<<32) ? (1UL<<32) : mem_end;
for (i = 0; i < memmap.nr_entries; i++) {
unsigned long long end;
"(1UL<<32)" will overflow on a 32 bit kernel.
Oh hang on... that''s the difference between...
2018 Dec 12
0
[PATCH v2 03/18] drm/qxl: simplify slot management
...true;
}
-static void setup_hw_slot(struct qxl_device *qdev, int slot_index,
- struct qxl_memslot *slot)
+static void setup_hw_slot(struct qxl_device *qdev, struct qxl_memslot *slot)
{
qdev->ram_header->mem_slot.mem_start = slot->start_phys_addr;
- qdev->ram_header->mem_slot.mem_end = slot->end_phys_addr;
- qxl_io_memslot_add(qdev, slot_index);
+ qdev->ram_header->mem_slot.mem_end = slot->start_phys_addr + slot->size;
+ qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index);
}
-static uint8_t setup_slot(struct qxl_device *qdev, uint8_t slot_i...
2007 May 09
3
[patch 7/9] lguest: the net driver
...;hard_start_xmit = lguestnet_start_xmit;
+
+ /* Turning on/off promisc will call dev->set_multicast_list.
+ * We don't actually support multicast yet */
+ dev->set_multicast_list = lguestnet_set_multicast;
+ dev->mem_start = ((unsigned long)desc->pfn << PAGE_SHIFT);
+ dev->mem_end = dev->mem_start + PAGE_SIZE * desc->num_pages;
+ dev->irq = lgdev->index+1;
+ dev->features = NETIF_F_SG;
+ if (desc->features & LGUEST_NET_F_NOCSUM)
+ dev->features |= NETIF_F_NO_CSUM;
+
+ info = dev->priv;
+ info->mapsize = PAGE_SIZE * desc->num_pages;
+ info-&...
2007 May 09
3
[patch 7/9] lguest: the net driver
...;hard_start_xmit = lguestnet_start_xmit;
+
+ /* Turning on/off promisc will call dev->set_multicast_list.
+ * We don't actually support multicast yet */
+ dev->set_multicast_list = lguestnet_set_multicast;
+ dev->mem_start = ((unsigned long)desc->pfn << PAGE_SHIFT);
+ dev->mem_end = dev->mem_start + PAGE_SIZE * desc->num_pages;
+ dev->irq = lgdev->index+1;
+ dev->features = NETIF_F_SG;
+ if (desc->features & LGUEST_NET_F_NOCSUM)
+ dev->features |= NETIF_F_NO_CSUM;
+
+ info = dev->priv;
+ info->mapsize = PAGE_SIZE * desc->num_pages;
+ info-&...
2007 May 10
4
[PATCH 0/5] lguest feedback tidyups
...8(
2) Jeff Garzik
- Use netdev_priv instead of dev->priv.
- Check for ioremap failure
- iounmap on failure.
- Wrap SEND_DMA and BIND_DMA calls
- Don't set NETIF_F_SG unless we set NETIF_F_NO_CSUM
- Use SET_NETDEV_DEV()
- Don't set dev->irq, mem_start & mem_end (deprecated)
3) Sam Ravnborg
- lg-objs is deprecated, use lg-y.
Cheers,
Rusty.
2007 May 10
4
[PATCH 0/5] lguest feedback tidyups
...8(
2) Jeff Garzik
- Use netdev_priv instead of dev->priv.
- Check for ioremap failure
- iounmap on failure.
- Wrap SEND_DMA and BIND_DMA calls
- Don't set NETIF_F_SG unless we set NETIF_F_NO_CSUM
- Use SET_NETDEV_DEV()
- Don't set dev->irq, mem_start & mem_end (deprecated)
3) Sam Ravnborg
- lg-objs is deprecated, use lg-y.
Cheers,
Rusty.
2003 Dec 01
0
No subject
...PIC #1 Version 17 at 0xFEC00000.
I/O APIC #2 Version 17 at 0xFEC01000.
Processors: 1
mapped APIC to ffffe000 (fee00000)
mapped IOAPIC to ffffd000 (fec00000)
mapped IOAPIC to ffffc000 (fec01000)
relocating initrd image:
initrd_start:0xc0f8b000 initrd_end:0xc0fff7dc
mem_start:0xc02a5000 mem_end:0xcfff0000
initrd_size:0x000747dc dest:0xcff7b000
Detected 927172 kHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1848.12 BogoMIPS
Memory: 256916k/262080k available (1120k kernel code, 420k reserved, 3080k
data, 76k init, 0k bigmem)
Dentry hash table entries: 262144 (ord...
2013 Nov 19
23
[PATCH v6 00/16] xen: arm: 64-bit guest support and domU FDT autogeneration
Biggest change is to switch the new DTB node to /xen-core-devices
instead of /xen at Stefano''s request.
I also dropped the few patches title HACK etc which weren''t supposed to
be there and fixed up some bits and pieces which folks commented on.
George, WRT the freeze I think this is functionality which we cannot
ship Xen 4.4 without. The impact is entirely constrained to the