Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp4000861rwp; Sat, 15 Jul 2023 14:09:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlFz3bUviiJytT5h8xS+xZV0CAChAwbG8n83VmOUsyIEgdC6xSGYn44oLLfdzuQ1EWOHjfLr X-Received: by 2002:a17:907:2ceb:b0:992:a9ba:b8da with SMTP id hz11-20020a1709072ceb00b00992a9bab8damr7398617ejc.70.1689455371692; Sat, 15 Jul 2023 14:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689455371; cv=none; d=google.com; s=arc-20160816; b=Ct6plfNA+7p3VHa+cOrSTMvn0WilRtWLqu3mCwK+zRM1cCy2nqTN28kusaUP0YWHVW l+VGf4CpUE96nvUW/AWNAgMO0Mm9/tJcI8RFOhWlNZ3HfcWDbMi5FHdmWum0toIABDNx o5vkHp4xdWIR5rtf4cO6EsWLU8LPJScvJBk/2cEb9yxqHBQRWysLzvxu2Qh7MvB2iNah 3d/J2LVxfEBS8qmOf76VlXilaY2lE4ld0di2ubagxziht8y8qL6AoCBY2mpDYYKdRBX8 Wtzj8qgrKxM6IukmFN8C0PQJnBxGEg5laFUo5hYH0pugzpJQ3ITPRHokcN8bkZevU1MB 6XbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5kspgr2lh5mzVClDoVKxjps+4D5mg0Jjz1goxjAUpyY=; fh=cnB/YlSM3TydbbM31yJQavjDcb2/u7KIFD6KF8e9ntA=; b=jnRr2sZpMdx1Qn2wjvvn/9Nf5DNEr7ABXXxWhDSqqoKIkqhldQFP8YjVi2KRPpZ9qr mF0+cFz4HoQ4kymB7F7kfxZ/x6vGZ0nj9zu43H5ZyTMAbOYbs+lOHDOrzG/UzEfbQXZu AnyYkmPHyQEKw5qJalJLSWVgol39ZJkRdVICKN7sclzmS4GV2/RKruGbcalbZl7MwLUf O2zoz2GdbZiCGy0gjkX1VkrXlkyBP58XRlo7WuIWGXO2USwl60omiDYjDB9tKLVWEx4D WKeFXbwLsaOiRc6HKDCq5vwiyKsTkR/92XeoBd22A/sVUCQtoOKIBVySSYtelBxqokU4 CpfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S+olWtyk; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk7-20020a170907766700b0098314b13e50si11133605ejc.466.2023.07.15.14.09.07; Sat, 15 Jul 2023 14:09:31 -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=@kernel.org header.s=k20201202 header.b=S+olWtyk; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230162AbjGOURd (ORCPT + 99 others); Sat, 15 Jul 2023 16:17:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjGOURb (ORCPT ); Sat, 15 Jul 2023 16:17:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26BFA271E; Sat, 15 Jul 2023 13:17:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9D31B60BA6; Sat, 15 Jul 2023 20:17:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E038C433C7; Sat, 15 Jul 2023 20:17:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689452249; bh=HPC1CiCJ3hA7X46XwWU5N8E/GTBSejDzt/BzCWJXaZM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=S+olWtykaoG5qNyT5SNceQKSe3jyuZz6Wl9Y5qvNqF9B8Fg5luagTU2zjmLmIC+mj RnEhc1pfsVk1w6XscLqMmw5H1BxuUbWlDuuDbe4rM4XhjBJNC6sjPWhwgfDTyvCW/0 4EhatFs4mpzaGoZMRmHpLpMVdIqLOOPJPlw6mrG2lLww7x6+FwtfIaFFRFxOzHx37E nLgTiavvyQi+bWb+o1fBp5r1/AGjrEzmeDR/Fg/irCgNm2Lqw8X/1HQCXkBW3WIpuh V2Dk55CWz3IICbU3RMhXOArdbW6AP0+7UXeXgzyrnVaIfXHFtPeFhiGqAp7yOP0VXS GH3lb8ps98N0w== Date: Sat, 15 Jul 2023 13:20:56 -0700 From: Bjorn Andersson To: Vignesh Viswanathan Cc: agross@kernel.org, konrad.dybcio@linaro.org, mathieu.poirier@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, quic_srichara@quicinc.com, quic_varada@quicinc.com, quic_kathirav@quicinc.com, quic_devipriy@quicinc.com, quic_sjaganat@quicinc.com Subject: Re: [PATCH] remoteproc: qcom: Add NOTIFY_FATAL event type to SSR subdevice Message-ID: References: <20230503062146.3891-1-quic_viswanat@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230503062146.3891-1-quic_viswanat@quicinc.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Wed, May 03, 2023 at 11:51:46AM +0530, Vignesh Viswanathan wrote: > Currently the SSR subdevice notifies the client driver on crash of the > rproc from the recovery workqueue using the BEFORE_SHUTDOWN event. > However the client driver might be interested to know that the device > has crashed immediately to pause any further transactions with the > rproc. This calls for an event to be sent to the driver in the IRQ > context as soon as the rproc crashes. > Please make your argumentation more concrete, I can only guess what client driver you're referring to. You can do this either by spelling out which actual problem you're solving, or better yet, include some patches in the series that actually uses this interface. Regards, Bjorn