19 Nov, 2020

23 commits


18 Nov, 2020

1 commit


17 Nov, 2020

7 commits

  • Enable CONFIG_UAPI_HEADER_TEST turns out the following build issues

    HDRTEST usr/include/linux/mxc_asrc.h
    In file included from :32:0:
    ./usr/include/linux/mxc_asrc.h:125:2: error: unknown type name ‘snd_pcm_format_t’
    snd_pcm_format_t input_format;
    ^~~~~~~~~~~~~~~~
    ./usr/include/linux/mxc_asrc.h:126:2: error: unknown type name ‘snd_pcm_format_t’
    snd_pcm_format_t output_format;
    ^~~~~~~~~~~~~~~~
    ./usr/include/linux/mxc_asrc.h:134:2: error: unknown type name ‘uint64_t’
    uint64_t supported_in_format;
    ^~~~~~~~
    ./usr/include/linux/mxc_asrc.h:135:2: error: unknown type name ‘uint64_t’
    uint64_t supported_out_format;

    But even add the missing/necessary header file, it finally failed too in the end:

    HDRTEST usr/include/linux/mxc_asrc.h
    In file included from ./usr/include/linux/mxc_asrc.h:23:0,
    from :32:
    ./usr/include/sound/asound.h:459:18: error: field ‘trigger_tstamp’ has incomplete type
    struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
    ^~~~~~~~~~~~~~
    ./usr/include/sound/asound.h:460:18: error: field ‘tstamp’ has incomplete type
    struct timespec tstamp; /* reference timestamp */
    ^~~~~~
    ./usr/include/sound/asound.h:469:18: error: field ‘audio_tstamp’ has incomplete type
    struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */
    ^~~~~~~~~~~~
    ./usr/include/sound/asound.h:470:18: error: field ‘driver_tstamp’ has incomplete type
    struct timespec driver_tstamp; /* useful in case reference system tstamp is reported with delay */
    ^~~~~~~~~~~~~
    ./usr/include/sound/asound.h:472:37: error: invalid application of ‘sizeof’ to incomplete type ‘struct timespec’
    unsigned char reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */
    ^~~~~~
    ./usr/include/sound/asound.h:479:18: error: field ‘tstamp’ has incomplete type
    struct timespec tstamp; /* Timestamp */
    ^~~~~~
    ./usr/include/sound/asound.h:481:18: error: field ‘audio_tstamp’ has incomplete type
    struct timespec audio_tstamp; /* from sample counter or wall clock */
    ^~~~~~~~~~~~
    ./usr/include/sound/asound.h:651:18: error: field ‘tstamp’ has incomplete type
    struct timespec tstamp; /* Timestamp */
    ^~~~~~
    ./usr/include/sound/asound.h:763:18: error: field ‘tstamp’ has incomplete type
    struct timespec tstamp; /* Timestamp - last update */
    ^~~~~~
    ./usr/include/sound/asound.h:813:18: error: field ‘tstamp’ has incomplete type
    struct timespec tstamp;
    ^~~~~~
    ./usr/include/sound/asound.h:956:18: error: field ‘tstamp’ has incomplete type
    struct timespec tstamp;
    ^~~~~~
    ./usr/include/sound/asound.h:957:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct timespec’
    unsigned char reserved[128-sizeof(struct timespec)];

    This is kernel known issue, just like other fixes as the following, put mxc_asrc.h into the skip-list:
    header-test- += sound/asequencer.h
    header-test- += sound/asoc.h
    header-test- += sound/asound.h
    header-test- += sound/compress_offload.h
    header-test- += sound/emu10k1.h
    header-test- += sound/sfnt_info.h

    Signed-off-by: Jason Liu
    (cherry picked from commit 4018355af34d9b25ff7bd4d27960d72b8d304e30)

    Jason Liu
     
  • Enable CONFIG_UAPI_HEADER_TEST turns on the following build issue
    ./usr/include/linux/ipu.h:167:2: error: unknown type name ‘u32’
    u32 x;
    ^~~
    ./usr/include/linux/ipu.h:168:2: error: unknown type name ‘u32’
    u32 y;
    ^~~
    ./usr/include/linux/ipu.h:173:2: error: unknown type name ‘u32’
    u32 w;
    ^~~
    ./usr/include/linux/ipu.h:174:2: error: unknown type name ‘u32’
    u32 h;
    ^~~
    ./usr/include/linux/ipu.h:179:2: error: unknown type name ‘u8’
    u8 motion; /*see ipu_motion_sel*/

    The fix is to use the __u32/__u8 instead and remove the internal definiton

    But it finally will result in another failure as the followings:

    HDRTEST usr/include/linux/ipu.h
    In file included from ./usr/include/linux/ipu.h:29:0,
    from :32:
    ./usr/include/linux/videodev2.h:2353:20: error: field ‘timestamp’ has incomplete type
    struct timespec timestamp;

    This is kernel known issue. The fix is as others by adding the ipu.h to skip-list:
    header-test- += linux/v4l2-mediabus.h
    header-test- += linux/v4l2-subdev.h
    header-test- += linux/videodev2.h

    Signed-off-by: Jason Liu
    (cherry picked from commit 24c36527086fff43595bde2822f8277138ebcb55)

    Jason Liu
     
  • Enable CONFIG_UAPI_HEADER_TEST turns out the following build issues:

    HDRTEST usr/include/linux/tsn.h
    In file included from :32:0:
    ./usr/include/linux/tsn.h:384:2: error: unknown type name ‘__u8’
    __u8 admin_state;
    ^~~~
    ./usr/include/linux/tsn.h:390:2: error: unknown type name ‘__u32’
    __u32 hold_advance;
    ^~~~~
    ./usr/include/linux/tsn.h:397:2: error: unknown type name ‘__u32’
    __u32 release_advance;
    ^~~~~
    ./usr/include/linux/tsn.h:403:2: error: unknown type name ‘__u8’
    __u8 preemption_active;
    ^~~~
    ./usr/include/linux/tsn.h:412:2: error: unknown type name ‘__u8’
    __u8 hold_request;
    ^~~~
    ./usr/include/linux/tsn.h:426:2: error: unknown type name ‘__u8’
    __u8 delta_bw; /* percentage, 0~100 */
    ^~~~
    ./usr/include/linux/tsn.h:427:2: error: unknown type name ‘__u32’
    __u32 idleslope;
    ^~~~~
    ./usr/include/linux/tsn.h:428:2: error: unknown type name ‘__s32’
    __s32 sendslope;
    ^~~~~
    ./usr/include/linux/tsn.h:429:2: error: unknown type name ‘__u32’
    __u32 maxframesize;
    ^~~~~

    The fix is to add the necessary header file into the tsn.h file

    Signed-off-by: Jason Liu
    (cherry picked from commit 328bf99d8b42aca38538b6122878c7a9da9234d0)

    Jason Liu
     
  • Eanble CONFIG_UAPI_HEADER_TEST turns out the following build issues:

    HDRTEST usr/include/linux/mxc_v4l2.h
    In file included from :32:0:
    ./usr/include/linux/mxc_v4l2.h:52:2: error: unknown type name ‘uint32_t’
    uint32_t u_offset;
    ^~~~~~~~
    ./usr/include/linux/mxc_v4l2.h:53:2: error: unknown type name ‘uint32_t’
    uint32_t v_offset;
    ^~~~~~~~
    ./usr/include/linux/mxc_v4l2.h:57:2: error: unknown type name ‘__u32’
    __u32 type; /* enum v4l2_buf_type */
    ^~~~~

    The fix is to add the necessary header file into mxc_v4l2.h

    Signed-off-by: Jason Liu
    (cherry picked from commit ca2be4571361d04aa291e0ed0fcb755feba8783a)

    Jason Liu
     
  • Enable CONFIG_UAPI_HEADER_TEST turns out the following build issues:

    HDRTEST usr/include/linux/mxc_dsp.h
    In file included from :32:0:
    ./usr/include/linux/mxc_dsp.h:82:2: error: C++ style comments are not allowed in ISO C90
    //UNIA_CHANNEL_MASK,
    ^
    ./usr/include/linux/mxc_dsp.h:82:2: error: (this will be reported only once per input file)

    The fix is to use C style comment insteading of C++

    Signed-off-by: Jason Liu
    (cherry picked from commit 4c016b8114b3db2bba7ec579c34e248766feac6e)

    Jason Liu
     
  • Enable CONFIG_UAPI_HEADER_TEST or make headers_install result in build issues:

    include/uapi/linux/fmd/Peripherals/fm_port_ioctls.h: leak CONFIG_COMPAT to user-space
    include/uapi/linux/fmd/Peripherals/fm_pcd_ioctls.h: leak CONFIG_COMPAT to user-space
    include/uapi/linux/fmd/Peripherals/fm_ioctls.h: leak CONFIG_COMPAT to user-space

    The comments from DN fix of the fmd related failure is to add to the skip-list due to the
    historial reasons from DN(Layerscape) drivers - to avoid break the legacy users

    Signed-off-by: Jason Liu
    (cherry picked from commit 569d6d3cc2a664de66ee980bd611687f4d785b4e)

    Jason Liu
     
  • Upgrade to mxm5x16210 verison:
    - Fixed WPA3 SAE pre-cert requirement where there is no assoc
    request from DUT, if EX-AP sends the Auth confirm frame
    immediately after Auth commit frame

    Reviewed-by: yang.tian
    Signed-off-by: Fugang Duan
    (cherry picked from commit: 0a14a53a273aecb7dfb837cf90f15744e893e6bf)

    Fugang Duan
     

16 Nov, 2020

7 commits


13 Nov, 2020

2 commits