Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1103018rwl; Wed, 12 Apr 2023 08:17:33 -0700 (PDT) X-Google-Smtp-Source: AKy350Y6X0EOfCqRXqO/lv1y9Io61BJ6Cixr+AMezb0t92y6A5pQwYitldJP0IsqdbNCAiFio+Ry X-Received: by 2002:aa7:9727:0:b0:633:b319:ead0 with SMTP id k7-20020aa79727000000b00633b319ead0mr15680963pfg.18.1681312653329; Wed, 12 Apr 2023 08:17:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681312653; cv=none; d=google.com; s=arc-20160816; b=xncZVscPN/nZD+39UU/z5FxNQZ1puqEBKknvLtaT4QlrvPUH8JajYcz/qnDlGc34rX vE3JwTi467zztT20cKm/PIob6YCKfJcLTJ5xPSZNUXBcIDOgpa+6W77L/IHf822HYDCf U7ld7i30bNn/LM6kx8WM/F/dcKAG6AtnqKtiuJaZMdDQj5fDbb+/w2C2v4oThbqPXY0g uZW5nC6474Hlq/oXS42XC0O8LBSjQCnt4Fa8OcFWclELSwvTxt2qL5KWorQBMFqOvxlz o7dXbG8D1tCRMk+s4HMnkWj1E6DCeOc5oT9c5gb7O+k34jjvz6zwt8CAvCjXkFmJsTJv 3i3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id; bh=BtAmpOqmtO5OkWF8LTVgq3P5K7LZHxrsQjAdieA5NTQ=; b=lEhwIDvjGwIEve3ntlv1pV0K6BIMJN43YC6WL3Yt7VvaEvRSS+7dTHDxvlUj3vzJXr GCWFhbFoBZO0RNYJncv3rkoIldZdL7TTdezypLGY1/FABLpVs8CLK/8POlEiChJKnVgE nzBtHFWLCPppwJ4w5rWJPLNuvKDjh02Sj+BwwdtD1EWSsN4VWSKguDOw13qaYarXQHTF Nyca/pKPxd3ltO+ElZw4ICw7djFgX1baBS8jflv03gLqi5QOcjL6DylcfiRQ32qZrw48 e2j4meukVCcKSHJ3cUBp+ZhDno/illwrkFubKWvn+enLw/diLSNlEZdCJKO/Kfg/Dzvt nmeg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a193-20020a621aca000000b0063aea82b7b9si4971906pfa.405.2023.04.12.08.17.20; Wed, 12 Apr 2023 08:17:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230368AbjDLPLB (ORCPT + 99 others); Wed, 12 Apr 2023 11:11:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbjDLPLA (ORCPT ); Wed, 12 Apr 2023 11:11:00 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F6EB4489 for ; Wed, 12 Apr 2023 08:10:58 -0700 (PDT) Received: from [192.168.1.141] ([37.4.248.58]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M9W78-1ph8T806Oi-005VRr; Wed, 12 Apr 2023 17:10:42 +0200 Message-ID: <43effe7f-9b2f-52d7-2570-decf2940a58c@i2se.com> Date: Wed, 12 Apr 2023 17:10:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH] nvmem: rmem: Make reserved region name unique To: "Ivan T. Ivanov" Cc: Srinivas Kandagatla , Nicolas Saenz Julienne , Florian Fainelli , linux-rpi-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230411135035.106725-1-iivanov@suse.de> <437e9983-55e9-3f9d-a94b-c746922973da@i2se.com> Content-Language: en-US From: Stefan Wahren In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:wFA49aUt4OPj9B6QbDO0GpAE8oTQiCgZyJUujdUy8rKBB7NJs5n qxgr1GDiJAPMZdGdFuNwIODwHArEM6tZ3F5QopcgS7LHlV7tu48mYkbNNOz9M/ZzZJNCidt xujfp/V+wewbP3fgkInsPIaLThGrSxa/2e2GKaCmMqikWe2koqwc50xsHrY7EpnJhvSDlp0 RPZJoV+qVgy2KGZ2VNsAg== UI-OutboundReport: notjunk:1;M01:P0:jG3XMF52aAY=;2fPXEN17VHdG97NxHprfroKXOI0 V9xDjcDIe9yJpTa410DBKZ1C0/Qp7b6uuKSfVXlohy1x0tx4ktVOsIklnkJosJZfxs9gUcsis +/M/ZiHswPZ2aa62wf4Ipxsfp3RVEwAjdwPQgPsPhXxhjxKTzot3JVW0r7UpOuIBvr/66b2/0 alEhenUg6PfFlrpubVWigLuNucnowos+tfZ4vuPznj1zia3YaUpXySmNA8SXU3R9MjxdgLTFM b16bAOHmPCEhWQwQvP0t46cgop80F3j9Z078awPdxMH+o4PIRWUSBN5SVTBe3WCDOkInve7/a g80Wi4uNaST/COLZ/+lJWk9wRoa3AxZxbs4tLNV5r0a3U5q9d/csxYprCDtDDBAmWIJj2fEIF lVJutDbeWQJiExw7wj0AEklKOr/hvOBFaR3ZDZkkFZI3a2WV2FspJb5zsm6ZjO+nb+fthabQT +3ou9+cOfFIqjC7sieQRD4WEjCmwN2ZPlb/QsSSEiZI9zGp1GcvX6oh9ZkYtRBh4tu2EUwj4F Xa/REri/WdKHMCHyt7qjnfWmL8Fuz0bJXWzAXK+ej70SkySPnYoR25J4pv7syVQhhIQy3Qydh Gw6npt5mvctHrWPMcLSkHaFt7h3mV+U5o+2cOUnr8lk67PjcsZ8+SHckNAe4ahRtPNX75gxX1 ksn787YFFz503AygufLyZoZzeBrw6Du2nujxvZH/kQ== X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 12.04.23 um 09:26 schrieb Ivan T. Ivanov: > Hi Stefan, > > On 04-11 18:53, Stefan Wahren wrote: >> >> Am 11.04.23 um 15:50 schrieb Ivan T. Ivanov: >>> They could be multiple reserved memory regions, >>> so let's make their names unique. >>> >>> This fixes following kernel error: >>> >>> [ 9.831285] sysfs: cannot create duplicate filename '/bus/nvmem/devices/rmem0' >> >> could you please provide more background information: >> >> - are two instances of rmem trying to create this file? >> - which exact platform is affect (Raspberry Pi 4), because the Hardware name >> from the trace is useless? >> - could you provide some reliable scenario/config to reproduce this issue? > > I was sure your will be asking. :-) > > I am using RPi4[0] for testing this. Device tree is based on sources > from here [1]. From this devicetree it is obvious what is happening. Thanks for clarifying. Unfortunately this file is not identical to the mainline file, so the issue can only be triggered with the vendor DTB? > > Unfortunately right now SUSE Bugzilla is under maintenance, so perhaps you > can't see the bug report [2]. In brief I am using latest Tumbleweed on this > device and you can imagine that error is happening always. > > Regards, > Ivan > > [0] Raspberry Pi 4 Model B Rev 1.1 > [1] https://github.com/raspberrypi/linux/blob/rpi-6.2.y/arch/arm/boot/dts/bcm2711-rpi.dtsi#L57 > [2] https://bugzilla.suse.com/show_bug.cgi?id=1206846