Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753619AbbFOGtw (ORCPT ); Mon, 15 Jun 2015 02:49:52 -0400 Received: from ozlabs.org ([103.22.144.67]:46627 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751515AbbFOGtv (ORCPT ); Mon, 15 Jun 2015 02:49:51 -0400 In-Reply-To: <1434089957-27135-1-git-send-email-aik@ozlabs.ru> To: Alexey Kardashevskiy , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Alexey Kardashevskiy , Gavin Shan , linux-kernel@vger.kernel.org, Paul Mackerras , David Gibson Subject: Re: [kernel] powerpc/powernv/ioda2: Add devices only from buses which belong to PE Message-Id: <20150615064950.7C42514029E@ozlabs.org> Date: Mon, 15 Jun 2015 16:49:50 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 969 Lines: 22 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 > Signed-off-by: Alexey Kardashevskiy 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/