From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1C29C35242 for ; Fri, 14 Feb 2020 21:32:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B75F0222C2 for ; Fri, 14 Feb 2020 21:32:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JNEGWXEt"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="WMQs/0hL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B75F0222C2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P5R95MMuRSlGD1DGuRJ+atSJFTce4uAnLU0e0sy7alY=; b=JNEGWXEt5PXsTP ZrfF78J/SbEZhnuE8EWAlD37wXRByZSFUaXddKCbj68RcF8Juk+l3K6go2VxH+EWtP2Yo5QMk982M /7F/v/xyKdU12zpl2XTYSrmNxWH4CWFiYNs6iKWBichtoMxQ2BVbpGx2Qi23TU1iyy+Ms+nVfweTG hQCLbw+nQ4ydukohlIJWIN6dD3N5t3KLXTBWuasuN3WMs1hnpDfJKCoh2Gy5SsGLLxrqsehOlOxEw N7Ko56hctU75NPO8OsqumLDmD5eqbnSuGWj30+0+AYZnjelE82D3iQVUZXh6SXogQgf/9OMA32Y3W 15DVXxBeeWya3s7uAsRw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2iZd-0007YO-KD; Fri, 14 Feb 2020 21:32:33 +0000 Received: from mail-io1-xd44.google.com ([2607:f8b0:4864:20::d44]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j2iZa-0007Rs-Qc for linux-arm-kernel@lists.infradead.org; Fri, 14 Feb 2020 21:32:32 +0000 Received: by mail-io1-xd44.google.com with SMTP id t26so168722ioi.13 for ; Fri, 14 Feb 2020 13:32:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BZKc7Iw5Ao6DeSW088cynAow9LgysvsQp4C3aBIY+yc=; b=WMQs/0hLj9/SxQ3vyxLv+3rncv4W8okLOKv6C0paboIrojTdECQfyJCrhOCRT0fx4G oM3HAXuULlD2gvgTYP2NxZj61hNw6RN40PPsvbd226CVbYcK1BLyT/VvhFm1NUfXzdYg VY8r0gqWL+Gg+F2FX6wfqU9i/m0gWGApmJFk8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BZKc7Iw5Ao6DeSW088cynAow9LgysvsQp4C3aBIY+yc=; b=j/+9GhBkJxvrPlszkAlsud26D7XIxKjrvQce2OXT95v39JM1A1c2juKhaGupwIBVrE 2lBSOdTQstYXhW2zbIhDN2fhJgpFAcPzBXbMYZef8AH5NGowrPA3tLeuIsIMmKOlaBNV bR+xRIU/UsZDP38gYAvFf2z5tEs0ENwiRWlGF+QqDzVPkempI4WgH0WpJzKv4fS96CWV DwUbPBwVzfJTpyb/csVGkhg0Jpqb2k27jOOkimhJ/0YfJ1SKvVYTMbCrkUBZNGcZ9E9o 5H/8/7YmLjMkHYxEODq8+SiloMgkcWVymK0YjB2JWiBPGGwxHao2DJCqn4AqyniF4Uxi uegg== X-Gm-Message-State: APjAAAXSuXleE1+01jmAGGoBaF+i32I4W+WpETto4OEeYROXYNRZ9JR8 ichKC/0XaVYjub+gEIO5RBobwEdgW1Le4SJPVM4GCg== X-Google-Smtp-Source: APXvYqx7rGGJlQRvlXAmdf/4YbIGlcmVKixshxKK0TyrASYGQsdOT/bDRr50fWVkgOszmmXZ5IeK2mFn5MiS01GixLo= X-Received: by 2002:a5d:8796:: with SMTP id f22mr3932931ion.163.1581715942261; Fri, 14 Feb 2020 13:32:22 -0800 (PST) MIME-Version: 1.0 References: <20200214062637.216209-1-evanbenn@chromium.org> <20200214172512.2.I7c8247c29891a538f258cb47828d58acf22c95a2@changeid> <804d3cc5-688d-7025-cb87-10b9616f4d9b@roeck-us.net> In-Reply-To: <804d3cc5-688d-7025-cb87-10b9616f4d9b@roeck-us.net> From: Julius Werner Date: Fri, 14 Feb 2020 13:32:09 -0800 Message-ID: Subject: Re: [PATCH 2/2] watchdog: Add new arm_smc_wdt watchdog driver To: Guenter Roeck X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200214_133230_888302_1022E869 X-CRM114-Status: GOOD ( 12.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Wim Van Sebroeck , linux-watchdog@vger.kernel.org, Anson Huang , Dinh Nguyen , Catalin Marinas , LKML , Shawn Guo , Bjorn Andersson , Marcin Juszkiewicz , Olof Johansson , Greg Kroah-Hartman , =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Evan Benn , Jonathan Cameron , Mauro Carvalho Chehab , Julius Werner , Leonard Crestez , Will Deacon , "David S. Miller" , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org > > with a Secure Monitor firmware to forward watchdog operations to > > firmware via a Secure Monitor Call. This may be useful for platforms > > using TrustZone that want the Secure Monitor firmware to have the final > > control over the watchdog. > > > > As written, one would assume this to work on all systems implementing > ARM secure firmware, which is not the case. Please select a different > name, and provide information about the systems where this is actually > supported. > > If it happens to be standardized, we will need a reference to the standard > supported. This needs to distinguish from IMX_SC_WDT, which also supports > a secure monitor based watchdog (but doesn't claim to be generic). Back when I wrote this I was hoping it could be something that other platforms can pick up if they want to, but that hasn't happened yet and the code on the Trusted Firmware side is still MediaTek-specific. Unfortunately Arm doesn't make it easy to write generic SMC interfaces and my attempts to change that haven't been very fruitful for now. So yes, probably makes sense to treat this as MediaTek-specific for now, we can still consider expanding it later if there's interest from other platforms. (I would like to avoid every vendor writing their own driver and SMC interface for this, although looking at that IMX driver it seems that we're already there.) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel