lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251028120900.2265511-1-xiaqinxin@huawei.com>
Date: Tue, 28 Oct 2025 20:08:58 +0800
From: Qinxin Xia <xiaqinxin@...wei.com>
To: <21cnbao@...il.com>, <m.szyprowski@...sung.com>, <robin.murphy@....com>
CC: <prime.zeng@...wei.com>, <fanghao11@...wei.com>,
	<linux-kernel@...r.kernel.org>, <linuxarm@...wei.com>,
	<xiaqinxin@...wei.com>, <wangzhou1@...ilicon.com>
Subject: [PATCH v5 0/2] Tiny bug fix and move dma map benchmark to /tools/dma

1) Fix the bug of droped 'expansion' field in previous submission.
2) Move dma_map_benchmark from selftests to tools/dma.
 
---
Changes since v4: 
1) Addressed comments from Barry:
   - The hotfix is separated as a patch.
Link: https://lore.kernel.org/all/20251022035528.1981892-1-xiaqinxin@huawei.com/
 
Changes since v3: 
1) Addressed comments from Barry:
   - Make a few minor modifications from gpio Makefile to dma.
   - Remove include/linux/map_benchmark.h.
Link: https://lore.kernel.org/all/20251021011739.1468912-1-xiaqinxin@huawei.com/                                                                                                                                                                                   
 
Changes since v2:    
1) Fix some x86_64 build errors.
Link: https://lore.kernel.org/all/20251018101402.3079372-1-xiaqinxin@huawei.com/
 
Changes since v1: 
1) Addressed comments from Barry:
   - Moved map_benchmark.h from include/linux to include/uapi/linux/.
   - Modified CFLAGS in Makefile to reflect the new header location.
 
2) Added a .gitignore file to exclude unnecessary files.
 
3) Restored the 'expansion' field in 'struct map_benchmark':
   - This field was accidentally removed in commit 8ddde07a3d.
   - The change ensures that the structure remains compatible with existing codebases.
Link: https://lore.kernel.org/all/20250814133527.2679261-1-xiaqinxin@huawei.com/

Qinxin Xia (2):
  dma-mapping: benchmark: Restore padding to ensure uABI remained
    consistent
  tools/dma: move dma_map_benchmark from selftests to tools/dma

 include/{ => uapi}/linux/map_benchmark.h      | 14 +++--
 kernel/dma/map_benchmark.c                    |  2 +-
 tools/Makefile                                | 13 +++--
 tools/dma/.gitignore                          |  3 +
 tools/dma/Makefile                            | 55 +++++++++++++++++++
 tools/{testing/selftests => }/dma/config      |  0
 .../selftests => }/dma/dma_map_benchmark.c    |  1 -
 tools/testing/selftests/dma/Makefile          |  7 ---
 8 files changed, 75 insertions(+), 20 deletions(-)
 rename include/{ => uapi}/linux/map_benchmark.h (76%)
 create mode 100644 tools/dma/.gitignore
 create mode 100644 tools/dma/Makefile
 rename tools/{testing/selftests => }/dma/config (100%)
 rename tools/{testing/selftests => }/dma/dma_map_benchmark.c (99%)
 delete mode 100644 tools/testing/selftests/dma/Makefile

-- 
2.33.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