Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1575738lqp; Mon, 15 Apr 2024 10:12:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX52tsuC6S31jaRsmQa9Rzpz43guzM0O41BwuE/J/RejDsXtpN3jYgRK6pupG8fny3iCL1uqkCrC/Ghh9ydt8OaSXfQAp0x3IiOyTu9Cw== X-Google-Smtp-Source: AGHT+IEoJiD0nUwzO992BwZGzTejR2ljYeJGx+OSv/87K6vECoDLpO4Te8NSNAGTd+7o9FS15UKj X-Received: by 2002:a9d:65cc:0:b0:6eb:7685:b00 with SMTP id z12-20020a9d65cc000000b006eb76850b00mr6386744oth.28.1713201170414; Mon, 15 Apr 2024 10:12:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713201170; cv=pass; d=google.com; s=arc-20160816; b=xdBivwNoWuEiqltTWVCg9I3qWY1h5OfIdQ+t/uweA40zgF9W3ZQHSOOF0oAse/63HI dVxer9ofsjLOuHvIRa6VvbTLixilSJ50WvNwbtXC/82p+h7oey2aAJtIQPRxPnyzsnka Lce4cXfpRh8LrYHtQSte13tzmNZqfumUHpsmociyrR0huhIgaCIJ77cGhIV3WG2D7BwG IsJYTln6N6lejMQtFVxxiz5RIajlkZUnXfw6mSIgAtbK5gwbhJ5SZZ/Gt4nCXjdj/Epr VyJOxbrQHnMwH2V3g33+E/wn50ZrbkZzIl5yICPYNRRhDzx7aw0TcOgoj2PdiaEHRkbZ azwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=sg3b+2cNoZ81gja0weDCuFLWo3vrWyU/RMk60odL1I0=; fh=697z6SGf9GLJAWLglaEs/NhGoCKu+ee8EzkSBZtT4zc=; b=oNisqt56JaE0NPTg/ofjzxWLEXhtvtW3Hep0s/6Y+GHaJcf08hdKQl/7M1ObG+dyXW Od7Fkuw4vTC10G81uhZT9vcL5X8t3xm7PMAusDuZuyqv+6er0vUaqfpRdQTQwDDghAPq An0Xohj5F/tpQzl+dLcQPUSyEQhQEtVmU0SCiOlj0n33Va0XS1Um45RQQLhE79z6ur4O neEVx3AMCW4n/jwyvG/ND7tAYkCK+kanZxfxYrfV4jXXcOmZmO4cH/1ZxGqzOZpVSOxy kh9VQ2nw9NGxMDOtnlXmKdalGeKbJRjIN1q/Ls0fIhCmsYPvOdFd0h9TEwgQXUWhSF/Y 1atQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b="iQldb/Qc"; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-145641-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145641-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q3-20020a05620a024300b0078ec51463c6si9592789qkn.754.2024.04.15.10.12.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 10:12:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145641-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b="iQldb/Qc"; arc=pass (i=1 spf=pass spfdomain=igalia.com dkim=pass dkdomain=igalia.com); spf=pass (google.com: domain of linux-kernel+bounces-145641-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145641-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 168191C20D70 for ; Mon, 15 Apr 2024 17:12:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50F9985280; Mon, 15 Apr 2024 17:09:11 +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="iQldb/Qc" Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) (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 A353C8249B; Mon, 15 Apr 2024 17:09:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.60.130.6 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713200950; cv=none; b=C4YLMV9r/B8OjQbopdRfj/zlbAvOt6eByhwH6nCT6RXqthQ1omSJKJlYP2vCvF9x+PEEhdEzW45dRJ00ve85BqZe5GFHtUBne+iVxkP0TlSE45x5LtG4e0O2RIP43zqd9UW+Ve2t+AaycR4pYH3e1aGIz+QAQLnKHWc4orkoiKQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713200950; c=relaxed/simple; bh=AQlN1os5uzy3pohK0LsS/4sZ5spFqRVt7kr/aIJ5FyQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uZGmPJQztj5Sx1oEWcrKdRj1HPXVs9lduXC2q7y/EdV2SJ3lXLlRz/fMQGo18QHOdqPv2xHASYCdBgN8EbupBtAfQ7XGgWSIbYPlD9GhkwsVvsia+cHTAbqFDkNvPFcQHbOnRDAcP5khObtnEL859iLpqqhKS6SYPxQqp+mtHto= 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=iQldb/Qc; arc=none smtp.client-ip=178.60.130.6 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=sg3b+2cNoZ81gja0weDCuFLWo3vrWyU/RMk60odL1I0=; b=iQldb/Qc5xFMnlxYRa7eYPZAi6 KYStvuJGeFua8kozbQosOm+SP216uX+4uaict3666qyuQoQ4V21n+ytX/3br4w2CAIgTN+smSBC0Q DVJDeTF4cagVzUzvKzJdX0v+XAPUMX5TAD94Zq9uD10DcVSc49rC9fdb2vIxPkOn5C3XcboRKSFtr v6clGq/fusEfBbToWdUHnCLc6YeuSBtD+AkCrJpS3CkGfMQrjdf+ofy5PbgJzZSTgSTnQIzvLkOkw PTkXvp75AINlUlOqJnNEEhxi8COh8Ho0yLVyzmxHK1IHmiAAiff1KZbsQf3Aiw+4uGIAbja4R4qzu hesXEnNw==; Received: from [177.34.169.177] (helo=[192.168.0.139]) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim) id 1rwPp8-004qDq-8a; Mon, 15 Apr 2024 19:08:54 +0200 Message-ID: Date: Mon, 15 Apr 2024 14:08:47 -0300 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 To: Tvrtko Ursulin , =?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> <4342d02c-a180-4a7e-8ef6-4ece51aba946@igalia.com> Content-Language: en-US From: =?UTF-8?Q?Ma=C3=ADra_Canal?= Autocrypt: addr=mcanal@igalia.com; keydata= xjMEZIsaeRYJKwYBBAHaRw8BAQdAGU6aY8oojw61KS5rGGMrlcilFqR6p6ID45IZ6ovX0h3N H01haXJhIENhbmFsIDxtY2FuYWxAaWdhbGlhLmNvbT7CjwQTFggANxYhBDMCqFtIvFKVRJZQ hDSPnHLaGFVuBQJkixp5BQkFo5qAAhsDBAsJCAcFFQgJCgsFFgIDAQAACgkQNI+cctoYVW5u GAEAwpaC5rI3wD8zqETKwGVoXd6+AbmGfZuVD40xepy7z/8BAM5w95/oyPsHUqOsg/xUTlNp rlbhA+WWoaOXA3XgR+wCzjgEZIsaeRIKKwYBBAGXVQEFAQEHQGoOK0jgh0IorMAacx6WUUWb s3RLiJYWUU6iNrk5wWUbAwEIB8J+BBgWCAAmFiEEMwKoW0i8UpVEllCENI+cctoYVW4FAmSL GnkFCQWjmoACGwwACgkQNI+cctoYVW6cqwD/Q9R98msvkhgRvi18fzUPFDwwogn+F+gQJJ6o pwpgFkAA/R2zOfla3IT6G3SBoV5ucdpdCpnIXFpQLbmfHK7dXsAC In-Reply-To: <4342d02c-a180-4a7e-8ef6-4ece51aba946@igalia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Tvrtko, On 4/1/24 10:21, Tvrtko Ursulin wrote: > > 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? Applied to drm-misc/drm-misc-next! Best Regards, - Maíra > > Regards, > > Tvrtko