[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YMtIUVSMxL0iMJLX@lunn.ch>
Date: Thu, 17 Jun 2021 15:04:17 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Joakim Zhang <qiangqing.zhang@....com>
Cc: David Miller <davem@...emloft.net>,
"kuba@...nel.org" <kuba@...nel.org>,
"frieder.schrempf@...tron.de" <frieder.schrempf@...tron.de>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V2 net-next 0/2] net: fec: fix TX bandwidth fluctuations
On Thu, Jun 17, 2021 at 11:40:58AM +0000, Joakim Zhang wrote:
>
> Hi Andrew,
>
> > -----Original Message-----
> > From: Andrew Lunn <andrew@...n.ch>
> > Sent: 2021年6月16日 21:06
> > To: Joakim Zhang <qiangqing.zhang@....com>
> > Cc: David Miller <davem@...emloft.net>; kuba@...nel.org;
> > frieder.schrempf@...tron.de; netdev@...r.kernel.org;
> > linux-kernel@...r.kernel.org
> > Subject: Re: [PATCH V2 net-next 0/2] net: fec: fix TX bandwidth fluctuations
> >
> > > I try below build options, also can't reproduce this issue, so really don't know
> > how to fix it.
> > >
> > > make ARCH=arm64 distclean
> > > make ARCH=arm64 allmodconfig
> > > make -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- W=1 / make -j8
> > ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- W=2 / make -j8
> > ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- W=3
> > >
> > > I saw many unrelated warnings...
> >
> > Then it could be sparse. Install sparse and use C=1.
>
> After applying the patch #2, I tried to use C=1 yesterday, I double check it today, still no warnings. Anything I missing?
>
> $ make -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- W=1,C=1
> CALL scripts/atomic/check-atomics.sh
> CALL scripts/checksyscalls.sh
> CHK include/generated/compile.h
> CHK kernel/kheaders_data.tar.xz
> CC [M] drivers/net/ethernet/freescale/fec_main.o
> LD [M] drivers/net/ethernet/freescale/fec.o
> MODPOST modules-only.symvers
> GEN Module.symvers
> CC [M] drivers/net/ethernet/freescale/fec.mod.o
> LD [M] drivers/net/ethernet/freescale/fec.ko
>
> Best Regards,
> Joakim Zhang
> > Andrew
If you look at
https://patchwork.hopto.org/static/nipa/498729/12315211/build_32bit/stdout
you see:
Kernel: arch/x86/boot/bzImage is ready (#9396)
So it is building for 32 bit x86. So try
make -j8 ARCH=i386 W=1 C=1
Assuming your host is an x86 machine.
Andrew
Powered by blists - more mailing lists