mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
150d143755
As a result of the API change the memory handling could be simplified. Since the Block session dataspace is now directly used for DMA, we actually only have to provide the memory for setting up PRP lists for large requests (for the moment more than 8 KiB of data). As we limit the maximum data transfer length to 2 MiB, we get by with just a page per request. Those memory is allocated beforehand for the maximum number of I/O requests, which got bumbed to 512 entries. Since not all NVMe controllers support such large a maximum data transfer length and this many entries, especially older ones, the values are capped according to the properties of the controller during initialization. (The memory demands of the component are around 3 MiB due to setting up for the common case, even if a particular controller is only able to make use of less.) (Although there are controllers whose maximum memory page size is more than 4K, the driver is hardcoded to solely use 4K pages.) In addition to those changes, the driver now supports the 'SYNC' and 'TRIM' operations of the Block session by using the NVMe 'FLUSH' and 'WRITE_ZEROS' commands. Fixes #3702. |
||
---|---|---|
.. | ||
ahci_bench.run | ||
ahci_block.run | ||
audio_out_click.run | ||
block_request_stream.run | ||
block_tester.run | ||
bomb.run | ||
cache.run | ||
cpu_bench.run | ||
cpu_quota.run | ||
demo.run | ||
fb_bench.run | ||
framebuffer.run | ||
gpio_led.run | ||
gpio_signal.run | ||
init_smp.run | ||
input_filter.run | ||
input.run | ||
kdb_uart_drv.run | ||
loader.run | ||
log_core.run | ||
mixer.run | ||
nic_bridge_stress.run | ||
nic_dump.run | ||
nic_router_flood.run | ||
nic_router_stress.run | ||
nic_stress.inc | ||
nvme.run | ||
pci.run | ||
ping_nic_router.run | ||
ping.run | ||
pointer.run | ||
rom_to_file.run | ||
rtc.run | ||
sandbox.run | ||
sd_card_bench.run | ||
sd_card.run | ||
smbios_decoder.run | ||
tar_rom.run | ||
test.run | ||
timeout.run | ||
tz_vmm.run | ||
uart.run | ||
usb_block.run | ||
vmm_arm.run | ||
vmm_x86.run |