From patchwork Thu Aug 2 11:06:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matias Bjorling X-Patchwork-Id: 10553481 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 154DB15E9 for ; Thu, 2 Aug 2018 11:06:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D04E2BC2B for ; Thu, 2 Aug 2018 11:06:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 002DE2BC37; Thu, 2 Aug 2018 11:06:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C15152BC2B for ; Thu, 2 Aug 2018 11:06:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731622AbeHBM5Q (ORCPT ); Thu, 2 Aug 2018 08:57:16 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:35957 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729580AbeHBM5Q (ORCPT ); Thu, 2 Aug 2018 08:57:16 -0400 Received: by mail-pl0-f68.google.com with SMTP id e11-v6so873768plb.3 for ; Thu, 02 Aug 2018 04:06:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E9nBkdJmSf7XQB8nBRNFvnUYWQfCUzEb7L5hI7csDiU=; b=R+fFKkXDv6DPFEVjT3n/omCqGcfSVtzPOrnvefNHnuBdZL7rH0TaS5yIvgsuZgn17y TtnoOP4Eik5s44etD9Eo6hAcUrlckb71lM8i/fBt+Tiy0YI0/x3quT/mTs8xzv61n1H7 zyc+/u9r/RiepwgBKcFW3T8OsfmvOmkg2fCPC398WVkUr+T9Ebj6r1om70RCcw/5hSLC C6/sEuZuU67taTV8Z3vE9+1E1ujo221QinzHj+DB/AmMXphUXgjYkwdIUCiFbw4oKf1h 902m6NFT/Sof06aDfOdZlPSfCq7F4M0QJGQA9pyh1EN5M6Mc8ZtOlXtyXDX/ISIXURME ldIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E9nBkdJmSf7XQB8nBRNFvnUYWQfCUzEb7L5hI7csDiU=; b=lVbqwc0qzJZIRBMgosjvT9S5um7PQ6iXXTnUB1zmEhQ1jE2B7yAw3z7If4j9YL6mFU 04Kq3AQj1hQeOaYiNnZRoKHQLjd6RICBxZRttBcdTTvLdSS246BSZk1U6zQybtF8RT7R 6D7uSJZYiXtLzeKosX4UFxlmIS1LBhcHxJuogjgrvqUPaZ/C6qPEym8MgAmWV5EA7b7q pht85+SNPMaMtmTmD4bt9zJXQnjTwBmC3H74Gyk10uV5A6+nIbba6x/NbymcuVvYFH4c yCIJM7OZ4qEu2AGLp5q26o4zGqsZdQJxhYC8Qru6wfwjvBl/cF88UYXWtchQhhPWOKTM +RqA== X-Gm-Message-State: AOUpUlGdseEl/5weRouronjg9QzlsjVyM9b93iDlhAKFpivkVIQXwvK3 ahaH07Uu2Kf3F0rces7gJOVjrA== X-Google-Smtp-Source: AAOMgpd06WwP6OBCarwOZLOEMmd/E3TXdFgV27j55/bzzd7UVMypaBWlbTpHblMp7as/AHDePO8Xgg== X-Received: by 2002:a17:902:9a06:: with SMTP id v6-v6mr2009872plp.316.1533207997619; Thu, 02 Aug 2018 04:06:37 -0700 (PDT) Received: from skyninja.hgst.com (rap-us.hgst.com. [199.255.44.250]) by smtp.gmail.com with ESMTPSA id o72-v6sm2447084pfk.76.2018.08.02.04.06.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Aug 2018 04:06:36 -0700 (PDT) From: =?utf-8?q?Matias_Bj=C3=B8rling?= To: igor.j.konopko@intel.com, marcin.dziegielewski@intel.com, javier@cnexlabs.com, hans.holmberg@cnexlabs.com, hlitz@ucsc.edu, youngtack.jin@circuitblvd.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Mat?= =?utf-8?q?ias_Bj=C3=B8rling?= Subject: [PATCH] lightnvm: remove dependencies on BLK_DEV_NVME and PCI Date: Thu, 2 Aug 2018 13:06:25 +0200 Message-Id: <20180802110625.12463-1-mb@lightnvm.io> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No need to force NVMe device driver to be compiled in if the lightnvm subsystem is selected. Also no need for PCI to be selected as well, as it would be selected by the device driver that hooks into the subsystem. Signed-off-by: Matias Bjørling Reviewed-by: Javier González --- drivers/lightnvm/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/lightnvm/Kconfig b/drivers/lightnvm/Kconfig index 439bf90d084d..a872cd720967 100644 --- a/drivers/lightnvm/Kconfig +++ b/drivers/lightnvm/Kconfig @@ -4,8 +4,7 @@ menuconfig NVM bool "Open-Channel SSD target support" - depends on BLOCK && PCI - select BLK_DEV_NVME + depends on BLOCK help Say Y here to get to enable Open-channel SSDs.