public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH qemu-kvm] kvm: rename kvm/test/test/powerpc to kvm/test/powerpc
@ 2010-06-06 13:13 Ken CC
  2010-06-06 13:22 ` Avi Kivity
  0 siblings, 1 reply; 5+ messages in thread
From: Ken CC @ 2010-06-06 13:13 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

To make the directory architecture match the file config file
kvm/test/config-powerpc.mk.

Signed-off-by: Ken CC <cc.5nth@gmail.com>
---
 kvm/test/powerpc/44x/tlbsx.S           |   33 ++++++++++++++++++++++++++++
 kvm/test/powerpc/44x/tlbwe.S           |   27 +++++++++++++++++++++++
 kvm/test/powerpc/44x/tlbwe_16KB.S      |   35 +++++++++++++++++++++++++++++
 kvm/test/powerpc/44x/tlbwe_hole.S      |   27 +++++++++++++++++++++++
 kvm/test/powerpc/cstart.S              |   38 ++++++++++++++++++++++++++++++++
 kvm/test/powerpc/exit.c                |   23 +++++++++++++++++++
 kvm/test/powerpc/helloworld.c          |   27 +++++++++++++++++++++++
 kvm/test/powerpc/io.S                  |   32 +++++++++++++++++++++++++++
 kvm/test/powerpc/spin.S                |    4 +++
 kvm/test/powerpc/sprg.S                |    7 ++++++
 kvm/test/test/powerpc/44x/tlbsx.S      |   33 ----------------------------
 kvm/test/test/powerpc/44x/tlbwe.S      |   27 -----------------------
 kvm/test/test/powerpc/44x/tlbwe_16KB.S |   35 -----------------------------
 kvm/test/test/powerpc/44x/tlbwe_hole.S |   27 -----------------------
 kvm/test/test/powerpc/cstart.S         |   38 --------------------------------
 kvm/test/test/powerpc/exit.c           |   23 -------------------
 kvm/test/test/powerpc/helloworld.c     |   27 -----------------------
 kvm/test/test/powerpc/io.S             |   32 ---------------------------
 kvm/test/test/powerpc/spin.S           |    4 ---
 kvm/test/test/powerpc/sprg.S           |    7 ------
 20 files changed, 253 insertions(+), 253 deletions(-)
 create mode 100644 kvm/test/powerpc/44x/tlbsx.S
 create mode 100644 kvm/test/powerpc/44x/tlbwe.S
 create mode 100644 kvm/test/powerpc/44x/tlbwe_16KB.S
 create mode 100644 kvm/test/powerpc/44x/tlbwe_hole.S
 create mode 100644 kvm/test/powerpc/cstart.S
 create mode 100644 kvm/test/powerpc/exit.c
 create mode 100644 kvm/test/powerpc/helloworld.c
 create mode 100644 kvm/test/powerpc/io.S
 create mode 100644 kvm/test/powerpc/spin.S
 create mode 100644 kvm/test/powerpc/sprg.S
 delete mode 100644 kvm/test/test/powerpc/44x/tlbsx.S
 delete mode 100644 kvm/test/test/powerpc/44x/tlbwe.S
 delete mode 100644 kvm/test/test/powerpc/44x/tlbwe_16KB.S
 delete mode 100644 kvm/test/test/powerpc/44x/tlbwe_hole.S
 delete mode 100644 kvm/test/test/powerpc/cstart.S
 delete mode 100644 kvm/test/test/powerpc/exit.c
 delete mode 100644 kvm/test/test/powerpc/helloworld.c
 delete mode 100644 kvm/test/test/powerpc/io.S
 delete mode 100644 kvm/test/test/powerpc/spin.S
 delete mode 100644 kvm/test/test/powerpc/sprg.S

diff --git a/kvm/test/powerpc/44x/tlbsx.S b/kvm/test/powerpc/44x/tlbsx.S
new file mode 100644
index 0000000..b15874b
--- /dev/null
+++ b/kvm/test/powerpc/44x/tlbsx.S
@@ -0,0 +1,33 @@
+#define SPRN_MMUCR 0x3b2
+
+#define TLBWORD0 0x10000210
+#define TLBWORD1 0x10000000
+#define TLBWORD2 0x00000003
+
+.global _start
+_start:
+	li	r4, 0
+	mtspr	SPRN_MMUCR, r4
+
+	li	r3, 23
+
+	lis	r4, TLBWORD0@h
+	ori	r4, r4, TLBWORD0@l
+	tlbwe	r4, r3, 0
+
+	lis	r4, TLBWORD1@h
+	ori	r4, r4, TLBWORD1@l
+	tlbwe	r4, r3, 1
+
+	lis	r4, TLBWORD2@h
+	ori	r4, r4, TLBWORD2@l
+	tlbwe	r4, r3, 2
+
+	lis	r4, 0x1000
+	tlbsx	r5, r4, r0
+	cmpwi	r5, 23
+	beq	good
+	trap
+
+good:
+	b	.
diff --git a/kvm/test/powerpc/44x/tlbwe.S b/kvm/test/powerpc/44x/tlbwe.S
new file mode 100644
index 0000000..ec6ef5c
--- /dev/null
+++ b/kvm/test/powerpc/44x/tlbwe.S
@@ -0,0 +1,27 @@
+#define SPRN_MMUCR 0x3b2
+
+/* Create a mapping at 4MB */
+#define TLBWORD0 0x00400210
+#define TLBWORD1 0x00400000
+#define TLBWORD2 0x00000003
+
+.global _start
+_start:
+	li	r4, 0
+	mtspr	SPRN_MMUCR, r4
+
+	li	r3, 23
+
+	lis	r4, TLBWORD0@h
+	ori	r4, r4, TLBWORD0@l
+	tlbwe	r4, r3, 0
+
+	lis	r4, TLBWORD1@h
+	ori	r4, r4, TLBWORD1@l
+	tlbwe	r4, r3, 1
+
+	lis	r4, TLBWORD2@h
+	ori	r4, r4, TLBWORD2@l
+	tlbwe	r4, r3, 2
+
+	b	.
diff --git a/kvm/test/powerpc/44x/tlbwe_16KB.S b/kvm/test/powerpc/44x/tlbwe_16KB.S
new file mode 100644
index 0000000..1bd10bf
--- /dev/null
+++ b/kvm/test/powerpc/44x/tlbwe_16KB.S
@@ -0,0 +1,35 @@
+#define SPRN_MMUCR 0x3b2
+
+/* 16KB mapping at 4MB */
+#define TLBWORD0 0x00400220
+#define TLBWORD1 0x00400000
+#define TLBWORD2 0x00000003
+
+.global _start
+_start:
+	li	r4, 0
+	mtspr	SPRN_MMUCR, r4
+
+	li	r3, 5
+
+	lis	r4, TLBWORD0@h
+	ori	r4, r4, TLBWORD0@l
+	tlbwe	r4, r3, 0
+
+	lis	r4, TLBWORD1@h
+	ori	r4, r4, TLBWORD1@l
+	tlbwe	r4, r3, 1
+
+	lis	r4, TLBWORD2@h
+	ori	r4, r4, TLBWORD2@l
+	tlbwe	r4, r3, 2
+
+	/* load from 4MB */
+	lis	r3, 0x0040
+	lwz	r4, 0(r3)
+
+	/* load from 4MB+8KB */
+	ori	r3, r3, 0x2000
+	lwz	r4, 0(r3)
+
+	b	.
diff --git a/kvm/test/powerpc/44x/tlbwe_hole.S b/kvm/test/powerpc/44x/tlbwe_hole.S
new file mode 100644
index 0000000..5efd303
--- /dev/null
+++ b/kvm/test/powerpc/44x/tlbwe_hole.S
@@ -0,0 +1,27 @@
+#define SPRN_MMUCR 0x3b2
+
+/* Try to map real address 1GB. */
+#define TLBWORD0 0x40000210
+#define TLBWORD1 0x40000000
+#define TLBWORD2 0x00000003
+
+.global _start
+_start:
+	li	r4, 0
+	mtspr	SPRN_MMUCR, r4
+
+	li	r3, 23
+
+	lis	r4, TLBWORD0@h
+	ori	r4, r4, TLBWORD0@l
+	tlbwe	r4, r3, 0
+
+	lis	r4, TLBWORD1@h
+	ori	r4, r4, TLBWORD1@l
+	tlbwe	r4, r3, 1
+
+	lis	r4, TLBWORD2@h
+	ori	r4, r4, TLBWORD2@l
+	tlbwe	r4, r3, 2
+
+	b	.
diff --git a/kvm/test/powerpc/cstart.S b/kvm/test/powerpc/cstart.S
new file mode 100644
index 0000000..70a0e9f
--- /dev/null
+++ b/kvm/test/powerpc/cstart.S
@@ -0,0 +1,38 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License, version 2, as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ * Copyright IBM Corp. 2008
+ *
+ * Authors: Hollis Blanchard <hollisb@us.ibm.com>
+ */
+
+#define OUTPUT_VADDR 0xf0000000
+#define OUTPUT_PADDR 0xf0000000
+
+.globl _start
+_start:
+	/* In the future we might need to assign a stack and zero BSS here. */
+
+	/* Map the debug page 1:1. */
+	lis	r3, OUTPUT_VADDR@h
+	ori	r3, r3, OUTPUT_VADDR@l
+	lis	r4, OUTPUT_PADDR@h
+	ori	r4, r4, OUTPUT_PADDR@l
+	bl	map
+
+	/* Call main() and pass return code to exit(). */
+	bl	main
+	bl	exit
+
+	b	.
diff --git a/kvm/test/powerpc/exit.c b/kvm/test/powerpc/exit.c
new file mode 100644
index 0000000..804ee04
--- /dev/null
+++ b/kvm/test/powerpc/exit.c
@@ -0,0 +1,23 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License, version 2, as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ * Copyright IBM Corp. 2008
+ *
+ * Authors: Hollis Blanchard <hollisb@us.ibm.com>
+ */
+
+int main(void)
+{
+	return 1;
+}
diff --git a/kvm/test/powerpc/helloworld.c b/kvm/test/powerpc/helloworld.c
new file mode 100644
index 0000000..f8630f7
--- /dev/null
+++ b/kvm/test/powerpc/helloworld.c
@@ -0,0 +1,27 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License, version 2, as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ * Copyright IBM Corp. 2008
+ *
+ * Authors: Deepa Srinivasan <deepas@us.ibm.com>
+ */
+
+#include "libcflat.h"
+
+int main()
+{
+	printf("Hello World\n");
+
+	return 1;
+}
diff --git a/kvm/test/powerpc/io.S b/kvm/test/powerpc/io.S
new file mode 100644
index 0000000..97567cb
--- /dev/null
+++ b/kvm/test/powerpc/io.S
@@ -0,0 +1,32 @@
+#define SPRN_MMUCR 0x3b2
+
+#define TLBWORD0 0xf0000210
+#define TLBWORD1 0xf0000000
+#define TLBWORD2 0x00000003
+
+.global _start
+_start:
+	li	r4, 0
+	mtspr	SPRN_MMUCR, r4
+
+	li	r3, 2
+
+	lis	r4, TLBWORD0@h
+	ori	r4, r4, TLBWORD0@l
+	tlbwe	r4, r3, 0
+
+	lis	r4, TLBWORD1@h
+	ori	r4, r4, TLBWORD1@l
+	tlbwe	r4, r3, 1
+
+	lis	r4, TLBWORD2@h
+	ori	r4, r4, TLBWORD2@l
+	tlbwe	r4, r3, 2
+
+	lis	r3, 0xf000
+	lis	r4, 0x1234
+	ori	r4, r4, 0x5678
+	stb	r4, 0(r3)
+	lbz	r5, 0(r3)
+
+	b	.
diff --git a/kvm/test/powerpc/spin.S b/kvm/test/powerpc/spin.S
new file mode 100644
index 0000000..4406641
--- /dev/null
+++ b/kvm/test/powerpc/spin.S
@@ -0,0 +1,4 @@
+
+.global _start
+_start:
+	b	.
diff --git a/kvm/test/powerpc/sprg.S b/kvm/test/powerpc/sprg.S
new file mode 100644
index 0000000..d0414a4
--- /dev/null
+++ b/kvm/test/powerpc/sprg.S
@@ -0,0 +1,7 @@
+
+.global _start
+_start:
+	li	r3, 42
+	mtsprg	0, r3
+	mfsprg	r4, 0
+	b	.
diff --git a/kvm/test/test/powerpc/44x/tlbsx.S b/kvm/test/test/powerpc/44x/tlbsx.S
deleted file mode 100644
index b15874b..0000000
--- a/kvm/test/test/powerpc/44x/tlbsx.S
+++ /dev/null
@@ -1,33 +0,0 @@
-#define SPRN_MMUCR 0x3b2
-
-#define TLBWORD0 0x10000210
-#define TLBWORD1 0x10000000
-#define TLBWORD2 0x00000003
-
-.global _start
-_start:
-	li	r4, 0
-	mtspr	SPRN_MMUCR, r4
-
-	li	r3, 23
-
-	lis	r4, TLBWORD0@h
-	ori	r4, r4, TLBWORD0@l
-	tlbwe	r4, r3, 0
-
-	lis	r4, TLBWORD1@h
-	ori	r4, r4, TLBWORD1@l
-	tlbwe	r4, r3, 1
-
-	lis	r4, TLBWORD2@h
-	ori	r4, r4, TLBWORD2@l
-	tlbwe	r4, r3, 2
-
-	lis	r4, 0x1000
-	tlbsx	r5, r4, r0
-	cmpwi	r5, 23
-	beq	good
-	trap
-
-good:
-	b	.
diff --git a/kvm/test/test/powerpc/44x/tlbwe.S b/kvm/test/test/powerpc/44x/tlbwe.S
deleted file mode 100644
index ec6ef5c..0000000
--- a/kvm/test/test/powerpc/44x/tlbwe.S
+++ /dev/null
@@ -1,27 +0,0 @@
-#define SPRN_MMUCR 0x3b2
-
-/* Create a mapping at 4MB */
-#define TLBWORD0 0x00400210
-#define TLBWORD1 0x00400000
-#define TLBWORD2 0x00000003
-
-.global _start
-_start:
-	li	r4, 0
-	mtspr	SPRN_MMUCR, r4
-
-	li	r3, 23
-
-	lis	r4, TLBWORD0@h
-	ori	r4, r4, TLBWORD0@l
-	tlbwe	r4, r3, 0
-
-	lis	r4, TLBWORD1@h
-	ori	r4, r4, TLBWORD1@l
-	tlbwe	r4, r3, 1
-
-	lis	r4, TLBWORD2@h
-	ori	r4, r4, TLBWORD2@l
-	tlbwe	r4, r3, 2
-
-	b	.
diff --git a/kvm/test/test/powerpc/44x/tlbwe_16KB.S b/kvm/test/test/powerpc/44x/tlbwe_16KB.S
deleted file mode 100644
index 1bd10bf..0000000
--- a/kvm/test/test/powerpc/44x/tlbwe_16KB.S
+++ /dev/null
@@ -1,35 +0,0 @@
-#define SPRN_MMUCR 0x3b2
-
-/* 16KB mapping at 4MB */
-#define TLBWORD0 0x00400220
-#define TLBWORD1 0x00400000
-#define TLBWORD2 0x00000003
-
-.global _start
-_start:
-	li	r4, 0
-	mtspr	SPRN_MMUCR, r4
-
-	li	r3, 5
-
-	lis	r4, TLBWORD0@h
-	ori	r4, r4, TLBWORD0@l
-	tlbwe	r4, r3, 0
-
-	lis	r4, TLBWORD1@h
-	ori	r4, r4, TLBWORD1@l
-	tlbwe	r4, r3, 1
-
-	lis	r4, TLBWORD2@h
-	ori	r4, r4, TLBWORD2@l
-	tlbwe	r4, r3, 2
-
-	/* load from 4MB */
-	lis	r3, 0x0040
-	lwz	r4, 0(r3)
-
-	/* load from 4MB+8KB */
-	ori	r3, r3, 0x2000
-	lwz	r4, 0(r3)
-
-	b	.
diff --git a/kvm/test/test/powerpc/44x/tlbwe_hole.S b/kvm/test/test/powerpc/44x/tlbwe_hole.S
deleted file mode 100644
index 5efd303..0000000
--- a/kvm/test/test/powerpc/44x/tlbwe_hole.S
+++ /dev/null
@@ -1,27 +0,0 @@
-#define SPRN_MMUCR 0x3b2
-
-/* Try to map real address 1GB. */
-#define TLBWORD0 0x40000210
-#define TLBWORD1 0x40000000
-#define TLBWORD2 0x00000003
-
-.global _start
-_start:
-	li	r4, 0
-	mtspr	SPRN_MMUCR, r4
-
-	li	r3, 23
-
-	lis	r4, TLBWORD0@h
-	ori	r4, r4, TLBWORD0@l
-	tlbwe	r4, r3, 0
-
-	lis	r4, TLBWORD1@h
-	ori	r4, r4, TLBWORD1@l
-	tlbwe	r4, r3, 1
-
-	lis	r4, TLBWORD2@h
-	ori	r4, r4, TLBWORD2@l
-	tlbwe	r4, r3, 2
-
-	b	.
diff --git a/kvm/test/test/powerpc/cstart.S b/kvm/test/test/powerpc/cstart.S
deleted file mode 100644
index 70a0e9f..0000000
--- a/kvm/test/test/powerpc/cstart.S
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation;
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- *
- * Copyright IBM Corp. 2008
- *
- * Authors: Hollis Blanchard <hollisb@us.ibm.com>
- */
-
-#define OUTPUT_VADDR 0xf0000000
-#define OUTPUT_PADDR 0xf0000000
-
-.globl _start
-_start:
-	/* In the future we might need to assign a stack and zero BSS here. */
-
-	/* Map the debug page 1:1. */
-	lis	r3, OUTPUT_VADDR@h
-	ori	r3, r3, OUTPUT_VADDR@l
-	lis	r4, OUTPUT_PADDR@h
-	ori	r4, r4, OUTPUT_PADDR@l
-	bl	map
-
-	/* Call main() and pass return code to exit(). */
-	bl	main
-	bl	exit
-
-	b	.
diff --git a/kvm/test/test/powerpc/exit.c b/kvm/test/test/powerpc/exit.c
deleted file mode 100644
index 804ee04..0000000
--- a/kvm/test/test/powerpc/exit.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation;
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- *
- * Copyright IBM Corp. 2008
- *
- * Authors: Hollis Blanchard <hollisb@us.ibm.com>
- */
-
-int main(void)
-{
-	return 1;
-}
diff --git a/kvm/test/test/powerpc/helloworld.c b/kvm/test/test/powerpc/helloworld.c
deleted file mode 100644
index f8630f7..0000000
--- a/kvm/test/test/powerpc/helloworld.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2, as
- * published by the Free Software Foundation;
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- *
- * Copyright IBM Corp. 2008
- *
- * Authors: Deepa Srinivasan <deepas@us.ibm.com>
- */
-
-#include "libcflat.h"
-
-int main()
-{
-	printf("Hello World\n");
-
-	return 1;
-}
diff --git a/kvm/test/test/powerpc/io.S b/kvm/test/test/powerpc/io.S
deleted file mode 100644
index 97567cb..0000000
--- a/kvm/test/test/powerpc/io.S
+++ /dev/null
@@ -1,32 +0,0 @@
-#define SPRN_MMUCR 0x3b2
-
-#define TLBWORD0 0xf0000210
-#define TLBWORD1 0xf0000000
-#define TLBWORD2 0x00000003
-
-.global _start
-_start:
-	li	r4, 0
-	mtspr	SPRN_MMUCR, r4
-
-	li	r3, 2
-
-	lis	r4, TLBWORD0@h
-	ori	r4, r4, TLBWORD0@l
-	tlbwe	r4, r3, 0
-
-	lis	r4, TLBWORD1@h
-	ori	r4, r4, TLBWORD1@l
-	tlbwe	r4, r3, 1
-
-	lis	r4, TLBWORD2@h
-	ori	r4, r4, TLBWORD2@l
-	tlbwe	r4, r3, 2
-
-	lis	r3, 0xf000
-	lis	r4, 0x1234
-	ori	r4, r4, 0x5678
-	stb	r4, 0(r3)
-	lbz	r5, 0(r3)
-
-	b	.
diff --git a/kvm/test/test/powerpc/spin.S b/kvm/test/test/powerpc/spin.S
deleted file mode 100644
index 4406641..0000000
--- a/kvm/test/test/powerpc/spin.S
+++ /dev/null
@@ -1,4 +0,0 @@
-
-.global _start
-_start:
-	b	.
diff --git a/kvm/test/test/powerpc/sprg.S b/kvm/test/test/powerpc/sprg.S
deleted file mode 100644
index d0414a4..0000000
--- a/kvm/test/test/powerpc/sprg.S
+++ /dev/null
@@ -1,7 +0,0 @@
-
-.global _start
-_start:
-	li	r3, 42
-	mtsprg	0, r3
-	mfsprg	r4, 0
-	b	.



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH qemu-kvm] kvm: rename kvm/test/test/powerpc to kvm/test/powerpc
  2010-06-06 13:13 [PATCH qemu-kvm] kvm: rename kvm/test/test/powerpc to kvm/test/powerpc Ken CC
@ 2010-06-06 13:22 ` Avi Kivity
  2010-06-07  1:40   ` [PATCH QEMU-KVM v2 diff.renames] " Ken CC
  2010-06-07  1:46   ` [PATCH qemu-kvm] " Ken CC
  0 siblings, 2 replies; 5+ messages in thread
