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=-5.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS 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 789D1C433DF for ; Thu, 14 May 2020 01:07:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 35B66205ED for ; Thu, 14 May 2020 01:07:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Rymgs/dg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 35B66205ED Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 92A9A80045; Wed, 13 May 2020 21:07:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8DD228003E; Wed, 13 May 2020 21:07:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7F1A880045; Wed, 13 May 2020 21:07:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0163.hostedemail.com [216.40.44.163]) by kanga.kvack.org (Postfix) with ESMTP id 630268003E for ; Wed, 13 May 2020 21:07:47 -0400 (EDT) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 1AE6B181AEF0B for ; Thu, 14 May 2020 01:07:47 +0000 (UTC) X-FDA: 76813537374.04.prose67_43ecfeda0bd27 X-HE-Tag: prose67_43ecfeda0bd27 X-Filterd-Recvd-Size: 3344 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf40.hostedemail.com (Postfix) with ESMTP for ; Thu, 14 May 2020 01:07:46 +0000 (UTC) Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F21C3205ED; Thu, 14 May 2020 01:07:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589418466; bh=e5YpOA/jAQfCDcYDp6pbhhku3Vaoirb1q/yc15wPfr4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Rymgs/dgGSDHQ+/gDdbGC13QPz+aVEVqXuS8cGIVQ3LSm/kYfKUDs+CxAtJwtfJLR O73fWNdDWsM9IX4pAZdsREoJysxIfzCuWXfxU1VygVD3whGU7y281yxaXE8BEecwtk k0YVah+cu5k2uiVaDWTrCjK34citnN6SDMHH+T9c= Date: Wed, 13 May 2020 18:07:45 -0700 From: Andrew Morton To: kbuild test robot Cc: Zong Li , kbuild-all@lists.01.org, Linux Memory Management List Subject: Re: [linux-next:master 7592/7905] arch/riscv/mm/ptdump.c:57:3: error: 'FIXADDR_START' undeclared here (not in a function); did you mean 'XAS_RESTART'? Message-Id: <20200513180745.30cfb5d0011c8e12972bdb8d@linux-foundation.org> In-Reply-To: <202005091847.zkVHPjis%lkp@intel.com> References: <202005091847.zkVHPjis%lkp@intel.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Sat, 9 May 2020 18:46:50 +0800 kbuild test robot wrote: > Hi Zong, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 30e2206e11ce27ae910cc0dab21472429e400a87 > commit: c0eba2d72e70b4208ca6fd82820ba7428090e350 [7592/7905] riscv: support DEBUG_WX > config: riscv-randconfig-r003-20200509 (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 > git checkout c0eba2d72e70b4208ca6fd82820ba7428090e350 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=riscv > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kbuild test robot > > All error/warnings (new ones prefixed by >>): > > >> arch/riscv/mm/ptdump.c:57:3: error: 'FIXADDR_START' undeclared here (not in a function); did you mean 'XAS_RESTART'? > 57 | {FIXADDR_START, "Fixmap start"}, > | ^~~~~~~~~~~~~ > | XAS_RESTART argh, I can't figure out how to make riscv compile :( Are you using the riscv32 toolchain or riscv64? And arch/riscv/include/asm/perf_event.h does #ifdef CONFIG_RISCV_BASE_PMU #define RISCV_MAX_COUNTERS 2 #endif #ifndef RISCV_MAX_COUNTERS #error "Please provide a valid RISCV_MAX_COUNTERS for the PMU." #endif where is RISCV_MAX_COUNTERS supposed to come from? Surely this should be implemented in Kconfig somehow? Sigh. Zong, did you take a look at this?