Message ID | 20230717223225.273415268@linutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1431910vqt; Mon, 17 Jul 2023 17:49:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlEdXADVKszAiYgdSma4rNzqPNyC+ZyepLzjaRzFZewMjoW1gff6B8HPN3ws3xW8iyefQQFr X-Received: by 2002:a17:903:1d1:b0:1bb:3d05:764 with SMTP id e17-20020a17090301d100b001bb3d050764mr1935689plh.32.1689641387762; Mon, 17 Jul 2023 17:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689641387; cv=none; d=google.com; s=arc-20160816; b=aZdlnwQS89ihXla+u5ePqJvImWKBn1Mb19tYAAVZeAUmeA4g72/fkLgsfkCgz0t+z8 2gKXkLSE5m/PPNvyCVdui05k9f1CN0IjN3d67F0NyCKwNYygDrkRDRIQ9LAHQPV1MSvF mwsGXy1ATUru2E7ilE3UlNCj8V+vM1AyBTOwPTHLunuNlbbz8RPbIwDefgtec7An2i1c KhjXfKFFHYxrrD4eyjB8UE3MB10JGXR5/PWquDoXn1h6TNx23MnuATp+G9ldkWCQVAtF rHM+aYW4SydJnrH+fdJzJ2xcz4NNVc+Cmt0fRQTJGEduvOPEgNbGwD20i2bIqWK7QY2u NzBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:mime-version:references:subject:cc:to:from :dkim-signature:dkim-signature:message-id; bh=0+V5+gDglWXFOXAl/NKeyplEXp2IefeCUE4Fh7G+n/4=; fh=MJzvnywV9/WrN/ASipmGkNx/7jKFHnq83nsgXe/obdc=; b=kjujrhBPD3VmHeEECzUwt8F3p8Ua3Gojs8K9fugmn0v9X3mC8AoyAeUDW1P3w3hcNu FjLuhTRJjee1oOjoDHGlgh+86z3h1dImMq4545T3YvJ0YIvpzvhgRcR+iGAAeYDYtfbM kOQTMie0ttG/CgC+LtSrtiKIOi+wDxQjX3MRUcH8JYR1I0NPAScaC9n7ZH/gv/CsR777 KCq2vJZcmkotJqsMj0bMctjd4Z5luxV2XEspOmIMTpEbQwEl+CTXKmq6lAD4TQnKsWZX E9bCR6MZlsQW1nYyA6hjApeT3uAXP4FGNu39ArW5A9bGeO2Uyk/29LuJ2iKBKu0kERVu 3K4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KmKQ0C6Z; dkim=neutral (no key) header.i=@linutronix.de; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t12-20020a17090340cc00b001ab089f7329si713759pld.73.2023.07.17.17.49.35; Mon, 17 Jul 2023 17:49: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=@linutronix.de header.s=2020 header.b=KmKQ0C6Z; dkim=neutral (no key) header.i=@linutronix.de; 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 S229470AbjGQXg5 (ORCPT <rfc822;hadasmailinglist@gmail.com> + 99 others); Mon, 17 Jul 2023 19:36:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231685AbjGQXgv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Jul 2023 19:36:51 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B86751719 for <linux-kernel@vger.kernel.org>; Mon, 17 Jul 2023 16:36:03 -0700 (PDT) Message-ID: <20230717223225.273415268@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1689635732; 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: references:references; bh=0+V5+gDglWXFOXAl/NKeyplEXp2IefeCUE4Fh7G+n/4=; b=KmKQ0C6ZMTvfEMgWOWKvqJMIcQO3L7KYwm4M44SqqGkqOH2msmDctXcslNo37q98COYsjG 07S6EO1elC3GA+p5bQiQHXM/8k4yka5pcdl2S5mvDJNsZhxVwmT059drPucIR4jysYlhId C7JPTtIBcluvu3sPuF7gFwik4+hY/O87pPgcZ8r7V5GUTNXJRZaUegt8JEwcEx9wtTxgky 4NbMROhWywUFAQzWyWAvwbgTlGskzmamUcc0fqwyNVt7+ay+/TtP3IoSi5msrNH2ytXSfB hkD1nkn5ZQORYTnsqLKGNnP95WTAniZsQ8HWKf4GcItae+rAMAvIdO0a+i10ug== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1689635732; 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: references:references; bh=0+V5+gDglWXFOXAl/NKeyplEXp2IefeCUE4Fh7G+n/4=; b=LJkgLnx1AiB7LE4UdEfC/YxcSdmOw+WdxAJOnnMQ5DtxuaNVKgM7lUrO/t2Pw8cojki5fP NAcoDqSF1Z9mQ2Dg== From: Thomas Gleixner <tglx@linutronix.de> To: LKML <linux-kernel@vger.kernel.org> Cc: x86@kernel.org, Linus Torvalds <torvalds@linux-foundation.org>, Andrew Cooper <andrew.cooper3@citrix.com>, Tom Lendacky <thomas.lendacky@amd.com>, Paolo Bonzini <pbonzini@redhat.com>, Wei Liu <wei.liu@kernel.org>, Arjan van de Ven <arjan@linux.intel.com>, Juergen Gross <jgross@suse.com> Subject: [patch 37/58] x86/apic/uv: Get rid of wrapper callbacks References: <20230717223049.327865981@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Tue, 18 Jul 2023 01:15:31 +0200 (CEST) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771717408001157613 X-GMAIL-MSGID: 1771717408001157613 |
Series |
x86/apic: Decrapification and static calls
|
|
Commit Message
Thomas Gleixner
July 17, 2023, 11:15 p.m. UTC
Why on earth makes a wrapper around some common function sense? Just to be
able to slap some vendor name on it...
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
arch/x86/kernel/apic/x2apic_uv_x.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
--- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c @@ -783,11 +783,6 @@ static int uv_apic_id_valid(u32 apicid) return 1; } -static u32 apic_uv_calc_apicid(unsigned int cpu) -{ - return apic_default_calc_apicid(cpu); -} - static unsigned int x2apic_get_apic_id(unsigned long id) { return id; @@ -838,7 +833,7 @@ static struct apic apic_x2apic_uv_x __ro .get_apic_id = x2apic_get_apic_id, .set_apic_id = set_apic_id, - .calc_dest_apicid = apic_uv_calc_apicid, + .calc_dest_apicid = apic_default_calc_apicid, .send_IPI = uv_send_IPI_one, .send_IPI_mask = uv_send_IPI_mask,