Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2265993rdb; Fri, 8 Dec 2023 03:22:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVv6cQyyyGqgunbu7jXxiz8iF1pMPVdiUoV72noF07DSV66Mq6dO7DGPpMA8K/+sgBuBa2 X-Received: by 2002:a17:90b:1291:b0:286:a1be:c4e with SMTP id fw17-20020a17090b129100b00286a1be0c4emr3645278pjb.9.1702034529529; Fri, 08 Dec 2023 03:22:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702034529; cv=none; d=google.com; s=arc-20160816; b=AH4HpCVw79dMBAC1krIlW+I1+QGj7Sfsx6kDURnIKa7FsAJ67XfuWgVeBKYB0X2Q+g HVWBu8fwtCSa+CgSfAqnS8U/Sm2WJicPfYypNQ4VrNjjmCU9ELPl176VfGbBDqn+IFwU RAqEOIc+Y8VPevdjm87eOpuAeiMz3v3bVf/Zh2AmPRjkfJDle/85nE31s3CZhYN/4KvM ceqgDSWA4DOy1/pARhgsq0zx8/YNnYyvWbPSU8+REWX5PCY5Lcy40SZD9Asu/zVqzbRW TEJaLxuH/ezhNP+b2xmrL1+RbujZfAmNk7aLMzU7Qme/BE9rNnIg+TZgGguLN1LW4gxX wFZQ== 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=oLg0AisyamUAtVSfksyGAW5Md+GYqQaIkcHjjDZN0+M=; fh=8Zo1xwf1zq4x44cuRzVMeLuQXHCQPZkuUTz5kFpRJV4=; b=Z6enVHKiEtagmC0QEp/MxAjYkVC6iKXIi7s5W3tXwxiHZeDUvZvFP82TNYg260uGhf eUAuTpy9nlrgyQgkKrmiWAeywIWcnurBglekvFaqXlNlh7ka0iG6T9JVtnqGfDFSSDDa D6emKyvLtDLIHRYNGa03mfOX+8jpnOSIskcUTzFDdrGBI8CFZD4bsmTKjVBYgzJJbD1k xEipY+2Ab4QuvqmxtfkLlqDaiNvv4FsvxeFiHqz8llPipCHQLNYTaV5nljQhh21XNOJh XYQJ2eVkZyW56Rkeuw8btAtwiAVK68r+qwh1oCjYeZtH13+2QjU6zbzdRUzmoyajGupi t7NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JBo6OQEa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id h12-20020a17090aa88c00b002887ba08142si1525620pjq.137.2023.12.08.03.22.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 03:22:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JBo6OQEa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D35C38794382; Fri, 8 Dec 2023 03:22:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233328AbjLHLVw (ORCPT + 99 others); Fri, 8 Dec 2023 06:21:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233365AbjLHLVu (ORCPT ); Fri, 8 Dec 2023 06:21:50 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0AD110CF; Fri, 8 Dec 2023 03:21:52 -0800 (PST) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B8BLh2e002284; Fri, 8 Dec 2023 05:21:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702034503; bh=oLg0AisyamUAtVSfksyGAW5Md+GYqQaIkcHjjDZN0+M=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=JBo6OQEaEjo4IiHFUd8QMeejBINXQLmQfVF8diQajDCYn8bBY/vkw5b6xry6uqAmB /4xKovFzdv8OPaPiW6Aukip5ZvsgHoTaj5Bnosqe0Kefv6VRoKTLJM4+lFQq+RC9A/ e74XqpXBO4g5ECzxGFxNdEkHuQeF177X2DAh+Zec= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B8BLgs7015127 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 8 Dec 2023 05:21:43 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 8 Dec 2023 05:21:42 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE107.ent.ti.com (157.170.170.37) 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; Fri, 8 Dec 2023 05:21:42 -0600 Received: from [10.249.48.175] ([10.249.48.175]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B8BLgjq055436; Fri, 8 Dec 2023 05:21:42 -0600 Message-ID: Date: Fri, 8 Dec 2023 05:21:42 -0600 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 v3 3/5] remoteproc: k3-r5: Add support for IPC-only mode for all R5Fs Content-Language: en-US To: Jan Kiszka , Mathieu Poirier CC: Suman Anna , Bjorn Andersson , Praneeth Bajjuri , , , , Nishanth Menon , "Su, Bao Cheng (RC-CN DF FA R&D)" References: <20220213201246.25952-1-s-anna@ti.com> <20220213201246.25952-4-s-anna@ti.com> <106f3a36-16d8-4272-ad7a-287e6a3acfb5@siemens.com> From: Hari Nagalla In-Reply-To: <106f3a36-16d8-4272-ad7a-287e6a3acfb5@siemens.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.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email 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]); Fri, 08 Dec 2023 03:22:07 -0800 (PST) On 11/2/23 11:43, Jan Kiszka wrote: >>> RTI1 watchdog also powers up R5F core 1. And this could happen either in >> When writing "... also powers up...", other than R5F core 1, what else is being >> powered? > Would be a question for the SoC vendor - I assumed that only mcu_rti1 > [1] goes on when enabling it. But also mcu_r5fss0_core1 is enabled after > that, at least according to the respective TI-SCI query that the is_on > handler is performing. I've tested that under Linux and in U-Boot. > As described in section 12.5.2.1 of AM64x TRM (https://www.ti.com/lit/pdf/SPRUIM2) -There is a RTI for each CPU core. And it is not intended to be use RTI provisioned for a particular CPU core with a different core. And also as shown in section (5.2.2.2.1.3.1) the CPU core and corresponding RTI share the same power sub module (LPSC), so enabling one powers on the other. As Suman suggested, it seems more appropriate to enable the RTI watchdog timers in the remoteproc driver. Legacy omap remoteproc drivers have this support and needs to be extended to k3 remoteproc drivers. Another option could be to DEFER RTI probe until corresponding remoteproc driver is probed. Any other solutions to maintain this order of enabling remote core and the corresponding RTI/WDT?