ARM-software / bsa-acs

Arm SystemReady : BSA Architecture Compliance Suite
Apache License 2.0
17 stars 42 forks source link

BSA tests 605 and 862 rely on val_dma_create_info_table but Val code never calls it #337

Open camwilde77 opened 2 weeks ago

camwilde77 commented 2 weeks ago

Both BSA tests 605 and 862 call val_get_dma_info.

The header of that function states: @brief Single entry point to return all DMA Controller related information.

  1. Caller - Test Suite 2. Prerequisite - val_dma_create_info_table @param info_type - Type of DMA controller whose index needs to be returned @param instance - id (0' based) for which the info has to be returned

Grepping through the BSA repo, the val_dma_create_info_table is never called and thus no DMA controllers are found.

Shouldn't the test setup or the val side of things call this function?

rajatgoyal47 commented 1 week ago

Hello,

Both tests are executed in a Linux environment or on bare metal.

For more details about the Linux environment, you can refer to the following link: https://gitlab.arm.com/linux-arm/linux-acs/-/blob/master/acs-drv/files/bsa_acs_drv.c#L107

These tests are skipped in a UEFI environment, which is why the function is not being called.

Regards, ACS Team

camwilde77 commented 4 days ago

We are doing bare metal and we still don't see a call in the test suite. Where do we expect a call?

rajatgoyal47 commented 4 days ago

Hi,

Thanks for reporting this issue. We will work on resolving it and keep you updated.

Regards, ACS Team