]> git.baikalelectronics.ru Git - kernel.git/commit
pch_phub: Improve ADE(Address Decode Enable) control
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Fri, 11 Nov 2011 01:12:17 +0000 (10:12 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 19:01:49 +0000 (11:01 -0800)
commit31b935bc03a0901e11432763dd74d48028f98d0a
treec165181386be5e577ca6dbc1c4fc136a8fb16437
parent42dd42f6da2c4fc1f0b36dedcef88a37cda02532
pch_phub: Improve ADE(Address Decode Enable) control

Currently, external ROM access is enabled/disabled in probe()/remove().
So, when a buggy software access unanticipated memory area,
in case of enabling this ADE bit,
external ROM memory area can be broken.

This patch enables the ADE bit only accessing external ROM area.

Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Cc: Masayuki Ohtak <masa-korg@dsn.okisemi.com>
Cc: Alexander Stein <alexander.stein@systec-electronic.com>
Cc: Denis Turischev <denis@compulab.co.il>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/pch_phub.c