Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1584276lqz; Mon, 1 Apr 2024 10:28:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2bBWWsQLQS4BfilpxNrFjes52fNhwWF1WdOKCGYgeeCTCP2sV/SPBl3Z/VrFHhWq1/gj29++9NBPZjcTnmS3VRpkhI0lPrhOue3koZw== X-Google-Smtp-Source: AGHT+IFIGdQ9rHvxfyY5jE238Rsslubamd47pG4QYTCNHfg1RpjV55piq+ZIdyKKl3FjbHpWYkEw X-Received: by 2002:a05:6a00:182a:b0:6eb:4:3f26 with SMTP id y42-20020a056a00182a00b006eb00043f26mr5902378pfa.18.1711992531195; Mon, 01 Apr 2024 10:28:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711992531; cv=pass; d=google.com; s=arc-20160816; b=nKV48ogtd6mz6LIYx6/fA7criVeVb/TSz88S7dAdxpY0Rjro1FB4k+MvbuoOQEIZP0 RVw9Y/VbBsENmTaCwNQkPRw8Uj+b1yce7Dxx5+ULzkR4P91syZLzg8hHX1ReLZiR8Kr4 wfi1h7YgvGtO0JsH4zWfxfJAfkwI5Rj7Odut3KlUF5nD/fC0O7R9I4XaupIQACPWQG5z 8B612OYPsxHDfpKW0nkaJS6MdPj/tyAmO49kuDXDS1eKZYXQxW8a9qV1SuEdOGZqleA3 QgnfxlLXGFd2e4SkzI6J51q693WJT5/g39jptePw8T02BifI+loC32zuSBMxxI9m1dTf af3Q== 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=H2EUwRDkkeNDukcge3a1iBvqeXFfUokc8SHBEfVM2e0=; fh=uTxKXvZhBmccMZ2w6GN1TbMfdqzt5Fg4Ydsp+gnL3Jo=; b=Kbhzt3MB/ISmgtFqMR2TN3Lq9mBkNtYdQW8fobGRQ/hSyNRUbwWgESplQc2BhfScih qwwaCKmM4d6aXmphNHO36Iul07zhR4IzjeElh3Zj7z6uWGo5H/gLDW7/GgRfCv5OYxOW dsWDYNB7UOTSDmoUCbZYMClKn92Q9YEfg8areNUETy1au8yLUbAtlIYhEpNmVTLR77Ta lQNpD4LfZaGGC3Gp20on1focjsWjmcZBriGjZvsUlVb9lv0h+3m+LUTV6qMyWTIi3xYr GnA0MtdQqBXvR0moWGdKlxM4vz0KkktXc/fbVb0DycNwJ9On7MrgaW4Ct3NOtDKWTNPt 218A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ursulin-net.20230601.gappssmtp.com header.s=20230601 header.b=fEIS6676; arc=pass (i=1 dkim=pass dkdomain=ursulin-net.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-126658-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126658-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ka17-20020a056a00939100b006e8d8bff71asi9824646pfb.289.2024.04.01.10.28.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 10:28:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126658-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ursulin-net.20230601.gappssmtp.com header.s=20230601 header.b=fEIS6676; arc=pass (i=1 dkim=pass dkdomain=ursulin-net.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-126658-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126658-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 B1C4A281BC1 for ; Mon, 1 Apr 2024 12:39:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBDF73E495; Mon, 1 Apr 2024 12:39:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ursulin-net.20230601.gappssmtp.com header.i=@ursulin-net.20230601.gappssmtp.com header.b="fEIS6676" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DC3437168 for ; Mon, 1 Apr 2024 12:39:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711975182; cv=none; b=m66S9TvcKJ43g9UKVR7OsbAFWSiMjcnhCh3xc1EzPA3xgTe6Gv97S9UR5VsNpUnRtclvbtXtIttD72cwwTxbeb7YrmBqfaoGAT5YlV5EMISJXSMbv/u5ngqc+pQ8TVlTtq9y4tJNBTI3YSByz/YxhkrM9PEFjR7eglUONZ3lcy0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711975182; c=relaxed/simple; bh=4dIUD4SFfz0KSuYeHWu2YBwd/u60LXMWHEiGpv+uimY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=moied1GoVmtDcBvOiPriNMJMLJfqifa+3tCOXm9m/ozDMjmJlOXetTgnaiqBcDnd0B4RUz6lRYDJ+6H4HqJKk1QqQU9IWvNIsfJeupV1RtLUTK0Whj9/JuQXQdM+8umIfPWfUTdmQ5Myrt+7ssSlJinL4f0N/QfRcLzRIoN1vN0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ursulin.net; spf=none smtp.mailfrom=ursulin.net; dkim=pass (2048-bit key) header.d=ursulin-net.20230601.gappssmtp.com header.i=@ursulin-net.20230601.gappssmtp.com header.b=fEIS6676; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ursulin.net Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ursulin.net Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-3417a3151c5so2725384f8f.1 for ; Mon, 01 Apr 2024 05:39:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin-net.20230601.gappssmtp.com; s=20230601; t=1711975177; x=1712579977; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=H2EUwRDkkeNDukcge3a1iBvqeXFfUokc8SHBEfVM2e0=; b=fEIS6676hQ9MTImdGyLXC78qGVcwKFeLVWWndpy5OKdqyNeyXwfkWpfKH6pQCyQqyh 2rynjQvk23wWwnilJLDL4GAm+C43Q5SoojpH3n6eHiDN9QBHiajeskj7bfnHs0lNoPpN gNnh+eTWV/QbyDMs3wbKU4eFOiSx6q++aEVzkQ4HJzkOHjUkFXSaRC0+Yx2Ax61kuzJa tdlv04D4lDAadloXhN0S+BTmnAP17N17mk3wOrq97sJlGl44QvV1kcNr82NYcZzq/eIn 0WPZ2tyZ1cRGxrUr7+Cyb6dMLZwZvzD79QkCRjWTnyTXHvKz+qnEdEbda/FD76/HbxQo +rYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711975177; x=1712579977; h=content-transfer-encoding:in-reply-to: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=H2EUwRDkkeNDukcge3a1iBvqeXFfUokc8SHBEfVM2e0=; b=ERSpsLm58S4Tz0ETWasJDz80nKLl1CblVjpUHucGnj1ClB7ivTVVT2IbLjt6460zi9 +QHP7+Lwqgj2SS9t0rjakHLq3bWfd0KJzFwDRY/VJG1/1UevHUKqcBHNLeJBGEp3XCwf FudZYv8OCbWDQ9JpqnMk1fU6JVjcaqRlR9FfREFcqy+Pz89bWKlNE185dqruUSW1IX0y r+Uf6l0fkVJs8CyPG58PLYQa51HI6Ali3mk3xdmHofv51Wxd6Z7yAo2itp2Rs/FvihX9 MLhKkQNMso82kjt8hYEsq1fBi3ZFbviwcnpufoMncaGSHvoEQdXoKZ0IR4IJw8fJFG8J 53eQ== X-Forwarded-Encrypted: i=1; AJvYcCWzCghO2LZL5AC7FYnFeBbJ+uvcL5VuGer9QlxPQwtf3zVhJohB9EPrEWXC9RRif3tQ2kX6mSZnOZMxktLhkyDHiGSDzPwwYwYToa+2 X-Gm-Message-State: AOJu0Yz07qIL6FTPTn9olmaWfPAvizFk5k/y5LDSv6GhvqGM5gLYqUDR AYhWCZYmlWW0wHnWTjcYxI9uc8RJDA1U7LMuy3ZqBfNFoQ5dRGVlU9XNK9hXAu4= X-Received: by 2002:a5d:598e:0:b0:343:4c43:b38a with SMTP id n14-20020a5d598e000000b003434c43b38amr2695374wri.17.1711975177452; Mon, 01 Apr 2024 05:39:37 -0700 (PDT) Received: from [192.168.0.101] ([84.65.0.132]) by smtp.gmail.com with ESMTPSA id ck5-20020a5d5e85000000b0034349225fbcsm4284757wrb.114.2024.04.01.05.39.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Apr 2024 05:39:37 -0700 (PDT) Message-ID: <9a063c39-6d2f-43c3-98b3-e4f8c3c6e9c4@ursulin.net> Date: Mon, 1 Apr 2024 13:39:36 +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: "T.J. Mercier" , Tvrtko Ursulin Cc: dri-devel@lists.freedesktop.org, Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , 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> From: Tvrtko Ursulin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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? Regards, Tvrtko