Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4606847rwb; Tue, 8 Aug 2023 10:52:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEagxDVpqDnnawhT0yX0vqi2fMz13uPQfebLU+985/rDqVJxrZ3DQbd6sO7AtmSUnFrIpad X-Received: by 2002:a17:902:cec2:b0:1bc:8c6c:217c with SMTP id d2-20020a170902cec200b001bc8c6c217cmr433321plg.15.1691517170166; Tue, 08 Aug 2023 10:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691517170; cv=none; d=google.com; s=arc-20160816; b=t+bx9LPOpo5GE6uPVhwDb4b+YGYKSZQKE4W0ndwKF33LSa4zfc7rEUQmoEeQVxR6dn fJ1Q/un1GKYPHkz8C0zEK+3yY2L6ZNaKuEIVotXG3o7pLQjsM3M2WirOlX24K0QHRLsf WL2EuPnfpbGkhWTscAGwZrpJ4nuJapeqhQ52OKBLFzVpB4vBsvOemsK8bScg2DJvuYxd 23y6LhuHBgf9TtjHoR7vBX1ROe5T8G6bSUPl7r8HNVjr2P8oENfGFVQUpHJiBqKC+Hxf gPVgbgUBm9yp5R1Jx2FBEz+6B5nXi1EsPetNT8knW+IcD/wVFy0wBarMZpuHrlmFCvdv Z/jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=nUpsYfRlwTK66Cbczjo0J+0DAcGJ+e7VyMZ9U21DaGA=; fh=CUSSYUkrJNjZhyXHBXXkj8JI0rQ4ZSxyRNtJyh/dBic=; b=Di497sjY7c9TeezTZEJICknejNQzb2+b3W8ZCX1mJONqEasb9HsI3Er/ynqLO/taxV b7TMHLNwcsBp2XsOzyKXSBx7fMWmQPrKSMvTvx2ScGeh5CIY7dKaNFHw5umGqVPdgY0t OdfcUZJvXyuOj9BDTeThuFhF5gOJQm9Or1OgzfcgKh6hQDKHMMn+T3KUWa0+h8iI82tq QVWl8Ms0Hxr7emJAfSJRNByPrEanQY13CMej/xEqO2jGWm/YitUwt2DPguKWQaz0Ujkx 6JtXcCsQcRTMcQkqYhF3IU24Di7hwa0WV3tbeN+4BywX+0aGHXhG+t6nqHcoLM+Z84BP R0uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=l4vjFrus; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q18-20020a17090311d200b001a6f0eab385si7866357plh.55.2023.08.08.10.52.37; Tue, 08 Aug 2023 10:52:50 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=l4vjFrus; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234338AbjHHRRp (ORCPT + 99 others); Tue, 8 Aug 2023 13:17:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234389AbjHHRRI (ORCPT ); Tue, 8 Aug 2023 13:17:08 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EBB8B71F27; Tue, 8 Aug 2023 09:07:00 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 378CPU0g010517; Tue, 8 Aug 2023 07:25:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1691497530; bh=nUpsYfRlwTK66Cbczjo0J+0DAcGJ+e7VyMZ9U21DaGA=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=l4vjFrusoQBw6tu2thnaTH9B6Hanl0+3l2k0uxERS+JxTn/UlQ/hdnbl0s1I9lQUF QtgYBpjLQVhq1uumQnXrc2dR134Lz28kEwZS8h1TpsKIqHga8u0IMrMII9Whnj89X6 oz/54sB82cA/GN9+F4mKBkJUrnaOt6MuQvrjLb7g= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 378CPUgC059124 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 Aug 2023 07:25:30 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 8 Aug 2023 07:25:29 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 8 Aug 2023 07:25:29 -0500 Received: from [10.249.48.175] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 378CPTm1095997; Tue, 8 Aug 2023 07:25:29 -0500 Message-ID: Date: Tue, 8 Aug 2023 07:25:29 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] remoteproc: core: Honor device tree /alias entries when assigning IDs Content-Language: en-US To: Nishanth Menon , Mathieu Poirier , Bjorn Andersson CC: , , , Robert Nelson , Kevin Cahalan References: <20230807140247.956255-1-nm@ti.com> From: Hari Nagalla In-Reply-To: <20230807140247.956255-1-nm@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,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 On 8/7/23 09:02, Nishanth Menon wrote: > Assign remoteproc device IDs based on device tree /aliases entries if > present, falling back to the existing numbering scheme if there is no > /aliases entry (which includes when the system isn't booted using DT) > or a numbering conflict. If the alias node is not present, the driver > behaves as before. > > Cc: Robert Nelson > Reported-by: Kevin Cahalan > Signed-off-by: Nishanth Menon > --- Reviewed-by: Hari Nagalla