RISCV: config: tizen_visionfive2: Disable JH7110 crypto driver
[platform/kernel/linux-starfive.git] / drivers / block / Kconfig
index f79f204..5b9d4aa 100644 (file)
@@ -385,6 +385,23 @@ config BLK_DEV_UBLK
          can handle batch more effectively, but task_work_add() isn't exported
          for module, so ublk has to be built to kernel.
 
+config BLKDEV_UBLK_LEGACY_OPCODES
+       bool "Support legacy command opcode"
+       depends on BLK_DEV_UBLK
+       default y
+       help
+         ublk driver started to take plain command encoding, which turns out
+         one bad way. The traditional ioctl command opcode encodes more
+         info and basically defines each code uniquely, so opcode conflict
+         is avoided, and driver can handle wrong command easily, meantime it
+         may help security subsystem to audit io_uring command.
+
+         Say Y if your application still uses legacy command opcode.
+
+         Say N if you don't want to support legacy command opcode. It is
+         suggested to enable N if your application(ublk server) switches to
+         ioctl command encoding.
+
 source "drivers/block/rnbd/Kconfig"
 
 endif # BLK_DEV