Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp78959rbb; Fri, 23 Feb 2024 12:23:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXcj1J10vnUjq9t4SzTVjhZeayvWt74ex7UyUQTJzecM4qLbyGFk51EK4J+u6xhJr31+UPqWTiV8Gx5xLJaUPbV6cMqDuvKRjnBgEWnEg== X-Google-Smtp-Source: AGHT+IHn6FIieYBnwOfrwUBl/s3vgqbLbxhaPGoha1UziGLZ42Iwl8F+JO+2Qc5U7Z5jF9Ft1lpl X-Received: by 2002:a05:6a21:2d86:b0:1a0:c4d0:945d with SMTP id ty6-20020a056a212d8600b001a0c4d0945dmr1116389pzb.29.1708719808114; Fri, 23 Feb 2024 12:23:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708719808; cv=pass; d=google.com; s=arc-20160816; b=xT6RCQhR0cSH9E5uzfZxKQfKRi81l0b58M8L6eEdYbxjAu/Sm8F62+mWmrYQdEJqnW OiBCOIJt3MAohPBA1UeaSmJ1H74JtEjdEVsUS813IxhDkPqAPTRb8mMAm12kVB1ZyvMU EWEtEmjz5exI/ZxHSVBJMNmRVIuDGLS2HIdP4ANPbbZA1uCgnPIRvgAONOlTu31D1+Im f2ORPL8NXroCeWm1crtGMevDr9VMwKjC1GCkG1AkLW5Jyz6vx319v1HK8JQs37HodS4v 8rFVJB1p4FEccNXuTfxz1DBXimJod9Xm6YyOuwsJtWYZG2AjNo1TxZ8sh/u6gL6sZMOW Ad0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=Li9I2Yt9RtfaQAU22rlxM67oiSTa36OTVFH39NacEkw=; fh=XZjAwgb+mCjDUMu2e3zdzmzxj84pAdn3FMns++vA6+Q=; b=CqOUvYGmq6sNmgamCLPZ0XCFhiH9dRRUkerqWIn3R+8EUKXspYa6NVFZtgp+dSA+Kj Cvw0iJOwK/UZMbMkT8R+UuM/Je4ovZP/H0dvql/zZroAdLqaOVKzfCaundAH3+SWrGgq gI02JFtcJ10ujeUuoKKB2JyUka8tzhJgYqPyt+S7dYOg4/64MVXJFHwP3iadEKj41a3a /m32uM5X0BjyPcIQMq93F/QoqHRR042x91MC1wrEmOEafJm9V3+ESWry+m1YTJ6a+EEp l8kNEgzZyW9Ph6xyTKEcOdpe+4cJkkoDkbexK3hm5fx+pQpauiGE4Tm66LRhdIinmSUh mmgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="kqtq+/yP"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-79096-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79096-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d24-20020aa78158000000b006ddc42ea7a9si12499071pfn.289.2024.02.23.12.23.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 12:23:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79096-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="kqtq+/yP"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-79096-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79096-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A08BC2893AC for ; Fri, 23 Feb 2024 20:23:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DFA61487CD; Fri, 23 Feb 2024 20:21:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kqtq+/yP" Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91E9C145B38; Fri, 23 Feb 2024 20:21:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708719716; cv=none; b=qykbTUC5AONgM5c8n5AH2XUm89lz6y319w444mN7GUp8Ja7aBPWiE1foNkWDuWe4b8Xb7/C8UT0YO1j8i45n7wJpX+/2wAl5ZxZyJEvW71YXzimTSGOlai/BD+EqLdru/1V3XjuRGlwZvr9PR20XCQybBTaFJkWJhadD1obXX+0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708719716; c=relaxed/simple; bh=1YzjXm9btVp503L+Fxr6KekHdqM9vLvxbytGbEFSYvc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SKAfr5mRv729ntBqYq7+8Ey7iUv4ILgPv/LUjtVg6cFZRojwH+YA2VLnUR/OM1d8NXcryETKd9hQyLdtP6VisMVRsMLDnO0hnh/paXVl9aghejMFH5wHsWsaoUF2kHF6uYy/p5mFzYA4hgEZko0A38a2ei7KccVD0MHO9ecygaY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kqtq+/yP; arc=none smtp.client-ip=209.85.210.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-6e34d12404eso562233b3a.2; Fri, 23 Feb 2024 12:21:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708719714; x=1709324514; 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=Li9I2Yt9RtfaQAU22rlxM67oiSTa36OTVFH39NacEkw=; b=kqtq+/yPe0uWhsaq+Q0Tq4aNPkaXTDwzVxF0hPKTQbHALFiDi9Zw+n4EJZI4ZESUrO 1ntgUQmuOBxWtYkd8x1q33JhO5EjqtWsAT7AHn/ciWa/R5sf3Y68TLBAWLKTve9K0ObV Sk+4cbw7mwUqw+WICTEJH44ia30zgMcfQvCnRxL9Thy5sWVfOu++vZ9tIYH/ENITS+QT gfj+UFSPTULnDnpzd28dS15TOok0X/FE+sHFNq2Kot8MYc44ZILhxlOb11AtLcJkyUni J7s3vjHvJaJI01fc/0N8pFzgrOtsmdEu2+iKjizbMlto9R55KdjlfFBXxadUKFNMSDcF E+2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708719714; x=1709324514; 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=Li9I2Yt9RtfaQAU22rlxM67oiSTa36OTVFH39NacEkw=; b=K5FSUJTNaJKhvlnRHgY+5WgEDPlOZX58nH6RFak67D8+oeT5siPt3c6QwRtS+md4qv v/Sv7/c0QuoHh3mFfw2rtD4RpWWr8DyD+4kDy6KByJPz6NB/NNoFG9InVnAhnrMsCVMq oYA44ON4nOvxXqsYHIXVGQOmgeUkqLI7xPl4LK0LzWJsMkcLJyBqtpZK3RJtlNAGiUp6 Dd+pK2FqFJsEyVucMu8LjlagCSOd+nsYlO4kWbiu8StT5+R7ElWVGoNHNE+XKAg3zGYQ PHiPlcAZuNQhsASlbH0ig2SaZQaVchaSqpm4P34w2WJ6NvACDHLNWKTtXufjTKGlkJMh wFVQ== X-Forwarded-Encrypted: i=1; AJvYcCVoEo4z5Xy4QQ49rUOr8dvMt//xk2QQUqv8A0CeRMelQ5WPAAIgOOGqxxDzQZrS00JLp5ddO4/L73UjxdRuTeFG5zmq5TeK9T/nGAQnURQ= X-Gm-Message-State: AOJu0YyjP03jTHsj8u0LIzrtmoMfY67dIQpPtU5WzKGEK/nXifLrQvq7 +LyB9GIDPVnpeXHjCMlO5RQ7EvsPrTFnNBXnjOli75MCzMtHitAJdDVfrR9b X-Received: by 2002:aa7:814e:0:b0:6e3:90c5:17ec with SMTP id d14-20020aa7814e000000b006e390c517ecmr845116pfn.18.1708719713763; Fri, 23 Feb 2024 12:21:53 -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 e15-20020aa7980f000000b006e4d336c420sm3094895pfl.69.2024.02.23.12.21.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Feb 2024 12:21:53 -0800 (PST) Sender: Guenter Roeck Message-ID: <6b0373a2-7750-4d57-8839-95c6fa30c6b8@roeck-us.net> Date: Fri, 23 Feb 2024 12:21:51 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] Watchdog: New module for ITE 5632 watchdog Content-Language: en-US To: Mark Pearson , David Ober , wim@linux-watchdog.org Cc: linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org, David Ober References: <20230721122931.505957-1-dober6023@gmail.com> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6ykLOPFugl+hVL2Prf8xrXuZe1CMS7ID9Lc8FaL1ROIN/W8Vk BIsJMaWOhks//7d92Uf3EArDlDShwR2+D+AMon8NULuLBHiEUQARAQABzTJHdWVudGVyIFJv ZWNrIChMaW51eCBhY2NvdW50KSA8bGludX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/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/23/24 11:58, Mark Pearson wrote: > On Fri, Jul 21, 2023, at 8:29 AM, David Ober wrote: >> This modules is to allow for the new ITE 5632 EC chip >> to support the watchdog for initial use in the Lenovo SE10 >> >> Signed-off-by: David Ober >> >> V2 Fix stop to deactivate wdog on unload of module >> V2 Remove extra logging that is not needed >> V2 change udelays to usleep_range >> V2 Changed to now request region on start and release on stop instead >> of for every ping and read/write >> V3 add counter to while loops so it will not hang >> V3 rework code to use platform_device_register_simple >> V3 rework getting the Chip ID to remove duplicate code and close IO >> V3 change some extra logging to be debug only >> --- [ ... ] >> +config ITE5632_WDT >> + tristate "ITE 5632" >> + select WATCHDOG_CORE >> + help >> + If you say yes here you get support for the watchdog >> + functionality of the ITE 5632 eSIO chip. >> + >> + This driver can also be built as a module. If so, the module >> + will be called ite5632_wdt. >> + [ ... ] > > > Please let us know if there is anything else needed to get this accepted. Happy to address any feedback. > I am sure I commented on this before. The fact that the Lenovo SE10 uses an ITE 5632 controller is completely irrelevant. Lenovo could decide tomorrow to replace the ITE chip with a Nuvoton chip, use the same API to talk with it, and the watchdog would work perfectly fine. This is a driver for the watchdog implemented in the embedded controller on Lenovo SE10. It is not a watchdog driver for ITE5632. Again, the EC chip used in that Lenovo system is completely irrelevant, even more so since this seems to be one of those undocumented ITE chips which officially don't even exist. Claiming that this would be a watchdog driver for ITE5632 would be not only misleading but simply wrong. It seems that we can not agree on this. That means that, from my perspective, there is no real path to move forward. Wim will have to decide if and how to proceed. Thanks, Guenter