Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1606235lqt; Wed, 20 Mar 2024 08:46:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXC0Ze9jez3GQsz+XeL2tyqY05DOywHYf+qTskvX2QGaMsypmBrpEivmVx+hMcAK6bt3xGIZW+OomF34Lw7Nsh5AsUOkdxGhq7Csurypw== X-Google-Smtp-Source: AGHT+IHjBFa7S1xIXI9QLa6fHn7guHFcrTyEvwjQVChFePyaCHWXtIc8r1SmWY2ZKYdmFM95/G4P X-Received: by 2002:a05:6402:5025:b0:567:a318:ac0b with SMTP id p37-20020a056402502500b00567a318ac0bmr2359673eda.16.1710949593996; Wed, 20 Mar 2024 08:46:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710949593; cv=pass; d=google.com; s=arc-20160816; b=BzXgAQnoAI4xPtmRHs/f8+PjTMbUukaefucHHKpwuWKmO0GUGfY8tjPmQZvgXwrbB/ PsCPjEBMKJ+MdaqHr4quBDRixP2K5+xHPj4b6+0pwSak14CH0nMnWXYE//8gvkjVWCPy bMGJgJI/tn7TGSHjGRcT/S5omQWuARRbyqthSxQkb9ye1feekQbS0zezj8rPlNiSM/QL gmFqjGEPbWRBMZpPiIp55R7tzRm5LzjrZLlvIqsV4ehmzJ4zi5u4FyeGZK39Pi3PKuKP UZdRgLZASKzwI7ppeg9juZcze7ydTxlUtbtkjZVfdwjR12s4Ojq2f7OjIGWQ9DGDx1Al 5+rg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=Qdd3G+WjpR0qw+bhZnjo4tO5XvBBXppiRTTt8ZtUFME=; fh=dfXtkWW2SLvL6hXW/+VSLkI6kkI+Zcy1SQJ9RXlUcqw=; b=RK1R6RV4/TqCGi21xAa+N8p/bybgjow2STBOJN4cZ/7zs2+fZQcJsyEI7BiX9PiIMc iaXqU5tvBtWg1248ORUmba1ZdeJxWLjGIY5w60m0IE1ZC/rLU+Q5ttSkvl7r9K+k3V6E E90UkwMsptN+1tkSUS9M4SMF81JP8AY7M3vi4ljb3jb81iEdSAnAMQyYKs2FFlp0dK6E mlH1Y49sd0znf4fAvSXCmNDRAx8Q0t6J71zgioL4qVMA4vH24umNFC/nZf+JiUUgjyoE 5dP6ggXHcB9g5PBwnUrlRM6Y89975YU5dTg+CbqdQpPPsp4X77mTkDju99IiBaa/A/pY rs7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lOh6Ee3r; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-109116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109116-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x5-20020a05640226c500b00568c3dc1216si4457441edd.639.2024.03.20.08.46.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 08:46:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lOh6Ee3r; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-109116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109116-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 88F2E1F22406 for ; Wed, 20 Mar 2024 15:46:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD09A53392; Wed, 20 Mar 2024 15:46:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lOh6Ee3r" Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66E7B482C8; Wed, 20 Mar 2024 15:46:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710949584; cv=none; b=mcVJLFXMHV/LycDiZg0lEzLRbBcPo+NXhKLIqF7GmJcbJKlMwvU3F++LCB9NEbnxnquvXkAZXDdrWJ0UIsvHKOVR4uvPJ0r7waQ7OSjfOWq4CcgrNNeydJiKyzmNE7MBbEJo7ljwuiJil+GQmp/hXZVCayvRLL6p72liOCr+RPg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710949584; c=relaxed/simple; bh=JyKk2aKlq2Wa6PBdkr0+beXzqlAlT5n0oaF2X44UbzQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=O+UuyVdZEn/1HGtijTVvi4lvadwjE+hMItZSxqtTwBv+BeYABddrqDDxL/drpESW0bYPCFoUgeYX6LRULANLWAiwfUa0nr5hAXODawKtnt6kCqIeR67Rh58ZKuA2X1yApEqErRnnI9Vtuati30SqESTePGOy2hrV078ylYia9Zo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=lOh6Ee3r; arc=none smtp.client-ip=209.85.210.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6e8f51d0bf0so27355b3a.3; Wed, 20 Mar 2024 08:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710949583; x=1711554383; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=Qdd3G+WjpR0qw+bhZnjo4tO5XvBBXppiRTTt8ZtUFME=; b=lOh6Ee3rYiJhO85rVA3KDnlwuJwNyhTZ/igBOf9iSmRRFpoV6H9skt8GCf5eUP99Fr z7YtS9s5/PxPq5JeGN+xARTTPlWQS9Cyo3esJ9bIoSqt9DAodWw9MY9YqcMOCTqIh1py hXl+8nYQY0IuJc93qmhqiYFF+PtAXVr5a7yqZpEajYU4Y6XF0pN6YwbvtfpVTxFgkkmS 9PE+WjaEQyvICiWEu2QZaKHkliD5tNzGeX+c1w7jnmVJCu1qZHjQYqd5MythxRimq3Qf uAfd0e0590FUzhCxfkf86N9qXmJS7fzkL4Yvru7i3Nuu5c7HJtUa+3b0L/8gcdoz37pW e/Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710949583; x=1711554383; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Qdd3G+WjpR0qw+bhZnjo4tO5XvBBXppiRTTt8ZtUFME=; b=nyRk5F1U6eZQLe1KdNNua4CDGJbwETs0wvtbeAtjz/kFxuNbJmdlSrTxmoc4mEO4iK vH2vUWXBbnzEcuEHahVKZN1alPYjKjpR0CYbCzM0rNA30YRrAEwwV4H0pv48ctrgWAlj y8JmNjrqzsahwCaIE/IG2vfMG7A6kzj6pdnQ9ExX81Jp2S+oqQjvcJhbqYIvk1OpLvJo sSAYMZK/SN0FfDZH3gZdyA3wVEsBqN9eYbnUDYmaLNOkUGex9GhfEC7TPqcsybEZITHO q6Su+/boW6AOvJc5lAgPjDmmvhPDkwKmxHUmZQb1ywwwtsE3Z+OTU8ljpR54EA+mTq9d E0hQ== X-Forwarded-Encrypted: i=1; AJvYcCUaWZpR882F7djXVq3WihemY1oKPFjvSSY5vMIJ2vs9ti+UGKSHCMrdhx/ohMSpCnCdtX2yOpSYBsHEolR51VltEVy8iDEvVMs7dewS X-Gm-Message-State: AOJu0YzUNUZgmzvaJQnnl5zmy5+93jJ7d0JUxwc5t3NOwgMqrv/8Hkw6 eHYQY07TBrBgjLMHXp9s2YrJhPpci4RfIEl48YuTc+WtbL+rKPf5 X-Received: by 2002:a05:6a20:430b:b0:1a3:63fa:d0e6 with SMTP id h11-20020a056a20430b00b001a363fad0e6mr9702545pzk.57.1710949582596; Wed, 20 Mar 2024 08:46:22 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id d1-20020aa78141000000b006e6c0080466sm12090946pfn.176.2024.03.20.08.46.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Mar 2024 08:46:21 -0700 (PDT) Sender: Guenter Roeck Message-ID: Date: Wed, 20 Mar 2024 08:46:20 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [patch 5/9] x86: Cure per CPU madness on UP Content-Language: en-US To: Thomas Gleixner Cc: LKML , x86@kernel.org, Linus Torvalds , Uros Bizjak , linux-sparse@vger.kernel.org, lkp@intel.com, oe-kbuild-all@lists.linux.dev References: <20240303235029.555787150@linutronix.de> <20240304005104.622511517@linutronix.de> <87bk79i8km.ffs@tglx> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6ykLOPFugl+hVL2Prf8xrXuZe1CMS7ID9Lc8FaL1ROIN/W8Vk BIsJMaWOhks//7d92Uf3EArDlDShwR2+D+AMon8NULuLBHiEUQARAQABzTJHdWVudGVyIFJv ZWNrIChMaW51eCBhY2Nvd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1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: <87bk79i8km.ffs@tglx> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/20/24 01:58, Thomas Gleixner wrote: > On Fri, Mar 15 2024 at 09:17, Guenter Roeck wrote: >> I don't know the code well enough to determine what is wrong. >> Please let me know what I can do to help debugging the problem. > > Could you provide me the config and the qemu command line? > defconfig-CONFIG_SMP and qemu-system-x86_64 -kernel arch/x86/boot/bzImage -cpu Haswell \ --append "console=ttyS0" -nographic -monitor none The cpu doesn't really matter as long as it is an Intel CPU. A root file system isn't needed since the boot doesn't get that far. Guenter