Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp754022rwl; Fri, 4 Nov 2022 06:06:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5MgZB/vKfLuNAQrA7Duo7i7iQ2TgtZdyUZZxe4c7HsnTFRFKvj3y3a3FelNve3xDOgCAOX X-Received: by 2002:a17:902:aa02:b0:186:9395:4e82 with SMTP id be2-20020a170902aa0200b0018693954e82mr36212835plb.5.1667567218700; Fri, 04 Nov 2022 06:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667567218; cv=none; d=google.com; s=arc-20160816; b=hQE9qb3Ja4dfrPdhUhqGSvI0UIT9tXHHJqrcteA7mIT1ooWV8ZvUP9cl++61EQlQk/ aVT/C/n+LrMSLuv5o32QN/hDuMR8hLUB28yxOypEGGh06GCX403o3rCVOdupoc2QKJ87 RHfcx5rFLsa3stn4931MkUxMeYwyTpZ0BiNrMT4qJOCJDhTesqG+Fx8wjMg3Is9v3EKd h5n2Yen7vZOAA25Z2ZW5GlVVBITA5LnA2KKlYJrMEVMWyyT/6eF4D69kekOWwzwkLNdA 10+fmbxTstEBw5FBIPCghnLbx2DlVRtTOa8lvXT0Jk9SWppJQuzR2Gr2Zt8pBN74GQj/ VKgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NZcAnqvDjSNkq2gCiAOT480bUX9fIe4Gq8EsgSqTn1s=; b=swHj61e8lETM3Xf6H/8kH3obwLSCVxlcYmO8frCiCV+12eRe8BA08THJhN7UMhADYR MRwmTsXL2mDm+h7gLCxbNyuO/28R1GU1zcLt+tXdWpfd5eV9vByS0G+T06p2oLUiCW7g p6HzNn6zaeqJGS+afGduiiwwjTitlrsUCDfMaVOP1ANfKqe1yo9TZihv/IDPEUxY7iqC lhyrdfvsTwtx9WkPHtIDwUHeOVMxXKSduOjrpYtSD3nfAvhKWkacMHYs4QrmXY0jj6wU W9iFw6lokymKnd09KACBs9uagip6Cv9LBkyz4E3d0YTvv4iFmPki4WInZQiaKpwz2TQc 3/dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=TQQdin8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a170903228500b0016da027a727si5171981plh.116.2022.11.04.06.06.42; Fri, 04 Nov 2022 06:06:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=TQQdin8P; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231180AbiKDNAT (ORCPT + 97 others); Fri, 4 Nov 2022 09:00:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbiKDNAP (ORCPT ); Fri, 4 Nov 2022 09:00:15 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 475E0252BF for ; Fri, 4 Nov 2022 06:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=NZcAnqvDjSNkq2gCiAOT480bUX9fIe4Gq8EsgSqTn1s=; b=TQQdin8PPtPt5FHlN0+RzjwONL 9NsCTgPD2cGlvHptFNU4iSHzqrADXyBJ3KrC6DK1Q8sULNREMSuVmt5dKVs7GltKH2u/eISEvFsLd PJQDk9WJN7e7GuMz8JK3EIeciL7dnk6gKYOSDX4vDeYo600wTXYxVVP28ain6CeA0sOCGZzJQVWWl RCjn7I/CPWAy8Rr11oMbViG1FnhOlF1vSSGeTmsKwdfnQq20xoKM5U0HM5cZ9fWt2XjdbnuJoMIq1 qQ/89tusedFCCvwEmUJYLb1oZP2yCUKGWtUcZBIeHRl2OXGLb2BNkzS5rmgBowfblbrt8HvS1PMzq EotR/0xw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqwIh-008ya5-4g; Fri, 04 Nov 2022 12:59:59 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id BBE9C300137; Fri, 4 Nov 2022 13:59:57 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 9EF58201E232E; Fri, 4 Nov 2022 13:59:57 +0100 (CET) Date: Fri, 4 Nov 2022 13:59:57 +0100 From: Peter Zijlstra To: "Chen, Rong A" Cc: kernel test robot , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, Ravi Bangoria Subject: Re: [tip:perf/core 1/2] kernel/events/core.c:181:48: error: redefinition of 'cpu_context' as different kind of symbol Message-ID: References: <202210272227.jWuKg5y6-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 04, 2022 at 02:08:48PM +0800, Chen, Rong A wrote: > > > On 10/28/2022 1:12 AM, Peter Zijlstra wrote: > > On Thu, Oct 27, 2022 at 10:03:53PM +0800, kernel test robot wrote: > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core > > > head: dc39beffcfc19a8dd2a09c5818dcd1a4e9099033 > > > commit: 983bd8543b5ab8e9a2870ae258bccd4ce7a22c7c [1/2] perf: Rewrite core context handling > > > config: mips-randconfig-r024-20221026 > > > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) > > > reproduce (this is a W=1 build): > > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > > chmod +x ~/bin/make.cross > > > # install mips cross compiling tool for clang build > > > # apt-get install binutils-mips64el-linux-gnuabi64 > > > # https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=983bd8543b5ab8e9a2870ae258bccd4ce7a22c7c > > > git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > > git fetch --no-tags tip perf/core > > > git checkout 983bd8543b5ab8e9a2870ae258bccd4ce7a22c7c > > > # save the config file > > > mkdir build_dir && cp config build_dir/.config > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash kernel/ > > > > > > If you fix the issue, kindly add following tag where applicable > > > | Reported-by: kernel test robot > > > > > > All errors (new ones prefixed by >>): > > > > > > > > kernel/events/core.c:181:48: error: redefinition of 'cpu_context' as different kind of symbol > > > static DEFINE_PER_CPU(struct perf_cpu_context, cpu_context); > > > ^ > > > arch/mips/include/asm/mmu_context.h:106:19: note: previous definition is here > > > static inline u64 cpu_context(unsigned int cpu, const struct mm_struct *mm) > > > > *sigh*.. robot people.. this patch has sat in my queue.git for weeks now > > :/ > > Hi Peter, > > Sorry about that, I checked the internal reports, the error was first > found on Oct 14, but it's blocked due to commit id changed in the same > branch, we'll enhance the check logic to avoid blocking such cases. Ah, since I maintain my patches in quilt series and I re-generate my git trees from that, I very frequently force-push stuff -- even when nothing changes for a particular tree. Basically my script wipes the entire git repository, takes a new tip clone and applies my quilt series to appropriate branchs and pushes the whole thing out. So yeah, please don't let that block reports.