diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2024-03-12 12:14:22 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-03-12 12:14:22 -0500 |
commit | 3dfd8247969adeaa814a335f994eaebea36a53bd (patch) | |
tree | a623978f5b29c43fe8c31da5f593e2dff379d9a6 /drivers/pci | |
parent | 420b8c36069587abf77d2b51fbaa24e9fc5dda67 (diff) | |
parent | 1e5c66afd4a40bb7be17cb33cbb1a1085f727730 (diff) |
Merge branch 'pci/p2pdma'
- Fix a sleeping issue in a RCU read section (Christophe JAILLET)
* pci/p2pdma:
PCI/P2PDMA: Fix a sleeping issue in a RCU read section
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/p2pdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/p2pdma.c b/drivers/pci/p2pdma.c index 0c361561b855..4f47a13cb500 100644 --- a/drivers/pci/p2pdma.c +++ b/drivers/pci/p2pdma.c @@ -661,7 +661,7 @@ done: p2pdma = rcu_dereference(provider->p2pdma); if (p2pdma) xa_store(&p2pdma->map_types, map_types_idx(client), - xa_mk_value(map_type), GFP_KERNEL); + xa_mk_value(map_type), GFP_ATOMIC); rcu_read_unlock(); return map_type; } |