Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2503756rwo; Sun, 23 Jul 2023 17:22:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlFyzfs8y5RzWAfgmt2b+OhJ3Omzw2Foi90t1twQb17aOS2XxWF+V8OpJZk6pTTzX4Ge5Jrp X-Received: by 2002:a05:6a00:194c:b0:668:711a:7d93 with SMTP id s12-20020a056a00194c00b00668711a7d93mr4690614pfk.19.1690158171545; Sun, 23 Jul 2023 17:22:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690158171; cv=none; d=google.com; s=arc-20160816; b=SNe1Dgkv1qNp+tS++t5G5wBDB1vSBi/HOQ5MTbXObhLI5pTmK4SaQFPzt5qcOr8VWO FG3H4dSMkoQG7RIr3Zshu0JFSOHfzlrPH9+Xp0TM+RbUo9BlSqHZjen5e2dm55Dm38tL A8DjMoB4e1ZLgEpbumH2qm7XrxiFE5D2CiZDJnizAnM0bCUt0X6pq3tzL44xNBGq+3vQ K/ctsFZsFxGhh8QGRiFOsypn8zhBluSlWfRU/h4woWWtqPYHTUuuCCJZS9a9fzav+Xfg 3EUHOt7zOjRncjImQp5oPKfhyRZ8y8r3ke3Rtv/3VAeKyrvAc0vNgKsb7Bzvo7/FZpIk 6bUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=H+ooKXUaxz7S7zGhiMiEBGa8/B1a4kT9H2dXrsEtE5M=; fh=/86hvcMxk/dQVS+JaqODLu0r+cgcBmgIA6Ld3b6Yfm8=; b=v6pmGxmtv98dh2wPBuRyfFzUYxGW74W9YxwxFSKDkzmJdZ+CHfcEI6qNYv4V8WbI+v rYpG1GVNiAE/XNUDbd07eM3z7+x3jFY+bEbonURzpyGM5KKOkja+v7F4zx5vGe2YSteq q9wqduOFFPEL+1PqG5xKtmIp3Qnxq33zP9Z4yBqHP55nS9lnbrSSk402XRyWMQTJgY5s gVY/lVCh2HKrIxfu29iACVuNRyonNSGkBIatKASebDKEokktC/JIYu1WTdOP0Je6L0B+ ESgzc8XrhBqqrTNarjD1uGR8FYsrcxhvL4GVaWpSWi1nwAOyM7LQWi+2OqxAMsTALU5B B1Xw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h128-20020a636c86000000b00563b05b9ff9si1359011pgc.44.2023.07.23.17.22.30; Sun, 23 Jul 2023 17:22:51 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229872AbjGWWpg (ORCPT + 99 others); Sun, 23 Jul 2023 18:45:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjGWWpf (ORCPT ); Sun, 23 Jul 2023 18:45:35 -0400 Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B751AA for ; Sun, 23 Jul 2023 15:45:35 -0700 (PDT) Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-6b9ed0831bcso2884343a34.0 for ; Sun, 23 Jul 2023 15:45:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690152334; x=1690757134; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=H+ooKXUaxz7S7zGhiMiEBGa8/B1a4kT9H2dXrsEtE5M=; b=Ug+sTPW/Hr8EOF8df+/z6LxEMtabphua/4aUyUyFjN1MVaj2O0yO9HumkzKkEHmZfj KcHa+MGq8mcddfLvM8mIbynwl11Qh2Kwu+QX2lFxSbeBXPcTVMgpSO/hEQ4OjvMRNTAi DxBYzpdYU3/FnqC7wK3qdxU0MRi5HHse6FZdHM8Q5LYyrzinaJkgHV7Kf9JZVRxZi0my JL+zjXWnlpFyr9V04wAJPeusV4SWbNgA0Mx0e4CZztwlHjfgBWzIPfWVKPxn0IStC8Fu kADF4wdx+4kSd25mq5H6AevBU1j9XHBRelpbCCS1GsI2ReJqKdTDIXqhmqGDWMi4ZOjQ Ufug== X-Gm-Message-State: ABy/qLYQD9eAG8GKYVQVInmSGL9pxG/1hsTPO/1C1MBI2GLiHyvKUfId MgOFtxmTX9BUZJLBQssBso4= X-Received: by 2002:a9d:685a:0:b0:6b8:7a79:db37 with SMTP id c26-20020a9d685a000000b006b87a79db37mr6887438oto.22.1690152334350; Sun, 23 Jul 2023 15:45:34 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id q6-20020a170902bd8600b001b9cf522c07sm7342873pls.57.2023.07.23.15.45.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Jul 2023 15:45:33 -0700 (PDT) Date: Sun, 23 Jul 2023 22:45:32 +0000 From: Wei Liu To: Thomas Gleixner Cc: LKML , x86@kernel.org, Linus Torvalds , Andrew Cooper , Tom Lendacky , Paolo Bonzini , Wei Liu , Arjan van de Ven , Juergen Gross Subject: Re: [patch 47/58] x86/apic: Remove pointless arguments from [native_]eoi_write() Message-ID: References: <20230717223049.327865981@linutronix.de> <20230717223225.875917164@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230717223225.875917164@linutronix.de> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Jul 18, 2023 at 01:15:47AM +0200, Thomas Gleixner wrote: > Every callsite hands in the same constants which is a pointless exercise > and cannot be optimized by the compiler due to the indirect calls. > > Use the constants in the eoi() callbacks and remove the arguments. > > Signed-off-by: Thomas Gleixner > --- > arch/x86/hyperv/hv_apic.c | 6 +++--- The change looks trivially correct. In conjunction with the function name change: Reviewed-by: Wei Liu