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 X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1908C433E0 for ; Thu, 2 Jul 2020 04:52:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3DF44206A1 for ; Thu, 2 Jul 2020 04:52:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=intel.onmicrosoft.com header.i=@intel.onmicrosoft.com header.b="Zc8KVAO4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3DF44206A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 655F06B00D9; Thu, 2 Jul 2020 00:52:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5DF816B00DA; Thu, 2 Jul 2020 00:52:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 458106B00DB; Thu, 2 Jul 2020 00:52:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0223.hostedemail.com [216.40.44.223]) by kanga.kvack.org (Postfix) with ESMTP id 293F16B00D9 for ; Thu, 2 Jul 2020 00:52:17 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 9C9242DFC for ; Thu, 2 Jul 2020 04:52:16 +0000 (UTC) X-FDA: 76991914272.13.jewel29_1204b2a26e86 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin13.hostedemail.com (Postfix) with ESMTP id 7276F18140B67 for ; Thu, 2 Jul 2020 04:52:16 +0000 (UTC) X-HE-Tag: jewel29_1204b2a26e86 X-Filterd-Recvd-Size: 11169 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf47.hostedemail.com (Postfix) with ESMTP for ; Thu, 2 Jul 2020 04:52:14 +0000 (UTC) IronPort-SDR: JJL6DjmsMsxM89s734W7lFZg+sSJQDAsR9swy73oeUBtB3rRqGCQNYusta5ZFrJYJxyHZb+fW5 /nKlNY94zFwQ== X-IronPort-AV: E=McAfee;i="6000,8403,9669"; a="148335490" X-IronPort-AV: E=Sophos;i="5.75,302,1589266800"; d="scan'208";a="148335490" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jul 2020 21:52:13 -0700 IronPort-SDR: A/GIAh28uu6qC7z1YwQHLZKtcu2vGjut5wCjZSgy3ghaYTLF+eZHcR+wnAX72fuvKERMWo0GKx PBVBNRw4Qlkw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,302,1589266800"; d="scan'208";a="304106607" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 01 Jul 2020 21:52:12 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 1 Jul 2020 21:51:59 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 1 Jul 2020 21:51:58 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 1 Jul 2020 21:51:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FmjBJq5uWjlKPAVWoD8cmalcKluq64T3WKlR1N1fonXXg7g8CclQ1Q4zYSZX1cv788t+C4brfa4m7HtLYo8L0qStPn4IIUhRplQpvwDFjP9xqYMbmaGqC+VStDYGWgXkEy6rmfoRw9wT1de+j4ujUq+jeZ20NoayWXnnkclwSW4GwZ66ra9wUKXBtbrZCCKmBSPXBEQZXbYARpe0ODndJAJJp6LaBNB92PN5VcRbApVKbwfwv9S3swzmo1mBD2BJg4XIR9b1b0nE0Z2cRmB9W2eG7mcIuq7nD5jCANxfQHHd/LQuOqOjolMI7PRxsHa2R+I0hU8IztcasehcL8ADyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B/l+7u4SsDNt7MOryCWO+evM/43ykwD974j0z40Zb1I=; b=Xg8K0xsjvtMVO4xwr+0Civ9/vKuF4wTKWeqQlVuL9TiH5L5Ts4S6lktxHtWfwRswoQzCwrJI62Skut//Nu/+E+FfzZg5xEfSBToFdpkpHfLAxYTSF673wy7mYXcgn49wrecgyjQY2olizYf6F1wjDq/0R+oNwbzqF/a6LrOCK2jj+aHRS1yNf2SA1NI1RN5jXPh1xp5fuBuYF+hIiSTFTUDSOm4ocJJiSDYXafkUB072zQHtMIUCsKtlSZzVk6Og+lWP1MTXrKW0Ts2mrrB8fAGfTi6bQFL79JZnX2QMNheNIsm0RK0M8kKKwKti5EJXdrzYS+r1O6XovPA2JaM4RQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B/l+7u4SsDNt7MOryCWO+evM/43ykwD974j0z40Zb1I=; b=Zc8KVAO4ItYgj8YQtqff/c0+kU6F/7mRfoa9Zqg1kG7Y2lZTxQvyKXbAx5JRmJVafjCAyNPKSh8PPRhkAZZm8VQJYH/Hs7I4euInP8A6+9KBX7BVtqxM5bfcq9XZXM70Ul/MXZa3tbfwgt/VxrASra9ROtF7m8RXoxQJPey4blM= Received: from BN6PR11MB4049.namprd11.prod.outlook.com (2603:10b6:405:7f::12) by BN6PR1101MB2097.namprd11.prod.outlook.com (2603:10b6:405:50::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.20; Thu, 2 Jul 2020 04:51:56 +0000 Received: from BN6PR11MB4049.namprd11.prod.outlook.com ([fe80::5960:d54:eda9:ab84]) by BN6PR11MB4049.namprd11.prod.outlook.com ([fe80::5960:d54:eda9:ab84%7]) with mapi id 15.20.3131.030; Thu, 2 Jul 2020 04:51:56 +0000 From: "Xia, Hui" To: Anshuman Khandual , lkp , "linux-mm@kvack.org" CC: "kbuild-all@lists.01.org" , "robin.murphy@arm.com" , Catalin Marinas , Will Deacon , Mark Rutland , Mike Kravetz , Barry Song , Andrew Morton Subject: RE: [kbuild-all] Re: [PATCH V2] arm64/hugetlb: Reserve CMA areas for gigantic pages on 16K and 64K configs Thread-Topic: [kbuild-all] Re: [PATCH V2] arm64/hugetlb: Reserve CMA areas for gigantic pages on 16K and 64K configs Thread-Index: AQHWTgW9nn76yVc54E2rfhEC7x2ebajwWPkAgANixqA= Date: Thu, 2 Jul 2020 04:51:56 +0000 Message-ID: References: <1593413107-12779-1-git-send-email-anshuman.khandual@arm.com> <202006291913.9GQyi7Go%lkp@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.215] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 34654b9a-23d2-4207-632c-08d81e43a5eb x-ms-traffictypediagnostic: BN6PR1101MB2097: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1079; x-forefront-prvs: 0452022BE1 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MB6LinhS9YySUMPOl4RPTKftpOaGxBJWY5fLLSYpLUDEobrRa/bHZeWZ3ch7M1sOIkFnbnRCRevO/VZgh4cWDeUAns+LaYGQstmp1ZuGqISJRlvSJyzJbXihgnudxLsyvWpsLU3AL2qAV9wjtCrd5UeOgw9tFXYeumu0tqm0u6jswu69d2pZWJeLXDbTifXFxGteaTYYmJ2ITtuYGbFMwWe4MRiejrAeTie9fwQ6+r+x9qllwdsRo7scfTyt2a49gQx0sOYNPxYZIQ03sD71poVC7JB4BfR7t7F6pHlodVt7tlyLzHO7cno9S9QOMeZq4jLy7jgz3yMZIWPLLD+3YjDP0hXkCJR2UxyK4auXwORl7LMsJY9X0gnl9mHAu9AdyHldL5zDsN4E23KrcqUwnw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN6PR11MB4049.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(136003)(39860400002)(346002)(396003)(366004)(376002)(71200400001)(2906002)(52536014)(76116006)(7416002)(66556008)(66476007)(5660300002)(64756008)(66446008)(316002)(6506007)(186003)(54906003)(110136005)(7696005)(966005)(478600001)(33656002)(26005)(55016002)(66946007)(9686003)(8676002)(4326008)(86362001)(83380400001)(83080400001)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: Sd6/BQldty3G0gmtGaNsazIzXV1NR2YbzhDcvbSUNUBjGVsYoa1GCkEE83lstH6aQdy2PMfN87TreiAL06ZwSCcf/pXObFOZMUNc1YAWzYbDHCJpZQAwmXIfL2IznJwjRGSCU6P1HTO2W9he/QpOCIcgms2HQUbnxsW0J29gDqGykTgiPcrFtcd5ti0KbiPNskJftok8PLUeca3XAPR7zDIhkjO6A24AqaNwivfyV587z0JIcaesxEPCV18BsZw4cmewYD/oUW4BvvAeO2rlB2nDMPD9s2GLPWeytNyyuAMLSg5/G8t0E3l7SOLBmycGzGcM0OtNpXyukZG4t4h6burVCSdviua8/9s2ZSlJ6ZLk38KJBzaGjkBkyQlK0jgO56F/TkzzhKHaU4T+uRp7+/+UTmNkNCLHMCjfjAbu9hzhi+Qql1//YmvtTHsSEq/egawLSmirWjd8G09qxgI2kcUfHMqPQ/rJoAqdFtRFnyRnnIRg8xdJGf2PHLj020+R Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB4049.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34654b9a-23d2-4207-632c-08d81e43a5eb X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jul 2020 04:51:56.7474 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MMHShzLytQgAdeKxT8KdZORW3ZF4s3d7IFCDUFUhOvVoU8QuQMri8QR+iuZN7t8hwmdgTBoJ0BoH39i5VF3Plw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2097 X-OriginatorOrg: intel.com X-Rspamd-Queue-Id: 7276F18140B67 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 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: >-----Original Message----- >From: Anshuman Khandual >Sent: 2020=1B$BG/=1B(B6=1B$B7n=1B(B30=1B$BF|=1B(B 9:05 >To: lkp ; linux-mm@kvack.org >Cc: kbuild-all@lists.01.org; robin.murphy@arm.com; Catalin Marinas >; Will Deacon ; Mark Rutland >; Mike Kravetz ; Barry >Song ; Andrew Morton foundation.org> >Subject: [kbuild-all] Re: [PATCH V2] arm64/hugetlb: Reserve CMA areas for >gigantic pages on 16K and 64K configs > >On 06/29/2020 04:38 PM, kernel test robot wrote: >> Hi Anshuman, >> >> Thank you for the patch! Perhaps something to improve: >> >> [auto build test WARNING on v5.8-rc3] >> [also build test WARNING on next-20200629] [cannot apply to >> arm64/for-next/core] [If your patch is applied to the wrong git tree, >> kindly drop us a note. >> And when submitting patch, we suggest to use as documented in >> https://git-scm.com/docs/git-format-patch] >> >> url: https://github.com/0day-ci/linux/commits/Anshuman-Khandual/arm64= - >hugetlb-Reserve-CMA-areas-for-gigantic-pages-on-16K-and-64K- >configs/20200629-144736 >> base: 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68 >> config: arm64-defconfig (attached as .config) >> compiler: aarch64-linux-gcc (GCC) 9.3.0 reproduce (this is a W=3D1 >> build): >> wget https://raw.githubusercontent.com/intel/lkp- >tests/master/sbin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # save the attached .config to linux build tree >> COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cro= ss >> ARCH=3Darm64 >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All warnings (new ones prefixed by >>): >> >>>> arch/arm64/mm/hugetlbpage.c:40:13: warning: no previous prototype >>>> for 'arm64_hugetlb_cma_reserve' [-Wmissing-prototypes] >> 40 | void __init arm64_hugetlb_cma_reserve(void) >> | ^~~~~~~~~~~~~~~~~~~~~~~~~ > >This only comes up with W=3D1 and I wonder if this is truly a valid warnin= g. Should >all non-static function needs to have a declaration in a header file ? In = this case, >there is a declaration for this function near the call site itself, why sh= ould not that >be sufficient. Yes, -Wmissing-prototypes only enabled when make W=3D1. Kindly refer to FAQ= =20 https://github.com/intel/lkp-tests/wiki/LKP-FAQ#how-is-one-meant-to-act-on-= w1-reports-like--wmissing-prototypes please ignore this warning if confirmed it is not a issue here. sorry for i= nconvenient. > >#if defined(CONFIG_HUGETLB_PAGE) && defined(CONFIG_CMA) void >arm64_hugetlb_cma_reserve(void); <--------- Declaration #else static inlin= e void >arm64_hugetlb_cma_reserve(void) { } #endif >_______________________________________________ >kbuild-all mailing list -- kbuild-all@lists.01.org To unsubscribe send an = email to >kbuild-all-leave@lists.01.org