aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-01-14ata: sata_fsl: fix scsi host initializationDamien Le Moal2-2/+12
When compiling with W=1, the sata_fsl driver compilation throws the warning: drivers/ata/sata_fsl.c:1385:22: error: initialized field overwritten [-Werror=override-init] 1385 | .can_queue = SATA_FSL_QUEUE_DEPTH, This is due to the driver scsi host template initialization overwriting the can_queue field that is already set using the ATA_NCQ_SHT() initializer macro, resulting in the same field being initialized twice in the host template declaration. To remove this warning, introduce the ATA_SUBBASE_SHT_QD() and ATA_NCQ_SHT_QD() initialization macros to allow specifying a queue depth different from the default ATA_DEF_QUEUE using an additional argument to the macro. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-14ata: pata_bk3710: add compile test supportDamien Le Moal1-1/+1
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable ARCH_DAVINCI. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-14ata: ahci_seattle: add compile test supportDamien Le Moal1-1/+1
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable ARCH_SEATTLE. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-14ata: ahci_xgene: add compile test supportDamien Le Moal1-1/+1
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable PHY_XGENE. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-14ata: ahci_tegra: add compile test supportDamien Le Moal1-1/+1
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable ARCH_TEGRA. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-14ata: ahci_sunxi: add compile test supportDamien Le Moal1-1/+1
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable ARCH_SUNXI. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-14ata: ahci_mvebu: add compile test supportDamien Le Moal1-1/+1
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable ARCH_MVEBU. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-14ata: ahci_mtk: add compile test supportDamien Le Moal1-1/+1
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable ARCH_MEDIATEK. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-05ata: ahci_dm816: add compile test supportDamien Le Moal1-1/+1
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable ARCH_OMAP2PLUS. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-05ata: ahci_da850: add compile test supportDamien Le Moal1-1/+1
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable ARCH_DAVINCI_DA850. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-05ata: ahci_brcm: add compile test supportDamien Le Moal1-1/+1
Add Kconfig dependendy on COMPILE_TEST to allow compile tests with configs that do not enable ARCH_BRCMSTB, BMIPS_GENERIC or ARCH_BCM_XXX. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-05ata: sata_fsl: add compile test supportDamien Le Moal1-1/+1
Add dependendy on COMPILE_TEST to allow compile tests with configs that do not enable FSL_SOC. Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]>
2022-01-05ata: sata_dwc_460ex: Remove debug compile optionsHannes Reinecke2-20/+0
Driver has been converted to dynamic debugging, so the compile-time options don't have any functionality left. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_dwc_460ex: remove 'check_status' argumentHannes Reinecke1-16/+13
Remove the 'check_status' argument from sata_dwc_qc_complete() and sata_dwc_dma_xfer_complete() as it has no functionality. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_dwc_460ex: drop DEBUG_NCQHannes Reinecke1-28/+0
Obsolete, and has been converted to tracepoints. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: libata-scsi: rework ata_dump_status to avoid using pr_cont()Hannes Reinecke1-28/+23
pr_cont() has the problem that individual calls will be disrupted under high load, causing each call to end up on a single line and thereby mangling the output. So rework ata_dump_status() to have just one call to ata_port_warn() and avoid this problem. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_hpt366: convert pr_warn() callsHannes Reinecke1-4/+1
Convert pr_warn() calls to ata_dev_warn() Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_gemini: convert pr_err() callsHannes Reinecke1-2/+2
Convert pr_err() calls to dev_err() Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_hpt3x2n: convert pr_XXX() callsHannes Reinecke1-7/+5
Convert pr_XXX() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_octeon_cf: Replace pr_XXX() calls with structured loggingHannes Reinecke1-2/+2
Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_hpt37x: convert pr_XXX() callsHannes Reinecke1-10/+10
Convert pr_XXX() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_mv: convert remaining printk() to structured loggingHannes Reinecke1-14/+16
Refactor the .reset_hc() callback and convert the remaining printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_sx4: convert printk() callsHannes Reinecke1-4/+5
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_sil680: convert printk() callsHannes Reinecke1-4/+4
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_serverworks: convert printk() callsHannes Reinecke1-2/+2
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_rz1000: convert printk() callsHannes Reinecke1-2/+2
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_marvell: convert printk() callsHannes Reinecke1-7/+2
Convert the printk() call to structured logging and drop the pointless PCI bar debug messages. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_it821x: convert printk() callsHannes Reinecke1-19/+24
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_cypress: convert printk() callsHannes Reinecke1-1/+1
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_cs5536: convert printk() callsHannes Reinecke1-2/+2
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_cs5520: convert printk() callsHannes Reinecke1-2/+2
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_cmd64x: convert printk() callsHannes Reinecke1-2/+2
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_cmd640: convert printk() callsHannes Reinecke1-1/+1
Convert printk() calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: pata_atp867x: convert printk() callsHannes Reinecke1-55/+50
Convert printk() calls to structured logging. [Damien] Fix ata_port_dbg() format in atp867x_check_ports() to avoid compile warnings with 32-bits arch. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: libata: remove debug compilation switchesHannes Reinecke4-19/+0
Unused now, so remove and drop any references to them. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: libata: remove 'new' ata message handlingHannes Reinecke1-13/+0
Remove the remaining bits for the 'new' ata message handling. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: libata: drop ata_msg_drv()Hannes Reinecke3-21/+7
Callers are already protected by ata_dev_print_info(), so no need to have an additional configuration parameter here. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: libata: drop ata_msg_info()Hannes Reinecke2-9/+3
Convert the sole caller to ata_dev_dbg() and remove the definition. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: libata: drop ata_msg_probe()Hannes Reinecke4-35/+14
All callsites have been converted to dynamic debugging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: libata: drop ata_msg_warn()Hannes Reinecke2-13/+8
The WARN level was always enabled, so drop ata_msg_warn(). Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: libata: drop ata_msg_malloc()Hannes Reinecke2-3/+1
Unused. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: libata: drop ata_msg_ctl()Hannes Reinecke2-7/+2
The one caller have been converted to dynamic debugging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: libata: drop ata_msg_error() and ata_msg_intr()Hannes Reinecke2-7/+3
Unused. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_sx4: add module parameter 'dimm_test'Hannes Reinecke1-20/+14
Add module parameter 'dimm_test' to enable DIMM testing during startup. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_sx4: Drop pointless VPRINTK() calls and convert the remaining onesHannes Reinecke1-71/+34
Drop pointless VPRINTK() calls for setting up SG tables and convert the remaining calls to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_sil: Drop pointless VPRINTK() callsHannes Reinecke1-1/+0
Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_fsl: convert VPRINTK() calls to ata_port_dbg()Hannes Reinecke1-47/+33
Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_nv: drop pointless VPRINTK() calls and convert remaining onesHannes Reinecke1-24/+14
Quite some information from the VPRINTK() is already covered by tracepoints, so remove the pointless calls and convert the remaining ones to structured logging. Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_mv: Drop pointless VPRINTK() call and convert the remaining oneHannes Reinecke1-6/+1
Drop pointless VPRINTK() call and convert the remaining one to dev_dbg(). Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
2022-01-05ata: sata_inic162x: Drop pointless VPRINTK() callsHannes Reinecke1-2/+0
Signed-off-by: Hannes Reinecke <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>