Re: [PATCH v5 3/6] mm: make alloc_contig_range work at pageblock granularity
by kernel test robot
Hi Zi,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on hnaz-mm/master]
[also build test WARNING on powerpc/next linux/master linus/master v5.17-rc3 next-20220211]
[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/Zi-Yan/Use-pageblock_order-for-c...
base: https://github.com/hnaz/linux-mm master
config: hexagon-randconfig-r045-20220211 (https://download.01.org/0day-ci/archive/20220212/202202120607.4dI5nqMH-lk...)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f6685f774697c85d6a352dcea013f46a99f9fe31)
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/5aacb9dfc8abb1a0610b70226606408a9...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Zi-Yan/Use-pageblock_order-for-cma-and-alloc_contig_range-alignment/20220212-004358
git checkout 5aacb9dfc8abb1a0610b70226606408a96d0e997
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
mm/page_alloc.c:3869:15: warning: no previous prototype for function 'should_fail_alloc_page' [-Wmissing-prototypes]
noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
^
mm/page_alloc.c:3869:10: note: declare 'static' if the function is not intended to be used outside of this translation unit
noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
^
static
>> mm/page_alloc.c:8988:5: warning: no previous prototype for function '__alloc_contig_migrate_range' [-Wmissing-prototypes]
int __alloc_contig_migrate_range(struct compact_control *cc,
^
mm/page_alloc.c:8988:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __alloc_contig_migrate_range(struct compact_control *cc,
^
static
2 warnings generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for OMAP_GPMC
Depends on MEMORY && OF_ADDRESS
Selected by
- MTD_NAND_OMAP2 && MTD && MTD_RAW_NAND && (ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST && HAS_IOMEM
vim +/__alloc_contig_migrate_range +8988 mm/page_alloc.c
8986
8987 /* [start, end) must belong to a single zone. */
> 8988 int __alloc_contig_migrate_range(struct compact_control *cc,
8989 unsigned long start, unsigned long end)
8990 {
8991 /* This function is based on compact_zone() from compaction.c. */
8992 unsigned int nr_reclaimed;
8993 unsigned long pfn = start;
8994 unsigned int tries = 0;
8995 int ret = 0;
8996 struct migration_target_control mtc = {
8997 .nid = zone_to_nid(cc->zone),
8998 .gfp_mask = GFP_USER | __GFP_MOVABLE | __GFP_RETRY_MAYFAIL,
8999 };
9000
9001 lru_cache_disable();
9002
9003 while (pfn < end || !list_empty(&cc->migratepages)) {
9004 if (fatal_signal_pending(current)) {
9005 ret = -EINTR;
9006 break;
9007 }
9008
9009 if (list_empty(&cc->migratepages)) {
9010 cc->nr_migratepages = 0;
9011 ret = isolate_migratepages_range(cc, pfn, end);
9012 if (ret && ret != -EAGAIN)
9013 break;
9014 pfn = cc->migrate_pfn;
9015 tries = 0;
9016 } else if (++tries == 5) {
9017 ret = -EBUSY;
9018 break;
9019 }
9020
9021 nr_reclaimed = reclaim_clean_pages_from_list(cc->zone,
9022 &cc->migratepages);
9023 cc->nr_migratepages -= nr_reclaimed;
9024
9025 ret = migrate_pages(&cc->migratepages, alloc_migration_target,
9026 NULL, (unsigned long)&mtc, cc->mode, MR_CONTIG_RANGE, NULL);
9027
9028 /*
9029 * On -ENOMEM, migrate_pages() bails out right away. It is pointless
9030 * to retry again over this error, so do the same here.
9031 */
9032 if (ret == -ENOMEM)
9033 break;
9034 }
9035
9036 lru_cache_enable();
9037 if (ret < 0) {
9038 if (ret == -EBUSY)
9039 alloc_contig_dump_pages(&cc->migratepages);
9040 putback_movable_pages(&cc->migratepages);
9041 return ret;
9042 }
9043 return 0;
9044 }
9045
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 1 week
Re: [PATCH v4 4/6] ACPI / fan: Properly handle fine grain control
by kernel test robot
Hi Srinivas,
I love your patch! Yet something to improve:
[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on linus/master v5.17-rc3 next-20220211]
[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/Srinivas-Pandruvada/ACPI-fan-Add...
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220212/202202120622.lPBqcxi6-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/367e082b5f2d1c640b906682cffcb7195...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Srinivas-Pandruvada/ACPI-fan-Add-fine-grain-control/20220212-001118
git checkout 367e082b5f2d1c640b906682cffcb7195e722f26
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/acpi/fan_core.o: in function `fan_get_state_acpi4':
>> drivers/acpi/fan_core.c:126: undefined reference to `__udivdi3'
vim +126 drivers/acpi/fan_core.c
108
109 static int fan_get_state_acpi4(struct acpi_device *device, unsigned long *state)
110 {
111 struct acpi_fan *fan = acpi_driver_data(device);
112 struct acpi_fan_fst fst;
113 int status, i;
114
115 status = acpi_fan_get_fst(device, &fst);
116 if (status)
117 return status;
118
119 if (fan->fif.fine_grain_ctrl) {
120 /* This control should be same what we set using _FSL by spec */
121 if (fst.control > 100) {
122 dev_dbg(&device->dev, "Invalid control value returned\n");
123 goto match_fps;
124 }
125
> 126 *state = fst.control / fan->fif.step_size;
127 return 0;
128 }
129
130 match_fps:
131 for (i = 0; i < fan->fps_count; i++) {
132 if (fst.control == fan->fps[i].control)
133 break;
134 }
135 if (i == fan->fps_count) {
136 dev_dbg(&device->dev, "Invalid control value returned\n");
137 return -EINVAL;
138 }
139
140 *state = i;
141
142 return status;
143 }
144
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 1 week
[linux-next:master 5416/5417] core.c:undefined reference to `sof_client_fw_state_dispatcher'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6d9bd4ad4ca08b1114e814c2c42383b8b13be631
commit: a00df6c1c55a7e8cf10d987488868c4976f46201 [5416/5417] Merge branch 'akpm-current/current'
config: i386-randconfig-a003-20210930 (https://download.01.org/0day-ci/archive/20220212/202202120649.OCTv4PxY-lk...)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout a00df6c1c55a7e8cf10d987488868c4976f46201
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: sound/soc/sof/core.o: in function `sof_set_fw_state':
>> core.c:(.text+0x1e4): undefined reference to `sof_client_fw_state_dispatcher'
ld: sound/soc/sof/core.o: in function `sof_probe_continue':
>> core.c:(.text+0x32b): undefined reference to `sof_register_clients'
ld: sound/soc/sof/core.o: in function `snd_sof_device_probe':
core.c:(.text+0x5a8): undefined reference to `sof_client_fw_state_dispatcher'
ld: sound/soc/sof/core.o: in function `snd_sof_device_remove':
>> core.c:(.text+0x614): undefined reference to `sof_unregister_clients'
ld: sound/soc/sof/core.o: in function `sof_probe_continue.cold':
>> core.c:(.text.unlikely+0xdb): undefined reference to `sof_client_fw_state_dispatcher'
ld: sound/soc/sof/ipc.o: in function `snd_sof_ipc_msgs_rx':
>> ipc.c:(.text+0x48f): undefined reference to `sof_client_ipc_rx_dispatcher'
ld: sound/soc/sof/pm.o: in function `sof_suspend':
>> pm.c:(.text+0x24a): undefined reference to `sof_suspend_clients'
>> ld: pm.c:(.text+0x2fa): undefined reference to `sof_suspend_clients'
ld: sound/soc/sof/pm.o: in function `sof_resume':
>> pm.c:(.text+0x49b): undefined reference to `sof_resume_clients'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 1 week
[sashal-stable:pending-5.16 35/73] kernel/sched/fair.c:3796:55: error: 'divider' undeclared
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git pending-5.16
head: 51f919289215d09b2aeca5dc7f27639f21ad7d1e
commit: b765f44bc5887dafdcc7eeb33cee10d448cd1f2a [35/73] sched/pelt: Relax the sync of runnable_sum with runnable_avg
config: arc-randconfig-r043-20220211 (https://download.01.org/0day-ci/archive/20220212/202202120638.Lth8u00j-lk...)
compiler: arc-elf-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://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-stable pending-5.16
git checkout b765f44bc5887dafdcc7eeb33cee10d448cd1f2a
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/sched/fair.c: In function 'detach_entity_load_avg':
>> kernel/sched/fair.c:3796:55: error: 'divider' undeclared (first use in this function)
3796 | cfs_rq->avg.util_sum = cfs_rq->avg.util_avg * divider;
| ^~~~~~~
kernel/sched/fair.c:3796:55: note: each undeclared identifier is reported only once for each function it appears in
In file included from include/linux/perf_event.h:25,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:88,
from kernel/sched/sched.h:66,
from kernel/sched/fair.c:23:
At top level:
arch/arc/include/asm/perf_event.h:126:27: warning: 'arc_pmu_cache_map' defined but not used [-Wunused-const-variable=]
126 | static const unsigned int arc_pmu_cache_map[C(MAX)][C(OP_MAX)][C(RESULT_MAX)] = {
| ^~~~~~~~~~~~~~~~~
arch/arc/include/asm/perf_event.h:91:27: warning: 'arc_pmu_ev_hw_map' defined but not used [-Wunused-const-variable=]
91 | static const char * const arc_pmu_ev_hw_map[] = {
| ^~~~~~~~~~~~~~~~~
vim +/divider +3796 kernel/sched/fair.c
a05e8c51ff097f Byungchul Park 2015-08-20 3783
3d30544f02120b Peter Zijlstra 2016-06-21 3784 /**
3d30544f02120b Peter Zijlstra 2016-06-21 3785 * detach_entity_load_avg - detach this entity from its cfs_rq load avg
3d30544f02120b Peter Zijlstra 2016-06-21 3786 * @cfs_rq: cfs_rq to detach from
3d30544f02120b Peter Zijlstra 2016-06-21 3787 * @se: sched_entity to detach
3d30544f02120b Peter Zijlstra 2016-06-21 3788 *
3d30544f02120b Peter Zijlstra 2016-06-21 3789 * Must call update_cfs_rq_load_avg() before this, since we rely on
3d30544f02120b Peter Zijlstra 2016-06-21 3790 * cfs_rq->avg.last_update_time being current.
3d30544f02120b Peter Zijlstra 2016-06-21 3791 */
a05e8c51ff097f Byungchul Park 2015-08-20 3792 static void detach_entity_load_avg(struct cfs_rq *cfs_rq, struct sched_entity *se)
a05e8c51ff097f Byungchul Park 2015-08-20 3793 {
8d5b9025f9b450 Peter Zijlstra 2017-08-24 3794 dequeue_load_avg(cfs_rq, se);
89741892221591 Peter Zijlstra 2016-06-16 3795 sub_positive(&cfs_rq->avg.util_avg, se->avg.util_avg);
fcf6631f373698 Vincent Guittot 2021-06-01 @3796 cfs_rq->avg.util_sum = cfs_rq->avg.util_avg * divider;
9f68395333ad7f Vincent Guittot 2020-02-24 3797 sub_positive(&cfs_rq->avg.runnable_avg, se->avg.runnable_avg);
b765f44bc5887d Vincent Guittot 2022-01-11 3798 sub_positive(&cfs_rq->avg.runnable_sum, se->avg.runnable_sum);
b765f44bc5887d Vincent Guittot 2022-01-11 3799 /* See update_cfs_rq_load_avg() */
b765f44bc5887d Vincent Guittot 2022-01-11 3800 cfs_rq->avg.runnable_sum = max_t(u32, cfs_rq->avg.runnable_sum,
b765f44bc5887d Vincent Guittot 2022-01-11 3801 cfs_rq->avg.runnable_avg * PELT_MIN_DIVIDER);
0e2d2aaaae52c2 Peter Zijlstra 2017-05-08 3802
0e2d2aaaae52c2 Peter Zijlstra 2017-05-08 3803 add_tg_cfs_propagate(cfs_rq, -se->avg.load_sum);
a2c6c91f98247f Steve Muckle 2016-03-24 3804
ea14b57e8a181a Peter Zijlstra 2018-02-02 3805 cfs_rq_util_change(cfs_rq, 0);
ba19f51fcb549c Qais Yousef 2019-06-04 3806
ba19f51fcb549c Qais Yousef 2019-06-04 3807 trace_pelt_cfs_tp(cfs_rq);
a05e8c51ff097f Byungchul Park 2015-08-20 3808 }
a05e8c51ff097f Byungchul Park 2015-08-20 3809
:::::: The code at line 3796 was first introduced by commit
:::::: fcf6631f3736985ec89bdd76392d3c7bfb60119f sched/pelt: Ensure that *_sum is always synced with *_avg
:::::: TO: Vincent Guittot <vincent.guittot(a)linaro.org>
:::::: CC: Peter Zijlstra <peterz(a)infradead.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
7 months, 1 week
【Amazon】アカウントの利用状況をご確認ください。
by Amazon
Amazon お客様
平素は、Amazonをご利用いただき、誠にありがとうございます。
あなたのアカウントは使用不可になりました。
あなたは複数回間違いのパスワードを入力したので、今パスワードはすでに使用不可になりました。セキュリティのため、私たちはあなたのアカウントを使用不可になる。
アカウントの通常を使用するために、使用不可の状態を停止して、回復するには以下を操作は必要です。
お客様の Amazon アカウント
Amazonチームはあなたのアカウントの状態が異常であることを発見しました。アカウント所有権の証明をご自身で行う場合は、Amazon 管理コンソールにログインし、所定の手順でお手続きください。
状態:
異常は更新待ちです
アカウントを確認する
あなたが24時間以内に確認できない場合は申し訳ありません。あなたの財産の安全のために、このアカウントの使用を制限します。
Amazonのまたのご利用をお待ちしております。
© 1996-2022, Amazon. Inc. or its affiliates
7 months, 1 week