|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v12] xen/arm64: io: Handle data abort due to cache maintenance instructions
Hi, On 18/04/2022 22:02, Stefano Stabellini wrote: On Fri, 1 Apr 2022, Julien Grall wrote:On 24/03/2022 13:37, Ayan Kumar Halder wrote:
I have commited with my reviewed-by tag after folding the following diff:
For the record, I folded this diff:
diff --git a/xen/arch/arm/ioreq.c b/xen/arch/arm/ioreq.c
index 87a6240f2aa9..bdd536e873e5 100644
--- a/xen/arch/arm/ioreq.c
+++ b/xen/arch/arm/ioreq.c
@@ -52,7 +52,6 @@ enum io_state try_fwd_ioserv(struct cpu_user_regs *regs,
ioreq_t p = {
.type = IOREQ_TYPE_COPY,
.addr = info->gpa,
- .size = 1 << info->dabt.size,
.count = 1,
.dir = !info->dabt.write,
/*
@@ -75,6 +74,8 @@ enum io_state try_fwd_ioserv(struct cpu_user_regs *regs,
if ( instr.state == INSTR_CACHE )
p.size = dcache_line_bytes;
+ else
+ p.size = 1U << info->dabt.size;
s = ioreq_server_select(v->domain, &p);
if ( !s )
Cheers,
--
Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |