You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qubes-linux-kernel/patches.drivers/libata-unlock-hpa-by-default

25 lines
777 B

From: Tejun Heo <teheo@suse.de>
Subject: [PATCH] libata: unlock HPA by default
References: 299267
Patch-mainline: not yet
Unlock HPA by default. This is to stay compatible with the old IDE
drivers.
Signed-off-by: Tejun Heo <teheo@suse.de>
---
drivers/ata/libata-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -138,7 +138,7 @@ int libata_fua = 0;
module_param_named(fua, libata_fua, int, 0444);
MODULE_PARM_DESC(fua, "FUA support (0=off [default], 1=on)");
-static int ata_ignore_hpa;
+static int ata_ignore_hpa = 1;
module_param_named(ignore_hpa, ata_ignore_hpa, int, 0644);
MODULE_PARM_DESC(ignore_hpa, "Ignore HPA limit (0=keep BIOS limits, 1=ignore limits, using full disk)");