Skip to contentSkip to conversation

Alpha system emulation, v11

PATCH In review Richard Henderson 4 participants 14 messages Sep 22, 2011 – Oct 8, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

cover Alpha system emulation, v11

Changes v10 - v11:
* Fixes for icount, based on feedback from Peter and Edgar.
* Re-based against master.

The patch set is also available at

git://repo.or.cz/qemu/rth.git axp-system-7

r~

Richard Henderson (6):
target-alpha: Honor icount for RPCC instruction.
target-alpha: Add custom PALcode image for CLIPPER emulation.
target-alpha: Add CLIPPER emulation.
target-alpha: Implement WAIT IPR.
target-alpha: Implement HALT IPR.
target-alpha: Add high-resolution access to wall clock and an alarm.

 .gitmodules                       |    3 +
 Makefile                          |    3 +-
 Makefile.target                   |    1 +
 configure                         |    8 +-
 default-configs/alpha-softmmu.mak |    2 +
 hw/alpha_dp264.c                  |  177 ++++++++
 hw/alpha_pci.c                    |  134 ++++++
 hw/alpha_sys.h                    |   24 ++
 hw/alpha_typhoon.c                |  813 +++++++++++++++++++++++++++++++++++++
 pc-bios/README                    |    3 +
 pc-bios/palcode-clipper           |  Bin 0 -> 185703 bytes
 roms/qemu-palcode                 |    1 +
 target-alpha/cpu.h                |    4 +
 target-alpha/helper.h             |    5 +
 target-alpha/op_helper.c          |   25 ++
 target-alpha/translate.c          |   77 +++-
 16 files changed, 1262 insertions(+), 18 deletions(-)
 create mode 100644 hw/alpha_dp264.c
 create mode 100644 hw/alpha_pci.c
 create mode 100644 hw/alpha_sys.h
 create mode 100644 hw/alpha_typhoon.c
 create mode 100755 pc-bios/palcode-clipper
 create mode 160000 roms/qemu-palcode
Signature · 1 line
1.7.6.2
#1 lore raw

PATCH 1/6 target-alpha: Honor icount for RPCC instruction.

---
 target-alpha/translate.c |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
target-alpha/translate.c +10 -2
index 1e224a2..fb2e9e5 100644
@@ -2721,8 +2721,16 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
             break;
         case 0xC000:
             /* RPCC */
-            if (ra != 31)
-                gen_helper_load_pcc(cpu_ir[ra]);
+            if (ra != 31) {
+                if (use_icount) {
+                    gen_io_start();
+                    gen_helper_load_pcc(cpu_ir[ra]);
+                    gen_io_end();
+                    ret = EXIT_PC_STALE;
+                } else {
+                    gen_helper_load_pcc(cpu_ir[ra]);
+                }
+            }
             break;
         case 0xE000:
             /* RC */
Signature · 1 line
1.7.6.2
#2 lore raw

PATCH 2/6 target-alpha: Add custom PALcode image for CLIPPER emulation.

In reply to Richard Henderson
---
 .gitmodules             |    3 +++
 Makefile                |    3 ++-
 configure               |    8 +++++++-
 pc-bios/README          |    3 +++
 pc-bios/palcode-clipper |  Bin 0 -> 185703 bytes
 roms/qemu-palcode       |    1 +
 6 files changed, 16 insertions(+), 2 deletions(-)
 create mode 100755 pc-bios/palcode-clipper
 create mode 160000 roms/qemu-palcode
.gitmodules +3 -0
index 7884471..528743d 100644
@@ -10,3 +10,6 @@
 [submodule "roms/ipxe"]
 	path = roms/ipxe
 	url = git://git.qemu.org/ipxe.git
+[submodule "roms/qemu-palcode"]
+	path = roms/qemu-palcode
+	url = git://repo.or.cz/qemu-palcode.git
Makefile +2 -1
index a211158..efcd802 100644
@@ -251,7 +251,8 @@ bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb \
 mpc8544ds.dtb \
 multiboot.bin linuxboot.bin \
 s390-zipl.rom \
-spapr-rtas.bin slof.bin
+spapr-rtas.bin slof.bin \
+palcode-clipper
 else
 BLOBS=
 endif
