Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp483255pxj; Thu, 17 Jun 2021 07:13:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyf4M8FC4LaLE/s4LlXg2Q1ODK6m0kKySTGAWvsB35RKTG+Iv7qwhlTXtd+d7SHgZVwLhGO X-Received: by 2002:a17:907:6fd:: with SMTP id yh29mr5600009ejb.432.1623939189232; Thu, 17 Jun 2021 07:13:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623939189; cv=none; d=google.com; s=arc-20160816; b=yAGr19AWIl4k5wr56LQ+f35Z+3FDYFnZ+O4cep2wDL/BI9O1AB637K+o44icpRBhJO 5QtFKl3fDWejoVEz62CQIx/jIoRxf0GRb2/XLTB2g6xus4Tnk6M/nqk+y+vhX4jRwj8g X06LRRyMFCHANs3pGggYPAGpVf0w2yUkSU61fCgaHwZJHnoMlxQW4MnQU4CVO+9/RWSC CB+BWDVZkSn1hkt4N4Z1j6fQRSxj7q1hxfpnhEs2dJALq6iCfbPZk/1rAfIunDV/caQN yltcUeCScXu/PQPb+JDNwurkWguK0KbSABM0xTttC14x37IIXCwgBpE62nKY1yfFgGVt Ldtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UrQRVydZueRPn4YnzvsA9iA4X83PDZ9p8q4NE3A5rb8=; b=Za+dgH4D7W2iI72s1uE7+IB7UEDyqMZxHHsqah/HAj5CCLqGYR46Mn2qZAU9/Cuz3b kiCqP4tDLPRnrArQ9W0TTw/6MrRMIpqIPFtn8VX+ntdcRzh1VJtwrZooZYwrZ45tcVSJ 4z805YOcN7oQDEGov7vkuvjRZs11hT3TmjZFQVuIBmY5GQy61XiKag5HSmG2QZljLFKW 5TkldHEowO6bOF7GMKpBiFupTERdWVFvGeBKqlwBif20Yt8ZhJzHGjQNALCMhlxMj27Q EU17FDVZPoo1Z/Ohy8LbLdvx9KKsyNfBjOnXUyVa3g0hJpxjd8s6yFlKw4cLrpHy3/Nl Wv3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=fBT6sZda; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si5424400edc.556.2021.06.17.07.12.44; Thu, 17 Jun 2021 07:13:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=fBT6sZda; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232156AbhFQNGb (ORCPT + 99 others); Thu, 17 Jun 2021 09:06:31 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:42614 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230137AbhFQNGa (ORCPT ); Thu, 17 Jun 2021 09:06:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=UrQRVydZueRPn4YnzvsA9iA4X83PDZ9p8q4NE3A5rb8=; b=fB T6sZdaWCgSTUcQjV56KfGjBHSrQygJ8bihOYTEFlBUMhK6bDQEIf/g0cO7SOgeigqzOuJZCzOnccO cEe0EeTa0fPZ7cYqU66/8qArQygniqKGfpYNE1ItZ9kBbFbVyaQgeaBb5hYvhHjWl+ZXknU+MP2p/ RLq5kiV1V92EHLs=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ltrgv-009uED-Sa; Thu, 17 Jun 2021 15:04:17 +0200 Date: Thu, 17 Jun 2021 15:04:17 +0200 From: Andrew Lunn To: Joakim Zhang Cc: David Miller , "kuba@kernel.org" , "frieder.schrempf@kontron.de" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH V2 net-next 0/2] net: fec: fix TX bandwidth fluctuations Message-ID: References: <20210611095005.3909-1-qiangqing.zhang@nxp.com> <20210611.132514.1451796354248475314.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 17, 2021 at 11:40:58AM +0000, Joakim Zhang wrote: > > Hi Andrew, > > > -----Original Message----- > > From: Andrew Lunn > > Sent: 2021年6月16日 21:06 > > To: Joakim Zhang > > Cc: David Miller ; kuba@kernel.org; > > frieder.schrempf@kontron.de; netdev@vger.kernel.org; > > linux-kernel@vger.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