Messages in this thread | | | From | Matevz Langus <> | Subject | PCI: minimal alignment of resources | Date | Wed, 20 Aug 2014 23:05:29 +0200 |
| |
Hi,
I would like to ask if somebody is aware of a correct way to change they way kernel aligns PCI resources. By default it uses minimal alignment of 1 MB.
Due to the hardware limitation I would need to change that down to 64 kB. With this change PCI Endpoints with many small BARs would fit into limited memory space available on the RC. This could be useful for all smaller embedded systems.
It looks just changing aligns in pbus_size_mem (in file setup-bus.c) works but not with all PCI EP drivers. Some will crash during init.
Regards, Matevz Langus
| |