commit | 01ee04badefd296eb7a4430497373be9b7b16783 | [log] [tgz] |
---|---|---|
author | Scott Wood <swood@redhat.com> | Sun Jan 28 14:22:19 2018 -0600 |
committer | Joerg Roedel <jroedel@suse.de> | Tue Feb 13 14:18:06 2018 +0100 |
tree | 052d934c5c284606d63ed20e44db4b19ede82d0d | |
parent | 27790398c2aed917828dc3c6f81240d57f1584c9 [diff] |
iommu/amd: Don't use dev_data in irte_ga_set_affinity() search_dev_data() acquires a non-raw lock, which can't be done from atomic context on PREEMPT_RT. There is no need to look at dev_data because guest_mode should never be set if use_vapic is not set. Signed-off-by: Scott Wood <swood@redhat.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>