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 42D88C0015E for ; Wed, 9 Aug 2023 16:02:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AAE486B0071; Wed, 9 Aug 2023 12:02:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A85708E0001; Wed, 9 Aug 2023 12:02:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 926E56B0075; Wed, 9 Aug 2023 12:02:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 7F29C6B0071 for ; Wed, 9 Aug 2023 12:02:41 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 4AEB2A0F88 for ; Wed, 9 Aug 2023 16:02:41 +0000 (UTC) X-FDA: 81105034122.10.B88B082 Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com [209.85.128.178]) by imf26.hostedemail.com (Postfix) with ESMTP id 64670140071 for ; Wed, 9 Aug 2023 16:02:36 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=cl7uddFc; spf=pass (imf26.hostedemail.com: domain of ndesaulniers@google.com designates 209.85.128.178 as permitted sender) smtp.mailfrom=ndesaulniers@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=1691596956; 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=4tKqb+VoRgkyWgmeNFWtovmLOzkdpjBGuYz84vUiz14=; b=i+VpnYYHQm4/Jawu3CLfK6fr2cS7elWkf28LfRcQEGFzOgNF5BxUYBZmKtTjiRZ4EzVUhn t//XsNb+mzVfbhQCtHv6ShzmQaxno5EuzNZTYRIC03kniCGvaJEN3PxnjnpK3CKebTa1OP fgRnD9nmLq/tFDta/IHkwTONSL/3SpI= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691596956; a=rsa-sha256; cv=none; b=AV/zy64Q/o3qSw9Z9h0qmlz1sjczrbewGzZtWdkuDUOQIgGhabpzuXUZDR2sVF+FaHi091 +mE63zPSuN96y+0JoxdJRGctVYHee9LzFp7r/IP8KCoY9cFpRmGzPvyhGocv75odqgjRFw fB18fNusgCs/YcObeeYJ00anWz4N9cA= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=cl7uddFc; spf=pass (imf26.hostedemail.com: domain of ndesaulniers@google.com designates 209.85.128.178 as permitted sender) smtp.mailfrom=ndesaulniers@google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-58688a0adbbso529947b3.0 for ; Wed, 09 Aug 2023 09:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691596955; x=1692201755; 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=4tKqb+VoRgkyWgmeNFWtovmLOzkdpjBGuYz84vUiz14=; b=cl7uddFcOnIu7w5QvmJMhCP2TPFmiphgljl8sVLW/3ITHXYcm/LktBT9ux/A//kZiu un4f8rp9dwj3cuQtYLJIUHG1syEnmGSDYzfMPJCfF/OSy4fxtKDjL9GKdTfSXWmsEOvN GTFgF0K5M1ohSMMb1wW4YwKbZiorHYgGeaDkZaaOvcz06Ac1VK1ybzJIr6y6Mt/IO/tR bnSUSuVmI0ykkbKhIQ9T5j33CSb4aoNHCJhGP2tYn0BRjabqvsxkgbsyNh4nE6QUeoTA Y9rddU2ramsLU6puvtuuxbYo7WPSeI2clkh7j591ikQCVFJEgiAbl4T3+V+eTNW3MIJo MidQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691596955; x=1692201755; 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=4tKqb+VoRgkyWgmeNFWtovmLOzkdpjBGuYz84vUiz14=; b=PuvTvsxSCvU4YdljbFGeHn/kf0EfWDEqNSZqc1JUyOKT4Lw4BWLHVZyRiIIVl2S6NF KPA5O9FHqykLkVYP5Poie/0WqNaT1AMWWgCWprTpdccvMeXEhdBZ1nOp6Bm4kiH2hys4 bJjhbDu0bI5tKUxAub+jZe8CdQIkbz8JIVtOEcN0CsnTtJGJWnwzPsgPtRIh9W6irkvk e1pgcLHaL5g9oR7v1T6njeyTW0HPNvuDLK4a9M9Vi8XcECu5VcQKVxYamYOX0MUk48Nn WihGU6WWzFCWTfV7BaL1w7G+Wx1nCGzJXQKsr64J4igiTVDa+1Lt2mmX9V3xQvNPk6UX XH0w== X-Gm-Message-State: AOJu0Yx1ilvdByYJKCcfrh2r1QesYhGaw/25obeLxh+YaCskqpmmtY7B 7Y+6f4gX5e/TdOZe6TfajD+Bg9otr9CNwctT4qY5DA== X-Google-Smtp-Source: AGHT+IEJHCBuYvPAfDXNsCccpldXJM7/ZZSeEoKWg7p0fPwNbnjMZI1B07adbpNP2nm2kJgA6JxwZjQDo9BOL/0iL1s= X-Received: by 2002:a0d:fc84:0:b0:579:f8f2:b5b5 with SMTP id m126-20020a0dfc84000000b00579f8f2b5b5mr3512624ywf.41.1691596955218; Wed, 09 Aug 2023 09:02:35 -0700 (PDT) MIME-Version: 1.0 References: <202308091820.0dPY7D6f-lkp@intel.com> In-Reply-To: From: Nick Desaulniers Date: Wed, 9 Aug 2023 09:02:24 -0700 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: Marco Elver 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: 64670140071 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: nh6uxktenni1qy1p43c7a8q9rj54zmrm X-HE-Tag: 1691596956-70326 X-HE-Meta: U2FsdGVkX199ftQZbI2YYc9Cw9BVFaK0A39s852pwAx51B1ckLO3jixhmUfZg0T4UFQKEfFqZbTpvnyItOFI7UIIYk9d/RJr+E/+7OzhudgoG8aKuLJIPMYiQYwpko4HpvN3yNuDOG2y7gMbhP2Br1pD52hGsExCPDKWIbccO0cW/Ta2g1SKZqCbLW7YQIHfmyaI2EMx6jRvUd/2s4Hz7m1HItMRjQGPZtVH+kgyb6oAUKToMVKFu8QDA26EAOC88aJn6qQFccKysMwbtJl0WNGHuZ/rmHkcQ/Z1qh3O/JTAgPrAJ2UyXbpbbgR5RTC4CWNlDsjg2iFPI7WclalbTauVhaBCQZdyCaMhgFFVoOFT96dufJLBM1kBZ4QA+4UuJn9tlrTxgaJjzAyH1iUC8TH03nhfooOwa4DiDTmQH772+XKjaIxWXw/UAHX2j4Osn9sviU0NDqVPetr/ud5yuZhg/a3c5oieWThnC+/NVSA2gq8BJfG2EAt9Es4OIaJZpJRrvP3j+93KOqKh1UOV8c9G/iIjvOcUR2m3u4llsIjBAFb6SkOnM3VtWM0Bq+rm1l71KvX+wRF57dyNVVxDZmzHUYs1rn2YtjQIzvX24qubELiM0c8Q99gvksCpot5qNfOhjQbQ1ctHzsOdjLs3tlfD63+apH1GzrI+esBkjfo2vKZGWKP7cWi/Iebv4VMBuQYzXDVq8MLkWXFR661g0DHxdM98Q7roa8Sw4GSeAMnMdGl1WIvJJZo9f+ig0dX2lLqJNV6YOsP+bkTKTx4iDoeLgJJWEQLED5WWhjM+Ar2TvzLemiBmOGXls3/Q4JJZDwR+EB5D3YqzH6apptBq7kv+kun8AcxFhehf3DzhFWCv4/PocH398bPPwLuaDyZilf1evXDDPnNNAkJG4zL2VXo3PkRXfJdHDaeCJ3miBbp7Ym/2covmU6j3pUTKaXXWNoi0+kIclFyo+1vrOE+ 9gCUzoim Xr4er0Yc28t/bnxfaPUFLF9nhG/M4VaCRNgS6r3iRGYvcqf1H6zr5zENXowtpvIxpHzVPYW6mGPvcopo+NW9PJBmupRWMDsVmSFJ3npzTaJ4baog/JGQvkIuNGGEccx2eeTh6tNwwF/KmqMYWa3v2Pq51WIijARvdfoveEnNJGuwztlhMX8IDuongetRcIO5l6RP4Q89bJEdMmwtbMzKnCK3oWXQ+pgCoorKeL3eEqTdI0ZsowF7SeC4FBYeRe3ESh4fEKcDkI0D3597R1Dar3nvGxVGVoxn0PL7JnjvdKDbsUOGEV4kG+dcMu4YdU1yDgbQR7k4tVdwWYHz55MwGGG7BatvGp5AECUL12jZNM7fkzP/I4uSPlbSwpITUzs+8ezvHNGqqdSzns9azAjVYV2nyQvhu55lDLckYveJiV8spZvFrWVB5rHeTO0eqrc+2t7DrMrLwb3urkoE3bsbbU9XENg== 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, Aug 9, 2023 at 9:01=E2=80=AFAM Marco Elver wrote= : > > On Wed, 9 Aug 2023 at 17:53, Nick Desaulniers w= rote: > > > > On Wed, Aug 9, 2023 at 4:15=E2=80=AFAM Marco Elver w= rote: > > > > > > 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-= next.git master > > > > head: 21ef7b1e17d039053edaeaf41142423810572741 > > > > commit: fee8feb67f0b2954eb7a2a259122e43a15cf3a52 [8173/8441] list_d= ebug: introduce CONFIG_DEBUG_LIST_MINIMAL > > > > config: hexagon-randconfig-r041-20230808 (https://download.01.org/0= day-ci/archive/20230809/202308091820.0dPY7D6f-lkp@intel.com/config) > > > > compiler: clang version 15.0.7 (https://github.com/llvm/llvm-projec= t.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) > > > > reproduce: (https://download.01.org/0day-ci/archive/20230809/202308= 091820.0dPY7D6f-lkp@intel.com/reproduce) > > > > > > > > If you fix the issue in a separate patch/commit (i.e. not just a ne= w version of > > > > the same patch/commit), kindly add following tags > > > > | Reported-by: kernel test robot > > > > | Closes: https://lore.kernel.org/oe-kbuild-all/202308091820.0dPY7D= 6f-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= convention is not supported for this target [-Wignored-attributes] > > > > extern bool __list_valid_slowpath __list_add_valid_or_report(str= uct list_head *new, > > > > ^ > > > > include/linux/list.h:44:39: note: expanded from macro '__list_va= lid_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-supporte= d 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? Sure! Thanks for checking. > I think there needs to be a v4, also because of some other change request= s, too. > > Andrew, please shout if you'd rather have them as fix patches. > > Thanks! --=20 Thanks, ~Nick Desaulniers