Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160966987
D53296.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
543 B
Referenced Files
None
Subscribers
None
D53296.diff
View Options
diff --git a/sys/dev/nvme/nvme_ctrlr.c b/sys/dev/nvme/nvme_ctrlr.c
--- a/sys/dev/nvme/nvme_ctrlr.c
+++ b/sys/dev/nvme/nvme_ctrlr.c
@@ -907,7 +907,7 @@
size = sizeof(struct nvme_hmb_desc) * ctrlr->hmb_nchunks;
err = bus_dma_tag_create(bus_get_dma_tag(ctrlr->dev),
- 16, 0, BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR, NULL, NULL,
+ PAGE_SIZE, 0, BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR, NULL, NULL,
size, 1, size, 0, NULL, NULL, &ctrlr->hmb_desc_tag);
if (err != 0) {
nvme_printf(ctrlr, "HMB desc tag create failed %d\n", err);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 30, 11:56 AM (19 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34501004
Default Alt Text
D53296.diff (543 B)
Attached To
Mode
D53296: nvme host buffer (HMB): alignment quirck for Crucial NVME
Attached
Detach File
Event Timeline
Log In to Comment