Commit Graph
199 Commits
Author SHA1 Message Date
awilliam@xenbuild2.aw 5fb6147b15 [IA64] evtchn_callback fix and clean
Since we had changed to use event callback to deliver interrupts,

1. The pending_interruption is changed to pending_event.

2. get_ivr, set_tpr, get_trp and set_eoi are not used or only used
   in the initialization phase. There is no need to write this code
   in assembly.  This code is deleted.

3. hyper_ssm_i needs to be rewritten to jump to entchn_callback_handler
   instead of iva+0x3000 interrupt handler.  I will do this later.

Signed-off-by: Anthony Xu  <anthony.xu@intel.com>
2006-12-18 10:20:34 -07:00
awilliam@xenbuild2.aw 318b012682 [IA64][BUILD] XEN_XKBUFF needs to depend on NET
Signed-Off-By: Simon Horman <horms@verge.net.au>
2006-12-14 08:54:54 -07:00
awilliam@xenbuild2.aw c8f8d49382 [IA64] implement free_irq_vector() paravirtualization
This avoids a double free error message since dom0 isn't
actually using the ia64_vector_mask.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2006-12-07 04:15:54 -07:00
awilliam@xenbuild.aw 0013d074cd [IA64] changed foreign domain page mapping semantic.
x86 foreign HVM domain page mapping semantic was changed to use gmfn
instead mfn.  It applies to domains with auto_translated_mode enabled,
and all ia64 domains enable auto_translated_mode.  This patch changes
ia64 foreign domain page mapping to use gmfn and fixes ia64 domU buidler.
However this patch breaks domain save/restore/dump-core.
They should also be fixed-up

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-12-05 10:59:32 -07:00
awilliam@xenbuild.aw bd4a1b45bf [IA64] paraviatualize /dev/mem to enable X.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-12-04 08:44:57 -07:00
awilliam@xenbuild.aw 793cb77839 merge with xen-unstable.hg 2006-12-04 08:24:41 -07:00
awilliam@xenbuild.aw d8b39738aa [IA64] Change to new interrupt deliver mechanism.
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2006-12-01 11:40:57 -07:00
Steven Smith 3c78f2e5d7 [LINUX] The removal of the console_use_vt hack was premature: it's still
required if CONFIG_VT is enabled but the domain isn't currently
configured to use the PV framebuffer.  Put it back in, in a slightly
more palatable form.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-12-01 11:52:33 +00:00
Steven Smith a5ae44fcdf This is Anthony Liguori's virtual framebuffer forward ported and
extensively hacked based on feedback from xen-devel.

Its architecture is comparable to the common split device driver
architecture: xenfb and xenkbd modules serve as frontend in domU, and
the user space vncfb or sdlfb process serves as backend in dom0.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2006-12-01 09:48:32 +00:00
awilliam@xenbuild.aw 96403247eb [IA64] Fix sparse tree xenoprof/perfmon/oprofile build dependencies
Compile xenoprof perfmon related hypercall even when
CONFIG_PERFMON, CONFIG_OPROFILE, CONFIG_OPROFILE_MODULE are disabled.
They should be compiled in vmlinux unconditionally because they
might be called by other modules in theory.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-11-30 15:57:15 -07:00
awilliam@xenbuild.aw 1691a97d3b [IA64] remove undefined debugging line
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-11-29 09:16:46 -07:00
awilliam@xenbuild.aw 0d2fbb9506 [IA64] xenoprof linux/ia64 part
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-11-28 22:54:24 -07:00
awilliam@xenbuild.aw 0ef613d426 [IA64] import perfmon, oprofile related files from linux to linux-sparse
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>

