Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp476376rwd; Mon, 12 Jun 2023 17:10:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5bDMpC7DErLZxJtTQwuaHNgpPVwRTDWcW/u1JK1b75kJ30pT1Mtp6wuWLuiGR6Oed/Yrkk X-Received: by 2002:a17:907:928a:b0:973:940e:a01d with SMTP id bw10-20020a170907928a00b00973940ea01dmr12680902ejc.67.1686615047150; Mon, 12 Jun 2023 17:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686615047; cv=none; d=google.com; s=arc-20160816; b=AqUIir/C54ejLO5bqfOaBi4xVWV4PeYmdNvNv1zcB/fInAidXiehG2ueRT99OssiAe uR28pJb6OGTHGAGcf8b0sgCJ8mqjyILaWgEWJ3VbdfjPDA4UFaupmBENAkPVFST0NeEj J/WXNdXkItf8Bnr40G7eX18SjRS9YUA2fqy2l59H9N7VoUG+Fgsa5GyFDe0gEKO+DpM3 AxuONeIjudERAU0bxkqLB2wZkIsniTBbsLhKLXV5h9oUOJGJcE4irT2fozMJcFzh6UMt oRDa3qwoO+tkg5ilOH6wSx5jCFo9olaYb/WywV4WBmuFoFbgdR4o2ttZK2bLOE93rb/3 vH2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=8wbDZKmo9VP00ABKYaLGQ28GM2QOo4QwYdlCxLvFQV0=; b=HuLttumTWA2x0gJPBB6c1NLjvivXhLQIyv+BRpKyQvV4HekSGsNsPYblA9WV1nBuTD i3it980QnzHdoOZMPTCunr8ujk7lk+mdxuAfwuSMqMREwvjesHTIgHM8xc8SOoEtkwym PS5uOe1xLzT/J5+oCixVesGEGG5FE/+ewJlywNy37CpSfuofGRqlyKPuX5vOexXT1J80 Kn/Wd+Ahc6xIvN8LUlbD+R1Jcne4IjiNQpYuxQ/epWRn3pu9NV+YqTwZGwC8Nfviv0ZR +ZaR3q+mDcv5bGB2zfUhM3smdzEcguYNA27e0QFkkyOS+tYFNUmPwpErhPKhFqSOE/Gn n5Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xTqZLje4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020aa7cb48000000b00509d1c11c4csi6639197edt.686.2023.06.12.17.10.20; Mon, 12 Jun 2023 17:10:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xTqZLje4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234959AbjFLXqM (ORCPT + 99 others); Mon, 12 Jun 2023 19:46:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235728AbjFLXqJ (ORCPT ); Mon, 12 Jun 2023 19:46:09 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2638172B for ; Mon, 12 Jun 2023 16:46:04 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5149c76f4dbso8569242a12.1 for ; Mon, 12 Jun 2023 16:46:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686613563; x=1689205563; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8wbDZKmo9VP00ABKYaLGQ28GM2QOo4QwYdlCxLvFQV0=; b=xTqZLje4stFH7gdg9tw2fGuaNoAlSVyZ9bZDgTUiGpVn1rKnmnRRB/wOdsBKdk3M45 XyM6zqrGB41V6amFO878oAEpaEipM+J+IhZ6OUQnO6vb96iOf43xb+cTOPWDW6SPGUvU wbzhN3iKgf+ErheqSRMoxFxfGjuBsXPFyA9Nf8eealnhw6j5dxAexUg8TC0HYjPKNm9+ cmH1X+muu7EXkJdtUp+5TMYcw4rbxC4VhQQvi+yG5WIIqUjSEFDaY+a9WqK4wgXHrhfU 58f1vI8ofPwecC+2UBaX1dI7mOlCr37zZFNYbepf9z+FBvhotWk1bkOhqbtAhvfg0arh BtYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686613563; x=1689205563; 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=8wbDZKmo9VP00ABKYaLGQ28GM2QOo4QwYdlCxLvFQV0=; b=R54TLz7NqF/o7LSzug2MuspokE0jHyGXdsjqZHT2wmrfwZPiaHC6QvEX3cn0QjNa9v LjZd5gtOS0v8HVlFOK02P+Z52pNPewBblQEt4rT3ElI1GRZD0Frhu05OGF18KQPPNBD8 iPio0i29qiI1TxcWXitvx8XToqO4HwwMNhFfZVNhjFCfujiieMO/w6l0MmNr8M7Jdhoy Nvnm/k2FFKLvdbPG4SpBHn65/nUYzT2MhEh+PosJCTM6VtSPBVZKcINHxksGyzUQb93n M0VCrD7p8yAnvP+FHwiyzUbB7m9k7LkBKL/Z1vr7MM3bfybIS6adqcajrct5+r5hEt5/ 1Q/w== X-Gm-Message-State: AC+VfDwreyhcVOfoSz+B91ol7wXnY6ecLEFxsovceQ7ix+heGHHgNXcn 8B7aSIXQ1L2YIZ2icgHUqyMRFA== X-Received: by 2002:a05:6402:898:b0:514:77f5:d77c with SMTP id e24-20020a056402089800b0051477f5d77cmr6507743edy.1.1686613563154; Mon, 12 Jun 2023 16:46:03 -0700 (PDT) Received: from [10.10.0.115] ([185.140.244.249]) by smtp.gmail.com with ESMTPSA id x22-20020aa7cd96000000b0050bca43ff55sm5689515edv.68.2023.06.12.16.46.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Jun 2023 16:46:02 -0700 (PDT) Message-ID: Date: Tue, 13 Jun 2023 01:46:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [patch V4 07/37] x86/smpboot: Restrict soft_restart_cpu() to SEV Content-Language: en-US To: Thomas Gleixner , LKML Cc: x86@kernel.org, David Woodhouse , Andrew Cooper , Brian Gerst , Arjan van de Veen , Paolo Bonzini , Paul McKenney , Tom Lendacky , Sean Christopherson , Oleksandr Natalenko , Paul Menzel , "Guilherme G. Piccoli" , Piotr Gorski , Usama Arif , Juergen Gross , Boris Ostrovsky , xen-devel@lists.xenproject.org, Russell King , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, Catalin Marinas , Will Deacon , Guo Ren , linux-csky@vger.kernel.org, Thomas Bogendoerfer , linux-mips@vger.kernel.org, "James E.J. Bottomley" , Helge Deller , linux-parisc@vger.kernel.org, Paul Walmsley , Palmer Dabbelt , linux-riscv@lists.infradead.org, Mark Rutland , Sabin Rapan , "Michael Kelley (LINUX)" , Ross Philipson References: <20230512203426.452963764@linutronix.de> <20230512205255.822234014@linutronix.de> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= In-Reply-To: <20230512205255.822234014@linutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 On 12/5/23 23:07, Thomas Gleixner wrote: > From: Thomas Gleixner > > Now that the CPU0 hotplug cruft is gone, the only user is AMD SEV. > > Signed-off-by: Thomas Gleixner > Tested-by: Michael Kelley > --- > arch/x86/kernel/callthunks.c | 2 +- > arch/x86/kernel/head_32.S | 14 -------------- > arch/x86/kernel/head_64.S | 2 +- > 3 files changed, 2 insertions(+), 16 deletions(-) Reviewed-by: Philippe Mathieu-Daudé