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=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_DKIM_WL 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 20B1CC433E6 for ; Thu, 11 Feb 2021 20:14:06 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B231D64E45 for ; Thu, 11 Feb 2021 20:14:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B231D64E45 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id CDF256B015D; Thu, 11 Feb 2021 15:14:04 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C8F176B015E; Thu, 11 Feb 2021 15:14:04 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BA3CF6B015F; Thu, 11 Feb 2021 15:14:04 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0110.hostedemail.com [216.40.44.110]) by kanga.kvack.org (Postfix) with ESMTP id A2CE26B015D for ; Thu, 11 Feb 2021 15:14:04 -0500 (EST) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 5C9F1181AF5CA for ; Thu, 11 Feb 2021 20:14:04 +0000 (UTC) X-FDA: 77807088408.01.swing57_19065342761b Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin01.hostedemail.com (Postfix) with ESMTP id 3E74D1004ED67 for ; Thu, 11 Feb 2021 20:14:04 +0000 (UTC) X-HE-Tag: swing57_19065342761b X-Filterd-Recvd-Size: 5144 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by imf39.hostedemail.com (Postfix) with ESMTP for ; Thu, 11 Feb 2021 20:14:03 +0000 (UTC) Received: by mail-pj1-f44.google.com with SMTP id gx20so4074317pjb.1 for ; Thu, 11 Feb 2021 12:14:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R0+Rd3SMlnTZL3B0kN7kR2b8yNSNIxsbDEg4HntAOQk=; b=JyBYEa2dDOxrXBiJWu4Ew/7uSg1ej8/qXgmyIQuKpp3YR3QExH98xWVSihkdv2shfs q24NrMlzViSwomDDdaCaK+m8vLxAHiYPkn2sH+hWx9S26EkDPVRDoV/MmnRYiNdfn8bC FGMRVzcPlXBUSwBhl1FZnvU8pXVDYVuJbkt+jmqyBrMKO+kDQ8Rv6sCfhVWChNBWuNI9 dfCanHX6UTtm4aFYPkNaiiaeruU6OLaSOzTER2FFAg45Xw4lwIpmVKiaF8y5JYz83znp aMbeb2REQXnlul4u9+JAHK1LERLBZ92b4TK+9Idapl2K8yBfmxw7kLlaHUepkxP4oVgs L+xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R0+Rd3SMlnTZL3B0kN7kR2b8yNSNIxsbDEg4HntAOQk=; b=juOjZHCuR8LI6ZQtxMxbtkumJzx1s3wCDZrI9ol4sGnEB9o+UW2nKAUKAn6RkFIXjL x9mNDAz4A8xwsbNA/ZhXleQJOqB8pMjcXqgM3lb/VsadVeLWiqAF0uo4MieCmQosTRoH MjkB4yYmG8KuKOn7zRgxjsLnrysuUn/2Hi2lYv1EEHbdNLjspwFbUL3SrzuFw7jeG6yq jgBk1CwfNOASTIkkaIU0uxwMAsW8014uNKdxIQViqca6GVZdQ1riF49+RseFfhyv+CmH qQUIGZw3eSwq+/E1RVuqjCHHo6lXs2MB3J3DbxPqfXoXDun9jJCaK2WGYsw+UZUwQ/A6 mVJw== X-Gm-Message-State: AOAM5304kQmWyGXYpiMOwV5fsxs8r5tujtT6ywM67SyYkTpoFNKDDA1w 211Hyh8MHMrzrMp8aGkEsvvISjXtMQLiqltB0382PA== X-Google-Smtp-Source: ABdhPJw9cHHFD4VpMWJpJEZ4Ku1SeaDKze75gzCy5L+9OwcT8ryvRGliF0ocAJ9f8f2XDSB4axthzo8a48LPfH68HMY= X-Received: by 2002:a17:90a:9ac:: with SMTP id 41mr5503516pjo.136.1613074442341; Thu, 11 Feb 2021 12:14:02 -0800 (PST) MIME-Version: 1.0 References: <20210211153353.29094-4-vincenzo.frascino@arm.com> <202102120313.OhKsJZ59-lkp@intel.com> In-Reply-To: <202102120313.OhKsJZ59-lkp@intel.com> From: Andrey Konovalov Date: Thu, 11 Feb 2021 21:13:51 +0100 Message-ID: Subject: Re: [PATCH v13 3/7] kasan: Add report for async mode To: Vincenzo Frascino Cc: Linux ARM , LKML , kasan-dev , kbuild-all@lists.01.org, Andrew Morton , Linux Memory Management List , Catalin Marinas , Will Deacon , Dmitry Vyukov , Andrey Ryabinin , kernel test robot Content-Type: text/plain; charset="UTF-8" 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 Thu, Feb 11, 2021 at 9:04 PM kernel test robot wrote: > > Hi Vincenzo, > > I love your patch! Yet something to improve: > > [auto build test ERROR on next-20210211] > [cannot apply to arm64/for-next/core xlnx/master arm/for-next soc/for-next kvmarm/next linus/master hnaz-linux-mm/master v5.11-rc7 v5.11-rc6 v5.11-rc5 v5.11-rc7] > [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/Vincenzo-Frascino/arm64-ARMv8-5-A-MTE-Add-async-mode-support/20210212-004947 > base: 671176b0016c80b3943cb5387312c886aba3308d > config: riscv-randconfig-s031-20210209 (attached as .config) > compiler: riscv64-linux-gcc (GCC) 9.3.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # apt-get install sparse > # sparse version: v0.6.3-215-g0fb77bb6-dirty > # https://github.com/0day-ci/linux/commit/df25c9583cd523a49f2407e0aeee55bdec24a14e > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Vincenzo-Frascino/arm64-ARMv8-5-A-MTE-Add-async-mode-support/20210212-004947 > git checkout df25c9583cd523a49f2407e0aeee55bdec24a14e > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=riscv > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > riscv64-linux-ld: mm/kasan/report.o: in function `.L0 ': > report.c:(.text+0x480): undefined reference to `kasan_flag_async' > >> riscv64-linux-ld: report.c:(.text+0x5c4): undefined reference to `kasan_flag_async' Let's do something like this (untested): https://github.com/xairy/linux/commit/91354d34b30ceedbc1b6417f1ff253de90618a97