Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1430367lqz; Mon, 1 Apr 2024 06:21:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWL322vyVrfEv4Dwy2+cyYaBeoVaaJAqnK/uZVWBahgsA2aaY5/MzAAR9ICJIjAwndmA31pi8++tQJEaigArwNghW1rQZZmW026wJBglw== X-Google-Smtp-Source: AGHT+IH/bU4MItoce59tP6MujHK0hnxguuWBE+acN0n/xHnxqbc/OgS2EahwqL4SQ97PQXu8KalT X-Received: by 2002:a17:90b:30c1:b0:2a1:2502:1439 with SMTP id hi1-20020a17090b30c100b002a125021439mr7713740pjb.8.1711977714409; Mon, 01 Apr 2024 06:21:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711977714; cv=pass; d=google.com; s=arc-20160816; b=MCSzJ/Ro5IaWhDvBlWOqRhkC6RZqF4NY606ireIwkmkV43z9ZidNQ3fRQPYYA6GmJK sxWtyhOSrIF/Ks039QCHGGCscNUtemhKLguYZBfsgFcvDgoew2rWw12ek1QYfj1YRjfE xZks7gEZeULJw/B7H2j5wUdGocXDCanfajbGo0TtacztliIpDBxa5Kn2pVy98ae6GQXM V52W0xScbmRAh6poQ/aUFykUBd5m7Umk9ac4b4EruDC4+6fUXdRph9nfgzLmpzGr+Jcj T7K+7pWGkOcRKQAgGEGqlT+A3vBrxbA5C9b1aQNPMPhxD30NFcFW2zJR+Vl1Z5ccS8Qc YAbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=0ztbKwxnOONze6uE5KAh6nif3N82SFeibbZIcAhXlYU=; fh=TC4UcQyGr+9AUG3AY6cTjiFROKanBjyeXFHAHHU19M8=; b=F/aErHI/It4jTY8AJtwRO7zDZBlWpbfxAPu1lMhZrxAkKHnLX34WSzA+eKHXIglEtw ZAERhcLPBiYkXrmdQCgN6hOV+pJWIDk7w9sK9yAFyWMrjLtvViYlR3QRDCZvlS0FqlYI yrwT/as1DqNlpx4bsgz2UnC/yZn4U5sVYcF3mTfY7Qrzdidm2qnWVqgXkoMAcG/VbyYE Litih6a4+SyQ8OOKea4sGdVzwkxZZGalMFyxTT3HU2XnbUw1gkjZqRVuYP47RRHepRmK PN/bYWOBdhftj4r5b6OswEP09J8K9QefkZ4G3iKtlRc1VieoVX4W0zbvWLF66Vmd5mas SL5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=NHa0hk6s; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-126680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126680-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id pi4-20020a17090b1e4400b002a21bf60cf7si6117117pjb.4.2024.04.01.06.21.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 06:21:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=NHa0hk6s; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-126680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126680-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E44B1281EC1 for ; Mon, 1 Apr 2024 13:21:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB4C33F9E4; Mon, 1 Apr 2024 13:21:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b="NHa0hk6s" Received: from fanzine2.igalia.com (fanzine2.igalia.com [213.97.179.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 94E8A21A0A; Mon, 1 Apr 2024 13:21:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.97.179.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711977706; cv=none; b=F6Mqpqe/xj3uRHr6ud9ftOr1URXS+d91lc/fj79aSdIrU2e0SIi63cJfNqRU4qjdrpY8Lgj99TKjEfOx01BcbPBylQyDmNj9GJvUPL+iDUjhBmfxN06VMvDWgrxlphDBKBD8TKEe8Y6ukb4eojVp7/LE5fk15aYPBV4J5YSBKj0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711977706; c=relaxed/simple; bh=Pvj3W9vMpYYXEBCVV8FYX9pJanbCNb8yW1Aw7jAJ0Ho=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RtjZqgJrAPV1R38u2w0gR1rikqDvoff45DdEBkDhuNcI+0dA+bq0MqbtFQbV47Q7EhzN5tolr4ALCpJ4/9SljIguODn1u2F4DdXn6moxJnLbqKZnaoOSGQh3C+Jh4UaXMhubYNP7JQZ7/9FXJSBZ2U18EacDxaK4b6eBEJxSTXk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com; spf=pass smtp.mailfrom=igalia.com; dkim=pass (2048-bit key) header.d=igalia.com header.i=@igalia.com header.b=NHa0hk6s; arc=none smtp.client-ip=213.97.179.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=igalia.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=igalia.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0ztbKwxnOONze6uE5KAh6nif3N82SFeibbZIcAhXlYU=; b=NHa0hk6sMYXxr+xwUvnjlKQUnF MEqYyBd6WXe4P9ZmqgpFKFUvIBNOHaBie9S5C1YhSJv8Rs/O97U7tb1LxxqHskQdD1UlbinKsB+aB EktpoqosJWLm0tByrCD4QbzTiyNWz9U4N/Lz06EG+U+fHcpR6RTubhijoN4D12R1a3RbKhjqZzytW BkIacfu/lXSbvo+KO4MFTQKStY32m8k4CV+MStArowuITtWgTKdneNI3tp8JsNjLFZjrEcpdNHE19 hhvZAfb+PsOkhrCrlY+7s1vWxZsBUXWOlsu967nT+FyNAomPB6W6ny8IGWR/HeEKvfcdFSlVpXgY8 UuMW3vEw==; Received: from [84.65.0.132] (helo=[192.168.0.101]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1rrHbF-0001WQ-89; Mon, 01 Apr 2024 15:21:21 +0200 Message-ID: <4342d02c-a180-4a7e-8ef6-4ece51aba946@igalia.com> Date: Mon, 1 Apr 2024 14:21:19 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] dma-buf: Do not build debugfs related code when !CONFIG_DEBUG_FS Content-Language: en-GB To: =?UTF-8?Q?Christian_K=C3=B6nig?= , Tvrtko Ursulin , "T.J. Mercier" , Tvrtko Ursulin , Maarten Lankhorst Cc: dri-devel@lists.freedesktop.org, Sumit Semwal , linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org, kernel-dev@igalia.com References: <20240328145323.68872-1-tursulin@igalia.com> <9a063c39-6d2f-43c3-98b3-e4f8c3c6e9c4@ursulin.net> <1e94363a-b449-4efb-b2fe-c1dd710b57c9@amd.com> From: Tvrtko Ursulin In-Reply-To: <1e94363a-b449-4efb-b2fe-c1dd710b57c9@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 01/04/2024 13:45, Christian König wrote: > Am 01.04.24 um 14:39 schrieb Tvrtko Ursulin: >> >> On 29/03/2024 00:00, T.J. Mercier wrote: >>> On Thu, Mar 28, 2024 at 7:53 AM Tvrtko Ursulin >>> wrote: >>>> >>>> From: Tvrtko Ursulin >>>> >>>> There is no point in compiling in the list and mutex operations >>>> which are >>>> only used from the dma-buf debugfs code, if debugfs is not compiled in. >>>> >>>> Put the code in questions behind some kconfig guards and so save >>>> some text >>>> and maybe even a pointer per object at runtime when not enabled. >>>> >>>> Signed-off-by: Tvrtko Ursulin >>> >>> Reviewed-by: T.J. Mercier >> >> Thanks! >> >> How would patches to dma-buf be typically landed? Via what tree I >> mean? drm-misc-next? > > That should go through drm-misc-next. > > And feel free to add Reviewed-by: Christian König > as well. Thanks! Maarten if I got it right you are handling the next drm-misc-next pull - could you merge this one please? Regards, Tvrtko