From: Matevz Langus <matevz.langus@borea.si>
To: linux-kernel@vger.kernel.org
Subject: PCI: minimal alignment of resources
Date: Wed, 20 Aug 2014 23:05:29 +0200 [thread overview]
Message-ID: <72232BCB-CCF2-4BA3-9F40-53D385C83D6B@borea.si> (raw)
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
next reply other threads:[~2014-08-20 21:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 21:05 Matevz Langus [this message]
2014-08-21 14:16 ` PCI: minimal alignment of resources Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=72232BCB-CCF2-4BA3-9F40-53D385C83D6B@borea.si \
--to=matevz.langus@borea.si \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.