summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOlof Johansson <olof@austin.ibm.com>2004-09-02 20:23:30 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-02 20:23:30 -0700
commitad15f36c96f93d424db354773183404cdb420e03 (patch)
treedd34e8136dfcb605b7ca12fea262e145368b51c3 /include
parentdd51cabb6adff7022e0c81a4a06eb160a2c90ce3 (diff)
[PATCH] ppc64: Make use of batched IOMMU calls on pSeries LPARs
Implement the HCALLs to do more than one TCE setup or invalidation at a time on pSeries LPAR. Previous implementation did one hypervisor call per setup or teardown, resulting in significant overhead. A simple test of "time dd if=/dev/sda of=/dev/null bs=128k" shows the amount of system time go down by about 5% by using the multi-tce calls. Signed-off-by: Olof Johansson <olof@austin.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/hvcall.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/asm-ppc64/hvcall.h b/include/asm-ppc64/hvcall.h
index f47cc032919c..6ce5ef9c1692 100644
--- a/include/asm-ppc64/hvcall.h
+++ b/include/asm-ppc64/hvcall.h
@@ -101,10 +101,12 @@
#define H_VIO_SIGNAL 0x104
#define H_SEND_CRQ 0x108
#define H_COPY_RDMA 0x110
-#define H_POLL_PENDING 0x1D8
+#define H_STUFF_TCE 0x138
+#define H_PUT_TCE_INDIRECT 0x13C
#define H_VTERM_PARTNER_INFO 0x150
-#define H_REGISTER_VTERM 0x154
-#define H_FREE_VTERM 0x158
+#define H_REGISTER_VTERM 0x154
+#define H_FREE_VTERM 0x158
+#define H_POLL_PENDING 0x1D8
/* plpar_hcall() -- Generic call interface using above opcodes
*