Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp219256iog; Fri, 17 Jun 2022 02:13:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vBamORTeERTIWbf+KR+7dF7rsp2dex5g96VuL0in8EmoxQkdEGnDOo+H2RvuvXoDwc9qj/ X-Received: by 2002:a05:6402:4248:b0:431:1133:aecb with SMTP id g8-20020a056402424800b004311133aecbmr11249673edb.222.1655457207932; Fri, 17 Jun 2022 02:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655457207; cv=none; d=google.com; s=arc-20160816; b=DpuyQdD9Za0Wn3EimjLF+M/bxEaLnE9FHpsxVPpxgU24ZQNt/ClgiiQP2FXPg76f8F WenAKyx/hT2CaOzTz1XGbxZRHWA36EvRmxxlka6vKYM9SFT62h+Xl4+KR3ZaipwPKAQS a5vOtt9JPIa7CZ52fXG7dGHWAlW6SzBgQp7zYFwVpED+VQHVeMdiNMg7wwTC1x6NUQlV O/9l4GqjAJwgVwSkVq5QzGxuN1Ec9TxMOJRhc3S4KTGiOZGM6K0R+f0bsBoHaYFm6L/j IVoNspHlibUMzzyxzhbDI1zMKTVsXk8Oimo5X3/f0K0rSESjrLEAoBLmM+r/KGAIyV4a h2lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=9FbtKPklDAzYqBxI9midbYskvWSeku8VgHM4QUv4J+g=; b=NuIMNLta6ab7Kcg8vgMvhNrNW19FTh3uTOzVwkHdnqo5Z4Kbj/0fQWsqZg34mKP8yq AzDKuHzXqWMSRBqohtn4BEvhyTL5D5kmgTv3Cl0EgckiAml8fMPCaKq0kzvJ8e9WDghz JxK6yhm8boli8JqqLcSiLQtwY6pTCNPg/nsfwGYWNMCarm06eoOBD5es7xl7An+gM+N1 0mVMuLTpKJiCrWBWxNzlFgeIDV3KIhaqKC/HJF6/L6Bakz//6SDA+Jx49/+QAVQPCfCS zV0wdH+ePX5aA9Fm9UEkWmsMwDeT6c4t18N4f755qWul4of+S7Abr+c5wlUw+PzUpZ54 e6Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RIKHRpM0; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f10-20020a056402150a00b0042fac061a54si4372776edw.513.2022.06.17.02.13.02; Fri, 17 Jun 2022 02:13:27 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=RIKHRpM0; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381124AbiFQI5Z (ORCPT + 99 others); Fri, 17 Jun 2022 04:57:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381418AbiFQI5X (ORCPT ); Fri, 17 Jun 2022 04:57:23 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADE3C4991B; Fri, 17 Jun 2022 01:57:20 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id b8so5282636edj.11; Fri, 17 Jun 2022 01:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9FbtKPklDAzYqBxI9midbYskvWSeku8VgHM4QUv4J+g=; b=RIKHRpM0wUlv8lDPilrhaOhSpY747adTj7jmL+FXxXSdcmIjxhX0Lkw1pm+H4jCe6Y ml/nDp0R8WSzIO6Y4+TMTO5T+EgaW0Fv65fbBlvLBQg7AKwVHrPEL5DnYmCVnK1Gz6CE ahp0XJk1jYPqPxK/YnubRBwE3gDKZOrd9NCQjYVA17cJqqI2isHsGzRSlO1OKg9m3EF7 O9vntabP/uW+nTYRnpc4lSoNe2QEGelbtCCRpXBOeQqC5xRl195yUEgU4gVtA5roGtjC nlOXbhZgLE4nRdhbQgP0LfrWe+MSYg+hvmj5oZg7JYMMtRzpjHmzqAscNrQ/uewV496K GvRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9FbtKPklDAzYqBxI9midbYskvWSeku8VgHM4QUv4J+g=; b=omg4xlDJHqNwgVkpAiHStXVvj8WpjWwlh1YnmpWUhKkTKy1becC6Zs0MPOx4dpK6Vt Ot/jpM9tvCZ03KKNZrnWfH1bT4XMzg4Vw/MA5unDIeGWdo1qeWJPYd67o1RCmyY7mjl4 YtpmJz6SnnOUXzpZ4q+41xj1PRXEoQQ18vQjS/v5Ffu7Cx6IUZJV3zurzQLL/0ZYA3Cs yBYTEE1GqzYDvUSKnDnTY4t3vPeRTMVbkdvnfrOQLuvlIiMcUGyr/34KlePCbAhD+A+5 eJiT35QoYNXTAB8tnQ0x7xGfWzmdWITgyYqo21vXa5P325ewT0YtG1AXr37FuSpcdDF6 hNug== X-Gm-Message-State: AJIora/9MMHOxeqcNWh4Wypgmf8CVGnQiSib2fDojG9l2i0waUfLeYu4 A6gaVC3i6z1EbNXNwmhZTvnx/LzVPh0= X-Received: by 2002:a50:d097:0:b0:42d:d158:4e61 with SMTP id v23-20020a50d097000000b0042dd1584e61mr11144467edd.42.1655456239177; Fri, 17 Jun 2022 01:57:19 -0700 (PDT) Received: from able.fritz.box (p57b0bd9f.dip0.t-ipconnect.de. [87.176.189.159]) by smtp.gmail.com with ESMTPSA id r13-20020a05640251cd00b0042ab4e20543sm3388788edd.48.2022.06.17.01.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 01:57:08 -0700 (PDT) From: "=?UTF-8?q?Christian=20K=C3=B6nig?=" X-Google-Original-From: =?UTF-8?q?Christian=20K=C3=B6nig?= To: linux-kernel@vger.kernel.org, linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, kernel-team@android.com Cc: tjmercier@google.com, daniel.vetter@ffwll.ch, gregkh@google.com, sumit.semwal@linaro.org, =?UTF-8?q?Christian=20K=C3=B6nig?= Subject: [PATCH] dma-buf: deprecate DMABUF_SYSFS_STATS Date: Fri, 17 Jun 2022 10:57:02 +0200 Message-Id: <20220617085702.4298-1-christian.koenig@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Add a warning that this UAPI wasn't such a good idea and shouldn't be used by anybody. That should give us a better chance to remove it at some point and prevents others from running into the same issues. Signed-off-by: Christian König --- drivers/dma-buf/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig index 541efe01abc7..e4dc53a36428 100644 --- a/drivers/dma-buf/Kconfig +++ b/drivers/dma-buf/Kconfig @@ -75,7 +75,7 @@ menuconfig DMABUF_HEAPS between drivers. menuconfig DMABUF_SYSFS_STATS - bool "DMA-BUF sysfs statistics" + bool "DMA-BUF sysfs statistics (DEPRECATED)" depends on DMA_SHARED_BUFFER help Choose this option to enable DMA-BUF sysfs statistics @@ -85,6 +85,10 @@ menuconfig DMABUF_SYSFS_STATS statistics for the DMA-BUF with the unique inode number . + This option is deprecated and should sooner or later be removed. + Android is the only user of this and it turned out that this resulted + in quite some performance problems. + source "drivers/dma-buf/heaps/Kconfig" endmenu -- 2.25.1