Updated to 2.6.16.33

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-11-28 11:19:40 -07:00
awilliam@xenbuild.aw d28132e9b9 [IA64] fix paravirtualization of clone2() system call.
If audit is enabled or the child process is ptraced,
non-paravirtualized code path is executed.
Thus paravirtualized ifs is left unmodifed so that the child process
crashes after clone2().
paravirtualize ia64_ret_from_clone() to fix it.
 
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-11-22 10:10:38 -07:00
awilliam@xenbuild.aw f9b170e324 [IA64] Grantcopy added to xcom_mini for netback module
This patch adds grantcopy to xcom_mini allowing netback to
work as a module.

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Naoki Takayama <takayama.naoki@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
2006-11-20 10:10:28 -07:00
awilliam@xenbuild.aw 11a395e553 Merge in MCA tree 2006-11-15 12:02:09 -07:00
awilliam@xenbuild.aw eb5a644ce3 [IA64] Fix xencomm for xm mem-set command
This patch saves and restores the hypercall parameter within xencomm.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-11-13 11:24:30 -07:00
awilliam@xenbuild.aw 6e20f30bec [IA64] Fix HVM interrupts on IPF
Xen has changed to set-irq-level hypercall from shared-memory PIC stat.
This patch makes IPF accomodate this change

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2006-11-13 11:02:37 -07:00
awilliam@xenbuild.aw 8eb135484e merge with xen-unstable.hg 2006-11-10 11:11:04 -07:00
Ian Campbell d8656aaa3e PV-on-HVM: Fix PV-on-HVM drivers for IA64.
Thanks to Kasai Takanori and Doi Tsunehisa for testing.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
2006-11-02 11:56:26 +00:00
awilliam@xenbuild.aw 3397904b3d [IA64] fix xenperf
xenperf became not to work due to xencomm.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
2006-10-29 11:13:30 -07:00
awilliam@xenbuild.aw 3614e3523b [IA64] MCA support - Add binding of virq/ipi to irq
Signed-off-by: Yutaka Ezaki <yutaka.ezaki@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
2006-10-29 09:27:14 -07:00
awilliam@xenbuild.aw f1c6ac2751 [IA64] NUMA support
Based on patch from Tristan Gingold

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-10-25 14:48:55 -06:00
awilliam@xenbuild.aw 9c3c688c5b [IA64] backport toolchain fixes from linux-ia64
This backports the ia64 specific parts of this upstream linux
changeset:

http://www.kernel.org/hg/linux-2.6/?cs=dfbee33b0693

Change suggested by Akio Takebe.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-10-18 22:06:23 -06:00
awilliam@xenbuild.aw dd3d76baf0 [IA64] add arch/ia64/kernel/Makefile to sparse tree
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-10-18 22:06:18 -06:00
awilliam@xenbuild.aw 8160bfb7c4 [IA64] warning fix for HVM PV driver
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
2006-10-17 14:29:33 -06:00
awilliam@xenbuild.aw 0598e72c96 [IA64] Xencomm fixes for HVM PV-drivers and driver domain.
Create xcom_mini.c from xcom_hcall.c

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-10-14 16:26:27 -06:00
awilliam@xenbuild.aw d53914d6c0 merge with xen-unstable.hg 2006-10-14 13:28:45 -06:00
kfraser@localhost.localdomain 6329cf0815 [IA64] Add support for enforcing singleshot mmap() semantics at the
privcmd interface.
From: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-10-12 13:55:03 +01:00
awilliam@xenbuild.aw a762898ecb [IA64] fix sparse tree build with p2m exposure disabled
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-10-04 22:13:06 -06:00
awilliam@xenbuild.aw fac272695c [IA64] p2m exposure. linux side part.
This patch introduce compile time option XEN_IA64_EXPOSE_P2M
to enable this feature and boot option xen_ia64_p2m_expose to
disable the functionality.
This patch also introduce XEN_IA64_EXPOSE_P2M_USE_DTR to map p2m table
with dtr and boot option xen_ia64_p2m_expose_use_dtr to disable it.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-10-04 22:12:29 -06:00
awilliam@xenbuild.aw 94af95bb04 [IA64] remove getmeminfo.nr_pages trick from xencomm
getmeminfo nr_page trick is not anymore necessary.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-10-04 22:12:01 -06:00
awilliam@xenbuild.aw ff5e22ba1d [IA64] xencomm_privcmd_sched_op
Necessary for reboot on VTi domains.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
2006-10-04 22:11:50 -06:00
awilliam@xenbuild.aw ca38bae276 [IA64] add GNTTABOP_copy to xencommize_grant_table_op
This is used w/ xennet.rx_copy

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-10-03 14:46:10 -06:00
awilliam@xenbuild.aw 5f90eb60c6 [IA64] Use xencomm for hypercalls.
With xencomm metaphysical addresses are passed to the hypervisor instead
of virtual addresses.
This patch breaks compatibility.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-10-02 14:03:42 -06:00
awilliam@xenbuild.aw cc4280de0b [IA64] do not export XSI_BASE, use set_shared_info_va
Until now, the set_shared_info_va hypercall was never used.
This patch remove XSI_BASE and use this hypercall to set the xsi address.
Because xsi is now in the top 1MB (before percpu space), linux code should be 
slightly more compact (addl instead of movl).

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-10-01 11:09:54 -06:00
Christian Limpach 42ee90deeb [linux] Update to linux-2.6.16.29.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-09-19 14:26:22 +01:00
kfraser@localhost.localdomain 977599dbcb Clean up dom0_vga_console_info structure for v3.0.3.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-18 18:17:54 +01:00
awilliam@xenbuild.aw e4e3263749 [IA64] update buildconfigs
This fixes the sparse tree buildconfigs to allow xenU to build
automatically.  There's no need to force netdev front/back on from
the arch Kconfig file anymore.  Based on patch from Akio Takebe &
Yoshiro Fujita.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-09-01 11:20:48 -06:00
awilliam@xenbuild.aw 760268640c [IA64] only setup extra vga console support on dom0
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-08-23 11:14:52 -06:00
awilliam@xenbuild.aw 9f557e7ff2 merge with xen-unstable.hg 2006-08-23 11:11:27 -06:00
kfraser@localhost.localdomain 25dd6e678d [XEN] vga code cleanups and additions for other architectures.
Based on patches from Hollis Blanchard and Alex Williamson.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-16 18:20:03 +01:00
awilliam@xenbuild.aw 28efc9d73d [IA64] fix non-CONFIG_XEN sparse tree build
This patch fixes some over-zealous code removal with the P==M
cleanup.  Some of the P==M code was shared with the bare metal kernel.
Also cleaned up a couple places we should have used CONFIG_XEN.

