Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4545845pxf; Tue, 16 Mar 2021 17:00:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvl6GHtTdYchZPrd4/F7OFwkejf12vwe9+8IGWiUBL1epk84KtMi8fYyGcD1JxwXFO+Yh4 X-Received: by 2002:a17:906:2314:: with SMTP id l20mr33090430eja.178.1615939249612; Tue, 16 Mar 2021 17:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615939249; cv=none; d=google.com; s=arc-20160816; b=zfisc7JfZW7JX2OByVu3+nEi5dW/AA2u1aOHXdx251gHo62bcuDwlHa9q5M7T91jfO QDb3M+HRd0JhCmLOD93m71/3cjuawtX4RqiTXYGV9042fLavxLLCwxl3blPC9UlTooPa DQypz5KUAwEo5x/zbdudpg11Ane1i1cb0jVJcH1Sa18vXQoTih3mmo4wniNqMA4IlvY9 5sVPJFdM1YDr/mPAys4k6xLEvN3ZBIR/1PsHDNKjAKTHSn4NhtbKHslwEUn+yD5BazQ2 RDS8EK5kxz/pUQcMyQgcxnxeZCPkmk6cHVI+FYAZAQDMQYG+eL93qrH4MjEuK4abnCGY 7utA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=oXB6+xyPHDZii/8O9jaaLZrloHiccp9uG7TidAIdX0k=; b=baLnAgyIA8ZgyjAelKOXLALvvFE8M+4yD0t7DRwnHlymXlaadm+ADUeB5YHELVo7yu W9pvI6PaQiBpcHcP2DO2skw/ckk4DzRVWRgFWut0xErIEaePtfvpEF5ZacUs2T6QwVVP sbCQH7DUQqBzzRhOdOlEPm6IY9Vq4SEqU0a84mFmWI9k2+j51LaSuBgqYNhWWZX6tQhq 5RigFcheyMEsvmUikqCMD+4EE6RX/9nNxMQ1UXBF/3k2Yqmunlg8vD0HJqBlL8qfNDE1 2M9vidiONZyAW7ylTjc8O4OS6pjeQoPtDxI7QOTCF1NuHfj9tlG/p4MY0cyGBjVKLPPs Hwxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kRHoWji8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w26si14994057edx.572.2021.03.16.17.00.24; Tue, 16 Mar 2021 17:00:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kRHoWji8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229517AbhCPXuU (ORCPT + 99 others); Tue, 16 Mar 2021 19:50:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbhCPXuK (ORCPT ); Tue, 16 Mar 2021 19:50:10 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 670A0C06174A; Tue, 16 Mar 2021 16:50:10 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id d3so193322lfg.10; Tue, 16 Mar 2021 16:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oXB6+xyPHDZii/8O9jaaLZrloHiccp9uG7TidAIdX0k=; b=kRHoWji8jQln8q8Emkhm9fn17e4lS/p8UsvjfB5cvTetb/Da63gDE39WRgw7dvhu1Y gy9nj9oRpezB2IaqX5GzqvU2ADGDh4HIKqVzPI4WY7cpZl+FguNoXGiiJaeK8d50sht4 +w+h2GLqWvKcPGtM2SMGz7s9oNORggO/J2jqjO2PimXt69AEeXMWM0lresu3Jl/eLVEO EveER/6JmJfTjne35NEzUHAecHg2u6oiAruMfEs5YZu57FHHmPCgrkc96jOCUCCUF7TQ ZQvuHF6AT/9HBL4yYzDXgC+fJWbw/UUPh7Z2EfPix4qSYjWCxJJCxz//DoP99uWiJeVS Dv9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=oXB6+xyPHDZii/8O9jaaLZrloHiccp9uG7TidAIdX0k=; b=M63n9gTl8ymHB8ulXhh+XEFGljlD5dz/lcsNZ59Jnlv4jFcjNNaUanfQNekcM22xbF FACVR93MstWHUMnjPVmevaNjQyVUlCc/g15d0EpcO6WWXjCE4uNjhLYKpTMG3HRSNnDS S6ISZc8tzoqu2SSKJe2P/G6g+aFfxodMFxml/UOaopmWMup0KtOJqUKIBGS0LU5k14Vw It0vkGXxNW/ytiMZFjgItkr7Kbu/KY7p6o4klhkcqZjI8hFM+yuabjMxiezoH2dNYMss vOqu3KD2sIUwcnNRg86qsk2Y5tpOA58gqQDMWxGsu/ByPsCSjqMx01xIQZmdyo+0fSiZ 6gNQ== X-Gm-Message-State: AOAM531d37Pf+o1vpIhnt7lmTG8zKSEZy88IgXQfgwp7FY+3poIyEMVU W8nzDOwHBd1UEHj001FdBmNZxkM/doY= X-Received: by 2002:a05:6512:3709:: with SMTP id z9mr628448lfr.557.1615938608636; Tue, 16 Mar 2021 16:50:08 -0700 (PDT) Received: from [192.168.2.145] (109-252-193-52.dynamic.spd-mgts.ru. [109.252.193.52]) by smtp.googlemail.com with ESMTPSA id g21sm3170038lfr.212.2021.03.16.16.50.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Mar 2021 16:50:08 -0700 (PDT) Subject: Re: [PATCH v5] iommu/tegra-smmu: Add pagetable mappings to debugfs To: Thierry Reding , Nicolin Chen Cc: joro@8bytes.org, will@kernel.org, vdumpa@nvidia.com, jonathanh@nvidia.com, linux-tegra@vger.kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org References: <20210315203631.24990-1-nicoleotsuka@gmail.com> From: Dmitry Osipenko Message-ID: Date: Wed, 17 Mar 2021 02:50:07 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 16.03.2021 14:16, Thierry Reding пишет: >> + seq_puts(s, "}\n"); >> + seq_printf(s, "Total PDE count: %u\n", pde_count); >> + seq_printf(s, "Total PTE count: %llu\n", pte_count); > Some of the above looks like it wouldn't be very easily consumed by > scripts. Is that something we want to do? Or is this targetted primarily > at human consumption? Output should be parsable using a simple regex. Could you please clarify what exactly isn't easy?