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 3309F3E2AC9 for ; Fri, 15 May 2026 18:56:55 +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=1778871417; cv=none; b=h1Xkl+aPnDrI0cghp81Q10YVMJ44YCJ9IiNQyQ/7c0d8x2xbFcnL7oVCFID+fcIoOx1OGboBSLGThlhWhRnPq/CkejR/3amAcSHZcRGn0cxnfNDIMoksgRtvXi5n2nRq6PN2RVPXiEjPuUfblTL9ZkxBpuBAyVTVJ11fJZ4aWhs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778871417; c=relaxed/simple; bh=fGD7ZReAn6EGcDZWqmIBint3OhA0UM9aSPqb5RH4Pg0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=sbIeGYhKvMWMO6ahnTNKsWL4kMfeUSJvFhbohR5QiHd85UqXb0CPDNWrLU0hltlBey1F0T6GBx43sjKT0WA6CDqyhtad8dt2bmATRyArWga2lXKG9YyTYdVIsgxkfPZbCpz3gBRVabAlgrSBGAaqo47Nup2/3ra9tRdfiZJMnBo= 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=J2jJei2n; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=lsyAUOGO; 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="J2jJei2n"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="lsyAUOGO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1778871415; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yxLY9EqpF77hSPOoFBzsiCl9/0u0FyX67Jy/NSMRVXo=; b=J2jJei2nqopR2OqqW07ohanchkqG58vZnn50ViYXM6/fnkejuWk3MIh1eTVS0UJuH8rcCv Hbp1IkIjnqR+FCBe5Tob9EKF+RHi1SyKZSmyQmrachFonodZb0YonAPOIRCflFxirble3e 3VvEeSm6VE0I01UnDWHdZqsahT5xyyM= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-395-tTd5DCW3NzCeVAn-7do4Ig-1; Fri, 15 May 2026 14:56:53 -0400 X-MC-Unique: tTd5DCW3NzCeVAn-7do4Ig-1 X-Mimecast-MFC-AGG-ID: tTd5DCW3NzCeVAn-7do4Ig_1778871413 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-48fdca5c638so752145e9.1 for ; Fri, 15 May 2026 11:56:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1778871412; x=1779476212; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yxLY9EqpF77hSPOoFBzsiCl9/0u0FyX67Jy/NSMRVXo=; b=lsyAUOGO7nQM8i7AwSjBVeolKw1nMDFWqAl2ppSmn1U1o3alRUomgEHU2iDkmNvpy+ Vp3kdNpWa53n+Q6x227G76JyTbB3inUPT1FS7HnFHzXEoQ4wJ5TDJ+Xc/DHAXWe0UdC6 kRws/zm0K4UXATtYnLDHysVrQEQ0iGG3/zUYGkf5vT+PgTKujObgKdaApIXas6ceiW87 LPrE00A0YmvAQjJ67opbONLDicQMrMnNTOV0zzFvAWJ9aq2ETIumfNF3Zb3IX2WSxXEH aMVZiCOAfClrm5qRAJPOJO6uEc+kWu+Cs1h0XQSRzlGA/AouK6bz6dUubZjz76fjJeNL URGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778871412; x=1779476212; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=yxLY9EqpF77hSPOoFBzsiCl9/0u0FyX67Jy/NSMRVXo=; b=YOq+4wSgskgfcDKTxMygSxaruanUuf2LtVrHxy2bKM3D3czfNqDC4apWAvMMTO206F 7XGVUjkHe7zadleGjkvLgSQxHj1EzRM4gAiu+axagIeKuO9/W5aEYPKMPBWxqpS7rIF+ OyB56TOOm2Hv8sHOot8wTO4PdWDNpBNAYlL4Qa8peylarta7AdH9kctUjYjlzCBpA3DX W+f5TuLVhljE9ObrrcwnyGFiMni/eK6CSQq6WU00b1Sik1vGAmNX6fNiTD6eoVqxC/hE 36Kqv1lysnf7i1zIPS2t4xxZW7a/3kqnzvbZP0dOYJbzU+Pl3C/zo+YadvlXEwUk89xx C7YA== X-Forwarded-Encrypted: i=1; AFNElJ8Cw2ur3nziuAAZEtHgK5aX9ce7IzdlQmWU371AmhNhROh8aI6bICgr8tmbAu5Ocs2OygsYmXMpnlTwP+E=@vger.kernel.org X-Gm-Message-State: AOJu0YwjPwvj/+Ck5mXjb41qvQhB6Nn1AsRzgwu/cj6DUKn+UwIAxloZ /Hgp1+euSxVGlFkyjHAJ+V8DgEg4IF0OQmT9X/iMnSJ8RcIZ6BGyKaNdMpMJiZvQilxlu2iiEGe kFuluIi+HtLANpdDaTy62upyxzuUJgixi5lTEL+fn8NSdKyLpkY4RDF+iiGZBgaASJg== X-Gm-Gg: Acq92OFxYVVXrHcyTaN/BrIMtjMAcu/doEVaihE+8yP+st00q75uszHmdhxfUkMrYS0 Pp8+HgJBYVpLVGC3GAcAPpESrqYY7srSdc4ddI9xwsrppWo2rYpdFmEdvHjvvokduMVbaqVFcfi v0qBUdCAi43DAKyDkyh6tRMGjSpfVPyqIzNT/a9g/Lg4MvkClvFV/L7/tBhUefZKii23KwjCi/Y rCyPcmASDhdjW8+upMuWhIPH//MYUf6RIt5IoIUDSaK0j8BdPh93DSOY3F9bzzdbPxo0hOF7BHc 32gPt5piJQmbdhhGz9UYvU9NuA55E8Bx+jln7OGyCdd6zK5NR86gLA9+eqP7w4Qr0W0QYK56e/A KwhIAOpnekBWu97Eb+/3u4RJvbomTnR3iGbE= X-Received: by 2002:a05:600c:8b56:b0:48e:7f1c:8776 with SMTP id 5b1f17b1804b1-48fe6514c83mr81580075e9.25.1778871412655; Fri, 15 May 2026 11:56:52 -0700 (PDT) X-Received: by 2002:a05:600c:8b56:b0:48e:7f1c:8776 with SMTP id 5b1f17b1804b1-48fe6514c83mr81579835e9.25.1778871412212; Fri, 15 May 2026 11:56:52 -0700 (PDT) Received: from costa-tp.bos2.lab ([2a00:a041:e223:1b00:fe51:8bb:7986:c897]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48fea52a0bfsm32066625e9.0.2026.05.15.11.56.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2026 11:56:51 -0700 (PDT) From: Costa Shulyupin To: Arnd Bergmann , linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Costa Shulyupin Subject: [PATCH v1] include: Remove unused dma-iop32x.h Date: Fri, 15 May 2026 21:54:41 +0300 Message-ID: <20260515185447.1530941-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