mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 17:30:40 +03:00
Set the floorsweeping information for IPs only if the configuration is non Hypervisor. Force enable IPs are only valid for native-Linux config. On hypervisor config, a driver is allowed to only remap addresses owned by the device node. Thus, ioremap of perfmux addresses is not allowed in hypervisor configuration. Add check to prevent force enable IPs and ioremap in hypervisor configuration. JIRA THWPM-45 Change-Id: I8fe6d3c4984c66be5a117e0cc2164ea20a5374cb Signed-off-by: vasukis <vasukis@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2674003 Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> GVS: Gerrit_Virtual_Submit