From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id CFA01C25B50 for ; Tue, 24 Jan 2023 19:24:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 50A276B0071; Tue, 24 Jan 2023 14:24:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 492CA6B0072; Tue, 24 Jan 2023 14:24:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 35AA06B0073; Tue, 24 Jan 2023 14:24:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 2342F6B0071 for ; Tue, 24 Jan 2023 14:24:13 -0500 (EST) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id AF1E4140C19 for ; Tue, 24 Jan 2023 19:24:12 +0000 (UTC) X-FDA: 80390668344.08.DA1C62D Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) by imf15.hostedemail.com (Postfix) with ESMTP id 742DFA000A for ; Tue, 24 Jan 2023 19:24:09 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C85m29M5; spf=pass (imf15.hostedemail.com: domain of nphamcs@gmail.com designates 209.85.160.173 as permitted sender) smtp.mailfrom=nphamcs@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1674588249; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=H02SARdJbOG9xHDyO4rUQCOtJbYpCr4eHoKUBzaYL6Q=; b=y98/eIUhRPrd+cy7Ks5lAMB/vHohBi1l9ZJud/wa7b7zE+ypCXeQ7uKnRAy0ds3uLRaxYY uExzVsHpTSqbmXXzbnKDa49/m9jknincp7AGcVJC9ALlW7JHc4Pm2tbrzPWRV+lL70xaep 0N1yG4qQFuNQOi7+2zWFfnbJF/qNKvM= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C85m29M5; spf=pass (imf15.hostedemail.com: domain of nphamcs@gmail.com designates 209.85.160.173 as permitted sender) smtp.mailfrom=nphamcs@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1674588249; a=rsa-sha256; cv=none; b=ZBRJl3TOitFrQ+3I0ORqgx2RZvlWhozZm3GfEquvZko6p/x5hOWJ+SD8a6MlMkO6bIV3fS hp3K2WPGs8N64ytvdQt8lnfNhowJND2DBOKb3JDapLW1913faOWcFZlSX6wDhG2kvZYi3Q yLS+z8gWmegdfH7+6CWnTRmwSLxSllo= Received: by mail-qt1-f173.google.com with SMTP id g16so11955593qtu.2 for ; Tue, 24 Jan 2023 11:24:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=H02SARdJbOG9xHDyO4rUQCOtJbYpCr4eHoKUBzaYL6Q=; b=C85m29M5lfrN780bOuZp0hcwIYmhYNu3EpCIUC5yO+IBjLEzwdVRSVjTss3vblrmTO QATRwCNI055bWM2lULIfOOg1dTqsEtj7/x7T1aWQXczPgKAwNSvro1yvrqREynp/BY/P KCaRyB+7mmWH8uudnalwE0g3WeJObVQUlFbuEeWGqTCVSunmEBNWkBuLcYyiLF42Vtmy RPulL5QO653p3sT6zUEPCUTuzW7byd4bJ25Zu1OWQrd6lmUoZ5zcCDRim4IH3f+b86bn ouQqN8M07iSpAjiG/YPu8/E92l+z8fEj7WBhCG8QWP3Gxr0Yp1uN7SVASIBkYK1h1+2f wlng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H02SARdJbOG9xHDyO4rUQCOtJbYpCr4eHoKUBzaYL6Q=; b=G3GgpOCkXJzcHqgcAqYEfIO8COT/sHV2A6OWYIPpcg5hlleapBzc+RfDNNtKOmDDeA JsmrxRM5RpB1i5bVZt8cHoiSd9PAGrbuzLvFbzcnRmnfUJD8bN266An+ou+fn81SiSEQ JJA/QZbAaf3FcKj8XIeKeEXGqubdW3wS9QXsMzk5Hwe77CqkX6MClEvUxy2QOn9r19UX AR2EiiW1zQdUE3x9F9h13aNw44UZQhrtGZglqvFlNBoIBFMZog/hRqZ3nepzuiZ8HfyZ R9vq6BCfnmy6laYGCPNkjl5rEqJQzhRcP81T9/2sKc9dny+W2e2SxaSHzzoIteoSSNoA yUWg== X-Gm-Message-State: AFqh2koFPcdZnoxk8hVk/4QqC+BspsBfDUP+7ZRu+lSVTS/FLBgK3jri 8VPn1q7Bum3x+ZWTcg03Njk5VXry/aOrYL4zZyA= X-Google-Smtp-Source: AMrXdXslw37tCOS4eF39s7VAH4eqhhJOdfda7JWGinfdntqqz+u1IqaESuA5KlGI4tYZV1Y805Xd6YqiehtmiIrtbbI= X-Received: by 2002:ac8:774d:0:b0:3b6:6669:dd20 with SMTP id g13-20020ac8774d000000b003b66669dd20mr850987qtu.93.1674588248442; Tue, 24 Jan 2023 11:24:08 -0800 (PST) MIME-Version: 1.0 References: <20230124021118.154078-3-nphamcs@gmail.com> <202301241402.CeUdAtDh-lkp@intel.com> In-Reply-To: <202301241402.CeUdAtDh-lkp@intel.com> From: Nhat Pham Date: Tue, 24 Jan 2023 11:23:57 -0800 Message-ID: Subject: Re: [PATCH v7 2/3] cachestat: implement cachestat syscall To: kernel test robot Cc: akpm@linux-foundation.org, oe-kbuild-all@lists.linux.dev, hannes@cmpxchg.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, bfoster@redhat.com, willy@infradead.org, linux-api@vger.kernel.org, kernel-team@meta.com Content-Type: text/plain; charset="UTF-8" X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 742DFA000A X-Stat-Signature: awcj5hwcqu6ee3z1kkaziid3ymmczyqp X-HE-Tag: 1674588249-173866 X-HE-Meta: U2FsdGVkX18TVeOkmml74kN/i1j2WWQi6uZ5JXocl3Mdd5wbsM6wnlkxfFkrvOOOFD9Rza76WxRil5E6yl+DUmBLo61G4L+J7/b6f90doZbo300stMk0uSir+zZ+bxIIaa1fXn9YPSGdZDSv0CS9xADlhNHzsLCq7sLjql5Cv6+XCa7LvrzwecsbcAwrC6iIn7dVWygUW/aJma314eyFU75yDf/d4NihFqM1sjkdIZBvgHB+xJ2ug6tdLdOt/vR9MTE7t33lkW2O5TLmJsxdk1ROdhrAvSICiG/Lk2oq82Bgg6yxOCa+Fwzj0pRuQrn3gpAZH32S1qynQpUKh8s+CkvYSDftJvhM3dHHRK4iZ2s84SVJC3LaOuaH9rrWPcf4oOUEk7TDZxla9TP0AkAKnNuXrSmBf4R7nVwBFC2+5LMr9bZ6sBmHZf/5jfnSZofi/GHt1xp3Yl6/49uaqgb/AhwHNA5tUYWN+FSKLnkWXGqUCzJBa93t/jUcnhJ5icsX4iZZ0Ce74V8Bq6g1R9ZylUB9RBbmyEPg4+BAcguZcjMDq1indFiCtZqjNe5c49hsTcn8e0ZNzC2kc2+UT/Lnvb/rbXVuUSty42aG4h0mruK3xEnKG7U0YPdrikRQchxIeQBtRNjqpawJsNFJBj7mZkpxena3clJlfhM5l2Eb/LmMMn/77JJTe+6cCW4nwJBWqShQsmVCeORGSqbLVEvY9Dny7ZxEuxLzTYEG8e2peGbSqCEr9xZXSzM3owhxxiiDLQvQLCFjPK0ahgICWkl4RitRy2ZCQ0P/b5iEMl+sINIyyT2xzyXDGEPQZKNDVDYiN+9KdMyZ8YV9Gib2JbXyCTJQQisgmJuSUpGkMCSLICuyd0+6ivVfrVg8hVc0rBHqX5w68loi8Clv83k3BkuZF8KzepTzjalEVWKBdJB/hiCUjSsfw36NkbdUvIjFCz7+sweKBV94sKLZf6CuCRb TSXyPWBT AZHfdDlL/A0D00+B7ub1+pcC8w2BrY4vf/VYwv1OSpV0CZ+b3xR4dzMdPLeNinOXVOxXq5KAH0HpOrGNinXlBii1rDiNHbnBbB5elGts4tW9uClU/yIhDDpjUGY5J191pWcIBEL9WNHcOJAWHnfONrWKWX0nsc2WZ+/YfD8COhZC/v/puzcrfjPuoC96XBtqlnr0DrCeRa23AnLY6KgTELjSm1kfU/2J85W+64vb+kwGtewzw8EdkvpiHKgOjLIPWbW06xp3Db196FJ5Sy2RoSyT8OWB2aGa0KCVcSABSDaOjv0Ml6FABwSYSzA+Re66BvIkqEkh56JmPRz0DTCE6meZDL0kh1K5lBRpy4wfK2mSMfEhutqORnh60Ccascnr+iwai5rNFMHFPG1JGxQBvXjXVYBegtbY8vXJINO5QaCXRVZl/YPV8mOTvOXHW1560yKoi8/+MijF9faBl914wXYIK74i0w9erMtE74Mc3caULoDBGEBQJ5VR0Wu38+Or7KjUi+T1yojQgp1e5a1uruYSEHUw1IfJNtyeSKGZpCHUcMyCDoIRSUXg47RFAeXP1m1IiqvEbslBD6r0= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Jan 23, 2023 at 10:49 PM kernel test robot wrote: > > Hi Nhat, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on 1440f576022887004f719883acb094e7e0dd4944] > > url: https://github.com/intel-lab-lkp/linux/commits/Nhat-Pham/workingset-refactor-LRU-refault-to-expose-refault-recency-check/20230124-101311 > base: 1440f576022887004f719883acb094e7e0dd4944 > patch link: https://lore.kernel.org/r/20230124021118.154078-3-nphamcs%40gmail.com > patch subject: [PATCH v7 2/3] cachestat: implement cachestat syscall > config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20230124/202301241402.CeUdAtDh-lkp@intel.com/config) > compiler: mips-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/f902a360bb453bd6885cd89d4f9ad4a40205fd15 > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Nhat-Pham/workingset-refactor-LRU-refault-to-expose-refault-recency-check/20230124-101311 > git checkout f902a360bb453bd6885cd89d4f9ad4a40205fd15 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=mips prepare > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> :1565:2: warning: #warning syscall cachestat not implemented [-Wcpp] > -- > >> :1565:2: warning: #warning syscall cachestat not implemented [-Wcpp] > -- > scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr] > scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr] > scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples > arch/mips/kernel/asm-offsets.c:26:6: warning: no previous prototype for 'output_ptreg_defines' [-Wmissing-prototypes] > 26 | void output_ptreg_defines(void) > | ^~~~~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:78:6: warning: no previous prototype for 'output_task_defines' [-Wmissing-prototypes] > 78 | void output_task_defines(void) > | ^~~~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:92:6: warning: no previous prototype for 'output_thread_info_defines' [-Wmissing-prototypes] > 92 | void output_thread_info_defines(void) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:108:6: warning: no previous prototype for 'output_thread_defines' [-Wmissing-prototypes] > 108 | void output_thread_defines(void) > | ^~~~~~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:136:6: warning: no previous prototype for 'output_thread_fpu_defines' [-Wmissing-prototypes] > 136 | void output_thread_fpu_defines(void) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:179:6: warning: no previous prototype for 'output_mm_defines' [-Wmissing-prototypes] > 179 | void output_mm_defines(void) > | ^~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:213:6: warning: no previous prototype for 'output_sc_defines' [-Wmissing-prototypes] > 213 | void output_sc_defines(void) > | ^~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:248:6: warning: no previous prototype for 'output_signal_defined' [-Wmissing-prototypes] > 248 | void output_signal_defined(void) > | ^~~~~~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:315:6: warning: no previous prototype for 'output_pbe_defines' [-Wmissing-prototypes] > 315 | void output_pbe_defines(void) > | ^~~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:327:6: warning: no previous prototype for 'output_pm_defines' [-Wmissing-prototypes] > 327 | void output_pm_defines(void) > | ^~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:341:6: warning: no previous prototype for 'output_kvm_defines' [-Wmissing-prototypes] > 341 | void output_kvm_defines(void) > | ^~~~~~~~~~~~~~~~~~ > arch/mips/kernel/asm-offsets.c:385:6: warning: no previous prototype for 'output_cps_defines' [-Wmissing-prototypes] > 385 | void output_cps_defines(void) > | ^~~~~~~~~~~~~~~~~~ > >> :1565:2: warning: #warning syscall cachestat not implemented [-Wcpp] > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests I need to add the new syscall to mips' syscall table (arch/mips/kernel/syscalls/syscall_n32.tbl etc.)