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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75DD7C001DF for ; Sat, 5 Aug 2023 03:36:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229522AbjHEDg6 (ORCPT ); Fri, 4 Aug 2023 23:36:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjHEDg5 (ORCPT ); Fri, 4 Aug 2023 23:36:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 191414ED7; Fri, 4 Aug 2023 20:36:56 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A7EC662181; Sat, 5 Aug 2023 03:36:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F714C433C8; Sat, 5 Aug 2023 03:36:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691206615; bh=Qy59dwEG2sEBKJ3uVrLEgSsdsjiZwNwzGCh/053dPdE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WNGWCUeixkpzWHdK9GIGvteKTCydmouSQP1Eb72m8cJgbMVe5WgQGc9DIziQsI+C1 PrtfH7DteoT0+nH/rzznc6aaigo776+iN+M7sBzMU+hKJV6GLkItmTkP5UJd2VKTcH Cukd/yuOLLluICossH7smU54svWy/5anSGCPXwWThtlKBaI8QSZeCBuQdUNEvIzl1b dxMspzfDw5A1lY26Ok9+ydjv9iU+0pS7z7RYGjcV2B64Y98xb1YjnUh5ZNU8M08s/E wfZDvXiLgtFojSxoXiOiPG2e3fogdAs9k7/SI7SSTw2y4pUA6/nP2MOqVRHyY08+q2 090W11bgrpMwA== Date: Fri, 4 Aug 2023 20:39:53 -0700 From: Bjorn Andersson To: Elliot Berman Cc: Alex Elder , Srinivas Kandagatla , Prakruthi Deepak Heragu , Murali Nalajala , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Dmitry Baryshkov , Konrad Dybcio , Arnd Bergmann , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Bagas Sanjaya , Will Deacon , Andy Gross , Catalin Marinas , Jassi Brar , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v14 03/25] gunyah: Common types and error codes for Gunyah hypercalls Message-ID: References: <20230613172054.3959700-1-quic_eberman@quicinc.com> <20230613172054.3959700-4-quic_eberman@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230613172054.3959700-4-quic_eberman@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Tue, Jun 13, 2023 at 10:20:31AM -0700, Elliot Berman wrote: > diff --git a/include/linux/gunyah.h b/include/linux/gunyah.h [..] > +/******************************************************************************/ > +/* Common arch-independent definitions for Gunyah hypercalls */ > +#define GH_CAPID_INVAL U64_MAX > +#define GH_VMID_ROOT_VM 0xff > + > +enum gh_error { "gh_" happens to be an unused prefix in the Linux kernel, but I find it to be an unnatural abbreviation of "gunyah". I would therefor prefer to have it expanded to "gunyah" for all functions, macros and data types throughout the implementation. Regards, Bjorn