configure +7 -1
index 414317a..8f404a5 100755
@@ -3629,7 +3629,13 @@ FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit"
 FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps"
 FILES="$FILES pc-bios/spapr-rtas/Makefile"
 FILES="$FILES roms/seabios/Makefile roms/vgabios/Makefile"
-for bios_file in $source_path/pc-bios/*.bin $source_path/pc-bios/*.rom $source_path/pc-bios/*.dtb $source_path/pc-bios/openbios-*; do
+for bios_file in \
+    $source_path/pc-bios/*.bin \
+    $source_path/pc-bios/*.rom \
+    $source_path/pc-bios/*.dtb \
+    $source_path/pc-bios/openbios-* \
+    $source_path/pc-bios/palcode-*
+do
     FILES="$FILES pc-bios/`basename $bios_file`"
 done
 mkdir -p $DIRS
pc-bios/README +3 -0
index f74b246..861227a 100644
@@ -32,3 +32,6 @@
 - The S390 zipl loader is an addition to the official IBM s390-tools
   package. That fork is maintained in its own git repository at:
   git://repo.or.cz/s390-tools.git
+
+- The Alpha palcode image is available from:
+  git://repo.or.cz/qemu-palcode.git
pc-bios/palcode-clipper new file binary +0 -0
new file mode 100755
index 0000000000000000000000000000000000000000..a92372c107af72071e265e1ca94b9ae5573bd317
GIT binary patch
roms/qemu-palcode new file +1 -0
new file mode 160000
index 0000000..7abb12f
@@ -0,0 +1 @@
+Subproject commit 7abb12f60eb3069019e9497e193733d77d8f0722
Signature · 1 line
1.7.6.2
#3 lore raw

PATCH 3/6 target-alpha: Add CLIPPER emulation.

In reply to Richard Henderson

This is a DP264 variant, SMP capable, no unusual hardware present.

The emulation does not currently include any PCI IOMMU code. Hopefully the generic support for that can be merged to HEAD soon.

---
 Makefile.target                   |    1 +
 default-configs/alpha-softmmu.mak |    2 +
 hw/alpha_dp264.c                  |  177 ++++++++
 hw/alpha_pci.c                    |  134 +++++++
 hw/alpha_sys.h                    |   24 ++
 hw/alpha_typhoon.c                |  794 +++++++++++++++++++++++++++++++++++++
 6 files changed, 1132 insertions(+), 0 deletions(-)
 create mode 100644 hw/alpha_dp264.c
 create mode 100644 hw/alpha_pci.c
 create mode 100644 hw/alpha_sys.h
 create mode 100644 hw/alpha_typhoon.c
Makefile.target +1 -0
index 88d2f1f..31de2f2 100644
@@ -367,6 +367,7 @@ obj-s390x-y = s390-virtio-bus.o s390-virtio.o
 
 obj-alpha-y = i8259.o mc146818rtc.o
 obj-alpha-y += vga.o cirrus_vga.o
+obj-alpha-y += alpha_pci.o alpha_dp264.o alpha_typhoon.o
 
 obj-xtensa-y += xtensa_pic.o
 obj-xtensa-y += xtensa_sample.o
default-configs/alpha-softmmu.mak +2 -0
index abadcff..be86d0c 100644
@@ -3,7 +3,9 @@
 include pci.mak
 CONFIG_SERIAL=y
 CONFIG_I8254=y
+CONFIG_PCKBD=y
 CONFIG_VGA_PCI=y
 CONFIG_IDE_CORE=y
 CONFIG_IDE_QDEV=y
 CONFIG_VMWARE_VGA=y
+CONFIG_IDE_CMD646=y
hw/alpha_dp264.c new file +177 -0

177 lines not on this page · raw message

hw/alpha_pci.c new file +111 -0

111 lines not on this page · raw message

+void alpha_pci_vga_setup(PCIBus *pci_bus)
+{
+ switch (vga_interface_type) {
+#ifdef CONFIG_SPICE
+ case VGA_QXL:
+ pci_create_simple(pci_bus, -1, "qxl-vga");
+ return;
+#endif
+ case VGA_CIRRUS:
+ pci_cirrus_vga_init(pci_bus);
+ return;
+ case VGA_VMWARE:
+ if (pci_vmsvga_init(pci_bus)) {
+ return;
+ }
+ break;
+ }
+ /* If VGA is enabled at all, and one of the above didn't work, then
+ fallback to Standard VGA. */
+ if (vga_interface_type != VGA_NONE) {
+ pci_vga_init(pci_bus);
+ }
+}

