Re: CMA enhancement - non-default areas in x86

2020-05-13 Thread gre...@linuxfoundation.org
On Wed, May 13, 2020 at 09:43:45AM +, Ravich, Leonid wrote: > > On Wed, May 13, 2020 at 08:29:16AM +, Ravich, Leonid wrote: > > > PCIe NTB > > > Documentation/driver-api/ntb.rst > > > > > 1) Basically PCI bridge between to root complex / PCI switches > > > 2) using out of OS memory is one

RE: CMA enhancement - non-default areas in x86

2020-05-13 Thread Ravich, Leonid
> A: http://en.wikipedia.org/wiki/Top_post > Q: Were do I find info about this thing called top-posting? > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > A: No. >

Re: CMA enhancement - non-default areas in x86

2020-05-13 Thread gre...@linuxfoundation.org
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I

RE: CMA enhancement - non-default areas in x86

2020-05-13 Thread Ravich, Leonid
l.org; linux...@kvack.org; Ravich, Leonid > Subject: Re: CMA enhancement - non-default areas in x86 > > On Wed, May 13, 2020 at 07:00:12AM +, Idgar, Or wrote: > > > For what type of device? > > NTB (Non-Transparent Bridge). > > > Very odd quoting style... >

Re: CMA enhancement - non-default areas in x86

2020-05-13 Thread gre...@linuxfoundation.org
On Wed, May 13, 2020 at 07:00:12AM +, Idgar, Or wrote: > > For what type of device? > NTB (Non-Transparent Bridge). Very odd quoting style... Anyway, what exactly is a non-transparent bridge, and why doesn't your bios/uefi implementation properly reserve the memory for it so that the OS

RE: CMA enhancement - non-default areas in x86

2020-05-13 Thread Idgar, Or
> For what type of device? NTB (Non-Transparent Bridge). -Original Message- From: gre...@linuxfoundation.org Sent: יום ד 13 מאי 2020 09:48 To: Idgar, Or Cc: linux-kernel@vger.kernel.org; linux...@kvack.org; Ravich, Leonid Subject: Re: CMA enhancement - non-default areas in

Re: CMA enhancement - non-default areas in x86

2020-05-13 Thread gre...@linuxfoundation.org
On Wed, May 13, 2020 at 06:13:55AM +, Idgar, Or wrote: > Hi, > I'm working with Linux kernel on x86 and needed a way to allocate a very > large contiguous memory (around 20GB) for DMA operations. For what type of device? > I've found out that CMA is one of the major ways to do so, but our