Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2418249rdh; Wed, 27 Sep 2023 01:51:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEUGDTS+rTKWVUTfgdctLo9hciOVABVFAO7jGWLDLknC9WX7vTzHrVS67UIrYhqXUruyXy3 X-Received: by 2002:a17:903:1ce:b0:1c3:8464:cad1 with SMTP id e14-20020a17090301ce00b001c38464cad1mr1198837plh.26.1695804666197; Wed, 27 Sep 2023 01:51:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695804666; cv=none; d=google.com; s=arc-20160816; b=W4zlrLC4a/t57cOo5J4pv4ggJjqrf34rbCxvB3g68PTNP3Bp2PCaYDSsoVYq8bDCCL e1Q2tJMdzVjiT/VmiRA2a27ZhkG4tekcXXbaKXl/Nt2v2Npg/MVH0/1vciQdxPLcRJrI PxNLNBYY3M7WrOVxtJ+MH2E21OpKbthD35eT5/qr136ufqJwGSLQKCbz57jKavohLqT2 m7cRv0jxTQMJrI9czopuL5kgW1bpn5jKICg9wGoFA+8kYNLdSIInKNrQOwE6G4BriLFA rr5uB05AaSkzlMHycpj7G/xZ4NMxcZ7uWfv81n3ZC8GZpr2/2sg4GM+pQtmY+MrVwrgy QbNg== 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:sender:dkim-signature; bh=ryydy9ohdDMnk3LeSCYYGEmNVUaQ5qBDaUQrrGSDq5Y=; fh=+qHQtYUAc9oVKvBLI2z4QsmB66qYh0j3pCTHSAWojyE=; b=XzUfEsalyOAcWMJTgLNgZ6gvZA+wNXN+MFrq0hLS724ZkW6rhqY86OGsOo/cZ1qLC+ 5qyBfRf5QBk6+bCyPf5sGFdqDgAfa8jbh632HQkt5YcCytbUARGxQD/+bhVJYeq0jqZI 7ckxrPUoG+Roetc5Uj2Y8m3b0N/kZ81JEYIWI8810rb8F/oeXjFehFz72LtfbImNWMO/ F+gmoQTPOi24MZV7BphHi7/g28BrSudjCGu2C/yCVBIH3Ssv40xZafd5SIiHNtJcqPFE Oi5qSz6dqblFGZMxRoenV+UpVdzeR8YbJtjqEocBBLCYVQPZUjWGb6XwDTqipCTthDPQ 2EIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RPiooq35; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id a6-20020a170902ecc600b001bd9e2b4b46si15622706plh.601.2023.09.27.01.51.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 01:51:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RPiooq35; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 54EF58031AFC; Wed, 27 Sep 2023 01:07:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230017AbjI0IGe (ORCPT + 99 others); Wed, 27 Sep 2023 04:06:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbjI0IGa (ORCPT ); Wed, 27 Sep 2023 04:06:30 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BC5D1AA for ; Wed, 27 Sep 2023 01:06:28 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-98377c5d53eso1286586066b.0 for ; Wed, 27 Sep 2023 01:06:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695801986; x=1696406786; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=ryydy9ohdDMnk3LeSCYYGEmNVUaQ5qBDaUQrrGSDq5Y=; b=RPiooq35ermSJ99aYG07xTo/i4OeCSCEt3DStTbX1S4B9AutmQqddqfn6ShZuW0OGF F/+fKeoPeflbCs8NQ3uMrVNpqx2Q5zE54l91Ym3CETKHPgBm/JCUZKBiDfN1xYShI6t6 q2CJ75pbE76irORD1zFHg7yse0zT/rNwjw1xQVskEt6t8NboEe+98Jej+DdcsPDycn4g 49I4RCbiD4u/cTwP/u5FIpxnlHG3XrxA0ABJj3gU2kEuWtZlyWdl/RYkgr75+glSX6e3 UOVUY5Y/v0Bu6JI6ggsQXbLycvAlqC4/YNbtZPlQW1nRr6GK2qnA+uYbv7TwYa77QCu6 SJnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695801986; x=1696406786; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ryydy9ohdDMnk3LeSCYYGEmNVUaQ5qBDaUQrrGSDq5Y=; b=p25mjEwv/pD0AnWKgadaNaFTtO8eRuMvok+6iy0dB+z4nZ/4afOnG70UxyFpATjNRU wt4KI3AJO/TUKYHInhiqHg6IF1xrN/K+diLCsctJtxyE8PkMT4CGQzoXzoAIvRcmSaTH dCtqP/qKCK3NZofV6DRTOLnagF7bglGGdc7gJQ1LqV2zpSG4NHLxrjg3g86BX1UUy/Jy 3OEiHHLglYbtMX0Bh3BhGsYVx14EggQ2+Nq6+IItQvYqHCVBKSzCehotKg0SvHQtxnOw sooYeZ5oOiFrBfT4aX3ro3HYWT+D2rYBc0HakDmV3EgZ78USEJFwb5SBn50UTlWQX4w+ kRtg== X-Gm-Message-State: AOJu0Yz/rwSCxfIoSYtv+mmkngyRSp2jpGniTPOvZqlrnzKTnhofJBN1 4p1uaz/jvQsLvFSmDDhWPR0= X-Received: by 2002:a17:906:1017:b0:9ae:65a5:b6f4 with SMTP id 23-20020a170906101700b009ae65a5b6f4mr991625ejm.20.1695801986210; Wed, 27 Sep 2023 01:06:26 -0700 (PDT) Received: from gmail.com (1F2EF49C.nat.pool.telekom.hu. [31.46.244.156]) by smtp.gmail.com with ESMTPSA id md1-20020a170906ae8100b009ad8acac02asm8948524ejb.172.2023.09.27.01.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 01:06:25 -0700 (PDT) Sender: Ingo Molnar Date: Wed, 27 Sep 2023 10:06:23 +0200 From: Ingo Molnar To: xin@zytor.com Cc: linux-kernel@vger.kernel.org, luto@kernel.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com Subject: Re: [PATCH 1/1] x86/entry: remove unused argument %rsi passed to exc_nmi() Message-ID: References: <20230926061319.1929127-1-xin@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230926061319.1929127-1-xin@zytor.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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 pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 01:07:00 -0700 (PDT) * xin@zytor.com wrote: > From: "Xin Li (Intel)" > > exc_nmi() only takes one argument of type struct pt_regs *, but > asm_exc_nmi() calls it with 2 arguments. The second one passed > in %rsi seems a leftover, so simply remove it. > > BTW, fix 2 slips in the comments. > > Signed-off-by: Xin Li (Intel) > Acked-by: H. Peter Anvin (Intel) > --- > arch/x86/entry/entry_64.S | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) I've split this into two patches, because the comment fixes are entirely unrelated to this patch. [ I've propagated the SOBs and Acked-by's to the two patches, as I presume is fine by everyone involved? ] Thanks, Ingo