Skip to content

amdxdna: add VE2 auxiliary driver probe and device init#10

Open
rajkumar-xilinx wants to merge 1 commit intosaifuddin-xilinx:ve2_upstream_v1from
rajkumar-xilinx:15apr_ve2
Open

amdxdna: add VE2 auxiliary driver probe and device init#10
rajkumar-xilinx wants to merge 1 commit intosaifuddin-xilinx:ve2_upstream_v1from
rajkumar-xilinx:15apr_ve2

Conversation

@rajkumar-xilinx
Copy link
Copy Markdown

@rajkumar-xilinx rajkumar-xilinx commented Apr 15, 2026

  1. Add amdxdna_aux_drv.c as the auxiliary_bus glue: DMA mask and amdxdna_dev_init ordering aligned with PCI.
  2. Implement ve2_init/fini in ve2_aux.c from the out-of-tree VE2 path: device handle, AIE topology via aie_get_device_info(), firmware load and cert broadcast, per-column fw_slots.
  3. Keep dev_ve2_info and ve2_aux_priv next to ve2_ops in ve2_aux.c
  4. Define VE2-specific struct amdxdna_dev_hdl in ve2_aux.h
  5. select PCI dev_info from pci_device_id driver_data rev maps: Refactor amdxdna_pci_drv.c so board selection matches the auxiliary driver pattern, each pci_device_id uses .driver_data to point at a null-terminated array of (revision, dev_info) entries instead of a separate amdxdna_ids[] table and amdxdna_get_dev_info().

1) Add amdxdna_aux_drv.c as the auxiliary_bus glue: DMA mask and amdxdna_dev_init
ordering aligned with PCI.
2) Implement ve2_init/fini in ve2_aux.c from the out-of-tree VE2 path:
device handle, AIE topology via aie_get_device_info(), firmware load and cert broadcast,
per-column fw_slots.
3) Keep dev_ve2_info and ve2_aux_priv next to ve2_ops in ve2_aux.c
4) Define VE2-specific struct amdxdna_dev_hdl in ve2_aux.h
5) select PCI dev_info from pci_device_id driver_data rev maps:
Refactor amdxdna_pci_drv.c so board selection matches the auxiliary driver pattern, each pci_device_id uses
.driver_data to point at a null-terminated array of (revision, dev_info) entries instead of a
separate amdxdna_ids[] table and amdxdna_get_dev_info().

Signed-off-by: Raj Kumar Rampelli <raj.kumar.rampelli@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant