EXPORT_SYMBOL(pmu_set_lss01_to_d0i0_atomic);
/**
-* FIXME:: device_causing_hang - Checks Devices which are causing the platform Hang
-* at boot time on RTPM Enabling.
-*
-*/
-static inline bool device_causing_hang(struct pci_dev *pdev)
-{
- /*
- * lss 41 - causing Hang in platform when Bluetooth
- * is turned ON/OFF (UART0/1/2 are under lss41).
- */
- return ((pdev) && (pdev->device) &&
- ((pdev->device == UART0_DEVICE_ID) ||
- (pdev->device == UART1_DEVICE_ID) ||
- (pdev->device == UART2_DEVICE_ID)));
-}
-
-/**
* pmu_pci_set_power_state - Callback function is used by all the PCI devices
* for a platform specific device power on/shutdown.
*
if (unlikely((!pmu_initialized)))
return 0;
- /* FIXME:: This is to prevent D0ix requests from USB and SPI1 on CVT.
- * Platform is getting Hanged when these are sending D0ix requests.
- */
- if (__intel_mid_cpu_chip == INTEL_MID_CPU_CHIP_CLOVERVIEW) {
- if (device_causing_hang(pdev))
- return 0;
- }
-
/* Try to acquire the scu_ready_sem, if not
* get blocked, until pmu_sc_irq() releases */
down(&mid_pmu_cxt->scu_ready_sem);
#define MID_PMU_CLV_DRV_DEV_ID 0x08EC
#define PMU_DRV_NAME "intel_pmu_driver"
-/* FIXME:: Avoid CVT platform to Hang on enabling RTPM*/
-#define USB_DEVICE_ID 0xe006
-#define SPI1_DEVICE_ID 0x8e1
-#define UART0_DEVICE_ID 0x8fc
-#define UART1_DEVICE_ID 0x8fd
-#define UART2_DEVICE_ID 0x8fe
-
#define MID_PCI_INDEX_HASH_BITS 7 /*size 128*/
#define MID_PCI_INDEX_HASH_SIZE (1<<MID_PCI_INDEX_HASH_BITS)
#define MID_PCI_INDEX_HASH_MASK (MID_PCI_INDEX_HASH_SIZE-1)