Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp267015ybz; Wed, 15 Apr 2020 08:22:39 -0700 (PDT) X-Google-Smtp-Source: APiQypJIlFjB5B9urkQ5NUgzd5Iglp76IQ8S6R4nTE8cgAxPrXAP0Z3iQrcylTvyUuBhCdIIR04U X-Received: by 2002:a05:6402:1619:: with SMTP id f25mr26240413edv.201.1586964158940; Wed, 15 Apr 2020 08:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586964158; cv=none; d=google.com; s=arc-20160816; b=xXl/+1wpgORJguXJ8KmuofAS6LPTgkfpIbZ0t/sf5AsusAH8sMCHxjd/n1jwZSvjyQ WbBxQuToisCpwUUldNZtAaz0lm8MQ0dg1aeJ9EZ/OZnUKKSMIOfpDO/syq5zfUz8lscg X4BMR2TD0MyII4HydQh+C7Hgayef/5hEnuBUtosHQrrmAT4iixKSrjw5EEEhGhJKyohm xFEZP0Oj7vSTgM9ww9v//5n0uJBtdRsyUqk4ckhvKaDJkItTJ60+xlLKRk3xvTCY1u9H D96Yky65qzL3WzKC5EolUabw4cxu5bVa8h3lLwf52hdqflgQwtmof0DlNpF++3hNL0EA 1CoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=yGGn5XTCbWcKi7Iz4ZvzEMH9gkvTDAhtX+3N8PO+tS4=; b=lHEg6vNStBQxqUcdstf5MF1Xy1rbr07KUoToYUvFkYK8bmrjzD27GzUkpPZIaDl4bL ORr1MhpM2dctMAu1Pi/1qaBGhWG3xlt9bh565kjjqt4cdgvmkxSDqMZKOJwsuw2VXkZi Y88q2AYzZEie7cC5VGj9L6ORjetdoQdyYhR6SaL6iyUkvxb/6MimBRYvGPqjUje6tzrr L1ki9lozIT6KmT534sMPh4ugCn4V1JgWrFUUaHEhOd1DMe3+CkyrLjUtHdXbcDkpMeSG 0BFWnYclkbWF/ze4Z5L8Nx8qC7kTeSvCoQIFQjuopYFJYoAm40LQf4f4ilfDFLYdOHGx uFsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ahiCzMjp; spf=pass (google.com: best guess record for 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si751857edr.209.2020.04.15.08.22.11; Wed, 15 Apr 2020 08:22:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=@chromium.org header.s=google header.b=ahiCzMjp; spf=pass (google.com: best guess record for 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2634870AbgDOGae (ORCPT + 99 others); Wed, 15 Apr 2020 02:30:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2634860AbgDOGab (ORCPT ); Wed, 15 Apr 2020 02:30:31 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0950C061A0C for ; Tue, 14 Apr 2020 23:30:31 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id g2so892234plo.3 for ; Tue, 14 Apr 2020 23:30:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=yGGn5XTCbWcKi7Iz4ZvzEMH9gkvTDAhtX+3N8PO+tS4=; b=ahiCzMjp6V+NwmmzlcNCIGWifnAuzqI1W8lasAUN1ibrkqsrPfuzK6zus4oCOUQnrr xLNWIlCaFETTQsgYPvPjKRA6JgQSf2Bn7dwoVnjTCx0Ly4lDyGBdNJAuvKCoWxSAO3fG o+9ej/Q9A6H7a8RQ4DNEDAzuKE7MH6smLnMes= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=yGGn5XTCbWcKi7Iz4ZvzEMH9gkvTDAhtX+3N8PO+tS4=; b=ZNu8l3kXh2ODjEUhK9YxserOVJWtRdWg0vCzSY/C16LOiBVoHEqPoVHlqq6nqdiKjk LvkFu/fhiylMmbDun7ycgg71lJWVOfTJ1JxnwO14KpHC7OJrDup8hbOmqhSHT0rE354V 3rqvI2tVA7RiJ4viTs8MhqIDkjcUqmOaafJw9hCS3FhB1/4IYhCNA4CrBe8Qk7YYRuFj KOgfn/Y9Lkjm+K7Kud0zfH9C0ufgtFz/2LQYI/zZydnSnGKm4C4m1edxD0fH+QCl/trw j2cCjDpsXFqYdDYtXGOGQ7UuML1Gu4kO4XeOQHWRbDYExUj1KBfVREzHBAPzWoF+UWf3 2rCg== X-Gm-Message-State: AGi0PuZZDlUFuEkgald8H7aMng6xKltxJMM/+Xv9LvRWq4yA2OXxWQiL w3+nODhJPwTfAEJo0wn/rcEhjQ== X-Received: by 2002:a17:902:c211:: with SMTP id 17mr3617261pll.152.1586932231411; Tue, 14 Apr 2020 23:30:31 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id h6sm10871129pje.37.2020.04.14.23.30.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Apr 2020 23:30:30 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20200414215015.GA3820@codeaurora.org> References: <20200309185704.2491-1-swboyd@chromium.org> <20200414215015.GA3820@codeaurora.org> Subject: Re: [PATCH] soc: qcom: cmd-db: Add debugfs dumping file From: Stephen Boyd Cc: Andy Gross , Bjorn Andersson , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Maulik Shah To: Lina Iyer Date: Tue, 14 Apr 2020 23:30:29 -0700 Message-ID: <158693222998.105027.13298557609451842017@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Lina Iyer (2020-04-14 14:50:15) > On Mon, Mar 09 2020 at 12:57 -0600, Stephen Boyd wrote: > >+ seq_puts(seq, "-------------------------\n"); > >+ > >+ ent =3D rsc_to_entry_header(rsc); > >+ for (j =3D 0; j < le16_to_cpu(rsc->cnt); j++, ent++) { > >+ seq_printf(seq, "0x%08x: %*pEp", le32_to_cpu(ent-= >addr), > 0x%05x is what we would have for a resource address. Sorry I totally missed this because the mail wasn't trimmed at all and it was really hard to find the one line that wasn't quoted! 5 vs. 8 sounds OK to me. Send a patch? Or I can do it if you prefer.