Skip to main content
  1. Home >
  2. Products >
  3. Computing Products >
  4. Servers >
  5. Fujitsu SPARC servers >
  6. Downloads >
  7. User Manuals >
  8. Fujitsu SPARC M12-2/M12-2S Service Manual >
  9. 9.3.6 Statically Releasing the PCIe Endpoint From a Logical Domain

9.3.6 Statically Releasing the PCIe Endpoint From a Logical Domain


9.3.6 Statically Releasing the PCIe Endpoint From a Logical Domain
The operation of statically releasing the PCIe endpoint from a logical domain must be performed from the control domain.
Before removing the PCIe endpoint, confirm that it is not being used by the logical domain. For details, see the manual for the software being used.
For information on how resources are moved when the assignment of the PCIe endpoint is statically released, see Figure 9-3.
Table 9-7 lists the procedure for statically releasing a PCIe endpoint.
Table 9-7  Procedure for Statically Releasing a PCIe Endpoint
Step Operation Description Execution Location Command Used
1 Checking the assignment status of PCIe endpoints Control domain primary# ldm list-io
2 Stopping the I/O domain assigned the PCIe endpoint to be released Control domain primary# ldm stop-domain <‌domain-name>‌
3 Releasing the PCIe endpoint assigned to the I/O domain Control domain primary# ldm remove-io <‌device>‌ <‌domain-name>‌
4 Setting delayed reconfiguration for the control domain or root domain Control domain primary# ldm start-reconf <‌domain-name>‌
5 Assigning the released PCIe endpoint to the control domain or root domain Control domain primary# ldm add-io <‌device>‌ <‌domain-name>‌
6 Restarting Oracle Solaris on the domain (control domain or root domain) that is set for delayed reconfiguration Control domain When delayed reconfiguration has been set for the control domain
primary# shutdown -i6 -g0 -y
When delayed reconfiguration has been set for the root domain
primary# ldm stop-domain -r <‌domain-name>‌
7 Confirming that the PCIe endpoint was released from the I/O domain Control domain primary# ldm list-io
The following example executes the commands for releasing the PCIe endpoint assigned to the logical domain io-domain.
  1. Check the assignment status of PCIe endpoints to logical domains.
    In this example, PCI slot #5 of the SPARC M12-2S of BB-ID#01 is assigned to the logical domain guest.
primary# ldm list-io
NAME TYPE BUS DOMAIN STATUS
---- ---- --- ------ ------

(Omitted)
/BB1/PCI4 PCIE PCIE13 primary EMP
/BB1/PCI5 PCIE PCIE11 guest OCC
/BB1/PCI6 PCIE PCIE12 primary EMP
(Omitted)
  1. Stop the I/O domain assigned the PCIe endpoint to be released.
    Stop the I/O domain guest.
primary# ldm stop-domain guest
LDom guest stopped
  1. Release the PCIe endpoint from the I/O domain.
    Release PCI slot #5 of the SPARC M10-2S of BB-ID#01 from the I/O domain guest.
primary# ldm remove-io /BB1/PCI5 guest
  1. Set delayed reconfiguration for the control domain or root domain.
    In this example, delayed reconfiguration is set for the control domain.
primary# ldm start-reconf primary
Initiating a delayed reconfiguration operation on the primary domain.
All configuration changes for other domains are disabled until the primary
domain reboots, at which time the new configuration for the primary domain
will also take effect.
  1. Assign the released PCIe endpoint to the control domain or root domain.
    Assign PCI slot #5 of the SPARC M12-2S of BB-ID#01 to the control domain.
primary# ldm add-io /BB1/PCI5 primary
  1. Restart Oracle Solaris on the control domain or root domain (the one set for delayed reconfiguration in step 4).
primary# shutdown -i6 -g0 -y
  1. Confirm that the PCIe endpoint was released from the I/O domain.
    Confirm that PCI slot #5 of the SPARC M12-2S of BB-ID#01 has been assigned to the control domain.
primary# ldm list-io
NAME TYPE BUS DOMAIN STATUS
---- ---- --- ------ ------

(Omitted)
/BB1/PCI4 PCIE PCIE13 primary EMP
/BB1/PCI5 PCIE PCIE11 primary OCC
/BB1/PCI6 PCIE PCIE12 primary EMP
(Omitted)