From: Avi Kivity @ 2010-06-06 13:22 UTC (permalink / raw)
  To: Ken CC; +Cc: kvm

On 06/06/2010 04:13 PM, Ken CC wrote:
> To make the directory architecture match the file config file
> kvm/test/config-powerpc.mk.
>
>    

Can you please resent with 'diff.renames' set in your git 
configuration?  That will make the patch reviewable, as it will convert 
it to a pattern of moves instead of creates/deletes.

Also, isn't a Makefile change needed?

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH QEMU-KVM v2 diff.renames] kvm: rename kvm/test/test/powerpc to kvm/test/powerpc
  2010-06-06 13:22 ` Avi Kivity
@ 2010-06-07  1:40   ` Ken CC
  2010-06-07  7:29     ` Avi Kivity
  2010-06-07  1:46   ` [PATCH qemu-kvm] " Ken CC
  1 sibling, 1 reply; 5+ messages in thread
From: Ken CC @ 2010-06-07  1:40 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

To make the directory architecture match the make config file
kvm/test/config-powerpc.mk.

Signed-off-by: Ken CC <cc.5nth@gmail.com>
---
 kvm/test/{ => }/test/powerpc/44x/tlbsx.S      |    0
 kvm/test/{ => }/test/powerpc/44x/tlbwe.S      |    0
 kvm/test/{ => }/test/powerpc/44x/tlbwe_16KB.S |    0
 kvm/test/{ => }/test/powerpc/44x/tlbwe_hole.S |    0
 kvm/test/{ => }/test/powerpc/cstart.S         |    0
 kvm/test/{ => }/test/powerpc/exit.c           |    0
 kvm/test/{ => }/test/powerpc/helloworld.c     |    0
 kvm/test/{ => }/test/powerpc/io.S             |    0
 kvm/test/{ => }/test/powerpc/spin.S           |    0
 kvm/test/{ => }/test/powerpc/sprg.S           |    0
 10 files changed, 0 insertions(+), 0 deletions(-)
 rename kvm/test/{ => }/test/powerpc/44x/tlbsx.S (100%)
 rename kvm/test/{ => }/test/powerpc/44x/tlbwe.S (100%)
 rename kvm/test/{ => }/test/powerpc/44x/tlbwe_16KB.S (100%)
 rename kvm/test/{ => }/test/powerpc/44x/tlbwe_hole.S (100%)
 rename kvm/test/{ => }/test/powerpc/cstart.S (100%)
 rename kvm/test/{ => }/test/powerpc/exit.c (100%)
 rename kvm/test/{ => }/test/powerpc/helloworld.c (100%)
 rename kvm/test/{ => }/test/powerpc/io.S (100%)
 rename kvm/test/{ => }/test/powerpc/spin.S (100%)
 rename kvm/test/{ => }/test/powerpc/sprg.S (100%)

