1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 19:27:35 +00:00
serenity/Kernel/Devices/Storage/NVMe
Pankaj Raghav 7138395982 NVMe: Add shadow doorbell support
Shadow doorbell feature was added in the NVMe spec to improve
the performance of virtual devices.

Typically, ringing a doorbell involves writing to an MMIO register in
QEMU, which can be expensive as there will be a trap for the VM.

Shadow doorbell mechanism was added for the VM to communicate with the
OS when it needs to do an MMIO write, thereby avoiding it when it is
not necessary.

There is no performance improvement with this support in Serenity
at the moment because of the block layer constraint of not batching
multiple IOs. Once the command batching support is added to the block
layer, shadow doorbell support can improve performance by avoiding many
MMIO writes.

Default to old MMIO mechanism if shadow doorbell is not supported.
2023-08-18 15:47:51 +02:00
..
NVMeController.cpp NVMe: Add shadow doorbell support 2023-08-18 15:47:51 +02:00
NVMeController.h NVMe: Add shadow doorbell support 2023-08-18 15:47:51 +02:00
NVMeDefinitions.h NVMe: Add shadow doorbell support 2023-08-18 15:47:51 +02:00
NVMeInterruptQueue.cpp NVMe: Add a new struct Doorbell to encapsulate doorbell registers 2023-08-18 15:47:51 +02:00
NVMeInterruptQueue.h NVMe: Add a new struct Doorbell to encapsulate doorbell registers 2023-08-18 15:47:51 +02:00
NVMeNameSpace.cpp Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
NVMeNameSpace.h Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
NVMePollQueue.cpp NVMe: Add a new struct Doorbell to encapsulate doorbell registers 2023-08-18 15:47:51 +02:00
NVMePollQueue.h NVMe: Add a new struct Doorbell to encapsulate doorbell registers 2023-08-18 15:47:51 +02:00
NVMeQueue.cpp NVMe: Add shadow doorbell support 2023-08-18 15:47:51 +02:00
NVMeQueue.h NVMe: Add shadow doorbell support 2023-08-18 15:47:51 +02:00