All of lore.kernel.org
 help / color / mirror / Atom feed
* PCI: minimal alignment of resources
@ 2014-08-20 21:05 Matevz Langus
  2014-08-21 14:16 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Matevz Langus @ 2014-08-20 21:05 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-21 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 21:05 PCI: minimal alignment of resources Matevz Langus
2014-08-21 14:16 ` Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.