All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/3] crypto: hisilicon - supports device isolation feature
@ 2022-08-06  2:29 Kai Ye
  2022-08-06  2:29 ` [PATCH v7 1/3] uacce: " Kai Ye
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Kai Ye @ 2022-08-06  2:29 UTC (permalink / raw)
  To: gregkh, herbert
  Cc: linux-crypto, linux-kernel, wangzhou1, liulongfang, 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.
changes v5->v6:
	- add is_visible in uacce.
	- add the description of the isolation strategy file node.
changes v6->v7
	- add an example for isolate_strategy in Documentation.

Kai Ye (3):
  uacce: supports device isolation feature
  Documentation: add a isolation strategy sysfs node for uacce
  crypto: hisilicon/qm - define the device isolation strategy

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

-- 
2.33.0


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

end of thread, other threads:[~2022-09-05 12:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-06  2:29 [PATCH v7 0/3] crypto: hisilicon - supports device isolation feature Kai Ye
2022-08-06  2:29 ` [PATCH v7 1/3] uacce: " Kai Ye
2022-08-06  2:29 ` [PATCH v7 2/3] Documentation: add a isolation strategy sysfs node for uacce Kai Ye
2022-09-01 15:04   ` Greg KH
2022-09-01 17:00     ` Eric Biggers
2022-09-01 18:09       ` Greg KH
2022-09-05 12:02         ` yekai (A)
2022-08-06  2:29 ` [PATCH v7 3/3] crypto: hisilicon/qm - define the device isolation strategy Kai Ye
2022-08-22  3:38 ` [PATCH v7 0/3] crypto: hisilicon - supports device isolation feature yekai (A)
2022-08-29 10:57   ` yekai (A)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.