linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] crypto: hisilicon - supports device isolation feature
@ 2022-07-08  7:08 Kai Ye
  2022-07-08  7:08 ` [PATCH v5 1/3] uacce: " Kai Ye
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Kai Ye @ 2022-07-08  7:08 UTC (permalink / raw)
  To: gregkh, herbert; +Cc: linux-crypto, linux-kernel, wangzhou1, yekai13

1、Add the uacce hardware error isolation interface. Supports
   configures the hardware error isolation frequency.
2、Defining the isolation strategy for ACC by uacce sysfs node. If the 
   number of hardware errors in a per hour exceeds the configured value,
   the device will not be available in user space. The VF device use the
   PF device isolation strategy.
   
changes v1->v2:
	- deleted dev_to_uacce api.
	- add vfs node doc. 
	- move uacce->ref to driver.
changes v2->v3:
	- deleted some redundant code.
	- use qm state instead of reference count.
	- add null pointer check.
	- isolate_strategy_read() instead of a copy.
changes v3->v4:
	- modify a comment
changes v4->v5:
	- use bool instead of atomic.
	- isolation frequency instead of isolation command.

 Documentation/ABI/testing/sysfs-driver-uacce |  18 ++
 drivers/crypto/hisilicon/qm.c                | 163 +++++++++++++++++--
 drivers/misc/uacce/uacce.c                   |  55 +++++++
 include/linux/hisi_acc_qm.h                  |   9 +
 include/linux/uacce.h                        |  11 ++
 5 files changed, 244 insertions(+), 12 deletions(-)

-- 
2.33.0


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

end of thread, other threads:[~2022-07-23  7:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-08  7:08 [PATCH v5 0/3] crypto: hisilicon - supports device isolation feature Kai Ye
2022-07-08  7:08 ` [PATCH v5 1/3] uacce: " Kai Ye
2022-07-08  7:28   ` Greg KH
2022-07-08  9:33     ` yekai(A)
2022-07-08 10:01       ` Greg KH
2022-07-08  7:08 ` [PATCH v5 2/3] Documentation: add a isolation strategy sysfs node for uacce Kai Ye
2022-07-08  7:30   ` Greg KH
2022-07-08  9:38     ` yekai(A)
2022-07-08 10:02       ` Greg KH
2022-07-08  7:30   ` Greg KH
2022-07-08  7:08 ` [PATCH v5 3/3] crypto: hisilicon/qm - defining the device isolation strategy Kai Ye
2022-07-08  7:35   ` Greg KH
2022-07-21  8:14     ` yekai(A)
2022-07-23  7:21       ` yekai(A)

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