History

Merge tag 'dmaengine-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine

Pull dmaengine updates from Vinod Koul: "Nothing special, this includes a couple of new device support and new driver support and bunch of driver updates. New support: - Tegra gpcdma driver support - Qualcomm SM8350, Sm8450 and SC7280 device support - Renesas RZN1 dma and platform support Updates: - stm32 device pause/resume support and updates - DMA memset ops Documentation and usage clarification - deprecate '#dma-channels' & '#dma-requests' bindings - driver updates for stm32, ptdma idsx etc" * tag 'dmaengine-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (87 commits) dmaengine: idxd: make idxd_wq_enable() return 0 if wq is already enabled dmaengine: sun6i: Add support for the D1 variant dmaengine: sun6i: Add support for 34-bit physical addresses dmaengine: sun6i: Do not use virt_to_phys dt-bindings: dma: sun50i-a64: Add compatible for D1 dmaengine: tegra: Remove unused switch case dmaengine: tegra: Fix uninitialized variable usage dmaengine: stm32-dma: add device_pause/device_resume support dmaengine: stm32-dma: rename pm ops before dma pause/resume introduction dmaengine: stm32-dma: pass DMA_SxSCR value to stm32_dma_handle_chan_done() dmaengine: stm32-dma: introduce stm32_dma_sg_inc to manage chan->next_sg dmaengine: stm32-dmamux: avoid reset of dmamux if used by coprocessor dmaengine: qcom: gpi: Add support for sc7280 dt-bindings: dma: pl330: Add power-domains dmaengine: stm32-mdma: use dev_dbg on non-busy channel spurious it dmaengine: stm32-mdma: fix chan initialization in stm32_mdma_irq_handler() dmaengine: stm32-mdma: remove GISR1 register dmaengine: ti: deprecate '#dma-channels' dmaengine: mmp: deprecate '#dma-channels' dmaengine: pxa: deprecate '#dma-channels' and '#dma-requests' ...

Linus Torvalds committed 4 years ago

Commit b00ed482 parents c3a9a3c d1a285964 files · +2744 −349Browse files

Showing the changes to include/uapi (1 of 64 files). Show all

Unified · Split

include/uapi/linux/idxd.h+28−3
@@ -53,6 +53,11 @@ enum idxd_scmd_stat { · 52 unmodified lines
5353
5454 /* IAX */
5555 #define IDXD_OP_FLAG_RD_SRC2_AECS 0x010000
56+#define IDXD_OP_FLAG_RD_SRC2_2ND 0x020000
57+#define IDXD_OP_FLAG_WR_SRC2_AECS_COMP 0x040000
58+#define IDXD_OP_FLAG_WR_SRC2_AECS_OVFL 0x080000
59+#define IDXD_OP_FLAG_SRC2_STS 0x100000
60+#define IDXD_OP_FLAG_CRC_RFC3720 0x200000
5661
5762 /* Opcode */
5863 enum dsa_opcode {
@@ -81,6 +86,18 @@ enum iax_opcode { · 22 unmodified lines
8186 IAX_OPCODE_MEMMOVE,
8287 IAX_OPCODE_DECOMPRESS = 0x42,
8388 IAX_OPCODE_COMPRESS,
89+ IAX_OPCODE_CRC64,
90+ IAX_OPCODE_ZERO_DECOMP_32 = 0x48,
91+ IAX_OPCODE_ZERO_DECOMP_16,
92+ IAX_OPCODE_DECOMP_32 = 0x4c,
93+ IAX_OPCODE_DECOMP_16,
94+ IAX_OPCODE_SCAN = 0x50,
95+ IAX_OPCODE_SET_MEMBER,
96+ IAX_OPCODE_EXTRACT,
97+ IAX_OPCODE_SELECT,
98+ IAX_OPCODE_RLE_BURST,
99+ IAX_OPCDE_FIND_UNIQUE,
100+ IAX_OPCODE_EXPAND,
84101 };
85102
86103 /* Completion record status */
@@ -120,6 +137,7 @@ enum iax_completion_status { · 33 unmodified lines
120137 IAX_COMP_NONE = 0,
121138 IAX_COMP_SUCCESS,
122139 IAX_COMP_PAGE_FAULT_IR = 0x04,
140+ IAX_COMP_ANALYTICS_ERROR = 0x0a,
123141 IAX_COMP_OUTBUF_OVERFLOW,
124142 IAX_COMP_BAD_OPCODE = 0x10,
125143 IAX_COMP_INVALID_FLAGS,
@@ -140,7 +158,10 @@ enum iax_completion_status { · 14 unmodified lines
140158 IAX_COMP_WATCHDOG,
141159 IAX_COMP_INVALID_COMP_FLAG = 0x30,
142160 IAX_COMP_INVALID_FILTER_FLAG,
143− IAX_COMP_INVALID_NUM_ELEMS = 0x33,
161+ IAX_COMP_INVALID_INPUT_SIZE,
162+ IAX_COMP_INVALID_NUM_ELEMS,
163+ IAX_COMP_INVALID_SRC1_WIDTH,
164+ IAX_COMP_INVALID_INVERT_OUT,
144165 };
145166
146167 #define DSA_COMP_STATUS_MASK 0x7f
@@ -319,8 +340,12 @@ struct iax_completion_record { · 172 unmodified lines
319340 uint32_t output_size;
320341 uint8_t output_bits;
321342 uint8_t rsvd3;
322− uint16_t rsvd4;
323− uint64_t rsvd5[4];
343+ uint16_t xor_csum;
344+ uint32_t crc;
345+ uint32_t min;
346+ uint32_t max;
347+ uint32_t sum;
348+ uint64_t rsvd4[2];
324349 } __attribute__((packed));
325350
326351 struct iax_raw_completion_record {