Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5291600rwd; Mon, 5 Jun 2023 01:04:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4CA+wUBzluyxC3ETOIyooJKV6vToxICV1MlD7LI3pUUEQZo7/R6LY9aB7QbWtF1yEBxO8G X-Received: by 2002:a17:902:dc83:b0:1ae:626b:475f with SMTP id n3-20020a170902dc8300b001ae626b475fmr2857261pld.12.1685952298096; Mon, 05 Jun 2023 01:04:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685952298; cv=none; d=google.com; s=arc-20160816; b=vB6iU6UGt42xNbQBAF533OJO3xcx87cECDu5j1UPk69wZA1GSbDNdt64mr79tqAT80 GlIPW8fZ7OySZFCTovj6K85BV+oYBTj3FTlNZPBvyI1Tbcb8cG90L4wy04k2patXZn60 yMTYp3BYYoTf+a0Tf2g5kqHZ1RWBc83fteRar1Bfh4gFyZDPPEagVdr8dFJ/gG1iiz5L bvg9nUcBYqXsjfPlrcPPCZWhggYxKMIAMF9EdSfigYH5EIZasHC0fz4axei+gpzWvaoi lD1jHg/UtYZWkpT/OwsNE9e/SuV5olDV1BG8W4RzgdAF0GI6TwAa+FrKBPvIiv5dmuZr GRyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=xF8Q31iGiIVSiWCG8vtRm8j2MKMRIGvASB6jbNLRZ8Y=; b=e6t9YaTTzotJhUf1+OD1TxtcIdvglt+Q99/L6TWRchtvymV5cxAdMdP1cdP/hxIPrg qtqincvp7NP5mmjypQJMMcVwKqBjS3A9IoA8sKp5HEDe0hYpeUNkcUH/Enwcmf3k7IOZ 4Mc8KQQEyfY3G78j3kF47U3McgezxF6vymRKZBt6vbNESe7zNDIA9hmOpBnNFkZ056js uj/H6zCQq7CkkTc93m9UMe5vvDV/DF/6c6e9/aohPvUh2v6OzzuCRI+ZD27ZobB474ge Z0BX/PMLzfgcmAvtEQ6pzI1DAmUMw/BLheU6GVbNr26HxpuPmGxkTQvFFaIVkEBt0U0r 3dGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=BDJa+tzV; dkim=neutral (no key) header.i=@linutronix.de header.b=NnxJNr5b; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020a170902748900b001b02658db01si4987352pll.580.2023.06.05.01.04.45; Mon, 05 Jun 2023 01:04:58 -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=@linutronix.de header.s=2020 header.b=BDJa+tzV; dkim=neutral (no key) header.i=@linutronix.de header.b=NnxJNr5b; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231294AbjFEHzc (ORCPT + 99 others); Mon, 5 Jun 2023 03:55:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230232AbjFEHzU (ORCPT ); Mon, 5 Jun 2023 03:55:20 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07BFD110 for ; Mon, 5 Jun 2023 00:54:56 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1685951694; 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=xF8Q31iGiIVSiWCG8vtRm8j2MKMRIGvASB6jbNLRZ8Y=; b=BDJa+tzVu80gDfR9LXVPEcn6g8cSsqlRE/egzJpZSuyuq5+HsGjOhEAHjH5Px0dB5poLBH dmxfFKyGB0Fqn1D+rhImYpEuc1OAxj8sD8fZg4WCATKX0GCCzYzSr7eu0920q3mnaoi0Jv a8GJoXtGVeRhjH5CJm8L1jKBsZdAQ5+93Hrx6EnoBtiFwPGlEwySZ42HsYE0JGMtpvHXT9 V7df/8GNs3mhm2Ksajy4WflVvyU9GjrLI5mMyyOIln2trZYde4cr+64+T+ONM1OVhTn9F5 gczeBz2HTkzvpVbeJ9w3LxDirYn+yjcvUGA8ppwgO2BVCePp2On9cJnu5f04IQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1685951694; 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=xF8Q31iGiIVSiWCG8vtRm8j2MKMRIGvASB6jbNLRZ8Y=; b=NnxJNr5bsJgmVs8ttgVgomsWQwK6qm5uIZ5SEpnnG1tlz4BYXPzIG64gS+Ylh6wI3tUzDg EkfmlqOv6NNEhqDw== To: Mika =?utf-8?Q?Penttil=C3=A4?= , LKML Cc: x86@kernel.org, Ashok Raj , Dave Hansen , Tony Luck , Arjan van de Veen , Peter Zijlstra , Eric Biederman Subject: Re: [patch 5/6] x86/smp: Split sending INIT IPI out into a helper function In-Reply-To: References: <20230603193439.502645149@linutronix.de> <20230603200459.889612295@linutronix.de> Date: Mon, 05 Jun 2023 09:54:54 +0200 Message-ID: <87fs768htd.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Sun, Jun 04 2023 at 07:02, Mika Penttil=C3=A4 wrote: > On 3.6.2023 23.07, Thomas Gleixner wrote: >> +/* >> + * Wake up AP by INIT, INIT, STARTUP sequence. >> + */ >> +static int wakeup_secondary_cpu_via_init(int phys_apicid, unsigned long= start_eip) >> +{ >> + unsigned long send_status =3D 0, accept_status =3D 0; >> + int maxlvt, num_starts, j; >> + >> + preempt_disable(); > > This seems like an unbalanced preempt disable.. Right. I screwed up a rebase completely....