DPDK patches and discussions
 help / color / mirror / Atom feed
From: Pavan Nikhilesh Bhagavatula <pbhagavatula@marvell.com>
To: Joyce Kong <Joyce.Kong@arm.com>,
	Stephen Hemminger <stephen@networkplumber.org>
Cc: "thomas@monjalon.net" <thomas@monjalon.net>,
	Ruifeng Wang <Ruifeng.Wang@arm.com>,
	"bruce.richardson@intel.com" <bruce.richardson@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>, nd <nd@arm.com>,
	"stable@dpdk.org" <stable@dpdk.org>,
	Jerin Jacob <jerinj@marvell.com>
Subject: RE: [PATCH v4 1/2] config: correct cpu instruction set for cross build
Date: Fri, 19 Jan 2024 19:39:08 +0000	[thread overview]
Message-ID: <PH0PR18MB4086682502BC2DDFF4F59166DE702@PH0PR18MB4086.namprd18.prod.outlook.com> (raw)
In-Reply-To: <AS4PR08MB77123A5D8B525509E18EFDFB928AA@AS4PR08MB7712.eurprd08.prod.outlook.com>



> -----Original Message-----
> From: Joyce Kong <Joyce.Kong@arm.com>
> Sent: Friday, December 8, 2023 8:21 AM
> To: Stephen Hemminger <stephen@networkplumber.org>
> Cc: thomas@monjalon.net; Ruifeng Wang <Ruifeng.Wang@arm.com>;
> bruce.richardson@intel.com; dev@dpdk.org; nd <nd@arm.com>;
> stable@dpdk.org
> Subject: [EXT] RE: [PATCH v4 1/2] config: correct cpu instruction set for cross
> build
> 
> External Email
> 
> ----------------------------------------------------------------------
> > -----Original Message-----
> > From: Stephen Hemminger <stephen@networkplumber.org>
> > Sent: Friday, December 8, 2023 6:41 AM
> > To: Joyce Kong <Joyce.Kong@arm.com>
> > Cc: thomas@monjalon.net; Ruifeng Wang <Ruifeng.Wang@arm.com>;
> > bruce.richardson@intel.com; dev@dpdk.org; nd <nd@arm.com>;
> > stable@dpdk.org
> > Subject: Re: [PATCH v4 1/2] config: correct cpu instruction set for cross
> build
> >
> > On Tue,  5 Dec 2023 03:52:58 +0000
> > Joyce Kong <joyce.kong@arm.com> wrote:
> >
> > > The platform value would be 'native' only when not cross build.
> > > Move the operation about modifying cpu_instruction_set while platform
> > > equals 'native' to the not cross build branch.
> > >
> > > Fixes: bf66003b51ec ("build: use platform for generic and native
> > > builds")
> > > Cc: stable@dpdk.org
> > >
> > > Signed-off-by: Joyce Kong <joyce.kong@arm.com>
> > > Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
> >
> > Looks right, what is the impact on existing users doing current cross builds?
> 
> The original operation changes cpu_instruction_set to 'native' when both
> 'platform == native' and 'cpu_instruction_set == auto'.
> There was no impact on the existing users for current cross build, as the cross
> files set cpu field to a specific arch, such as 'armv8-a', and this didn't trigger
> the modification for cpu_instruction_set.
> However, if we want to use a common arch in cross files like 'auto', the
> modification operation would override 'native' value to cpu_instruction_set
> and b7676fcccab4 ("config: verify machine arch flag") would break the build
> as it tries to test -march=native.
> 
> >
> > Acked-by: Stephen Hemminger <stephen@networkplumber.org>

Tested-by: Pavan Nikhilesh <pbhagavatula@marvell.com>


  reply	other threads:[~2024-01-19 19:39 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-22  7:47 [PATCH v1] config/arm: correct cpu arch " Joyce Kong
2023-10-17 19:41 ` Thomas Monjalon
2023-10-18  5:40   ` Joyce Kong
2023-11-06 14:10     ` Thomas Monjalon
2023-11-06 14:31       ` Joyce Kong
2023-11-06 15:38         ` Thomas Monjalon
2023-11-07  2:42           ` Joyce Kong
2023-11-07  3:26 ` [PATCH v2] " Joyce Kong
2023-11-12 12:53   ` Thomas Monjalon
2023-11-20  8:51     ` Joyce Kong
2023-11-20  9:24 ` [PATCH v3] " Joyce Kong
2023-11-20 16:54   ` Thomas Monjalon
2023-11-22  7:10     ` Joyce Kong
2023-12-05  3:52 ` [PATCH v4 0/2] config changes " Joyce Kong
2023-12-05  3:52   ` [PATCH v4 1/2] config: correct cpu instruction set " Joyce Kong
2023-12-07 22:41     ` Stephen Hemminger
2023-12-08  2:51       ` Joyce Kong
2024-01-19 19:39         ` Pavan Nikhilesh Bhagavatula [this message]
2024-03-06 14:43           ` Thomas Monjalon
2023-12-05  3:52   ` [PATCH v4 2/2] config/arm: use common cpu arch for cross files Joyce Kong
2023-12-07 22:41     ` Stephen Hemminger
2024-01-19 19:40       ` [EXT] " Pavan Nikhilesh Bhagavatula
2024-02-18 17:56     ` Thomas Monjalon
2024-02-22 21:38       ` Wathsala Wathawana Vithanage
2024-03-06 14:43         ` Thomas Monjalon
2024-03-06 15:01           ` Wathsala Wathawana Vithanage
2024-03-06 15:04             ` Wathsala Wathawana Vithanage
2024-03-06 15:35               ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PH0PR18MB4086682502BC2DDFF4F59166DE702@PH0PR18MB4086.namprd18.prod.outlook.com \
    --to=pbhagavatula@marvell.com \
    --cc=Joyce.Kong@arm.com \
    --cc=Ruifeng.Wang@arm.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=nd@arm.com \
    --cc=stable@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).