From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1576C433F5 for ; Wed, 4 May 2022 14:18:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Zd7wENN0847p3y3ABzMc5l1+qcqHGl7N5jIjq6QJ7t0=; b=A3sIjgRMUy3ceIcB25SgvRPZdy ld9/5uPvqmxDeAVIJUY2+hbAIRwurasCtsQruDqTnblofqe+aXoB8Xc48YiWjkdAqUDh7rAAm/X30 P0UGXw8umSjIjZikz6nHKXbcqwxBvnfTYhJK4ee/bm5eEawGrB/4bjxB/B9y6V/mf5c8uzAsZ8xSI Uyt4lG4DkQf/5Ki+bT+KNRBi1vXyqkZg5L5bruU3NtvdNNcYyiXRt07xYvM4/YyvcUbSsJ1paZ503 JUMtC+TOoYYvlpgszMvLgFbIlGSOrFMtSUGKQ5P28ZWgsNr/Dcy+bjXfHKbNSTpilHOoQA89usDEi kcGDmopQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmFoT-00BEjq-J0; Wed, 04 May 2022 14:17:09 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nmFoQ-00BEjU-7H for linux-arm-kernel@lists.infradead.org; Wed, 04 May 2022 14:17:07 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A206561A60; Wed, 4 May 2022 14:17:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5928DC385A5; Wed, 4 May 2022 14:17:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651673825; bh=bILCd1sxeIvbA+5tD85VdyDhv+PjR1QceeyC4i77F7s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PLaT0ROECinBJfleAOFsjO8U4x0scBFNpxF4+15z0Su2w/B7oQ2INoyEjMXkuYAx3 T6aZVqJIMp3545+ISNDEKzwef3R0jQu2UIQ+SFoR2onOzlfgD+XwyuFB+mq5lnX1Zd QCnAuTM3BrtCryngmeJs8xrx8xnq+2qre5Ng9L8uFNExQKjA+VYesn4luSRw6BBOE/ dJCm9vXCVDiFq4yxNIhYWsot7K+7+/3ZqfZSlW66Gu8GfLrH5F/CTf9d50xAfc5N4h ISyZ5JMtDV2R7x1gI2gs5eNItXAGhDGGNkvxXRu9NZfFwWA39X+eNQarV01lyJKmR5 VBoZ6TItaJNTw== Date: Wed, 4 May 2022 15:16:56 +0100 From: Mark Brown To: Kalesh Singh Cc: mark.rutland@arm.com, will@kernel.org, maz@kernel.org, qperret@google.com, tabba@google.com, surenb@google.com, kernel-team@android.com, James Morse , Alexandru Elisei , Suzuki K Poulose , Catalin Marinas , Masami Hiramatsu , Peter Collingbourne , Alexei Starovoitov , "Madhavan T. Venkataraman" , Andrew Jones , Marco Elver , Kefeng Wang , Keir Fraser , Zenghui Yu , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/5] KVM: arm64: Compile stacktrace.nvhe.o Message-ID: References: <20220502191222.4192768-1-kaleshsingh@google.com> <20220502191222.4192768-3-kaleshsingh@google.com> MIME-Version: 1.0 In-Reply-To: <20220502191222.4192768-3-kaleshsingh@google.com> X-Cookie: Mother is the invention of necessity. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220504_071706_341378_43349A2F X-CRM114-Status: GOOD ( 17.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3991124143048420784==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3991124143048420784== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/Hx6xiGRCvg0C4uF" Content-Disposition: inline --/Hx6xiGRCvg0C4uF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, May 02, 2022 at 12:12:02PM -0700, Kalesh Singh wrote: > Recompile stack unwinding code for use with the nVHE hypervisor. This is > a preparatory patch that will allow reusing most of the kernel unwinding > logic in the nVHE hypervisor. > enum stack_type { > - STACK_TYPE_UNKNOWN, > +#ifndef __KVM_NVHE_HYPERVISOR__ > STACK_TYPE_TASK, > STACK_TYPE_IRQ, > STACK_TYPE_OVERFLOW, > STACK_TYPE_SDEI_NORMAL, > STACK_TYPE_SDEI_CRITICAL, > +#endif /* !__KVM_NVHE_HYPERVISOR__ */ > + STACK_TYPE_UNKNOWN, > __NR_STACK_TYPES > }; I don't immediately see a problem with it but I'm curious as to why STACK_TYPE_UNKNOWN got moved to the end of the list here? It does mean that zeroed memory will default to STACK_TYPE_TASK but we're not actually relying on that. Otherwise Reviwed-by: Mark Brown --/Hx6xiGRCvg0C4uF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJyitgACgkQJNaLcl1U h9B05gf9He8i0lJSgnAoCwOnWz42y8l46CHTUSZJK53nFwnevW7nvl0Xdf1Rajhv b1dBcynlwm2uAAHoeGen9HfX4sL0uj5e+mrg9IzoKq6GbqZfv9J2LNrCnI479gAU GURaSasiSq3bEyxogf1eMsH2G4Kkams6LtgdSI7fr/P1JHIU+KItROmRh2zNC2jS obAW/wC6HUJfsz1moQrO9/W1VLT8DeqBuYmTOIDZsiyJ3IKQhkZeQb2ztDU/TWeO AUvI14Z1BWGgEisgaJx06/Y9x6nlayfkC1kEc2kMcOVPjWqqAoeHEWsL1ZmfLs9U wlE20k5QYG+a2rgiqCSjVBtRSExj6Q== =JjBs -----END PGP SIGNATURE----- --/Hx6xiGRCvg0C4uF-- --===============3991124143048420784== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============3991124143048420784==--