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=-2.0 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 C1C7EC2BB55 for ; Thu, 16 Apr 2020 03:48:33 +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 9278F2076A for ; Thu, 16 Apr 2020 03:48:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UlfYtAXZ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nbS0fnm2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9278F2076A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=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-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=aDY6+1VymE/Nj+yFifONlBzgcubl9qTBB+SVaR0ivUs=; b=UlfYtAXZJ5Dl/6BX4aqYDmds+ tZw7sopmvNG84WswHd6WqKIdPPvqm+PGQLPDG7wGhWzAMrPPb6gD5Ai201p+NLYpOV9YXWGdy2VLc Dw7eY5XARqjMGepIEQMI64TS8bNQpn8HvgL1iFnRxRVimJ6oVXv7oCzw1BjanHUajecLYhNEkEfli I3jmhxPwYfEkKOQ2TCTSU8uSmlZDdkJw+ISf2vfd6vNHpSeYW0i5sOnyISdOVcZRaCseEZKdMv0pj /tc+FznYeSFlL7ave3HijlrghWuHJ423Bd5ZbfTtDiPSKhbrnoEgWeCaLvL5U2N7guFUFVtlsus1Z sswsvWlJA==; 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 1jOvVq-0002gg-VZ; Thu, 16 Apr 2020 03:48:26 +0000 Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jOvVg-0002XP-B1; Thu, 16 Apr 2020 03:48:17 +0000 Received: by mail-ed1-x543.google.com with SMTP id ca21so7519510edb.7; Wed, 15 Apr 2020 20:48:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=DYpMfqz1zq603rQOEBVoeHDA0i7zRzLf7WtuMas81V0=; b=nbS0fnm2kL0TuWyAi2j92YFqSqLz+HfnG3IgHQj8GPxpp7u741zE35wyocrJn4HY23 5s8tEPOfysRWq3EzaQGDouDfSnyxAsPKmrQEEI3MRTMQQrG9bq0y0vrGY0Bd5UIm+kSu JeLdRoIrFWsyy5b6u7P2CzFdIZ2mdZXZAMbfnLgPvpsM8UNabPf1+Tro+yD3q0xB8dWO 4R8fAhNA4k85vPrN9Emcab0Zdd2Pu9jLhYjk/iXCUNuRLa0a2VNacLy67AVmCjPwUmAW XrjeuFqb3QzgAX3eJiFh0wwdx599gVN+qHfrF7nI9m4Y0Fk6eeAOLwAIuABj0puwFZCE LjsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DYpMfqz1zq603rQOEBVoeHDA0i7zRzLf7WtuMas81V0=; b=ou9YuUMyhqn370xOkoMcQXTr4p16qjKwjNT2MRMbLQO3Gi+2IZEZ01q5q1OrA+ybde G2es/7q9plLS4x44PUtJPiAxe4ggdF4hsp0tRKhjCLjHNSWm/yjRIucZERtq3Y0Eh9ka H9CNal5FHGSHDttDFv7ltn+RJpfJF8onBq++v3aiZYwCOaZNa0g+pkqPID3crE0w72cL Ygyo6i4QCRmCmaUhB88JHkosoY46GvpGbCOFZQB7F8CoxwDH5xrFQmD6/NwfHFTcYXLC KlZiGeQ1UZLEknu9IE+MaYha0MbzvZTR8Zqs4Z/MWJqzSBHjiQPmJ/rNnMR6jZa1O6t2 TUaA== X-Gm-Message-State: AGi0PuZEOISEko0t/cjh4NPBz9cteXBor/ts3CDutaxXfrjzxv1phEVI 2AiEIQd2Si1eivTP7qtUbIM= X-Google-Smtp-Source: APiQypIt7jQVi3Abg6f3mCTFeiI/2xzq/WIEpbJIuP2F9eKdtVCa6kXtTpUFZhSg0TzcsalgQy7FRg== X-Received: by 2002:a05:6402:2208:: with SMTP id cq8mr4833460edb.293.1587008893775; Wed, 15 Apr 2020 20:48:13 -0700 (PDT) Received: from [192.168.1.3] (ip68-111-84-250.oc.oc.cox.net. [68.111.84.250]) by smtp.gmail.com with ESMTPSA id c14sm2477020eds.79.2020.04.15.20.48.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Apr 2020 20:48:12 -0700 (PDT) Subject: Re: [PATCH v2 0/2] Add a watchdog driver that uses ARM Secure Monitor Calls. To: Julius Werner , Evan Benn References: <20200403052900.258855-1-evanbenn@chromium.org> <890948ef-7276-fdae-d270-eb30eff3eab2@amlogic.com> <243e107c-35c1-2d14-5285-c9e13744963c@amlogic.com> <20200415231215.GA182398@roeck-us.net> From: Florian Fainelli Message-ID: <9d029a04-2a37-cbbe-1932-be34d34f6b69@gmail.com> Date: Wed, 15 Apr 2020 20:48:04 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200415_204816_406815_A7C20B2A X-CRM114-Status: GOOD ( 11.71 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Catalin Marinas , Bjorn Andersson , Manivannan Sadhasivam , Yonghui Yu , Leonard Crestez , Will Deacon , Xingyu Chen , Rob Herring , Andy Shevchenko , Anson Huang , Mauro Carvalho Chehab , Marcin Juszkiewicz , Valentin Schneider , Guenter Roeck , devicetree@vger.kernel.org, LINUX-WATCHDOG , Rob Herring , "moderated list:ARM/Mediatek SoC support" , Jonathan Cameron , Matthias Brugger , "open list:ARM/Amlogic Meson..." , Wim Van Sebroeck , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Jianxin Pan , Greg Kroah-Hartman , LKML , Vinod Koul , Olof Johansson , Shawn Guo , "David S. Miller" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On 4/15/2020 5:56 PM, Julius Werner wrote: >> Can anyone provide advice about making SMCWD_FUNC_ID a device tree >> param directly, vs using the compatible to select from a table. > > Sounds like most people prefer the way with using different compatible > strings? (Personally I don't really care either way.) The PSCI binding itself has provision for specifying function IDs for different functions, and this seems to be followed by other subsystems as well like SCMI: https://www.spinics.net/lists/arm-kernel/msg791270.html I could easily imagine that a firmware would provide two functions IDs (one for AArch32, one for AArch64) and that it could change those over time while not changing the compatible string at all. -- Florian _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic