[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210110115358.79100-1-pizhenwei@bytedance.com>
Date: Sun, 10 Jan 2021 19:53:56 +0800
From: zhenwei pi <pizhenwei@...edance.com>
To: arnd@...db.de, gregkh@...uxfoundation.org
Cc: pbonzini@...hat.com, linux-kernel@...r.kernel.org,
pizhenwei@...edance.com
Subject: [PATCH v5 0/2] misc: pvpanic: introduce capability & event attribute
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
Powered by blists - more mailing lists