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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7B471C4167B for ; Wed, 29 Nov 2023 02:15:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6DB2010E5DD; Wed, 29 Nov 2023 02:15:22 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id D4E5410E5DD for ; Wed, 29 Nov 2023 02:15:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701224118; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XKn2JYUpqV3wbekajb5ZS+im7PxpappcmYXHnPLCMOg=; b=J5433omzfzB4G/x0ZNdxFjXMVOxE/PQEHMbNczMXThuxUPAc8RdcJfrfBldrc8AeqRrRho iCbVjRLDkUDwfbt+CWIPxpwNF8TJf394CEZjKWqeelxBxCSRKHmgnQI9MLu0f337HcNYk6 Hcp2r2czeLcJBviFRNwt0XcSsBy8XwU= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-138-JQYKpKyPPq2jQKYkQ-8N3w-1; Tue, 28 Nov 2023 21:15:17 -0500 X-MC-Unique: JQYKpKyPPq2jQKYkQ-8N3w-1 Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-5079a8c68c6so6022721e87.1 for ; Tue, 28 Nov 2023 18:15:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701224115; x=1701828915; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XKn2JYUpqV3wbekajb5ZS+im7PxpappcmYXHnPLCMOg=; b=d4k7HYtjk43dVILASk5/yn+hKwEy5p0b23I+oEw58GhgRnLxPYYzBy3FWGzQeutxbR UVm7vm0JiZ/KNXU4jmwF0VYnwSWWPOhyiB6eWx0m+UiAZQedzD0P+zB4XsDuPGx9p4XX cbS+QV2fXod3mIC9DV2yKAUB+/ZBvpBnMCf4FOifPD5QLroapVV7Oo7Cz1nVbXP6K0xL EmTd/QOi2r5PWJu45uJGAE2uDEuFGz7cD0I6eqfdCsCDhUt8JZ//9qzj99fJNzYnPKXd im763RbObwN9wkdbSrJ/dGGb7fBQaPeVztQqfNFF7/PiqG1yHVeBv16RcMcnwj7c7ugK nVfw== X-Gm-Message-State: AOJu0YwSaiqftzd88D+UkouHGgR3NWvPbKQj0BIqB47D448sCKPKJRuM 7Tug4OE69KZLsGrh2jsDLzZ+ttC80C8qPEI8vuhTiIjWYqadU9W3H3CJV8qHD/56LpV18GX2Bpo Xh1ZhPpShmKGmnAMNOa55T8Bwng== X-Received: by 2002:a05:6512:3196:b0:50b:aa13:a761 with SMTP id i22-20020a056512319600b0050baa13a761mr9265070lfe.46.1701224115756; Tue, 28 Nov 2023 18:15:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFS+WKRxrSYw288wOgG/cqzoj+euT0xS28Xc6/AGsdA9evhonP2l07Xitf1dqCow9oSCeSsQQ== X-Received: by 2002:a05:6512:3196:b0:50b:aa13:a761 with SMTP id i22-20020a056512319600b0050baa13a761mr9265061lfe.46.1701224115460; Tue, 28 Nov 2023 18:15:15 -0800 (PST) Received: from ?IPV6:2a02:810d:4b3f:de9c:abf:b8ff:feee:998b? ([2a02:810d:4b3f:de9c:abf:b8ff:feee:998b]) by smtp.gmail.com with ESMTPSA id k13-20020a17090632cd00b009ca522853ecsm7358196ejk.58.2023.11.28.18.15.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Nov 2023 18:15:14 -0800 (PST) Message-ID: <81ba79d1-8e7a-41d9-acaf-64f3eee1b97d@redhat.com> Date: Wed, 29 Nov 2023 03:15:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: "Gustavo A. R. Silva" , Timur Tabi , "gustavoars@kernel.org" References: <6517a6a41eb72d16596c913dc56467e0390287a3.camel@nvidia.com> <4b10068c-4285-41df-b4bb-4c61ac70a30b@redhat.com> From: Danilo Krummrich Organization: RedHat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Nouveau] [PATCH][next] nouveau/gsp: replace zero-length array with flex-array member and use __counted_by X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "nouveau@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "daniel@ffwll.ch" , "linux-kernel@vger.kernel.org" Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" On 11/29/23 02:06, Gustavo A. R. Silva wrote: > > > On 11/28/23 19:01, Danilo Krummrich wrote: >> On 11/16/23 20:55, Timur Tabi wrote: >>> On Thu, 2023-11-16 at 20:45 +0100, Danilo Krummrich wrote: >>>> As I already mentioned for Timur's patch [2], I'd prefer to get a fix >>>> upstream >>>> (meaning [1] in this case). Of course, that's probably more up to Timur to >>>> tell >>>> if this will work out. >>> >>> Don't count on it. >> >> I see. Well, I think it's fine. Once we implement a decent abstraction we likely >> don't need those header files in the kernel anymore. >> >> @Gustavo, if you agree I will discard the indentation change when applying the >> patch to keep the diff as small as possible. > > No problem. Applied to drm-misc-fixes. > > Thanks > -- > Gustavo > > 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D2CF5C4167B for ; Wed, 29 Nov 2023 02:15:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A9D910E35E; Wed, 29 Nov 2023 02:15:21 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id C5B8710E35E for ; Wed, 29 Nov 2023 02:15:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701224118; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XKn2JYUpqV3wbekajb5ZS+im7PxpappcmYXHnPLCMOg=; b=J5433omzfzB4G/x0ZNdxFjXMVOxE/PQEHMbNczMXThuxUPAc8RdcJfrfBldrc8AeqRrRho iCbVjRLDkUDwfbt+CWIPxpwNF8TJf394CEZjKWqeelxBxCSRKHmgnQI9MLu0f337HcNYk6 Hcp2r2czeLcJBviFRNwt0XcSsBy8XwU= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-66-O9E0-xpdP8mX2y9Hj6fGcQ-1; Tue, 28 Nov 2023 21:15:17 -0500 X-MC-Unique: O9E0-xpdP8mX2y9Hj6fGcQ-1 Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-50aa822cb33so6030463e87.0 for ; Tue, 28 Nov 2023 18:15:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701224115; x=1701828915; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XKn2JYUpqV3wbekajb5ZS+im7PxpappcmYXHnPLCMOg=; b=fYxkpfmJ7LYqbelmcmMWyZzYYa7dz1PxaQshS2pBDqay/Cug3/iXTrdiWguRqwRjcw ndC4+rmdbO4ZykuOaH0m0QznswxGZrLKAP/Uem1G+6Pv0e6sJ5D+iBI6FAbiaZ8cLcXw z0/x8mNz+7fbPG27Oq3XEbPFEMnr8BrxQlwx5U2t/CMFFqWGfi3fuXoa0cOkgNH8AADI iF0XAR5Ap3gS759n0OKApuD6C7ez/IbBrUpD/Jd1H3pJ5YxDd1WTIWP6HYS5+VP9mLq9 fQw4eSUGW/2A7fw7K4dH+eI5syY1mcH6RZqLjuwGo0bGHfAtN9ktf+6n0z62WMjAa4TK 4vZg== X-Gm-Message-State: AOJu0YxrHgsUdrD+t5n2AMb2Bitsgv2vcK81hrCLNzlgbMFSsB7kzpk8 NFT+KgRKS3922a8X+rp59Thn5y18j/Cj1xgHEVC0WGtBjJKzWs2NgP79P3puoxEopR0lCum5t2b XGqbzVXz6BnWo0Cb/F5Wp4LKR0qAj X-Received: by 2002:a05:6512:3196:b0:50b:aa13:a761 with SMTP id i22-20020a056512319600b0050baa13a761mr9265067lfe.46.1701224115751; Tue, 28 Nov 2023 18:15:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFS+WKRxrSYw288wOgG/cqzoj+euT0xS28Xc6/AGsdA9evhonP2l07Xitf1dqCow9oSCeSsQQ== X-Received: by 2002:a05:6512:3196:b0:50b:aa13:a761 with SMTP id i22-20020a056512319600b0050baa13a761mr9265061lfe.46.1701224115460; Tue, 28 Nov 2023 18:15:15 -0800 (PST) Received: from ?IPV6:2a02:810d:4b3f:de9c:abf:b8ff:feee:998b? ([2a02:810d:4b3f:de9c:abf:b8ff:feee:998b]) by smtp.gmail.com with ESMTPSA id k13-20020a17090632cd00b009ca522853ecsm7358196ejk.58.2023.11.28.18.15.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Nov 2023 18:15:14 -0800 (PST) Message-ID: <81ba79d1-8e7a-41d9-acaf-64f3eee1b97d@redhat.com> Date: Wed, 29 Nov 2023 03:15:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Nouveau] [PATCH][next] nouveau/gsp: replace zero-length array with flex-array member and use __counted_by To: "Gustavo A. R. Silva" , Timur Tabi , "gustavoars@kernel.org" References: <6517a6a41eb72d16596c913dc56467e0390287a3.camel@nvidia.com> <4b10068c-4285-41df-b4bb-4c61ac70a30b@redhat.com> From: Danilo Krummrich Organization: RedHat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "nouveau@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 11/29/23 02:06, Gustavo A. R. Silva wrote: > > > On 11/28/23 19:01, Danilo Krummrich wrote: >> On 11/16/23 20:55, Timur Tabi wrote: >>> On Thu, 2023-11-16 at 20:45 +0100, Danilo Krummrich wrote: >>>> As I already mentioned for Timur's patch [2], I'd prefer to get a fix >>>> upstream >>>> (meaning [1] in this case). Of course, that's probably more up to Timur to >>>> tell >>>> if this will work out. >>> >>> Don't count on it. >> >> I see. Well, I think it's fine. Once we implement a decent abstraction we likely >> don't need those header files in the kernel anymore. >> >> @Gustavo, if you agree I will discard the indentation change when applying the >> patch to keep the diff as small as possible. > > No problem. Applied to drm-misc-fixes. > > Thanks > -- > Gustavo > > 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 26400C4167B for ; Wed, 29 Nov 2023 02:15:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230425AbjK2CPp (ORCPT ); Tue, 28 Nov 2023 21:15:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234976AbjK2CPd (ORCPT ); Tue, 28 Nov 2023 21:15:33 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCEC41BC2 for ; Tue, 28 Nov 2023 18:15:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701224121; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XKn2JYUpqV3wbekajb5ZS+im7PxpappcmYXHnPLCMOg=; b=gAVfI7eHG1gu12VqbxBXfHIhKnKp9KGuUJbKpVIP4unQUSGeiTeK4LphSuryLLPaRH5yaa ROhj0VGdvWki6OuE2LbupQ25L8FRIypfUC2PrEwpGTI2vSXtLhAh1X8H5hC6Em53c0cPxf p38GN5oCfyeXwmnotbciKbweFPk2j5U= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-144-E-yPiy5tMC6WzbiZWoCStA-1; Tue, 28 Nov 2023 21:15:17 -0500 X-MC-Unique: E-yPiy5tMC6WzbiZWoCStA-1 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-50bc2046839so648034e87.3 for ; Tue, 28 Nov 2023 18:15:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701224115; x=1701828915; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XKn2JYUpqV3wbekajb5ZS+im7PxpappcmYXHnPLCMOg=; b=t1b9Yfw9CxG7pCssyxx7QVDy0w2V5SPlux5B5vHco4juRl6+XvqKQRG7rvGuozp0pz clFNRgWf9iL0uQmrTjiFVaAu87VajNHSDrquRGWT4DyOnUXhDLTE4oOZjFVyUkFbGEsx OmYn74XNhgDnm8QBGoYuHBk5RLmwn9VsxyYAV3a1VS9xX938xt2IaWxGGr9nAoj608vu WkCI9eMglAdQ6BPguyqSZFDTchavSTfQN8at27Lig2k219igGm5QA9vjOpZlSOwiweVH umzHGHsV30YXXYFsymby82K5ouJ8DS1aYNg384eWVq+xwAnCNKEtk8iBk+yOlbaZr2Di T6QA== X-Gm-Message-State: AOJu0YyGYQy1bWstMQYdryua0kZ1RFUsBnUYSHl0Vu4pJ74jRVouRUMP 3u2jwAQz/Lokm18I+aoYi4PV/ID93fcIVuQg/omPCilyvEDC1T4eNiDz31h4XX3lX87FOAt3l3I ZduVnox1c1d2UkwysRm0+ZddlZY/kRE7f X-Received: by 2002:a05:6512:3196:b0:50b:aa13:a761 with SMTP id i22-20020a056512319600b0050baa13a761mr9265068lfe.46.1701224115753; Tue, 28 Nov 2023 18:15:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFS+WKRxrSYw288wOgG/cqzoj+euT0xS28Xc6/AGsdA9evhonP2l07Xitf1dqCow9oSCeSsQQ== X-Received: by 2002:a05:6512:3196:b0:50b:aa13:a761 with SMTP id i22-20020a056512319600b0050baa13a761mr9265061lfe.46.1701224115460; Tue, 28 Nov 2023 18:15:15 -0800 (PST) Received: from ?IPV6:2a02:810d:4b3f:de9c:abf:b8ff:feee:998b? ([2a02:810d:4b3f:de9c:abf:b8ff:feee:998b]) by smtp.gmail.com with ESMTPSA id k13-20020a17090632cd00b009ca522853ecsm7358196ejk.58.2023.11.28.18.15.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Nov 2023 18:15:14 -0800 (PST) Message-ID: <81ba79d1-8e7a-41d9-acaf-64f3eee1b97d@redhat.com> Date: Wed, 29 Nov 2023 03:15:13 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [Nouveau] [PATCH][next] nouveau/gsp: replace zero-length array with flex-array member and use __counted_by Content-Language: en-US To: "Gustavo A. R. Silva" , Timur Tabi , "gustavoars@kernel.org" Cc: "nouveau@lists.freedesktop.org" , "daniel@ffwll.ch" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" References: <6517a6a41eb72d16596c913dc56467e0390287a3.camel@nvidia.com> <4b10068c-4285-41df-b4bb-4c61ac70a30b@redhat.com> From: Danilo Krummrich Organization: RedHat In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/29/23 02:06, Gustavo A. R. Silva wrote: > > > On 11/28/23 19:01, Danilo Krummrich wrote: >> On 11/16/23 20:55, Timur Tabi wrote: >>> On Thu, 2023-11-16 at 20:45 +0100, Danilo Krummrich wrote: >>>> As I already mentioned for Timur's patch [2], I'd prefer to get a fix >>>> upstream >>>> (meaning [1] in this case). Of course, that's probably more up to Timur to >>>> tell >>>> if this will work out. >>> >>> Don't count on it. >> >> I see. Well, I think it's fine. Once we implement a decent abstraction we likely >> don't need those header files in the kernel anymore. >> >> @Gustavo, if you agree I will discard the indentation change when applying the >> patch to keep the diff as small as possible. > > No problem. Applied to drm-misc-fixes. > > Thanks > -- > Gustavo > >