ata: libata-core: Allow forcing most horkage flags
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 18 Mar 2022 05:03:06 +0000 (14:03 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Mon, 9 May 2022 11:42:36 +0000 (20:42 +0900)
commit2c33bbdac28c0cddd5a3d5e5e1bf05d440e4fe7b
tree8028154a75992a5cd4b0505c912484546b635f3c
parent3af9ca4d341d2b8756fa9056ca0715915480e251
ata: libata-core: Allow forcing most horkage flags

To facilitate debugging of drive issues in the field without kernel
changes (e.g. temporary test patches), add an entry for most horkage
flags in the force_tbl array to allow controlling these horkage
settings with the libata.force kernel boot parameter.

Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/ata/libata-core.c