patches for DPDK stable branches
 help / color / mirror / Atom feed
* Re: [dpdk-stable] [dpdk-dev] [PATCH v4] bus/pci: align next mapping address on page boundary
       [not found] ` <>
@ 2019-11-14 13:14   ` David Marchand
  0 siblings, 0 replies; only message in thread
From: David Marchand @ 2019-11-14 13:14 UTC (permalink / raw)
  To: Wangyu (Eric)
  Cc: dev, ferruh.yigit, Linuxarm, humin (Q), Liyuan (Larry),
	dengxiaofeng, dpdk stable

On Wed, Nov 13, 2019 at 8:17 AM Wangyu (Eric) <> wrote:
> Currently, the next address picked by PCI mapping infrastructure
> may be page-unaligned due to BAR length being smaller than page size.
> This leads to a situation where the requested map address is invalid,
> resulting in mmap() call returning an arbitrary address,
> which will later interfere with device BAR mapping in secondary processes.
> Fix it by always aligning the next requested address on page boundary.
> Signed-off-by: Xiaofeng Deng <>
> Signed-off-by: Wangyu (Eric) <>
> Acked-by: Wei Hu <>
> Acked-by: Min Hu <>
> Acked-by: Anatoly Burakov <>
> Acked-by: Gavin Hu (Arm Technology China) <>
> Fixes: c752998b5e2e ("pci: introduce library and driver")
> Cc:

Cc'd stable.

Applied, thanks.

David Marchand

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-14 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <>
     [not found] ` <>
2019-11-14 13:14   ` [dpdk-stable] [dpdk-dev] [PATCH v4] bus/pci: align next mapping address on page boundary David Marchand

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ \
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone