blob: dd64dc3de9d9ab15bc9849fbba09f9d165fac96e [file]
option('tests', type: 'feature', description: 'Build tests', value: 'enabled')
option(
'stanbyToDC',
type: 'feature',
description: 'Use for MAnager ready feature',
value: 'enabled',
)
option(
'shmem',
type: 'feature',
description: 'Use NVIDIA Shared-Memory IPC',
value: 'enabled',
)
option(
'progressCounter',
type: 'feature',
description: 'Enable sensors progress counter functionality with memfd',
value: 'enabled',
)
option(
'reset-metrics',
type: 'feature',
description: 'Enable reset metrics feature',
value: 'disabled',
)
option(
'system-guid',
type: 'feature',
description: 'Enable System GUID feature',
value: 'disabled',
)
option(
'grace-spi-operations',
type: 'feature',
description: 'Enable nsm spi operations',
value: 'disabled',
)
option(
'grace-spi-operations-raw-debug-dump',
type: 'feature',
description: 'Enable dumping raw nsm spi operation messages for debugging',
value: 'disabled',
)
option(
'sensor-polling-time',
type: 'integer',
min: 1,
max: 4294967295,
description: 'The interval time of sensor polling in milliseconds',
value: 150,
)
option(
'sensor-progress-counters-dump-count-threshold',
type: 'integer',
min: 1,
max: 4294967295,
description: 'The count threshold for sensor progress counter dumps',
value: 100000,
)
option(
'sensor-progress-counters-dump-time-threshold',
type: 'integer',
min: 1,
max: 4294967295,
description: 'The time threshold for sensor progress counter dumps in microseconds',
value: 600000000,
)
option(
'sensor-progress-counters-memfd-size',
type: 'integer',
min: 4096,
max: 16777216,
description: 'The memfd size in bytes for sensor progress counter dumps',
value: 65536,
)
option(
'sensor-polling-time-gpm',
type: 'integer',
min: 1,
max: 4294967295,
description: 'The interval time of GPM sensor polling in milliseconds',
value: 1000,
)
option(
'mctp-eid-filtering',
type: 'boolean',
description: 'Enable MCTP filtering',
value: false,
)
option(
'mctp-eid-to-filter',
type: 'integer',
description: 'MCTP EID to filter',
value: 0,
)
option(
'device-update-post-patch-sleep',
type: 'integer',
min: 0,
max: 4294967295,
description: 'The interval size in which post/patch operation will be paused when device update is in progress',
value: 250,
)
option(
'device-update-post-patch-sleep-iteration',
type: 'integer',
min: 1,
max: 4294967295,
description: 'Max number of iteration async sleep will be called when device update is in progress',
value: 40,
)
option(
'num-gpu-per-module',
type: 'integer',
description: 'Total number of GPU in each processor module.',
value: 2,
)
option(
'gpio-name',
type: 'string',
value: 'GPU_BASE_PWR_GD',
description: 'GPIO name for NSM',
)
option(
'sensor-polling-time-long-running',
type: 'integer',
min: 1,
max: 4294967295,
description: 'The interval time of sensor polling in milliseconds for NSM Long-running requests',
value: 10000,
)
option(
'allowed-buffer-in-ms-for-polling',
type: 'integer',
min: 1,
max: 4294967295,
description: 'Max allowable deviation in milliseconds from the desired polling interval. If within buffer, skip sleeping. Helps in minimizing delay.',
value: 20,
)
option(
'inactive-sleep-time-in-ms',
type: 'integer',
min: 1,
max: 4294967295,
description: 'Time in milliseconds to sleep for if device is inactive, before starting polling again.',
value: 1000,
)
option(
'rr-refresh-limit',
type: 'integer',
min: 1,
max: 4294967295,
description: 'Refresh limit in millseconds for round robin sensors. Round robin sensors are refreshed every `n` millseconds',
value: 30000,
)
option(
'mockup-responder',
type: 'feature',
description: 'Mockup Responder',
value: 'enabled',
)
option(
'instance-id-expiration-interval',
type: 'integer',
min: 1,
max: 4294967295,
description: 'The interval time of NSM instance id expiration in seconds',
value: 5,
)
option(
'number-of-request-retries',
type: 'integer',
min: 1,
max: 4294967295,
description: 'The number of NSM request retries',
value: 2,
)
option(
'response-time-out',
type: 'integer',
min: 1,
max: 4294967295,
description: 'The interval time of NSM response time out in milliseconds',
value: 2000,
)
option(
'response-time-out-long-running',
type: 'integer',
min: 1,
max: 4294967295,
description: 'The interval time of NSM response time out in milliseconds for NSM Long-running event response. The NSM Specification defines Long Running Request timeout as 1 second. Value of 3 seconds is selected here to accommodate for latency.',
value: 3000,
)
option(
'local-eid',
type: 'integer',
min: 1,
max: 254,
description: 'The default local EID',
value: 254,
)
option(
'aer-error-status-priority',
type: 'boolean',
value: false,
description: 'Aer Error Status Sensor Priority',
)
option(
'per-lan-error-count-priority',
type: 'boolean',
value: false,
description: 'Per Lane Error Count Sensor Priority',
)
option(
'error-injection-priority',
type: 'boolean',
value: false,
description: 'Error Injection Priority',
)
option(
'confidential-compute-mode',
type: 'boolean',
value: false,
description: 'Confidential Compute Mode Sensor Priority',
)
option(
'confidential-compute-devtool-mode',
type: 'boolean',
value: false,
description: 'Confidential Compute Devtool Mode Sensor Priority',
)
option(
'enable-in-kernel-mctp',
type: 'feature',
value: 'disabled',
description: 'Use the in-kernel MCTP stack instead of the demux daemon',
)
option(
'accelerator-dbus',
type: 'feature',
value: 'enabled',
description: 'Expose Accelerator D-Bus Interface for Processor'
)
option(
'delay-between-concurrent-requests',
type: 'integer',
value: 5000,
min: 1,
max: 100000,
description: 'The minimum required interval time in microseconds between two concurrent requests' ,
)
option(
'fixup-missing-event-notification',
type: 'feature',
value: 'disabled',
description: 'This is a work around to solve an issue on Bianca where we are not getting a MCTP rediscovery event on GPU reset to setup event notifications'
)
option(
'enable-histogram',
type: 'feature',
description: 'Enable histogram feature on devices',
value: 'enabled',
)
option(
'enable-debug-token',
type: 'feature',
description: 'Enable Debug Token objects and interfaces',
value: 'enabled',
)
option(
'enable-dot',
type: 'feature',
description: 'Enable DOT (Device Ownership Transfer) objects and interfaces',
value: 'disabled',
)
option(
'enable-debug-info',
type: 'feature',
description: 'Enable Debug Info, Log, and EraseTrace objects',
value: 'enabled',
)
option(
'enable-error-injection',
type: 'feature',
description: 'Enable Error Injection sensors and interfaces',
value: 'disabled',
)
option(
'tracing',
type: 'feature',
description: 'Enable UST tracing with LTTng',
value: 'disabled',
)
option(
'nvidia-fpga-pcie-reference-clock-count',
type: 'feature',
value: 'enabled',
description: 'Enable PCIE reference clock count',
)
# nsmEvent controls: by default only LongRunning is included
option(
'nsm-event-all',
type: 'boolean',
description: 'Include all NSM event sources',
value: true,
)
option(
'nsm-event-include',
type: 'array',
description: 'List of NSM events to include (rediscovery, xid, threshold, reset-required, fabric-manager-state)',
value: [],
)
# nsmSetAsync controls: by default only infra sources are included
option(
'nsm-set-async-all',
type: 'boolean',
description: 'Include all nsmSetAsync operation sources',
value: true,
)
option(
'nsm-set-async-include',
type: 'array',
description: 'List of nsmSetAsync operations to include (error-injection, mig-mode, ecc-mode, cpu-operating-config, write-protected, egm-mode)',
value: [],
)
# nsmPort controls: by default only infra sources are included
option(
'nsm-port-all',
type: 'boolean',
description: 'Include all nsmPort sources',
value: true,
)
option(
'nsm-port-include',
type: 'array',
description: 'List of nsmPort sources to include (retimer, fpga, gpu-pcie, nvlink-port, pcie-port, zone, endpoint, port-disable)',
value: [],
)
# nsmChassis controls: by default only infra sources are included
option(
'nsm-chassis-all',
type: 'boolean',
description: 'Include all nsmChassis sources',
value: true,
)
option(
'nsm-chassis-include',
type: 'array',
description: 'List of nsmChassis sources to include (nv-nic-chassis, nv-nic-chassis-assembly, pcie-retimer, led, pcie-device, pcie-slot, clock-output-enable, power-supply-status, gpu-presence-power, pcie-function, pcie-ltssm, power-control, gpu-clock-control, power-subsystem, write-protected-jumper, aer-error, erot, security-rbp, processor-module-power-control, irot-responder)',
value: [],
)
# nsmSensors controls: by default only infra sources are included
option(
'nsm-sensors-all',
type: 'boolean',
description: 'Include all nsmSensors sources',
value: true,
)
# nsmDbusIfaceOverride controls
option(
'nsm-dbus-override-all',
type: 'boolean',
description: 'Include all nsmDbusIfaceOverride sources',
value: true,
)
option(
'nsm-dbus-override-include',
type: 'array',
description: 'List of nsmDbusIfaceOverride sources to include (asset, nvlink-topology)',
value: [],
)
option(
'nsm-sensors-include',
type: 'array',
description: 'List of nsmSensors sources to include (inventory-property, pcie-link-speed, error-injection)',
value: [],
)
# nsmd subdirectory toggles (default: disabled)
option(
'nsmd-subdirs-all',
type: 'boolean',
value: true,
description: 'Include all nsmd subdirectories by default',
)
option(
'nsmd-subdirs-include',
type: 'array',
value: [],
description: 'Explicit list of nsmd subdirectories to include when nsmd-subdirs-all=false',
)
# nsmDeviceInventory controls: by default only infra sources are included
option(
'nsm-device-inventory-all',
type: 'boolean',
description: 'Include all nsmDeviceInventory sources',
value: true,
)
option(
'nsm-device-inventory-include',
type: 'array',
description: 'List of nsmDeviceInventory sources to include (switch, pcie-retimer-fabrics, pcie-retimer-switch, network-adapter)',
value: [],
)
# libnsm controls
option(
'libnsm-all',
type: 'boolean',
description: 'Include all libnsm C sources (except where owned by other modules)',
value: true,
)
option(
'libnsm-include',
type: 'array',
description: 'List of libnsm modules to include (debug-token, firmware-utils, device-capability-discovery, device-configuration, diagnostics, platform-environmental, pci-links, network-ports)',
value: [],
)
option(
'enable-pcie-aer-error',
type: 'feature',
description: 'Enable PCIe AER error status sensor/object',
value: 'enabled',
)
option(
'enable-clock-output-state',
type: 'feature',
description: 'Enable clock output state sensor/object',
value: 'enabled',
)
option(
'enable-pcie-ltssm-state',
type: 'feature',
description: 'Enable PCIe LTSSM state sensor/object',
value: 'enabled',
)
# CX-8 feature profile toggle
option(
'cx8-features',
type: 'boolean',
description: 'Enable CX-8 feature profile (sets includes and disables debug/histogram/error-injection)',
value: false,
)
option(
'enable-network-adapter-reset',
type: 'feature',
description: 'Enable Network Adapter Reset sensor/object',
value: 'enabled',
)
option(
'enable-network-adapter-protection-option',
type: 'feature',
description: 'Enable Network Adapter write protection sensor/object',
value: 'disabled',
)