* [PATCH v1 1/1] swiotlb: remove unused field "used" from struct io_tlb_mem
@ 2023-06-06 12:46 Petr Tesarik
2023-06-07 13:07 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Petr Tesarik @ 2023-06-06 12:46 UTC (permalink / raw)
To: Christoph Hellwig, Marek Szyprowski, Robin Murphy,
open list:DMA MAPPING HELPERS, open list
Cc: Roberto Sassu, Kefeng Wang, petr
From: Petr Tesarik <petr.tesarik.ext@huawei.com>
Commit 20347fca71a3 ("swiotlb: split up the global swiotlb lock") moved
the number of used slots to struct io_tlb_area, but it did not remove
the field from struct io_tlb_mem.
Signed-off-by: Petr Tesarik <petr.tesarik.ext@huawei.com>
---
include/linux/swiotlb.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h
index 7af2673b47ba..4e52cd5e0bdc 100644
--- a/include/linux/swiotlb.h
+++ b/include/linux/swiotlb.h
@@ -76,7 +76,6 @@ dma_addr_t swiotlb_map(struct device *dev, phys_addr_t phys,
* @nslabs: The number of IO TLB blocks (in groups of 64) between @start and
* @end. For default swiotlb, this is command line adjustable via
* setup_io_tlb_npages.
- * @used: The number of used IO TLB block.
* @list: The free list describing the number of free entries available
* from each index.
* @orig_addr: The original address corresponding to a mapped entry.
@@ -98,7 +97,6 @@ struct io_tlb_mem {
phys_addr_t end;
void *vaddr;
unsigned long nslabs;
- unsigned long used;
struct dentry *debugfs;
bool late_alloc;
bool force_bounce;
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] swiotlb: remove unused field "used" from struct io_tlb_mem
2023-06-06 12:46 [PATCH v1 1/1] swiotlb: remove unused field "used" from struct io_tlb_mem Petr Tesarik
@ 2023-06-07 13:07 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2023-06-07 13:07 UTC (permalink / raw)
To: Petr Tesarik
Cc: Christoph Hellwig, Marek Szyprowski, Robin Murphy,
open list:DMA MAPPING HELPERS, open list, Roberto Sassu,
Kefeng Wang, petr
Thanks,
applied to for-next.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-07 13:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-06 12:46 [PATCH v1 1/1] swiotlb: remove unused field "used" from struct io_tlb_mem Petr Tesarik
2023-06-07 13:07 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).