Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp419743rdh; Wed, 23 Aug 2023 04:13:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEl8lGzH4lILoK8zwKoC6mWFf+QE0HFCzEwHPl4xZIl9hIr4ZVH92yMH7qeChMutiWMtV81 X-Received: by 2002:a17:907:a087:b0:99e:169c:25c4 with SMTP id hu7-20020a170907a08700b0099e169c25c4mr8578930ejc.12.1692789232977; Wed, 23 Aug 2023 04:13:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692789232; cv=none; d=google.com; s=arc-20160816; b=X00deacOAmriMPzRt7fqucNJkaiKtyqA0NOxVixX6IvEIit8gqmFVb5jbub8gX3FIk koB7MxVBQ9ziufw2wXAfimYUiaRb0T99Q+ydCC7F9JQxovMc9C+FwrOJJvvPgu0NSTP0 QY2JanuUgYf6W+lwsN0c6ro7jcqFmeuBjqxhxH0Uolx3Q9GAokDJRs8GvVpDSTv8wsMb YJZWM+FBAKMSVTJ7/7fAi3qFODd3O2ikvFqWgE/zmWrynJ4s/Nfy00l+A3eF/aKHtfip k/LkbbqcW+YvgeKx8R1WYl6VGtOdXxRO94ntf4emvuPtyOmD+32N8g3OPAOxtBovYTsz +pcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=OKY40t6QDp9fH1vwuJXm/LqQrFimiSMThdy0WYW0QCk=; fh=hvDPwM38tocDUNeeeHg22oKSl2EwZzvx0VqMxBjv4kI=; b=tPNXYNagZXTom/JOG8NzI8FfSY3a58N9hMKh5s+T4Tvauk+BqITz/OzN+i+7L2EwCw Nq8qhq07cKY0Nn+wo0+B8cHOLols5011gmR+F8Lp9LvmjoP/B8l4w8kWNH8P9a9EXV4A C1nYlJY2RrTEoz2rprfhU5t2o42oBXgklPFhpFh/JeZGbWr/zuAQRIOqYYaFY6K87xIP dF8gKuBwAkE/QJt5tFyJ+4qDC+LhnIoVDF0/4VWGHPDtHVk+6J6xiFzOoYJd9fCg3jP2 d/5fgqFue5kBfBXqH8ijbUdEQkx9BaetZ+u/5UST0uOCtupHsqDnWdNuQTGB0rf9U8ua WKQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cAghFAvS; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 oq7-20020a170906cc8700b009a1708a9268si7621695ejb.990.2023.08.23.04.13.35; Wed, 23 Aug 2023 04:13:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=cAghFAvS; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 S232047AbjHWKZr (ORCPT + 55 others); Wed, 23 Aug 2023 06:25:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233546AbjHWKZp (ORCPT ); Wed, 23 Aug 2023 06:25:45 -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 19767E51 for ; Wed, 23 Aug 2023 03:25:40 -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 B204A62239 for ; Wed, 23 Aug 2023 10:25:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19245C433C8; Wed, 23 Aug 2023 10:25:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692786334; bh=vwqZ9zKjv6zkK9coGPnf8p57PfSY7qU/AJ2u7uJzmho=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=cAghFAvSZoHwI3VoV/YD6r0fge+nwIsofZxMpSeRuy206sThDmYlrRt/RLTmsqcoP u7RlUPw1LqWeQpndjDJvF6eYDF0b2e2kaEhA8xMn3yiwkUBlf+E/FYyRlWRjwnkRPQ lm8Ef2KhgXDpABJLRGXbshTmRzx+GpJoMIxYGXYQ/xDTKT/xjSPYPDkroO5mKcX6Gm 646ZE33B9xwsqsel6BHnJoFzh+RQcJP3iRXzIhSeIAxFgzL/QyHPHqPZ4V3yOjgNV2 iw2OAPaMKLtRsdmLMru6jmqUPL0rjdlKglZRRBKw3y1jC24hskgWJuXYrN+osyEOrU eBm2DpRdY2FWg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/2] wifi: mwifiex: simplify PCIE DMA mapping management From: Kalle Valo In-Reply-To: <20230802161049.89326-1-dmantipov@yandex.ru> References: <20230802161049.89326-1-dmantipov@yandex.ru> To: Dmitry Antipov Cc: Brian Norris , linux-wireless@vger.kernel.org, Dmitry Antipov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169278633096.1133515.976396654998983133.kvalo@kernel.org> Date: Wed, 23 Aug 2023 10:25:32 +0000 (UTC) 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-wireless@vger.kernel.org Dmitry Antipov wrote: > Simplify PCIE DMA mapping management by eliminating extra copies > of {address, size} pairs to/from temporary data structures. Map > and unmap operations may use skb fields directly via introduced > 'MWIFIEX_SKB_DMA_ADDR()' and 'MWIFIEX_SKB_DMA_SIZE()' macros. > > Signed-off-by: Dmitry Antipov I assume these patches are compile tested only so I'm very reluctant take these. 2 patches set to Changes Requested. 13338499 [1/2] wifi: mwifiex: simplify PCIE DMA mapping management 13338500 [2/2] wifi: mwifiex: avoid indirection in PCIE buffer descriptor management -- https://patchwork.kernel.org/project/linux-wireless/patch/20230802161049.89326-1-dmantipov@yandex.ru/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches