io: remove pio emulation restriction
Currently, the serial log is printed through IO(0x3f8).
Secure World will print serial log by port 0x3f8. So
remove the ASSERT for Secure World booting.
@@ -45,8 +45,6 @@ int dm_emulate_pio_post(struct vcpu *vcpu)
0xFFFFFFFFul >> (32 - 8 * vcpu->req.reqs.pio_request.size);
uint64_t *rax;
- ASSERT(cur_context == 0, "pio emulation only happen in normal wrold");
-
rax = &vcpu->arch_vcpu.contexts[cur_context].guest_cpu_regs.regs.rax;
vcpu->req.reqs.pio_request.value =
req_buf->req_queue[cur].reqs.pio_request.value;
@@ -92,9 +90,6 @@ int io_instr_handler(struct vcpu *vcpu)
struct run_context *cur_context;
int status = -EINVAL;
- ASSERT(cur_context_idx == 0,
- "pio emulation only happen in normal wrold");
-
cur_context = &vcpu->arch_vcpu.contexts[cur_context_idx];
exit_qual = vcpu->arch_vcpu.exit_qualification;
