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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no 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 6C9EBC5519F for ; Sat, 14 Nov 2020 16:54:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3C18D20A8B for ; Sat, 14 Nov 2020 16:54:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726634AbgKNQxl (ORCPT ); Sat, 14 Nov 2020 11:53:41 -0500 Received: from verein.lst.de ([213.95.11.211]:50595 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726603AbgKNQxk (ORCPT ); Sat, 14 Nov 2020 11:53:40 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id CD7B267373; Sat, 14 Nov 2020 17:53:36 +0100 (CET) Date: Sat, 14 Nov 2020 17:53:36 +0100 From: Christoph Hellwig To: Barry Song Cc: iommu@lists.linux-foundation.org, hch@lst.de, robin.murphy@arm.com, m.szyprowski@samsung.com, linuxarm@huawei.com, linux-kselftest@vger.kernel.org, xuwei5@huawei.com, Joerg Roedel , Will Deacon , Shuah Khan Subject: Re: [PATCH v3 1/2] dma-mapping: add benchmark support for streaming DMA APIs Message-ID: <20201114165336.GA24844@lst.de> References: <20201102080646.2180-1-song.bao.hua@hisilicon.com> <20201102080646.2180-2-song.bao.hua@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201102080646.2180-2-song.bao.hua@hisilicon.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Lots of > 80 char lines. Please fix up the style. I think this needs to set a dma mask as behavior for unlimited dma mask vs the default 32-bit one can be very different. I also think you need to be able to pass the direction or have different tests for directions. bidirectional is not exactly heavily used and pays more cache management penality.