Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions etc/kayobe/ansible/maintenance/pci-passthrough.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
{% endfor %}
{% for item in gpu_list | flatten | unique %}
{% set _ = output.append(stackhpc_gpu_data[item]['vendor_id'] + ':' + stackhpc_gpu_data[item]['product_id']) %}
{% if stackhpc_gpu_data[item].product_audio_id is defined %}
{% set _ = output.append(stackhpc_gpu_data[item]['vendor_id'] + ':' + stackhpc_gpu_data[item]['product_audio_id']) %}
{% endif %}
{% endfor %}
{{ output | join(',') }}
reboot_timeout_s: "{{ 20 * 60 }}"
Expand Down
7 changes: 7 additions & 0 deletions etc/kayobe/stackhpc-compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,10 @@ stackhpc_gpu_data:
vendor_id: "10de"
product_id: "25b6"
device_type: "type-PF"
p4000:
resource_name: "{{ p4000_resource_name | default('p4000') }}"
vendor_id: "10de"
product_id: "1bb1"
product_audio_id: "10f0"
device_type: "type-PCI"

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
features:
- |
Add support for consumer-grade NVIDIA GPUs. These cards expose audio
devices whose IDs must be added to the `vfio-pci.ids` kernel argument
with the display `product_id` for passthrough to work correctly.
Add NVIDIA P4000 support as a working example.
Loading