Difference between revisions of "Skiboot/NVRAM"

From RCS Wiki
Jump to navigation Jump to search
(Add bootargs setting and nvram usage tidbit)
(Add vas-user-space option & description)
Line 26: Line 26:
  
 
  <nowiki>nvram -p ibm,skiboot --update-config bootargs='modprobe.blacklist=ast'</nowiki>
 
  <nowiki>nvram -p ibm,skiboot --update-config bootargs='modprobe.blacklist=ast'</nowiki>
 +
 +
== vas-user-space ==
 +
 +
=== Description ===
 +
Enable the Virtual Accelerator Switchboard (VAS) userspace support
 +
 +
=== Details ===
 +
This allows Linux 5.8 and up to interact with the VAS, which is currently used to provide a userspace interface to the nx-gzip accelerator. Note that this option requires skiboot 6.6 or newer, which is not currently shipped by any RCS firmware release.
 +
 +
<nowiki>nvram -p ibm,skiboot --update-config vas-user-space=enable</nowiki>

Revision as of 09:42, 23 August 2020

Known NVRAM settings in Skiboot

A loose collection of known NVRAM settings in Skiboot. These should eventually be exposed via the Petiboot TUI.

To query the state of these settings, execute the following from the petitboot shell, or from a host OS with the nvram utility installed:

nvram -p ibm,skiboot --print-config

pcie-max-link-speed

Description

PCIe Link Speed Cap

Details

To cap the link speed, change the "pcie-max-link-speed" variable to the maximum generation you want to support and re-IPL the machine. For instance, to cap at PCIe Generation 3, in the petitboot command line type:

nvram -p ibm,skiboot --update-config pcie-max-link-speed=3

bootargs

Description

Skiroot kernel command line parameters

Details

Controls the arguments passed to the skiroot kernel. For example, to prevent petitboot from appearing on the AST video output and prefer another GPU if available:

nvram -p ibm,skiboot --update-config bootargs='modprobe.blacklist=ast'

vas-user-space

Description

Enable the Virtual Accelerator Switchboard (VAS) userspace support

Details

This allows Linux 5.8 and up to interact with the VAS, which is currently used to provide a userspace interface to the nx-gzip accelerator. Note that this option requires skiboot 6.6 or newer, which is not currently shipped by any RCS firmware release.

nvram -p ibm,skiboot --update-config vas-user-space=enable