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 B9DB9344025 for ; Fri, 5 Jun 2026 07:39:58 +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=1780645201; cv=none; b=TO6q3uk2CzzbcsjXNZszjlWGRa09+XLqlJ7EH1K43/20VA8x8h/rxjQLvnmAf2B2Ut3bs8mBjguUGb6Sy2nqsmMOIOJhRZnexQF7H4O18n51Nwut8j+63lNEAbzoKaCugwD1lTFxtSNUE5uhgOR3chMuL7DQ4s771N9vOJJCzIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780645201; c=relaxed/simple; bh=fGD7ZReAn6EGcDZWqmIBint3OhA0UM9aSPqb5RH4Pg0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=eALqoRmRBweLkK2WfjQlmmjzzZc4frYgoaKnQugzQDbON+611xqWx32LCfJRPZuMFm5yHXcYqLAkIJ6D5hT4cw9T84eRaPpagIKqlWJjxqU/OQFD31Snb6RRg3lHhjrka6WLcEB+xp8UbIQrf+NSnJd10uavldFJ/Ifx782HZtw= 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=VXl+ExE1; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=Y9xeLsaJ; 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="VXl+ExE1"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="Y9xeLsaJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1780645198; 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=VXl+ExE1/X5YkO/fY9DmlkDRYjD23hDKxGl86ZDO9LEq1ATCpM7YvRkzDm5c4gnOI3eYnR tMgSER+UnOZqbIp/EXRNm3jGk7oOUNPgSP6AqKWfmI3/vRQn2TJItU/MWQVxMKGTZpdHqU hedjd9IKiUzQq7he18k1rcl++o3XMYY= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-561-c0En3AGAOUmvKrzqSGtTAQ-1; Fri, 05 Jun 2026 03:39:56 -0400 X-MC-Unique: c0En3AGAOUmvKrzqSGtTAQ-1 X-Mimecast-MFC-AGG-ID: c0En3AGAOUmvKrzqSGtTAQ_1780645195 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-45f3d008865so1135022f8f.0 for ; Fri, 05 Jun 2026 00:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1780645195; x=1781249995; 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=Y9xeLsaJjHD7anxFSUKMsmw0kGcs8f5uc4pIXGajizMXBmN4nsv07dueeRatBmhZ0C DDJFBZ52y6I/pBcZUQfI2c9MT2J+6r9Zha4ZLAwUYn2RO69FhaJvn0lI7yVW5rcH7mwp diZRuuYu8D+eXIMyi8W1YPX3ccPxdQVkxDx7oDxzBMgIvxv0H7HOjM+JoEgogAAhfDlK kSIiwwcPhADBIHroI0MhNMPYwY/ok942+QqgcMU78LPxWSkk1qtCti9BL0JaA4AD7ESh MYlCM3MqlA7NidOuamgetoEww/S+ewJl6ythPOQEB+aEjNW1LW7lQRhAHQEdUL7ux982 /m4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780645195; x=1781249995; 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=E0LNPYgqQJVJ7rWunD+Tufs+l+8haEpf98Udkm6mLgc82qhOlJ5uZjLubXTnCzOiul GfpTv7xgxURx2xrUD/Hm9ckIL/rA2LuOfQEAJ6A0e9rNMCToiSh/p/svxCCK69nmf55t 4ip/+iTeaTmt0A8KHPa2HAuO0VC9fVWzAm5s6S29Tc0Xn5UuydDWAWbd8FIkqIiH4+UJ XFhoGAkF7WCJ5WOS8llwfasgS31te5pxXlQzftogacE9r8ZDbuwod0how42+v+Rzw5Z5 sPausC5aKNYkjLUUxlAJEnszLAZEiRGK+qH4ruTBTj+VTAiP1UvOiAdaxJuHK10mP0JP empg== X-Forwarded-Encrypted: i=1; AFNElJ98KxrlowwyTOUbmNeP7aSPAS1JQZfXxj/QB0zVEa7QcvYfkFClNQEk6KenVYL5k6tWP+B4qsAgxysT90U=@vger.kernel.org X-Gm-Message-State: AOJu0Yyh60Tg/MaTjDs548Xj0QOctfDO+Qnr7w1mCZDHALt3chuMQ4ym aFyUpgmmvsIF/gdM53DQkxEymWxzsv5MP2mvw0ARYSEPcfBUZsSMF6ooUEaaU4cm1IB/N6UhCcc 8vZvQX1CLEmweJbWukzyOxnucUIMLt1By+SntwpVlj8ZZL9N3+tnoBy/F0wIqYMQTLCTeUF0S/g == X-Gm-Gg: Acq92OF41KOMOHN8yZWNTVuNpJsAQuxFPfeFzdrxG7B+6t3Tzqb0kx6ac1gw8mppDrH bn71zjgyFoNK/1C2uG9aLgo45+fHrILcnqwbanX4s5FkUHfFt8YkD8FkQ7ifWhEBNk7VHId6U9F LvtN3UWBuF0cctEtqAMcBdm1Iu78r7tGKZTJ/AIqqD8O3CdRto+xdv9BslBYrEUMng++LnCOWED FUE++2FM5xfinWeS8hbxFCxOsp86EMWqGlM0eCPaH6A/M6s43PLRXdvgGih6u91b994x8hBAdXr x2AM6qFwkmfdQrzo+U/xMKW4WdETOaiTxJiaYZkw6CB2VCR+EnQ0/6xqdtuHphFmbEaTYJujubm zW9Aayp/hmm3WCi41eHF+SPROgize4lGWosSdeArtOH9zIZmZ X-Received: by 2002:a05:6000:2083:b0:460:1378:7b0 with SMTP id ffacd0b85a97d-46032b6124bmr1884755f8f.5.1780645194733; Fri, 05 Jun 2026 00:39:54 -0700 (PDT) X-Received: by 2002:a05:6000:2083:b0:460:1378:7b0 with SMTP id ffacd0b85a97d-46032b6124bmr1884713f8f.5.1780645194323; Fri, 05 Jun 2026 00:39:54 -0700 (PDT) Received: from costa-tp.redhat.com ([2a00:a041:e223:1b00:fe51:8bb:7986:c897]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4601f351ac0sm38799287f8f.27.2026.06.05.00.39.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2026 00:39:53 -0700 (PDT) From: Costa Shulyupin To: vkoul@kernel.org, linux-kernel@vger.kernel.org Cc: Frank.Li@kernel.org, dmaengine@vger.kernel.org Subject: [PATCH v1] include: Remove unused dma-iop32x.h Date: Fri, 5 Jun 2026 10:39:46 +0300 Message-ID: <20260605073952.840988-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