From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69E0147D93E for ; Fri, 5 Jun 2026 07:40:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780645244; cv=none; b=aFf/1VIgKDIYW54ikRXYDSt98/YwUStElUnrILXb3SCM2yYfB7SVrPZh5s9QjwYtmRlOFroTj9ZsVK/0o9CnohQsnI9lMwTd3EtugR9wSbuH8xxJbMwtnj42cwrsOmHUialqQW3GxeZWCIrE5av69zwuOL4BvxWyX5uuSe7yk6U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780645244; c=relaxed/simple; bh=fGD7ZReAn6EGcDZWqmIBint3OhA0UM9aSPqb5RH4Pg0=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=b3Tyh+0h/2EeZoamN6JcUEIIE+AGh1TkrDz9bad/DXpU/+hP5QJAPjQiKZFZna32/a7UOta/aQgC4Diu+2w0/Tp5BUoRCxhaE/+DYeb5jGCR7PwKOG4z4tAJyggHNYzVAX9f0l0HgqS6vTc68F1HX7iMWIv8Klf82e0mbJezBSo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=YU3DIW/M; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=iB8CB2LM; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YU3DIW/M"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="iB8CB2LM" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1780645242; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yxLY9EqpF77hSPOoFBzsiCl9/0u0FyX67Jy/NSMRVXo=; b=YU3DIW/M60h6UM6Nbb2KF/40sgMlATl8QpkndngVNL7rIsiWQSczDB5WgcNxNWZYGs0SZK SIxbvJ734j2TqSy60zPO1bJR8ymMVsY+kKn9Y2lSi+bzsP1qzgOg132rwgLDK0U82WRWZ7 iwfnxRMpvSg4DpwqONrxe/g2q7E8gdQ= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-59-u9JgJMzqP_O3y4fMcF2ktw-1; Fri, 05 Jun 2026 03:40:40 -0400 X-MC-Unique: u9JgJMzqP_O3y4fMcF2ktw-1 X-Mimecast-MFC-AGG-ID: u9JgJMzqP_O3y4fMcF2ktw_1780645239 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-45ef6b407b4so702025f8f.1 for ; Fri, 05 Jun 2026 00:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1780645239; x=1781250039; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=yxLY9EqpF77hSPOoFBzsiCl9/0u0FyX67Jy/NSMRVXo=; b=iB8CB2LMEHjhHP9BUrhi2YgAmjMVMFLssZ7LVfnh5EKAajFbAqPFeSLbbN9D+WXsYx k1z+Ty8ZFfmdL0E+KdXmfGx0LuRh9DDlJpX/QRN7KC6wOHV72ySk8katx9D+luF19VD9 I9MEdx5GlT/njwmQU3i0GnEDdRG4Xh1E1X6GUUyUKb6S81yWMxYZLu+VjtpjGNsudjyC q9tGPBOPZNoS3dtN7aAi/vrImVNtSXFp/q1iqUFd1DTBTRzojqE52IXJPrvN+N/oE24v 78PXPgSCUiNTio4mS4PIFvvAOojqhEIrF/pdv7TVVGBmpE/JRY9JcNwBlUG8VZARRnUz 6Q3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780645239; x=1781250039; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yxLY9EqpF77hSPOoFBzsiCl9/0u0FyX67Jy/NSMRVXo=; b=f1TW+wDV0BwrU9rPbprqSF04iVSmk8qjQQniveBd5QyDnDiQQ/orLT3BUOfwQYzqKb dQ0gsxszlFwkNHh2pXfqbNE5TjGVQDZ9ylE3DcGMGAgcjhuT0+Zj7CB3Q6TaTq6R1BHR DeaicGKMGTEPBXtvUYWX7bLJPe40QOGUuT/oaYKt/zrWX2iRZb9brazuLDzTyW0wQvVO 01AVnLbonWROHIkM0Xdi+iuSF1UFCnl9CZL6TWEYza8td7gyfIuxjKW3ACaWUmOHuH09 7rHgQ5WQTa6I0pKV5nGBP3klt0jdH8URbM8tdt9O5njtB4wAuwrAZNf4mi5yPv6wivBe g6tg== X-Gm-Message-State: AOJu0Yx+vUXtVfPKMyGRZhzLhQou7aJ5KwlfGoGxcVseJZqfofQMDnzj 9dV2+oHiBxNwQlLUjJraApNDwkmiCN9QiK/R6K4MqUJVBI+63JewCWw5161/qg/7kX2PNCzYIrN sNi5r6tWmsX9tgwUMRwAf/nDS6+Nx3arP1CvvhYm8p5zeGmCpScp5I56EPF56sUq/yB+dO8poY/ T/+56KgVzGMsXKgXW2FHi67ZLuFu5rnL5YZdflUHpTCgYrV6IoYTzH X-Gm-Gg: Acq92OH4IWxsXptgkD8W7lGLEsColhiD7dhZMw6VIrzxKrlg9iIUxOwdVIyZub82CXS lGHvbrNGaJusWZNBJRUuhzRo6BwUB6GnvwhHkxGqFLj7eTIWnL+f1PUnniTJOY8+zfPDQVGFXA0 tiCR8nykfNckY9Hd/Z1FKiwo57YYwXlIFNn1chYUcNbskGYIxkAuhScpI5cBqYZ/FCDeymAWah0 uENOFNu/TbCR8P0skKW6PH4I1s6t8sE6rq7SgGnm0/GOVBMUBh0KuQwnSF0kn9XLV7nUmlW9afU gInMByzrMfwHjszPkoazQToJHXz3O92U8pzrWrVXPYb6O7JDSOtoe3XAXAhB9hCsE5kMxj1gWvx 7d19jCGuPEOou7dOBRVcFGb33KLiOagNvdI2BWU8wrLTOrWHn X-Received: by 2002:a5d:6d4a:0:b0:460:e00:121d with SMTP id ffacd0b85a97d-46030510a10mr2867985f8f.14.1780645238916; Fri, 05 Jun 2026 00:40:38 -0700 (PDT) X-Received: by 2002:a5d:6d4a:0:b0:460:e00:121d with SMTP id ffacd0b85a97d-46030510a10mr2867947f8f.14.1780645238365; Fri, 05 Jun 2026 00:40:38 -0700 (PDT) Received: from costa-tp.redhat.com ([2a00:a041:e223:1b00:fe51:8bb:7986:c897]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4601f35fb24sm24644499f8f.34.2026.06.05.00.40.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2026 00:40:37 -0700 (PDT) From: Costa Shulyupin To: linux-kernel@vger.kernel.org Subject: [PATCH v1] include: Remove unused dma-iop32x.h Date: Fri, 5 Jun 2026 10:40:30 +0300 Message-ID: <20260605074036.841206-1-costa.shul@redhat.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=true Content-Transfer-Encoding: 8bit The IOP32X platform was removed in commit b91a69d162aa ("ARM: iop32x: remove the platform") and its DMA driver in commit cd0ab43ec91a ("dmaengine: remove iop-adma driver"). No file includes this header. Assisted-by: Claude:claude-opus-4-6 Signed-off-by: Costa Shulyupin --- include/linux/platform_data/dma-iop32x.h | 110 ----------------------- 1 file changed, 110 deletions(-) delete mode 100644 include/linux/platform_data/dma-iop32x.h diff --git a/include/linux/platform_data/dma-iop32x.h b/include/linux/platform_data/dma-iop32x.h deleted file mode 100644 index ac83cff89549..000000000000 --- a/include/linux/platform_data/dma-iop32x.h +++ /dev/null @@ -1,110 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright © 2006, Intel Corporation. - */ -#ifndef IOP_ADMA_H -#define IOP_ADMA_H -#include -#include -#include - -#define IOP_ADMA_SLOT_SIZE 32 -#define IOP_ADMA_THRESHOLD 4 -#ifdef DEBUG -#define IOP_PARANOIA 1 -#else -#define IOP_PARANOIA 0 -#endif -#define iop_paranoia(x) BUG_ON(IOP_PARANOIA && (x)) - -#define DMA0_ID 0 -#define DMA1_ID 1 -#define AAU_ID 2 - -/** - * struct iop_adma_device - internal representation of an ADMA device - * @pdev: Platform device - * @id: HW ADMA Device selector - * @dma_desc_pool: base of DMA descriptor region (DMA address) - * @dma_desc_pool_virt: base of DMA descriptor region (CPU address) - * @common: embedded struct dma_device - */ -struct iop_adma_device { - struct platform_device *pdev; - int id; - dma_addr_t dma_desc_pool; - void *dma_desc_pool_virt; - struct dma_device common; -}; - -/** - * struct iop_adma_chan - internal representation of an ADMA device - * @pending: allows batching of hardware operations - * @lock: serializes enqueue/dequeue operations to the slot pool - * @mmr_base: memory mapped register base - * @chain: device chain view of the descriptors - * @device: parent device - * @common: common dmaengine channel object members - * @last_used: place holder for allocation to continue from where it left off - * @all_slots: complete domain of slots usable by the channel - * @slots_allocated: records the actual size of the descriptor slot pool - * @irq_tasklet: bottom half where iop_adma_slot_cleanup runs - */ -struct iop_adma_chan { - int pending; - spinlock_t lock; /* protects the descriptor slot pool */ - void __iomem *mmr_base; - struct list_head chain; - struct iop_adma_device *device; - struct dma_chan common; - struct iop_adma_desc_slot *last_used; - struct list_head all_slots; - int slots_allocated; - struct tasklet_struct irq_tasklet; -}; - -/** - * struct iop_adma_desc_slot - IOP-ADMA software descriptor - * @slot_node: node on the iop_adma_chan.all_slots list - * @chain_node: node on the op_adma_chan.chain list - * @hw_desc: virtual address of the hardware descriptor chain - * @phys: hardware address of the hardware descriptor chain - * @group_head: first operation in a transaction - * @slot_cnt: total slots used in an transaction (group of operations) - * @slots_per_op: number of slots per operation - * @idx: pool index - * @tx_list: list of descriptors that are associated with one operation - * @async_tx: support for the async_tx api - * @group_list: list of slots that make up a multi-descriptor transaction - * for example transfer lengths larger than the supported hw max - * @xor_check_result: result of zero sum - * @crc32_result: result crc calculation - */ -struct iop_adma_desc_slot { - struct list_head slot_node; - struct list_head chain_node; - void *hw_desc; - struct iop_adma_desc_slot *group_head; - u16 slot_cnt; - u16 slots_per_op; - u16 idx; - struct list_head tx_list; - struct dma_async_tx_descriptor async_tx; - union { - u32 *xor_check_result; - u32 *crc32_result; - u32 *pq_check_result; - }; -}; - -struct iop_adma_platform_data { - int hw_id; - dma_cap_mask_t cap_mask; - size_t pool_size; -}; - -#define to_iop_sw_desc(addr_hw_desc) \ - container_of(addr_hw_desc, struct iop_adma_desc_slot, hw_desc) -#define iop_hw_desc_slot_idx(hw_desc, idx) \ - ( (void *) (((unsigned long) hw_desc) + ((idx) << 5)) ) -#endif -- 2.53.0