Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1487538ybk; Thu, 21 May 2020 08:03:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxw11/kFDRbCeHtfvpXAXsqd359xqFOifqg4TQRlUvYRiw2Bino3yAF4oB07Yjis6O9dbKX X-Received: by 2002:a05:6402:2c4:: with SMTP id b4mr8164736edx.331.1590073404024; Thu, 21 May 2020 08:03:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590073404; cv=none; d=google.com; s=arc-20160816; b=pKV9x/osaRqzmnsmvBETGB6c25qotSQ7oEvbG5+mqi46Das1aowxiLY5t+rFVseaIQ Usc9y/20+RmbpvjPH8eDyLJi+8K7Hg0PGtWecap0EDGqDFHaD+rkA/A45jWhgMzobrh/ bnTXP6A2MKl3Cpdk6DVhxZ8ORURWC0CE13owqDyaxnpiC/II4fXNM67UkWDJOpvxg3lD pzsbctOc2D9YAd6ki2jOBcyx+OUr1KYXuUcQScU6VO2XrjyQUaFEK+RqsXynefjw+NZ6 g7UrNwnZBm4sWfztYQHz8d5Aa+ljXSPh/ffT2ytayqjQQs/H4f27mt/MXuNkpQPL/x0w TJTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=xNvfr9ZomZgtb8diUDpjPmJt7SHH2ZapuyzSmsU3ahM=; b=UaAZ6WFwxIrziKpIO71JLTJeLpzYljJs0ECV2FK2kQtkF9ntqh0KQwz/Hn4qYTLmJg HnEw1m9RaxCJP77Gsh6eWPAcF2FcAUmK5M9SHqbKvUjs0Hz0vzkKKejNchXsHRCOTUD8 Bj11I9AMpyIyB0V/ZNGeqW8tvmyxzjDXfQD5Lh+ol5+z6FdTld6AxWR59MYFJVQksC1I 243eLHucEdsxuDUCeMIlpKNXfG26Xtu4EDUq1oOvGfJzlZP7uCCkCs2lpUW82YRp6gnT yulNYsdDkYV/tLi5q/WFNtdjR+DgTG8thKokglrGZpOoEJ0jvV023UHPjvz1u0gbdf5X i5qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MX1yXVd5; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f20si3544146ejj.84.2020.05.21.08.02.51; Thu, 21 May 2020 08:03:24 -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=@linaro.org header.s=google header.b=MX1yXVd5; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729871AbgEUPA7 (ORCPT + 99 others); Thu, 21 May 2020 11:00:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728162AbgEUPA6 (ORCPT ); Thu, 21 May 2020 11:00:58 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 492B7C061A0E for ; Thu, 21 May 2020 08:00:58 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id v19so35367wmj.0 for ; Thu, 21 May 2020 08:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=xNvfr9ZomZgtb8diUDpjPmJt7SHH2ZapuyzSmsU3ahM=; b=MX1yXVd5kaBMAOvpkaR5bzihkSli3j3X9/fMwylqRwRa7pPOQXVIyTlQ3xS97+Si0k tAeOU7BG/EtPUAp3rIJVrjxElKZWzVuIeN3tepUywI6hnZV5eGUyaI1e1XDzPqHTyy23 0XdcLWi/he7zy8Tb6K5KkJe9Cmd6CUiJ5zRxvdfdvVFoGEvdgIx5S/znVfAjNkQSNIda ScakjOv2AeJwIR/3hMD5blq7YIXNQWZlaInCDlEZ1o/QMA+YcNtUeQciFBWFWRz0ABj5 3r3zx/CI5jagmDnpUKToaelVfqLtbdPY1f9dLgKV3s4oxxW+Z3Dcuea5ICm5XO6tDHLw luoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xNvfr9ZomZgtb8diUDpjPmJt7SHH2ZapuyzSmsU3ahM=; b=NkGXlKqau2LgVKpKVTDeHV+ShCBtdjzDHasu0wt435q3LsATUWpzSjXjlLGwxFAlN9 TRa3mLT7JZQ5FNBOqT04i0pG6xo8MUdH19+a4tHq2rCm9PS8x+qomiQVPv6eqi05ChcC sWD37d+GYeFXZh6CI/rksalJjej/tx70ZuZ75t2plX9tDeNA9XMYXoSaXi3ZZogFgRie ayjJA9v+eZJnovyH5gMzrPH8FeGGZ+wjiWTDNyWtH6E+MlD2kW/8HoGBvUVCWEJGwdRP ENFpEFh8uCdUR8WsrwqEJ35Oyhau5+k065baJxfqZAvJLXldDXiK2Ys7t46IF5LqE3FC cv1g== X-Gm-Message-State: AOAM531LqNzvTbXyL7sFt3ItEnxWHLRAehPFffySAmhypyKAE+23BM5q H4s8PcXt4lUcYP7yPTlSqRlytQ== X-Received: by 2002:a1c:9cca:: with SMTP id f193mr9006659wme.71.1590073256943; Thu, 21 May 2020 08:00:56 -0700 (PDT) Received: from [192.168.86.34] (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.googlemail.com with ESMTPSA id 32sm7192512wrr.38.2020.05.21.08.00.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2020 08:00:55 -0700 (PDT) Subject: Re: [RFC v1 2/3] drivers: nvmem: Add driver for QTI qfprom-efuse support To: Doug Anderson Cc: "Ravi Kumar Bokka (Temp)" , Rob Herring , LKML , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rajendra Nayak , Sai Prakash Ranjan , dhavalp@codeaurora.org, mturney@codeaurora.org, sparate@codeaurora.org, c_rbokka@codeaurora.org, mkurumel@codeaurora.org References: <1589307480-27508-1-git-send-email-rbokka@codeaurora.org> <1589307480-27508-3-git-send-email-rbokka@codeaurora.org> <14e1fa51-066c-6e1b-01a4-2103612de9e9@codeaurora.org> <9864496c-b066-3fe8-5608-bd9af69663f4@linaro.org> From: Srinivas Kandagatla Message-ID: <99f07eaa-d072-f391-098e-e6f7a50a1960@linaro.org> Date: Thu, 21 May 2020 16:00:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/05/2020 23:48, Doug Anderson wrote: >> Is this only applicable for corrected address space? > I guess I was proposing a two dts-node / two drive approach here. > > dts node #1:just covers the memory range for accessing the FEC-corrected data > driver #1: read-only and reads the FEC-corrected data > > dts node #2: covers the memory range that's_not_ the FEC-corrected > memory range. > driver #2: read-write. reading reads uncorrected data > > Does that seem sane? I see your point but it does not make sense to have two node for same thing. Isn't the raw address space reads used to for blowing and checking the fuses if they are blown correctly or not and software usage of these fuses should only be done from correct address space? the read interface to user should be always from corrected address space and write interface should be to raw address space. --srini > >