Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp240735lqo; Wed, 27 Mar 2024 11:36:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUcrfzXe/s4BHOesyraFFXiYGqzI9diyOknshKLRpklGXKwXs/of6X8pu6wV0AuM5v6rtyBaaq2qw7zuVrUTHrQg+2cM4ZR9LmhdJTnFw== X-Google-Smtp-Source: AGHT+IFfi8Ic/BkQQxQW69ciKN95MNK4i02byzXtFKASQKz1gvUY7yyUrdtXtrU93VajKaOhHDyk X-Received: by 2002:a50:9519:0:b0:56b:d93f:6bac with SMTP id u25-20020a509519000000b0056bd93f6bacmr487813eda.21.1711564599988; Wed, 27 Mar 2024 11:36:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711564599; cv=pass; d=google.com; s=arc-20160816; b=FZW3M89niNp2t0xc2Ws0xYFN2GRMBogSRpmfo0lRvmIvduPozKplbEVFBLgIERlYxf HHc2HQ99EjqNxZezNeVmFofxS7Nyz+h2HoGoJh1r90UwXN9JqwrNqeohYlHt/NzgqmOg PGpgsv4Zyj6ONp0bDoJ2CTL1e0NnorlfD4+deT5A8PmvV7Y3l4dsKztqCC69ZdC8gM6G P5uYwhm1nRuNOnoLYKluxTp6RzyiY/stLu9rAZGDuBD8b9rKkBRvUql/WwVFtMwJEIFC KUxjKSu5zoe3lmrqSu7icJ8hebQ9fHPZYaKOG6JMeBgJtnEzEwbLUKjfuTjzskVX5OSt MOFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=ChskCpaa5hrgVplzQRHccVrjf859v/wAPiRilaHxkUE=; fh=xUWn2NDmQ404buZvRaWjF7D2NoR7b7vX/MmEn41gnuk=; b=jmRXggVH2fJDODBc5tGQIsT4FHNfwjn+M9iDseVIKi0VDSfJu3Ev85nkILzXeGbFLY 7cvjpH+/xgod1LS3QyQrQzpyfdOuMR/KRJ9eZ6xWcvDKUOXM56n3IPVfcQLMTqufuXVF 1ZwoFWKDbMV7SPSp/4VKxcnETWSQv4S2U3rf9e7uw929Ywg3pxQC1R3nWfGb+EeEcb1h kcM5q1OECaN0pewDYIe5/Dr/KnsuycFb5tQ3SNNIHTTsnQhUb5kMsQpX34Qbp7NcrZdh mR7eKlTqpM4iQ4IGL7RsLRRiER+W09MXgvGpQ0dqvH6ML84d+eV7HJHFiKgBNkAyWqfE 8fDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NpCaTPYd; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-121836-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121836-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 g7-20020a0564021ec700b0056893d784f7si4990616edg.52.2024.03.27.11.36.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 11:36:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121836-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=NpCaTPYd; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-121836-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121836-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 B54931F3C52C for ; Wed, 27 Mar 2024 18:36:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2D7214F9E6; Wed, 27 Mar 2024 18:36:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="NpCaTPYd" Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (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 8A457339A0 for ; Wed, 27 Mar 2024 18:36:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711564593; cv=none; b=NIozsb5bZ4qffwH/JFKCNqL/egbz5qDnI5ekXeSryp0bcDC/pgaiCHzQFJGYbcGCglOSenQ1b25q86w7t7/KJ/GDNWf07CLzbmNeOS/MEVtyk+bDavCxqs35W+syHGk89AswyTAxe6IS0+QHhafAcRq8HQSIOR9Qr5XO1WBMxFA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711564593; c=relaxed/simple; bh=0ydah2ypjm7l/uB1xaTPLJQXv0RyHSLmdCIFaBW8gVY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KqaXaGNG2aF6XDZ1WXooGqT1606Ph15ssgNcvFmCfhW+oTK+DKuM0tTY6r31xzZLf1/JATgD+TABYovsmp1m9v/npTQ6dErCGijdugjHuRiJeuGj47T9t0ahUI9exCLsVYouQFnwRTSHcUSsM3v9ujJ5HsuPk2uQca2cItq3/0s= 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=NpCaTPYd; arc=none smtp.client-ip=209.85.215.170 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-pg1-f170.google.com with SMTP id 41be03b00d2f7-5d3912c9a83so35807a12.3 for ; Wed, 27 Mar 2024 11:36:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711564591; x=1712169391; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=ChskCpaa5hrgVplzQRHccVrjf859v/wAPiRilaHxkUE=; b=NpCaTPYdYDUTD4LJddSsxmz36X831p9c/qrr1lQol9kyjVU3zRCJUFHScHlgFee30e xCx2taZ1aA6qlIdnu1XlN1p7bpi8enFqzVAxAeMmqc0aUnSXjanmy3y8USmb8TV2pyq4 D+/24eOslu1Io0k755x0M90/RL11BMTxEhnelfml4wbjFdEAjUUvbVENPz9R59eVX126 5cly72Q6xbx4RhURl0suC+4jpkJxiIXQWSBufHlobn/SBrCu7HQW6vePHZnQYquv/K9n NaWw0MchKRNEeC+bRtH4z6ySNNR8y65eyLznT0uWAtlXHwGPxTd/Zg/ww3iaaqeZlP5T zb5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711564591; x=1712169391; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ChskCpaa5hrgVplzQRHccVrjf859v/wAPiRilaHxkUE=; b=o20MKl/xe0MxFvM6Q9tXtJhgdEEq7IXTdtPnNB8NYsOIt92zR5SwzDpaac+s5OmX2z E5NoeFXEQos7JOxgefRva3mAZOhHXfSocvNuVPI5eHhK8BVM/X2FaN6/IqeHkkWOZnbY hIXb2kWKQj8ywJ2NS6PbKkzN+GE+OKSxYfGTa4yj8zdUyEBGJTsaxbI7e3YrkG9sBIrq zDQzH9ZaXiJKJBxz02ZjHKlBuWJVXFBtjzDO4MyxsPISgdi0TqqQSm6gh59VNVjkpuxT hJDIGSbKWpXjvE1mLGQ7FZhMBpUnxMFEgdcR6KoA8U+5ExcSZZ1RvJDCmTSte1AwXP2Q 5iLQ== X-Forwarded-Encrypted: i=1; AJvYcCW5j9ibWMbSGcsKrKPlci0sCWQkXubQOFcol8p5YQcKGa3c9wCEcOj95VKrHxEILVbYdIqZ+AsyrcEBXsl9xtQz9FWlrLMo8I+HcbBE X-Gm-Message-State: AOJu0YyjtB2lNCNjQvLmxRl7Helj5LyVe4jheWCu+ZPOZTYUOmf/Jn2d agW9a9IufKZkbisQgX469wrqglsopsLEwG2uTGUgRPUEBUYgEwbS X-Received: by 2002:a17:90a:de17:b0:29b:8926:c161 with SMTP id m23-20020a17090ade1700b0029b8926c161mr457567pjv.19.1711564590759; Wed, 27 Mar 2024 11:36:30 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id nd3-20020a17090b4cc300b002a0544b81d6sm2068643pjb.35.2024.03.27.11.36.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 11:36:29 -0700 (PDT) Sender: Guenter Roeck Date: Wed, 27 Mar 2024 11:36:28 -0700 From: Guenter Roeck To: Jonathan Cameron Cc: Alexey Dobriyan , Thomas Gleixner , Peter Zijlstra , linux-kernel@vger.kernel.org, linuxarm@huawei.com Subject: Re: [PATCH v2] cpu: mark cpu_possible_mask as __ro_after_init Message-ID: <7c5dd81f-46ee-43a7-8359-f713a027386d@roeck-us.net> References: <41cd78af-92a3-4f23-8c7a-4316a04a66d8@p183> <11d7a34f-909b-4923-a15f-d32015463c35@p183> <20240327181053.0000481d@Huawei.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240327181053.0000481d@Huawei.com> On Wed, Mar 27, 2024 at 06:10:53PM +0000, Jonathan Cameron wrote: > On Thu, 22 Feb 2024 14:19:35 +0300 > Alexey Dobriyan wrote: > > > cpu_possible_mask is by definition "cpus which could be hotplugged without > > reboot". It's a property which is fixed after kernel enumerates hardware > > configuration. > > > > Signed-off-by: Alexey Dobriyan > > Causes a crash in this path (via CPU HP testing on qemu) > Pretending to be an AMD Genoa, but I doubt that matters. > Can you send me the configuration, qemu command line, and commands executed ? I'd like to add that to my test setup if possible. Thanks, Guenter