Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2435817pxb; Thu, 11 Feb 2021 12:16:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxpgK32D+XQq1VarFh9ZqxKx9ZYj7NaEWAr3BJdK/ozVHVPSn5b8jFH5UFCwf1tKRSwdQsR X-Received: by 2002:a17:906:cc5d:: with SMTP id mm29mr10320257ejb.183.1613074567204; Thu, 11 Feb 2021 12:16:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613074567; cv=none; d=google.com; s=arc-20160816; b=c23RPCdIVZ+Y0vKWm6giMDUb1qpcKuOg43ojwhgD4KxNq0/HfIQL+o5arPhrfseo6t Ma+pkfj1Y7fBFou0stAqgb9O3uOeGrcCFAW/cpnAh/L/0TBJXJs66Z/EgWz1/7KfhFfS aM5UFSH/9+oBTJfF6sumOlIFvnIKPZ1SctPnnnkaTgUuFhbd4cr1W2Tx1TS1MvIc0/UB htFXGGCkKMQO3jETMqYwmyLKw1KzNhOz0sCB+xZ2g0FYyXPLc24s7GSdQWorVEs2u0zx 0Sw2T/RBJLi6LiaEcvA4lQay9D8Srj0CVjs50cd4B+TgpEXy4g655VQVrOqJgfsTuSUG SDWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=R0+Rd3SMlnTZL3B0kN7kR2b8yNSNIxsbDEg4HntAOQk=; b=gLrfVJVNjggEcGYQogKBGnf6qj5tg7vEU0upn82RU9ioZbFObkfTkrEZEMSKhfgj3J Tu42vtofB4yvmsK7xpQoqfQ+vdSjnEUAbi/eiKyuutun7hgQScrmFeO8A7sc2vnuG6oZ fW0XsmB1o0uAFux45LLGYlqaTlyCahzq2hJpg2I8UctKaUaOn05FDwWW3UkFTw/BGhY7 xCEQBuhcBmi61Qnm9KTLy4goyyXVKmRt/4NU7GwzKE34o/oIzlfBJEIzSCUB3jFG7Fcu EUeeMyvcdVrmI4q6AweYc0Zmk2hgY0NVy3/vWB0v1gNx1mW56BlJCT99HM4EuyL4+HzS tUew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JyBYEa2d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z9si4542767ejm.194.2021.02.11.12.15.43; Thu, 11 Feb 2021 12:16:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=JyBYEa2d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230484AbhBKUOp (ORCPT + 99 others); Thu, 11 Feb 2021 15:14:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229617AbhBKUOp (ORCPT ); Thu, 11 Feb 2021 15:14:45 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1F96C061574 for ; Thu, 11 Feb 2021 12:14:02 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id u15so3933429plf.1 for ; Thu, 11 Feb 2021 12:14:02 -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=bv3Po7F7Fb5JZwWb3vs1z7RWH+agdwrkPmchYMxEO5goyOA5mPPw3NWLpB2I/Yh2Bh rCu6gC47prK6D5PCxsob8wKJwCKOO7WakitfJHuN5Mcd6suI1CtAa6rjEcfOlOxARK9W M5q5GtCj/QQh51cwnzS5vn/A8ojQSE1pU9Nz/v63VJDfP+CBTpRwtVO2ins8isijE8Rm XHTksx4G0F3aIM6HBfU0AKCP5EcXJ8vhdst3XkeZbF6bvZsaKycJQ6YAZ0nhqKfv4j8b Hafo34hOVWW0cFHwF+xIBOHk2gR5i9MB5DOpsKC65ZWTqDqNqKgdxBGVl0Ii9HlOdPQx O07Q== X-Gm-Message-State: AOAM5326T2rHGcVjnzhVexIfwgVXgdvMcxCFOkJGrlv7ThLTy6rc0Qim OEbKGpwRSuPz+hiw/jxOUkgAdqO+faQpEdlprWZbsQ== 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" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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