@@ -916,8 +916,7 @@ int kvmppc_xive_attach_escalation(struct kvm_vcpu *vcpu, u8 prio,
916916 * it fires once.
917917 */
918918 if (single_escalation ) {
919- struct irq_data * d = irq_get_irq_data (xc -> esc_virq [prio ]);
920- struct xive_irq_data * xd = irq_data_get_irq_handler_data (d );
919+ struct xive_irq_data * xd = irq_get_chip_data (xc -> esc_virq [prio ]);
921920
922921 xive_vm_esb_load (xd , XIVE_ESB_SET_PQ_01 );
923922 vcpu -> arch .xive_esc_raddr = xd -> eoi_page ;
@@ -1612,7 +1611,7 @@ int kvmppc_xive_set_mapped(struct kvm *kvm, unsigned long guest_irq,
16121611
16131612 /* Grab info about irq */
16141613 state -> pt_number = hw_irq ;
1615- state -> pt_data = irq_data_get_irq_handler_data (host_data );
1614+ state -> pt_data = irq_data_get_irq_chip_data (host_data );
16161615
16171616 /*
16181617 * Configure the IRQ to match the existing configuration of
@@ -1787,8 +1786,7 @@ void kvmppc_xive_disable_vcpu_interrupts(struct kvm_vcpu *vcpu)
17871786 */
17881787void xive_cleanup_single_escalation (struct kvm_vcpu * vcpu , int irq )
17891788{
1790- struct irq_data * d = irq_get_irq_data (irq );
1791- struct xive_irq_data * xd = irq_data_get_irq_handler_data (d );
1789+ struct xive_irq_data * xd = irq_get_chip_data (irq );
17921790
17931791 /*
17941792 * This slightly odd sequence gives the right result
@@ -2827,9 +2825,7 @@ int kvmppc_xive_debug_show_queues(struct seq_file *m, struct kvm_vcpu *vcpu)
28272825 i0 , i1 );
28282826 }
28292827 if (xc -> esc_virq [i ]) {
2830- struct irq_data * d = irq_get_irq_data (xc -> esc_virq [i ]);
2831- struct xive_irq_data * xd =
2832- irq_data_get_irq_handler_data (d );
2828+ struct xive_irq_data * xd = irq_get_chip_data (xc -> esc_virq [i ]);
28332829 u64 pq = xive_vm_esb_load (xd , XIVE_ESB_GET );
28342830
28352831 seq_printf (m , " ESC %d %c%c EOI @%llx" ,
0 commit comments