summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Jonglez <git@bitsofnetworks.org>2017-07-15 22:57:54 +0200
committerFelix Fietkau <nbd@nbd.name>2017-10-16 09:43:35 +0200
commitda0219ed9f990e5a951197c2c9c6a916d17109d1 (patch)
tree78bb9c9572dcb649da2a653eaa8b51dba294f67b
parentf52b404aeea328b4e021a245c640ed3b0e095fa8 (diff)
downloadmtk-20170518-da0219ed9f990e5a951197c2c9c6a916d17109d1.zip
mtk-20170518-da0219ed9f990e5a951197c2c9c6a916d17109d1.tar.gz
mtk-20170518-da0219ed9f990e5a951197c2c9c6a916d17109d1.tar.bz2
x86: Fix xen serial console by removing conflicting PATA driver
The Xen serial console has been broken since the xen_domu subtarget was merged in the generic x86 subtarget (commits 296772f9 and b36e24f3). The reason for the broken serial console seems to be an IRQ conflict between the serial console driver and the PATA_LEGACY driver: [ 1.330125] genirq: Flags mismatch irq 8. 00000000 (hvc_console) vs. 00000000 (platform[pata_legacy.4]) [ 1.330134] hvc_open: request_irq failed with rc -16. [ 1.330148] Warning: unable to open an initial console. Just drop the PATA_LEGACY driver from the x86/generic and x86_64 subtargets, since this driver is marked experimental and only supports very old ISA devices anyway. It is still included in the x86/legacy subtarget where it rightfully belongs. Fixes: FS#787 Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
-rw-r--r--target/linux/x86/64/config-default1
-rw-r--r--target/linux/x86/generic/config-default1
2 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
index 848f041..9948c28 100644
--- a/target/linux/x86/64/config-default
+++ b/target/linux/x86/64/config-default
@@ -204,7 +204,6 @@ CONFIG_PARAVIRT_SPINLOCKS=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
CONFIG_PATA_AMD=y
CONFIG_PATA_ATIIXP=y
-CONFIG_PATA_LEGACY=y
CONFIG_PATA_MPIIX=y
CONFIG_PATA_OLDPIIX=y
CONFIG_PATA_PLATFORM=y
diff --git a/target/linux/x86/generic/config-default b/target/linux/x86/generic/config-default
index c4ca4fd..a0472f3 100644
--- a/target/linux/x86/generic/config-default
+++ b/target/linux/x86/generic/config-default
@@ -260,7 +260,6 @@ CONFIG_PARAVIRT_SPINLOCKS=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
CONFIG_PATA_AMD=y
CONFIG_PATA_ATIIXP=y
-CONFIG_PATA_LEGACY=y
CONFIG_PATA_MPIIX=y
CONFIG_PATA_OLDPIIX=y
CONFIG_PATA_PLATFORM=y