Skip to content
Snippets Groups Projects
Commit b0fc889c authored by Chandru's avatar Chandru Committed by Jesse Barnes
Browse files

PCI hotplug: ibmphp: read the length of ebda and map entire ebda region


ibmphp driver currently maps only 1KB of ebda memory area into kernel address
space during driver initialization. This causes kernel oops when the driver is
modprobe'd and it accesses memory beyond 1KB within ebda segment. The first
byte of ebda segment actually stores the length of the ebda region in
Kilobytes. Hence make use of the length parameter and map the entire ebda
region.

Signed-off-by: default avatarChandru Siddalingappa <chandru@linux.vnet.ibm.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 6fcaf17a
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment