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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9009DFA3755 for ; Fri, 13 Sep 2024 13:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VyazYQAcFb9cbT0r61EajgzNbfyj8rSu6aopLu5Ax2c=; b=UOfKZuaj9MHHo3XAxEOFpscAjZ LVbPi21T4ZiZFt9sbojt2EvDfY2HyjkLp9FjpkTSnqpxap1jTNKqR351XMcOZE9rTVdjuwBofixRn i4KaH3IFwgtkdmJf4430OSBgNJiysVFisVVoStfihS8bJV8vSXNfRJ6Cs037jz33NLIJk2l9yhlQo YBgKo5ZGJ2AAJp3P7B2IBiNJiXxcJFCjM+jPitjyz3xpHsf73Kd1fEklbyChJokgVnyCsnSh+BSiz ryP1gKmMtVve+iQtWGIkc+jeAwOHWfmBljEa99CG3M7UEfokpfYNsbTOJtkUGjhhnPW/TH+sNkQPp TU50QM8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sp6aP-0000000G4Hc-0SnN; Fri, 13 Sep 2024 13:43:45 +0000 Received: from mgamail.intel.com ([198.175.65.19]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sp6Yj-0000000G434-1Kbn for linux-arm-kernel@lists.infradead.org; Fri, 13 Sep 2024 13:42:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726234921; x=1757770921; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0izZwJbUGeZqqwiDNV+yXiHife2eO1rK6MoQCaafoMw=; b=EvT8BnQlXduQByrqMuNDntOZ974lONbfL1h2YE4z6GF+znfZp1nFCGgg vWYlAqXB1ulHR+tQ0+FaR1ALkDyVnkVqzp6vTCta57o9AAQ7vhABwuX+M WxMmce1IW9V/wKmGxeuH2rHitutLefwhNrbOzTTt/q2fhPqFp0RkXgvoU 8JXSrQNos7hq4sp+Zt++QRQphkQvdXEUTAizAcHj8UMadI6h5IzczDaI/ z9lfytXunyNNY3waq3fpEV8fuXSZZHTuUtECPW16hrK7jnsYZBueWsSta m0tKntjlrCpptsL9WBpv9gh+VydX6dCVaXE+wAmLqD8WuFyu27zvEPsTa A==; X-CSE-ConnectionGUID: dhaYncUlQUGBZcIevQ/AcQ== X-CSE-MsgGUID: /Z1vQFdCR1yWBenk/zzT3g== X-IronPort-AV: E=McAfee;i="6700,10204,11194"; a="25004145" X-IronPort-AV: E=Sophos;i="6.10,226,1719903600"; d="scan'208";a="25004145" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2024 06:42:00 -0700 X-CSE-ConnectionGUID: 09Us8nKxQVKipNQZKbDWBQ== X-CSE-MsgGUID: FbdWSZFvSoO1EmjZw05Kqg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,226,1719903600"; d="scan'208";a="68826248" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by orviesa008.jf.intel.com with ESMTP; 13 Sep 2024 06:41:57 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1sp6Yc-0006Xu-2v; Fri, 13 Sep 2024 13:41:54 +0000 Date: Fri, 13 Sep 2024 21:41:15 +0800 From: kernel test robot To: Christoph Lameter via B4 Relay , Thomas Gleixner , Catalin Marinas , Will Deacon , Peter Zijlstra , Ingo Molnar , Waiman Long , Boqun Feng Cc: oe-kbuild-all@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, "Christoph Lameter (Ampere)" Subject: Re: [PATCH v3] Avoid memory barrier in read_seqcount() through load acquire Message-ID: <202409132135.ki3Mp5EA-lkp@intel.com> References: <20240912-seq_optimize-v3-1-8ee25e04dffa@gentwo.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240912-seq_optimize-v3-1-8ee25e04dffa@gentwo.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240913_064201_438359_681E04A4 X-CRM114-Status: GOOD ( 15.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Christoph, kernel test robot noticed the following build errors: [auto build test ERROR on 77f587896757708780a7e8792efe62939f25a5ab] url: https://github.com/intel-lab-lkp/linux/commits/Christoph-Lameter-via-B4-Relay/Avoid-memory-barrier-in-read_seqcount-through-load-acquire/20240913-064557 base: 77f587896757708780a7e8792efe62939f25a5ab patch link: https://lore.kernel.org/r/20240912-seq_optimize-v3-1-8ee25e04dffa%40gentwo.org patch subject: [PATCH v3] Avoid memory barrier in read_seqcount() through load acquire config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20240913/202409132135.ki3Mp5EA-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240913/202409132135.ki3Mp5EA-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202409132135.ki3Mp5EA-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/i915/gt/intel_gt.c:36: drivers/gpu/drm/i915/gt/intel_tlb.h: In function 'intel_gt_tlb_seqno': >> drivers/gpu/drm/i915/gt/intel_tlb.h:21:47: error: macro "seqprop_sequence" requires 2 arguments, but only 1 given 21 | return seqprop_sequence(>->tlb.seqno); | ^ In file included from include/linux/mmzone.h:17, from include/linux/gfp.h:7, from include/drm/drm_managed.h:6, from drivers/gpu/drm/i915/gt/intel_gt.c:6: include/linux/seqlock.h:280: note: macro "seqprop_sequence" defined here 280 | #define seqprop_sequence(s, a) __seqprop(s, sequence)(s, a) | In file included from drivers/gpu/drm/i915/gt/intel_gt.c:36: >> drivers/gpu/drm/i915/gt/intel_tlb.h:21:16: error: 'seqprop_sequence' undeclared (first use in this function) 21 | return seqprop_sequence(>->tlb.seqno); | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/gt/intel_tlb.h:21:16: note: each undeclared identifier is reported only once for each function it appears in -- In file included from drivers/gpu/drm/i915/gt/intel_tlb.c:14: drivers/gpu/drm/i915/gt/intel_tlb.h: In function 'intel_gt_tlb_seqno': >> drivers/gpu/drm/i915/gt/intel_tlb.h:21:47: error: macro "seqprop_sequence" requires 2 arguments, but only 1 given 21 | return seqprop_sequence(>->tlb.seqno); | ^ In file included from include/linux/mmzone.h:17, from include/linux/gfp.h:7, from include/linux/xarray.h:16, from include/linux/radix-tree.h:21, from include/linux/idr.h:15, from include/linux/kernfs.h:12, from include/linux/sysfs.h:16, from include/linux/kobject.h:20, from include/linux/energy_model.h:7, from include/linux/device.h:16, from include/linux/pm_qos.h:17, from drivers/gpu/drm/i915/i915_drv.h:35, from drivers/gpu/drm/i915/gt/intel_tlb.c:6: include/linux/seqlock.h:280: note: macro "seqprop_sequence" defined here 280 | #define seqprop_sequence(s, a) __seqprop(s, sequence)(s, a) | In file included from drivers/gpu/drm/i915/gt/intel_tlb.c:14: >> drivers/gpu/drm/i915/gt/intel_tlb.h:21:16: error: 'seqprop_sequence' undeclared (first use in this function) 21 | return seqprop_sequence(>->tlb.seqno); | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/gt/intel_tlb.h:21:16: note: each undeclared identifier is reported only once for each function it appears in >> drivers/gpu/drm/i915/gt/intel_tlb.h:22:1: warning: control reaches end of non-void function [-Wreturn-type] 22 | } | ^ vim +/seqprop_sequence +21 drivers/gpu/drm/i915/gt/intel_tlb.h 568a2e6f0b12ee Chris Wilson 2023-08-01 18 568a2e6f0b12ee Chris Wilson 2023-08-01 19 static inline u32 intel_gt_tlb_seqno(const struct intel_gt *gt) 568a2e6f0b12ee Chris Wilson 2023-08-01 20 { 568a2e6f0b12ee Chris Wilson 2023-08-01 @21 return seqprop_sequence(>->tlb.seqno); 568a2e6f0b12ee Chris Wilson 2023-08-01 @22 } 568a2e6f0b12ee Chris Wilson 2023-08-01 23 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki