Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3191446pxb; Tue, 13 Apr 2021 22:24:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxWZIfBcBiNCDkGu6FHpGlWAsdO2XexBYbKHmtyTY4VGqUhSvVykZl2sxbsCLSRxA/lw+k X-Received: by 2002:a17:906:c01a:: with SMTP id e26mr6801951ejz.300.1618377876377; Tue, 13 Apr 2021 22:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618377876; cv=none; d=google.com; s=arc-20160816; b=0iJTzrbHtaUrT7nbpAewYPXGeAgWztRjlJW1RCzytQucRbRAeXaC8cp5HMCBPeFqIa /a9+nbf6bC2VTf8vnfI7aS3whBgBHXvSrwShnD96uxImAiqcEKKbjsEaeFGN5rdWFjX3 SgfvgnTyJwl4ob3ztikTzvgaUboz35jDC4ogBeBBhIgimmq26XZbxq/qnI85kJsHvJ/Z gVCOv3p4ewwS0+zY9c1xCCQ5d4crcyoWri/XK/yajObCp8TTgGiuZNkFv1IYppjlNJjd 9acRDrqdeTAvGT3VJ9Qij9yR5UGJs1lwGOB+DFbJlTQOdQNcBGKMegFn0LLYlL64vvv1 AEOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject:dkim-signature; bh=KoiDK2KidPgCteZ/uBTBPBdbjAxSy9tKGfetUPIXR1M=; b=q4FwlP5YDdJHfrV3bGHEx03PqlQ1nfJzjNx4r7+dV6NoeT1kVeFArfZAFPjSy0yPXT Lou/PalSTQYV+cZrN2rt+/STdBBiE5AAPtg7BfopUraypSeiWoUX45uj8cLaITK3QsMT lYxcDbZQJnVsX4QbYpF4tJPnxo0dzrfRbhMzDDOo2WK58ZIHIPh/0jlIk3BsuPwFx+c4 iDJIegFammcv27JR9NymRGCWoCzIBSk9lLhVnhTYi8GugMAaIj4RYEAW9e8hn/Yh4rWt mkfULOkqQjWCNTwVKjmFlkqzyTdA8EvrsYasJ7qOMU+znidqyeA2Db25x/1rD1f9M07g wjZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Za8qvdQ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lr6si12814938ejb.9.2021.04.13.22.24.13; Tue, 13 Apr 2021 22:24:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Za8qvdQ5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1345172AbhDMSLQ (ORCPT + 99 others); Tue, 13 Apr 2021 14:11:16 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:47938 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232787AbhDMSLO (ORCPT ); Tue, 13 Apr 2021 14:11:14 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 13DIAiJe052808; Tue, 13 Apr 2021 13:10:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1618337444; bh=KoiDK2KidPgCteZ/uBTBPBdbjAxSy9tKGfetUPIXR1M=; h=Subject:From:To:CC:References:Date:In-Reply-To; b=Za8qvdQ5/KBaFQVxpiBcb72084jvMh6zqgk9AHfA987QcYzOiT2rfsoU93IEovrps DGRXUJTVYYTqK4ed6UqrUMybf9IBRJfIdnNQ7IECRbwTNlv3G0NzlKELE7rdOYdoii yuMxWkKZXXaNvb2anGpI5xB7bgkO0ipBOV9DkDTA= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 13DIAi0L052195 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 13 Apr 2021 13:10:44 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 13 Apr 2021 13:10:44 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Tue, 13 Apr 2021 13:10:44 -0500 Received: from [10.250.68.143] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 13DIAh0j055635; Tue, 13 Apr 2021 13:10:43 -0500 Subject: Re: [PATCH v2 0/3] PRU firmware event/interrupt mapping fixes From: Suman Anna To: Bjorn Andersson , Mathieu Poirier CC: Grzegorz Jaszczyk , Jan Kiszka , Vignesh Raghavendra , Lokesh Vutla , , , , References: <20210407155641.5501-1-s-anna@ti.com> Message-ID: <52942a19-c0f8-c376-9103-2e5020c49c3a@ti.com> Date: Tue, 13 Apr 2021 13:10:43 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210407155641.5501-1-s-anna@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, On 4/7/21 10:56 AM, Suman Anna wrote: > Hi All, > > The following is a minor revised version of the series [1] that includes fixes > for various different issues associated with the PRU firmware event/interrupt > mapping configuration logic. Please see the v1 cover-letter [1] for additional > details. > > There are currently no in-kernel dts nodes yet in mainline kernel (first > nodes will appear in v5.13-rc1) so these can be picked up for either v5.13 > merge window or the current -rc cycle. > > Changes in v2: > - Picked up Reviewed-by tags on Patches 1 and 2 > - Revised Patch 3 to address additional error cleanup paths as > pointed out by Mathieu. All patches are reviewed now, so can you please pick these up for the next merge window if not already in your queue. regards Suman > > regards > Suman > > [1] https://patchwork.kernel.org/project/linux-remoteproc/cover/20210323223839.17464-1-s-anna@ti.com/ > > Suman Anna (3): > remoteproc: pru: Fixup interrupt-parent logic for fw events > remoteproc: pru: Fix wrong success return value for fw events > remoteproc: pru: Fix and cleanup firmware interrupt mapping logic > > drivers/remoteproc/pru_rproc.c | 41 ++++++++++++++++++++++++++-------- > 1 file changed, 32 insertions(+), 9 deletions(-) >