Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9257539rwp; Thu, 20 Jul 2023 01:57:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlHnt2SaMb6yvk5gcmVeRHQXb0jt0Toohj7+hSmy5eXn/T4yzBmCOQCY6LDVdIixeqK3LRvW X-Received: by 2002:a05:6402:3c4:b0:51f:ea43:cee7 with SMTP id t4-20020a05640203c400b0051fea43cee7mr1312555edw.28.1689843466766; Thu, 20 Jul 2023 01:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689843466; cv=none; d=google.com; s=arc-20160816; b=DeZDdgnR2CK0E5Pb8IACiWU3Pc6jareb9xIpauyABLv2ub9xeiazRfISmm1DI3EWEJ WBu626W7FRSVq4Q3o/Cj9I4UYC9ehKQxq7BHyspo0mMcZJO5iqvNbXiOCi/P71AZJ7M+ Cm+VBnxkUU4cH/wqXXm/5XCJE/drmmRq6AT8x0g5k7J6HBcyw1uqHFkJPdSS49v295jI hU6U7Ugq3XOonlNCzcdptdSKD2OXvLtWeVANZ4RFxdDG7icq+n8dzfpgrVYJVNhfwo2x yJb/BQTkp+KhLdiWxXBvf8HWkAtmm2uWD91AqfTnG7l5O3ZAiXp2JK4kIpc9RowN+APJ bOmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=AvtnPhwdXNVpAFbjsBE9gTIkoxcPqRGhTalbw/+sA00=; fh=K+AqHgYRl0EeFK0LkJF4lWkjRojzETovX4qpZb+Y5UQ=; b=FdigDkHgL8oTgSP17Z/KcaMpUa9c/osJBZ8/ffX/UE3n2ftiP3HWuYiVXd4/j0JoRp phNIB4ehqDRE1+Jtf9nmd88yREWNNNqmRwEQ4niHPvTUJlHFrEcp5sB93PRzwnsBtag5 B5YoilSAx84NW/x4v0tf0+pjIDd9emNhD/1DDNZXHK9QXry2eFlwfpkMVe5OsqOwUsOg lXE/1y/yLlojQ4SLSWWfmdwCrUlA1uvoH9pIo8y7TuAjyu3euYJkmsU9JHVf+vPk8XrD IF3qUh7wz8qhHFObptSfEg0hMyXYNzfnorLdAkR3tMamyPnFeLXWvLv57MgXweOn2Oml IWKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tesarici.cz header.s=mail header.b=3dd5Pavm; 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=tesarici.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k24-20020aa7c058000000b0051bdf1abe3csi495138edo.415.2023.07.20.01.57.23; Thu, 20 Jul 2023 01:57:46 -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=@tesarici.cz header.s=mail header.b=3dd5Pavm; 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=tesarici.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230208AbjGTIOR (ORCPT + 99 others); Thu, 20 Jul 2023 04:14:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbjGTION (ORCPT ); Thu, 20 Jul 2023 04:14:13 -0400 Received: from bee.tesarici.cz (bee.tesarici.cz [IPv6:2a03:3b40:fe:2d4::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC00E172A; Thu, 20 Jul 2023 01:14:12 -0700 (PDT) Received: from meshulam.tesarici.cz (dynamic-2a00-1028-83b8-1e7a-4427-cc85-6706-c595.ipv6.o2.cz [IPv6:2a00:1028:83b8:1e7a:4427:cc85:6706:c595]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bee.tesarici.cz (Postfix) with ESMTPSA id E0E67168C97; Thu, 20 Jul 2023 10:14:10 +0200 (CEST) Authentication-Results: mail.tesarici.cz; dmarc=fail (p=none dis=none) header.from=tesarici.cz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tesarici.cz; s=mail; t=1689840851; bh=xrpHTACrVoZG7MNSm/D8K7vhd21yQrNcC9Y59ZeXRvs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=3dd5Pavmv3EXKNAnnR95EiSeSQ2THQUdM5wMjtCg0ChzLt/QUmCXzUOB/38fD8mLk pyi6yZ1E36fc6dVkU4iROaJCHSNuoayo36vmhwrxilJg22KieWiuPFpNO9POe83OP6 w/LYkzTz/FO9CHthSROhqFP5h1/CyJay2rWag0Ojzfm4NKFwj+3ycKGyMFXaEpi1IM F5e3mTJfOrAF5pYv5RQeB3Ub4VIXhxADABWKFfLAMIOjbP7zZIIzYOwdjf1R1742Ip QjGS92dn0WHV1QT7i2g89YpdooKhVyiSAd2Atp3oB8tlSZc8NdlmEQYo5AhZATkk3W hxtId0DxzzqfA== Date: Thu, 20 Jul 2023 10:14:09 +0200 From: Petr =?UTF-8?B?VGVzYcWZw61r?= To: Christoph Hellwig Cc: Petr Tesarik , Stefano Stabellini , Russell King , Thomas Bogendoerfer , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "H. Peter Anvin" , Greg Kroah-Hartman , "Rafael J. Wysocki" , Juergen Gross , Oleksandr Tyshchenko , Marek Szyprowski , Robin Murphy , Petr Tesarik , Jonathan Corbet , Andy Shevchenko , Hans de Goede , James Seo , James Clark , Kees Cook , "moderated list:XEN HYPERVISOR ARM" , "moderated list:ARM PORT" , open list , "open list:MIPS" , "open list:XEN SWIOTLB SUBSYSTEM" , Roberto Sassu , Kefeng Wang Subject: Re: [PATCH v4 2/8] swiotlb: add documentation and rename swiotlb_do_find_slots() Message-ID: <20230720101409.559a2a34@meshulam.tesarici.cz> In-Reply-To: <20230720080110.GA6358@lst.de> References: <11826bfbc148771ab36d0b485558aa52cbdd204f.1689261692.git.petr.tesarik.ext@huawei.com> <20230720063819.GB3842@lst.de> <20230720095609.55b3a642@meshulam.tesarici.cz> <20230720080110.GA6358@lst.de> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On Thu, 20 Jul 2023 10:01:10 +0200 Christoph Hellwig wrote: > On Thu, Jul 20, 2023 at 09:56:09AM +0200, Petr Tesa=C5=99=C3=ADk wrote: > > On Thu, 20 Jul 2023 08:38:19 +0200 > > Christoph Hellwig wrote: > > =20 > > > On Thu, Jul 13, 2023 at 05:23:13PM +0200, Petr Tesarik wrote: =20 > > > > From: Petr Tesarik > > > >=20 > > > > Add some kernel-doc comments and move the existing documentation of= struct > > > > io_tlb_slot to its correct location. The latter was forgotten in co= mmit > > > > 942a8186eb445 ("swiotlb: move struct io_tlb_slot to swiotlb.c"). > > > >=20 > > > > Use the opportunity to give swiotlb_do_find_slots() a more descript= ive > > > > name, which makes it clear how it differs from swiotlb_find_slots()= . =20 > > >=20 > > > Please keep the swiotlb_ prefix. Otherwise this looks good to me. =20 > >=20 > > Will do. Out of curiosity, why does it matter for a static (file-local) > > function? =20 >=20 > Because it makes looking at stack traces much easier. Got it. Thanks! Petr T