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=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 DE270C2D0A8 for ; Wed, 23 Sep 2020 19:12:26 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 A17E920BED for ; Wed, 23 Sep 2020 19:12:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=stwcx.xyz header.i=@stwcx.xyz header.b="irdsUkDn"; dkim=temperror (0-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="r0bFgC3x" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A17E920BED Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=stwcx.xyz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4BxSVG71bWzDqbl for ; Thu, 24 Sep 2020 05:12:22 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=stwcx.xyz (client-ip=66.111.4.26; helo=out2-smtp.messagingengine.com; envelope-from=patrick@stwcx.xyz; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=stwcx.xyz Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=stwcx.xyz header.i=@stwcx.xyz header.a=rsa-sha256 header.s=fm3 header.b=irdsUkDn; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=r0bFgC3x; dkim-atps=neutral Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4BxSSd19xvzDqSF for ; Thu, 24 Sep 2020 05:10:55 +1000 (AEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 5CCBA5C00F2; Wed, 23 Sep 2020 15:10:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 23 Sep 2020 15:10:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stwcx.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=fZbntJSw5AC/6/ErSXVjURPQla5 ylhYeqrlp/G4isjA=; b=irdsUkDnTAN0uTReHuPMTurZmhse/GRMXE8RJVsEvP4 gy7lv3moWDfeAc7RdnI0csbZ9frE7ozjbkiR6rbGQggThzIz4SYvUZfSqIlsLUMe SlK8dSVpByF5/3hGnLOzstBi+sRaUQI26KgYZZ5NqHUR47cP6wSNNcMFlnNVRwJz k4Nnbq+fywaN+aQ5ZA5koyH2QPRyTypaohBBOr/UQ7HK1AwFX21MdR87ryLklauN rF318TqCSCk2N5oWyakYXfeXpWCv0qz3Umyi3GqZUtYlniuItuo5F6uJUyRx/w3X 4/1RMqaFFsKUaKNpNRIP0k3ASlbi+MXvumYan9LWWoQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=fZbntJ Sw5AC/6/ErSXVjURPQla5ylhYeqrlp/G4isjA=; b=r0bFgC3x1g9+qFcadfuGFs AQSsAJsp6xJBsc7IJiiBnlsmXMiIZbKeuyFJ0zxMcFDIYx24JjMEOKuV8kGdVTbj esvxXw6O+VTmG1G+sSj1eoGaxFm3cJXf3yQMhG3fxmNC5E2Ay9M8sdRSLIQvy14a EicIkIz6G1tMH9tA3jRlaA9d60WQjG0FWK+jp5rypGcohy03pHYgXYMjX/5201fK iCZhe4jksEmD1QjXtNxd6y9ee9RFq155dXE22LVX77bEu+KL6CKafKneye7O7sJ1 +2wlwdIth5LNK/eGxXxCqj6/UW5jzheJDZk358Apbp0THPbmNe2AcPdJOdsmHzPQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeigddufeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomheprfgrthhrihgtkhcuhghilhhlihgrmhhsuceophgrthhrihgtkhessh htfigtgidrgiihiieqnecuggftrfgrthhtvghrnhepgeehheefffegkeevhedthffgudfh geefgfdthefhkedtleffveekgfeuffehtdeinecukfhppeejiedrvdehtddrkeegrddvfe einecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgr thhrihgtkhesshhtfigtgidrgiihii X-ME-Proxy: Received: from localhost (76-250-84-236.lightspeed.austtx.sbcglobal.net [76.250.84.236]) by mail.messagingengine.com (Postfix) with ESMTPA id B12643064610; Wed, 23 Sep 2020 15:10:51 -0400 (EDT) Date: Wed, 23 Sep 2020 14:10:51 -0500 From: Patrick Williams To: Vijay Khemka Subject: Re: Chassis reset Message-ID: <20200923191051.GR6152@heinlein> References: <46F3C05C-7CEC-42FD-A9B7-8E55AE56FE3F@fb.com> <9EC0D657-2D58-4544-BA9E-65D3C4148A81@fb.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AsKt9WDFSpw8OJmf" Content-Disposition: inline In-Reply-To: X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "openbmc@lists.ozlabs.org" , Ed Tanous Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" --AsKt9WDFSpw8OJmf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 23, 2020 at 05:45:51AM +0000, Vijay Khemka wrote: >=20 > Yes I have 2 chassis instance xyz/openbmc_project/chassis0 and xyz/openbm= c_project/chassis_system0. > Later one is used for AC reset. Can we do a query to see if 'chassis_system0' exists and use it first and then 'chassis0' if not? I think we need to do some enhancement to x86-power-control though also to only create this 'chassis_system0' object if configured. I believe the current code change you did does it always, even if the systemd-target is empty. --=20 Patrick Williams --AsKt9WDFSpw8OJmf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEBGD9ii4LE9cNbqJBqwNHzC0AwRkFAl9rnbkACgkQqwNHzC0A wRll/g//b1ZfCR9GKEzXnDN9p0d3B2uXDuvar5mWFwLAl3MZLx8ZLTVUXB97DHl8 zEqoJ6RF2foHh/i4k9McvhxoTUFkOgy3Tbej5odZDUH4WvGBOHukEfqQBkr2+6wS Pmn4IP0f25dJKby2dpu97m2wVPW5O9bCcRX7kzDHy9D+m+PMgPzgHda1Rm7srDYm cTBatHCkm6ip4fv//skrjxROYi3kjhdYMl1zoZWL1vreModWBbHyIqC6nCDKAA2g EpzusjvSVCHfOIDLonefLiHrh/yhfMuPHQS/LmYvn7w9KrLijaOJCzKo351AE1kU 1Owf/MDy5BtFlM0wkbkZi6Me2ENEgGXUJWOMMnBgwu9X2t8eECPYcMtrsO+XH34W GEZlke9UaSKRBKXoxWd9iCFozuBK5aBivSDiKFj7vJ/fQj3VczqrzAq+twD74tW9 Yl6U+0MzxElLSgEDLu3c19P2MwcEFBZikbvGwkKdPBlDgoiQcgOCL0cWn5Wv28Q/ 0lF/ggG+eaAlnI/C5dNrGo9DCZlxo/s2ZVnXsteO5wgE54dX7NTZr1BhihOkYlOx NVI807UiLD5X3MMpn9EdUPhibQX+c9uhrEBBhDjQmccaj/vLei97fkbYE3CvPexd bPrBFEseEoscTiAeDIx/aIjy81hTrHLAtqQ+kD37CHs+cxgqQZU= =ry+5 -----END PGP SIGNATURE----- --AsKt9WDFSpw8OJmf--