Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp178257yba; Tue, 23 Apr 2019 22:21:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0hluD5q2Z9VLkkxMOovlhEz7IMriU6qjNmTnnNjIKjaaTdzc1rc7dlXG5/wfzjD7P5OW6 X-Received: by 2002:a63:1055:: with SMTP id 21mr10064610pgq.200.1556083265641; Tue, 23 Apr 2019 22:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556083265; cv=none; d=google.com; s=arc-20160816; b=fkOUg7FZ4K6RGkUw82L3GILHNPkF0LoEh9I6hzm8D4GO7trfbu4r1M5k8Xne8sO6EJ N4dUHw/bYIL14lrXGFGg12D0NrhFgZa0OY6R+rcuuURgEtm8wjHaM8l94nqEMSM662O9 CVJeY2X6EMsSoMOI2xnYrH4thfEOeB31Byjlt7mrEedCUBi1fm9YDC/YspTfxKJ4mtKt PLtarIdSsYKr8YCFAlB6bAHAznJIoCZ6KIoyfTUw+cptLqdjZm1TJEqbO56Ob7suOjU+ 5/V+0UG/ON46xNM9uhkZHY5iFfyj6PzoCu3VCUFrV48cbV0WTeGCTQIwoamp2JGTwRPC sv6g== 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:references:cc:to:from:subject:dmarc-filter :dkim-signature:dkim-signature; bh=iKRsZ4HHln9obCqyJsP425XFHtOrcntk8fKaFdUtTro=; b=yGMUNWQeFyP5wVkfUvTKi8DnGW1mY1uk2h6htD6EKhU7BMaERHnjgGD/EgwW6DdyPw 2KjGvkwc1rhCZeJ4b/IIzh6gUE/G637jkKHyDyj4oJVT4WI3l2XjArgdsoll4yyVFleJ 3n+jpft209bJ+Ifyj7PQtxVw0A7ExXKywXzYUXZT6zmvkTSSIew1DmYodELdMAJ03H+3 0YyQJOA5tGWtXxzw9ZAeD41zTariEMwW+2KckuHnuDJtIejSzJhN0G6DX2i70e/xbiOT lAW6jddfiP6q09CGXCT9lHxow6tLtzEGCILrV4ZTlGSXBM+IhF3lFUWfar+EAAQyW3P2 y3Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Fu0+ouaI; dkim=pass header.i=@codeaurora.org header.s=default header.b=Fu0+ouaI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a9si18049811pfc.46.2019.04.23.22.20.50; Tue, 23 Apr 2019 22:21:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Fu0+ouaI; dkim=pass header.i=@codeaurora.org header.s=default header.b=Fu0+ouaI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726470AbfDXFT7 (ORCPT + 99 others); Wed, 24 Apr 2019 01:19:59 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:55192 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbfDXFT7 (ORCPT ); Wed, 24 Apr 2019 01:19:59 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A8AEC60595; Wed, 24 Apr 2019 05:19:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1556083197; bh=zME25W7paQVjThAQm+cy1SXzlW2OlpHZ3PZ3PnN6pGk=; h=Subject:From:To:Cc:References:Date:In-Reply-To:From; b=Fu0+ouaI36bGheCihKy7nOl5G6nHTDC+oTNks2TyzX1HnQUl5+fcnefTr3uiLpaby x0H0rsz3+Cs9im7Ba6UHoqhSHE3/X6a/EMGixXhGaaml+JA8RNkiRFixxdLkdEFTpd hw5spCnOKkkdzkf9WAXQArvwzxFxJkzqI6PJG3IE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.204.78.109] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: gkohli@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 192E66053D; Wed, 24 Apr 2019 05:19:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1556083197; bh=zME25W7paQVjThAQm+cy1SXzlW2OlpHZ3PZ3PnN6pGk=; h=Subject:From:To:Cc:References:Date:In-Reply-To:From; b=Fu0+ouaI36bGheCihKy7nOl5G6nHTDC+oTNks2TyzX1HnQUl5+fcnefTr3uiLpaby x0H0rsz3+Cs9im7Ba6UHoqhSHE3/X6a/EMGixXhGaaml+JA8RNkiRFixxdLkdEFTpd hw5spCnOKkkdzkf9WAXQArvwzxFxJkzqI6PJG3IE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 192E66053D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=gkohli@codeaurora.org Subject: Re: [PATCH v2] nvmem: core: add NVMEM_SYSFS Kconfig From: Gaurav Kohli To: Mika Westerberg , Srinivas Kandagatla , gregkh@linuxfoundation.org Cc: maxime.ripard@bootlin.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190416095924.17428-1-srinivas.kandagatla@linaro.org> <20190416110144.GS2654@lahna.fi.intel.com> <06b77a2d-a675-965d-224f-14ad8d9df106@codeaurora.org> Message-ID: <53011190-c0b7-a1de-c434-a7978975c5a1@codeaurora.org> Date: Wed, 24 Apr 2019 10:49:52 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <06b77a2d-a675-965d-224f-14ad8d9df106@codeaurora.org> 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 Hi , Sorry for spam, when is the plan to merge this patch. Regards Gaurav On 4/16/2019 4:45 PM, Gaurav Kohli wrote: > Hi , > > I have reviewed and tested for both enabled and disabled and working as > expected. > > Please feel free to add: > > Reviewed-by: Gaurav Kohli > Tested-by: Gaurav Kohli > > Regards > Gaurav > On 4/16/2019 4:31 PM, Mika Westerberg wrote: >> On Tue, Apr 16, 2019 at 10:59:24AM +0100, Srinivas Kandagatla wrote: >>> Many nvmem providers are not very keen on having default sysfs >>> nvmem entry, as most of the usecases for them are inside kernel >>> itself. And in some cases read/writes to some areas in nvmem are >>> restricted and trapped at secure monitor level, so accessing them >>> from userspace would result in board reboots. >>> >>> This patch adds new NVMEM_SYSFS Kconfig to make binary sysfs entry >>> an optional one. This provision will give more flexibility to users. >>> This patch also moves existing sysfs code to a new file so that its >>> not compiled in when its not really required. >>> >>> Signed-off-by: Srinivas Kandagatla >> >> Reviewed-by: Mika Westerberg >> > -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.