Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1707008rwl; Wed, 29 Mar 2023 23:52:43 -0700 (PDT) X-Google-Smtp-Source: AKy350aaHjxc17cFzZi91bdiiUoRelZ/OSJ8Urpf6creOrtiWPp0ctPA4lAz7oGxiJDKFY3cnoBP X-Received: by 2002:a05:6402:34c6:b0:502:1cf6:f52c with SMTP id w6-20020a05640234c600b005021cf6f52cmr1629362edc.4.1680159163322; Wed, 29 Mar 2023 23:52:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680159163; cv=none; d=google.com; s=arc-20160816; b=P/+Hq+GMy6UXSIDAKrPU9ZbHbOLxuPc9+PITNKI/kAx3EOBQUG7K5hGIfmWC23UGwj BTcNO9CEb5ahfm+VorRXWdLLbzgYJh7zzGQztsNpq1/83AERjngwwhu83c5uwMAmZ5vz n1vvUFcYrl+b59tWm3Bgqqx3nj7pzkbFNmjlTHJFkCfwfkIXRdUMs5A8ZDMOE56AvSiX 2qeN8UbR7nMQ1MpeWCuAoBgJaIlxwuVRHve1cjRIMyKFJdI6rzG8IN1hgbFeGgFH7TDm N+yKlvFJmYF12F5Q0Rt7zqLOBluc6MPsv0UrDwJGt8lGaZIoruD+3zZjLp6vCAJ7TrF8 v7uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature; bh=qlfm/HYMPPU3Yfy1G85BYiYycc78ast7OYugcoMnP+c=; b=aQBv4Fkmi+Rl35hdxqc93qSVa7PXPAA7QOgsDeVOW48thrrz+jb5V+Kf/R4wlrSlCG g3qDgzN37y7AziY2TkfgZ6qoDf679btZDBJP3DuDdF7ScLqC5FfOM945NBjSH9/41Z/d jamHKK5akakZ3HcLV+yngXf8nyShsoHTvTDBu4ZWbw8Cb+7m7EQVcdWmXYeRCJ/eNvfg 9we4JCh5KbPmvK4LYvKUy2O02+HkFLU4jhXJE7x10AWHqYPK7r07Y1WBpb4dwGeYPxgg iaTxbPlf4l5GUpbuwhEJmIz8cLapyvpkez5q1dZWIGRz6TFUUsqtlp73sQZKaFu7ausB UNWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MajGdklL; 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 r17-20020aa7cb91000000b00501e283279fsi22484748edt.205.2023.03.29.23.52.18; Wed, 29 Mar 2023 23:52: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=MajGdklL; 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 S230288AbjC3Gvp (ORCPT + 99 others); Thu, 30 Mar 2023 02:51:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230322AbjC3Gvm (ORCPT ); Thu, 30 Mar 2023 02:51:42 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCA6B5FF9 for ; Wed, 29 Mar 2023 23:51:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6EF09B825F3 for ; Thu, 30 Mar 2023 06:51:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1E47C433D2; Thu, 30 Mar 2023 06:51:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680159098; bh=j6ptaomqz4Mdy0IN85hUag5DDxk1uEmIEhcTkQd3Xys=; h=In-Reply-To:References:Date:From:To:Cc:Subject:From; b=MajGdklLDY8+LZCCBsM1CcaWT0H/yjs9hH51dXgUE+YNRf2KrS11/ZiH2b68X8EK6 QdAcnOeR6/YqoHVl0jT+ZiFTB7+pUOHCo9mrP1+bZqlzeorvNBtpfMtz2aaBF36RWk UAC1pmWjgXOclfT+AgZLxQk8r3tOKS/z8uCfK0wjHdXVzUlQpyqXJxAQe/cbS0wIDG UcCA0Rq8inZSXizvZrKP77BjD8PYpIO7H5k2Eu3qGJtWqwc1YMq2WLWk5hp96GrSjQ fp44ksxqurnAfzB+whmNhaxQzy/W0IDiEe9PIwz5VHlr0T41zO7QdRkIMFUFUusB+w IuSvAToRWByKw== Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id A277127C0054; Thu, 30 Mar 2023 02:51:36 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Thu, 30 Mar 2023 02:51:36 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehjedguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugeskhgvrhhnvghlrdhorhhgqeenucggtf frrghtthgvrhhnpedvveeigfetudegveeiledvgfevuedvgfetgeefieeijeejffeggeeh udegtdevheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrrhhnugdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddvkeehudej tddvgedqvdekjedttddvieegqdgrrhhnugeppehkvghrnhgvlhdrohhrghesrghrnhgusg druggv X-ME-Proxy: Feedback-ID: i36794607:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4E094B60086; Thu, 30 Mar 2023 02:51:35 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-238-g746678b8b6-fm-20230329.001-g746678b8 Mime-Version: 1.0 Message-Id: <5db9b27a-90df-4916-90da-4e8daeebf9e3@app.fastmail.com> In-Reply-To: References: <20230329071405.1568021-1-geert+renesas@glider.be> Date: Thu, 30 Mar 2023 08:51:15 +0200 From: "Arnd Bergmann" To: "Christoph Hellwig" , "Geert Uytterhoeven" Cc: "Desnes Nunes" , "Christoph Hellwig" , "Marek Szyprowski" , "Robin Murphy" , iommu@lists.linux.dev, linux-kernel@vger.kernel.org, "kernel test robot" , noreply@ellerman.id.au Subject: Re: [PATCH -next] dma-debug: Use %pa to format phys_addr_t Content-Type: text/plain X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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, Mar 30, 2023, at 01:50, Christoph Hellwig wrote: > I've applied this as it is the first fix I got into my mailbox for it. > > Arnd sent one a little later, which uses %pap instead of %pa, which > confused me a bit. The documentation seems to allow both without > any recommendation which one to use, which confuses me even further. Indeed, I wasn't aware of this either, apparently aaf07621b8bb ("vsprintf: add %pad extension for dma_addr_t use") introduced the %pap form at the same time as %pad but made it the same as the already existing %pa. I also see that the %pa form is a lot more common than %pap, so it's probably better to go with %pa for new users anyway. Arnd