diff --git a/kvm/test/test/powerpc/44x/tlbsx.S b/kvm/test/powerpc/44x/tlbsx.S
similarity index 100%
rename from kvm/test/test/powerpc/44x/tlbsx.S
rename to kvm/test/powerpc/44x/tlbsx.S
diff --git a/kvm/test/test/powerpc/44x/tlbwe.S b/kvm/test/powerpc/44x/tlbwe.S
similarity index 100%
rename from kvm/test/test/powerpc/44x/tlbwe.S
rename to kvm/test/powerpc/44x/tlbwe.S
diff --git a/kvm/test/test/powerpc/44x/tlbwe_16KB.S b/kvm/test/powerpc/44x/tlbwe_16KB.S
similarity index 100%
rename from kvm/test/test/powerpc/44x/tlbwe_16KB.S
rename to kvm/test/powerpc/44x/tlbwe_16KB.S
diff --git a/kvm/test/test/powerpc/44x/tlbwe_hole.S b/kvm/test/powerpc/44x/tlbwe_hole.S
similarity index 100%
rename from kvm/test/test/powerpc/44x/tlbwe_hole.S
rename to kvm/test/powerpc/44x/tlbwe_hole.S
diff --git a/kvm/test/test/powerpc/cstart.S b/kvm/test/powerpc/cstart.S
similarity index 100%
rename from kvm/test/test/powerpc/cstart.S
rename to kvm/test/powerpc/cstart.S
diff --git a/kvm/test/test/powerpc/exit.c b/kvm/test/powerpc/exit.c
similarity index 100%
rename from kvm/test/test/powerpc/exit.c
rename to kvm/test/powerpc/exit.c
diff --git a/kvm/test/test/powerpc/helloworld.c b/kvm/test/powerpc/helloworld.c
similarity index 100%
rename from kvm/test/test/powerpc/helloworld.c
rename to kvm/test/powerpc/helloworld.c
diff --git a/kvm/test/test/powerpc/io.S b/kvm/test/powerpc/io.S
similarity index 100%
rename from kvm/test/test/powerpc/io.S
rename to kvm/test/powerpc/io.S
diff --git a/kvm/test/test/powerpc/spin.S b/kvm/test/powerpc/spin.S
similarity index 100%
rename from kvm/test/test/powerpc/spin.S
rename to kvm/test/powerpc/spin.S
diff --git a/kvm/test/test/powerpc/sprg.S b/kvm/test/powerpc/sprg.S
similarity index 100%
rename from kvm/test/test/powerpc/sprg.S
rename to kvm/test/powerpc/sprg.S
-- 
1.6.5.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH qemu-kvm] kvm: rename kvm/test/test/powerpc to kvm/test/powerpc
  2010-06-06 13:22 ` Avi Kivity
  2010-06-07  1:40   ` [PATCH QEMU-KVM v2 diff.renames] " Ken CC
