Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp931213pxp; Wed, 16 Mar 2022 21:43:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9vGPHfSBUuHdwr+gnqXgrvM2V6y6qHQ3lSPHey8CLe1kxD1JkfSsJiofanMP92cVR/NVH X-Received: by 2002:a17:90b:344d:b0:1be:f346:e22b with SMTP id lj13-20020a17090b344d00b001bef346e22bmr3240747pjb.14.1647492197060; Wed, 16 Mar 2022 21:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647492197; cv=none; d=google.com; s=arc-20160816; b=nnJ56N7J4Ok1ZTETZ50fqMucOSvwvFiX5IPUTlY7Q/U9iaQmQR21RtNvWj7AAIOMyF xeXqoGEtEHQWeu/QV29We3c73tPzalwMST8g0JmPXk02kQUE+/GbVRi9v/FHdG99A4kW I8f2lkDnRMwDV0B6iBrb/neI0iRkcXpM3za15aVSqz++zsnaLERp02YKiPqoEmvLNhIb kn8KMiosF8WW40JzOzYhjeBjmZs7KvXYdqBvzLvu1D1H6EnNtWhWXkI5dQeRmO8BT/GP /cF4SvWC6B6rdyC9nC2Fd/qehpzHUsc1pvSCOSWjKB04A3mrN33ncxxEjnDtiyWuHrtj xRSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=nPDhBwL01QhezQFU1joMzMAEclKD+YQjkzA1XKwZldM=; b=fAYHEMR8r6qMjdTSXMlyocJ5kIRiA2vWMxEWnugHvQ9rBrhVC545gHO9Hzv13KcVTx uEWH+K7l+Kj/acKv5nmTnW/WJHJyGxbp29iiQ1uxvKLqY04UWpcRe8T3Vk/hr8LjEsgk UsN7oArx05EUlmTdun8jCRXZ8/Mqgqzv0NH+cQtE4C9GyefEnIwEsSrkGJnIuTkCu2Y2 kIyZe//Y1mXSw6s+UbTXt2uy6HzMXHswkDrNpSmkjPoViKpsQxCTRZ13lUi9BNusEfHK g6FFwSo1HCgt0Eeq9o/duKpFSsoiz0LJxuSEchWp3dG//W9g0Waa75Ml6mpM3itxLAlq uQRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FqmgtVoP; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h3-20020a655183000000b003816043ee11si947350pgq.6.2022.03.16.21.43.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 21:43:17 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FqmgtVoP; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E5CC83B3E5; Wed, 16 Mar 2022 21:06:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344351AbiCQAri (ORCPT + 99 others); Wed, 16 Mar 2022 20:47:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236134AbiCQArf (ORCPT ); Wed, 16 Mar 2022 20:47:35 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BF301CFD2 for ; Wed, 16 Mar 2022 17:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647477979; x=1679013979; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=2maoY5dDuJR6w79Y8GuUi000TKhwHyElOgz3d8GtASY=; b=FqmgtVoPqWsjaeC9hnZni+YEGg/guzQdnLrQy8H8L6rtYLbXych/a4q4 GoOySeNW0bEh5b6rLdQ6TWb5xNxs1Kjcjc3N9sx8cXOZ3XOjOwyAobvQE w7cgYsM7ALIE83FxhbkNGRcvWpQwF/VAwNYOP/K8Fj/lN+ZAOC8q1trI9 jG4VAlMviY6nKJjF0I5BrI6FFGV+l82126SScwPMWqVH21mt8AFOhLCjr g1N12VHJwVusZYNooZfCVGlaCqC/+2Ht3O2jgfO+anzvT+ocWODx29UHz wf9ToML8DVGVprUlE6bZr8WOyvJ4kcpEI0NFuTUMYilCVZ4BxD+FYC7QY w==; X-IronPort-AV: E=McAfee;i="6200,9189,10288"; a="255579601" X-IronPort-AV: E=Sophos;i="5.90,187,1643702400"; d="scan'208";a="255579601" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2022 17:46:06 -0700 X-IronPort-AV: E=Sophos;i="5.90,187,1643702400"; d="scan'208";a="714837139" Received: from xsang-optiplex-9020.sh.intel.com (HELO xsang-OptiPlex-9020) ([10.239.159.143]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2022 17:46:04 -0700 Date: Thu, 17 Mar 2022 08:45:56 +0800 From: Oliver Sang To: "Paul E. McKenney" Cc: lkp@lists.01.org, lkp@intel.com, LKML Subject: Re: [rcu] 758cf1496b: BUG:spinlock_bad_magic_on_CPU Message-ID: <20220317004556.GA32394@xsang-OptiPlex-9020> References: <20220314055057.GC24245@xsang-OptiPlex-9020> <20220314140653.GR4285@paulmck-ThinkPad-P17-Gen-1> <20220316061628.GA19825@xsang-OptiPlex-9020> <20220316170437.GJ4285@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220316170437.GJ4285@paulmck-ThinkPad-P17-Gen-1> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 hi Paul, On Wed, Mar 16, 2022 at 10:04:37AM -0700, Paul E. McKenney wrote: > On Wed, Mar 16, 2022 at 02:16:28PM +0800, Oliver Sang wrote: > > hi, Paul, > > > > On Mon, Mar 14, 2022 at 07:06:53AM -0700, Paul E. McKenney wrote: > > > On Mon, Mar 14, 2022 at 01:50:57PM +0800, kernel test robot wrote: > > > > > > > > > > > > Greeting, > > > > > > > > FYI, we noticed the following commit (built with gcc-9): > > > > > > > > commit: 758cf1496b94442c47c339b10d80cbaadf613425 ("rcu: Make UP-vacuous normal grace period advance sequence") > > > > https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev.2022.03.09a > > > > > > > > in testcase: boot > > > > > > > > on test machine: qemu-system-x86_64 -enable-kvm -cpu Icelake-Server -smp 4 -m 16G > > > > > > > > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): > > > > > > > > > > > > +--------------------------------------+------------+------------+ > > > > | | 6129c2b2dc | 758cf1496b | > > > > +--------------------------------------+------------+------------+ > > > > | BUG:spinlock_bad_magic_on_CPU | 0 | 16 | > > > > | WARNING:at_init/main.c:#start_kernel | 0 | 16 | > > > > | RIP:start_kernel | 0 | 16 | > > > > +--------------------------------------+------------+------------+ > > > > > > > > > > > > If you fix the issue, kindly add following tag > > > > Reported-by: kernel test robot > > > > > > Does this fix it for you? > > > > > > 67792d475181 ("fixup! rcu: Make UP-vacuous normal grace period advance sequence") > > > > yes, this fixed: > > > > 6129c2b2dc65abde 758cf1496b94442c47c339b10d8 67792d4751810a675c5690ce2e9 > > ---------------- --------------------------- --------------------------- > > fail:runs %reproduction fail:runs %reproduction fail:runs > > | | | | | > > :6 100% 6:6 0% :20 dmesg.BUG:spinlock_bad_magic_on_CPU > > :6 100% 6:6 0% :20 dmesg.RIP:start_kernel > > :6 100% 6:6 0% :20 dmesg.WARNING:at_init/main.c:#start_kernel > > Very good, thank you! > > May I add your Tested-by? sure! our great pleasure :) Tested-by: kernel test robot > > Thanx, Paul >