Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3095379iob; Fri, 6 May 2022 18:37:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6VYGlmEgwQY+U/AZkjYMegBJZMlL3T2rguKYPgtiMzu3h4O1ZOEZc9Uwr8/CAz9AOYegv X-Received: by 2002:a17:902:f708:b0:153:839f:bf2c with SMTP id h8-20020a170902f70800b00153839fbf2cmr6585125plo.113.1651887447502; Fri, 06 May 2022 18:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651887447; cv=none; d=google.com; s=arc-20160816; b=KNCr5rvF3EsCuTWaChXtz7a6ghSSlXN4NGH5W70ijcZ57fvF8MBqlrVIGNyUokhHLV fykvj8w0MLFQ9dtq0xrmz7icoDrty6qNCqryieJBCMijPn/caMGgDg6za186WXAfvLGh gIxEiKYfvWT36uGxhe4CDAH66ElMRma7LNDEgcI6Nwm6sWUCfQuplq7HCnA903Ekq3vd 2m4dFpb4jHHkmiOeaf7MzMzWg15Oqz47oC+zOY4OhNzsOwgayb8OxLWiCkLk7JE9XquC Z6PfcJI5tZbqrYvhbeo1cpoJWRcv22tk0c8ibbX2tffF72OLO9A8zj0FDCdcFWwEaJL/ wnhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:mime-version:message-id:date :dkim-signature; bh=aaLeQx94OzKlMeJnpwdtHsiW+D9Y9/PlRf6bEzbVUSs=; b=Rcilm46JprPwTRZEDQbLDMQIhOw04gZDkOS+b4D2MIzkc0zIuxlXcTUfC81iwXUfZN kvb1oCtAWWf1scotMKqpOgk82UM7jgT72f/xWswyml3dbYUTZIlVBIlZ+XjSos27bW6Q 82Rp4j7RawDfTnPwTOBJH9Ef++2LHIxn2L0MblPFyXT6GfugLLgwRXeolOhCv/ohXAT4 0Y5gMl1dWKWc8ryIk2R+YKqsX5PvX7USgHDmsO6hpu/5UnopqSu3aUd2HIlHe+46WHcu IniZjvBCVOnnxp90aK+11UKTOaYaGBSCn+g60YyoHhIxEsw6AKEo37eQT2QGqPQzV+Sm E1Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="Y/Me6uZV"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t8-20020a639548000000b003ab7a19db31si6695151pgn.347.2022.05.06.18.37.12; Fri, 06 May 2022 18:37: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=@google.com header.s=20210112 header.b="Y/Me6uZV"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243128AbiEEEyU (ORCPT + 99 others); Thu, 5 May 2022 00:54:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243127AbiEEEyO (ORCPT ); Thu, 5 May 2022 00:54:14 -0400 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 723192314C for ; Wed, 4 May 2022 21:50:32 -0700 (PDT) Received: by mail-pl1-x64a.google.com with SMTP id u18-20020a170902e21200b0015e5e660618so1737164plb.5 for ; Wed, 04 May 2022 21:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc; bh=aaLeQx94OzKlMeJnpwdtHsiW+D9Y9/PlRf6bEzbVUSs=; b=Y/Me6uZVm5lLfHLAI+Hter7HNsHr60x7+4Hi/q4ybb9MyX3tTDWbQ9w7G+Kj+vVSd7 LhLXZNKN02pf4SmfofgybeZ1DYwbiey6lhCU6CRVyYLDj04oQrr9UDhLWeX7m1rcjdI6 KFHB0OJbijcgXM+ZhA2vtpborw0LvvTSMnQ5gSspNApleWjUSFvidXwJ+MMKIjlGuWdH R1FGgCFToIt5tosQgKfMyaMN7V4wMKENwCE8l3WrjUdBFtl2Guq2CyJkHQNQ5GtnUuTm HBSaZ/V/j2sjELVaMN6M7o9V3GVbVs6k/LvwVoeR8r8jPZtnS+BPDhWojeIglnDZn3rj O1uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=aaLeQx94OzKlMeJnpwdtHsiW+D9Y9/PlRf6bEzbVUSs=; b=LqGw3k32g1BRHoiv6vxnvLpUdHt6okysJ2cjGMxLZBDH0v5KJkyAWVGyn8Q/BN2VYB QxdhaxhIPmaDLlwxNwD+GFby8StU+rRiB+1oOOkaaRJrAEJcGDt0FB+MaWiV2u6dtbj7 LyPGGa4eU6BCqOKcaDQQhL8hp0NpNZfLhrLfDzeP62S2GIfikzvphlOgN0l0JQRBLGSP szqzE5a2x4V34DStcM6KF/3vMOgM5//9L/3wpdjhA+Ytfz+5Nphdtw9PhaecOhjZcRZS kRdxAxDYW5m5cC4wTfav5uSIO4OS7rPHpP5Ynynqx9yuPZ43KQkgqgKwdqy1W7UmuN4w xOTg== X-Gm-Message-State: AOAM532pHOYAxbk7DhZEclEMgS9AWgtTvNHbeT6Iu11TcP/KKf3YoJjX wrROZFGWvoKB+5qVNF08s3ju3rU= X-Received: from hmarynka.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:925]) (user=ovt job=sendgmr) by 2002:a17:90a:db51:b0:1dc:9da2:793b with SMTP id u17-20020a17090adb5100b001dc9da2793bmr3830044pjx.77.1651726231886; Wed, 04 May 2022 21:50:31 -0700 (PDT) Date: Thu, 5 May 2022 04:50:01 +0000 Message-Id: <20220505045001.363548-1-ovt@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.36.0.464.gb9c8b46e94-goog Subject: [PATCH] dma-buf: add option text so it can be enabled by users From: Oleksandr Tymoshenko To: Greg Kroah-Hartman , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org Cc: Oleksandr Tymoshenko Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL 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 This reverts commit 3b32a592ea6e4 ("dma-buf: drop option text so users don't select it.") to allow users select DMA_SHARED_BUFFER option explicitly. This is required for out-of-tree modules that depend on dma-buf functionality, for instance drivers that rely on Google's Gasket framework. On general-purpose Linux systems the option is usually implicitely enabled in the default kernel config by subsystems that use it but systems with smaller kernel footprint have to rely on side-effects from enabling unrelated options to get dma-buf functionality built. Signed-off-by: Oleksandr Tymoshenko --- drivers/base/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index 6f04b831a5c0..108bf9b38ce6 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig @@ -198,7 +198,7 @@ config SOC_BUS source "drivers/base/regmap/Kconfig" config DMA_SHARED_BUFFER - bool + bool "Buffer framework to be shared between drivers" default n select IRQ_WORK help -- 2.36.0.464.gb9c8b46e94-goog