Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2811511pxy; Tue, 3 Aug 2021 16:15:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybf9zI+GwGbi7lYUJW0d3uD9LbC46x8xm/brR8rGGTq4tLUXStsgmju5niymtCYKZyCZ5R X-Received: by 2002:a17:907:1c08:: with SMTP id nc8mr23347906ejc.514.1628032510694; Tue, 03 Aug 2021 16:15:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628032510; cv=none; d=google.com; s=arc-20160816; b=KVjihIQYSR78i5aTO7M94G7SSzR42hGMhwAaXa8jwCRIQZjV7tbmEdvdIRyS/vwpwx lTVlmuvibtObuacbxHCVFeBx9lRRaz47GNnXUWH3gwDLolRYDziw1tf1HG8BW8d4GtJA GyaEmDgL7780TYOoFJh3m05QtF1mcKBwAyCnrMMtgyeBcx+2pOwcYdw4kWIZjSuXkL50 s6jVfqcTuoyMqGF6T/eVutPXTTlj9ZVTYHHIi8wLNm23NM+VZJe7OJtWzbjjCdEfA0Ba vdSDAyw030nggVa08KUt+bO1sfM3VN4onBtgkWlrPSkPKfHe+LsXW8os9Tv0l8On5aE7 VD4w== 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=i+DGuoeLoChs6Ei4AJ031ih+E+zcev4zRO6x+z1vz+s=; b=xxmQWo7t7el7zq/y7sH5Kq8m1qjbnq2kiquLHnBXwIoH1VSkVk8iqWkk0QliuM7osy XJ02dDVS/RZu+sIDprBKqx1HlFRXNUv/zQSTv2Dq4YM5B90ZbByYRRnbA4Q7bTWFVhhS 0aBQkfe6I+QG/WXK90CPDaMWYn9Ei1PaRgykr3YTqNK5zZBdVw+6p0bZ9s4HKa4q6cx1 As0lD6qL17XHIual5na5oKHHLGEFKPP9f56VsyPVKEZdXdhJBxbieFAQcaolWg/VS8EM 2g5NPIsYHDcfZvqWPF9yCin/IetYa+JeV3zuWkkWF9jcJZH1OXmcgeZzLFa0HIB5l3h3 wN+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tgrVhS0x; 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 gg11si196249ejb.41.2021.08.03.16.14.46; Tue, 03 Aug 2021 16:15:10 -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=tgrVhS0x; 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 S233190AbhHCXM5 (ORCPT + 99 others); Tue, 3 Aug 2021 19:12:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232864AbhHCXM4 (ORCPT ); Tue, 3 Aug 2021 19:12:56 -0400 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 860C7C061764 for ; Tue, 3 Aug 2021 16:12:44 -0700 (PDT) Received: by mail-oi1-x22d.google.com with SMTP id w6so692778oiv.11 for ; Tue, 03 Aug 2021 16:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=i+DGuoeLoChs6Ei4AJ031ih+E+zcev4zRO6x+z1vz+s=; b=tgrVhS0xsGM0woAKFLMfnMFTciJ1Rc6vsLIQyP/i2i8ArCp0ErwmvRnIh5IaCpVlVT de6ZVG4jUMWYikAZYeiPkbmPlV2DsOGvq7lZUJ/cnhqGCo4bUXEcWINETSM5w7fv7Hva meSj8az8RjT/s1kpdDIlaAiSnkSjO8AKAfP1EltllFdN/t4WHr4SCA0oVy31rtY3s0+V kQJB1KPg20T8AJ2dmOSmm6ilkk26gRow/9MByAqNm5NK8kFyfkBDFOqIfG7Uz9E3879/ 4zcK42u0y90EM4WwbBLdEpGe+F+chBSADThwzz8A/bEGNJrRef2ktx867M7jdQKxXcRn 0DGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=i+DGuoeLoChs6Ei4AJ031ih+E+zcev4zRO6x+z1vz+s=; b=jINtQRTIAiTBQzvCqOviPsF4zkDavNI/nRm6Wb2oP3R711FHLpZ5eiaCETEqty7Bsl tjzTYem7oer5a4Vd6rDyMkSio2dJtfufux39OE355EWNGMaWCalSIedHBJoQJXUsdnI8 j7UZgcVNCWoD23hBfFFB5SfMKtdSBeHBHfAVdQxtKg/Q9AF1meL6u25e1IAuwbiNwQxS bvBMSD5aCMZbdtA+Ip7/B4ZsLHf9RZVbtUuOfN1eK3syhxjBIUDWp5/ytsYu839kUEdv drQNvERIEtZZvLVreCcLnh78GI7ECLifC4epOarAaFAEno4MuvZ7cvDZvkht8T9LeV9C TCbg== X-Gm-Message-State: AOAM533ifZh8rIYudRrCL1FlMyXQAEphfR1vzwcT4SScH9PgZHKGRWod agTWvh1fTE388ssBi98BDwKsfw== X-Received: by 2002:a54:4107:: with SMTP id l7mr4759521oic.66.1628032363639; Tue, 03 Aug 2021 16:12:43 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id q187sm132746oif.2.2021.08.03.16.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Aug 2021 16:12:43 -0700 (PDT) Date: Tue, 3 Aug 2021 18:12:41 -0500 From: Bjorn Andersson To: Doug Anderson Cc: "Rafael J . Wysocki" , Niklas Cassel , Akhil P Oommen , linux-arm-msm , Ulf Hansson , Andy Gross , Niklas Cassel , LKML , Linux PM Subject: Re: [PATCH v2] PM: AVS: qcom-cpr: Use nvmem_cell_read_variable_le_u32() Message-ID: References: <20210521134437.v2.1.Id1c70158722750aec0673d60c12e46a9c66bbfed@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 23 Jul 18:05 CDT 2021, Doug Anderson wrote: > Rafael / Bjorn, > > On Fri, May 21, 2021 at 1:45 PM Douglas Anderson wrote: > > > > Let's delete the private function cpr_read_efuse() since it does the > > basically the same thing as the new API call > > nvmem_cell_read_variable_le_u32(). > > > > Differences between the new API call and the old private function: > > * less error printing (I assume this is OK). > > * will give an error if the value doesn't fit in 32-bits (the old code > > would have truncated silently). > > > > Signed-off-by: Douglas Anderson > > --- > > I haven't done any more than compile-test this. Mostly I'm just > > writing this patch because it helped provide inspiration for the > > general API function. > > > > Changes in v2: > > - Resending v1 as a singleton patch; dependency is merged in mainline. > > > > drivers/soc/qcom/cpr.c | 43 +++++------------------------------------- > > 1 file changed, 5 insertions(+), 38 deletions(-) > > Are either of you interested in landing this? I guess Rafael landed > most of the recent changes to this driver, but it used to be under the > 'power' directory. Now that it's under 'drivers/soc/qcom' maybe it > should go through Bjorn's tree? > Yes, it makes sense to pick it up through my tree, unfortunately I forgot about this move and ignored the patch in my queue based on the $subject. I've picked it up now. Regards, Bjorn