From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) (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 D57EE27467A for ; Thu, 24 Jul 2025 08:56:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753347367; cv=none; b=shuZaMDp7iy7JrVS8dFkVn3ib0bucFYPKHthZUnGxBi/BJgTyhtkrUyni99IPxv9xlh08iyK0nusQPtJaoXnfqAIpHjVywVUjzKu4gxjmFJB9T9mjcPsqbU2iR+iGAHaEdLM2tGkdOuT7UvfueJyJccGmdqs6j40I5pA6EiCn8Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753347367; c=relaxed/simple; bh=+tjmMrnVCoqetz3ZoVPtvqyjhAuvuYHo81EAyz+VDj0=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=DNdLnfTJreDWwY/TQe1eBVGP6snYYGG/Qz4w1PFOFwg7QI2OJTKlsi8xLLn84AS6qZmILAgVP791HWWvoZ2Lvg9JGkL9zpYa1PMb8X2TXCVKcXKEF+cyKVgEyWTENGV1cBJIDhK+iPMrOFK5BDmEO0BhgJ+w1mJXRxiiMKMmMH0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4bnlFG0YlTzQwPF; Thu, 24 Jul 2025 16:54:58 +0800 (CST) Received: from kwepemj200003.china.huawei.com (unknown [7.202.194.15]) by mail.maildlp.com (Postfix) with ESMTPS id DF92F180B60; Thu, 24 Jul 2025 16:56:01 +0800 (CST) Received: from localhost.huawei.com (10.90.31.46) by kwepemj200003.china.huawei.com (7.202.194.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 24 Jul 2025 16:56:01 +0800 From: Qinxin Xia To: <21cnbao@gmail.com>, , , CC: , , , , Subject: [PATCH 0/2] dma-mapping: benchmark: modify the dma_map_benchmark directory Date: Thu, 24 Jul 2025 16:55:58 +0800 Message-ID: <20250724085600.4101321-1-xiaqinxin@huawei.com> X-Mailer: git-send-email 2.33.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: kwepems500001.china.huawei.com (7.221.188.70) To kwepemj200003.china.huawei.com (7.202.194.15) This series moves the dma_map_benchmark utility out of the selftests directory and fixes an ABI regression introduced in an earlier change. No functional behaviour of the benchmark itself is changed. Qinxin Xia (2): tools/dma: move dma_map_benchmark from selftests to tools/dma dma-mapping: benchmark: Add padding to ensure uABI remained consistent include/linux/map_benchmark.h | 1 + tools/Makefile | 13 +++++++------ tools/dma/Makefile | 15 +++++++++++++++ tools/{testing/selftests => }/dma/config | 0 .../selftests => }/dma/dma_map_benchmark.c | 0 tools/testing/selftests/dma/Makefile | 7 ------- 6 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 tools/dma/Makefile rename tools/{testing/selftests => }/dma/config (100%) rename tools/{testing/selftests => }/dma/dma_map_benchmark.c (100%) delete mode 100644 tools/testing/selftests/dma/Makefile -- 2.33.0