mbox series

[v3,00/10] meson build support for dpaaX

Message ID 1521014166-3201-1-git-send-email-hemant.agrawal@nxp.com
Headers show
Series meson build support for dpaaX | expand

Message

Hemant Agrawal March 14, 2018, 7:55 a.m. UTC
Earlier dpaaX was only compiled for armv8 target. This patch series first prepares the dpaaX drivers to be compiled for non-ARM platform as well.


Note: This patch changes all of the dpaa drivers/modules - So it shall be applied to master tree instead of meson build tree.

v3:
  - improved cross files and a function issue in dpaa2 bus.

v2: 
  - handle review comments from Bruce
  - move the dpaaX compilation to linuxapp

Hemant Agrawal (10):
  event/dpaa: fix include header
  bus/dpaa: fix the BE compilation issue
  dpaa: prepare for 32 bit compilation
  dpaa2: prepare for 32 bit compilation
  bus/fslmc: add 32 bit functional support for ARM
  bus/dpaa: enabling dpaa compilation for other platforms
  bus/fslmc: enabling dpaa2 compilation for other platforms
  config: add dpaaX build support in common linuxapp
  build: add meson support for dpaaX platforms
  build: add meson cross compile config for dpaaX

 app/test-pmd/meson.build                    |   3 +
 config/arm/arm64_dpaa2_linuxapp_gcc         |  15 +++++
 config/arm/arm64_dpaa_linuxapp_gcc          |  15 +++++
 config/arm/meson.build                      |  13 ++++
 config/common_armv8a_linuxapp               |  58 ----------------
 config/common_base                          |   4 ++
 config/common_linuxapp                      |  14 ++++
 config/rte_config.h                         |  12 +++-
 drivers/bus/dpaa/base/fman/fman.c           |   2 +-
 drivers/bus/dpaa/base/qbman/bman_driver.c   |   2 +-
 drivers/bus/dpaa/base/qbman/qman.c          |   5 +-
 drivers/bus/dpaa/base/qbman/qman_driver.c   |   5 +-
 drivers/bus/dpaa/dpaa_bus.c                 |   3 +-
 drivers/bus/dpaa/include/compat.h           |  30 ++++++++-
 drivers/bus/dpaa/meson.build                |  29 ++++++++
 drivers/bus/fslmc/fslmc_vfio.c              |  10 +--
 drivers/bus/fslmc/mc/fsl_mc_cmd.h           |   2 +-
 drivers/bus/fslmc/meson.build               |  27 ++++++++
 drivers/bus/fslmc/portal/dpaa2_hw_dpio.c    |  22 +++---
 drivers/bus/fslmc/portal/dpaa2_hw_pvt.h     |  37 +++++-----
 drivers/bus/fslmc/qbman/qbman_portal.c      |  14 ++--
 drivers/bus/fslmc/qbman/qbman_sys.h         |  30 ++++++++-
 drivers/bus/fslmc/qbman/qbman_sys_decl.h    |  23 +++++++
 drivers/bus/meson.build                     |   2 +-
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 101 ++++++++++++++--------------
 drivers/crypto/dpaa2_sec/meson.build        |  14 ++++
 drivers/crypto/dpaa_sec/dpaa_sec.c          |  30 ++++-----
 drivers/crypto/dpaa_sec/meson.build         |  13 ++++
 drivers/crypto/meson.build                  |   4 +-
 drivers/event/dpaa/dpaa_eventdev.c          |   2 +-
 drivers/event/dpaa/meson.build              |  10 +++
 drivers/event/dpaa2/dpaa2_eventdev.c        |  10 +--
 drivers/event/dpaa2/meson.build             |  11 +++
 drivers/event/meson.build                   |   2 +-
 drivers/mempool/dpaa/dpaa_mempool.c         |  10 +--
 drivers/mempool/dpaa/dpaa_mempool.h         |   2 +-
 drivers/mempool/dpaa/meson.build            |   9 +++
 drivers/mempool/dpaa2/dpaa2_hw_mempool.c    |   8 +--
 drivers/mempool/dpaa2/meson.build           |   9 +++
 drivers/mempool/meson.build                 |   2 +-
 drivers/net/dpaa/dpaa_rxtx.c                |  19 +++---
 drivers/net/dpaa/meson.build                |  14 ++++
 drivers/net/dpaa2/Makefile                  |   1 -
 drivers/net/dpaa2/base/dpaa2_hw_dpni.c      |   2 +-
 drivers/net/dpaa2/dpaa2_ethdev.c            |   6 +-
 drivers/net/dpaa2/dpaa2_rxtx.c              |  63 +++++++++--------
 drivers/net/dpaa2/meson.build               |  15 +++++
 drivers/net/meson.build                     |   2 +-
 48 files changed, 487 insertions(+), 249 deletions(-)
 create mode 100644 config/arm/arm64_dpaa2_linuxapp_gcc
 create mode 100644 config/arm/arm64_dpaa_linuxapp_gcc
 create mode 100644 drivers/bus/dpaa/meson.build
 create mode 100644 drivers/bus/fslmc/meson.build
 create mode 100644 drivers/crypto/dpaa2_sec/meson.build
 create mode 100644 drivers/crypto/dpaa_sec/meson.build
 create mode 100644 drivers/event/dpaa/meson.build
 create mode 100644 drivers/event/dpaa2/meson.build
 create mode 100644 drivers/mempool/dpaa/meson.build
 create mode 100644 drivers/mempool/dpaa2/meson.build
 create mode 100644 drivers/net/dpaa/meson.build
 create mode 100644 drivers/net/dpaa2/meson.build

-- 
2.7.4

Comments

Bruce Richardson March 14, 2018, 9:08 a.m. UTC | #1
On Wed, Mar 14, 2018 at 01:25:56PM +0530, Hemant Agrawal wrote:
> Earlier dpaaX was only compiled for armv8 target. This patch series first prepares the dpaaX drivers to be compiled for non-ARM platform as well.

> 

> 

> Note: This patch changes all of the dpaa drivers/modules - So it shall be applied to master tree instead of meson build tree.

> 


From discussion with Thomas, the proposal was for me to take this entire
set into the build tree. However, if it's likely to cause conflicts with
future patches from you, I can send a pull-request shortly after merge
to get it into main tree too. Would that work for you? Thomas, you ok to
take an early PR for next-build?

/Bruce
Hemant Agrawal March 14, 2018, 9:12 a.m. UTC | #2
> -----Original Message-----

> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson

> Sent: Wednesday, March 14, 2018 2:39 PM

> On Wed, Mar 14, 2018 at 01:25:56PM +0530, Hemant Agrawal wrote:

> > Earlier dpaaX was only compiled for armv8 target. This patch series first

> prepares the dpaaX drivers to be compiled for non-ARM platform as well.

> >

> >

> > Note: This patch changes all of the dpaa drivers/modules - So it shall be

> applied to master tree instead of meson build tree.

> >

> 

> From discussion with Thomas, the proposal was for me to take this entire set

> into the build tree. However, if it's likely to cause conflicts with future patches

> from you, I can send a pull-request shortly after merge to get it into main tree

> too. Would that work for you? Thomas, you ok to take an early PR for next-

> build?


[Hemant]  yes, an early pull request will help.

Shreyansh's dynamic logging is already dependent on this patchset. 


> 

> /Bruce
Bruce Richardson March 15, 2018, 5:10 p.m. UTC | #3
On Wed, Mar 14, 2018 at 01:25:56PM +0530, Hemant Agrawal wrote:
> Earlier dpaaX was only compiled for armv8 target. This patch series first prepares the dpaaX drivers to be compiled for non-ARM platform as well.

> 

> 

> Note: This patch changes all of the dpaa drivers/modules - So it shall be applied to master tree instead of meson build tree.

> 

> v3:

>   - improved cross files and a function issue in dpaa2 bus.

> 

> v2: 

>   - handle review comments from Bruce

>   - move the dpaaX compilation to linuxapp

> 

> Hemant Agrawal (10):

>   event/dpaa: fix include header

>   bus/dpaa: fix the BE compilation issue

>   dpaa: prepare for 32 bit compilation

>   dpaa2: prepare for 32 bit compilation

>   bus/fslmc: add 32 bit functional support for ARM

>   bus/dpaa: enabling dpaa compilation for other platforms

>   bus/fslmc: enabling dpaa2 compilation for other platforms

>   config: add dpaaX build support in common linuxapp

>   build: add meson support for dpaaX platforms

>   build: add meson cross compile config for dpaaX

> 

Patches applied to dpdk-next-build.

Pull-request to master to follow shortly.

/Bruce