Files
kernel_xiaomi_sm8250/drivers/base
Suren Baghdasaryan 3092012197 ANDROID: GKI: QoS: Prevent usage of dev_pm_qos_request as pm_qos_request
pm_qos_set_value_for_cpus expects the list in pm_qos_constraints to
contain structs of type pm_qos_request. However requests from device
drivers will populate the list with dev_pm_qos_request structs.
pm_qos_set_value_for_cpus updates target_per_cpu array and since there
is no way to access target_per_cpu for device driver requests, we can
skip updating target_per_cpu for such requests. This will prevent
current issue when pm_qos_set_value_for_cpus accesses dev_pm_qos_request
structs as it they were pm_qos_request structs.

Fixes: 723feab600 ("ANDROID: GKI: QoS: Enhance framework to support cpu/irq specific QoS requests")
Bug: 183959482
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Iaa8d349b3c1f9cd8357b2e7912b16aadef78165f
2021-05-01 00:20:43 +00:00
..
2021-01-27 11:45:59 +01:00
2020-06-11 09:16:29 +02:00
2020-10-07 08:45:35 +02:00