dmaengine: idxd: deprecate token sysfs attributes for read buffers
authorDave Jiang <dave.jiang@intel.com>
Tue, 14 Dec 2021 20:23:14 +0000 (13:23 -0700)
committerVinod Koul <vkoul@kernel.org>
Wed, 5 Jan 2022 07:44:25 +0000 (13:14 +0530)
commitfde212e44f45e491f8e3875084b587c0c2189078
tree742c190fd1175e2b066bac5b9aee5e32c85b094d
parent7ed6f1b85fb613e5e44ef3e14d73f2dc96860935
dmaengine: idxd: deprecate token sysfs attributes for read buffers

The following sysfs attributes will be obsolete due to the name change of
tokens to read buffers:
max_tokens
token_limit
group/tokens_allowed
group/tokens_reserved
group/use_token_limit

Create new entries and have old entry print warning of deprecation.

New attributes to replace the token ones:
max_read_buffers
read_buffer_limit
group/read_buffers_allowed
group/read_buffers_reserved
group/use_read_buffer_limit

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/163951339488.2988321.2424012059911316373.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/ABI/stable/sysfs-driver-dma-idxd
drivers/dma/idxd/sysfs.c