acrn-hypervisor/devicemodel/hw/platform
Yonghua Huang 4b0590415d dm: disable TCC strict CPU affinity check
By default, pCPU is allowed to request software SRAM buffer
 from given region in TCC buffer driver only if this pCPU is
 set in the target region's CPU affinity configuration.

 This check shall be disabled for software SRAM virtualization
 usage in ACRN service VM, because software SRAM buffers are
 requested by ACRN DM on behalf of user VM, but ACRN DM and
 user VM may run on different CPUs while the target software
 SRAM region may be configured only for pCPUs that user VM runs on.

 This patch turns off such affinity check in TCC driver when
 initializing vSSRAM for user VM.

Tracked-On: #7010
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
2022-02-09 15:44:58 +08:00
..
acpi dm: remove dependency on vm_get_config() API 2022-01-28 14:54:28 +08:00
rpmb ACRN: misc: Unify terminology for uos in macro 2021-11-02 10:00:55 +08:00
tpm dm:add UID parameter for acpidev_pt 2022-01-28 11:34:31 +08:00
vssram dm: disable TCC strict CPU affinity check 2022-02-09 15:44:58 +08:00
atkbdc.c dm:use acrn-dm logger function instread of printf 2019-11-14 15:34:04 +08:00
cmos_io.c dm:use acrn-dm logger function instread of printf 2019-11-14 15:34:04 +08:00
debugexit.c dm: cleanup assert in core.c 2019-07-05 09:36:02 +08:00
hpet.c dm: timer: Convert print output to acrn-dm logger 2020-09-10 09:33:25 +08:00
ioapic.c dm: Remove header vmm.h 2021-07-15 11:53:54 +08:00
ioc.c dm: replace UUID with vmname. 2021-11-16 14:42:59 +08:00
ioc_cbc.c ACRN: misc: Unify terminology for sos/uos rin macro 2021-11-02 10:00:55 +08:00
pit.c dm: timer: Convert print output to acrn-dm logger 2020-09-10 09:33:25 +08:00
ps2kbd.c dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
ps2mouse.c dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
pty_vuart.c dm:Remove deprecated terms 2020-09-01 09:30:08 +08:00
rtc.c dm: refine 'assert' usage in timer.c and rtc.c 2019-06-20 08:55:44 +08:00
usb_mouse.c DM USB: dynamically allocate block count for struct usb_xfer 2019-09-26 11:29:22 +08:00
usb_pmapper.c ACRN:DM Release resource when destroy the device 2021-09-04 18:55:12 +08:00