Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp162354rwr; Wed, 19 Apr 2023 05:03:08 -0700 (PDT) X-Google-Smtp-Source: AKy350YlFkqJ0l3q80fLihX/Er8/GJm/XIF8itG+U8AK1Abn1g21KAFN9/k01qt1zDLzLdE+C9RL X-Received: by 2002:a05:6a00:2349:b0:63b:89a2:d624 with SMTP id j9-20020a056a00234900b0063b89a2d624mr4295948pfj.12.1681905788212; Wed, 19 Apr 2023 05:03:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681905788; cv=none; d=google.com; s=arc-20160816; b=VYNlx+ssecrCSN3jteb10L68GwAXLeEySK/zJN2SR0cwjMFnrZStgWlMX4qOe8IKPs Pp3EBZX4ivjr59U/d7gWJ751POvPMK5KMzJsA9c9S5ofaQlDjb/zUcDj/7APQgfTNFwW CFngPu0KZLt1mkCrKq0Ujzw4Rq8f5+4YtdnX8CikbqMltezcXugwzZvjfgziHE4DENxC 7K9dbmAFP1dUO8ziqTEQ/g2LuNM3VlbffjWxi1SGhP1+rfcrZJrASYuEiJtQTh2s7tS5 Y1lZmQKciBHBZjU3OMvlUkEkmoLaOer0YjvKn3p8xgBPdkxx7Q98nqh8k/t8cVOYwiZ0 RHcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=IUvUuZW0hb6ySO1D/CZR6cQdKPmeYm03b/JvxU+1OE4=; b=sImlVz9hTvufPI1dirRn6CTfEHrOdh9japI29dFk0E1psh9OgYxq5RV1pkJDWxw2G6 8Ky0tvnQxlUZT0QQuI4osW8v/qqeB4TO7nME7PtNcbQetB8hdraM1dd06EEILb5nI4vX JC5mJftmq0gL6Ui1Ow8+ga5WG3eGLucZ8H0gp/4oTYV8a7OEd9IOV8jXTGpnVxLJ/XER w8sqnJU/GpyzYwgRBPZK2w/AbyraVQ0dBzwTdoLix1umYDb3p7/T3/64zEetdUkChOty 0hJH+6qy3qQSAnq4lpyyOOQ687NcRiTkaKnLQuM2it1RIvLCuCx1rT5IMIGu3H0aAM7G VAUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mechatrax-com.20221208.gappssmtp.com header.s=20221208 header.b=smVA1jpj; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e3-20020aa798c3000000b00625e7f9b859si16882527pfm.339.2023.04.19.05.02.44; Wed, 19 Apr 2023 05:03:08 -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=@mechatrax-com.20221208.gappssmtp.com header.s=20221208 header.b=smVA1jpj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232804AbjDSL74 (ORCPT + 99 others); Wed, 19 Apr 2023 07:59:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232971AbjDSL7m (ORCPT ); Wed, 19 Apr 2023 07:59:42 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AE69E49 for ; Wed, 19 Apr 2023 04:59:15 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id 41be03b00d2f7-517bb01bac9so2336742a12.0 for ; Wed, 19 Apr 2023 04:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mechatrax-com.20221208.gappssmtp.com; s=20221208; t=1681905554; x=1684497554; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=IUvUuZW0hb6ySO1D/CZR6cQdKPmeYm03b/JvxU+1OE4=; b=smVA1jpjlCoNuV/kCvvonS2vqw5oIKotZhUXv7kcXkv2W7crDfQ8UaCgenMKRsuF14 qgjA3OtwE9QCmRNPsWZzHl79HItHnflKZMkOy+oBBHRAYJ3XjuLGKVfIHcEK/i53WzGz D4rBcoILeMKTQoGGIRpRDnjnAD1UQJbDr0NM1xKWEwvc6tjD2DpVHUzDRQOAXl9p24Ve JR3eFI5UVPac8+iOgkvBdVf3cR9mvBF/zWFIK7E8cT1ObKzvYO4E0pnXdpA/heuCwJhW gz8g219o+iGiB0OtLGpwu6H01VPIi4JZj70KJiVKhrnudrGiyDy61AQ6xEdnb3d072c5 CW7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681905554; x=1684497554; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IUvUuZW0hb6ySO1D/CZR6cQdKPmeYm03b/JvxU+1OE4=; b=BZrPkGt1DXpDrxvppVuMdWXAKS9oYU03CbChG99QVe+roavsEouGp+zhe8w7FTztlH WusX0D1ndtuY9xdm3Xb0h5LePzIBYU9uR0EnQKdzoryZuvV3cgica254k3XFzIyddSzu YJlRk38iNLs1nB4F28b6QhRaZ45dizjwlp/BLFb2QCTkb/Nh3hTvQbE4e23787ZqVct4 n+Iu7pg+XgsX+WcTtbKJ9gUbhVMIlU7Rs0cmmrVxKZKymBZYtCTOCDDry4RGlKnBGmB4 1KisA7rVvNa91vhSuogV4/LXW9MEVVAy1zZDGmV56s+PRhFOh7mx+JmIeKB+afQ/81mR Tjvg== X-Gm-Message-State: AAQBX9e8wwSiXmRmnENwJI9/vH2EGSxev2DVZ/6KvGcdjNsKhYRrpwQd ZIF/O0K+wC8YMzBI6lJzxM17x9oOztW1jECJ7TsRiA== X-Received: by 2002:a17:90b:4a06:b0:246:ac68:297 with SMTP id kk6-20020a17090b4a0600b00246ac680297mr2818013pjb.0.1681905554420; Wed, 19 Apr 2023 04:59:14 -0700 (PDT) MIME-Version: 1.0 References: <20230414102744.150-1-honda@mechatrax.com> <5c8f68f0157d9ae66e6d88d648fcfd26e68be307.camel@gmail.com> In-Reply-To: <5c8f68f0157d9ae66e6d88d648fcfd26e68be307.camel@gmail.com> From: Masahiro Honda Date: Wed, 19 Apr 2023 20:58:37 +0900 Message-ID: Subject: Re: [PATCH v2] Fix IRQ issue by setting IRQ_DISABLE_UNLAZY flag To: =?UTF-8?B?TnVubyBTw6E=?= Cc: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 Hi Nuno, Thank you for your advice. On Tue, Apr 18, 2023 at 8:06=E2=80=AFPM Nuno S=C3=A1 wrote: > > I'm not really keen with having the Kconfig option. I'm fairly convinced = that > this might be a problem affecting all sigma delta ADCs and even if they a= ren't > affected, I do not think that setting this IRQ flag will do any arm (othe= r than > less efficiency maybe). > > > If you really want to be on the safe side, we could add a new boolean to = 'struct > ad_sigma_delta_info' that would be enabled for your device and when true,= the > LAZY bit is set. Once we prove that all devices might be affected by this= issue, > we could remove the boolean and make it a default setting. > > - Nuno S=C3=A1 I understand. I'll only set and clear the IRQ flag.