From patchwork Thu May 9 03:08:39 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: 1097315 X-Patchwork-Delegate: hegdevasant@linux.vnet.ibm.com 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44zyxT28vMz9sBV for ; Thu, 9 May 2019 13:09:33 +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="RY5ql52O"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="fZEpXH1d"; 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 44zyxT0WZVzDqKT for ; Thu, 9 May 2019 13:09:33 +1000 (AEST) X-Original-To: skiboot-stable@lists.ozlabs.org Delivered-To: skiboot-stable@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=mendozajonas.com (client-ip=66.111.4.27; helo=out3-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="RY5ql52O"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="fZEpXH1d"; dkim-atps=neutral Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 44zywn5vQnzDqKl; Thu, 9 May 2019 13:08:57 +1000 (AEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B42E9248BE; Wed, 8 May 2019 23:08:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 08 May 2019 23:08:53 -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=8hLYmjOkhMFKR oxDjSQbU2RJzR2gYd2+aRDuz604yCQ=; b=RY5ql52OdvQWS412f15CnVQRiTWmx s7NHVW+PAaoZJWc3X6RaisTLirrORiykO3IfKsMyvaMhg0ypXB6y8YNiEXorOChO LU/aVuJXCI/L7NXZ/HuPt1mE+XY5/nyFxgBT4PzHWcD4/jW3sIrYvSembv83OfKm borDFkVgFIwKO/uGkeCNsHVVBLjyVE50X0cXnOvrz7qqZXOY1M67/bo8JAiroMdW tJUveQiwfwIlv6hf7Wdf1970pG/eFUEfzr9+Wwf8Z3y8k9zDZV+RZ0EXh8tFH2Tc fVmzU0pwS6RMrWRpJlDzlA1QMkpvWx4VF8axqtO0gdyfI82c64w9wksLA== 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=8hLYmjOkhMFKRoxDj SQbU2RJzR2gYd2+aRDuz604yCQ=; b=fZEpXH1dfwQsGQpIgdiXQl3xhUlPHknmt veaGCM+lhiDPtD0SLuQPZiJADb89uR/xTrpC1LjAqQeOpgcGMEwl974LKFNQi7ef I5djWIGIqPf2ZpDBKNHR/3FyWEDLGaiKpOG2TaDPt4v9Ymy4z9X2erWe5LeClnWb 44n2iQkGqqFn5sLy1+m1ov4HXXjrdfrowN4alfU8CCqNoYfcZXzphJVH9jGfnGs9 Cqd4SbttboS+ZRx6YLGAIVC/i9d+VBjDzqIFmoWndq2BkBbceQ459UMJOtkLqipC w5kSN2qzpZHJcfkoE267pBH0/qcdJK5mLS6oVKaz9LwcPI+ETMuqQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrkeeggdeiiecutefuodetggdotefrodftvf 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 44CB68005A; Wed, 8 May 2019 23:08:50 -0400 (EDT) From: Samuel Mendoza-Jonas To: skiboot@lists.ozlabs.org Date: Thu, 9 May 2019 13:08:39 +1000 Message-Id: <20190509030841.30628-1-sam@mendozajonas.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [Skiboot-stable] [PATCH v7 1/3] include/ipmi: Fix incorrect chassis commands X-BeenThere: skiboot-stable@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Patches, review, and discussion for stable releases of skiboot" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: skiboot-stable@lists.ozlabs.org Errors-To: skiboot-stable-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot-stable" 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 Reviewed-by: Andrew Jeffery --- 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