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 7D192FA3757 for ; Fri, 13 Sep 2024 13:45:17 +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=8HWftb33EtqxnozB2w1frBUz2vONHKkYrtDyUOFmLSM=; b=gCMrUvgbnLkqV9+SBo+RTHgTHp xKMtd0edB2o4jlGS2hP03nN+d0Gc3PEyY+cLFjA3OLKh6ypNGR7JOnnboQfyPlN10mBxQmgVNzdVp 6n/7NHk0JSuz3e0HKTSz9ihImC9BFdj9SdjZWmKDGB3BRkX0li1rOnnPAbrIflkpIf96ljcsnzui+ xb5351ZQEPEnNldLhf8mAZOiM8toLP8ZTs79htIeLbM/2rJb+baJNKnCGXk+X0g2NmEYQCzymNDNj yY94ZPjffzRg1i7PVNl7t52iFIGSCS4zV7JExoq1uEzGTQby3wDPIJj0WvsmaWzgyPHTq8vl0G7Y2 6sR13nCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sp6bh-0000000G4ZX-3Zn8; Fri, 13 Sep 2024 13:45:05 +0000 Received: from mgamail.intel.com ([198.175.65.13]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sp6Yj-0000000G433-389K 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=1726234922; x=1757770922; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=bf8Xv7o4YwxmyAHF0D2eb3sZJQ30HdDrCz7p377435A=; b=YJyN70ZdTM+GgbyVgiHyx5hwRkZunaL8gO4ybQO5T+8FFWSbaeps+tc/ qsWDakf0gzG8g8TwJlvopw+FvMXxg7pzeR+IlnkTtXradgCoDSg1LHkD/ I1ckzZNjp1YMnMUFy0hNiiUQMN1A1NFyYygwVwv1mmd+7ThvSZKamQRNn 7sWiQ8AZtc5gPHmHnieqUz7edSFoJOZsOhg6ynDzOGzxtd+5D+Txylw4y +raGmbTBth2kJfvec2IxHzBJE+zaSq/LELic0dqLpTnc5zjBjOtB7zVmN hw/5GSU7g6ZwJUNKS+TZ/8odSOh+2WOpF/GD5DO6QLf/d2cw9iByuQZHV Q==; X-CSE-ConnectionGUID: UNlkyUOdRYydiCgJKrGFlw== X-CSE-MsgGUID: 3UFhCCh3QJKACokOJG/v7g== X-IronPort-AV: E=McAfee;i="6700,10204,11194"; a="36269354" X-IronPort-AV: E=Sophos;i="6.10,226,1719903600"; d="scan'208";a="36269354" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Sep 2024 06:42:01 -0700 X-CSE-ConnectionGUID: kHf73TM5RIylPLXj+wk35Q== X-CSE-MsgGUID: tskWT6C9TR6TDti5ucK13g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,226,1719903600"; d="scan'208";a="98890502" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by fmviesa001.fm.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-0006Xq-2m; Fri, 13 Sep 2024 13:41:54 +0000 Date: Fri, 13 Sep 2024 21:41:16 +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: llvm@lists.linux.dev, 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: <202409132145.0UdNx9kr-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_064202_073419_2D3DDBBB X-CRM114-Status: GOOD ( 12.02 ) 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: i386-buildonly-randconfig-001-20240913 (https://download.01.org/0day-ci/archive/20240913/202409132145.0UdNx9kr-lkp@intel.com/config) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240913/202409132145.0UdNx9kr-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/202409132145.0UdNx9kr-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/i915/gem/i915_gem_pages.c:11: >> drivers/gpu/drm/i915/gt/intel_tlb.h:21:40: error: too few arguments provided to function-like macro invocation 21 | return seqprop_sequence(>->tlb.seqno); | ^ include/linux/seqlock.h:280:9: 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/gem/i915_gem_pages.c:11: >> drivers/gpu/drm/i915/gt/intel_tlb.h:21:9: error: use of undeclared identifier 'seqprop_sequence'; did you mean '__seqprop_sequence'? 21 | return seqprop_sequence(>->tlb.seqno); | ^~~~~~~~~~~~~~~~ | __seqprop_sequence include/linux/seqlock.h:228:24: note: '__seqprop_sequence' declared here 228 | static inline unsigned __seqprop_sequence(const seqcount_t *s, bool acquire) | ^ In file included from drivers/gpu/drm/i915/gem/i915_gem_pages.c:11: >> drivers/gpu/drm/i915/gt/intel_tlb.h:21:9: error: incompatible pointer to integer conversion returning 'unsigned int (const seqcount_t *, bool)' (aka 'unsigned int (const struct seqcount *, _Bool)') from a function with result type 'u32' (aka 'unsigned int') [-Wint-conversion] 21 | return seqprop_sequence(>->tlb.seqno); | ^~~~~~~~~~~~~~~~ 3 errors generated. vim +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