From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2C77C4332F for ; Wed, 12 Oct 2022 20:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=W0wYW2FHOID6WwHwyg5o9xlB/w2hRaEr8XzEB3/RIEQ=; b=2cCvAfwJFRZsSp 0N8VlagLtmSumw3RNRm0x+apaHZlnWtyEUYimpS/B2CV4XJnpDrByAOcnZZNXYPQKL4VOrGszf+5X BI5/4Yc9fbLkV//p8KvdNU27dFmx5MqUuuCwrINHqMcYHFk+z3Z2hMZG08MMHCqW2GtjYet/l4YKR 168NNqzIaSFOWbxeLGFHLZFXHKDOW0CYk5zkglMlnr3SCMRLU2y+uEmkfDY3Gblc7xWd74vGhuSG2 PHVRXMp4Q0leCX9lkom4n5/bDoIkJvlDSKW89THoLfto9gI3k1QDb/p270Yd4yOtN2pwsfr0bfMLN ibPeYeZ/4u1x/MeKJIYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiibF-009JXX-MH; Wed, 12 Oct 2022 20:45:09 +0000 Received: from mga06b.intel.com ([134.134.136.31] helo=mga06.intel.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oiibC-009JWF-Jb for linux-arm-kernel@lists.infradead.org; Wed, 12 Oct 2022 20:45:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665607506; x=1697143506; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=eJJh0s3iMgt2kMH+jx8omA4PulLj6HDFZDLgshKql8s=; b=lFx1SBNeqyjZ7v8/BRW0q2RtKxfs0dTwgqGHJnn2VVlVJuSWRyCVoPGG 8R9vdENQAGaCsHxbqaQ8Dfb63pXKvPE8eUlkBjhAOtTBKsYeRMVceYvTJ /G9N47ACk78amCNohSaCL7w2xHFSnIjTL+vbgM8Phwp0nPxf0efncV0kS Cyk2+dXHYAuK01r/YODRNb3+Fle3q7jsM3VqVgARUuVLUPYzxIVZSrF5N RGlaSmhERgt9FaAiyaTl+t2efwff0jXMPrDyb+B0Hm06BB40e5V/SYqN3 /ZdmmOsTsuPRNWEabbPzA2wG0k+rCJdbhzgskJrnkxY6Vyn21vGb9ff0e Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10498"; a="366904219" X-IronPort-AV: E=Sophos;i="5.95,180,1661842800"; d="scan'208";a="366904219" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2022 13:45:01 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10498"; a="604697827" X-IronPort-AV: E=Sophos;i="5.95,180,1661842800"; d="scan'208";a="604697827" Received: from agluck-desk3.sc.intel.com ([172.25.222.78]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2022 13:45:01 -0700 Date: Wed, 12 Oct 2022 13:44:59 -0700 From: Tony Luck To: Borislav Petkov Cc: Serge Semin , Serge Semin , Michal Simek , Mauro Carvalho Chehab , James Morse , Robert Richter , Alexey Malahov , Michail Ivanov , Pavel Parkhomenko , Punnaiah Choudary Kalluri , Manish Narani , Dinh Nguyen , Rob Herring , Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND v3 13/17] EDAC/mc: Add MC unique index allocation procedure Message-ID: References: <20220929232712.12202-1-Sergey.Semin@baikalelectronics.ru> <20220929232712.12202-14-Sergey.Semin@baikalelectronics.ru> <20221012200154.7fq3i7igbgkcy2mx@mobilestation> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221012_134506_693380_C665E9F4 X-CRM114-Status: GOOD ( 10.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Oct 12, 2022 at 10:33:35PM +0200, Borislav Petkov wrote: > On Wed, Oct 12, 2022 at 11:01:54PM +0300, Serge Semin wrote: > "A new special MC index is introduced here. It's defined by the > EDAC_AUTO_MC_NUM macro with a value specifically chosen as the least > probable value used for the real MC index. In case if the EDAC_AUTO_MC_NUM > index is specified by the EDAC LLDD, the MC index will be either retrieved > from the MC device OF-node alias index ("mc[:number:]") or automatically > generated as the next-free MC index found by the ID allocation procedure." Just curious.If I have an EDAC driver using EDAC_AUTO_MC_NUM, and I unload and reload the driver a bunch of times. Do I get the same memory controller numbers each reload, or get an ever increasing set each time? -Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel