Message ID | 169718989092.3135.5794542143977033088.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1777839vqb; Fri, 13 Oct 2023 03:02:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHLx+LmaO4PDDgZ8+jIAGgZ+IYL78lwbje+Kl8WpK56gz5B70QEbEEtYwoaJBAFCthrOhvp X-Received: by 2002:a05:6a00:1da7:b0:6b5:523e:9e9 with SMTP id z39-20020a056a001da700b006b5523e09e9mr367683pfw.3.1697191320861; Fri, 13 Oct 2023 03:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697191320; cv=none; d=google.com; s=arc-20160816; b=t/lXLMcG3zIcphohSVOWziCetRRyYgBgt8z4Nlemwjtxd8izWdhLDVVA/KJNx7h0Pr X2g1MeaYR0ZfQPNH8DZYHEB3UW1qgoHWe9+xTv6bp5oYHf+pQPydB6TbWCVQ3tlsXLFs LiCwVKEQDRk12tW2wn4wDuq518VXLkZQMQcuvFC/iyiJXZFwow1a/lNiZ5U9e4QniYBs Er/fa8tR3mkZiszTCilatuefgEJ9Iu/RefieIS0xt+d6HjyfQgQEaqQs0ChWV7FmxKmf n4s0YcdtACjcNh9guR1nc2EuKvGMMZPhvAEzBru34OYvPRoKgyae1CnOWaTnGHqptAGk ZLYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=+TVQpBz9OvZUNUEZoSqTL7RJLRy7xgCTMC4+YJjROzQ=; fh=9Et1xDJOjLzpfljkBv6WL6N9yJ3F7a92x/mCc58zBBw=; b=dJWN6BsOsYXmKkZ9e829LnG/hcbKuRTjU3y0gTWghfQnG0WoAQ5TlMiLhD9YR519df iDQV7LdmVqQO7rdErdwZbV/Cgk8Y9jdWwnRyzLzQvlQOqnxvivl+Dvj29Jwf/+tHG2TS 584/1D2MbhIRdOXBkbvvEzDgrtu2jSP7AHGn8VBsrhZuAyD7kIKotEwFT2BodUMJ/pke DkqJDZ5XnQKUch9J3Q0Dqi6Nnlk/pUSmJKyDaOKkGYcb+yh3nxvDDMY2Kn+Yl0yUrdy5 PksoH/aCveoKlWSltCCr/RicYJlcEJDz8sJBxOKte9A346WH5Vp1fLVA3JdxWgBQaXjD xNBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OYxEXeO4; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id dw8-20020a056a00368800b0069f456b74e9si14128559pfb.292.2023.10.13.03.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 03:02:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OYxEXeO4; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 86A4E8269F14; Fri, 13 Oct 2023 03:01:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231582AbjJMJi7 (ORCPT <rfc822;rua109.linux@gmail.com> + 19 others); Fri, 13 Oct 2023 05:38:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231260AbjJMJiP (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 13 Oct 2023 05:38:15 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF577CE; Fri, 13 Oct 2023 02:38:12 -0700 (PDT) Date: Fri, 13 Oct 2023 09:38:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1697189891; h=from:from:sender:sender:reply-to: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=+TVQpBz9OvZUNUEZoSqTL7RJLRy7xgCTMC4+YJjROzQ=; b=OYxEXeO4I7YU7Mlf55z7zBZ8fGtwZlBkklqW+/SLvb8N0rAEXGsO4IpMjv3No3BVvGOJ6G PPUYNtbmRDIG61gWh5eFBuZoaF28G5/5zbp86um2dmGvN9VPAG6/4PRe8yap5ipvTff7xL 1zoZJCyuGX3ro9ECSrLEoRtVtfppKlNhKu1s1+aybFwpr8v61gQMl2fGMhMnS7X8KFuGDA 51phujLRslfwfsZjgi/5gGjnKK1SuOVXNLm8W/qrbF5PXtniwt/YnQ0xJZX3DqW+rlznLJ K7j/5C2a9pGsSDtI+yZUFeD/zVr2EqH71GgsS+uwzdAQyKEs7VQpA2MrahiqwQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1697189891; h=from:from:sender:sender:reply-to: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=+TVQpBz9OvZUNUEZoSqTL7RJLRy7xgCTMC4+YJjROzQ=; b=6/FwhmgWZxggQsfaZ5oqkqS8l/aD8VwPd+WpJBOSn91WP7ElYg4Lg/ry5up2zjgmu71jJK a8WZW4NqYMr1QFCQ== From: "tip-bot2 for Thomas Gleixner" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/core] scsi: lpfc: Use topology_core_id() Cc: Thomas Gleixner <tglx@linutronix.de>, Juergen Gross <jgross@suse.com>, Sohil Mehta <sohil.mehta@intel.com>, Michael Kelley <mikelley@microsoft.com>, "Peter Zijlstra (Intel)" <peterz@infradead.org>, Zhang Rui <rui.zhang@intel.com>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230814085112.446856860@linutronix.de> References: <20230814085112.446856860@linutronix.de> MIME-Version: 1.0 Message-ID: <169718989092.3135.5794542143977033088.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 13 Oct 2023 03:01:58 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774202021027230245 X-GMAIL-MSGID: 1779634086168777948 |
Series |
[tip:,x86/core] scsi: lpfc: Use topology_core_id()
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Oct. 13, 2023, 9:38 a.m. UTC
The following commit has been merged into the x86/core branch of tip: Commit-ID: 09253672b5d9f911b96651400a02ad6666b7ae2c Gitweb: https://git.kernel.org/tip/09253672b5d9f911b96651400a02ad6666b7ae2c Author: Thomas Gleixner <tglx@linutronix.de> AuthorDate: Mon, 14 Aug 2023 10:18:32 +02:00 Committer: Thomas Gleixner <tglx@linutronix.de> CommitterDate: Tue, 10 Oct 2023 14:38:17 +02:00 scsi: lpfc: Use topology_core_id() Use the provided topology helper. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Juergen Gross <jgross@suse.com> Tested-by: Sohil Mehta <sohil.mehta@intel.com> Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Zhang Rui <rui.zhang@intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20230814085112.446856860@linutronix.de --- drivers/scsi/lpfc/lpfc_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 3543772..e7c47ee 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c @@ -12456,7 +12456,7 @@ lpfc_cpu_affinity_check(struct lpfc_hba *phba, int vectors) cpup = &phba->sli4_hba.cpu_map[cpu]; #ifdef CONFIG_X86 cpup->phys_id = topology_physical_package_id(cpu); - cpup->core_id = cpuinfo->cpu_core_id; + cpup->core_id = topology_core_id(cpu); if (lpfc_find_hyper(phba, cpu, cpup->phys_id, cpup->core_id)) cpup->flag |= LPFC_CPU_MAP_HYPER; #else