devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] misc: vcpu_stall_detector: Add a PPI interrupt
@ 2024-06-11 11:01 Sebastian Ene
  2024-06-11 11:01 ` [PATCH v2 1/2] dt-bindings: vcpu_stall_detector: Add a PPI interrupt to the virtual device Sebastian Ene
  2024-06-11 11:01 ` [PATCH v2 2/2] misc: Register a PPI for the vcpu stall detection " Sebastian Ene
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Ene @ 2024-06-11 11:01 UTC (permalink / raw)
  To: arnd, gregkh, will, maz, Rob Herring, Dragan Cvetic,
	Guenter Roeck
  Cc: linux-kernel, devicetree, kernel-team, Sebastian Ene

Hello,


This is a small update of the previously introduced vcpu stall detector
which adds an interrupt to the virtual device to notify the guest VM in
case it stalls. This lets the guest VM to handle the reboot and to
panic in case it expires. 

Changelog from v1:

* 1/2 : collected the Ack from Conor Dooley, thank you Conor !

* 2/2 : applied the feedback received from Conor and used
	platform_get_irq_optional. Removed the error messages during
	probe
   

Thanks, 

Sebastian Ene (2):
  dt-bindings: vcpu_stall_detector: Add a PPI interrupt to the virtual
    device
  misc: Register a PPI for the vcpu stall detection virtual device

 .../misc/qemu,vcpu-stall-detector.yaml        |  6 ++++
 drivers/misc/vcpu_stall_detector.c            | 31 +++++++++++++++++--
 2 files changed, 35 insertions(+), 2 deletions(-)

-- 
2.45.2.505.gda0bf45e8d-goog


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH v2 0/2] misc: vcpu_stall_detector: Add a PPI interrupt
@ 2024-06-13 14:13 Sebastian Ene
  2024-06-13 14:13 ` [PATCH v2 2/2] misc: Register a PPI for the vcpu stall detection virtual device Sebastian Ene
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Ene @ 2024-06-13 14:13 UTC (permalink / raw)
  To: arnd, gregkh, will, maz, Rob Herring, Dragan Cvetic,
	Guenter Roeck
  Cc: linux-kernel, devicetree, kernel-team, Sebastian Ene

Hello,

I respined the v2 version to address an issue previously found here:
https://lore.kernel.org/all/202406132132.FBKSWFav-lkp@intel.com/
 
This is a small update of the previously introduced vcpu stall detector
which adds an interrupt to the virtual device to notify the guest VM in
case it stalls. This lets the guest VM to handle the reboot and to
panic in case it expires. 

Changelog from v1:

* 1/2 : collected the Ack from Conor Dooley, thank you Conor !

* 2/2 : applied the feedback received from Conor and used
	platform_get_irq_optional. Removed the error messages during
	probe
   

Thanks, 

Sebastian Ene (2):
  dt-bindings: vcpu_stall_detector: Add a PPI interrupt to the virtual
    device
  misc: Register a PPI for the vcpu stall detection virtual device

 .../misc/qemu,vcpu-stall-detector.yaml        |  6 ++++
 drivers/misc/vcpu_stall_detector.c            | 31 +++++++++++++++++--
 2 files changed, 35 insertions(+), 2 deletions(-)

-- 
2.45.2.505.gda0bf45e8d-goog


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-13 14:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-11 11:01 [PATCH v2 0/2] misc: vcpu_stall_detector: Add a PPI interrupt Sebastian Ene
2024-06-11 11:01 ` [PATCH v2 1/2] dt-bindings: vcpu_stall_detector: Add a PPI interrupt to the virtual device Sebastian Ene
2024-06-11 11:01 ` [PATCH v2 2/2] misc: Register a PPI for the vcpu stall detection " Sebastian Ene
2024-06-13 13:12   ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2024-06-13 14:13 [PATCH v2 0/2] misc: vcpu_stall_detector: Add a PPI interrupt Sebastian Ene
2024-06-13 14:13 ` [PATCH v2 2/2] misc: Register a PPI for the vcpu stall detection virtual device Sebastian Ene

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).