From 3097786e321b44101f7015c0fb17cffd02092c47 Mon Sep 17 00:00:00 2001
From: Josef Schlehofer <josef.schlehofer@nic.cz>
Date: Mon, 11 Oct 2021 11:45:02 +0200
Subject: [PATCH] patches/openwrt: BFQ: enable BFQ_GROUP_IOSCHED

---
 patches/openwrt/wip/0012-mvebu-mpc85xx-build-BFQ.patch | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/patches/openwrt/wip/0012-mvebu-mpc85xx-build-BFQ.patch b/patches/openwrt/wip/0012-mvebu-mpc85xx-build-BFQ.patch
index 7529ed8c9..5f7448596 100644
--- a/patches/openwrt/wip/0012-mvebu-mpc85xx-build-BFQ.patch
+++ b/patches/openwrt/wip/0012-mvebu-mpc85xx-build-BFQ.patch
@@ -8,19 +8,20 @@ on sequential workloads which is especially nice for NASes.
 
 Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
 ---
- target/linux/mpc85xx/config-4.14 | 1 +
- target/linux/mvebu/config-4.14   | 1 +
+ target/linux/mpc85xx/config-4.14 | 2 ++
+ target/linux/mvebu/config-4.14   | 2 ++
  2 files changed, 2 insertions(+)
 
 diff --git a/target/linux/mpc85xx/config-4.14 b/target/linux/mpc85xx/config-4.14
 index 77fd10f302..50fc0aeecf 100644
 --- a/target/linux/mpc85xx/config-4.14
 +++ b/target/linux/mpc85xx/config-4.14
-@@ -177,6 +177,7 @@ CONFIG_I2C_MPC=y
+@@ -177,6 +177,8 @@ CONFIG_I2C_MPC=y
  CONFIG_ILLEGAL_POINTER_VALUE=0
  CONFIG_INITRAMFS_SOURCE=""
  CONFIG_IOMMU_HELPER=y
 +CONFIG_IOSCHED_BFQ=y
++CONFIG_BFQ_GROUP_IOSCHED=y
  # CONFIG_IPIC is not set
  CONFIG_IRQCHIP=y
  CONFIG_IRQ_DOMAIN=y
@@ -28,11 +29,12 @@ diff --git a/target/linux/mvebu/config-4.14 b/target/linux/mvebu/config-4.14
 index 7a0caeeb61..3f8466b4a4 100644
 --- a/target/linux/mvebu/config-4.14
 +++ b/target/linux/mvebu/config-4.14
-@@ -278,6 +278,7 @@ CONFIG_I2C_MV64XXX=y
+@@ -278,6 +278,8 @@ CONFIG_I2C_MV64XXX=y
  # CONFIG_I2C_PXA is not set
  CONFIG_INITRAMFS_SOURCE=""
  CONFIG_IOMMU_HELPER=y
 +CONFIG_IOSCHED_BFQ=y
++CONFIG_BFQ_GROUP_IOSCHED=y
  CONFIG_IRQCHIP=y
  CONFIG_IRQ_DOMAIN=y
  CONFIG_IRQ_DOMAIN_DEBUG=y
-- 
GitLab