From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30580C433C1 for ; Wed, 24 Mar 2021 07:13:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E36F7619F5 for ; Wed, 24 Mar 2021 07:13:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235760AbhCXHNN (ORCPT ); Wed, 24 Mar 2021 03:13:13 -0400 Received: from verein.lst.de ([213.95.11.211]:35696 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235726AbhCXHNK (ORCPT ); Wed, 24 Mar 2021 03:13:10 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 1FC2268B02; Wed, 24 Mar 2021 08:13:06 +0100 (CET) Date: Wed, 24 Mar 2021 08:13:05 +0100 From: Christoph Hellwig To: Tian Tao Cc: akpm@linux-foundation.org, peterz@infradead.org, paulmck@kernel.org, ast@kernel.org, tglx@linutronix.de, rostedt@goodmis.org, hch@lst.de, m.szyprowski@samsung.com, song.bao.hua@hisilicon.com, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dma-mapping: make map_benchmark compile into module Message-ID: <20210324071305.GB647@lst.de> References: <1616552258-22282-1-git-send-email-tiantao6@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1616552258-22282-1-git-send-email-tiantao6@hisilicon.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 24, 2021 at 10:17:38AM +0800, Tian Tao wrote: > under some scenarios, it is necessary to compile map_benchmark > into module to test iommu, so this patch changed Kconfig and > export_symbol to implement map_benchmark compiled into module. > > On the other hand, map_benchmark is a driver, which is supposed > to be able to run as a module. > > Signed-off-by: Tian Tao Nope, we're not going to export more kthread internals for a test module.