Signed-off-by: Sanjay Lal
---
arch/mips/kvm/00README.txt | 31 +++
arch/mips/kvm/Makefile | 13 +
2 files changed, 44 insertions(+)
create mode 100644 arch/mips/kvm/00README.txt
create mode 100644 arch/mips/kvm/Makefile
diff --git a/arch/mips/kvm
Signed-off-by: Sanjay Lal
---
arch/mips/include/asm/kvm.h | 58
arch/mips/include/asm/kvm_host.h | 672 +++
2 files changed, 730 insertions(+)
create mode 100644 arch/mips/include/asm/kvm.h
create mode 100644 arch/mips/include/asm/kvm_host.h
Signed-off-by: Sanjay Lal
---
arch/mips/include/asm/stackframe.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/mips/include/asm/stackframe.h
b/arch/mips/include/asm/stackframe.h
index cb41af5..59c9245 100644
--- a/arch/mips/include/asm/stackframe.h
+++ b/arch
- The Guest kernel is run in UM and privileged instructions cause a trap.
- If the instruction causing the trap is in a branch delay slot, the branch
needs to be emulated to figure
out the PC @ which the guest will resume execution.
Signed-off-by: Sanjay Lal
---
arch/mips/kvm/kvm_mips_emul.c
oop.
As a workaround, make sure that CONFIG_SMP is disabled for Guest kernels.
This will be fixed in a future release.
(4) FPU support:
Currently KVM/MIPS emulates a 24K CPU without a FPU.
This will be fixed in a future release
--
Sanjay Lal (20):
KVM/MIPS32: Infrastructure/build files.
Signed-off-by: Sanjay Lal
---
arch/mips/kvm/kvm_cb.c| 16 ++
arch/mips/kvm/kvm_trap_emul.c | 446 ++
2 files changed, 462 insertions(+)
create mode 100644 arch/mips/kvm/kvm_cb.c
create mode 100644 arch/mips/kvm/kvm_trap_emul.c
diff --git a/arch
Signed-off-by: Sanjay Lal
---
arch/mips/kvm/kvm_mips_stats.c | 93 ++
arch/mips/kvm/kvm_mips_stats.h | 47 +
2 files changed, 140 insertions(+)
create mode 100644 arch/mips/kvm/kvm_mips_stats.c
create mode 100644 arch/mips/kvm
mapped into the guest kernel address space @ VA 0x0.
mfc0/mtc0 operations are transformed to load/stores.
Signed-off-by: Sanjay Lal
---
arch/mips/kvm/kvm_mips_comm.h | 24 +++
arch/mips/kvm/kvm_mips_commpage.c | 38 ++
arch/mips/kvm/kvm_mips_dyntrans.c | 142
Signed-off-by: Sanjay Lal
---
arch/mips/kernel/asm-offsets.c | 67 ++
1 file changed, 67 insertions(+)
diff --git a/arch/mips/kernel/asm-offsets.c b/arch/mips/kernel/asm-offsets.c
index 833eeab..d65a2fd 100644
--- a/arch/mips/kernel/asm-offsets.c
+++ b
This bug is discussed in:
http://lkml.indiana.edu/hypermail/linux/kernel/1205.2/00719.html
Signed-off-by: Sanjay Lal
---
arch/mips/kernel/entry.S | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/mips/kernel/entry.S b/arch/mips/kernel/entry.S
index a6c1332..9b00362
Signed-off-by: Sanjay Lal
---
virt/kvm/kvm_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index e59bb63..1cc985a 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -1882,7 +1882,7 @@ static long kvm_vcpu_ioctl
Signed-off-by: Sanjay Lal
---
arch/mips/kernel/smp.c | 1 +
mm/bootmem.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
index 9005bf9..60ea489 100644
--- a/arch/mips/kernel/smp.c
+++ b/arch/mips/kernel/smp.c
@@ -83,6 +83,7
Signed-off-by: Sanjay Lal
---
arch/mips/mm/c-r4k.c | 6 --
arch/mips/mm/cache.c | 1 +
arch/mips/mm/tlb-r4k.c | 2 ++
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 2b61462..1923063 100644
--- a/arch/mips/mm/c-r4k.c
+++ b
Signed-off-by: Sanjay Lal
---
arch/mips/kvm/kvm_mips_int.c | 251 +++
arch/mips/kvm/kvm_mips_int.h | 49 +
2 files changed, 300 insertions(+)
create mode 100644 arch/mips/kvm/kvm_mips_int.c
create mode 100644 arch/mips/kvm/kvm_mips_int.h
diff
Signed-off-by: Sanjay Lal
---
arch/mips/include/asm/mmu_context.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/mips/include/asm/mmu_context.h
b/arch/mips/include/asm/mmu_context.h
index 9b02cfb..9c7024c 100644
--- a/arch/mips/include/asm/mmu_context.h
+++ b/arch/mips/include
while in
guest context. Save guest context, restore some kernel context and jump to
main 'C' handler: kvm_mips_handle_exit()
Signed-off-by: Sanjay Lal
---
arch/mips/kvm/kvm_locore.S | 646 +
1 file changed, 646 insertions(+)
create m
- Add the KVM option to MIPS build files.
- Add default config files for KVM host/guest kernels.
- Change the link address for the Malta KVM Guest kernel to UM (0x4010).
- Add KVM Kconfig file with KVM/MIPS specific options
Signed-off-by: Sanjay Lal
---
arch/mips/Kbuild | 4
eption to the guest
If entry does exist in the Guest TLB and is VALID
Inject the TLB entry into the Shadow TLB
Signed-off-by: Sanjay Lal
---
arch/mips/kvm/kvm_tlb.c | 889
1 file changed, 889 insertions(+)
create mode 10
ed to 1GB.
Signed-off-by: Sanjay Lal
---
arch/mips/include/asm/mach-generic/spaces.h | 9 -
arch/mips/include/asm/processor.h | 5 +
arch/mips/include/asm/uaccess.h | 15 ---
arch/mips/kernel/binfmt_elfo32.c| 6 +-
arch/mips/kernel/c
- Implements the arch specific APIs for KVM, some are stubs for MIPS
- kvm_mips_handle_exit(): Main 'C' distpatch routine for handling exceptions
while in "Guest" mode.
- Also implements in-kernel timer interrupt support for the guest.
Signed-off-by: Sanjay Lal
---
arch
101 - 120 of 120 matches
Mail list logo