Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp168155ybt; Tue, 30 Jun 2020 17:28:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqLD1yEolAvAl3R63teZ9Mr+7uUJbRJMaV/8LvRxmlWT//n9KtG8UQEJGPlaMUxG1WkRFy X-Received: by 2002:a05:6402:1544:: with SMTP id p4mr26615892edx.334.1593563281598; Tue, 30 Jun 2020 17:28:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593563281; cv=none; d=google.com; s=arc-20160816; b=xocNYPVLyWh0HtKEU9NhAxAfpaSmbmzixTzazZI18A1Cb9UlunGpbCby9/5MCloVFa RXoHSMJNVbY9MeSThzdjDpEuTcNatzKpA6m1BdL/T0Vnokg8aDRFaGAJny30mwd364Ld oxjw+oDaIX3yzpaAA3tpkWQXHPTzTQCoOyQF49Q2fjBsMZbSCEXvhjvIczmew80D2WNW +bY7Ni1c+WK7Tb7XSvzKzwF7JLl15SHkkYzejpy8kTqWMbOMGQIk4wmjLbNR5kSgCc40 Ch8saKZhrLdAMgjXhtxRnnaH3u7gfwsaRFfkoTrT3PD0xiL649r/BxRUrh9TrY/HvxkD wT6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=IdlMKhUIKqBn4942Twt7faFKPF5NMn0jtO6zIzl5bWo=; b=cMX9rVlwYOAJPir/ZCAo55vrR6wwWBQwluoGIwsX3qZwDrniNNos8NLHhjiktCsdKB cbBjDZ9xMMIRotPk+vijJNDqtxVT4D+q7fp3/WeRwsqriNveZlw0HIVrgXGToF2lv8xy US6CzvfZCM3MHr76r3Fm022KNi6bM3hinuYt3WNk1l3AktJ+1SVGCQfI3wePCBJJ4dU8 pZPlbY46addK5rahEwJLP3aYkxh6C1dty/S4wXW+gIDobsGGIcOcVQetmjEav3eIUzOc 9HuT1bOEDXP6RmlYgLXEUx04E12Z7CpUF/Cw4tFXnlNUgKFmKZa4vTiSZ6mlGsXxFvuL fwTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YWuMKAR+; 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=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 b36si3075380edf.590.2020.06.30.17.27.23; Tue, 30 Jun 2020 17:28:01 -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=@chromium.org header.s=google header.b=YWuMKAR+; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726051AbgGAAXK (ORCPT + 99 others); Tue, 30 Jun 2020 20:23:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725930AbgGAAXJ (ORCPT ); Tue, 30 Jun 2020 20:23:09 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65014C061755 for ; Tue, 30 Jun 2020 17:23:09 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id m25so12301831vsp.8 for ; Tue, 30 Jun 2020 17:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IdlMKhUIKqBn4942Twt7faFKPF5NMn0jtO6zIzl5bWo=; b=YWuMKAR+NdZjoNqc21fwUzKbGR2W0tPVMxpKtpZrOKr3GXGnYkWzC8jYjtI7q+KLJm AMVP//lGkH183E7F9X39r/rfkU0M+tqYwxtL84uz4euS+Fvxv/+zAEMzAEd0mWE6jc0S gGh0doMKy/r7SCj2J/HyRI7NCqI/1zm9w6GdQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IdlMKhUIKqBn4942Twt7faFKPF5NMn0jtO6zIzl5bWo=; b=pluaHaoOAPtVf2IipDp6y3gYQKa0LIEUHFy3eGBrOitHI+bWzvrBM/Gtu8FJ9kx5fR 7zdSuEWYsVpX5WcaBO8KKXb1tcVdIPC2pzZC0L2qmnnQR0ZWups7bpoKRszklOGQGQab npSo7PeRQaUssXrLm+0jQBNtOcF3PT0Gqy03mk+RtxFEZRM3qIJGhdVgpbi2S+fACZkx tb87VzBOi4tNNOJ7lPr8gdaCIiojk8ArHHHq0iASJAumjCsEk7+aiOjMAbImpYMm8ju9 ABX1gO9MWajOdRA0twdNi6/GwdEcLA2FjefEWM7652PapQK6MgM100srQ7xdE85FR+Ir aPCA== X-Gm-Message-State: AOAM531WR5zbu5H3i4MfOi/rTo0WJoHozRcMu66HzO0iaC+JMGXwnbK2 5aqsFPrXFeJR8y7usKkFL/7DPcKgtvLLIKBgBe4+Bg== X-Received: by 2002:a67:7241:: with SMTP id n62mr11743925vsc.170.1593562988363; Tue, 30 Jun 2020 17:23:08 -0700 (PDT) MIME-Version: 1.0 References: <20200407082923.2001556-1-patrick.rudolph@9elements.com> <20200407082923.2001556-2-patrick.rudolph@9elements.com> <159306873839.62212.9311861115757727633@swboyd.mtv.corp.google.com> <159315642733.62212.13203844825360378214@swboyd.mtv.corp.google.com> In-Reply-To: <159315642733.62212.13203844825360378214@swboyd.mtv.corp.google.com> From: Julius Werner Date: Tue, 30 Jun 2020 17:22:57 -0700 Message-ID: Subject: Re: [PATCH v4 1/2] firmware: google: Expose CBMEM over sysfs To: Stephen Boyd Cc: Julius Werner , LKML , Patrick Rudolph , Coreboot , Thomas Gleixner , Greg Kroah-Hartman , Alexios Zavras , Allison Randal , Samuel Holland Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Ok. Regardless of the concern of the physical address is there any usage > of this attribute by userspace? The description makes it sound like it's > a pure debug feature, which implies that it should be in debugfs and not > in sysfs. I'll leave that up to Patrick. I doubt we'd want to create a whole separate debugfs hierarchy just for this. Like I said you can just read it out of the log too, this would just make it a little bit more convenient. It's not like it would be the only informational attribute in sysfs...