From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C744C00144 for ; Fri, 29 Jul 2022 04:02:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234165AbiG2EC1 (ORCPT ); Fri, 29 Jul 2022 00:02:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232238AbiG2ECX (ORCPT ); Fri, 29 Jul 2022 00:02:23 -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 2E5E87CB69; Thu, 28 Jul 2022 21:02:23 -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 B4ECEB8254E; Fri, 29 Jul 2022 04:02:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F136FC433D6; Fri, 29 Jul 2022 04:02:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659067340; bh=U+lGdFsTv3JKZCf9r8fYYpz91ylrFsMPO+0gFcn3ygc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CmO5HHW9ewZI5nrgKYO1bgNT7Xcj3WK0NMacT7PPJvyH7R06rm5v2XkuwRRWQHZ5v +f2FFU95hJg3CBM+6mwSzx2UZ+RLVVntnrQXX4xuzBewzZtBp18CZ70XryDifm9NzP meoBRZ60c73ogSGf/wPMXuyTuIIjiSR+GEzugtAsK0PGS71S680qgLKMGhYaAeVaq+ O8n92J3HKmy3Vv5os2X+w+MewWVgemyZYaWS8JwNW5uUYup4oKA79QMIw7o9WgNcoK qwxYgxFOMQb8GW7yPi5BpXmwyF/3r7LgkzT3FwUciVCq/+ptGae8j9N99VDrev6xH1 Lv6cGjU8TZ8pA== Date: Thu, 28 Jul 2022 21:02:18 -0700 From: Eric Biggers To: Daniil Lunev Cc: Adrian Hunter , Bart Van Assche , Greg Kroah-Hartman , Alim Akhtar , Avri Altman , Bean Huo , Can Guo , Daejun Park , "James E.J. Bottomley" , "Martin K. Petersen" , Mauro Carvalho Chehab , Sohaib Mohamed , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH v3 2/2] ufs: core: print UFSHCD capabilities in controller's sysfs node Message-ID: References: <20220729020508.4147751-1-dlunev@chromium.org> <20220729120216.v3.2.Ibf9efc9be50783eeee55befa2270b7d38552354c@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220729120216.v3.2.Ibf9efc9be50783eeee55befa2270b7d38552354c@changeid> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 29, 2022 at 12:05:08PM +1000, Daniil Lunev wrote: > +What: /sys/bus/platform/drivers/ufshcd/*/capabilities/crypto > +What: /sys/bus/platform/devices/*.ufs/capabilities/crypto > +Date: July 2022 > +Contact: Daniil Lunev > +Description: Indicates status of Inline Crypto Engine support. > + > + == ============================ > + 0 Inline Crypto Engine can not be used. > + 1 Inline Crypto Engine can be used. > + == ============================ > + > + The file is read only. Why is this needed when /sys/block/$disk/queue/crypto/ already exists and provides more information? - Eric