Hi, I have a video card with a small iommu (in an intel poulsbo) who needs to have an PCI resource address aligned to 256M. 00:02.0 VGA compatible controller: Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller (rev 07) (prog-if 00 [VGA controller]) ... Region 0: Memory at fdf00000 (32-bit, non-prefetchable) [size=512K] Region 1: I/O ports at ff00 [size=8] Region 2: Memory at d8000000 (32-bit, non-prefetchable) [size=128M] Region 3: Memory at fdfc0000 (32-bit, non-prefetchable) [size=128K] ... The driver get the address by pg->gatt_start = pci_resource_start(dev->pdev, PSB_GATT_RESOURCE); with PSB_GATT_RESOURCE=2 and test it here : if (pg->gatt_start & 0x0FFFFFFF) { DRM_ERROR("Gatt must be 256M aligned. This is a bug.\n"); ret = -EINVAL; goto out_err; } The only 'place' where the resource can be aligned to 256M is at 0xe0000000 who is reserved by 'pnp' How can i 'move' this region to 0xe000000 ? Thanks, Jean.
Attachment:
signature.asc
Description: This is a digitally signed message part