Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1165053

Re: [kernel] powerpc/powernv/ioda2: Add devices only from buses which belong to PE

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [kernel] powerpc/powernv/ioda2: Add devices only from buses which belong to PE
Date 2015-06-15 09:00 +0200
Message-ID <pBwxd-4bt-21@gated-at.bofh.it> (permalink)
References <pAqDv-5zX-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2015-12-06 at 06:19:17 UTC, Alexey Kardashevskiy wrote:
> The existing code puts all devices from a root PE to the same IOMMU group.
> However it is a possible situation when subordinate buses belong to
> separate PEs, in this case devices from these subordinate buses
> should be added to lower level PE rather to the root PE.
> 
> This limits pnv_ioda_setup_bus_dma() invocation to only PEs which own
> all subordinate buses.
> 
> Suggested-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>

Alexey/Gavin, can one of you write a better changelog for this. Explaining
what exactly is broken without it, how it fixes the problem, and why that is
the right fix.

cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [kernel] powerpc/powernv/ioda2: Add devices only from buses which belong to PE Michael Ellerman <mpe@ellerman.id.au> - 2015-06-15 09:00 +0200

csiph-web