From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 51D111E00B4; Fri, 27 Feb 2026 21:37:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772228255; cv=none; b=Hk1GH8aH1GBuRYia/E9tjW7r79AktCW2KRo8PUEmSO8wV3QofN2dmPQoyb0zxFwzs7RqPlq+Pcc5Hi+pgPQby2PHB5WSO4u4aBwSWYxW30rvv9pjgIvwtsaDxXrevgvo1R+/4ruqcZgt0d6DGcLCjbsJ6Vs/i5ose4Sz7WVri+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772228255; c=relaxed/simple; bh=r9Sg7xTfjq2gEX3/0CVF0anqfcyOhcWEqYw9kqqFzFc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ed+Y36WMMjFmpSxqDf0INsWMM8WmMecTqb5JN8MJF86qfA6z7ytPC+0AJ/+EdTfEofPEwUsQb2P3z563nDVD910wFtucHYopXKOLNAME7j8jeuJvP2pbKzC2M5lDMUckPITjYCEHINcpF3ro3FsduJzChexZkI2gM+d+jsKvor4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZW2bS5na; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZW2bS5na" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4783C116C6; Fri, 27 Feb 2026 21:37:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772228255; bh=r9Sg7xTfjq2gEX3/0CVF0anqfcyOhcWEqYw9kqqFzFc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZW2bS5naQ/VGOt9gGVxsq/bdmhCQXYziH79Cbp2XE1p+vCJZ1LLOtZdxFqQbjN+qG CpfiUiuoLd3AZp+1RdI1OlfJjkIe5tpIQ+nyYp6aADgsw7WKjkreXoolizBMXPOOTn rxa5E6Ftd6sYhlqmodZfqd/GFckRmHc0PO4YbHARzNfxbFXV6XpOs/15vnd0rpKCCa X+0p5smXb5ZfyLnko3mWv8/F7Ohhi5bq/o4ToVuCdyBvgu2NZ9AAiySb3sAbhGSGhV TQxQnV7e6guFxntWYV6wKpJImiLEDNAEZG3fj4WXeXQ9TLIa4cRxB7R1fW/tovmaok lu23k+pmlyYJQ== Date: Fri, 27 Feb 2026 21:37:33 +0000 From: Wei Liu To: Mukesh R , ardb@kernel.org Cc: Ard Biesheuvel , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, Thomas Gleixner , Ingo Molnar , Borislav Petkov , dave.hansen@linux.intel.com, x86@kernel.org, "H . Peter Anvin" , Arnd Bergmann Subject: Re: [PATCH v1 5/6] x86/hyperv: Implement hypervisor ram collection into vmcore Message-ID: <20260227213733.GA976651@liuwe-devbox-debian-v2.local> References: <20250910001009.2651481-1-mrathor@linux.microsoft.com> <20250910001009.2651481-6-mrathor@linux.microsoft.com> <38cdec03-889e-43dd-9dad-e621aba9dc8d@app.fastmail.com> <6a601546-a26f-79f6-a3b0-be145dfa7781@linux.microsoft.com> Precedence: bulk X-Mailing-List: linux-arch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6a601546-a26f-79f6-a3b0-be145dfa7781@linux.microsoft.com> On Fri, Feb 27, 2026 at 12:05:13PM -0800, Mukesh R wrote: [...] > > > > So? But does it means to 'be in asmlinkage' in your interpretation? Did you check what 'asmlinkage' actually evaluates to? > > > > I am not asking you to justify why this broken code works in practice, I am asking you to fix it. > > > STOP bossing me! I am not your servant nor your slave. And you are not the > only genius around here. > > Now, many people looked at this code before it was merged and no one really > thought any self respecting compiler in modern times would create an issue > here. Still, I see the remote possibility of that happening. All you had > to do was to show your concern and suggest using __naked here (which looks > like we all missed, or maybe it came after the code was written), and it > would have been addressed. This is x64 specific code for very special case > of hyperv or kernel-on-hyperv crashing. > > In future if you choose to correspond, watch your tone! Mukesh, there is no need to be so emotional and defensive. I don't think anyone, no matter how good he or she is, knows all the intricacies in the kernel. We're lucky to have other people look at our code and point out potential issues. Regardless of your opinion on the discussion, we should be thankful for the time and effort people put into even sending an email, let alone a patch. Let's keep the discussion civil and constructive, and focus on the technical aspects of the code. Ard, I want to let you know that I appreciate you raising this issue with us. Thanks, Wei