target/ppc: Fix argument to ppc_radix64_partition_scoped_xlate() again
PATCH 1/1 target/ppc: Fix argument to ppc_radix64_partition_scoped_xlate() again
The penultimate argument of function ppc_radix64_partition_scoped_xlate() has the bool type.
---
A patch fixing the same issue in other places was merged recently in ppc-for-5.1. Maybe worth squashing the two patches into one ?
commit 372ef6e9b803ef10c3200c45311d218e2c97b218
Author: Greg Kurz <[email protected]> Date: Thu May 14 00:57:13 2020 +0200
target/ppc: Fix arguments to ppc_radix64_partition_scoped_xlate()
--- target/ppc/mmu-radix64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/ppc/mmu-radix64.c +1 -1
@@ -513,7 +513,7 @@ static int ppc_radix64_xlate(PowerPCCPU *cpu, vaddr eaddr, int rwx, ret =ppc_radix64_partition_scoped_xlate (cpu, rwx, eaddr, g_raddr, pate, raddr, &prot, &psize, -0 , guest_visible); + false, guest_visible);if (ret) {return ret; }
Quoted 26 lines · Greg Kurz
The penultimate argument of function
ppc_radix64_partition_scoped_xlate()has the bool type.Fixes d04ea940c597 "target/ppc: Add support for Radix partition-scoped translation"Signed-off-by Greg Kurz <[email protected]>---
A patch fixing the same issue in other places was merged recently in ppc-for-5.1. Maybe worth squashing the two patches into one ?
commit
372ef6e9b803ef10c3200c45311d218e2c97b218Author: Greg Kurz <[email protected]> Date: Thu May 14 00:57:13 2020 +0200target/ppc: Fix arguments to
ppc_radix64_partition_scoped_xlate()--- target/ppc/mmu-radix64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)target/ppc/mmu-radix64.c +0
-0
target/ppc/mmu-radix64.c static int ppc_radix64_xlate(PowerPCCPU *cpu, vaddr eaddr, int rwx, · line 519
Quoted 8 lines
target/ppc/mmu-radix64.c +1
-1@@ -513,7 +513,7 @@ static int ppc_radix64_xlate(PowerPCCPU *cpu, vaddr eaddr, int rwx, ret =ppc_radix64_partition_scoped_xlate (cpu, rwx, eaddr, g_raddr, pate, raddr, &prot, &psize, -0 , guest_visible); + false, guest_visible);if (ret) {return ret; }
David Gibson
AppliedQuoted 5 lines · Greg Kurz
The penultimate argument of function
ppc_radix64_partition_scoped_xlate()has the bool type.Fixes d04ea940c597 "target/ppc: Add support for Radix partition-scoped translation"Signed-off-by Greg Kurz <[email protected]>
Applied, thanks.
Quoted 4 lines
---
A patch fixing the same issue in other places was merged recently in ppc-for-5.1. Maybe worth squashing the two patches into one ?
I haven't done this, because it ran into some conflicts that I didn't want to spend time resolving.
Quoted 24 lines
commit
372ef6e9b803ef10c3200c45311d218e2c97b218Author: Greg Kurz <[email protected]> Date: Thu May 14 00:57:13 2020 +0200target/ppc: Fix arguments to
ppc_radix64_partition_scoped_xlate()--- target/ppc/mmu-radix64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)target/ppc/mmu-radix64.c +1
-1@@ -513,7 +513,7 @@ static int ppc_radix64_xlate(PowerPCCPU *cpu, vaddr eaddr, int rwx, ret =ppc_radix64_partition_scoped_xlate (cpu, rwx, eaddr, g_raddr, pate, raddr, &prot, &psize, -0 , guest_visible); + false, guest_visible);if (ret) {return ret; }
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson