From patchwork Wed Apr 24 03:35:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Mendoza-Jonas X-Patchwork-Id: 1089872 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44pmQZ3n0gz9s3q for ; Wed, 24 Apr 2019 13:44:22 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="LB0Aa3e9"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="f5UEDt8C"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 44pmQZ1PFkzDqTh for ; Wed, 24 Apr 2019 13:44:22 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=mendozajonas.com (client-ip=64.147.123.25; helo=wout2-smtp.messagingengine.com; envelope-from=sam@mendozajonas.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="LB0Aa3e9"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="f5UEDt8C"; dkim-atps=neutral X-Greylist: delayed 469 seconds by postgrey-1.36 at bilbo; Wed, 24 Apr 2019 13:44:11 AEST Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 44pmQM2PN4zDqTV for ; Wed, 24 Apr 2019 13:44:11 +1000 (AEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 8A08743A; Tue, 23 Apr 2019 23:36:18 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 23 Apr 2019 23:36:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= mendozajonas.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=fm2; bh=ETr4S6/lelWqn EnCASR0cqnlqSBqCrDBXoXbZWK3Nmo=; b=LB0Aa3e9F6ltEB+NG4CyjuuqK/TQo JpqSQ5rk8BFv4Ab9N8DcLKWleRhf+C/QWQxIXq1Ja1P+q+vK+wqlTVThYd9VHjUO eW0GvclMvd2zpjNz1B7A5LlpjI9bjqdMdNkmepzlgJyVWqmY8bMbHME35lmLn7cT fW0svo9T8VswW41fE837F2c4wxYcct/zy3f0Xo9wIxQcXXO3jeo3ssRCbuAyEmUn VTPN7Pxo2Q5PBemLo0utEQWyJomVZZqd0XwIT0c5Zks2s7X2GU5NJkrRLoKDj7yN sdA/nqJJsxsjK7YO+e5KJacAmcOb7amL1UcEz18v4am/E9T3Y8p3QDsOQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ETr4S6/lelWqnEnCA SR0cqnlqSBqCrDBXoXbZWK3Nmo=; b=f5UEDt8CwFVXzn1qeOrAmuICDJLTUY6yz yEwFO2uYk+8Ej5RVlD8TeMoJm1Zw/zmmCNzAaM9GbVmOuQ6l8ZDygcYgB8JrLBNP xcOCvqLOokkdtzwnf2aVM9vJMVewBX7gNrzz/jagXZxDGT8jpbmwJq/iylXxTxWZ mtQdkeXQYeU31phFvGkTMncaHktRGwSackGit0RBJuol9WjX8kxvXUMy4TDpRA2e aJTYUUvcSYo4hABYgFp9Sg6t54aMrGUzTKVye2yjAdcu9V7YcQvzEKUeky+SH63W /3F7lv6XjW68J1SUt0EVmnmBESLbxGP1neiFbr7SmlHwQqU2njveQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeelgdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpefurghmuhgvlhcuofgvnhguohiirgdqlfhonhgrshcuoehsrghmsehm vghnughoiigrjhhonhgrshdrtghomheqnecukfhppeduvddvrdelledrkedvrddutdenuc frrghrrghmpehmrghilhhfrhhomhepshgrmhesmhgvnhguohiirghjohhnrghsrdgtohhm necuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from v4.ozlabs.ibm.com (unknown [122.99.82.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 952A8103CD; Tue, 23 Apr 2019 23:36:16 -0400 (EDT) From: Samuel Mendoza-Jonas To: skiboot@lists.ozlabs.org Date: Wed, 24 Apr 2019 13:35:55 +1000 Message-Id: <20190424033557.6678-1-sam@mendozajonas.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Skiboot] [PATCH 1/3] include/ipmi: Fix incorrect chassis commands X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Mendoza-Jonas Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" These commands are listed in the order they appear in the IPMI specification but with the wrong values - correct them! Signed-off-by: Samuel Mendoza-Jonas --- include/ipmi.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/ipmi.h b/include/ipmi.h index 4999bb5a..da85c4b0 100644 --- a/include/ipmi.h +++ b/include/ipmi.h @@ -47,13 +47,13 @@ #define IPMI_CHASSIS_CONTROL_CMD 0x02 #define IPMI_CHASSIS_RESET_CMD 0x03 #define IPMI_CHASSIS_IDENTIFY_CMD 0x04 -#define IPMI_CHASSIS_SET_PANEL_BUTTON_EN_CMD 0x05 -#define IPMI_CHASSIS_SET_CAP_CMD 0x06 -#define IPMI_CHASSIS_SET_PWR_RESTORE_CMD 0x07 -#define IPMI_CHASSIS_SET_PWR_CYCLE_CMD 0x08 -#define IPMI_CHASSIS_GET_SYS_RESTART_CAUSE_CMD 0x09 -#define IPMI_CHASSIS_SET_SYS_BOOT_OPT_CMD 0x0a -#define IPMI_CHASSIS_GET_SYS_BOOT_OPT_CMD 0x0b +#define IPMI_CHASSIS_SET_PANEL_BUTTON_EN_CMD 0x0a +#define IPMI_CHASSIS_SET_CAP_CMD 0x05 +#define IPMI_CHASSIS_SET_PWR_RESTORE_CMD 0x06 +#define IPMI_CHASSIS_SET_PWR_CYCLE_CMD 0x0b +#define IPMI_CHASSIS_GET_SYS_RESTART_CAUSE_CMD 0x07 +#define IPMI_CHASSIS_SET_SYS_BOOT_OPT_CMD 0x08 +#define IPMI_CHASSIS_GET_SYS_BOOT_OPT_CMD 0x09 #define IPMI_CHASSIS_GET_POH_COUNTER_CMD 0x0f