Skip to contentSkip to conversation

ppc: remove the interrupt presenters from under PowerPCCPU

PATCH Applied Cédric Le Goater 3 participants 3 messages Jan 28, 2019 – Jan 31, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc: remove the interrupt presenters from under PowerPCCPU

These fields have now been replaced by equivalents under the machine data.

---
 target/ppc/cpu.h | 5 -----
 1 file changed, 5 deletions(-)
target/ppc/cpu.h +0 -5
index a62ff60414f4..2c22292e7f41 100644
@@ -1178,9 +1178,6 @@ do {                                            \
 typedef struct PPCVirtualHypervisor PPCVirtualHypervisor;
 typedef struct PPCVirtualHypervisorClass PPCVirtualHypervisorClass;
 
-struct XiveTCTX;
-struct ICPState;
-
 /**
  * PowerPCCPU:
  * @env: #CPUPPCState
@@ -1198,8 +1195,6 @@ struct PowerPCCPU {
     int vcpu_id;
     uint32_t compat_pvr;
     PPCVirtualHypervisor *vhyp;
-    struct ICPState *icp;
-    struct XiveTCTX *tctx;
     void *machine_data;
     int32_t node_id; /* NUMA node this CPU belongs to */
     PPCHash64Options *hash64_opts;
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · On Mon, 28 Jan 2019 07:55:52 +0100 Cédric Le Goater <[email protected]> wrote:

These fields have now been replaced by equivalents under the machine data.

---

Quoted 26 lines
 target/ppc/cpu.h | 5 -----
 1 file changed, 5 deletions(-)
target/ppc/cpu.h +0 -5
index a62ff60414f4..2c22292e7f41 100644
@@ -1178,9 +1178,6 @@ do {                                            \
 typedef struct PPCVirtualHypervisor PPCVirtualHypervisor;
 typedef struct PPCVirtualHypervisorClass PPCVirtualHypervisorClass;
 
-struct XiveTCTX;
-struct ICPState;
-
 /**
  * PowerPCCPU:
  * @env: #CPUPPCState
@@ -1198,8 +1195,6 @@ struct PowerPCCPU {
     int vcpu_id;
     uint32_t compat_pvr;
     PPCVirtualHypervisor *vhyp;
-    struct ICPState *icp;
-    struct XiveTCTX *tctx;
     void *machine_data;
     int32_t node_id; /* NUMA node this CPU belongs to */
     PPCHash64Options *hash64_opts;
Applied
#2 lore raw
In reply to Cédric Le Goater
Quoted 4 lines · Cédric Le Goater

These fields have now been replaced by equivalents under the machine data.

Applied to ppc-for-4.0, thanks.

Quoted 27 lines
---
 target/ppc/cpu.h | 5 -----
 1 file changed, 5 deletions(-)
target/ppc/cpu.h +0 -5
index a62ff60414f4..2c22292e7f41 100644
@@ -1178,9 +1178,6 @@ do {                                            \
 typedef struct PPCVirtualHypervisor PPCVirtualHypervisor;
 typedef struct PPCVirtualHypervisorClass PPCVirtualHypervisorClass;
 
-struct XiveTCTX;
-struct ICPState;
-
 /**
  * PowerPCCPU:
  * @env: #CPUPPCState
@@ -1198,8 +1195,6 @@ struct PowerPCCPU {
     int vcpu_id;
     uint32_t compat_pvr;
     PPCVirtualHypervisor *vhyp;
-    struct ICPState *icp;
-    struct XiveTCTX *tctx;
     void *machine_data;
     int32_t node_id; /* NUMA node this CPU belongs to */
     PPCHash64Options *hash64_opts;
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