hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/scsi/isci/port.c
....@@ -164,7 +164,8 @@
164164 "%s: isci_phy = %p, sas_phy = %p\n",
165165 __func__, iphy, &iphy->sas_phy);
166166
167
- ihost->sas_ha.notify_port_event(&iphy->sas_phy, PORTE_BROADCAST_RCVD);
167
+ sas_notify_port_event_gfp(&iphy->sas_phy,
168
+ PORTE_BROADCAST_RCVD, GFP_ATOMIC);
168169 sci_port_bcn_enable(iport);
169170 }
170171
....@@ -223,8 +224,8 @@
223224 /* Notify libsas that we have an address frame, if indeed
224225 * we've found an SSP, SMP, or STP target */
225226 if (success)
226
- isci_host->sas_ha.notify_port_event(&iphy->sas_phy,
227
- PORTE_BYTES_DMAED);
227
+ sas_notify_port_event_gfp(&iphy->sas_phy,
228
+ PORTE_BYTES_DMAED, GFP_ATOMIC);
228229 }
229230
230231
....@@ -270,8 +271,8 @@
270271 * isci_port_deformed and isci_dev_gone functions.
271272 */
272273 sas_phy_disconnected(&isci_phy->sas_phy);
273
- isci_host->sas_ha.notify_phy_event(&isci_phy->sas_phy,
274
- PHYE_LOSS_OF_SIGNAL);
274
+ sas_notify_phy_event_gfp(&isci_phy->sas_phy,
275
+ PHYE_LOSS_OF_SIGNAL, GFP_ATOMIC);
275276
276277 dev_dbg(&isci_host->pdev->dev,
277278 "%s: isci_port = %p - Done\n", __func__, isci_port);