Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4715771rdb; Tue, 12 Dec 2023 07:28:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNAHkmuQKT1l9bPMZ0EBAWN7XwkuiNCzXYG7ngfKDv8U5BTV47C6ktwJ6e2BDIQKGHXcNb X-Received: by 2002:a17:903:11cd:b0:1d3:2e0e:c889 with SMTP id q13-20020a17090311cd00b001d32e0ec889mr1639257plh.62.1702394918357; Tue, 12 Dec 2023 07:28:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702394918; cv=none; d=google.com; s=arc-20160816; b=yggNjTNAc4JQfch7MYYg+4iPn9dwP2FHugm1iY+9ISlj+CvGVOplRTBVowXxhzPqTY RUSEJFfDg5NXq6jHKygYeMXdVARtjbw7qaadesw+6Mjr6Fj0BJ8AN/1PxGWb2SXOELGi lRJuVpWWZoCPjdD3SNBG+bIwFeVbz8+MnX+9AE+r7faW2qoVeh31znp1r3he3sAGpGjg xFEZJHuSQUkKaiGq8mggdHNcS/KQDn12FgQs3QlOGfp7Zj2UbkQSg1+j+4DsWMt3x7B5 s+pgOItKErDlya5p5EJHCdunS+cvFzugA7oaJE98ztLPeqzPXL7QszBkOO257Qp1XxEj u8FQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=6H53BKvDgIjuz9qtU0tZmiwuVpetLxgmBOBJ+s5ugaY=; fh=QaLe4T1mZ6DXGI42WuiDO6kZg6WIh7GYzPR8b4273q8=; b=SRNJImlhAbY9VKnziaZ4XvUE1wAG2nItoJ9t+n1M4VS0+8vV5yGGWBK3AgV1094E50 1zcsDMZ61sh+VIqtzrbXLT0bzTtinBd62LSshrGTX3J6ES4xQkYVZrwAqJYOlhnEX6xC JS/uoBeOm5Ognx+fmUHsywh8jYxIzhJaP96j8YdnQMzD7k47lGk0IJwPRs6HgMsx4Epw fA4wnN355Eb2s4o6S1UPAVroAOMhAD1p6K4y/lsONmlQENqwSPBdhJJ7jDtEm+AO78+C X4u2QgER3UbrK4CkSzmklMfhkt9Xpsi5aEs/A8KrBUsoDBy5eXI39A04/5OjdBbK50pA 7NJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bdWOjDCb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id b9-20020a170902d50900b001d08f51697dsi8239082plg.122.2023.12.12.07.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 07:28:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bdWOjDCb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7D8AE804ACD7; Tue, 12 Dec 2023 07:28:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376975AbjLLP2Y (ORCPT + 99 others); Tue, 12 Dec 2023 10:28:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377056AbjLLP2E (ORCPT ); Tue, 12 Dec 2023 10:28:04 -0500 Received: from mail-oa1-x2c.google.com (mail-oa1-x2c.google.com [IPv6:2001:4860:4864:20::2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 108231A3; Tue, 12 Dec 2023 07:28:00 -0800 (PST) Received: by mail-oa1-x2c.google.com with SMTP id 586e51a60fabf-1f5bd86ceb3so4226081fac.2; Tue, 12 Dec 2023 07:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702394879; x=1702999679; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=6H53BKvDgIjuz9qtU0tZmiwuVpetLxgmBOBJ+s5ugaY=; b=bdWOjDCbE58+pYUZktX7dDqLwZIjGE39pN03KoLqD2Wvk/RU31i0NghuOWo/yyrOVx 5YkOm8SR7RY0smEjP4sOdUTo/RW5ducLslHe+N5uLRZ1JwVXPonfSA2sLMrACfvDEr6l lZ1RkNjNAyj3KzA8bUozgeJZrTAbAKELlzS5yJr7Je9TFIEu/P4/7cn6ncsZ5gZCdoPk /TiTv6Od86Od/laPWYqIv9XGStAsMZpMhfIDDqGvbJBQgVb3Cdja22lJ/wqu+FxHcVIx hfk0eaKcOD7b2Gf1Jnbe4sZ9LySxLlq7m+GhIiCIg30YiXz/tH7sL6lv0lyWArEaL4FA k85g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702394879; x=1702999679; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6H53BKvDgIjuz9qtU0tZmiwuVpetLxgmBOBJ+s5ugaY=; b=kxaO5aRkuJgKO4IiWgE5nAXR33ONxjmF8jtgWFdbQxieaH9+NUwCOoEy48MzaowWWf 4sEuR/iMvWx/E3cz2C9xfaeow8SCZ9o/HmXTKT7L7xZjPG83BYyeqTwVRoflD42Z+5y4 jrfRF3I12fzdURtWC+qGyieZf5nZ8+qp//AS+7lmZuFPbbBmPEi7W+h4xI3/UIS8JZ/W X2HApq7SDD+BvO26jhep32KpTvqGXUZwZxtUrhA11b1ipB/SUzD+OXVz1HmzuiwTY9nX W8JcCWPRqQgESY+1qBrkbagQC9QdewduiKcBnRqeYvCrRnfPGmXbnY2A3mV6fsFRtVfU tMwQ== X-Gm-Message-State: AOJu0YypLZfA1Fr9A0gOCSC2Lqoz+JWP+XytIJ2UGXseKn4l4dITQcnj /3qf7QqrLlGFxrEoVqOaO7g= X-Received: by 2002:a05:6870:b14a:b0:1fb:22f9:17ac with SMTP id a10-20020a056870b14a00b001fb22f917acmr6865996oal.8.1702394879336; Tue, 12 Dec 2023 07:27:59 -0800 (PST) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id dy9-20020a056830210900b006d9fb0458cdsm46275otb.39.2023.12.12.07.27.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Dec 2023 07:27:59 -0800 (PST) Sender: Guenter Roeck Message-ID: <98c12c55-1f9f-4529-ae34-cb9f22471dbe@roeck-us.net> Date: Tue, 12 Dec 2023 07:27:57 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] watchdog: rti_wdt: Drop RPM count when unused Content-Language: en-US To: Vignesh Raghavendra , Wim Van Sebroeck Cc: Tero Kristo , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, afd@ti.com References: <20231122041642.2015936-1-vigneshr@ti.com> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN R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fA7AJMKLQHgp04Vylb+G6jocnQQX JqvvP09whbqrABEBAAHCwWUEGAECAA8CGwwFAlVcpi8FCRmg08MACgkQyx8mb86fmYHNRQ/+ J0OZsBYP4leJvQF8lx9zif+v4ZY/6C9tTcUv/KNAE5leyrD4IKbnV4PnbrVhjq861it/zRQW cFpWQszZyWRwNPWUUz7ejmm9lAwPbr8xWT4qMSA43VKQ7ZCeTQJ4TC8kjqtcbw41SjkjrcTG wF52zFO4bOWyovVAPncvV9eGA/vtnd3xEZXQiSt91kBSqK28yjxAqK/c3G6i7IX2rg6pzgqh hiH3/1qM2M/LSuqAv0Rwrt/k+pZXE+B4Ud42hwmMr0TfhNxG+X7YKvjKC+SjPjqp0CaztQ0H nsDLSLElVROxCd9m8CAUuHplgmR3seYCOrT4jriMFBtKNPtj2EE4DNV4s7k0Zy+6iRQ8G8ng QjsSqYJx8iAR8JRB7Gm2rQOMv8lSRdjva++GT0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: <20231122041642.2015936-1-vigneshr@ti.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Dec 2023 07:28:37 -0800 (PST) On 11/21/23 20:16, Vignesh Raghavendra wrote: > Do a RPM put if watchdog is not already started during probe and re > enable it in watchdog start. > > On K3 SoCs, watchdogs and their corresponding CPUs are under same PD, so > if the reference count of unused watchdogs aren't dropped, it will lead > to CPU hotplug failures as Device Management firmware won't allow to > turn off the PD due to dangling reference count. > > Fixes: 2d63908bdbfb ("watchdog: Add K3 RTI watchdog support") > Signed-off-by: Vignesh Raghavendra I always find it amazing that people think everyone would understand the TLAs (three-letter-acronyms) they use. While those who don't might find it confusing why a watchdog driver would need or want to drop rotation-per-minute counts, and what that has to do with police departments, that isn't worth arguing about Reviewed-by: Guenter Roeck Guenter