hw/alpha_sys.h new file +24 -0
new file mode 100644
index 0000000..13f0177
@@ -0,0 +1,24 @@
+/* Alpha cores and system support chips.  */
+
+#ifndef HW_ALPHA_H
+#define HW_ALPHA_H 1
+
+#include "pci.h"
+#include "pci_host.h"
+#include "ide.h"
+#include "net.h"
+#include "pc.h"
+#include "usb-ohci.h"
+#include "irq.h"
+
+
+PCIBus *typhoon_init(ram_addr_t, qemu_irq *, CPUState *[4], pci_map_irq_fn);
+
+/* alpha_pci.c.  */
+extern const MemoryRegionOps alpha_pci_bw_io_ops;
+extern const MemoryRegionOps alpha_pci_conf1_ops;
+extern const MemoryRegionOps alpha_pci_iack_ops;
+
+void alpha_pci_vga_setup(PCIBus *pci_bus);
+
+#endif
hw/alpha_typhoon.c new file +794 -0

794 lines not on this page · raw message

Signature · 1 line
1.7.6.2
#4 lore raw

PATCH 4/6 target-alpha: Implement WAIT IPR.

In reply to Richard Henderson
---
 target-alpha/translate.c |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)
target-alpha/translate.c +21 -10
index fb2e9e5..c1ef465 100644
@@ -1617,9 +1617,10 @@ static void gen_mfpr(int ra, int regno)
     }
 }
 
