Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp639255rwb; Tue, 25 Jul 2023 23:47:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlF03JE4dZO3Hj5o0OjBKfLw8lChYXbf3bZ4/vIaQOq2rFgFtwOBvHU9VCqVmOw0eUpFjTTT X-Received: by 2002:a17:903:32c9:b0:1b9:d335:1740 with SMTP id i9-20020a17090332c900b001b9d3351740mr1784402plr.2.1690354071279; Tue, 25 Jul 2023 23:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690354071; cv=none; d=google.com; s=arc-20160816; b=a4ClDD1ZmWr0R6UIy4Xf3zhL2nhEfL6xaI1iJrjQnNuUPhAXQTIF+EyfvjIAayxJgx Hltodru4jOgcPA/l4O9jlpQpTCtDKRMyePhghdYYbphT128+Ak/c+fUvoEnY6N1Fpih+ Cw9DMX4ckgggr2UDmt9wN52Ojqe+lxDN+zOEZdthzx8SBXjFTk1QRR/nms7kGjKc0dAa I4+2Ir2E93QtXR2anIvgoHH0ijYm+dsLy6sw9KAB1ldqhR9H74UH2naWBMKBY1s7dyuo YaT6ZfHDmqeILWLDjcqDwUGK3UCDTGz0OgngyHMQ/bLZp3sGVbOtcw+WNI9w12RSr32l NUfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1Lm/XrOLYp7fWT2sfXdgdIq5SpBzX2hUbK40beEmVGs=; fh=3bBWnA7S0mMPhNHbJaS/nYWn7wZONtWVagMz0Ojxrkk=; b=d6QzGScX97o3SEDxBiTxP93sHUELEE27zpLR9OXqOkpgs88CRGbGasW5Blzi1nUMnw xFubySS+JstT5S/IbjeO4bY+t0f1UQrR02RrZ8KyBQoKO9Oc6nFenXOo2sPi14cusYC6 vk6lDKntcJ8WNGy2zjhqXZoahSKqXScWfnRXI/tjPxDIGCBs3AI1m997Y/BF30xTKEV0 cka/R5r9lL56HAjgs9v3PKkSNTORF6gIA1TA/UP+CSMhOfpuKAqtol1SxSepqRV3dVda EgMKHYMneBB5bB1U9TMWA55mzJ+bPfNxMaCW99czQKaba8WiVV5t5Vk8cyles1NajTE8 L7nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hbxq4eQu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n18-20020a170902e55200b001b5fc11ea09si13796245plf.94.2023.07.25.23.47.39; Tue, 25 Jul 2023 23:47:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hbxq4eQu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231882AbjGZGOi (ORCPT + 99 others); Wed, 26 Jul 2023 02:14:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231815AbjGZGOd (ORCPT ); Wed, 26 Jul 2023 02:14:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 722B3C0; Tue, 25 Jul 2023 23:14:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0269C611CA; Wed, 26 Jul 2023 06:14:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97A91C433C7; Wed, 26 Jul 2023 06:14:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690352071; bh=dFBiRUa1PUFx/bkBA2j6cE/Og15W429JYSgQYgBCddE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Hbxq4eQuOLhDrPYAicRMhxkcpz74LBA/dMpk8NYZSzu5QypEGf4O+75AOm5vX7gwc sanlY5BOigAC69//EOmcQ7tXfYVwHoZp9KDMh5/tLZg09VoF3E4nguSa309a+Yn97g MzX7c6fl4bvi49lFA+amMV8WD/3R79vI9DYCOphGk+NC6vFV1OaQiVtcLL3PrOcLKh tyM64mH3JrDv43yI0Amjw6CE0QXpK7pUFbaUBCAAdR/yYm8VH7ql0TYpXtcI8irA7s H0qNsqlU4muX+4gP5ZF4zdYCAlGGZiG87c/eC4ETWLbCG6gKM+vUK8TT4yusxTe+sV 5zPP/RrLN9FIQ== Date: Tue, 25 Jul 2023 23:17:44 -0700 From: Bjorn Andersson To: Komal Bajaj Cc: agross@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, srinivas.kandagatla@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/2] nvmem: sec-qfprom: Add Qualcomm secure QFPROM support Message-ID: References: <20230724083849.8277-1-quic_kbajaj@quicinc.com> <20230724083849.8277-3-quic_kbajaj@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230724083849.8277-3-quic_kbajaj@quicinc.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 24, 2023 at 02:08:49PM +0530, Komal Bajaj wrote: > For some of the Qualcomm SoC's, it is possible that > some of the fuse regions or entire qfprom region is > protected from non-secure access. In such situations, > Linux will have to use secure calls to read the region. > With that motivation, add secure qfprom driver. > > Signed-off-by: Komal Bajaj Reviewed-by: Bjorn Andersson Regards, Bjorn