Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvme-pci: Disable Host Memory Buffer usage #6510

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented Dec 3, 2024

Some NVME drives seem to request significant amounts of DMA coherent memory - enough to exhaust our standard 64MB CMA allocation.

Try disabling the feature to see what effect it has - drives should continue to function without it.

Link: #6504

Some NVME drives seem to request significant amounts of DMA coherent
memory - enough to exhaust our standard 64MB CMA allocation.

Try disabling the feature to see what effect it has - drives should
continue to function without it.

Link: raspberrypi#6504

Signed-off-by: Phil Elwell <[email protected]>
@P33M
Copy link
Contributor

P33M commented Dec 3, 2024

NVM Express v1.4a s8.9:

8.9 Host Memory Buffer (Optional)

The Host Memory Buffer (HMB) feature allows the controller to utilize an assigned portion of host memory exclusively. The use of the host memory resources is vendor specific. Host software may not be able to provide any or a limited amount of the host memory resources requested by the controller. The controller shall function properly without host memory resources.

So drives shouldn't fail if the allocation fails, but throughput may suffer.

@P33M P33M closed this Dec 3, 2024
@P33M P33M reopened this Dec 3, 2024
@pelwell pelwell merged commit fda47c0 into raspberrypi:rpi-6.6.y Dec 4, 2024
22 of 24 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Dec 10, 2024
kernel: Revert "PCI: Warn if no host bridge NUMA node info"
See: raspberrypi/linux#6531

kernel: drm/v3d: Enable Performance Counters before clearing them
See: raspberrypi/linux#6514

kernel: configs: Enable Intel Wireless (PCI) drivers
See: raspberrypi/linux#6526

kernel: media: i2c: ov9282: Correct the exposure offset
See: raspberrypi/linux#6522

kernel: waveshare panel driver update
See: raspberrypi/linux#6499

kernel: dtoverlays: Add Arducam override for ov9281
See: raspberrypi/linux#6506

kernel: nvme-pci: Disable Host Memory Buffer usage
See: raspberrypi/linux#6510

kernel: Allow setting I²C clock frequency via i2c_arm_baudrate dtparam when using pimidi overlay
See: raspberrypi/linux#6513
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Dec 10, 2024
kernel: Revert "PCI: Warn if no host bridge NUMA node info"
See: raspberrypi/linux#6531

kernel: drm/v3d: Enable Performance Counters before clearing them
See: raspberrypi/linux#6514

kernel: configs: Enable Intel Wireless (PCI) drivers
See: raspberrypi/linux#6526

kernel: media: i2c: ov9282: Correct the exposure offset
See: raspberrypi/linux#6522

kernel: waveshare panel driver update
See: raspberrypi/linux#6499

kernel: dtoverlays: Add Arducam override for ov9281
See: raspberrypi/linux#6506

kernel: nvme-pci: Disable Host Memory Buffer usage
See: raspberrypi/linux#6510

kernel: Allow setting I²C clock frequency via i2c_arm_baudrate dtparam when using pimidi overlay
See: raspberrypi/linux#6513
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants