Here is the document of dm-ioband.
Based on 2.6.26-rc5-mm3
Signed-off-by: Ryo Tsuruta <[EMAIL PROTECTED]>
Signed-off-by: Hirokazu Takahashi <[EMAIL PROTECTED]>
diff -uprN linux-2.6.26-rc5-mm3.orig/Documentation/device-mapper/ioband.txt
linux-2.6.26-rc5-mm3/Documentation/device-mapper/ioband.txt
Here is the patch of dm-ioband.
Based on 2.6.26-rc5-mm3
Signed-off-by: Ryo Tsuruta <[EMAIL PROTECTED]>
Signed-off-by: Hirokazu Takahashi <[EMAIL PROTECTED]>
diff -uprN linux-2.6.26-rc5-mm3.orig/drivers/md/Kconfig
linux-2.6.26-rc5-mm3/drivers/md/Kconfig
--- linux-2.6.26-rc5-mm3.orig/drivers/md/Kc
Hi everyone,
This is the dm-ioband version 1.2.0 release.
Dm-ioband is an I/O bandwidth controller implemented as a device-mapper
driver, which gives specified bandwidth to each job running on the same
physical device.
- Can be applied to the kernel 2.6.26-rc5-mm3.
- Changes from 1.1.0 (posted o
On Thu, Jul 03, 2008 at 02:51:03PM -0700, Jeremy Fitzhardinge wrote:
> Isaku Yamahata wrote:
> >don't include asm/pvclock-abi.h directly, but asm/xen/pvclock-abi.h
> >At this moment linux ia64 won't accept asm/pvclock-abi.h because
> >there's no user of it.
>
> Huh? Is this a ia64 maintainer poli
Isaku Yamahata wrote:
> don't include asm/pvclock-abi.h directly, but asm/xen/pvclock-abi.h
> At this moment linux ia64 won't accept asm/pvclock-abi.h because
> there's no user of it.
Huh? Is this a ia64 maintainer policy? Aren't you about to start using it?
> Instead make it include asm/xen/p
Isaku Yamahata wrote:
> clean up of xencomm.c. is_phys_contiguous() is arch dependent
> function that depends on how virtual memory are laid out.
> So split out the function into arch specific code.
>
I suppose. But given that ia64 is the only user of xencomm, I'm not too
concerned about it.
Christopher S. Aker wrote:
> Jeremy Fitzhardinge wrote:
>
>>> Although, looking at it again, I did miss this line:
>>>
>>> (XEN) mm.c:645:d341 Non-privileged (341) attempt to map I/O space
>>> 000d2e50
>>>
>> Good, that's what I was hoping to see. (Well, actually not that
>> *particula
Jeremy Fitzhardinge wrote:
>> Although, looking at it again, I did miss this line:
>>
>> (XEN) mm.c:645:d341 Non-privileged (341) attempt to map I/O space
>> 000d2e50
>
> Good, that's what I was hoping to see. (Well, actually not that
> *particular* message, which is strange, but some explanato
Christopher S. Aker wrote:
> Jeremy Fitzhardinge wrote:
Were there any other errors/warnings printed here?
>>>
>>> Nope. Just some whitespace.
>>
>> Are you sure? Could you send a full xm dmesg log output? The crash
>> is from a BUG() caused by a failing hypercall. Since you have
>> comp
Jeremy Fitzhardinge wrote:
>>> Were there any other errors/warnings printed here?
>>
>> Nope. Just some whitespace.
>
> Are you sure? Could you send a full xm dmesg log output? The crash is
> from a BUG() caused by a failing hypercall. Since you have compiled Xen
> with debug enabled, it sho
Christopher S. Aker wrote:
> Jeremy Fitzhardinge wrote:
>> Is this consistent or sporadic?
>
> Consistently fails to boot, across a few test boxes, slightly
> different Xen versions -- all around Xen 3.2.1, same config.
>
>> Does it depend on how much guest memory you give it?
>
> No. Tried wit
Jeremy Fitzhardinge wrote:
> Is this consistent or sporadic?
Consistently fails to boot, across a few test boxes, slightly different
Xen versions -- all around Xen 3.2.1, same config.
> Does it depend on how much guest memory you give it?
No. Tried with 128, 360, 5000. They all fail in the
Christopher S. Aker wrote:
> Xen: 3.2.1-rc5 64bit
> Dom0: 2.6.18.8 (at cs 524) 32-pae
> DomU: 2.6.26-rc8 32-pae
>
> [EMAIL PROTECTED]:~# xm create -f /linodes/xencaker/xen.conf -c
> Using config file "/linodes/xencaker/xen.conf".
> Started domain xencaker
Is this consistent or sporadic? Does it d
Xen: 3.2.1-rc5 64bit
Dom0: 2.6.18.8 (at cs 524) 32-pae
DomU: 2.6.26-rc8 32-pae
[EMAIL PROTECTED]:~# xm create -f /linodes/xencaker/xen.conf -c
Using config file "/linodes/xencaker/xen.conf".
Started domain xencaker
[EMAIL PROTECTED]:~#
[EMAIL PROTECTED]:~# xm dmesg
...
(XE
From: Rusty Russell <[EMAIL PROTECTED]>
Date: Thu, 3 Jul 2008 11:33:11 +1000
> ethtool is useful for setting (some) device fields, but it's
> root-only. Finer feature control is available through a tun-specific
> ioctl.
>
> (Includes Mark McLoughlin <[EMAIL PROTECTED]>'s fix to hold rtnl sem).
>
From: Rusty Russell <[EMAIL PROTECTED]>
Date: Thu, 3 Jul 2008 11:32:12 +1000
> The problem with introducing checksum offload and gso to tun is they
> need to set dev->features to enable GSO and/or checksumming, which is
> supposed to be done before register_netdevice(), ie. as part of
> TUNSETIFF.
From: Rusty Russell <[EMAIL PROTECTED]>
Date: Thu, 3 Jul 2008 11:34:14 +1000
> Add a IFF_VNET_HDR flag. This uses the same ABI as virtio_net (ie. prepending
> struct virtio_net_hdr to packets) to indicate GSO and checksum information.
>
> Signed-off-by: Rusty Russell <[EMAIL PROTECTED]>
Also ap
Xen paravirtualizes interrupt as event channel.
This patch defines arch specific part of xen event channel.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/xen/events.h | 50 +
1 files changed, 50 insertions(+), 0 deletions(-)
crea
On ia64/xen, pointer argument for the hypercall is passed
by pseudo physical address (guest physical address.)
So it is necessary to convert virtual address into pseudo physical
address right before issuing hypercall. The frame work is called
xencomm. This patch implements arch specific part.
Sign
import include/asm-ia64/xen/interface.h to introduce introduce
definitions necessary for ia64/xen hypercalls.
They are basic structures to communicate with xen hypervisor and
will be used later.
Cc: Robin Holt <[EMAIL PROTECTED]>
Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yam
Xen implements grant tables which is for sharing pages with
guest domains.
This patch implements arch specific part of grant table initialization.
and xen_alloc_vm_area()/xen_free_vm_area() which are helper functions
for xen grant table.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/
On ia64/xen, pointer arguments for hypercall is passed
by pseudo physical address(guest physical address.)
So such hypercalls needs address conversion functions.
This patch implements concrete conversion functions for
such hypercalls.
Signed-off-by: Akio Takebe <[EMAIL PROTECTED]>
Signed-off-by: Y
This patch enables elf note based xen startup for IA-64, which gives the
kernel an early hint for running on xen like x86 case.
In order to avoid the multi entry point, presumably extending booting
protocol(i.e. extending struct ia64_boot_param) would be necessary.
It probably means that elilo also
implement xen pv_irq_ops to paravirtualize irq handling
with xen event channel.
Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]>
Signed-off-by: Akio Takebe <[EMAIL PROTECTED]>
Signed-off-by: Alex Williamson <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefil
introduce CONFIG_PARAVIRT_GUEST, CONFIG_PARAVIRT for
paravirtualized guest.
introduce CONFIG_XEN, CONFIG_IA64_XEN_GUEST for xen.
Signed-off-by: Alex Williamson <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
Cc: "Luck, Tony" <[EMAIL PROTECTED]>
---
arch/ia64/Kconfig |
paravirtualize entry.S for ia64/xen by multi compile.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefile |2 +-
arch/ia64/xen/xen_pv_ops.c | 18 ++
include/asm-ia64/xen/inst.h |8
3 files changed, 27 insertions(+), 1 deletions(-)
Recipe for useing xen/ia64 with pv_ops domU.
Signed-off-by: Akio Takebe <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
Documentation/ia64/xen.txt | 183
1 files changed, 183 insertions(+), 0 deletions(-)
create mode 100644
This patch implements a checker to detect instructions which
should be paravirtualized instead of direct writing raw instruction.
This patch does rough check so that it doesn't fully cover all cases,
but it can detects most cases of paravirtualization breakage of hand
written assembly codes.
Signe
implement xen pv_iosapic_ops for xen paravirtualized
iosapic.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/xen_pv_ops.c | 52
1 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/arch/ia64/xen/xen_pv_ops.c b/arch/ia6
define xen machine vector for domU.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
Cc: "Luck, Tony" <[EMAIL PROTECTED]>
---
arch/ia64/Makefile |2 ++
arch/ia64/kernel/acpi.c|5 +
arch/ia64/xen/Makefile |2 ++
arch/ia64/xen/machvec.c|4 +++
implement xen pv_time_ops to account steal time.
Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]>
Signed-off-by: Alex Williamson <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefile |2 +-
arch/ia64/xen/time.c | 165 +++
preliminary support for save/restore.
Although Save/restore isn't fully working yet, this patch is necessary
to compile.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefile |2 +-
arch/ia64/xen/{time.h => suspend.c} | 40
paravirtualize ivt.S for xen by multi compile.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefile | 16 -
arch/ia64/xen/xenivt.S | 52 +++
include/asm-ia64/xen/inst.h |1 +
3 files changed, 68 insertio
define include/asm-ia64/xen/irq.h to define the number of
irqs which xen needs.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/nr-irqs.c |1 +
include/asm-ia64/xen/irq.h | 44
2 files changed, 45 insertions(+), 0 deletions
Xenlinux/ia64 needs to reserve one more region passed from xen hypervisor
as start info.
Cc: Robin Holt <[EMAIL PROTECTED]>
Cc: Bjorn Helgaas <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/meminit.h |3 ++-
1 files changed, 2 insertions(+), 1 deleti
don't include asm/pvclock-abi.h directly, but asm/xen/pvclock-abi.h
At this moment linux ia64 won't accept asm/pvclock-abi.h because
there's no user of it. Instead make it include asm/xen/pvclock-abi.h
and create asm-x86/xen/pvclock-abi.h which includes asm-x86/pvclock-abi.h.
Signed-off-by: Isaku
clean up of xencomm.c. is_phys_contiguous() is arch dependent
function that depends on how virtual memory are laid out.
So split out the function into arch specific code.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
Cc: "Luck, Tony" <[EMAIL PROTECTED]>
---
drivers/xen/xencomm.c | 23 --
introduce helper functions for xen hypercalls which
traps to hypervisor.
Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/Makefile |5 +
arch/ia64/xen/hypercall.S| 91 +
include/asm-ia64/x
Align ip header to a 16 byte boundary.
This patch eliminates noisy warnings on IA64.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
drivers/net/xen-netfront.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.
paravirtualize DO_SAVE_MIN in minstate.h for xen.
Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/xen/inst.h |2 +
include/asm-ia64/xen/minstate.h | 134 +++
2 files changed,
remove load_cr3() from manage.c. It is unncessary and x86 dependent.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
drivers/xen/manage.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
index 2bb268e..e8db90c 100644
--- a
define xen paravirtualized instructions for hand written assembly code.
Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/xen/inst.h | 450 +++
1 files changed, 450 insertions(+), 0
define xen pv_cpu_ops which implementes xen paravirtualized
privileged instructions.
Signed-off-by: Yaozu (Eddie) Dong <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/xen/xen_pv_ops.c | 114
1 files changed, 114 ins
define sync bitops which is necessary for ia64/xen.
This bit operation is used to communicate with VMM or other guest kernel
Even when this kernel is built for UP, VMM might be SMP so that those operation
must always use atomic operation.
Cc: Robin Holt <[EMAIL PROTECTED]>
Cc: Jeremy Fitzhardinge
Xen needs some address conversions between pseudo physical
address (guest phsyical address), guest machine address
(real machine address) and dma address.
Define helper functions for those address conversion.
Cc: Jeremy Fitzhardinge <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECT
This patch implements xen version of pv_init_ops to do various
xen initialization.
This patch also includes ia64 counter part of x86 xen early printk support
patches.
Signed-off-by: Akio Takebe <[EMAIL PROTECTED]>
Signed-off-by: Alex Williamson <[EMAIL PROTECTED]>
Signed-off-by: Yaozu (Eddie) Dong
reserve "break" numbers used for xen hypercalls to avoid
reuse for something else.
Cc: "Luck, Tony" <[EMAIL PROTECTED]>
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/break.h |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/include/asm-ia64/
define several constants for ia64/xen.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/asm-offsets.c | 27 +++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/arch/ia64/kernel/asm-offsets.c b/arch/ia64/kernel/asm-offsets.c
index c64
Hi. This patchset is ia64/xen domU patch take 8 which was updated
following Tony's review. (Thank you very much, Tony.)
This patchset implements ia64/xen domU support based on ia64/pv_ops
frame work which was sent as another patchest.
This patchset is for linux ia64 test branch and depends on some
Create include/asm-ia64/xen/pvclock-abi.h to compile.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
include/asm-ia64/xen/pvclock-abi.h | 44
1 files changed, 44 insertions(+), 0 deletions(-)
create mode 100644 include/asm-ia64/xen/pvclock-abi.h
dif
eliminate the function declaration ia64_cpu_local_tick() in
process.c by defining in asm-ia64/timex.h
The same function will be used in a different .c file later.
Signed-off-by: Isaku Yamahata <[EMAIL PROTECTED]>
---
arch/ia64/kernel/process.c |1 -
include/asm-ia64/timex.h |2 ++
2 fil
51 matches
Mail list logo