Merge tag 'char-misc-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char / misc and other driver updates from Greg KH: "Here is the "big" set of char/misc and other driver subsystem changes for 6.11-rc1. Nothing major in here, just loads of new drivers and updates. Included in here are: - IIO api updates and new drivers added - wait_interruptable_timeout() api cleanups for some drivers - MODULE_DESCRIPTION() additions for loads of drivers - parport out-of-bounds fix - interconnect driver updates and additions - mhi driver updates and additions - w1 driver fixes - binder speedups and fixes - eeprom driver updates - coresight driver updates - counter driver update - new misc driver additions - other minor api updates All of these, EXCEPT for the final Kconfig build fix for 32bit systems, have been in linux-next for a while with no reported issues. The Kconfig fixup went in 29 hours ago, so might have missed the latest linux-next, but was acked by everyone involved" * tag 'char-misc-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (330 commits) misc: Kconfig: exclude mrvl-cn10k-dpi compilation for 32-bit systems misc: delete Makefile.rej binder: fix hang of unregistered readers misc: Kconfig: add a new dependency for MARVELL_CN10K_DPI virtio: add missing MODULE_DESCRIPTION() macro agp: uninorth: add missing MODULE_DESCRIPTION() macro spmi: add missing MODULE_DESCRIPTION() macros dev/parport: fix the array out-of-bounds risk samples: configfs: add missing MODULE_DESCRIPTION() macro misc: mrvl-cn10k-dpi: add Octeon CN10K DPI administrative driver misc: keba: Fix missing AUXILIARY_BUS dependency slimbus: Fix struct and documentation alignment in stream.c MAINTAINERS: CC dri-devel list on Qualcomm FastRPC patches misc: fastrpc: use coherent pool for untranslated Compute Banks misc: fastrpc: support complete DMA pool access to the DSP misc: fastrpc: add missing MODULE_DESCRIPTION() macro misc: fastrpc: Add missing dev_err newlines misc: fastrpc: Use memdup_user() nvmem: core: Implement force_ro sysfs attribute nvmem: Use sysfs_emit() for type attribute ...
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||
/*
|
||||
* Marvell Octeon CN10K DPI driver
|
||||
*
|
||||
* Copyright (C) 2024 Marvell.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __MRVL_CN10K_DPI_H__
|
||||
#define __MRVL_CN10K_DPI_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#define DPI_MAX_ENGINES 6
|
||||
|
||||
struct dpi_mps_mrrs_cfg {
|
||||
__u16 max_read_req_sz; /* Max read request size */
|
||||
__u16 max_payload_sz; /* Max payload size */
|
||||
__u16 port; /* Ebus port */
|
||||
__u16 reserved; /* Reserved */
|
||||
};
|
||||
|
||||
struct dpi_engine_cfg {
|
||||
__u64 fifo_mask; /* FIFO size mask in KBytes */
|
||||
__u16 molr[DPI_MAX_ENGINES]; /* Max outstanding load requests */
|
||||
__u16 update_molr; /* '1' to update engine MOLR */
|
||||
__u16 reserved; /* Reserved */
|
||||
};
|
||||
|
||||
/* DPI ioctl numbers */
|
||||
#define DPI_MAGIC_NUM 0xB8
|
||||
|
||||
/* Set MPS & MRRS parameters */
|
||||
#define DPI_MPS_MRRS_CFG _IOW(DPI_MAGIC_NUM, 1, struct dpi_mps_mrrs_cfg)
|
||||
|
||||
/* Set Engine FIFO configuration */
|
||||
#define DPI_ENGINE_CFG _IOW(DPI_MAGIC_NUM, 2, struct dpi_engine_cfg)
|
||||
|
||||
#endif /* __MRVL_CN10K_DPI_H__ */
|
||||
Reference in New Issue
Block a user