Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10903283rwl; Mon, 2 Jan 2023 10:03:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXtJTBS5MLf2bEyEf8KP43W/nhqvneW4SvqgbRK7E7DwxPfEUFG/qsY+23SQ34eTOJv+hhSX X-Received: by 2002:a17:902:d1d5:b0:192:4feb:cac5 with SMTP id g21-20020a170902d1d500b001924febcac5mr36630505plb.32.1672682581775; Mon, 02 Jan 2023 10:03:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672682581; cv=none; d=google.com; s=arc-20160816; b=QwSd9f0X8FEEUfzA5J4dF12XYrR1vH38QZaTDt4uKpuP+GHzz6vc86M5GzTgA8cYaQ SHbhwGczeSzMnj9OjtxWJVGYtEcSYyXDvzG60BPl2nDMUU9TtbQtHikOx78ZYNXPn+K0 eSRI3xM9uI/w1UBrsrYddtG+JJYdCY40NyjOTE1vjvQTeDjlCcsUkkrXzoJ4kptDpWOS pGnkzKcQZ4hHBXc3AdE6AS1ob2kaKRV4nv+VQB/KexegTskX2B+su7z5WQNaZyNtpQLP PCVMqHTExXiaQu7tY/5NcOvYZ1umYNRdyke+JLzvTibpsJSa2aaiF8BnDWTolXhJmg+o +eCw== 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=x3iyx+Ua4gwy/Byx5V5hKUA/yCqRJX6FWC0uTBS+W/A=; b=TngmroOskVcyc295fFgVFKKoQoPZyMryzaySA6Q0rXqmB/aH+mXl2TJz6KLhmjP1r5 skOwQbGPk/xvjsVMK2kOUyki3NzkMwutEfEcWw3/yFdPgNmS6ACy1Z0/4R+gW5FSMxKQ DSwPa3tGpTgHhl0hMU2KuPugGLLd1OFzAv/yqP5CDmPxTyxrmIRECCtdUU3YZoenYw80 wO6AKhQF4OEceY5wmDjhxPeloRoE89WliR2UpMuL9zIhT4l/UfGlCZAadR5eYfDfCzlP ALWAH60arxwfWwmw0NEP0aXLvFxcujutgI+RrthJBGvM9qvVStMuM5Jl0CmCxlrfEHFN pGmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="lv9/5qu7"; 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 h14-20020a170902ac8e00b00188ef2314acsi29635224plr.527.2023.01.02.10.02.48; Mon, 02 Jan 2023 10:03:01 -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="lv9/5qu7"; 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 S234434AbjABR25 (ORCPT + 61 others); Mon, 2 Jan 2023 12:28:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230170AbjABR2g (ORCPT ); Mon, 2 Jan 2023 12:28:36 -0500 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66F3C203; Mon, 2 Jan 2023 09:28:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672680515; x=1704216515; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=q5qnnYp8tgnzFx+TZm3WZrqFfCIt/TufhrxR83XrQys=; b=lv9/5qu7TQnNRS0mTQ4CdPU7j5AvTsencnGqHd0yh1rrZb5MujmP76Dm uD0Q8ze4ilO+Ewk0D9meSqj68Ap3YbSflSGd5xDWucEb/MiGjU95TYO0C rQEiMO2h4TW/XLQbq1euiz7d5N2VaBtQpTrMNsTHFbKC6hHO09Ls6XphX xyNiVjwRlX32JpW5nVH+g3cUCjJt1tr0GKLeuPGIhQHY3wZny/hmpuyFy Xcu+X2y8eJSqI+Ij0d/VhPCWx0LZp+0N/XWMrZXlW/6hRnkCsT0s/ONfN 1oNthmUmOa1q2KpUpcKdEvUAQFFvWttU/ldloQB67/+WYVWhplZUWKedh A==; X-IronPort-AV: E=McAfee;i="6500,9779,10578"; a="319219201" X-IronPort-AV: E=Sophos;i="5.96,294,1665471600"; d="scan'208";a="319219201" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2023 09:28:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10578"; a="647957008" X-IronPort-AV: E=Sophos;i="5.96,294,1665471600"; d="scan'208";a="647957008" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga007.jf.intel.com with ESMTP; 02 Jan 2023 09:28:28 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pCObp-003WZ5-3A; Mon, 02 Jan 2023 19:28:25 +0200 Date: Mon, 2 Jan 2023 19:28:25 +0200 From: Andy Shevchenko To: matthew.gerlach@linux.intel.com Cc: Tom Rix , 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: 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 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 Mon, Jan 02, 2023 at 07:27:06PM +0200, Andy Shevchenko wrote: > On Mon, Jan 02, 2023 at 08:54:48AM -0800, matthew.gerlach@linux.intel.com wrote: > > On Thu, 29 Dec 2022, Andy Shevchenko wrote: > > > 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: ... > > > > > + 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. > > > I don't understand how this will break the overflow.h macros. The definition > > of struct dfl_feature_info and all of its uses are in a single file, dfl.c. > > Hint: __must_be_array() > > As I said, the proposed change is not acceptable since it's not an equivalent. Ah, you meant that there is no use of macros from overflow in the dfl.c? IIRC we discussed that some of the code may make use of them, or am I mistaken? -- With Best Regards, Andy Shevchenko