linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] misc: pvpanic: introduce capability & event attribute
@ 2021-01-10 11:53 zhenwei pi
  2021-01-10 11:53 ` [PATCH v5 1/2] misc: pvpanic: introduce device capability zhenwei pi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: zhenwei pi @ 2021-01-10 11:53 UTC (permalink / raw)
  To: arnd, gregkh; +Cc: pbonzini, linux-kernel, pizhenwei

v4 -> v5:
Use sysfs_emit to export attribute value.
Only allow subset of capability to set on events.
Add more detailed infomation in document.

v3 -> v4:
Use event sysfs attribute instead of module parameter.
Use driver dev_groups instead of creating files by sysfs_* API.

v2 -> v3:
Seperate the function to 2 parts:
    1, use sysfs to expose device capability.
    2, add a module parameter to set limitation by user.

v1 -> v2:
Remove device info log, use module parameter to expose capability.

v1:
The guest sides determines pvpanic capability by RDPT, before kicking
host side, check the event is supported or not.

zhenwei pi (2):
  misc: pvpanic: introduce device capability
  misc: pvpanic: introduce module parameter 'events'

 .../ABI/testing/sysfs-bus-pci-devices-pvpanic | 14 +++++
 drivers/misc/pvpanic.c                        | 58 +++++++++++++++++--
 2 files changed, 67 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-pci-devices-pvpanic

-- 
2.25.1


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

end of thread, other threads:[~2021-01-21  7:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-10 11:53 [PATCH v5 0/2] misc: pvpanic: introduce capability & event attribute zhenwei pi
2021-01-10 11:53 ` [PATCH v5 1/2] misc: pvpanic: introduce device capability zhenwei pi
2021-01-10 11:53 ` [PATCH v5 2/2] misc: pvpanic: introduce events device attribue zhenwei pi
2021-01-18  1:42 ` PING: [PATCH v5 0/2] misc: pvpanic: introduce capability & event attribute zhenwei pi
2021-01-20 17:53   ` Greg KH
2021-01-21  2:12     ` zhenwei pi
2021-01-21  7:38     ` Paolo Bonzini

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).