Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2573313rdg; Mon, 14 Aug 2023 06:58:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFwcrWgfSOUIsmHwFNTxAk77Cf53PBFPUwQFL/uJKYNDqVvbnoFt9Iecq80Gq7nGYBjCFv1 X-Received: by 2002:a05:6a21:4842:b0:12b:2170:7b13 with SMTP id au2-20020a056a21484200b0012b21707b13mr8386254pzc.16.1692021523427; Mon, 14 Aug 2023 06:58:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692021523; cv=none; d=google.com; s=arc-20160816; b=IicAmZ1jXDaPJtxp8Gk3E3m6S7wUI/wleuVvCQTsedGlbnPvkknD9U8eA7cyiq88a6 9YBlN+vaO0RmTUzioAARUA8pM2qA/W2pdASTMmjiALdT7jcF11iLuEJmPDjB1/G2zHWe t7ILfCc1qje21KXdumlONkWx+NaXU5rdm+Qg3dsKcFd0+1s7yriMzBQrhgNp2YDAds6p gZ6AvsAvuXzL0vl4o1hzkohHDv4gIvaCMsYEnMrpzmk5EVQ3pncqsY7koNhIzo3wktP6 q9P0aRAtvbXvYrexwvoPmS3Fyr4jQ1siZA7u0dzgswBpG6YDQNHDTiPzWIwpOQpXRALP y/7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gHdCQjj4iE5wN+kt8hqR45k//8KkBJdD1dowrvMwJWY=; fh=MH7W7n0x7Qt6ssnTsvj9U/g704EKSbZWvJF4UNFc9c8=; b=nTv0aDwA2xB2mCmlOmg/fe6mTNQxfcWfHqqyp/sp6N/RhKb9CkPSCPGZ5pl7vw6/wD 2R3NXGl7BxdhiHixAQWdGaE8hzr7pAP4tJtnZf9qLq7JheXUaXsBgxsEL5F0wnFCA6aE eWiITFtXPtdXfWhtapqyQvFBVSY7nJA5KLoi0GM8jqAmzKPAQ8vQjfeJ5gYGK+w8rD8D T/9yCSCAygkMP3d5Fs2HwR6nsqdkjzHTfShSBAyYZM6b/D1u0SqpalvLJmkobZmbMOG4 tEB+Ct+OSvhPOxWt75H7NdAbF1MArwNV+sdqGq2nduqbVGtlVoXtcg4QllXWcugdaJ2A vB1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TXmAl8Pr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020a056a00234800b00687809ef823si8244658pfj.395.2023.08.14.06.58.28; Mon, 14 Aug 2023 06:58:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TXmAl8Pr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230185AbjHNNTf (ORCPT + 99 others); Mon, 14 Aug 2023 09:19:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230380AbjHNNTO (ORCPT ); Mon, 14 Aug 2023 09:19:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37F26171D for ; Mon, 14 Aug 2023 06:19:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BAA0263982 for ; Mon, 14 Aug 2023 13:19:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9092DC433C8; Mon, 14 Aug 2023 13:19:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692019150; bh=FxU0j3fcm7taMz716mWc73u/I77Mp9w2Eue2bF2MZwg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TXmAl8Pr0Qjh7Rfj3+klvYyVb+jAw8Zty6rpP4eh21L1BT0WEtXbwtxF3mz5caOWM 1858fMQMi6JZYWmuBQAdwkwVhD0O3GIUE501RY181xPO2AbHAEh0YMX49IBz3ORaek I5sYesWRhoGkJ7LQGbSxe5d70sMChE3Waz7yJ2auOdL8JJagXDCTqW1dTDxqO4QA1o 8yBGSo+NV6LnYFswHsaGNHkExKyOVFeUWnOgVjlF/Fk3lQMG87Pw19j4dddAE+7kAv +YfCB9VLp2vCMiLPN1RJDyPv98kenhYwEl27BVXiXWUXn5F2U6C1o41TmXNkpaHzHt hADSzHk7d9k+Q== Date: Mon, 14 Aug 2023 14:19:05 +0100 From: Mark Brown To: Takashi Iwai Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Lars-Peter Clausen , Claudiu Beznea , Olivier Moysan , Arnaud Pouliquen Subject: Re: [PATCH 22/25] ASoC: dmaengine: Use iov_iter for process callback, too Message-ID: References: <20230814115523.15279-1-tiwai@suse.de> <20230814115523.15279-23-tiwai@suse.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bH9Qky/QE42jqk3k" Content-Disposition: inline In-Reply-To: <20230814115523.15279-23-tiwai@suse.de> X-Cookie: FACILITY REJECTED 100044200000 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bH9Qky/QE42jqk3k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 14, 2023 at 01:55:20PM +0200, Takashi Iwai wrote: > Along with the conversion to PCM copy ops, use the iov_iter for the > pointer to be passed to the dmaengine process callback, too. It > avoids the direct reference of iter_iov_addr(), and it can potentially > help for the drivers to access memory properly (although both atmel > and stm drivers don't use the given buffer address at all for now). Reviewed-by: Mark Brown --bH9Qky/QE42jqk3k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmTaKcgACgkQJNaLcl1U h9Culgf/V8v9Xak3hh4h6lzC2b+3YbnR6yRTR3KPeC7k2xRigb9ertyFbT18N7Cv MCUVmwaMCXk+pvClLw7md8c9z+O6juWo9KoRgee1upGPNYuWlqeQzPKIn+ZwD4/g Ox64hRGSPv9utfVMiitN4D8ytpekJrNKwJ4qVUNnDC7vfvRWIL4tSzf7BoKamZSB GzDTY0UnB6Nj7CkOHdgPgenAJuTgjyh/RlbDoxIjYi1ni72x5DV23W34uyz/dmAL esR6RRCYt7H0lr9JiVjKOMwevoYqFZEFwSyCGf7RQ8IDqeyqPOWueee+LAbAmEP4 WWdBU7YengNxPSwpC87FIZl5w2Co9g== =KpzI -----END PGP SIGNATURE----- --bH9Qky/QE42jqk3k--