Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4832926rwb; Tue, 6 Sep 2022 13:31:20 -0700 (PDT) X-Google-Smtp-Source: AA6agR4YwkwXQ81AhragnkXLBqaf6NcTX5UxNG/qwmclIIEIaNdBIVy75ajgXan3wv5sjmN5LoT+ X-Received: by 2002:a63:c1f:0:b0:41a:9b73:a89e with SMTP id b31-20020a630c1f000000b0041a9b73a89emr355582pgl.342.1662496279968; Tue, 06 Sep 2022 13:31:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662496279; cv=none; d=google.com; s=arc-20160816; b=od1iexkQMaBKJjjgsceyT2BE4Qcn3q5TA3t5XV2buJMKFOVluh7zQ6EL1QER9lYxx9 xr/ErkWDDnYDtx2bWwQx5MKF0+Cx2vyxt5KVuQPeq4ABoCMxsazLMfsnsXJucU6eCeZO ulT1yW/5Zx+tsY3+ad10HGlbldLZIvhUojwiHXLd8F1aiMkl8rmjm8KvtN1+sbi7cw0W MNrU/vo+REIm+5wPhvtVk1n9AZo2rSN6d675OBJd2nZWKJYSy7ROgr/zyK6RRJTBtHiS nRGuG4vP1kJt3OX+Ig536FQdsoMfyanP/E0Cl3A7nmU82V4YNfJdtOu+DHzqkP9DZkQf cCdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=KjeWO7Iu5Nm1U/JPez2eIFnzI10WgpbgAGYFeCDsxic=; b=aig6oIOer2LqFjlQBZZdASksRLq1vyqwgduLUNrKgPsiuDwUbaWzf1krNWRnzgdVOM KrHwtyOsVk6PZOvLautFDYbFm37ULUS9t4arp7jnHT30OkHQimYf5m2w1Ydd3FGgHPj4 OVDJyvdeU/V65snCtOSRaCv4ilYAy0fYBQNI2iOyhSYnQtjgiZxqyDDX/hraq3iPISX8 dOs3pUh8Z+iYSa2EP/Wokdj3OJOJZz/7zDE+t5c5KHaJGFkzAnH6IgDhd9eRMW9cFnep xgaU7bbg9H6IH+hpzSHU6xVZ72nOXYj/HSw7IsVmVzpoStA3F0Pl+U0NlFrKEp+pwGpK RSWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=UN4MlCwZ; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c5-20020a170902aa4500b00176dd113d9fsi1344889plr.461.2022.09.06.13.31.08; Tue, 06 Sep 2022 13:31:19 -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=@intel.com header.s=Intel header.b=UN4MlCwZ; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231357AbiIFUNa (ORCPT + 99 others); Tue, 6 Sep 2022 16:13:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230459AbiIFUNB (ORCPT ); Tue, 6 Sep 2022 16:13:01 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4AE4BFE91; Tue, 6 Sep 2022 13:08:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662494901; x=1694030901; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=BtSUgyZI0HU1Ciu5kPkV1iRG3MhKpjlp45UBeg7Ubto=; b=UN4MlCwZaX5iWbehPmfGxDy41jQgVUUqunDFgJVf1dOOCLsE+v4gmBLK YpyAh5J/VygCCLmYquPpNexopvjclbWukC1OSxNG4aYOhwlbQpu5O/+29 6sdcoJHzaWTpVtrYhztXHpG3ad9Fc1eEjjFF15kcKuFuXESVwVDlXxr3l n7NvZM0fhqN7+CkQoJpUJiOVXOI/glY5MJ+ExDpetZh17Cn+LdpepqVbl FShXwawUB/zCTwrahA7vv1iu33ty3ykxBXxE4X/Or0RS12kkZD0ajF5YS rrrianKO3YmVAPWMS3AuqD48VZWaA3L0/69+T3f7+wNWD/yLHpZvtJy2Q Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10462"; a="358409679" X-IronPort-AV: E=Sophos;i="5.93,294,1654585200"; d="scan'208";a="358409679" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2022 13:07:27 -0700 X-IronPort-AV: E=Sophos;i="5.93,294,1654585200"; d="scan'208";a="614221316" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2022 13:07:21 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oVeqr-009MCy-3D; Tue, 06 Sep 2022 23:07:18 +0300 Date: Tue, 6 Sep 2022 23:07:17 +0300 From: Andy Shevchenko To: matthew.gerlach@linux.intel.com Cc: hao.wu@intel.com, yilun.xu@intel.com, russell.h.weight@intel.com, basheer.ahmed.muddebihal@intel.com, trix@redhat.com, mdf@kernel.org, linux-fpga@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, tianfei.zhang@intel.com, corbet@lwn.net, gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, jirislaby@kernel.org, geert+renesas@glider.be, niklas.soderlund+renesas@ragnatech.se, phil.edworthy@renesas.com, macro@orcam.me.uk, johan@kernel.org, lukas@wunner.de, Basheer Ahmed Muddebihal Subject: Re: [PATCH v1 2/5] fpga: dfl: Move the DFH definitions Message-ID: References: <20220906190426.3139760-1-matthew.gerlach@linux.intel.com> <20220906190426.3139760-3-matthew.gerlach@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220906190426.3139760-3-matthew.gerlach@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 On Tue, Sep 06, 2022 at 12:04:23PM -0700, matthew.gerlach@linux.intel.com wrote: > From: Basheer Ahmed Muddebihal > > Moving the DFH register offset and register definitions from > drivers/fpga/dfl.h to include/linux/dfl.h. These definitions Single space? > need to be accessed by dfl drivers that are outside of > drivers/fpga. ... > +#define DFH 0x0 > +#define GUID_L 0x8 > +#define GUID_H 0x10 > +#define NEXT_AFU 0x18 While at it, you may make them same width, like "0x08". -- With Best Regards, Andy Shevchenko