-static void gen_mtpr(int rb, int regno)
+static ExitStatus gen_mtpr(DisasContext *ctx, int rb, int regno)
 {
     TCGv tmp;
+    int data;
 
     if (rb == 31) {
         tmp = tcg_const_i64(0);
@@ -1627,19 +1628,27 @@ static void gen_mtpr(int rb, int regno)
         tmp = cpu_ir[rb];
     }
 
-    /* These two register numbers perform a TLB cache flush.  Thankfully we
-       can only do this inside PALmode, which means that the current basic
-       block cannot be affected by the change in mappings.  */
-    if (regno == 255) {
+    switch (regno) {
+    case 255:
         /* TBIA */
         gen_helper_tbia();
-    } else if (regno == 254) {
+        break;
+
+    case 254:
         /* TBIS */
         gen_helper_tbis(tmp);
-    } else {
+        break;
+
+    case 253:
+        /* WAIT */
+        tmp = tcg_const_i64(1);
+        tcg_gen_st32_i64(tmp, cpu_env, offsetof(CPUState, halted));
+        return gen_excp(ctx, EXCP_HLT, 0);
+
+    default:
         /* The basic registers are data only, and unknown registers
            are read-zero, write-ignore.  */
-        int data = cpu_pr_data(regno);
+        data = cpu_pr_data(regno);
         if (data != 0) {
             if (data & PR_BYTE) {
                 tcg_gen_st8_i64(tmp, cpu_env, data & ~PR_BYTE);
@@ -1649,11 +1658,14 @@ static void gen_mtpr(int rb, int regno)
                 tcg_gen_st_i64(tmp, cpu_env, data);
             }
         }
+        break;
     }
 
     if (rb == 31) {
         tcg_temp_free(tmp);
     }
+
+    return NO_EXIT;
 }
 #endif /* !USER_ONLY*/
 
@@ -3061,8 +3073,7 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
         /* HW_MTPR (PALcode) */
 #ifndef CONFIG_USER_ONLY
         if (ctx->tb->flags & TB_FLAGS_PAL_MODE) {
-            gen_mtpr(rb, insn & 0xffff);
-            break;
+            return gen_mtpr(ctx, rb, insn & 0xffff);
         }
 #endif
         goto invalid_opc;
Signature · 1 line
1.7.6.2
#5 lore raw

PATCH 5/6 target-alpha: Implement HALT IPR.

In reply to Richard Henderson
---
 target-alpha/helper.h    |    1 +
 target-alpha/op_helper.c |   10 ++++++++++
 target-alpha/translate.c |    5 +++++
 3 files changed, 16 insertions(+), 0 deletions(-)
target-alpha/helper.h +1 -0
index 2dec57e..c352c24 100644
@@ -113,6 +113,7 @@ DEF_HELPER_2(stq_c_phys, i64, i64, i64)
 
 DEF_HELPER_FLAGS_0(tbia, TCG_CALL_CONST, void)
 DEF_HELPER_FLAGS_1(tbis, TCG_CALL_CONST, void, i64)
+DEF_HELPER_1(halt, void, i64);
 #endif
 
 #include "def-helper.h"
target-alpha/op_helper.c +10 -0
index 38be234..db5b9e7 100644
@@ -22,6 +22,7 @@
 #include "host-utils.h"
 #include "softfloat.h"
 #include "helper.h"
+#include "sysemu.h"
 #include "qemu-timer.h"
 
 #define FP_STATUS (env->fp_status)
@@ -1218,6 +1219,15 @@ void helper_tbis(uint64_t p)
 {
     tlb_flush_page(env, p);
 }
+
+void helper_halt(uint64_t restart)
+{
+    if (restart) {
+        qemu_system_reset_request();
+    } else {
+        qemu_system_shutdown_request();
+    }
+}
 #endif
 
 /*****************************************************************************/
target-alpha/translate.c +5 -0
index c1ef465..0acbd68 100644
@@ -1645,6 +1645,11 @@ static ExitStatus gen_mtpr(DisasContext *ctx, int rb, int regno)
         tcg_gen_st32_i64(tmp, cpu_env, offsetof(CPUState, halted));
         return gen_excp(ctx, EXCP_HLT, 0);
 
+    case 252:
+        /* HALT */
+        gen_helper_halt(tmp);
+        return EXIT_PC_STALE;
+
     default:
         /* The basic registers are data only, and unknown registers
            are read-zero, write-ignore.  */
Signature · 1 line
1.7.6.2
#6 lore raw

PATCH 6/6 target-alpha: Add high-resolution access to wall clock and an alarm.

In reply to Richard Henderson

The alarm is a fully general one-shot time comparator, which will be usable under Linux as a hrtimer source. It's much more flexible than the RTC source available on real hardware.

The wall clock allows the guest access to the host timekeeping. Much like the KVM wall clock source for other guests.

Both are accessed via the PALcode Cserve entry point.

---
 hw/alpha_typhoon.c       |   21 ++++++++++++++++++++-
 target-alpha/cpu.h       |    4 ++++
 target-alpha/helper.h    |    4 ++++
 target-alpha/op_helper.c |   15 +++++++++++++++
 target-alpha/translate.c |   29 +++++++++++++++++++++++++----
 5 files changed, 68 insertions(+), 5 deletions(-)
hw/alpha_typhoon.c +20 -1
index 3637efc..3d30e0e 100644
@@ -681,6 +681,16 @@ static void typhoon_set_timer_irq(void *opaque, int irq, int level)
     }
 }
 
