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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEE80C43464 for ; Mon, 21 Sep 2020 07:19:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A4F0B207DE for ; Mon, 21 Sep 2020 07:19:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726338AbgIUHTo (ORCPT ); Mon, 21 Sep 2020 03:19:44 -0400 Received: from mailout06.rmx.de ([94.199.90.92]:48852 "EHLO mailout06.rmx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726244AbgIUHTo (ORCPT ); Mon, 21 Sep 2020 03:19:44 -0400 Received: from kdin02.retarus.com (kdin02.dmz1.retloc [172.19.17.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout06.rmx.de (Postfix) with ESMTPS id 4Bvwmr0RVSz9vLf for ; Mon, 21 Sep 2020 09:19:40 +0200 (CEST) Received: from mta.arri.de (unknown [217.111.95.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by kdin02.retarus.com (Postfix) with ESMTPS id 4Bvwmg2tSZz2TTMg for ; Mon, 21 Sep 2020 09:19:31 +0200 (CEST) Received: from n95hx1g2.localnet (192.168.54.110) by mta.arri.de (192.168.100.104) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 21 Sep 2020 09:17:27 +0200 From: Christian Eggers To: Jonathan Cameron CC: Jonathan Cameron , Lars-Peter Clausen , Thomas Gleixner , "Sebastian Andrzej Siewior" , Hartmut Knaack , "Peter Meerwald-Stadler" , Subject: Re: [PATCH 1/2] iio: hrtimer-trigger: Mark hrtimer to expire in hard interrupt context Date: Mon, 21 Sep 2020 09:17:26 +0200 Message-ID: <5007153.c9bsiqU2ZW@n95hx1g2> Organization: Arnold & Richter Cine Technik GmbH & Co. Betriebs KG In-Reply-To: <20200920191545.4ed79276@archlinux> References: <20200813075358.13310-1-lars@metafoo.de> <20200814113008.00002733@Huawei.com> <20200920191545.4ed79276@archlinux> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-IP: [192.168.54.110] X-RMX-ID: 20200921-091939-4Bvwmg2tSZz2TTMg-0@kdin02 X-RMX-SOURCE: 217.111.95.66 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Tested together with - iio: Fix: Do not poll the driver again if try_reenable() callback returns non 0. and - iio:trigger: rename try_reenable() to reenable() plus return void on latest mainline (without PREEMPT_RT). The original WARN_ONCE() in kernel/irq/handle.c:159 was not raised anymore. But even without the current patches, this warning is not shown (as this problem only applies to -RT). Currently I haven't ported a RT kernel > 5.4 for my board, so I cannot check with current RT. On 5.4. there the patches seem not to work fully as kernel/timer/hrtimer.c is not up to date enough. Sorry for being not very helpful... Best regards Christian On Sunday, 20 September 2020, 20:15:45 CEST, Jonathan Cameron wrote: > From: Jonathan Cameron > > As we no longer support a try again if we cannot reenable the trigger > rename the function to reflect this. Also we don't do anything with > the value returned so stop it returning anything. For the few drivers > that didn't already print an error message in this patch, add such > a print. > > Signed-off-by: Jonathan Cameron > Cc: Linus Walleij > Cc: Srinivas Pandruvada > Cc: Christian Oder > Cc: Eugen Hristev > Cc: Nishant Malpani > Cc: Daniel Baluta > ---