Re: [PATCH] iommu/amd: Don't use dev_data in irte_ga_set_affinity()

2018-02-13 Thread Joerg Roedel
On Sun, Jan 28, 2018 at 02:22:19PM -0600, Scott Wood wrote: > 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

[PATCH] iommu/amd: Don't use dev_data in irte_ga_set_affinity()

2018-01-28 Thread Scott Wood
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 --- This is a followup to the patches below: https://patchwork.codeaur