Content-Type: multipart/mixed; boundary="===============8153307382386445372==" MIME-Version: 1.0 From: Anshuman Khandual To: kbuild-all@lists.01.org Subject: Re: [PATCH V2 3/7] arm64/perf: Update struct pmu_hw_events for BRBE Date: Fri, 09 Sep 2022 08:41:30 +0530 Message-ID: In-Reply-To: <202209082022.6BPdyQn8-lkp@intel.com> List-Id: --===============8153307382386445372== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 9/8/22 18:02, kernel test robot wrote: > Hi Anshuman, > = > Thank you for the patch! Perhaps something to improve: > = > [auto build test WARNING on acme/perf/core] > [also build test WARNING on tip/perf/core arm64/for-next/core linus/maste= r v6.0-rc4 next-20220908] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > = > url: https://github.com/intel-lab-lkp/linux/commits/Anshuman-Khandual/= arm64-perf-Enable-branch-stack-sampling/20220908-131425 > base: https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git pe= rf/core > config: arm-defconfig > compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://github.com/intel-lab-lkp/linux/commit/d3c4ba711027d312a= 2f4e16cdbdbec5fcbf2913b > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Anshuman-Khandual/arm64-perf-Ena= ble-branch-stack-sampling/20220908-131425 > git checkout d3c4ba711027d312a2f4e16cdbdbec5fcbf2913b > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-12.1.0 make.cro= ss W=3D1 O=3Dbuild_dir ARCH=3Darm SHELL=3D/bin/bash drivers/perf/ > = > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot > = > All warnings (new ones prefixed by >>): > = > drivers/perf/arm_pmu.c: In function 'validate_group': >>> drivers/perf/arm_pmu.c:415:1: warning: the frame size of 1744 bytes is = larger than 1024 bytes [-Wframe-larger-than=3D] > 415 | } > | ^ Guess this might just be complaining because of the local variable 'fake_pm= u' as 'struct pmu_hw_events' now has been expanded to accommodate BRBE related elements. But these are essential elements for BRBE branch record processin= g. static int validate_group(struct perf_event *event) { struct perf_event *sibling, *leader =3D event->group_leader; struct pmu_hw_events fake_pmu; .... --===============8153307382386445372==--