Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp413790rdb; Fri, 6 Oct 2023 07:17:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEdAoW26fVejB/eDvEnEErbpO/FI2Iqu0qq4fKRKt0tG3oJ15Q+cjgR6xdiz7h6iZYFpF44 X-Received: by 2002:a05:6a20:1608:b0:14b:887a:6d70 with SMTP id l8-20020a056a20160800b0014b887a6d70mr9400574pzj.15.1696601823586; Fri, 06 Oct 2023 07:17:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696601823; cv=none; d=google.com; s=arc-20160816; b=anTK/VdyW6+FL95bGONxa3i63MfiVBwMQxkaV3eCkDZlCDcph4q3vnYlLpWHcEgvtI Son+QimnGFjwrSo/Ju80+Q21zR4dSoZNWRtC8CC175EmHsSMaxKyX5MO/eM2EHxP8k7l xXgSGu6Qe18a9J+37vWnSbBHqW6jazZrkM9rCPO/Ug7BXp8F/ZjfJcT+saNE0x23GlPJ T8TZAbUHs9a+KBxNirPJkbB1HyfVzWdXiUnBxlMU5K/UCBXFUYM2HDnmrwmKbEH868E4 ggpKrdxJALd4ZPoWW2d7g4poRPPUqTMUNAQJyaXF+xLuumIpwAfxw3WvagFCIjVaQ7fD fi7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=rlFqNr400oUmo86LhhjzRRwWWVe1as4xD/8YyVt9kKk=; fh=7AeRnln+4bwF4lWSlTpPlJuBTkEnTv4Sx1Z7WwaPj9k=; b=ZuXezBMsPipIH2IIHzfKGylRIZ/2kJ5jGF1XIAp2L3pZQCzTOJAwnbE1oV15gB+YYP rZNDfVu/5zkRHBNl5kJIafOeWDhJ7Gf18+BjGh1CgtV6ccwBT9CPxxtrQW2JTVtoonuX FS9zn98qTKtCkvmSzmOnj9IVag51I8rENKz0qcIo2qH9+yAmPtmusQAawdoNNtWT3sY2 2+1Z+vCtof1Cmkt84IzqZUY6PrXUZcpAD9XGyVy41EsH/vFvwUyrtOx31X49NqcNdveQ lGHJxswjb0C898Nd7hhUIkFpRTXc3zIJ/4IoQ1vw0Xb/96Xaa+tylbuseeYAj+vrmI7s w+kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NzY80zch; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j3-20020a170903028300b001c1eed8a336si4054826plr.167.2023.10.06.07.17.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 07:17:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NzY80zch; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 31EB180AEE15; Fri, 6 Oct 2023 07:17:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232234AbjJFOQu (ORCPT + 99 others); Fri, 6 Oct 2023 10:16:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjJFOQt (ORCPT ); Fri, 6 Oct 2023 10:16:49 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68656C5; Fri, 6 Oct 2023 07:16:48 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-352a1d77fa4so9253175ab.3; Fri, 06 Oct 2023 07:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696601808; x=1697206608; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=rlFqNr400oUmo86LhhjzRRwWWVe1as4xD/8YyVt9kKk=; b=NzY80zchDbXkuq0StA/l1IyqjhY6DJSunIGGSmG7XsV7FjPk/76ATuEdinl+QSagUg 1+naWDgEGhRFfSPGBjB6LkaGKGK6ACWLk6gTBrwv92bPX3tCqJ/q1aoeckeQTdiRtk4P UU+wOWXP6ARydfxmlQtdOOisedqUBk6VXX5tbmqWTZOND1xVlImCbmhqu//VBtABhoxj GfzJXbAL9tb3yDrqezZLTTLdwU/zK6yp46TEtdgPXZhKd++TE0mVQkd9h0Z/ayjTvdIk wQkGszI5wkpo51PDj+nX4XncHIS4fRi8Vh2LRIQDFHoPRabm9H4JSdDBblveNnB2T06w bIbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696601808; x=1697206608; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rlFqNr400oUmo86LhhjzRRwWWVe1as4xD/8YyVt9kKk=; b=o3NvR4KaWqP1srOWkohFBm4Y0yk47FLiUX/V/mY99JPWNnPB8xDL/J2ekGaMQbuHSJ JZZiUsb1fjQELY2LnrmS0dqDMoYOpCLUwxGRyY6Lhw2teJhQ+WqRv3XcnO/Gd3BM5Mm0 AlNrBI+1nNlxkHJlvZTPKcTJhNb0QYhczOgKDJxGdNNFpJDliKfpiZ89YuoLWX2EbN8N 6pW0lq/6VOVPsvYZuJyy0/jVcIOwqorAXl0iaQzis5P9/0RVyWPtCI1exKIqsWHUpTu5 M9nm8WR0eiYI2nRvB1XdVevQ51S13TfiGgjbShEud1+rQRz8c96lpis1J3HGV/+k/imB 4Aqg== X-Gm-Message-State: AOJu0YyH5woM27PAvJUFE6PBY9i45fZrIM0c9nGOqlm/hHghE1qJdLuk ObdiCy+9u0KCmmEWv+Lf7fiUds1270k= X-Received: by 2002:a6b:f319:0:b0:783:63d6:4c5 with SMTP id m25-20020a6bf319000000b0078363d604c5mr9701877ioh.12.1696601807648; Fri, 06 Oct 2023 07:16:47 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id h1-20020a02b601000000b0043978165d54sm435756jam.104.2023.10.06.07.16.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 07:16:46 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 6 Oct 2023 07:16:44 -0700 From: Guenter Roeck To: Wenkai Cc: wenkai.chung@advantech.com.tw, Susi.Driver@advantech.com, Wim Van Sebroeck , linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: Re: [PATCH 0/5] watchdog: eiois200_wdt: Add EIO-IS200 Watchdog Driver Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Fri, 06 Oct 2023 07:17:01 -0700 (PDT) X-Spam-Level: ** On Fri, Oct 06, 2023 at 05:27:48PM +0800, Wenkai wrote: > > > Guenter Roeck 於 10/6/2023 11:02 AM 寫道: > > On Thu, Oct 05, 2023 at 04:51:18PM +0800, advantech.susiteam@gmail.com wrote: > > > From: Wenkai > > > > > > This patch series aims to add support for the Advantech EIO-IS200 > > > Embedded Controller's watchdog timer to the Linux kernel. The EIO-IS200 > > > is a widely used embedded controller, and this series introduces a > > > native driver for its watchdog timer functionality within the Linux > > > ecosystem. > > > > > I am not going to review this patch series. This is just ne watchdog driver. > > One patch is sufficient. > > > > Guenter > Hi Guenter, > > Advantech's EIO-IS200 watchdog supports 5 output pins: RESET, Power > Button, SCI, IRQ, and GPIO. The most traditional scenario is that the > Pretimeout triggers IRQ, and the timeout triggers RESET. > > However, unfortunately, for industrial usages, there are various use > cases, which require certain mechanisms and logic to manage which signal > is output when Pretimeout and timeout expire. I am concerned that > consolidating all these features into a single patch for upstream may > lead to confusion and make the source code less readable and > understandable. > The 1st patch in your series doesn't even compile. I don't call that understandable. Oh, it fails to compile because you include a non-existing file from ../mfd directly and because you select a non-existing configuration option instead of depending on it. None of those is even remotely acceptable. Are you seriously sending me a series of patches that don't even build to review ? > Therefore, I have divided the implementation into 5 separate patches, > aiming to make the code more comprehensible and acceptable. If it's > acceptable to you, I am more than willing to provide a single patch as > per your preference. > Frankly, your series is one more nail in the coffin. I am now seriously considering to resign as co-maintainer of the watchdog subsystem. Guenter