Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4842384rwb; Tue, 17 Jan 2023 06:15:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXsA0AnDLBqLKQoSW53Z3RiRH2GGLXRtPntJ1Uh/f44ehNLfXWgOupQH2AE58L6z/9bYCXU7 X-Received: by 2002:aa7:cac2:0:b0:497:948b:e8 with SMTP id l2-20020aa7cac2000000b00497948b00e8mr3015237edt.6.1673964958491; Tue, 17 Jan 2023 06:15:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673964958; cv=none; d=google.com; s=arc-20160816; b=ekcK40nk0Di2ePYJ/2pSlLq+KISQUiU3owsrszzyiQVPmIFZ1217MQHI/so8NLBKEv KbWBjTHpRi9v6HiLIzASVQnVkD7XCZaTkV67PYdoTBoQbvGR31rsw6wIwOkXxMg+wo8r oP0ij/m/IpXh6UqlssiBIBuPfYTO1EX6ISAnMWS4jntiifAoaJcrTafS61s5zp19ow5R rDKxXuMVAG8iokuzDOdLNkkZ8PQ+aPonsDenIqyBPmrPB7ltRphWyhDP17fcfy+2YBRf 2B324+M/tOFM8+4V77s6JK2Oc22bhoJbCQGNowhjoUOnS2st8eRVbwp+uC4p22l59Esc J7cg== 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=hOXSnlJ+qUoc4T/5cPYRpmyesoevBr/04T2AN1MES34=; b=jdJHdehHuoaCZtr8wyFZF95gjdGhpwFocJ/ewSm1AA53cj2Ve1QPTNAKdCvdb2eoDs XUFnNCY0YwF74jAUgiCTNFmo+7spA93ujO3+jrJe03MqNRlSJdYTIobpFFUZpFfwNyIc Hr7ToRzbyn4Cyqa3ROAGezWGAOtcU4Kq6SJlXnSMj5fwoDDQK6eyMowpIZ9b2n46BFCt YDmYwbAGnAEO0EZNJOoS0eToL7mBvbJ7rVISnYp5kgTHuLbF8BnBsR2Ks4YfEznSWFg9 xT6yJH3kTxoA/ZmaQeUfZ6OtfOQlIohghSgUnojBbSJs4xPj32SPg+bTYYiYfVtBbAqI 8hFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mmX3dk4v; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id er16-20020a056402449000b0049e16834b77si6762035edb.346.2023.01.17.06.15.26; Tue, 17 Jan 2023 06:15:58 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=mmX3dk4v; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231537AbjAQOJI (ORCPT + 48 others); Tue, 17 Jan 2023 09:09:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231651AbjAQOIo (ORCPT ); Tue, 17 Jan 2023 09:08:44 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B2BE3BDB0; Tue, 17 Jan 2023 06:08:33 -0800 (PST) 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 05A89B811D3; Tue, 17 Jan 2023 14:08:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CADBC433EF; Tue, 17 Jan 2023 14:08:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1673964510; bh=eIuhZ2t7GHaGt8J8+DI3eJDdy374lZCmIPg23o8pegg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mmX3dk4vbIGXNEMkmKHwB4JGb/MG1VJnzUwJvGDThR21xxOPGsq+DnGl8KH4MN1Lo WtfbvDyyDMvEYdHtHnzYDSLWD3XPmpedZZTFU94EK0Vj7rht5DJ5qIJ8VniXD/Sdlp eWoPj+EouXPjTS0GyEVdOPz+abi43IfVXyg/y22Q= Date: Tue, 17 Jan 2023 15:08:23 +0100 From: Greg KH To: Nipun Gupta Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, rafael@kernel.org, eric.auger@redhat.com, alex.williamson@redhat.com, cohuck@redhat.com, song.bao.hua@hisilicon.com, mchehab+huawei@kernel.org, maz@kernel.org, f.fainelli@gmail.com, jeffrey.l.hugo@gmail.com, saravanak@google.com, Michael.Srba@seznam.cz, mani@kernel.org, yishaih@nvidia.com, jgg@ziepe.ca, jgg@nvidia.com, robin.murphy@arm.com, will@kernel.org, joro@8bytes.org, masahiroy@kernel.org, ndesaulniers@google.com, linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, okaya@kernel.org, harpreet.anand@amd.com, nikhil.agarwal@amd.com, michal.simek@amd.com, git@amd.com Subject: Re: [PATCH 04/19] bus/cdx: add MCDI protocol interface for firmware interaction Message-ID: References: <20230117134139.1298-1-nipun.gupta@amd.com> <20230117134139.1298-5-nipun.gupta@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230117134139.1298-5-nipun.gupta@amd.com> X-Spam-Status: No, score=-7.1 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,UPPERCASE_50_75 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 On Tue, Jan 17, 2023 at 07:11:36PM +0530, Nipun Gupta wrote: > +/** Request/Response structure */ > +#define MCDI_HEADER_OFST 0 > +#define MCDI_HEADER_CODE_LBN 0 > +#define MCDI_HEADER_CODE_WIDTH 7 > +#define MCDI_HEADER_RESYNC_LBN 7 > +#define MCDI_HEADER_RESYNC_WIDTH 1 > +#define MCDI_HEADER_DATALEN_LBN 8 > +#define MCDI_HEADER_DATALEN_WIDTH 8 > +#define MCDI_HEADER_SEQ_LBN 16 > +#define MCDI_HEADER_SEQ_WIDTH 4 > +#define MCDI_HEADER_RSVD_LBN 20 > +#define MCDI_HEADER_RSVD_WIDTH 1 > +#define MCDI_HEADER_NOT_EPOCH_LBN 21 > +#define MCDI_HEADER_NOT_EPOCH_WIDTH 1 > +#define MCDI_HEADER_ERROR_LBN 22 > +#define MCDI_HEADER_ERROR_WIDTH 1 > +#define MCDI_HEADER_RESPONSE_LBN 23 > +#define MCDI_HEADER_RESPONSE_WIDTH 1 > +#define MCDI_HEADER_XFLAGS_LBN 24 > +#define MCDI_HEADER_XFLAGS_WIDTH 8 This whole file could use some tabs to align all of the values for the defines to make it readable. Any chance of doing that? thanks, greg k-h