Skip to content

[BUG] Userspace structures in uapi/user are not using ABI header  #1403

Closed

Description

@lgirdwood

Describe the bug
Userspace has no way of informing FW or driver of ABI used for binary kcontrol data.

Expected behavior
Userspace will use struct sof_abi_hdr as header for all binary kcontrol structures.

Impact
showstopper. will cause random breakage in the future.

Needs added to FW headers, kernel headers and userspace tools.

Activity

  1. added
    bugSomething isn't working as expected
    P1Blocker bugs or important features
    on May 9, 2019
  2. lgirdwood commented on May 9, 2019

    @lgirdwood
    MemberAuthor

    @plbossart fyi, needs to be done prior to next kernel release.

  3. lgirdwood commented on May 9, 2019

    @lgirdwood
    MemberAuthor

    @plbossart I see this has just been removed from kernel uapi, so it just a FW/tool change now.

  4. wenqingfu commented on May 13, 2019

    @wenqingfu

    Liam agreed to fix it

  5. added this to the 1.3 milestone on May 13, 2019
  6. lgirdwood commented on May 31, 2019

    @lgirdwood
    MemberAuthor

    @singalsu I'm looking for users of the structures in include/user/eq.h but cant find any non firmware users ? How is the ABI currently specified for this data ?

  7. lgirdwood commented on May 31, 2019

    @lgirdwood
    MemberAuthor

    @singalsu one more thing, I also cant see where eqctl inserts ABI information, I guess this in the .txt files ?

  8. ranj063 commented on May 31, 2019

    @ranj063
    Collaborator

    @lgirdwood yes the ABI is manually added into the txt files

  9. lgirdwood commented on Jun 5, 2019

    @lgirdwood
    MemberAuthor

    Merged #1517

  10. singalsu commented on Jun 5, 2019

    @singalsu
    Collaborator

    @lgirdwood The EQ tool gets the ABI via function SOF/tools/tune/eq/eq_get_abi.m. Currently the version is hard coded there manually to 3.0.0.

    I've been wondering if tools like sof-ctl could return the ABI header in usable form for Matlab code. The C headers can't be used for other languages easily.

  11. lgirdwood commented on Jun 5, 2019

    @lgirdwood
    MemberAuthor

    @singalsu I intend to add some features requests for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1Blocker bugs or important featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions