[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <47d1cj4B0Fz9sRc@ozlabs.org>
Date: Wed, 18 Dec 2019 15:05:09 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Mike Rapoport <rppt@...nel.org>, linux-kernel@...r.kernel.org
Cc: linux-arch@...r.kernel.org,
Darren Stevens <darren@...vens-zone.net>,
Robin Murphy <robin.murphy@....com>,
Mike Rapoport <rppt@...ux.ibm.com>, linux-mm@...ck.org,
iommu@...ts.linux-foundation.org, Rob Herring <robh+dt@...nel.org>,
Paul Mackerras <paulus@...ba.org>,
mad skateman <madskateman@...il.com>,
Christian Zigotzky <chzigotzky@...osoft.de>,
linuxppc-dev@...ts.ozlabs.org, Christoph Hellwig <hch@....de>,
Nicolas Saenz Julienne <nsaenzjulienne@...e.de>
Subject: Re: [PATCH] powerpc: ensure that swiotlb buffer is allocated from low memory
On Wed, 2019-12-04 at 12:35:24 UTC, Mike Rapoport wrote:
> From: Mike Rapoport <rppt@...ux.ibm.com>
>
> Some powerpc platforms (e.g. 85xx) limit DMA-able memory way below 4G. If a
> system has more physical memory than this limit, the swiotlb buffer is not
> addressable because it is allocated from memblock using top-down mode.
>
> Force memblock to bottom-up mode before calling swiotlb_init() to ensure
> that the swiotlb buffer is DMA-able.
>
> Link: https://lkml.kernel.org/r/F1EBB706-73DF-430E-9020-C214EC8ED5DA@xenosoft.de
> Reported-by: Christian Zigotzky <chzigotzky@...osoft.de>
> Signed-off-by: Mike Rapoport <rppt@...ux.ibm.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/8fabc623238e68b3ac63c0dd1657bf86c1fa33af
cheers
Powered by blists - more mailing lists