mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
30 lines
935 B
Diff
30 lines
935 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Patrick Yavitz <pyavitz@armbian.com>
|
|
Date: Fri, 21 Jun 2024 11:54:06 -0400
|
|
Subject: add spacemit patch set
|
|
|
|
source: https://gitee.com/bianbu-linux/linux-6.1
|
|
|
|
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
|
|
---
|
|
drivers/nvme/host/core.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
|
|
index 111111111111..222222222222 100644
|
|
--- a/drivers/nvme/host/core.c
|
|
+++ b/drivers/nvme/host/core.c
|
|
@@ -1964,6 +1964,9 @@ static void nvme_update_disk_info(struct gendisk *disk,
|
|
* value of the Atomic Write Unit Power Fail parameter.
|
|
*/
|
|
blk_queue_physical_block_size(disk->queue, min(phys_bs, atomic_bs));
|
|
+#if defined(CONFIG_SOC_SPACEMIT_K1X)
|
|
+ blk_queue_max_segment_size(disk->queue, 0x80000);
|
|
+#endif
|
|
blk_queue_io_min(disk->queue, phys_bs);
|
|
blk_queue_io_opt(disk->queue, io_opt);
|
|
|
|
--
|
|
Armbian
|
|
|