Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-11554

Udma_rmGetSciclientDefaultBoardCfgRmRange() error check is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • PDK
    • PDK-13387
    • PROCESSOR_SDK_09.00.00
    • PROCESSOR_SDK_09.01.00
    • Hide
      j721e-evm
      j7200-evm
      j721s2-evm
      j784s4-evm
      Show
      j721e-evm j7200-evm j721s2-evm j784s4-evm

      Description
      The input argument error checking in Udma_rmGetSciclientDefaultBoardCfgRmRange() function has a typo.

      https://git.ti.com/gitweb?p=processor-sdk/pdk.git;a=blob;f=packages/ti/drv/udma/src/udma_rm.c;h=cdcbeecadec2695d64d28b74314b5c21fa5d1178;hb=refs/heads/master#l2592

      if((UDMA_RM_SCI_REQ_TYPE_INVALID != req.type) && (UDMA_RM_SCI_REQ_SUBTYPE_INVALID != req.type))

      The error check should be against the req.subtype.

      Resolution Description
      Updated checks to validate both type and subtype of resource.

      Root Cause
      All the resources IP is capable of providing maynot be available in
      all the SoC's. UDMA RM marks these resources as invalid type/subtype.
      Currently udma driver is not checking if subtype is invalid or not.

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: