Received: by 2002:a05:7412:85a1:b0:e2:908c:2ebd with SMTP id n33csp144023rdh; Mon, 30 Oct 2023 17:14:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3nacj6q44l3Zh70ZbZuc6ZlcWXit2wdK/YrZgy3Pn0jB90Ndk0F/EXY3rKNhmwut8SVfi X-Received: by 2002:a17:902:d28b:b0:1ca:e491:f525 with SMTP id t11-20020a170902d28b00b001cae491f525mr10567969plc.31.1698711270618; Mon, 30 Oct 2023 17:14:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698711270; cv=none; d=google.com; s=arc-20160816; b=WhV5yxt3VNhsrg1wBuZDmHL8Rtr04A7K+TCwdFRTJUNXVjUDCPgzE3e23xzfY6kfxq 9UNVgO0XDWLoRQvftP5MMqmxMAHN7cicKzuzKFxCF+0x0o3m09UlMhnOVc2+FctoCZlw OFZODESdOvWjxC6MmkshxMbfTkGmPbq1FJxkIH+8pxD0E6NIFpgZUcfr9jTZJhvqmIjb JZW+uukccEALeljoqMj3rS9Rzq2OqGe6DpdgLpcvThZuN4P2oYcZWAohvgY3JJiHXjg7 B9FGmJjD3ttyAHDE4vrPuzC1mBVhswizLFsxvhr6EsWj+47yRJwO7Z9VhxjvhRNzxrLO airw== 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=bGr9QvajUdMKLuD+0vWJVI35vLIIwsZESiMZsjfIcyM=; fh=TBKdDCDTq8qPoGqSZO3WX2wRDbZGM7GDrfnwLS0nc78=; b=XrtQFsaF7AKWUCCal87RvC8hMM0nM7O/0yYzwY9LgiRQ6RzVy3f7LxUIShDqMXpZES nK/CqeN36r9b7ZXYG48WpvyRIoZE7JBizzTG1bw7wOlKOCdgWdFKggHWKyjuOB+qH3ud PK+/frIZThYq2YDeIOZLED9mzX91jmsVA6f+XNF9k/c0CmcEu2GUaTu3UOHmlG+VS+O1 ShrAWj74pbfpwObJRjdjqyyQMP4kjLaKHIQ0EO7qEAM9Gqcln6xBFu6Sd6G9B8OSEAB6 Fn0gyCVuBK8B8kU+XHRN3CNwIH9UJiqWbwXQSzyyh203SGqfGNCgjO+UFYF8pOJj+8gr gwwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="iRY/IVQ1"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id c12-20020a170902724c00b001cad3a9ff1dsi140650pll.571.2023.10.30.17.14.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 17:14:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="iRY/IVQ1"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 5B08F80BD778; Mon, 30 Oct 2023 17:14:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235950AbjJaAOX (ORCPT + 99 others); Mon, 30 Oct 2023 20:14:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235948AbjJaAOW (ORCPT ); Mon, 30 Oct 2023 20:14:22 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16DA6A6 for ; Mon, 30 Oct 2023 17:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698711260; x=1730247260; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=3hEw6whma9Mw9eHI+cBivqj65fCA/MyOO8qKfOkydho=; b=iRY/IVQ1seNCKqCymXcN3El8LSCW2CZP4dT0BXD+XwtPC8DjSXzQVZoR fEgze2JzrSXCQKYJ+oqHu6WmhjeJ8P1ov0YRzTC6fbKPUK7KKsLr03nYe lQIXaE18QE6gdA04m/GnWxWypEuGXZOjzLcQyAivwX8H2JToOnQZpRrt9 miE55L99hMZV86tGzrvYKUjPDTPtY/3y2ZaBUKKIj260NoolzLziP5tD4 hRF2k2qAId4hAS2OEOeroav1jToT+jIu3znq1FIL7Qh3WMmBAfXIBv/oV JL2eJTlfplNN1aDAAudEA2eJlI8g0vgMcSNibaoKtQtC47mpPBGmC8Bl5 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="373236066" X-IronPort-AV: E=Sophos;i="6.03,264,1694761200"; d="scan'208";a="373236066" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Oct 2023 17:14:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10879"; a="1007586471" X-IronPort-AV: E=Sophos;i="6.03,264,1694761200"; d="scan'208";a="1007586471" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 30 Oct 2023 17:14:17 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qxcOc-000Dfz-2q; Tue, 31 Oct 2023 00:14:14 +0000 Date: Tue, 31 Oct 2023 08:13:54 +0800 From: kernel test robot To: NeilBrown , Chuck Lever , Jeff Layton Cc: oe-kbuild-all@lists.linux.dev, linux-nfs@vger.kernel.org, Olga Kornievskaia , Dai Ngo , Tom Talpey Subject: Re: [PATCH 3/6] nfsd: allow admin-revoked NFSv4.0 state to be freed. Message-ID: <202310310756.sZ0piSTX-lkp@intel.com> References: <20231027015613.26247-4-neilb@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231027015613.26247-4-neilb@suse.de> X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 30 Oct 2023 17:14:26 -0700 (PDT) Hi NeilBrown, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.6 next-20231030] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/NeilBrown/nfsd-prepare-for-supporting-admin-revocation-of-state/20231027-095832 base: linus/master patch link: https://lore.kernel.org/r/20231027015613.26247-4-neilb%40suse.de patch subject: [PATCH 3/6] nfsd: allow admin-revoked NFSv4.0 state to be freed. config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20231031/202310310756.sZ0piSTX-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231031/202310310756.sZ0piSTX-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/202310310756.sZ0piSTX-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from : fs/nfsd/nfs4state.c: In function 'nfsd4_revoke_states': >> include/linux/compiler_types.h:425:45: error: call to '__compiletime_assert_955' declared with attribute error: Need native word sized stores/loads for atomicity. 425 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:406:25: note: in definition of macro '__compiletime_assert' 406 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:425:9: note: in expansion of macro '_compiletime_assert' 425 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:428:9: note: in expansion of macro 'compiletime_assert' 428 | compiletime_assert(__native_word(t), \ | ^~~~~~~~~~~~~~~~~~ arch/x86/include/asm/barrier.h:65:9: note: in expansion of macro 'compiletime_assert_atomic_type' 65 | compiletime_assert_atomic_type(*p); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:172:55: note: in expansion of macro '__smp_store_release' 172 | #define smp_store_release(p, v) do { kcsan_release(); __smp_store_release(p, v); } while (0) | ^~~~~~~~~~~~~~~~~~~ fs/nfsd/nfs4state.c:1725:41: note: in expansion of macro 'smp_store_release' 1725 | smp_store_release(&nn->nfs40_last_revoke, | ^~~~~~~~~~~~~~~~~ In function 'nfs40_clean_admin_revoked', inlined from 'nfs4_laundromat' at fs/nfsd/nfs4state.c:6304:2: include/linux/compiler_types.h:425:45: error: call to '__compiletime_assert_989' declared with attribute error: Need native word sized stores/loads for atomicity. 425 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:406:25: note: in definition of macro '__compiletime_assert' 406 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:425:9: note: in expansion of macro '_compiletime_assert' 425 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/compiler_types.h:428:9: note: in expansion of macro 'compiletime_assert' 428 | compiletime_assert(__native_word(t), \ | ^~~~~~~~~~~~~~~~~~ arch/x86/include/asm/barrier.h:73:9: note: in expansion of macro 'compiletime_assert_atomic_type' 73 | compiletime_assert_atomic_type(*p); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/barrier.h:176:29: note: in expansion of macro '__smp_load_acquire' 176 | #define smp_load_acquire(p) __smp_load_acquire(p) | ^~~~~~~~~~~~~~~~~~ fs/nfsd/nfs4state.c:6242:13: note: in expansion of macro 'smp_load_acquire' 6242 | if (smp_load_acquire(&nn->nfs40_last_revoke) == 0 || | ^~~~~~~~~~~~~~~~ vim +/__compiletime_assert_955 +425 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 411 eb5c2d4b45e3d2 Will Deacon 2020-07-21 412 #define _compiletime_assert(condition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 413 __compiletime_assert(condition, msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 414 eb5c2d4b45e3d2 Will Deacon 2020-07-21 415 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 416 * compiletime_assert - break build and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 417 * @condition: a compile-time constant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 418 * @msg: a message to emit if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 419 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 420 * In tradition of POSIX assert, this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 421 * supplied condition is *false*, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 422 * compiler has support to do so. eb5c2d4b45e3d2 Will Deacon 2020-07-21 423 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 424 #define compiletime_assert(condition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @425 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 426 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki