From patchwork Thu Jul 27 18:05:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sohil Mehta X-Patchwork-Id: 12715 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp1289718vqo; Thu, 27 Jul 2023 11:33:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlG6AvMON8yzlDLgI8IKM+gIi9fFurbI/4nw9uh/rudpeGsK1CyI9nmSZ3g8rJB/8AgyATed X-Received: by 2002:a17:90a:70f:b0:25e:d303:b710 with SMTP id l15-20020a17090a070f00b0025ed303b710mr97329pjl.35.1690482828071; Thu, 27 Jul 2023 11:33:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690482828; cv=none; d=google.com; s=arc-20160816; b=I1+l6XVBaAF2zIO4S5VeGNY/ovy7HKLM4gl0DQJEIDV4UKvEw20rIHHbDBSw7o1FrF 8H2lo43B2zn+w+mO2jyxjNvkjCOVgmOiCEzDus97B9t9TRMHoyoTHEjqi2lQZ9aQrPPl mEN/C1qDEckQKLc5pN/0dNM0H9bqH/NSRk3lIYbYDF+DpPtEfaqXzneOORwmCpsdmusp 9bTTY2mQqVjQaM2Ms7NtjSji88Lp6VOTcpincDuELgFsLJA0ettHy7z7khP/yGNlfvKU phfaCAj6+icz8Hsk7cPtTcsjflWQFtPTdp917x5MoNWbAUQcaGh6ScHQA3qYoasuTJNb yGCg== 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:subject:cc:to:from:dkim-signature; bh=GT4qRnnzbExBfugxaqURx4ykmEANyxwDAlZRcvfmTU0=; fh=+HHxJj+jtdJUKsrKMnpt0SoOHEFfnZ3HUVGrTHJPU+Y=; b=bYBW75J6UG3VIu3lfnlA18wWggxNioRAnn9A6S8Tiq567qKjuVy/za47tpxPdsJvES gu1UVsIelqZZHvJEAAwC/HfF11f07iIIEuyD0FuJs8SdJqBZOHKASSZefwL0rOQX63BF zV1ftrufFVF7dW3ZQd+ryjqLT2CnONMeDhhJoNezQhZsC50SEH0LeDULBKmVfA7wA569 L8IHbG85rUiPD+3i56gpDXCamSSg9rle+kB0LSMdD45C6CSuoMlXyfC+MAUyi9RbXoam jgjgQcLirYwLyfaP9ST/btvzlSjCc3Fvfa/PmAcSUNB2PvDFjw8QAXAoqBlHjRMhimGw lMbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="g/Tfxyv/"; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lw5-20020a17090b180500b00263046538e1si1846408pjb.84.2023.07.27.11.33.34; Thu, 27 Jul 2023 11:33:48 -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=@intel.com header.s=Intel header.b="g/Tfxyv/"; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230460AbjG0SGq (ORCPT + 99 others); Thu, 27 Jul 2023 14:06:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbjG0SGo (ORCPT ); Thu, 27 Jul 2023 14:06:44 -0400 Received: from mgamail.intel.com (unknown [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEDBA30ED for ; Thu, 27 Jul 2023 11:06:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690481202; x=1722017202; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Nn/+97mXokNFhGc4n8F4TMZQ782vpORbU0AqQNg977U=; b=g/Tfxyv/3yzO79MI8zeW4L9sTAlrBXoIsfq1Rkv5FyZ71cdabvEGq3cy lw/ov1URAta9SHjtcpH2yHttOdxKhK4awJXKAs7EoWFMLWbELEKShUUB+ W5VGKXkAJgQ/f97w7jb0z2a1TI52kbL78BdvRe3ebuydQfvrL1RiKD1Li Bq8z2lH+OOMXGVrjE2izQqJzPybwp0/RqQhbZAacrYjTPQsE+dyjUEUau xY6VVAv/TZww21eMHlL3Lujs87djfBWx8fIef7BK2r4A8OHXinUzxz5ih 90qxQvUanQwjkzcCLmlAiajt8sU+lA180Ul1K4nuiG/BDQ36jw1Bq2E/g Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="454760077" X-IronPort-AV: E=Sophos;i="6.01,235,1684825200"; d="scan'208";a="454760077" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2023 11:06:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.01,202,1684825200"; d="scan'208";a="870523911" Received: from sohilmeh.sc.intel.com ([172.25.103.65]) by fmsmga001.fm.intel.com with ESMTP; 27 Jul 2023 11:06:43 -0700 From: Sohil Mehta To: x86@kernel.org, Thomas Gleixner , Peter Zijlstra Cc: Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , Tony Luck , Sohil Mehta , linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] x86/smpboot: Minor cleanup Date: Thu, 27 Jul 2023 18:05:30 +0000 Message-Id: <20230727180533.3119660-1-sohil.mehta@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772599721634020164 X-GMAIL-MSGID: 1772599721634020164 These cleanup patches are minor and fairly independent. I have put them in a series to make it easier to review. Please feel free to apply any of them. I found these mainly through code inspection. v2: - Added 2 more patches - Rebased to 6.5-rc3 - Improved commit message v1: https://lore.kernel.org/lkml/20230614201301.1308363-1-sohil.mehta@intel.com/ Sohil Mehta (3): x86/smpboot: Remove a stray comment about CPU hotplug x86/smp: Remove a non-existent function declaration x86/smpboot: Change smp_store_boot_cpu_info() to static arch/x86/include/asm/smp.h | 3 --- arch/x86/kernel/smpboot.c | 6 ++---- 2 files changed, 2 insertions(+), 7 deletions(-)