@@ -90,6 +90,28 @@ static struct cmd_list cmds[] = {
{ NULL, 0, 0 },
};
+static void test_i3(void)
+{
+ struct uv_cb_header uvcb = {
+ .cmd = UVC_CMD_INIT_UV,
+ .len = sizeof(struct uv_cb_init),
+ };
+ unsigned long r1 = 0;
+ int cc;
+
+ report_prefix_push("i3");
+ expect_pgm_int();
+ asm volatile(
+ "0: .insn rrf,0xB9A40000,%[r1],%[r2],4,2\n"
+ " ipm %[cc]\n"
+ " srl %[cc],28\n"
+ : [cc] "=d" (cc)
+ : [r1] "a" (r1), [r2] "a" (&uvcb)
+ : "memory", "cc");
+ check_pgm_int_code(PGM_INT_CODE_SPECIFICATION);
+ report_prefix_pop();
+}
+
static void test_priv(void)
{
struct uv_cb_header uvcb = {};
@@ -585,6 +607,7 @@ int main(void)
goto done;
}
+ test_i3();
test_priv();
test_invalid();
test_uv_uninitialized();