Hi Nicholas, I love your patch! Yet something to improve:
[auto build test ERROR on powerpc/next] [also build test ERROR on v5.15 next-20211105] [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] url: https://github.com/0day-ci/linux/commits/Nicholas-Piggin/powerpc-64s-introduce-CONFIG_MAXSMP-to-test-very-large-SMP/20211105-121250 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next config: powerpc-allyesconfig (attached as .config) compiler: powerpc-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/9ca640e0639b6bdab803c15ba0ea3321a846c466 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Nicholas-Piggin/powerpc-64s-introduce-CONFIG_MAXSMP-to-test-very-large-SMP/20211105-121250 git checkout 9ca640e0639b6bdab803c15ba0ea3321a846c466 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <l...@intel.com> All errors (new ones prefixed by >>): drivers/cpufreq/cpufreq_ondemand.c: In function 'od_set_powersave_bias': >> drivers/cpufreq/cpufreq_ondemand.c:446:1: error: the frame size of 2064 >> bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 446 | } | ^ cc1: all warnings being treated as errors -- kernel/trace/preemptirq_delay_test.c: In function 'preemptirq_delay_run': >> kernel/trace/preemptirq_delay_test.c:145:1: error: the frame size of 2064 >> bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 145 | } | ^ cc1: all warnings being treated as errors -- drivers/powercap/dtpm_cpu.c: In function 'set_pd_power_limit': >> drivers/powercap/dtpm_cpu.c:104:1: error: the frame size of 2064 bytes is >> larger than 2048 bytes [-Werror=frame-larger-than=] 104 | } | ^ drivers/powercap/dtpm_cpu.c: In function 'get_pd_power_uw': drivers/powercap/dtpm_cpu.c:129:1: error: the frame size of 2064 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 129 | } | ^ cc1: all warnings being treated as errors -- In file included from <command-line>: drivers/leds/trigger/ledtrig-cpu.c: In function 'ledtrig_cpu_init': >> include/linux/compiler_types.h:322:45: error: call to >> '__compiletime_assert_175' declared with attribute error: BUILD_BUG_ON >> failed: CONFIG_NR_CPUS > 9999 322 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:303:25: note: in definition of macro '__compiletime_assert' 303 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:322:9: note: in expansion of macro '_compiletime_assert' 322 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ drivers/leds/trigger/ledtrig-cpu.c:137:9: note: in expansion of macro 'BUILD_BUG_ON' 137 | BUILD_BUG_ON(CONFIG_NR_CPUS > 9999); | ^~~~~~~~~~~~ -- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c: In function 'update_xps.isra': >> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:2495:1: error: the frame >> size of 2064 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 2495 | } | ^ cc1: all warnings being treated as errors -- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_request_irq_multi_msi': >> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:3554:1: error: the frame >> size of 2064 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] 3554 | } | ^ cc1: all warnings being treated as errors vim +446 drivers/cpufreq/cpufreq_ondemand.c af926185231a6e3 Rafael J. Wysocki 2016-02-05 412 fb30809efa3edeb Jacob Shin 2013-04-02 413 static void od_set_powersave_bias(unsigned int powersave_bias) fb30809efa3edeb Jacob Shin 2013-04-02 414 { fb30809efa3edeb Jacob Shin 2013-04-02 415 unsigned int cpu; fb30809efa3edeb Jacob Shin 2013-04-02 416 cpumask_t done; fb30809efa3edeb Jacob Shin 2013-04-02 417 c28375583b6471c Jacob Shin 2013-06-25 418 default_powersave_bias = powersave_bias; fb30809efa3edeb Jacob Shin 2013-04-02 419 cpumask_clear(&done); fb30809efa3edeb Jacob Shin 2013-04-02 420 09681a0772f773d Sebastian Andrzej Siewior 2021-08-03 421 cpus_read_lock(); fb30809efa3edeb Jacob Shin 2013-04-02 422 for_each_online_cpu(cpu) { 8c8f77fd0719a07 Rafael J. Wysocki 2016-02-21 423 struct cpufreq_policy *policy; e40e7b255e591d0 Rafael J. Wysocki 2016-02-10 424 struct policy_dbs_info *policy_dbs; 8c8f77fd0719a07 Rafael J. Wysocki 2016-02-21 425 struct dbs_data *dbs_data; 8c8f77fd0719a07 Rafael J. Wysocki 2016-02-21 426 struct od_dbs_tuners *od_tuners; 44152cb82d1ad6a Viresh Kumar 2015-07-18 427 fb30809efa3edeb Jacob Shin 2013-04-02 428 if (cpumask_test_cpu(cpu, &done)) fb30809efa3edeb Jacob Shin 2013-04-02 429 continue; fb30809efa3edeb Jacob Shin 2013-04-02 430 8c8f77fd0719a07 Rafael J. Wysocki 2016-02-21 431 policy = cpufreq_cpu_get_raw(cpu); 10dd8573b09e84b Quentin Perret 2020-06-29 432 if (!policy || policy->governor != &CPU_FREQ_GOV_ONDEMAND) 8c8f77fd0719a07 Rafael J. Wysocki 2016-02-21 433 continue; 8c8f77fd0719a07 Rafael J. Wysocki 2016-02-21 434 8c8f77fd0719a07 Rafael J. Wysocki 2016-02-21 435 policy_dbs = policy->governor_data; e40e7b255e591d0 Rafael J. Wysocki 2016-02-10 436 if (!policy_dbs) c28375583b6471c Jacob Shin 2013-06-25 437 continue; fb30809efa3edeb Jacob Shin 2013-04-02 438 fb30809efa3edeb Jacob Shin 2013-04-02 439 cpumask_or(&done, &done, policy->cpus); c28375583b6471c Jacob Shin 2013-06-25 440 bc505475b85de9a Rafael J. Wysocki 2016-02-07 441 dbs_data = policy_dbs->dbs_data; c28375583b6471c Jacob Shin 2013-06-25 442 od_tuners = dbs_data->tuners; c28375583b6471c Jacob Shin 2013-06-25 443 od_tuners->powersave_bias = default_powersave_bias; fb30809efa3edeb Jacob Shin 2013-04-02 444 } 09681a0772f773d Sebastian Andrzej Siewior 2021-08-03 445 cpus_read_unlock(); fb30809efa3edeb Jacob Shin 2013-04-02 @446 } fb30809efa3edeb Jacob Shin 2013-04-02 447 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
.config.gz
Description: application/gzip