]> git.openfabrics.org - ~emulex/infiniband.git/commit
dell-laptop: Use buffer with 32-bit physical address
authorStuart Hayes <stuart_hayes@dell.com>
Wed, 10 Feb 2010 19:12:13 +0000 (14:12 -0500)
committerMatthew Garrett <mjg@redhat.com>
Thu, 25 Feb 2010 16:50:49 +0000 (11:50 -0500)
commit116ee77b2858d9c89c0327f3a47c8ba864bf4a96
tree7919e33f61115510ba7330c029e2143a9256c816
parente5fefd0c8c4e6bd11742625230d1c5026e2afb35
dell-laptop: Use buffer with 32-bit physical address

Calls to communicate with system firmware via a SMI (using dcdbas)
need to use a buffer that has a physical address of 4GB or less.
Currently the dell-laptop driver does not guarantee this, and when the
buffer address is higher than 4GB, the address is truncated to 32 bits
and the SMI handler writes to the wrong memory address.

Signed-off-by: Stuart Hayes <stuart_hayes@dell.com>
Acked-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/dell-laptop.c