From: Juan Quintela <quintela@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-08-16 09:15:17 -06:00
awilliam@xenbuild.aw ad81630fe1 [IA64] copy_from/to_guest
This patch fixes the copy_from/to_guest problem.
As Akio reported, modularised netback causes dom0's down.

The following process is happened in gnttab_transfer()@
xen/common/grant_table.c:

  gnttab_transfer()
   => steal_page()
     => assign_domain_page_cmpxchg_rel()
       => domain_page_flush()
         => domain_flush_vtlb_all()  // all TLBs are flushed
   ...
   => __copy_to_guest_offset()               // always fail to copy

The embedded netback module has no problem because it uses TR pinned
data.  But modularised one is out of TR. So copy_from/to_guest issue
must be solved in order to modularise drivers.

Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com>
2006-08-14 14:21:21 -06:00
kfraser@localhost.localdomain 2b88d7ed5f [LINUX] Provide a handy macro for detrmining if we are domain0.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-14 14:44:31 +01:00
awilliam@xenbuild.aw 8482b6d752 [IA64] Add EXPORT_SYMBOL to modularize netfront/netback
Add EXPORT_SYMBOLs to allow netfront and netback to
be used as modules.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2006-08-07 14:11:58 -06:00
awilliam@xenbuild.aw 443287f1b8 [IA64] Remove P==M support
Remove the old P==M dom0 memory model support.  It's likely
broken by now anyway.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-08-04 09:32:00 -06:00
awilliam@xenbuild.aw 111ea6ac45 [IA64] fix vDSO paravirtualization.
sometimes it fails to clear event mask. It results in domain's unstability.
And one typo.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-08-03 11:10:53 -06:00
awilliam@xenbuild.aw d041e1ba45 [IA64] rewrite of last util.c patch
Rewrite utils.c patch to be less ugly:
do not set area->phys_addr, recompute phys_addr in free_vm_area.

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-07-31 13:12:30 -06:00
kfraser@localhost.localdomain 6faab8acaf [PCI] Pcifront for ia64.
Added in Kconfig.
On ia64, use ia64 sysdata instead of pcifront genuine one.
Fix a warning on xenbus.c

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-07-28 17:23:15 +01:00