Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4873447rdb; Fri, 15 Sep 2023 15:20:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNPwigHKYP8X6vw+p1dDVEujyCepA1mZk8crWxZrm4xc8tLg53qlyUNi6B15njtvPVbPVo X-Received: by 2002:a05:6a21:7888:b0:14d:7130:7bb3 with SMTP id bf8-20020a056a21788800b0014d71307bb3mr3845566pzc.13.1694816447188; Fri, 15 Sep 2023 15:20:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694816447; cv=none; d=google.com; s=arc-20160816; b=x2CoB8E+dEiBnJn56ypiSbJfS/0jGQI5YOYyWmYJuZr97lBdvdGMA8yN2Oc5Ju0cuZ S7T6psA0p+APQHo4n1RwuAFqbuUKMjGP21k2zP+2K/lsClfubYIjjvz3pl++g/Rout/S 8U6n+n9NZMCfadC2owTkhppL5ltezs2KhTBjO9yhm7lvxCDNK6kN3WwMkSA3h6TuNGNS 00yBMeFiJG+tMxxgjkbJigr2O9yuB4ZquzKdYT5UF+d1y+W02MZmbhuZ36dGSgwbfuj9 rm6OXWKkf//tqKvG7p+00pAdT6vRoltPtrLffGVE0vmK6Bm80+0MetUHgJY5k6RuWo1v 2RHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:references:cc:to:from:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=PkCVWwhGvKmPduq7f61IjGR/zidRvREOt6t55bZhkrU=; fh=eFQiW4m0J6gya0SlEGEMr4R6OT1TSDfWM5xGBhIaYPE=; b=rdbDGV5oxwM1Uz7G9kblNHqSjXZOT0qFoT2RNIw3nem7yJMMwz0qS+OFMYpHn81TYd RsV/mm0RRPPJcQgR/sWNwkM5lZHm9L7T/SBp+Qc512Uepcesh+xRR5YiqEdv70N6jUoB NZv3/zueBa/46rQ2EmJumZiX/wMGKHYJF+CyW10LTu7R9PsEu5KJeS6RFr9uR17blY/J +/9DNh8TSOWzKIIE9PdUskM0fChRUStXbrGSXh8JEB3cGhI+t+hZ87xA3/u4d+TlXKNh 0HcV5tAVsf+4mXPh8wBlBd1cwibhAl94gfyN9PKncs0yODcI06byLAzL7qWF7CiNi+BL EmrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=CxD0v7c6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id d11-20020a056a00198b00b0068fb3451deesi4012477pfl.290.2023.09.15.15.20.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 15:20:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=CxD0v7c6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 2ED5A80218B8; Fri, 15 Sep 2023 11:54:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236572AbjIOSy1 (ORCPT + 99 others); Fri, 15 Sep 2023 14:54:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236641AbjIOSxx (ORCPT ); Fri, 15 Sep 2023 14:53:53 -0400 Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C317744B8 for ; Fri, 15 Sep 2023 11:50:54 -0700 (PDT) Received: by mail-vs1-xe2e.google.com with SMTP id ada2fe7eead31-44d3a5cd2f9so1229252137.3 for ; Fri, 15 Sep 2023 11:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1694803847; x=1695408647; darn=vger.kernel.org; h=in-reply-to:references:cc:to:from:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=PkCVWwhGvKmPduq7f61IjGR/zidRvREOt6t55bZhkrU=; b=CxD0v7c6/+8XClJmjyFN2bzJPsC3AtUefFtNx/N2Cpmg2MYIxxVNglqtf/HWYAhUtd mtxIO9tvEnDiq7WF2N1TDBptWGxyscP0CAb5IOS3+c9yg5u959FjCKVHEs/335ctqj/e 1dzCYc5B/2P77PUEs5dmYhFtuq7kQOjSys8QA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694803847; x=1695408647; h=in-reply-to:references:cc:to:from:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PkCVWwhGvKmPduq7f61IjGR/zidRvREOt6t55bZhkrU=; b=nH7z2sn2g2ozXUOfgh8m/Y0A1VRaGL0re6ZrAu/Of4B6fC6gSE3ZKC+VKLl9X7emOr rnjdMHHqi4HwQu0lQ7crPQPj9g51faafKb6TE2xlJAJCFANCsiMpoYQedCw3WAwDS/ct +B3fTeb+2JGdRCudjtmFd0q0UZpbsu2W9EiUZV6K1THezqMWQ2vVSb++M4+Y/oYDrBkL xQilgykSt+//xZCBD3Ax8fQX4FJPF39ZeYtNLqe3lYQeHXB/wjvB+3WDGo+27/uxJ6b7 V+V/RBcn+RBgArybrcp+B21rqWrGoKhvu0P9S68rxQsZW0GaOrwQL80kcEzS54vO14u/ lMjg== X-Gm-Message-State: AOJu0Yz4HIum7tISbx8hS7fBhKsouSk0kowbxZBq9yRcJTbvzYFFyMLs f3sAaACZLt+Zxi4tvfCE3k2P7Q== X-Received: by 2002:a67:ad0e:0:b0:44e:af33:4607 with SMTP id t14-20020a67ad0e000000b0044eaf334607mr2761550vsl.2.1694803847686; Fri, 15 Sep 2023 11:50:47 -0700 (PDT) Received: from [10.67.51.148] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id o5-20020ac85545000000b004179e79069asm305591qtr.21.2023.09.15.11.50.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Sep 2023 11:50:46 -0700 (PDT) Message-ID: <44e5def6-fe2e-29de-b027-594ee7ddbaaf@broadcom.com> Date: Fri, 15 Sep 2023 11:50:44 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH] rtc: brcmstb-waketimer: support level alarm_irq From: Florian Fainelli To: Doug Berger , Alessandro Zummo , Alexandre Belloni Cc: Broadcom internal kernel review list , linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230830224747.1663044-1-opendmb@gmail.com> In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="00000000000052905106056a45ec" X-Spam-Status: No, score=-2.3 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Fri, 15 Sep 2023 11:54:59 -0700 (PDT) --00000000000052905106056a45ec Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 8/31/23 16:27, Florian Fainelli wrote: > On 8/30/23 15:47, Doug Berger wrote: >> Some devices (e.g. BCM72112) use an alarm_irq interrupt that is >> connected to a level interrupt controller rather than an edge >> interrupt controller. In this case, the interrupt cannot be left >> enabled by the irq handler while preserving the hardware wake-up >> signal on wake capable devices or an interrupt storm will occur. >> >> The alarm_expired flag is introduced to allow the disabling of >> the interrupt when an alarm expires and to support balancing the >> calls to disable_irq() and enable_irq() in accordance with the >> existing design. >> >> Fixes: 24304a87158a ("rtc: brcmstb-waketimer: allow use as non-wake >> alarm") >> Signed-off-by: Doug Berger > > Reviewed-by: Florian Fainelli Alexandre, any chance you could apply this patch? Thanks! -- Florian --00000000000052905106056a45ec Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQeQYJKoZIhvcNAQcCoIIQajCCEGYCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3QMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBD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