@ 2010-06-07  1:46   ` Ken CC
  1 sibling, 0 replies; 5+ messages in thread
From: Ken CC @ 2010-06-07  1:46 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

On Sun, Jun 06, 2010 at 04:22:45PM +0300, Avi Kivity wrote:
> On 06/06/2010 04:13 PM, Ken CC wrote:
> >To make the directory architecture match the file config file
> >kvm/test/config-powerpc.mk.
> >
> 
> Can you please resent with 'diff.renames' set in your git
> configuration?  That will make the patch reviewable, as it will
> convert it to a pattern of moves instead of creates/deletes.
> 

Hi, Avi,

I have resent the patch, please check.

> Also, isn't a Makefile change needed?
> 

the content of config-powerpc.mak shares the same directory structure
with that of config-x86-common.mak, so i think it is not needed to
change Makefile while moving "powerpc" out of the "test" dir.


Regards,

Ken CC


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH QEMU-KVM v2 diff.renames] kvm: rename kvm/test/test/powerpc to kvm/test/powerpc
  2010-06-07  1:40   ` [PATCH QEMU-KVM v2 diff.renames] " Ken CC
@ 2010-06-07  7:29     ` Avi Kivity
  0 siblings, 0 replies; 5+ messages in thread
From: Avi Kivity @ 2010-06-07  7:29 UTC (permalink / raw)
  To: Ken CC; +Cc: kvm

On 06/07/2010 04:40 AM, Ken CC wrote:
> To make the directory architecture match the make config file
> kvm/test/config-powerpc.mk.
>    

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-07  7:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-06 13:13 [PATCH qemu-kvm] kvm: rename kvm/test/test/powerpc to kvm/test/powerpc Ken CC
2010-06-06 13:22 ` Avi Kivity
2010-06-07  1:40   ` [PATCH QEMU-KVM v2 diff.renames] " Ken CC
2010-06-07  7:29     ` Avi Kivity
2010-06-07  1:46   ` [PATCH qemu-kvm] " Ken CC

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox