[dpdk-dev] [PATCH v2 01/16] mk: Introduce ARMv7 architecture
Jan Viktorin
viktorin at rehivetech.com
Wed Oct 28 18:32:12 CET 2015
On Wed, 28 Oct 2015 14:34:40 +0100
David Marchand <david.marchand at 6wind.com> wrote:
> On Mon, Oct 26, 2015 at 5:37 PM, Jan Viktorin <viktorin at rehivetech.com>
> wrote:
>
> > From: Vlastimil Kosar <kosar at rehivetech.com>
> >
> > Make DPDK run on ARMv7-A architecture. This patch assumes
> > ARM Cortex-A9. However, it is known to be working on Cortex-A7
> > and Cortex-A15.
> >
> > Signed-off-by: Vlastimil Kosar <kosar at rehivetech.com>
> > Signed-off-by: Jan Viktorin <viktorin at rehivetech.com>
> > ---
> > v1 -> v2:
> > * the -mtune parameter of GCC is configurable now
> > * the -mfpu=neon can be turned off
> >
> > Signed-off-by: Jan Viktorin <viktorin at rehivetech.com>
> > ---
> > config/defconfig_arm-armv7-a-linuxapp-gcc | 78
> > +++++++++++++++++++++++++++++++
> > mk/arch/arm/rte.vars.mk | 39 ++++++++++++++++
> > mk/machine/armv7-a/rte.vars.mk | 67 ++++++++++++++++++++++++++
> > 3 files changed, 184 insertions(+)
> > create mode 100644 config/defconfig_arm-armv7-a-linuxapp-gcc
> > create mode 100644 mk/arch/arm/rte.vars.mk
> > create mode 100644 mk/machine/armv7-a/rte.vars.mk
> >
>
> This patch comes too early in the patchset, I would put it once compilation
> is fine (more comment to come, btw), so once all headers are in place, not
> before.
Agree, this was done by watching the Power 8 patchset. But this seems
quite logical.
>
> Besides, do we really need this -a suffix ?
It is the full name of the ARM architecture - armv7, A profile. There
are 3 profiles: A - application, R - real time, M - microcontroller.
They differ in what MMU/MPU and other such things they support. But,
finally, we can omit. The M profile is unsuitable for DPDK anyway. The
R profile may be however used under certain circumstances (I believe, it
can run Linux).
Jan
--
Jan Viktorin E-mail: Viktorin at RehiveTech.com
System Architect Web: www.RehiveTech.com
RehiveTech
Brno, Czech Republic
More information about the dev
mailing list