diff options
author | Hannes Reinecke <hare@suse.de> | 2021-12-21 08:20:29 +0100 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-01-04 12:00:57 +0100 |
commit | f8ec26d0f5bcdb864f771fb6d250d9ed3165eb61 (patch) | |
tree | 6729c3d646606f4c012098cd92ee22692ef4a158 /drivers/ata/ahci_qoriq.c | |
parent | ata: libata: sanitize ATA_HORKAGE_DUMP_ID (diff) | |
download | linux-f8ec26d0f5bcdb864f771fb6d250d9ed3165eb61.tar.xz linux-f8ec26d0f5bcdb864f771fb6d250d9ed3165eb61.zip |
ata: libata: add reset tracepoints
To follow the flow of control we should be using tracepoints, as
they will tie in with the actual I/O flow and deliver a better
overview about what it happening.
This patch adds tracepoints for hard reset, soft reset, and postreset
and adds them in the libata-eh control flow.
With that we can drop the reset DPRINTK calls in the various drivers.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/ahci_qoriq.c')
-rw-r--r-- | drivers/ata/ahci_qoriq.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/ahci_qoriq.c b/drivers/ata/ahci_qoriq.c index 5b46fc9aeb4a..bf5b388bd4e0 100644 --- a/drivers/ata/ahci_qoriq.c +++ b/drivers/ata/ahci_qoriq.c @@ -103,8 +103,6 @@ static int ahci_qoriq_hardreset(struct ata_link *link, unsigned int *class, int rc; bool ls1021a_workaround = (qoriq_priv->type == AHCI_LS1021A); - DPRINTK("ENTER\n"); - hpriv->stop_engine(ap); /* @@ -146,8 +144,6 @@ static int ahci_qoriq_hardreset(struct ata_link *link, unsigned int *class, if (online) *class = ahci_dev_classify(ap); - - DPRINTK("EXIT, rc=%d, class=%u\n", rc, *class); return rc; } |