xen/x86: Remove is_periodic_irq() prototype
PATCH 1/1 xen/x86: Remove is_periodic_irq() prototype
is_periodic_irq() was removed in the Fixes commit, but the prototype remained. Drop it now.
---
The full Fixes line is:
--- xen/arch/x86/include/asm/hvm/vpic.h | 1 - 1 file changed, 1 deletion(-)
xen/arch/x86/include/asm/hvm/vpic.h +0 -1
@@ -35,6 +35,5 @@ void vpic_irq_negative_edge(struct domain *d, int irq);void vpic_init (struct domain *d);void vpic_reset (struct domain *d);int vpic_ack_pending_irq (struct vcpu *v); -int is_periodic_irq (struct vcpu *v,int irq,int type);#endif /* __ASM_X86_HVM_VPIC_H__ */
Signature · 1 line
2.49.0
Quoted 5 lines · Jason Andryuk
is_periodic_irq()was removed in the Fixes commit, but the prototype remained. Drop it now.Fixes ddc35d1cc994 ("[HVM] Enable more than one platform timer...")Signed-off-by Jason Andryuk <[email protected]>
Quoted 3 lines
---
The full Fixes line is:Fixes ddc35d1cc994 ("[HVM] Enable more than one platform timer (PIT/RTC/HPET) programmed as periodic timer and adds them to abstract layer, which keeps track of pending_intr_nr to avoid time interrupt lost and sync'ed timer with TSC.")
Yeah, the older commit messages weren't as well structured as we insist on them being these days.
How did you find this? inspection, or a tool?
~Andrew
Quoted 8 lines · Andrew Cooper
Quoted 5 lines · Jason Andryuk
is_periodic_irq()was removed in the Fixes commit, but the prototype remained. Drop it now.Fixes ddc35d1cc994 ("[HVM] Enable more than one platform timer...")Signed-off-by Jason Andryuk <[email protected]>Acked-by Andrew Cooper <[email protected]>
Thanks!
Quoted 8 lines
Quoted 3 lines
---
The full Fixes line is:Fixes ddc35d1cc994 ("[HVM] Enable more than one platform timer (PIT/RTC/HPET) programmed as periodic timer and adds them to abstract layer, which keeps track of pending_intr_nr to avoid time interrupt lost and sync'ed timer with TSC.")Yeah, the older commit messages weren't as well structured as we insist on them being these days.
How did you find this? inspection, or a tool?
grep after looking at your vpic.h patch :)
Regards,
Jason
Quoted 19 lines · Jason Andryuk
Quoted 8 lines · Andrew Cooper
Quoted 5 lines · Jason Andryuk
is_periodic_irq()was removed in the Fixes commit, but the prototype remained. Drop it now.Fixes ddc35d1cc994 ("[HVM] Enable more than one platform timer...")Signed-off-by Jason Andryuk <[email protected]>Acked-by Andrew Cooper <[email protected]>Thanks!
Quoted 7 lines
Quoted 6 lines
---
The full Fixes line is:Fixes ddc35d1cc994 ("[HVM] Enable more than one platform timer(PIT/RTC/HPET) programmed as periodic timer and adds them to abstract layer, which keeps track of
pending_intr_nrto avoid time interrupt lost and sync'ed timer with TSC.")
Quoted 6 lines
Quoted 4 lines
Yeah, the older commit messages weren't as well structured as we insist on them being these days.
How did you find this? inspection, or a tool?
grep after looking at your
vpic.hpatch :)
I grepped all prototypes in one go, which is why I missed it...
I had a more extreme version of this patch moving vpic.h into hvm/, but that's the only header of the set you can do this with. All others have a contributing part of struct domain or struct vcpu, and I don't have time to untangle sched.h today.
~Andrew
Quoted 9 lines · Andrew Cooper
Quoted 5 lines · Jason Andryuk
is_periodic_irq()was removed in the Fixes commit, but the prototype remained. Drop it now.Fixes ddc35d1cc994 ("[HVM] Enable more than one platform timer...")Signed-off-by Jason Andryuk <[email protected]>Acked-by Andrew Cooper <[email protected]>
Quoted 8 lines
Quoted 3 lines
---
The full Fixes line is:Fixes ddc35d1cc994 ("[HVM] Enable more than one platform timer (PIT/RTC/HPET) programmed as periodic timer and adds them to abstract layer, which keeps track of pending_intr_nr to avoid time interrupt lost and sync'ed timer with TSC.")Yeah, the older commit messages weren't as well structured as we insist on them being these days.
How did you find this? inspection, or a tool?
What I'm curious about: Why didn't Eclair spot this?
Jan
Quoted 9 lines · Jan Beulich
Quoted 8 lines · Andrew Cooper
Quoted 5 lines · Jason Andryuk
is_periodic_irq()was removed in the Fixes commit, but the prototype remained. Drop it now.Fixes ddc35d1cc994 ("[HVM] Enable more than one platform timer...")Signed-off-by Jason Andryuk <[email protected]>Acked-by Andrew Cooper <[email protected]>
Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
---
The full Fixes line is:Fixes ddc35d1cc994 ("[HVM] Enable more than one platform timer (PIT/RTC/HPET) programmed as periodic timer and adds them to abstract layer, which keeps track of pending_intr_nr to avoid time interrupt lost and sync'ed timer with TSC.")Yeah, the older commit messages weren't as well structured as we insist on them being these days.
How did you find this? inspection, or a tool?
What I'm curious about: Why didn't Eclair spot this?
I don't see how this case is distinguishable from the DCE case dropping calls to compiled-out functions, which is a deviation because of how Xen wants to work.
~Andrew