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 7B317C4167B for ; Fri, 1 Dec 2023 03:48:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YeU5MKjc5jWuSG4xMxKHpioNIIjqIRth6V97uDR2iTY=; b=jwZ0gCyb022tkf TGcEzvwFosxGiBT7c4HlbGNNUb+vj63AI6OEFZUTJKNCX7AW18oFnI1gyhxhHfvqPnUGPB1sk6+4G 6geRsHh10E9UubGv0+T32Vmhd2aj/U+HodC/MyCPP6sM7QXiHUCsshgjHkgBqrwWE/a/6MPKUFVQ/ uvdAhHdqwFAyxpGplkKFVRLcVxfJlBoasDUiVeSSjnE16NQ+bcBHzOt+bRiGipPOZ/RI7M8Fpw69/ C7pbrN+gbUnyp9AR/ZjYN5y0qcMKSb3vu11kJGVsDzqXukag43wWk1vZaXkeVaQVzraedT3oNIaYt zYye18JFp2iG6AEVacvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8uVY-00CXpe-05; Fri, 01 Dec 2023 03:48:04 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8uVV-00CXo0-16 for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2023 03:48:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701402480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lkYkgQb1oSonM5Ah318XDYvX5RNZmhN/5LooxGJ95vQ=; b=Fzbs/Fe6TMcomTOA9ohRLsIyL/CyoiXvoSI0dZaQGOh+3m9VZKLwlBajhjDE0q34bDvagy uqS5Vj40LfUcobsrHZqIy6bM5BCvfH4Qk5M6AkZq7j6BriUInRpqL2L55yk5igaLkq2tuC Bo3VW8FYDMOO1Lfe3A+LZGpgzUtkrio= Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-582-ku38Mw6BOmyVKLdbDiQ2UQ-1; Thu, 30 Nov 2023 22:47:59 -0500 X-MC-Unique: ku38Mw6BOmyVKLdbDiQ2UQ-1 Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-5c1af03481bso141835a12.1 for ; Thu, 30 Nov 2023 19:47:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701402478; x=1702007278; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lkYkgQb1oSonM5Ah318XDYvX5RNZmhN/5LooxGJ95vQ=; b=l6NTI7rPTJYDHp71RkLxMlXy8vAm6TgbN3DnjlJ1uteY/xETTl5Kz49PbUKxV9AHew CpbJao/Aij7MrwZ/tWfOGaEHQaXsXd+SoDN7MvDe5tAtAa+jmuivq9YgFoMKSOOQfVWJ 6b8U8t3GmreQ2PhG1BFeXlkfQnO9WRS0HQ2uyVSPvUutdRpMwxG+JNpxw0gjGa774uVY 6LG037nh1AQbjMRakWpb3Li5As8fFWdBGqv66ctei9BORDM8VnnaB1e0y+uBN1CYCI1g sk/66WWRCc4U1mZQS6MwAHhDVTgqUVOnYdbFpZbs+o1iXYRGucI1UF8iTcQ7aznfHk0s YIXw== X-Gm-Message-State: AOJu0YzmMopDM/JJ3InPd+oSqe2n7B8WY0PqjgTq1lfJWbzsgP/zfobh Rzvrk6eFlk0h1SnzkCUsbLSjAI8HyZoa2tdk9vbsRPN/civDF13hJ7PNUwhglNc9P3imG7r9eSa dJ0D8AudcoM5cETebek1KxO7ou7v7LZjFUco= X-Received: by 2002:a05:6a21:3513:b0:18b:236d:3f0 with SMTP id zc19-20020a056a21351300b0018b236d03f0mr27000781pzb.43.1701402477955; Thu, 30 Nov 2023 19:47:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhKtgcw5NHksOzMAUau0Dc/qB+PpJdNsaezOVmfl0zRSeeAEUNdBUUxpUuWqCHC+jsRZjfoQ== X-Received: by 2002:a05:6a21:3513:b0:18b:236d:3f0 with SMTP id zc19-20020a056a21351300b0018b236d03f0mr27000757pzb.43.1701402477684; Thu, 30 Nov 2023 19:47:57 -0800 (PST) Received: from [192.168.68.51] ([43.252.115.3]) by smtp.gmail.com with ESMTPSA id p5-20020a170902e74500b001cfc1a593f7sm2185691plf.217.2023.11.30.19.47.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Nov 2023 19:47:57 -0800 (PST) Message-ID: Date: Fri, 1 Dec 2023 14:47:49 +1100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 09/21] drivers: base: add arch_cpu_is_hotpluggable() To: "Russell King (Oracle)" , linux-pm@vger.kernel.org, loongarch@lists.linux.dev, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, kvmarm@lists.linux.dev, x86@kernel.org, linux-csky@vger.kernel.org, linux-doc@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org Cc: Salil Mehta , Jean-Philippe Brucker , jianyong.wu@arm.com, justin.he@arm.com, James Morse , Greg Kroah-Hartman , "Rafael J. Wysocki" , Thomas Gleixner , Peter Zijlstra References: From: Gavin Shan In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231130_194801_454646_1B5258AF X-CRM114-Status: GOOD ( 12.54 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 11/22/23 00:44, Russell King (Oracle) wrote: > The differences between architecture specific implementations of > arch_register_cpu() are down to whether the CPU is hotpluggable or not. > Rather than overriding the weak version of arch_register_cpu(), provide > a function that can be used to provide this detail instead. > > Reviewed-by: Shaoqin Huang > Signed-off-by: Russell King (Oracle) > --- > drivers/base/cpu.c | 11 ++++++++++- > include/linux/cpu.h | 1 + > 2 files changed, 11 insertions(+), 1 deletion(-) > Reviewed-by: Gavin Shan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel