// Copyright (c) 2020, Intel Corporation.
// SPDX-License-Identifier: BSD-3-Clause

ifdef::manpage[]
ipmctl-show-cel(1)
===================
endif::manpage[]

NAME
----
ipmctl-show-cel - Shows the current PMem module firmware Command Effect Log.

SYNOPSIS
--------
[listing]
ipmctl show [OPTIONS] -cel [TARGETS]

DESCRIPTION
-----------
Retrieves the PMem module command effect log and presents the response as a list of
DimmID, Opcode, SubOpcode and PMem module firmware command effects.

OPTIONS
-------
-h::
-help::
  Displays help for the command.

-ddrt::
  Used to specify DDRT as the desired transport protocol for the current invocation of ipmctl.

-smbus::
  Used to specify SMBUS as the desired transport protocol for the current invocation of ipmctl.

NOTE: The -ddrt and -smbus options are mutually exclusive and may not be used together.

-lpmb::
  Used to specify large transport payload size for the current invocation of ipmctl.

-spmb::
  Used to specify small transport payload size for the current invocation of ipmctl.

NOTE: The -lpmb and -spmb options are mutually exclusive and may not be used together.

ifdef::os_build[]
-o (text|nvmxml)::
-output (text|nvmxml)::
  Changes the output format. One of: "text" (default) or "nvmxml".
endif::os_build[]

TARGETS
-------
-dimm [DimmIDs]::
  Restricts output to specific PMem modules by supplying one or more comma separated
  PMem module identifiers. The default is to display all manageable PMem modules.

EXAMPLES
--------
Lists command effects for all PMem modules installed in the system
[listing]
ipmctl show -cel

Lists command effects for PMem module 0x1001
[listing]
ipmctl show -dimm 0x1001 -cel

LIMITATIONS
-----------
In order to successfully execute this command:

- The caller must have the appropriate privileges.

- The specified PMem modules must be manageable by the host software.

RETURN DATA
-----------
The default behavior is to return a table which lists the command effects per Opcode and SubOpcode.

DimmID::
  The default display of PMem module identifiers. One of:
  - UID: Use the DimmUID attribute as defined in the command Show Device.
  - HANDLE: Use the DimmHandle attribute as defined in the command Show Device.
    This is the default.

Opcode::
  The Opcode for a command.

SubOpcode::
  The SubOpcode for a command.

CE Description::
  A comma separated list that includes one or more of:
  - NE:   No Effect
  - SSC:  Security State Change
  - DCC:  DIMM Configuration Change after reboot
  - IDCC: Immediate DIMM Configuration Change
  - QIO:  Quiesce All IO
  - IDDC: Immediate DIMM Data Change
  - TM:   Test Mode
  - DM:   Debug Mode
  - IDPC: Immediate DIMM Policy Change
