diff options
author | Sui Chen <suichen6@gmail.com> | 2017-05-09 07:47:22 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-05-16 11:23:28 -0400 |
commit | 8bfd174312629866efa535193d9e563768ff4307 (patch) | |
tree | a5408d346ffd532800bd2877bf81425fc14da243 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a95cfad947d5f40cfbf9ad3019575aac1d8ac7a6 (diff) | |
download | linux-8bfd174312629866efa535193d9e563768ff4307.tar.gz linux-8bfd174312629866efa535193d9e563768ff4307.tar.bz2 linux-8bfd174312629866efa535193d9e563768ff4307.zip |
ahci: Acer SA5-271 SSD Not Detected Fix
(Correction in this resend: fixed function name acer_sa5_271_workaround; fixed
the always-true condition in the function; fixed description.)
On the Acer Switch Alpha 12 (model number: SA5-271), the internal SSD may not
get detected because the port_map and CAP.nr_ports combination causes the driver
to skip the port that is actually connected to the SSD. More specifically,
either all SATA ports are identified as DUMMY, or all ports get ``link down''
and never get up again.
This problem occurs occasionally. When this problem occurs, CAP may hold a
value of 0xC734FF00 or 0xC734FF01 and port_map may hold a value of 0x00 or 0x01.
When this problem does not occur, CAP holds a value of 0xC734FF02 and port_map
may hold a value of 0x07. Overriding the CAP value to 0xC734FF02 and port_map to
0x7 significantly reduces the occurrence of this problem.
Link: https://bugzilla.kernel.org/attachment.cgi?id=253091
Signed-off-by: Sui Chen <suichen6@gmail.com>
Tested-by: Damian Ivanov <damianatorrpm@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions