Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp477822rdb; Thu, 1 Feb 2024 14:25:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFLzpkqsOsOn3l++6fKpxvoT4nUw/pKfjL+QlT4fa5hAQ5GYI8ufZFGl9WFPbbY61ZD0HVu X-Received: by 2002:a17:903:41cd:b0:1d5:b275:30a3 with SMTP id u13-20020a17090341cd00b001d5b27530a3mr504380ple.24.1706826314790; Thu, 01 Feb 2024 14:25:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706826314; cv=pass; d=google.com; s=arc-20160816; b=V4ijSJCXDLv1coi3Si/zAerVFBJbuwiLKHouKWAsL/ZAy7B+zC0CZGMZTUx9wQcocC p2fnQ6X1E/RUNNz3J+sbwUhhWQGmNC0wFcBLHn9nXPLHhYraePCm5h65TkGHsSlDkOvj oxZn50zC7isSAXaVdxre+hB9KohfaYy3LU0jzQad7rI3dLXKfGtD2PcxsgoMAOqyu50+ wirhr3frbP9zqHraSt4SluNBqvQBjqdtyTh8gy5ikJdUlSpRxRjV3cT8uTPIdsvuClKj pjA7aB0pXxjFpRLPyFroDIWpg2QanJn78ctgLDtcSj69qGWOO2UY0olZrV/lCYER4dpA x27g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:subject:cc:to:from:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=gm39k00fXSJe5GlQK5AeCq4vRl3BvQqkpLTuncjtNyE=; fh=WqAkt/hAxRLycWU4CiGzdbNARyaOnGdwqlWNj/YrlLM=; b=e2PtU36FGy0chsPUes2H+tcANz/SNJ9nfR8Pmq11XTAgF2InfV5rOARRzL8CrYW+78 nDXkk5iaG1C1l9fVL152wcYouaDFp/vjN0Aa2RjiqCtKjKJNnEzEwcGrwPAwDXTUmzYk 0Bx5dj8WVXzwUis+WrCHxZUvDCTl16xi/40ziAt1Lz+49qh2nHTRA9BcCaQ2ucJ+afOY wWrF94iAVU/KzOpbA1XVqhSGzwjPl0oXpx/7K90rZMYe0HtrdnVGytnjcBpftsH6AskG W0Q+wi5yCPd9BHRvRtrLxZIMeOEM8hWEdamwS3xM1acQctS8HNWjK/fRc7QQ8HufaSvD r7ZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UomVBqi0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48911-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48911-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCW0KgLbCc8Yf8usfdaitEJxhg7ojKv3ryf0WutJ5MNKac4OffFfSLvt/0d3zoqEdn8ZJKI9L2Y6v8anbmAneQfLseEJ6kYHtMU7uwtAfg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9-20020a170902cec900b001d72907f487si585781plg.56.2024.02.01.14.25.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 14:25:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48911-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UomVBqi0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48911-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48911-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2E643B23D6F for ; Thu, 1 Feb 2024 22:06:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDFA53FB2E; Thu, 1 Feb 2024 22:06:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UomVBqi0" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0BD53F8DB; Thu, 1 Feb 2024 22:06:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706825164; cv=none; b=YH0QNELIu1VvHfoFsLZrS8qulXgJLvc4O09RFhomOYBZ4YfF8i8oAt8frKr2Jq1B+vHObX0kYIbImVvlWWc6+mFovS2/e8m5Q3xiexRdiyKSUXZ2Qe6Toj+idzBFNvD/C20FxQ0ANmmeeGha2Tgf9cbfA3d5PvMnXlCLNxt9Q5M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706825164; c=relaxed/simple; bh=gm39k00fXSJe5GlQK5AeCq4vRl3BvQqkpLTuncjtNyE=; h=Mime-Version:Content-Type:Date:Message-Id:From:To:Cc:Subject: References:In-Reply-To; b=eRpPcozx98BDJoR/n0KJ9eWvO8wNyJa8h33vF6EhD6POEb5DrMjRMjz6LgUQ6Y1S1C2uj/P9tUtN6EkDUl++OR/0qqtPpUXcfzAyASPOt2e6UrNdDyio/KJDpXLcSdbezWSr+1b+vgjeHGzpwxBJewUYPiSubZKsqRSMheKIruc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UomVBqi0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BBB9C433F1; Thu, 1 Feb 2024 22:06:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706825163; bh=gm39k00fXSJe5GlQK5AeCq4vRl3BvQqkpLTuncjtNyE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UomVBqi0EGzJV6yaG7J923dM9+hNpVQN1BWkCkA4WcWuUz2at+hH0i96TKF9woxct fqA37JLy5PeGJAR4C1W+7n3prCC+ZDfmqyS1iiFl57ihoM8h7gcV6s00l7foLPZv4P dA8gI4KIHDCkS9YH3/39+Bs3f/QkbgDPYlVPr8ocgxRESn6wYkXIL0uyni/EjXXH7j uYi17hnKmhzTRkyE8jsd1/iK6RjofrafqRpOQa51K7p0cStv3gvOMZMLf+9mDfETU9 uq+zqKR1C0SQ9kuCQUEk6Gl25dkW+zIdKaVQQPLqUicLjpeHkr6QeEc1NYGKcm2Dvm MKppWHKy3FR+Q== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 02 Feb 2024 00:05:59 +0200 Message-Id: From: "Jarkko Sakkinen" To: "Samuel Ortiz" , "Dan Williams" Cc: "Kuppuswamy Sathyanarayanan" , "Qinkun Bao" , "Yao, Jiewen" , "Xing, Cedric" , "Dionna Amalie Glaze" , , , , Subject: Re: [RFC PATCH v2 2/4] tsm: Add RTMRs to the configfs-tsm hierarchy X-Mailer: aerc 0.15.2 References: <20240128212532.2754325-1-sameo@rivosinc.com> <20240128212532.2754325-3-sameo@rivosinc.com> In-Reply-To: <20240128212532.2754325-3-sameo@rivosinc.com> On Sun Jan 28, 2024 at 11:25 PM EET, Samuel Ortiz wrote: > RTMRs are defined and managed by their corresponding TSM provider. As > such, they can be configured through the TSM configfs root. > > An additional `rtmrs` directory is added by default under the `tsm` one, > where each supported RTMR can be configured: > > mkdir /sys/kernel/config/tsm/rtmrs/rtmr0 > echo 0 > /sys/kernel/config/tsm/rtmrs/rtmr0/index /sys/kernel/config/tsm/registers/0 Does not mean that I agree with "tsm" sub-path as I don't know what TSM is by definition. BR, Jarkko