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.3 required=3.0 tests=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 51032C4BA0B for ; Wed, 26 Feb 2020 11:59:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2E21524685 for ; Wed, 26 Feb 2020 11:59:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726538AbgBZL7Q (ORCPT ); Wed, 26 Feb 2020 06:59:16 -0500 Received: from foss.arm.com ([217.140.110.172]:34882 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726272AbgBZL7Q (ORCPT ); Wed, 26 Feb 2020 06:59:16 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EEB6C1FB; Wed, 26 Feb 2020 03:59:15 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 84E403FA00; Wed, 26 Feb 2020 03:59:14 -0800 (PST) Date: Wed, 26 Feb 2020 11:59:12 +0000 From: Sudeep Holla To: Elliot Berman Cc: Mark Rutland , Lorenzo Pieralisi , Bjorn Andersson , Trilok Soni , Prasad Sodagudi , David Collins , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Sudeep Holla Subject: Re: [PATCH v2 2/3] firmware: psci: Add support for dt-supplied SYSTEM_RESET2 type Message-ID: <20200226115912.GC8613@bogus> References: <1582577858-12410-1-git-send-email-eberman@codeaurora.org> <1582577858-12410-3-git-send-email-eberman@codeaurora.org> <20200225110346.GF32784@bogus> <1d7fecf8-3a7f-57e5-5c13-73de89d52aa2@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d7fecf8-3a7f-57e5-5c13-73de89d52aa2@codeaurora.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Tue, Feb 25, 2020 at 05:37:53PM -0800, Elliot Berman wrote: [...] > Alternatively, I could rename the DT property to > "arm,psci-sys-reset2-vendor-param" Yes much better. > and then always set the 31st bit so that it is impossible to provide an > invalid architectural reset type in DT. > Indeed this is what I was expecting and hence raised issue here. So that one can't make use of architectural ID space just by adding param in DT. -- Regards, Sudeep 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.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,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 3A6D1C4BA0B for ; Wed, 26 Feb 2020 11:59:19 +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 0BF0124684 for ; Wed, 26 Feb 2020 11:59:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kiMcuNZb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0BF0124684 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Tr2bJnitZsxfMjQb5cX4jJMrb2xlkR9OHCtMuyGCIkA=; b=kiMcuNZbRNMUIn hRkcTgUlGmNBhYGuD+QtuEtXjgjBCrF5FiEV0lhTelpn+c5z66jAw1c099YgT92AUezj4cFuSAhHo oe6wO8TTyFKqHLvpZ5x+vrwajz8TuUKqN+ltiV2XM9WnezOqsGiJJ4+yiU8H+X0wwDH3YoV5fFVQW qhotCMnGVZMlnYYaqkYSzLDFdzStuT7lXbL5jwm5C447jxXggl73LDflLbQy0t792ZxjEMrHMgOoT IB1iulRFHEWq4oe4/oDJqviwZHiffSgfVspfQ/RSalaYZod2oUt3IOF2Z2nkrdcQiMAW+j9KYlME2 6J5BOzGPO3CMwOjPRKtA==; 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 1j6vLS-0002oX-OE; Wed, 26 Feb 2020 11:59:18 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j6vLQ-0002oC-EF for linux-arm-kernel@lists.infradead.org; Wed, 26 Feb 2020 11:59:17 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EEB6C1FB; Wed, 26 Feb 2020 03:59:15 -0800 (PST) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 84E403FA00; Wed, 26 Feb 2020 03:59:14 -0800 (PST) Date: Wed, 26 Feb 2020 11:59:12 +0000 From: Sudeep Holla To: Elliot Berman Subject: Re: [PATCH v2 2/3] firmware: psci: Add support for dt-supplied SYSTEM_RESET2 type Message-ID: <20200226115912.GC8613@bogus> References: <1582577858-12410-1-git-send-email-eberman@codeaurora.org> <1582577858-12410-3-git-send-email-eberman@codeaurora.org> <20200225110346.GF32784@bogus> <1d7fecf8-3a7f-57e5-5c13-73de89d52aa2@codeaurora.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1d7fecf8-3a7f-57e5-5c13-73de89d52aa2@codeaurora.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200226_035916_521744_4FDC98A3 X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. 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: Mark Rutland , Trilok Soni , Lorenzo Pieralisi , David Collins , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Sudeep Holla , Prasad Sodagudi , 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 On Tue, Feb 25, 2020 at 05:37:53PM -0800, Elliot Berman wrote: [...] > Alternatively, I could rename the DT property to > "arm,psci-sys-reset2-vendor-param" Yes much better. > and then always set the 31st bit so that it is impossible to provide an > invalid architectural reset type in DT. > Indeed this is what I was expecting and hence raised issue here. So that one can't make use of architectural ID space just by adding param in DT. -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel