Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp929079iob; Wed, 4 May 2022 10:52:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6SkWhjnt/BAlFGxxNSfDpccsahFToDn59AYkj63x5GfgTzQlLaIh0DGnFMRJNi//H1ay8 X-Received: by 2002:a05:6402:cb6:b0:425:f2e0:3644 with SMTP id cn22-20020a0564020cb600b00425f2e03644mr24032105edb.301.1651686745401; Wed, 04 May 2022 10:52:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651686745; cv=none; d=google.com; s=arc-20160816; b=ANZ5DNEllLZEXA/2Iqxg9Gnv8calDV3hq5arQUUqNaCir6KISIlu1H0UjOWO53kf82 Dd49j4X7o7kPJ2cQ6oOgSo0Iywnb1G2X9DYKId+Af4wYHayTT2yd6cFHQRfk7A0yit30 dSkpg8ouMixHJGp6P0KoojkxN5gBp7hs0jETbGUjLwm7hWVUg3UkRUmYqlmptkFqC00j 2kBBG/K8lBH6ctgfmsNHSAzmVMhT/Yfmk5sumx9pxZOOIUQizRf0hjdPgllDqlnuQ2g+ AhAeJALWx0s+aUuTTcRhWb+fmnDwPVIUs7f8WdqSXl1UQ61PIoUcz1gMssQDJ0Ez5Y/S jbpQ== 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:dkim-signature; bh=YkiN/v+tSp07ED494hHk2N6iWO8pP7fduiEt0Lc214I=; b=UFrwxjs13Jhf36ft7yXKwMC5zsbksvOTqxI/fSQ0XeIV8MTd6CpDlE6/3v97QoyvUA JP/11vzUMvMn9LkDhVjgjKJ1jnx1nVzzEyzRezqvNx9v16jIax0D3wOE5f+ZQBvdvPjZ At84JsYM5MsYlYlbICAqxJDolFDj5KDC9Ll5+2OqG1/hi+E2XulLlZfM1+H7GgH1Um74 FnvS/F/5+8xAyC6ZdYZrWJdqdkuh7Eh1K5JG+maPXNTD12MrM4zeYe60BqKSHBj9nFgA J5A6tMyDijsDOmnw11CgbM3+lIyvOJ1HX6UVzrj3s9VMQLrOhecJUOqt2aYhHf9G9K9m s/1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PLaT0ROE; 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 q20-20020a170906a09400b006e840aa94e9si16498135ejy.305.2022.05.04.10.51.58; Wed, 04 May 2022 10:52:25 -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=@kernel.org header.s=k20201202 header.b=PLaT0ROE; 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 S1351229AbiEDOUp (ORCPT + 99 others); Wed, 4 May 2022 10:20:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351159AbiEDOUn (ORCPT ); Wed, 4 May 2022 10:20:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 938D919281 for ; Wed, 4 May 2022 07:17:07 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id 4FFDEB825A4 for ; Wed, 4 May 2022 14:17:06 +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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/Hx6xiGRCvg0C4uF" Content-Disposition: inline In-Reply-To: <20220502191222.4192768-3-kaleshsingh@google.com> X-Cookie: Mother is the invention of necessity. X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: X-Mailing-List: linux-kernel@vger.kernel.org --/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--