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=-13.4 required=3.0 tests=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,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 2C440C4BA0E for ; Wed, 26 Feb 2020 09:53:15 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DDC392467B for ; Wed, 26 Feb 2020 09:53:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ZGgxda5b" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DDC392467B 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 6A5FF6B0003; Wed, 26 Feb 2020 04:53:14 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6565D6B0005; Wed, 26 Feb 2020 04:53:14 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 56C146B0006; Wed, 26 Feb 2020 04:53:14 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0204.hostedemail.com [216.40.44.204]) by kanga.kvack.org (Postfix) with ESMTP id 3CB606B0003 for ; Wed, 26 Feb 2020 04:53:14 -0500 (EST) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 2976FB7A9 for ; Wed, 26 Feb 2020 09:53:14 +0000 (UTC) X-FDA: 76531815108.29.screw28_737932376271b X-HE-Tag: screw28_737932376271b X-Filterd-Recvd-Size: 5323 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by imf30.hostedemail.com (Postfix) with ESMTP for ; Wed, 26 Feb 2020 09:53:13 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id y17so2133232wrn.6 for ; Wed, 26 Feb 2020 01:53:13 -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:content-transfer-encoding; bh=xb86HEyE+I5kU7xVJNMRQaqNl3o1tev8+4sd7bucot8=; b=ZGgxda5bfcyCkKhm4PuYw+NF2yPx7hTYUD64yxX9ddFc9bc1G6T/tB9dSKqq0Bf2qz 8gsvh+VP4WlPCcOiPuK0GhF9UGM2tSwCf0nkydb1DTis8zCIfwbt1XuEQDlMZEbeSbh7 6S0iXgLPkWAHxJNyCwz4zA8dyB0smNLDVlqVwNvKiTFMrgHIOOasGFTwMGlf93yYa3aU kf1Ml0H6z49OXWJkrypGW5skFMYSNqJZIOptcezoMFD7aoVJQTgHOSSCGmC1jgh+VCJ7 EBlebQoUR983BT9MDWZ7OsYr5Sm3xCfjfY4JnqW91sgIuY6Ho47KfEZu7yRtxjP0LE6z iqAQ== 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:content-transfer-encoding; bh=xb86HEyE+I5kU7xVJNMRQaqNl3o1tev8+4sd7bucot8=; b=eRy3xw495v9geuniJ5iXAXw9Uxe6TlQsp6uMZavY4eHwNfSEAjYQd6RCFAedPm8+lY qj2jQdGpUIp7Xgo750dIBbFzTb92D+VFEZ6q4ldsIuGLaDrQkwLZCCqA4/4mU4yqKPbL eFFMyE5+U4rUPivi9c9BhSv74ekuQ04gxkmqKbSCF5jA5QBC9NTa7O9hic5gM+sU6Lfm /02KODv9ZRfQYDGv3n9DpXOubbm1RyLYIjuhTQSl2RHDe9TiBUF+J4bTX0Y1mAqo7uhs 6ax+ob42hHnRs5QljgP47W9zHIw2VX5wLkEb9yGxaj6QNXZR+HHbzV3qUpwiznCN+Bv/ DMWQ== X-Gm-Message-State: APjAAAVavxbzizc8pdKqRHBM8ocvn47wMYklaOHIyG71gwiA2hqU3Z+u wjOLwslTqYvPRTlskSmYE1buc5ygY4EKI2Gt8MQB/g== X-Google-Smtp-Source: APXvYqyMWHYUxvbu0FbcT4tZsR+9+aCr76icb110j9jmTw3X+R/Mcu/JQlptlTV7okNR/+N5WlDPqH/ZcTxHh53CRGE= X-Received: by 2002:adf:b60f:: with SMTP id f15mr4727973wre.372.1582710791915; Wed, 26 Feb 2020 01:53:11 -0800 (PST) MIME-Version: 1.0 References: <20200220141916.55455-3-glider@google.com> <202002260412.ybvj1aPM%lkp@intel.com> In-Reply-To: <202002260412.ybvj1aPM%lkp@intel.com> From: Alexander Potapenko Date: Wed, 26 Feb 2020 10:53:01 +0100 Message-ID: Subject: Re: [PATCH 3/3] kasan: stackdepot: move filter_irq_stacks() to stackdepot.c To: Nick Hu , Greentime Hu , Vincent Chen Cc: Andrey Ryabinin , Andrew Morton , Arnd Bergmann , Linux Memory Management List , kbuild-all@lists.01.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Hi Andes maintainers, On Tue, Feb 25, 2020 at 9:26 PM kbuild test robot wrote: > > Hi, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v5.6-rc3 next-20200225] > [if your patch is applied to the wrong git tree, please drop us a note to= help > improve the system. BTW, we also suggest to use '--base' option to specif= y the > base tree in git format-patch, please see https://stackoverflow.com/a/374= 06982] > > url: https://github.com/0day-ci/linux/commits/glider-google-com/stackd= epot-check-depot_index-before-accessing-the-stack-slab/20200222-065605 > base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t 0c0ddd6ae47c9238c18f475bcca675ca74c9dc31 > config: nds32-randconfig-a001-20200225 (attached as .config) > compiler: nds32le-linux-gcc (GCC) 9.2.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > GCC_VERSION=3D9.2.0 make.cross ARCH=3Dnds32 > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot > > All errors (new ones prefixed by >>): > > nds32le-linux-ld: lib/stackdepot.o: in function `filter_irq_stacks': > >> stackdepot.c:(.text+0xc6): undefined reference to `__softirqentry_text= _start' > >> nds32le-linux-ld: stackdepot.c:(.text+0xca): undefined reference to `_= _softirqentry_text_start' > >> nds32le-linux-ld: stackdepot.c:(.text+0xce): undefined reference to `_= _softirqentry_text_end' > nds32le-linux-ld: stackdepot.c:(.text+0xd2): undefined reference to `_= _softirqentry_text_end' Can you please help me with this? I couldn't find out where this section needs to be declared, and I don't really know whether nds32 is supposed to have softirqs or not. Maybe filter_irq_stacks() should be no-op on nds32? > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org --=20 Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Stra=C3=9Fe, 33 80636 M=C3=BCnchen Gesch=C3=A4ftsf=C3=BChrer: Paul Manicle, Halimah DeLaine Prado Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg