mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 00:19:36 +00:00

Initial files for adding a new fwctl driver for the AMD/Pensando PDS devices. This sets up a simple auxiliary_bus driver that registers with fwctl subsystem. It expects that a pds_core device has set up the auxiliary_device pds_core.fwctl Link: https://patch.msgid.link/r/20250320194412.67983-5-shannon.nelson@amd.com Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menuconfig FWCTL
|
|
tristate "fwctl device firmware access framework"
|
|
help
|
|
fwctl provides a userspace API for restricted access to communicate
|
|
with on-device firmware. The communication channel is intended to
|
|
support a wide range of lockdown compatible device behaviors including
|
|
manipulating device FLASH, debugging, and other activities that don't
|
|
fit neatly into an existing subsystem.
|
|
|
|
if FWCTL
|
|
config FWCTL_MLX5
|
|
tristate "mlx5 ConnectX control fwctl driver"
|
|
depends on MLX5_CORE
|
|
help
|
|
MLX5 provides interface for the user process to access the debug and
|
|
configuration registers of the ConnectX hardware family
|
|
(NICs, PCI switches and SmartNIC SoCs).
|
|
This will allow configuration and debug tools to work out of the box on
|
|
mainstream kernel.
|
|
|
|
If you don't know what to do here, say N.
|
|
|
|
config FWCTL_PDS
|
|
tristate "AMD/Pensando pds fwctl driver"
|
|
depends on PDS_CORE
|
|
help
|
|
The pds_fwctl driver provides an fwctl interface for a user process
|
|
to access the debug and configuration information of the AMD/Pensando
|
|
DSC hardware family.
|
|
|
|
If you don't know what to do here, say N.
|
|
endif
|