Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp578600pxx; Thu, 29 Oct 2020 09:21:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2IiXeRykapUkuBSlI+Qa58Jh6TNGS06WDTDnziq6zRKyaTUHWmdE36gWT61NyosLjyVta X-Received: by 2002:a17:906:388d:: with SMTP id q13mr4742209ejd.92.1603988463387; Thu, 29 Oct 2020 09:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603988463; cv=none; d=google.com; s=arc-20160816; b=oXlMnph42CEbP8z+Y9HZkGIEC/Nr20hcToVrrd77fRGqVbLp9WpVF0liSPzDv3WHGR GbtQ4gg/p26/ITW3mRNQG2ynlHA5dbkgfGLIkeLkgeFoK0vrqM5SX1kSlbI0S2mKUoYg 1yQjjXrst8iAYOZOPP0GwiI7qXEB4OIpna0lSSQzAvtY0IzRqVMUO0dXKO0BXyadHykC 7HJFnkFHy466NTq6N4DW0xVpF7q1YAr71rdJc/xbrIpbBAiNfoMp5nwsLIxlU35kWD1E f+5CvTd66Pov5SagFV6OfMca1jg0dA+uLB9H5R4D7SJwajZBp7SqiYpgWtlyjY/R357E m0GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=OaUwELqsVQt9AxbcgLgdQhwL5XHLBmI70FYveScDdGk=; b=kp4645sbn29QxX4BFLpWRCU9GrLTkD7315Fp1A8DzFqFX8loqB92NBjn9o1qdGCjqZ 2xRBk8adSqQGL7GNt5cwDjoWugmpuZHExuL0kajduhSFPHWHhwlGbBCDmVIbunFYpXd7 kJ4+JmsYFFUFHAhBe5CuJh+2BUyeRGLnidLeEniHufZ6qL3hLiLONIbHAY0E+HlmFX/V C2hO6iTrDZC/CjIcnl9Y/c7w5WwyjwIoqJCaUBBVvntlVLti7CzAOVpSmEsOSgKjFdZF h7acVc0anJxCv0tWbKye/bXTXk+qu3twMCe/7Wj7oPPnVFgS8WghgRULYQl4Q1fpbfDf TIqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=awZmE6BO; 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 k25si2376337ejk.10.2020.10.29.09.20.39; Thu, 29 Oct 2020 09:21:03 -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=awZmE6BO; 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 S1726414AbgJ2QSk (ORCPT + 99 others); Thu, 29 Oct 2020 12:18:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725910AbgJ2QSk (ORCPT ); Thu, 29 Oct 2020 12:18:40 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6BDEC0613CF for ; Thu, 29 Oct 2020 09:18:39 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id c21so3779377ljj.0 for ; Thu, 29 Oct 2020 09:18:39 -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=OaUwELqsVQt9AxbcgLgdQhwL5XHLBmI70FYveScDdGk=; b=awZmE6BOJyvX8oSchdT2OXXoJNo8nAcYfsYExvMPSIQdyjDlecCpGPTPEhMHY8BLgh gtR1a70EtgjfyWQTzLyYrBJjJzKhWS29dYrA52S5v36AwRmwHIif1G9ToYk4mgglyya2 QjPosLo/exdaTsxgiw8kLShu7eqeFQs7yW1kM= 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=OaUwELqsVQt9AxbcgLgdQhwL5XHLBmI70FYveScDdGk=; b=PLTEIlB4UaW+BbhbkkO0rzyNk+kvyldSrLMoiOSSuwf3HqZvH3F/ZApuykPYKqNe7A Mrj/gd9ShHtOzPaTwFJIlqqacRgBIjSixOqcAl0VLYakwhh5dgSQjBnWL0UYXbUiHCjh +vzLMKk7jHEYGGGVXkC/OBGG1t6OhX3Ozb9zPXPwMyXgNgbL3mWN6SaOdeefFOunft3h gA7Ar2b9Bi4BHR26hoBN4gTU2LtGTrNqOg3O1irUh2Xpzmanz4OpjnLfbj4ylWFT6Jof NU5jaBpJjCwoA8mk0NfzpJeJCNyCjKQDbktZJlh8Bjat3n/dzQcE83gKSnBraxuAMlYO KA/A== X-Gm-Message-State: AOAM530h5SvDCJeLc5/0GEt75evdqQoHJAa6xxbZwMI1x8iwKRlY9BpO G8UPOenxAYaJo0O3wCMvwnk3YFpOldbxkg== X-Received: by 2002:a2e:b888:: with SMTP id r8mr2114725ljp.138.1603988318100; Thu, 29 Oct 2020 09:18:38 -0700 (PDT) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com. [209.85.208.181]) by smtp.gmail.com with ESMTPSA id j19sm90853lfm.97.2020.10.29.09.18.37 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Oct 2020 09:18:37 -0700 (PDT) Received: by mail-lj1-f181.google.com with SMTP id m20so3739104ljj.5 for ; Thu, 29 Oct 2020 09:18:37 -0700 (PDT) X-Received: by 2002:a2e:85c4:: with SMTP id h4mr2058074ljj.250.1603988316744; Thu, 29 Oct 2020 09:18:36 -0700 (PDT) MIME-Version: 1.0 References: <20201029002827.1729915-1-evgreen@chromium.org> <20201028172737.v3.3.Ibb3eedcd634298b039e3af2ec43c7860ae947916@changeid> In-Reply-To: From: Evan Green Date: Thu, 29 Oct 2020 09:17:59 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 3/4] nvmem: core: Add support for keepout regions To: Srinivas Kandagatla Cc: Rob Herring , Bjorn Andersson , Douglas Anderson , Stephen Boyd , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 29, 2020 at 5:08 AM Srinivas Kandagatla wrote: > > Thanks Evan for doing this, > > On 29/10/2020 00:28, Evan Green wrote: > > Introduce support into the nvmem core for arrays of register ranges > > that should not result in actual device access. For these regions a > > constant byte (repeated) is returned instead on read, and writes are > > quietly ignored and returned as successful. > > > > This is useful for instance if certain efuse regions are protected > > from access by Linux because they contain secret info to another part > > of the system (like an integrated modem). > > > > Signed-off-by: Evan Green > > Overall the patch looks good for me. > I have applied just this patch for more testing in next! > > I can pick up 1/4 and 4/4 once Rob's Ack/Reviews the patch! Thank you, Srini! -Evan