1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 14:47:35 +00:00
serenity/Kernel/Devices/Storage
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
..
ATA Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
NVMe NVMe: Add shadow doorbell support 2023-08-18 15:47:51 +02:00
SD Kernel: Increase SD Data Timeout 2023-06-30 23:45:47 +02:00
DiskPartition.cpp Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
DiskPartition.h Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
StorageController.cpp Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
StorageController.h Kernel: Move {Virtual,Physical}Address classes to the Memory directory 2023-06-04 21:32:34 +02:00
StorageDevice.cpp Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
StorageDevice.h Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00
StorageManagement.cpp Kernel+LibCore+LibC: Split the mount syscall into multiple syscalls 2023-07-02 01:04:51 +02:00
StorageManagement.h Kernel: Move the Storage directory to be a new directory under Devices 2023-06-02 11:04:37 +02:00