+static void typhoon_alarm_timer(void *opaque)
+{
+    TyphoonState *s = (TyphoonState *)((uintptr_t)opaque & ~3);
+    int cpu = (uintptr_t)opaque & 3;
+
+    /* Set the ITI bit for this cpu.  */
+    s->cchip.misc |= 1 << (cpu + 4);
+    cpu_interrupt(s->cchip.cpu[cpu], CPU_INTERRUPT_TIMER);
+}
+
 PCIBus *typhoon_init(ram_addr_t ram_size, qemu_irq *p_rtc_irq,
                      CPUState *cpus[4], pci_map_irq_fn sys_map_irq)
 {
@@ -692,6 +702,7 @@ PCIBus *typhoon_init(ram_addr_t ram_size, qemu_irq *p_rtc_irq,
     PCIHostState *p;
     TyphoonState *s;
     PCIBus *b;
+    int i;
 
     dev = qdev_create(NULL, "typhoon-pcihost");
     qdev_init_nofail(dev);
@@ -700,7 +711,15 @@ PCIBus *typhoon_init(ram_addr_t ram_size, qemu_irq *p_rtc_irq,
     s = container_of(p, TyphoonState, host);
 
     /* Remember the CPUs so that we can deliver interrupts to them.  */
-    memcpy(s->cchip.cpu, cpus, 4 * sizeof(CPUState *));
+    for (i = 0; i < 4; i++) {
+        CPUState *env = cpus[i];
+        s->cchip.cpu[i] = env;
+        if (env) {
+            env->alarm_timer = qemu_new_timer_ns(rtc_clock,
+                                                 typhoon_alarm_timer,
+                                                 (void *)((uintptr_t)s + i));
+        }
+    }
 
     *p_rtc_irq = *qemu_allocate_irqs(typhoon_set_timer_irq, s, 1);
 
target-alpha/cpu.h +4 -0
index c2e7bb3..9d61d45 100644
@@ -265,6 +265,10 @@ struct CPUAlphaState {
     uint64_t scratch[24];
 #endif
 
+    /* This alarm doesn't exist in real hardware; we wish it did.  */
+    struct QEMUTimer *alarm_timer;
+    uint64_t alarm_expire;
+
 #if TARGET_LONG_BITS > HOST_LONG_BITS
     /* temporary fixed-point registers
      * used to emulate 64 bits target on 32 bits hosts
target-alpha/helper.h +4 -0
index c352c24..b693cee 100644
@@ -113,7 +113,11 @@ DEF_HELPER_2(stq_c_phys, i64, i64, i64)
 
 DEF_HELPER_FLAGS_0(tbia, TCG_CALL_CONST, void)
 DEF_HELPER_FLAGS_1(tbis, TCG_CALL_CONST, void, i64)
+
 DEF_HELPER_1(halt, void, i64);
+
+DEF_HELPER_FLAGS_0(get_time, TCG_CALL_CONST, i64)
+DEF_HELPER_FLAGS_1(set_alarm, TCG_CALL_CONST, void, i64)
 #endif
 
 #include "def-helper.h"
target-alpha/op_helper.c +15 -0
index db5b9e7..6832163 100644
@@ -1228,6 +1228,21 @@ void helper_halt(uint64_t restart)
         qemu_system_shutdown_request();
     }
 }
+
+uint64_t helper_get_time(void)
+{
+    return qemu_get_clock_ns(rtc_clock);
+}
+
+void helper_set_alarm(uint64_t expire)
+{
+    if (expire) {
+        env->alarm_expire = expire;
+        qemu_mod_timer(env->alarm_timer, expire);
+    } else {
+        qemu_del_timer(env->alarm_timer);
+    }
+}
 #endif
 
 /*****************************************************************************/
target-alpha/translate.c +25 -4
index 0acbd68..a961159 100644
@@ -1590,18 +1590,34 @@ static int cpu_pr_data(int pr)
         return offsetof(CPUAlphaState, shadow[pr - 32]);
     case 40 ... 63:
         return offsetof(CPUAlphaState, scratch[pr - 40]);
+
+    case 251:
+        return offsetof(CPUAlphaState, alarm_expire);
     }
     return 0;
 }
 
-static void gen_mfpr(int ra, int regno)
+static ExitStatus gen_mfpr(int ra, int regno)
 {
     int data = cpu_pr_data(regno);
 
     /* In our emulated PALcode, these processor registers have no
        side effects from reading.  */
     if (ra == 31) {
-        return;
+        return NO_EXIT;
+    }
+
+    if (regno == 250) {
+        /* WALL_TIME */
+        if (use_icount) {
+            gen_io_start();
+            gen_helper_get_time(cpu_ir[ra]);
+            gen_io_end();
+            return EXIT_PC_STALE;
+        } else {
+            gen_helper_get_time(cpu_ir[ra]);
+            return NO_EXIT;
+        }
     }
 
     /* The basic registers are data only, and unknown registers
@@ -1615,6 +1631,7 @@ static void gen_mfpr(int ra, int regno)
     } else {
         tcg_gen_ld_i64(cpu_ir[ra], cpu_env, data);
     }
+    return NO_EXIT;
 }
 
 static ExitStatus gen_mtpr(DisasContext *ctx, int rb, int regno)
@@ -1650,6 +1667,11 @@ static ExitStatus gen_mtpr(DisasContext *ctx, int rb, int regno)
         gen_helper_halt(tmp);
         return EXIT_PC_STALE;
 
+    case 251:
+        /* ALARM */
+        gen_helper_set_alarm(tmp);
+        break;
+
     default:
         /* The basic registers are data only, and unknown registers
            are read-zero, write-ignore.  */
@@ -2772,8 +2794,7 @@ static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
         /* HW_MFPR (PALcode) */
 #ifndef CONFIG_USER_ONLY
         if (ctx->tb->flags & TB_FLAGS_PAL_MODE) {
-            gen_mfpr(ra, insn & 0xffff);
-            break;
+            return gen_mfpr(ra, insn & 0xffff);
         }
 #endif
         goto invalid_opc;
Signature · 1 line
1.7.6.2
Acked-by on the v1 series
#7 lore raw
In reply to Richard Henderson
Quoted 12 lines · Richard Henderson

Changes v10 - v11:
* Fixes for icount, based on feedback from Peter and Edgar.
* Re-based against master.

The patch set is also available at

git://repo.or.cz/qemu/rth.git axp-system-7

r~

Quoted 7 lines

Richard Henderson (6):
target-alpha: Honor icount for RPCC instruction.
target-alpha: Add custom PALcode image for CLIPPER emulation.
target-alpha: Add CLIPPER emulation.
target-alpha: Implement WAIT IPR.
target-alpha: Implement HALT IPR.
target-alpha: Add high-resolution access to wall clock and an alarm.

Thanks

Ack on everything but 2/6. Someone else can maybe check if the submodulery is OK..

#8 lore raw

Ping.

r~

Quoted 27 lines · Edgar E. Iglesias
Quoted 12 lines · Richard Henderson

Changes v10 - v11:
* Fixes for icount, based on feedback from Peter and Edgar.
* Re-based against master.

The patch set is also available at

git://repo.or.cz/qemu/rth.git axp-system-7

r~

Quoted 7 lines

Richard Henderson (6):
target-alpha: Honor icount for RPCC instruction.
target-alpha: Add custom PALcode image for CLIPPER emulation.
target-alpha: Add CLIPPER emulation.
target-alpha: Implement WAIT IPR.
target-alpha: Implement HALT IPR.
target-alpha: Add high-resolution access to wall clock and an alarm.

Thanks

Ack on everything but 2/6. Someone else can maybe check if the submodulery is OK..

#9 lore raw

Ping 2.

Quoted 31 lines · Richard Henderson

Ping.

Quoted 27 lines · Edgar E. Iglesias
Quoted 12 lines · Richard Henderson

Changes v10 - v11:
* Fixes for icount, based on feedback from Peter and Edgar.
* Re-based against master.

The patch set is also available at

git://repo.or.cz/qemu/rth.git axp-system-7

r~

Quoted 7 lines

Richard Henderson (6):
target-alpha: Honor icount for RPCC instruction.
target-alpha: Add custom PALcode image for CLIPPER emulation.
target-alpha: Add CLIPPER emulation.
target-alpha: Implement WAIT IPR.
target-alpha: Implement HALT IPR.
target-alpha: Add high-resolution access to wall clock and an alarm.

Thanks

Ack on everything but 2/6. Someone else can maybe check if the submodulery is OK..

#10 lore raw
Quoted 23 lines · Richard Henderson

Ping 2.

Quoted 20 lines · Richard Henderson

Ping.

Quoted 17 lines · Edgar E. Iglesias
Quoted 16 lines · Richard Henderson

Changes v10 - v11:
  * Fixes for icount, based on feedback from Peter and Edgar.
  * Re-based against master.

The patch set is also available at

  git://repo.or.cz/qemu/rth.git axp-system-7

r~

Richard Henderson (6):
  target-alpha: Honor icount for RPCC instruction.
  target-alpha: Add custom PALcode image for CLIPPER emulation.
  target-alpha: Add CLIPPER emulation.

CC alpha-softmmu/alpha_typhoon.o
/src/qemu/hw/alpha_typhoon.c: In function 'typhoon_init':
/src/qemu/hw/alpha_typhoon.c:788: error: too few arguments to function 'isa_bus_new'

I don't know how to fix that while pulling, please fix or educate.

Quoted 14 lines
Quoted 11 lines
Quoted 10 lines
Quoted 3 lines

  target-alpha: Implement WAIT IPR.
  target-alpha: Implement HALT IPR.
  target-alpha: Add high-resolution access to wall clock and an alarm.

Thanks

Ack on everything but 2/6. Someone else can maybe check if the submodulery is OK..

#11 lore raw
Quoted 25 lines · Blue Swirl
Quoted 23 lines · Richard Henderson

Ping 2.

Quoted 20 lines · Richard Henderson

Ping.

Quoted 17 lines · Edgar E. Iglesias
Quoted 16 lines · Richard Henderson

Changes v10 - v11:
* Fixes for icount, based on feedback from Peter and Edgar.
* Re-based against master.

The patch set is also available at

git://repo.or.cz/qemu/rth.git axp-system-7

r~

Richard Henderson (6):
target-alpha: Honor icount for RPCC instruction.
target-alpha: Add custom PALcode image for CLIPPER emulation.
target-alpha: Add CLIPPER emulation.

Quoted 4 lines

CC alpha-softmmu/alpha_typhoon.o
/src/qemu/hw/alpha_typhoon.c: In function 'typhoon_init':
/src/qemu/hw/alpha_typhoon.c:788: error: too few arguments to function 'isa_bus_new'

Rebased, fixed, and pushed back to repo.or.cz.

r~

#12 lore raw
Quoted 26 lines · Richard Henderson
Quoted 25 lines · Blue Swirl
Quoted 23 lines · Richard Henderson

Ping 2.

Quoted 20 lines · Richard Henderson

Ping.

Quoted 17 lines · Edgar E. Iglesias
Quoted 16 lines · Richard Henderson

Changes v10 - v11:
  * Fixes for icount, based on feedback from Peter and Edgar.
  * Re-based against master.

The patch set is also available at

  git://repo.or.cz/qemu/rth.git axp-system-7

r~

Richard Henderson (6):
  target-alpha: Honor icount for RPCC instruction.
  target-alpha: Add custom PALcode image for CLIPPER emulation.
  target-alpha: Add CLIPPER emulation.

Quoted 6 lines
Quoted 4 lines

  CC    alpha-softmmu/alpha_typhoon.o /src/qemu/hw/alpha_typhoon.c: In function 'typhoon_init':
/src/qemu/hw/alpha_typhoon.c:788: error: too few arguments to function 'isa_bus_new'

Rebased, fixed, and pushed back to repo.or.cz.

Thanks, pulled.

#13 lore raw
In reply to Edgar E. Iglesias
Quoted 21 lines · Edgar E. Iglesias
Quoted 12 lines · Richard Henderson

Changes v10 - v11:
* Fixes for icount, based on feedback from Peter and Edgar.
* Re-based against master.

The patch set is also available at

   git://repo.or.cz/qemu/rth.git axp-system-7

r~

Quoted 7 lines

Richard Henderson (6):
target-alpha: Honor icount for RPCC instruction.
target-alpha: Add custom PALcode image for CLIPPER emulation.
target-alpha: Add CLIPPER emulation.
target-alpha: Implement WAIT IPR.
target-alpha: Implement HALT IPR.
target-alpha: Add high-resolution access to wall clock and an alarm.

Quoted 4 lines

Thanks

Ack on everything but 2/6. Someone else can maybe check if the submodulery is OK..

Submodulery is OK. If you want you can mirror (with wget, not "git clone"!) http://repo.or.cz/r/qemu-palcode.git/ on qemu.org and change .gitmodules to point to the repo on qemu.org. This can be done separately however. Blue Swirl did it recently for OpenBIOS, perhaps he can do it for the Alpha PAL code too.

Paolo