acrn-hypervisor/devicemodel/include
Conghui Chen 2ddd24e022 dm: storage: support discard command
Support DISCARD command is meaningful when eMMC usage is high or
there are lots of remove operations. For example, when Guest
Android is running, there will be lots of files being created and
removed. However, virtio-blk BE does not support DISCARD command,
data remove operation in UOS will not trigger erase in eMMC. After
period of time, the eMMC will be consumed out, and erase must be
done by eMMC firmware before writing any new data. This causes the
eMMC performance decrease in the whole system (SOS and UOS).
To solve the problem, DISCARD should be supported in virtio-blk BE.

Tracked-On: #2011
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
2018-12-18 13:21:07 +08:00
..
public hv: Add IO request completion polling feature 2018-11-21 14:35:12 +08:00
acpi.h DM: Add funciton to update PM_WAK_STS 2018-08-02 13:14:03 +08:00
ahci.h initial import 2018-05-11 14:44:28 +08:00
ata.h initial import 2018-05-11 14:44:28 +08:00
atkbdc.h DM: add deinit function to virtual keyboard device 2018-05-15 17:25:24 +08:00
atomic.h DM: add wrappers to gcc built-in atomic operations 2018-08-08 15:53:07 +08:00
block_if.h dm: storage: support discard command 2018-12-18 13:21:07 +08:00
console.h DM: add deinit function for ps2kbd and ps2mouse 2018-05-15 17:25:24 +08:00
cpuset.h initial import 2018-05-11 14:44:28 +08:00
dm.h dm: add option to boot OVMF from acrn-dm 2018-12-13 09:56:09 +08:00
dm_string.h doc: replace return with retval 2018-11-30 14:55:17 +08:00
gc.h initial import 2018-05-11 14:44:28 +08:00
i8253reg.h dm: vpit: add PIT-related header files 2018-10-09 13:24:47 +08:00
inout.h dm: cmdline: remove unused parameters 2018-10-26 13:37:47 +08:00
ioapic.h DM: increase vioapic pin count 2018-05-16 15:09:48 +08:00
ioc.h IOC mediator: add RTC feature 2018-09-12 09:18:44 +08:00
iodev.h initial import 2018-05-11 14:44:28 +08:00
irq.h initial import 2018-05-11 14:44:28 +08:00
lpc.h initial import 2018-05-11 14:44:28 +08:00
macros.h dm: vpit: add vPIT support 2018-10-09 13:24:47 +08:00
mc146818rtc.h initial import 2018-05-11 14:44:28 +08:00
mei.h dm: mei: add mei hbm protocol definitions header. 2018-10-23 11:40:15 +08:00
mem.h dm: fix the issue when guest tries to disable memory range access 2018-10-08 12:57:00 +08:00
mevent.h dm: enhence the mevent API 2018-12-07 20:21:33 +08:00
monitor.h DM: add interface to set intr storm monitor params 2018-11-08 14:43:05 +08:00
mptable.h initial import 2018-05-11 14:44:28 +08:00
mptbl.h initial import 2018-05-11 14:44:28 +08:00
netmap.h initial import 2018-05-11 14:44:28 +08:00
netmap_user.h initial import 2018-05-11 14:44:28 +08:00
npk.h DM: implement emulated npk pci device 2018-06-07 16:11:49 +08:00
ns16550.h initial import 2018-05-11 14:44:28 +08:00
pci_core.h dm: hw: Replace sscanf with permitted string API 2018-12-17 19:17:29 +08:00
pciio.h initial import 2018-05-11 14:44:28 +08:00
pcireg.h dm: Disable stolen memory for passthru graphics 2018-06-29 00:50:01 +08:00
pit.h dm: vpit: add PIT-related header files 2018-10-09 13:24:47 +08:00
pm.h DM: register pm ops to monitor 2018-08-02 13:14:03 +08:00
ps2kbd.h DM: add deinit function for ps2kbd and ps2mouse 2018-05-15 17:25:24 +08:00
ps2mouse.h DM: add deinit function for ps2kbd and ps2mouse 2018-05-15 17:25:24 +08:00
rpmb.h dm: rpmb: DM customized changes for RPMB mux kernel module 2018-10-19 22:31:28 +08:00
rpmb_backend.h DM: RPMB virtualization 2018-05-25 10:45:24 +08:00
rpmb_sim.h dm: inline functions defined in header must be static 2018-10-11 19:04:18 +08:00
rtc.h dm: vrtc: add memory configuration in RTC CMOS 2018-10-05 00:33:17 +08:00
segments.h initial import 2018-05-11 14:44:28 +08:00
smbiostbl.h initial import 2018-05-11 14:44:28 +08:00
specialreg.h initial import 2018-05-11 14:44:28 +08:00
sw_load.h dm: add option to boot OVMF from acrn-dm 2018-12-13 09:56:09 +08:00
timer.h DM: add acrn_timer api for timer emulation 2018-10-17 14:31:09 +08:00
tpm.h DM: Add support for virtual TPM enabling 2018-11-29 09:19:16 +08:00
tree.h initial import 2018-05-11 14:44:28 +08:00
types.h dm: types: add container_of macro 2018-10-23 11:40:15 +08:00
uart_core.h DM: cleanup resource for uart. 2018-05-15 17:25:55 +08:00
usb.h DM USB: move the UREQ macro into common header 2018-05-29 10:35:05 +08:00
usb_core.h DM USB: add usb_dev_path_cmp function for convenience 2018-12-14 19:40:44 +08:00
usb_pmapper.h DM USB: xHCI: support multiple hubs in single layer 2018-10-19 22:39:50 +08:00
usbdi.h initial import 2018-05-11 14:44:28 +08:00
vbs_common_if.h dm: virtio: add support for VBS-K device reset 2018-08-16 16:22:43 +08:00
vhost.h dm: vhost: remove support for non-msix devices 2018-12-14 19:49:55 +08:00
virtio.h dm: virtio poll mode support for RT 2018-12-04 18:27:53 +08:00
virtio_kernel.h doc: update virtio related functions doc comments 2018-11-04 20:32:50 -08:00
vmcfg.h DM: VMcfg: support --dump options 2018-10-22 16:57:23 +08:00
vmm.h DM: adapt to the new VHM request state transitions 2018-08-08 15:53:07 +08:00
vmmapi.h dm: add BIOS/ROM image loading support at High BIOS region 2018-12-13 09:56:09 +08:00
vrpmb.h DM: Generate vRPMB key when creating UOS 2018-05-25 10:45:24 +08:00
xhci.h DM USB: xHCI: remove the waiting 5 seconds wa for s3 2018-12-14 19:40:44 +08:00
xhcireg.h DM USB: xHCI: Update the native DRD interfaces. 2018-07-10 13:42:17 +08:00