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 338AAC0015E for ; Wed, 9 Aug 2023 16:01:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9C2F56B0071; Wed, 9 Aug 2023 12:01:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 94C308E0001; Wed, 9 Aug 2023 12:01:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7C5946B0075; Wed, 9 Aug 2023 12:01:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 66AD26B0071 for ; Wed, 9 Aug 2023 12:01:41 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 162D7A0FA7 for ; Wed, 9 Aug 2023 16:01:41 +0000 (UTC) X-FDA: 81105031602.08.D953C23 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by imf14.hostedemail.com (Postfix) with ESMTP id 622BD10007D for ; Wed, 9 Aug 2023 16:01:11 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b="WskBAI/b"; spf=pass (imf14.hostedemail.com: domain of elver@google.com designates 209.85.128.43 as permitted sender) smtp.mailfrom=elver@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1691596871; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=pLtoCkJZFd7DlMmlmj2DSsmBdq1DArEFkmtRS9xaJ3s=; b=O3gwaNrufCoh3fPoMrT/upBS2hKXZ5+dNqaJV8+X/Js2UVt/Ww2IeYHPFdAQaDIf2A92rK l4Ii+IPX4B9cIP96DjXBwgTYlWky4E76ltGOZieq3S1pOgbxHuJKcUe9DLNoQZAytDSbw9 fTVKFPP4Tw/WV5jVQvlOrWFjfl6G/rk= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b="WskBAI/b"; spf=pass (imf14.hostedemail.com: domain of elver@google.com designates 209.85.128.43 as permitted sender) smtp.mailfrom=elver@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691596871; a=rsa-sha256; cv=none; b=2/A6nFTvSUd5pzxmgZSh2npekY/Z8v7xzCmJygDyhj1OpW6HwTBVlzCKUEj+pec79758Kv ToW/AHXkg4RtAYhHprutTb8tnRofxNwLpHKstIxD/qlfxqM275ooY0lM2DZxWD9CYDVfb7 JqEMKIEl03jzYpNbELArcWq17Tafk0E= Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-3fe4cdb727cso49187105e9.0 for ; Wed, 09 Aug 2023 09:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691596870; x=1692201670; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pLtoCkJZFd7DlMmlmj2DSsmBdq1DArEFkmtRS9xaJ3s=; b=WskBAI/bHePTX2RjFcr20HcqlznV11JPxkl9ox2zSfMBXBhbLlefzJsrPVi6qfrEAh 7vGeWEUeqSM10JAN/j88XBkZ1Uvf1YfIVjh/nVuOjMhOhJxbkt0UhhiCTDELEYuYL4/E nvAqom0R+FPymQP2q1LeO1XJxCleiF2kPh4t/gYz9BglMUoHG8V3xF4x98XTkndOaTEq mbWvm/7TcWmoTAE2L4Ww51vi1vm41TBxjHjk6+3ozvvD1pMAR7l5RT+R6pwlfnr7jLYa DPgsLVj7iL5B+MsrTbD2r4Sn+SwGNoDtBxrA+CxbahuNSGDrhyHiglhEKUOFroYWBKtY x+rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691596870; x=1692201670; h=content-transfer-encoding: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=pLtoCkJZFd7DlMmlmj2DSsmBdq1DArEFkmtRS9xaJ3s=; b=VpOG0VEe0BQaYXul1jwJ+zk13nUeMSeUZYTHPt0ujpvdRzGABc9MwL9zEEO/WMza3A OoqED142Gq/jXpT+Mfi7g+O432eJ1T+FST0DTy0DHlQizYfEmmv/k9NPIVm/8OGK11b5 4XhCr0WSGqVsFWrHHFPljXtZWh+q1fODPlk6sC6ugwXVjFldB78fNiyT8U8WAjNYzs9U R2rfPXNqFyBjZnkoufDuzUVv9ibxvUyLwb2N/3wu0Cb8oEhQqdPHdw1KT0OTDjHidKUu ntqjN0xfPbnMtFJ++0G/DzCqUmiAizEyFVAYxcStSQhdWupsZ48g7VdDxBLH7fo97C6p QljA== X-Gm-Message-State: AOJu0YxpaaUkWjpBjT1Fwuou3bblhPfWCYGnTF2ZOJ7F3YRfbZjCWnkq dyyjr1YgcYa81liP9PPcVCxSkKGNKwIhQ7ekI1kLZg== X-Google-Smtp-Source: AGHT+IH4iIom5mh7Wwh1u0OlKwjKYcjxeh6YgAy0mkwT/O25V+qbI0rcBuuhzYU5ocUTIJm8XgJZdXXIllmS3veX1M0= X-Received: by 2002:a1c:740e:0:b0:3fe:ad4:27b4 with SMTP id p14-20020a1c740e000000b003fe0ad427b4mr2583212wmc.27.1691596869851; Wed, 09 Aug 2023 09:01:09 -0700 (PDT) MIME-Version: 1.0 References: <202308091820.0dPY7D6f-lkp@intel.com> In-Reply-To: From: Marco Elver Date: Wed, 9 Aug 2023 18:00:32 +0200 Message-ID: Subject: Re: [linux-next:master 8173/8441] include/linux/list.h:53:13: warning: '__preserve_most__' calling convention is not supported for this target To: Nick Desaulniers Cc: kernel test robot , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Andrew Morton , Miguel Ojeda Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 622BD10007D X-Rspam-User: X-Stat-Signature: xfhwmx9cho6osontjrop73icorha9mt1 X-Rspamd-Server: rspam01 X-HE-Tag: 1691596871-406281 X-HE-Meta: U2FsdGVkX18dguWl1YTpnB6vRf/U3BOVfVF3BiiBjNgMh3ALbaqC4flWvWlk/YA8/YqBQCzAqVQWMc30MRuHOvP82Zrjo3SppK92z/ShN6YjPIi/0EHQ4GtNAKUu5STHflTA0DdGyVWoiH+YOZ48chTyqSjxPIsNv4CBH8RADj8ayuKqZ4cF7X0hdwo2x5E6qI6Xfj3320tvaACPK5A/JWkx4mSn9kVmkUVRQoKq9xgJoHRSbX29ru6Qsq5Rm2mXIuaipHwNZM1s3J3o39vyVqJZUn8IeDj4h1puaxljxni8ebAfsBPXpdnc9QJo22kxw+7XBXqpubSs3Vq1ykFa/rLBqSglklL+/HM08lZRVCWz5oCroVFmCZMh40HuDKBG1qH68rNt9wq2w8lyVPXyXNCP3LbODLTzC5JRZjF4Iu2tYsz9O90Yup0IDCsExL0uTGKsvn+YZgDOmo25h3+S3OIv6IRnbdo0P8e1tt9QocvFSe66a1It5IukO8piUvpIk+43f7hXkkBlnAmvRrWZxuI3jp5QM72FyM6zUtwAhFin9AxkbkDqscqR/iHaKlhO6FN5tBPL37ie2kG1nv//vMUGGVkGEWGxr2Ps8vkvwVpQiGWNnuYDgmrzU13wRF3hoUNBq/mywDRZAUY5iWpOjHSesqFUOTPuYzA/EBDD+yNUz6fGpTT449ioS5SuAXnKk8zLLxZShmYYqcUf0WZQu9BoAuEMIkA0XRZqJsI1QHWow7S3kjqMdagNWpxK6sUtEobiWuG+DjItBk1zrSBUSVH3htrUJw8z5KoOwIhN9rDPM1XvsAbhUsNzJNEBIucTZb/XYaNq1YFeUd5KbTUB/MQvua5OopZij9nwMgHOcceYj3Jg7dfzs41/ktrqJ3FlNsu+MwgmPn47nzRxWoVsLlB2vueWf9P0pfDM2E9b76QHdfBDcl6H0wVIncHI3BwJH0AjQh/hsFJjLdoPAx1 yMIaTn3G U6R+8dJvBEYXp/0uO0B32orUDi14rs6TNplzXy0e8J+GKcbdlQcp72QHGKCzSbnrWrQZUyUrATBtgn/9OSUg+EOQaljhrAviLd8Kwj2KmP1HAdGPnYplPj9obtPUsxKTfI0V7UUvIAG5icUFcgUXd31Av2ksXbrxUn29lZ1PJfGfR6Dr7+POtxhn2SrN9VGrza7Nm6DBCm6ZeyMSG6hB0WCLBDLQlgogYAWQJg39Edi8qXRK5v9dbB3y/azMiEricup5B1yZi9y1RIz/ghNEzm3pZi1FJ9gZd+DHMx1wail+l+K8lspuTdctdS1pNpPqstAJ5L5s/gzYIF2uQXv7jDYZIav8NFywf4qC+om+DiQXfkldHGubeVU2FNLApZGbqqWbGpZNfmXbDUzsuzEuxlbfLxnGaGZHU5xJmAwFOu9OzcoHnhTVgVwzZ7xWBefaDzqpilTD62uzCaS0= 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 Wed, 9 Aug 2023 at 17:53, Nick Desaulniers wro= te: > > On Wed, Aug 9, 2023 at 4:15=E2=80=AFAM Marco Elver wro= te: > > > > On Wed, Aug 09, 2023 at 06:27PM +0800, kernel test robot wrote: > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-ne= xt.git master > > > head: 21ef7b1e17d039053edaeaf41142423810572741 > > > commit: fee8feb67f0b2954eb7a2a259122e43a15cf3a52 [8173/8441] list_deb= ug: introduce CONFIG_DEBUG_LIST_MINIMAL > > > config: hexagon-randconfig-r041-20230808 (https://download.01.org/0da= y-ci/archive/20230809/202308091820.0dPY7D6f-lkp@intel.com/config) > > > compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.= git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) > > > reproduce: (https://download.01.org/0day-ci/archive/20230809/20230809= 1820.0dPY7D6f-lkp@intel.com/reproduce) > > > > > > If you fix the issue in a separate patch/commit (i.e. not just a new = version of > > > the same patch/commit), kindly add following tags > > > | Reported-by: kernel test robot > > > | Closes: https://lore.kernel.org/oe-kbuild-all/202308091820.0dPY7D6f= -lkp@intel.com/ > > > > > > All warnings (new ones prefixed by >>): > > > > > > In file included from arch/hexagon/kernel/asm-offsets.c:12: > > > In file included from include/linux/compat.h:14: > > > In file included from include/linux/sem.h:5: > > > In file included from include/uapi/linux/sem.h:5: > > > In file included from include/linux/ipc.h:5: > > > In file included from include/linux/spinlock.h:56: > > > In file included from include/linux/preempt.h:12: > > > >> include/linux/list.h:53:13: warning: '__preserve_most__' calling c= onvention is not supported for this target [-Wignored-attributes] > > > extern bool __list_valid_slowpath __list_add_valid_or_report(struc= t list_head *new, > > > ^ > > > include/linux/list.h:44:39: note: expanded from macro '__list_vali= d_slowpath' > > > # define __list_valid_slowpath __cold __preserve_most > > > ^ > > > include/linux/compiler_types.h:132:49: note: expanded from macro '= __preserve_most' > > > # define __preserve_most notrace __attribute__((__preserve_most__)= ) > > > > To silence this warning, we can just guard it based on known-supported = architectures: > > As a band-aid, sure. > Reviewed-by: Nick Desaulniers > Long term, perhaps we can fix in clang what __has_attribute evaluates > to for this attribute depending on the target. Filed: > https://github.com/ClangBuiltLinux/linux/issues/1908 > ^ Consider adding a comment linking to that in the sources. I will fold it into patch 1/3 of the original series. May I apply your Reviewed-by there? I think there needs to be a v4, also because of some other change requests,= too. Andrew, please shout if you'd rather have them as fix patches. Thanks!