diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-07-11 17:21:05 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-07-11 19:45:28 +0200 |
commit | 23ebda2fc715534d383d59ae6740d4e3ebd43798 (patch) | |
tree | a94766bcc0e926fffa87fa941adb25787e1c923f /Documentation | |
parent | ata: ahci_platform: allow disabling of hotplug to save power (diff) | |
download | linux-23ebda2fc715534d383d59ae6740d4e3ebd43798.tar.xz linux-23ebda2fc715534d383d59ae6740d4e3ebd43798.zip |
libata: remove ata_sff_data_xfer_noirq()
ata_sff_data_xfer_noirq() is invoked via the ->sff_data_xfer hook. The
latter is invoked by ata_pio_sector(), atapi_send_cdb() and
__atapi_pio_bytes() which in turn is invoked by ata_sff_hsm_move().
The latter function requires that the "ap->lock" lock is held which
needs to be taken with disabled interrupts.
There is no need have to have ata_sff_data_xfer_noirq() which invokes
ata_sff_data_xfer32() with disabled interrupts because at this point the
interrupts are already disabled.
Remove the function and its references to it and replace all callers
with ata_sff_data_xfer32().
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/driver-api/libata.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/driver-api/libata.rst b/Documentation/driver-api/libata.rst index 4adc056f7635..70e180e6b93d 100644 --- a/Documentation/driver-api/libata.rst +++ b/Documentation/driver-api/libata.rst @@ -118,8 +118,7 @@ PIO data read/write All bmdma-style drivers must implement this hook. This is the low-level operation that actually copies the data bytes during a PIO data transfer. Typically the driver will choose one of -:c:func:`ata_sff_data_xfer_noirq`, :c:func:`ata_sff_data_xfer`, or -:c:func:`ata_sff_data_xfer32`. +:c:func:`ata_sff_data_xfer`, or :c:func:`ata_sff_data_xfer32`. ATA command execute ~~~~~~~~~~~~~~~~~~~ |