[Linux-parport] [PATCHv3 0/2] parport: parport_pc: Introduce option to disable checking for Intel bug
Matwey V. Kornilov
matwey at sai.msu.ru
Sun Jul 6 23:59:36 PDT 2014
From: "Matwey V. Kornilov" <matwey at sai.msu.ru>
Date: Wed, 25 Jun 2014 00:53:54 +0400
Subject: [PATCHv3 0/2] parport: parport_pc: Introduce option to disable checking for Intel bug
The following patch series is to deal with the issue on false-positives
of Intel EPP bug check .
More than a decade ago, the check was introduced in order to prevent EPP
operation on the some Intel LPT chipsets. The main issue to defence from
was CPU hang at EPP operation on broken chipsets. It is mentioned that
affected chipsets are Intel 82091. However, it is not known whether
there are others.
The check was implemented in strange manner. Now, there is no explanations
why. The check itself now leads to the false-positives, disabling EPP on
many PC-s (Dell OptiPlex series for instance). The latter is an issue.
Given that our knowledge of the initial problem is quite limited now,
I introduce special option for parport_pc, allowing user to disable check.
This won't introduce regressions.
The patches organized as following:
The transparent refactoring of the check is performed.
Make the check be immutable regarding to ECR register.
2. Add force_epp module option for parport_pc.
Additional option for parport_pc is introduced.
The behaviour is the following:
modprobe parport_pc # check is enabled, given there is no defaults
# in /etc/modprobe.d/*
modprobe parport_pc force_epp=0 # check is enabled
modprobe parport_pc force_epp=1 # check is disabled
Tested-by: Heiko Andreas Sommer <hsommer at eso.org>
Signed-off-by: Matwey V. Kornilov <matwey at sai.msu.ru>
Changes from v2:
- The module option has more clear description
Changes from v1:
- Patch 1 fetched from right branch and now compiled
More information about the Linux-parport