From patchwork Tue Jan 31 08:47:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13122536 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B6E9C38142 for ; Tue, 31 Jan 2023 08:53:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232137AbjAaIx3 (ORCPT ); Tue, 31 Jan 2023 03:53:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232059AbjAaIxE (ORCPT ); Tue, 31 Jan 2023 03:53:04 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FFF54DCD1 for ; Tue, 31 Jan 2023 00:49:00 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id lu11so2119485ejb.3 for ; Tue, 31 Jan 2023 00:48:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nd+tvsg6KSMv6B38RTUcGd8BtF6CnxphvFmUhBr+9WU=; b=DV1vJvBc1hy/6sAM6A9EzefNCcFntCGkBYlFjKgSLcpujlWeaYt0BzcMg+5rSMizux rkLbf+CuG6oHUcW9/twxK99E1T8yQDTOm2PDr2n2JfJwIff1u0187qV8O0GqYGqLlZc2 JGvF9ZLUUoUWYzcsR+pfa8JlOxm7JxnuhS235+VVfuy45xh0suWWGqYYDykpq+bbj6to bfwEl0BDHQMkt4oZs8Ek40j/Sm+gPnwBwEmMstwHtaOURt38v1faA8C+GsEe8L3Kjq32 sgql8dqCM5Ug/aGmlOVixDZI5VuBjelf9wqjLh4Jai6iapXm9R4LUaH4y7duPgJJNxdw vH0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nd+tvsg6KSMv6B38RTUcGd8BtF6CnxphvFmUhBr+9WU=; b=OpDG53uwblXhKZpCvHB+fqEy9tcdqK3FR4kwLrCkJs211Bk2HcQvV2Yixtr3GDY1ts nEsFJdZ/6mky9ZM1jbQUZZYHasHIzS1+piFS1jldAnCzhHcUqpgNC/k9FbwxCsF56xN+ Lyf4ZOakzQA8yz0q0a8LO4dwn8UYWcZGkdAH0yZDd0/O9PVQRVrnmJcwvGOVSWCyXltE lkMFGc8f37gFp2RqYdTl/WDOsaSZfjQzNCpXfORoJPItB7Sijo5B/ks7allct9O/vfgD mzhmO01ScL16HZDAQBG8vRQbpIGF+75slcq0c4sR5SdfhqRbz5bvKwLVTQt3ylLLnHws R57A== X-Gm-Message-State: AO0yUKU1k/szKG5xeCsdp4cmBYiA5nfhOBV7/iSgIQPNhXPwqP01jKn9 6F4R+wUQmo+QzM3K3bJPVOEkdNBjpxLRX65K X-Google-Smtp-Source: AK7set+ngSsS5aD4/eUOsFdaykj7m0Rjf7jzCJ+pvGpkfTIUtkUsXPUC5onQhSXoLhG5xcGp/dyDFw== X-Received: by 2002:a17:906:31cd:b0:878:4d11:f868 with SMTP id f13-20020a17090631cd00b008784d11f868mr2587405ejf.2.1675154865483; Tue, 31 Jan 2023 00:47:45 -0800 (PST) Received: from fedora.. ([85.235.10.72]) by smtp.gmail.com with ESMTPSA id h23-20020a17090619d700b00871ac327db6sm3282850ejd.45.2023.01.31.00.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Jan 2023 00:47:44 -0800 (PST) From: Linus Walleij To: linux-mmc@vger.kernel.org, Ulf Hansson Cc: Linus Walleij , linux-block@vger.kernel.org, Paolo Valente Subject: [PATCH] mmc: core: Imply IOSCHED_BFQ Date: Tue, 31 Jan 2023 09:47:42 +0100 Message-Id: <20230131084742.1038135-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org If we enable the MMC/SD block layer, use Kconfig to imply the BFQ I/O scheduler. As all MMC/SD devices are single-queue, this is the scheduler that users want so let's be helpful and make sure it gets default-selected into a manual kernel configuration. It will still need to be enabled at runtime (usually with udev scripts). Cc: linux-block@vger.kernel.org Cc: Paolo Valente Signed-off-by: Linus Walleij --- drivers/mmc/core/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/core/Kconfig b/drivers/mmc/core/Kconfig index 6f25c34e4fec..52fe9d7c21cc 100644 --- a/drivers/mmc/core/Kconfig +++ b/drivers/mmc/core/Kconfig @@ -37,6 +37,7 @@ config PWRSEQ_SIMPLE config MMC_BLOCK tristate "MMC block device driver" depends on BLOCK + imply IOSCHED_BFQ default y help Say Y here to enable the MMC block device driver support.