net/bnxt: delay EEM sysmem mapping
authorPeter Spreadborough <peter.spreadborough@broadcom.com>
Wed, 15 Jul 2020 13:50:29 +0000 (19:20 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 11:54:53 +0000 (13:54 +0200)
commitbe19e7fe871af8e76dd98dd768f7e7defadfd5fe
treee8bdcd1206a07cdef24fccdfe327a9dd62405983
parentea0dceba0fd7191442f2e768fc55cf08b59a5203
net/bnxt: delay EEM sysmem mapping

- The mapping of kernel pages for EEM sysmem operation takes
  a significant amount of time. This change give the build option
  to delay the sysmem mapping until the first write to EEM

Signed-off-by: Peter Spreadborough <peter.spreadborough@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
drivers/net/bnxt/tf_core/tf_core.c
drivers/net/bnxt/tf_core/tf_em.h
drivers/net/bnxt/tf_core/tf_em_common.c
drivers/net/bnxt/tf_core/tf_em_internal.c
drivers/net/bnxt/tf_core/tf_em_system.c