Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1047821rwi; Thu, 27 Oct 2022 10:28:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7JOEEEj6BOF9/WSBWwdbh/GMCTiVrm3MSZGzZlqAd7MwQ0ZifISs1EuMJlHO6nebwJIQV+ X-Received: by 2002:a05:6402:2751:b0:443:d90a:43d4 with SMTP id z17-20020a056402275100b00443d90a43d4mr47557044edd.368.1666891692330; Thu, 27 Oct 2022 10:28:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666891692; cv=none; d=google.com; s=arc-20160816; b=J5Pv5zqlqumDC5mB/81GWgKbWFtqAmzYndIGPz1KkpSgdHVky1N5rPTET/bfx0t3JQ k/MNDg1GUqHztTi7BHV9uHS132QO/fxmlIl8XkqDMyPBGw18TFfCk1kXCSY9aUUZyplY GFQzfZkay7vYag0ttSNr2Lj7uPmLSbVakAQyrPZMuchtFoTvaeqY3szLXFMLrnKxNDGs GZOEiSMNJXt4MyVmKaRs5YUfLUaBnWkknlVa3HwaNqWnhMjmON3ruR60irP9WOCIoShW Pc4dmV8TC+Nfpxw2y6wfvb4Mw5AN2qOdaLkxOcd3ocXP2agdMBq4e1hizrxcPQDsm1Rd Qfiw== 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=4hGgb27cTX++8isifWT9xPyeahfYycj+S4eTYQjsVes=; b=RXS9F6mnt8laIJAEf+pBpMTlz85uSQeWCwEfDm7A/deFtGh6vp15VfWvNL7xitjSlp seM//qMQA5TZpx27YPgGAcQoOT0tDbF83npsBWsPSqPVGluKvH6dGBo2sBeACAPI+RR3 ERiRAgo0E9uUvOx49ixTwY1wxm15SoCXMBK5h8Uvj9GszRizqLge3BtzyhJgR6JZaoKP LWWwur6lPHO5bZ3lYhi3o+CS/S8jaCBsORzpzDj+AQRpWIKetXGbHjyKhiN1g2ybXv6P TlR64SEL48ke/ycBiO8H7F8BO6rtghjeMbjxT7sRlMnLWmdpEoScc49xmsQX4JaSxclJ tx8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="UIXAKxL/"; 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 e7-20020a170906c00700b0078d20d71475si2015218ejz.413.2022.10.27.10.27.44; Thu, 27 Oct 2022 10:28:12 -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="UIXAKxL/"; 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 S233598AbiJ0RNA (ORCPT + 99 others); Thu, 27 Oct 2022 13:13:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236072AbiJ0RM6 (ORCPT ); Thu, 27 Oct 2022 13:12:58 -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 80980196082 for ; Thu, 27 Oct 2022 10:12:57 -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=4hGgb27cTX++8isifWT9xPyeahfYycj+S4eTYQjsVes=; b=UIXAKxL/N5TusR3U8o8CQe+gjC p2G6ER+peColdR9pM128fhsX0DOvtLDX2TMN0Pmc4sSSoiU0B4JbqYSULzqyMCYNNJTYsV5KpKODe /ChrA+hiRQv+KYGcvqqJUdsi8tZaU2eWlYxw+YbFM7db9USrEyaj8AS6RHRjetx0fEz6Yz6W4Q819 h/xUJTjc9wn3KKQxJSAAjU0wdAVdfkF6uAZ6aJqTVjp85GtmaEGwLEfr9iGNKPaCuTkLrHZvCCJkx piBuNIeC+hXM/TnAhd3vSRI9lqQBrFaI2wlocj1ePavmNPyTP+jIY2esdAyM8AKhLevWegSVfAsVN +700HA9g==; 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 1oo6Qw-006v8L-1u; Thu, 27 Oct 2022 17:12:47 +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 73B5E30029C; Thu, 27 Oct 2022 19:12:45 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 5CD632C450536; Thu, 27 Oct 2022 19:12:45 +0200 (CEST) Date: Thu, 27 Oct 2022 19:12:45 +0200 From: Peter Zijlstra To: kernel test robot Cc: 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: <202210272227.jWuKg5y6-lkp@intel.com> 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 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 :/ anyway, lemme go fix, this shouldn't be hard.