Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6482559rwl; Thu, 29 Dec 2022 13:50:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXuW/N2AmijNdeZZp+X3aXAAwFl25acSCHnUnB/uXxeewRsaJJxKknJ2F/uh2kmttaIY8fXq X-Received: by 2002:a05:6402:5145:b0:475:32d2:7486 with SMTP id n5-20020a056402514500b0047532d27486mr26800987edd.31.1672350629624; Thu, 29 Dec 2022 13:50:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672350629; cv=none; d=google.com; s=arc-20160816; b=N5Bn3gwDDEamgLrezolmHKn1Su78ygHZxYqSDSxSTnZO9rgsO6DXKQ9gWg0Avbefcb V/jgE8LTCSsLK6vzYyhTBr7dZ1yw0NQYWSDuhA38aN8YDcmfZ/2M/Shfp29RFynqfCix mlu4Wr5Xe14gQnTb1+tnURa+4+GD3wlLrpYNv8tcDbVSvO/Qu5ZQAIy0p5rPA2fKEvy5 HtYc8y4JBy87RaWVlBPvQ2mWnMw2tO7CZzZ59mF29thCsbvpU2m3BC59kLWsROzCuwUj uIWtGa1iMaUJX5F84N6pIgl2mN4qxMt3w43aJFAGDB/tUOaKxSej1DyVh13fJuY+xhqR MJBw== 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=aLpkzSUEIlwnOUCrzf7oMXahTu5/nqWvQfh+f4XoRlA=; b=O6tHRr7tpjsKu3r8AZx3A/CyKhhKv63YCsRV8CeWpSUJZ0Ugx54wE0fPjsxFmTJpd7 4mQg8tW8PVIY0bDLdv/4T5htKMLiyO8SB5ZxD9qbfFfvfw7g7g2ldJJIw7iAM/IO2bNV ++xOew9cdKWHYaPIAempG7E3VllN4Pogoz8HcONWDtSPhFwMKF+/3wmZ2ej1oNT80aMw evNCvDbz39JWwokVOSKOEg6bykFPoQ1jL5OyshIWvSYNr8V+ACDTpiBBUBkOkawE2pA9 sNS7ufTtEUyeq1gFWCC/EXRYVTPxydJjjwgvBuZ06zJbqr7GhRLDKgI+ZkgK6DacB1so ZDlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="GXETx/eO"; 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 eb5-20020a0564020d0500b0046cb20e358asi19066794edb.362.2022.12.29.13.50.15; Thu, 29 Dec 2022 13:50:29 -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=@intel.com header.s=Intel header.b="GXETx/eO"; 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 S233771AbiL2Uo6 (ORCPT + 61 others); Thu, 29 Dec 2022 15:44:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234179AbiL2UoF (ORCPT ); Thu, 29 Dec 2022 15:44:05 -0500 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 104F6192BE; Thu, 29 Dec 2022 12:41:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672346481; x=1703882481; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8nFJfj1L6ajQNAz63881lx/5UMY+BMa5JW/kyHbHarg=; b=GXETx/eOQ6wJQKFq8g8SPyslTtREOI3zGXXH+OO0OH0DbaYtDsX805PS 7sulWRPOSDE7BWDFodDcI0LYhH/hDlSFSqsn4O7iHVCkJ05fjGcHbQX2e vrDwCBOnapOtGYhY/0QZVtpNfISs8AJ60hNG2iQ5xXKCWO4nt9dZX9XsD pywvIcj5XGjSERekM6G63FG2Oo8WkOBnnVC+Jw6k68FXrqj64pCSnxD3t MEp6i/IniP21dJjpC75+a+0A4IoVxOAiq3bHD7+aX0DH184oY69sDspcr gObzAjwUTSxlLzCcwFhDtYm0TA/FfRi/tMLSnnArJC6jnzTA/+owyg5sm g==; X-IronPort-AV: E=McAfee;i="6500,9779,10575"; a="300801858" X-IronPort-AV: E=Sophos;i="5.96,285,1665471600"; d="scan'208";a="300801858" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Dec 2022 12:41:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10575"; a="716996496" X-IronPort-AV: E=Sophos;i="5.96,285,1665471600"; d="scan'208";a="716996496" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga008.fm.intel.com with ESMTP; 29 Dec 2022 12:41:15 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pAziD-001Kfc-0V; Thu, 29 Dec 2022 22:41:13 +0200 Date: Thu, 29 Dec 2022 22:41:12 +0200 From: Andy Shevchenko To: Tom Rix Cc: matthew.gerlach@linux.intel.com, hao.wu@intel.com, yilun.xu@intel.com, russell.h.weight@intel.com, basheer.ahmed.muddebihal@intel.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, macro@orcam.me.uk, johan@kernel.org, lukas@wunner.de, ilpo.jarvinen@linux.intel.com, marpagan@redhat.com, bagasdotme@gmail.com Subject: Re: [PATCH v8 3/4] fpga: dfl: add basic support for DFHv1 Message-ID: References: <20221228181624.1793433-1-matthew.gerlach@linux.intel.com> <20221228181624.1793433-4-matthew.gerlach@linux.intel.com> <628c125a-5a84-e1bd-7724-2637315cc35e@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <628c125a-5a84-e1bd-7724-2637315cc35e@redhat.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_PASS, SPF_NONE 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 Thu, Dec 29, 2022 at 08:18:03AM -0800, Tom Rix wrote: > On 12/28/22 10:16 AM, matthew.gerlach@linux.intel.com wrote: ... > > struct dfl_feature_info { > > u16 fid; > > u8 revision; > > + u8 dfh_version; > > struct resource mmio_res; > > void __iomem *ioaddr; > > struct list_head node; > > unsigned int irq_base; > > unsigned int nr_irqs; > > + unsigned int param_size; > > + u64 params[]; > u64 *params This will break the overflow.h macros, no? Besides that it will break the code for sure as it's not an equivalent. > > }; -- With Best Regards, Andy Shevchenko