1. 16 Apr, 2021 4 commits
  2. 12 Apr, 2021 1 commit
  3. 09 Apr, 2021 11 commits
  4. 02 Apr, 2021 18 commits
  5. 26 Mar, 2021 6 commits
    • Aditya Srivastava's avatar
      crypto: nx - fix incorrect kernel-doc comment syntax in files · 10cb823b
      Aditya Srivastava authored
      The opening comment mark '/**' is used for highlighting the beginning of
      kernel-doc comments.
      There are certain files in drivers/crypto/nx, which follow this syntax,
      but the content inside does not comply with kernel-doc.
      Such lines were probably not meant for kernel-doc parsing, but are parsed
      due to the presence of kernel-doc like comment syntax(i.e, '/**'), which
      causes unexpected warnings from kernel-doc.
      
      E.g., presence of kernel-doc like comment in the header lines for
      drivers/crypto/nx/nx-sha256.c at header causes these warnings:
      "warning: Function parameter or member 'tfm' not described in 'nx_crypto_ctx_sha256_init'"
      "warning: expecting prototype for SHA(). Prototype was for nx_crypto_ctx_sha256_init() instead"
      
      Similarly for other files too.
      
      Provide a simple fix by replacing such occurrences with general comment
      format, i.e. '/*', to prevent kernel-doc from parsing it.
      Signed-off-by: default avatarAditya Srivastava <yashsri421@gmail.com>
      Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      10cb823b
    • Aditya Srivastava's avatar
      crypto: ux500 - fix incorrect kernel-doc comment syntax · ce668da5
      Aditya Srivastava authored
      The opening comment mark '/**' is used for highlighting the beginning of
      kernel-doc comments.
      There are certain files in drivers/crypto/ux500, which follow this syntax,
      but the content inside does not comply with kernel-doc.
      Such lines were probably not meant for kernel-doc parsing, but are parsed
      due to the presence of kernel-doc like comment syntax(i.e, '/**'), which
      causes unexpected warnings from kernel-doc.
      
      E.g., presence of kernel-doc like comment in the header lines for
      drivers/crypto/ux500/cryp/cryp.h at header causes this warning:
      
      "warning: expecting prototype for ST(). Prototype was for _CRYP_H_() instead"
      
      Similarly for other files too.
      
      Provide a simple fix by replacing such occurrences with general comment
      format, i.e. '/*', to prevent kernel-doc from parsing it.
      Signed-off-by: default avatarAditya Srivastava <yashsri421@gmail.com>
      Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      ce668da5
    • Aditya Srivastava's avatar
      crypto: amcc - fix incorrect kernel-doc comment syntax in files · 73f04d3d
      Aditya Srivastava authored
      The opening comment mark '/**' is used for highlighting the beginning of
      kernel-doc comments.
      There are certain files in drivers/crypto/amcc, which follow this syntax,
      but the content inside does not comply with kernel-doc.
      Such lines were probably not meant for kernel-doc parsing, but are parsed
      due to the presence of kernel-doc like comment syntax(i.e, '/**'), which
      causes unexpected warnings from kernel-doc.
      
      E.g., presence of kernel-doc like comment in
      drivers/crypto/amcc/crypto4xx_alg.c at header, and some other lines,
      causes these warnings by kernel-doc:
      
      "warning: expecting prototype for AMCC SoC PPC4xx Crypto Driver(). Prototype was for set_dynamic_sa_command_0() instead"
      "warning: Function parameter or member 'dir' not described in 'set_dynamic_sa_command_0'"
      etc..
      
      Provide a simple fix by replacing such occurrences with general comment
      format, i.e. '/*', to prevent kernel-doc from parsing it.
      Signed-off-by: default avatarAditya Srivastava <yashsri421@gmail.com>
      Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      73f04d3d
    • Aditya Srivastava's avatar
      crypto: vmx - fix incorrect kernel-doc comment syntax in files · dbb153c0
      Aditya Srivastava authored
      The opening comment mark '/**' is used for highlighting the beginning of
      kernel-doc comments.
      There are certain files in drivers/crypto/vmx, which follow this syntax,
      but the content inside does not comply with kernel-doc.
      Such lines were probably not meant for kernel-doc parsing, but are parsed
      due to the presence of kernel-doc like comment syntax(i.e, '/**'), which
      causes unexpected warnings from kernel-doc.
      
      E.g., presence of kernel-doc like comment in the header line for
      drivers/crypto/vmx/vmx.c causes this warning by kernel-doc:
      
      "warning: expecting prototype for Routines supporting VMX instructions on the Power 8(). Prototype was for p8_init() instead"
      
      Similarly for other files too.
      
      Provide a simple fix by replacing such occurrences with general comment
      format, i.e. '/*', to prevent kernel-doc from parsing it.
      Signed-off-by: default avatarAditya Srivastava <yashsri421@gmail.com>
      Reviewed-by: default avatarDaniel Axtens <dja@axtens.net>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      dbb153c0
    • Weili Qian's avatar
      crypto: hisilicon/qm - add queue isolation support for Kunpeng930 · 8bbecfb4
      Weili Qian authored
      Kunpeng930 supports doorbell isolation to ensure that each queue
      has an independent doorbell address space.
      Signed-off-by: default avatarWeili Qian <qianweili@huawei.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      8bbecfb4
    • Weili Qian's avatar
      crypto: hisilicon/qm - set the number of queues for function · 6250383a
      Weili Qian authored
      Kunpeng930 supports queue doorbell isolation.
      When doorbell isolation is enabled, it supports to obtain the
      maximum number of queues of one function from hardware register.
      Otherwise, the 'max_qp_num' is the total number of queues.
      
      When assigning queues to VF, it is necessary to ensure that the number
      of VF queues does not exceed 'max_qp_num'.
      Signed-off-by: default avatarWeili Qian <qianweili@huawei.com>
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      6250383a