Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3849473rdb; Thu, 14 Sep 2023 04:52:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0xXZu1cEJEuEsKubN2u4U50CEAmHZx9gkLPNk4hlBnCX3IA5MIXzeKo6lckRM8kg1qf/+ X-Received: by 2002:a54:4794:0:b0:3a7:62ff:24c1 with SMTP id o20-20020a544794000000b003a762ff24c1mr5337821oic.46.1694692331835; Thu, 14 Sep 2023 04:52:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694692331; cv=none; d=google.com; s=arc-20160816; b=xQWrdbRfWY9IO+yqq84Wd7KbZRe5/40q0n0GwTjrwFHUPbPUdQkLggV83olZIpM9L+ 9fh6zUqzD70dCVCHtcXUXO9ZMUY1QV9TggpbxVFXsSRDh5eovDpNmy0f3WDMi6Fhn9Pp S9EAXVpnsYp88I9eJ3zHf09xvofF3yd1kBBCaI6OSaefcBxAGiMb0nWxnAOYAdy14rk3 jLb+JUHzezhTBobzUuHwpxhGHz1PlQMf3TTgCE0XIOeFp5pU+jCJi/hyMJ/sf4fYms6L U7/rT/NqDV0VRziyEDNCcgAWl/7GMEOekxbg/blTsowP/WRLV+LKvbhyNtLF+H8X9MQF zbhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version; bh=GOvj712XJBB67GK6D+g1iWngWhewDKhUNwVkAi+zCzU=; fh=/0XiW+9VUkzKeTF/OFTYr+sILOUKIF2htkD+HtqK9yM=; b=NyyCc06JGjUHtdzY0AdbWzWR6PNBRBPqGjpLqJ5uePL2aXSBti4/k7B305HqEaRhFs XtloM6kA1VifzV/7cNWzkcIKeQsgBYUi9Pa2iShlWUE/wbHtvNMl1Ve57/EoY3Y7UlCw h9Q4Fb7U/78ppn2/L4iCPxfaNUSQVHxhxdxuuXXJqUjg2P5GqRE6jxIFk70LTlommd19 IcIxredhxNZ74zNimVR8tjE+qtt/HbfZEtN4m/GVco7pLYVbiKOuSWpxKbPw39GpkCPv C1lIx+CA9y/UVpNGSYdksf+wu+7kJj74Bb0ulqt0Mhls+0wHJSOzK/EU7JMVvvwyy30S LWyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id b9-20020a056a000cc900b0068fc7ab1fd5si1510748pfv.269.2023.09.14.04.52.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 04:52:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id AABED8112988; Thu, 14 Sep 2023 04:42:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232494AbjINLmE (ORCPT + 99 others); Thu, 14 Sep 2023 07:42:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229992AbjINLmD (ORCPT ); Thu, 14 Sep 2023 07:42:03 -0400 X-Greylist: delayed 8386 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 14 Sep 2023 04:41:59 PDT Received: from 14.mo581.mail-out.ovh.net (14.mo581.mail-out.ovh.net [178.33.251.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C3CBCC3 for ; Thu, 14 Sep 2023 04:41:58 -0700 (PDT) Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.16.216]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id B04F425E05 for ; Thu, 14 Sep 2023 08:02:48 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-hwfnb (unknown [10.110.115.90]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 45B251FEA2; Thu, 14 Sep 2023 08:02:47 +0000 (UTC) Received: from RCM-web7.webmail.mail.ovh.net ([151.80.29.19]) by ghost-submission-6684bf9d7b-hwfnb with ESMTPSA id o3rgISe+AmVUCAAA7wW1ag (envelope-from ); Thu, 14 Sep 2023 08:02:47 +0000 MIME-Version: 1.0 Date: Thu, 14 Sep 2023 10:02:47 +0200 From: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= To: =?UTF-8?Q?Ar=C4=B1n=C3=A7_=C3=9CNAL?= Cc: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= , Srinivas Kandagatla , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Florian Fainelli , Scott Branden Subject: Re: [PATCH] nvmem: brcm_nvram: store a copy of NVRAM content In-Reply-To: <3f175090-4c5f-4821-9155-06c4868d0489@arinc9.com> References: <20230914064922.3986-1-zajec5@gmail.com> <3f175090-4c5f-4821-9155-06c4868d0489@arinc9.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: rafal@milecki.pl X-Originating-IP: 31.11.218.106 X-Webmail-UserID: rafal@milecki.pl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 13702201867296680943 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudeiledguddvhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggfffhvfevufgjfhgfkfigihgtgfesthekjhdttderjeenucfhrhhomheptfgrfhgrlhcuofhilhgvtghkihcuoehrrghfrghlsehmihhlvggtkhhirdhplheqnecuggftrfgrthhtvghrnhepgffhueeihfeitdettdehfefhieefffevkedvgeetteekteejtdeivddvhffgffffnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucfkphepuddvjedrtddrtddruddpfedurdduuddrvddukedruddtiedpudehuddrkedtrddvledrudelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeorhgrfhgrlhesmhhilhgvtghkihdrphhlqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 14 Sep 2023 04:42:02 -0700 (PDT) On 2023-09-14 09:56, Arınç ÜNAL wrote: > On 14.09.2023 09:49, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> This driver uses MMIO access for reading NVRAM from a flash device. >> Underneath there is a flash controller that reads data and provides >> mapping window. >> >> Using MMIO interface affects controller configuration and may break >> real >> controller driver. It was reported by multiple users of devices with >> NVRAM stored on NAND. >> >> Modify driver to read & cache all NVRAM content during init and use >> that >> copy to provide NVMEM data when requested. >> >> Link: >> https://lore.kernel.org/linux-mtd/CACna6rwf3_9QVjYcM+847biTX=K0EoWXuXcSMkJO1Vy_5vmVqA@mail.gmail.com/ >> Cc: Arınç ÜNAL >> Cc: Florian Fainelli >> Cc: Scott Branden >> Signed-off-by: Rafał Miłecki > > This is a bug fix, could you add a "Fixes" tag so it will be backported > to > stable releases? I suppose we could try: Fixes: 3fef9ed0627a ("nvmem: brcm_nvram: new driver exposing Broadcom's NVRAM") Srini: can you append it while applying if you find it OK? -- Rafał Miłecki