Re: [External] Re: CMA area pages information

2019-04-04 Thread Pankaj Suryawanshi



From: Shyam Saini 
Sent: 04 April 2019 19:58
To: Pankaj Suryawanshi
Cc: linux-kernel@vger.kernel.org; linux...@kvack.org
Subject: [External] Re: CMA area pages information

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.



On Thu, Apr 4, 2019 at 7:52 PM Pankaj Suryawanshi 
mailto:pankaj.suryawan...@einfochips.com>> 
wrote:


From: Pankaj Suryawanshi
Sent: 01 April 2019 16:34
To: linux-kernel@vger.kernel.org<mailto:linux-kernel@vger.kernel.org>; 
linux...@kvack.org<mailto:linux...@kvack.org>
Subject: Re: CMA area pages information



From: Pankaj Suryawanshi
Sent: 01 April 2019 13:26
To: linux-kernel@vger.kernel.org<mailto:linux-kernel@vger.kernel.org>; 
linux...@kvack.org<mailto:linux...@kvack.org>
Subject: CMA area pages information

Hello,

Is there any way to get CMA area pages information (tool/application) ?

Trying to get CMA-pages info using /tools/vm/page-types.c

1. Allocate 100 mb using sample app.
2. Try to get page info using page-types.c.

Note: cma base-pfn: 0x6
  cma reserved 1026 Mib

Pages info i got is

./test -p 3401 -L
voffset offset  flags
5c1a3   70e92   ___U_lAM__
5c1a4   73104   ___U_l_M__
5c1a6   70ad1   ___U_lAMa_b___
71ea1   9f470   __RU_l_M__u___
71ea2   9f471   __RU_l_M__u___
71ea3   9f472   __RU_l_M__u___
71ea4   9f473   __RU_l_M__u___
71ea5   9f485   __RU_l_M__u___
71ea6   9f486   __RU_l_M__u___
71ea7   9f487   __RU_l_M__u___
71ea8   9f488   __RU_l_M__u___
71ea9   9f489   __RU_l_M__u___
71eaa   9f48a   __RU_l_M__u___
71eab   9f48b   __RU_l_M__u___
71eac   9f48c   __RU_l_M__u___
71ead   9f48d   __RU_l_M__u___
71eae   9f48e   __RU_l_M__u___
71eaf   9f48f   __RU_l_M__u___
71eb0   9f490   __RU_l_M__u___
71eb1   9f491   __RU_l_M__u___
71eb2   9f492   __RU_l_M__u___
71eb3   9f493   __RU_l_M__u___
71eb4   9f494   __RU_l_M__u___
71eb5   9f495   __RU_l_M__u___
71eb6   9f496   __RU_l_M__u___
71eb7   9f497   __RU_l_M__u___
71eb8   9f498   __RU_l_M__u___
71eb9   9f499   __RU_l_M__u___
71eba   9f49a   __RU_l_M__u___
71ebb   9f49b   __RU_l_M__u___
71ebc   9f49c   __RU_l_M__u___
71ebd   9f49d   __RU_l_M__u___
71ebe   9f49e   __RU_l_M__u___
71ebf   9f49f   __RU_l_M__u___
71ec0   9f4a0   __RU_l_M__u___
71ec1   9f56b   __RU_l_M__u___
71ec2   9f56c   __RU_l_M__u___
71ec3   9f56d   __RU_l_M__u___
71ec4   9f56e   __RU_l_M__u___
71ec5   9f56f   __RU_l_M__u___
71ec6   9f570   __RU_l_M__u___
71ec7   9f571   __RU_l_M__u___
71ec8   9f572   __RU_l_M__u___
71ec9   9f573   __RU_l_M__u___
71eca   9f574   __RU_l_M__u___
71ecb   9f575   __RU_l_M__u___
71ecc   9f576   __RU_l_M__u___
71ecd   9f577   __RU_l_M__u___
71ece   9f578   __RU_l_M__u___
71ecf   9f579   __RU_l_M__u___
71ed0   9f57a   __RU_l_M__u___
71ed1   9f57b   __RU_l_M__u___
71ed2   9f57c   __RU_l_M__u___
71ed3   9f5ea   __RU_l_M__u___
71ed4   9f5eb   __RU_l_M__u___
71ed5   9f5ec   __RU_l_M__u___
71ed6   9f5ed   __RU_l_M__u___
71ed7   9f5ee   __RU_l_M__u___
71ed8   9f5ef   __RU_l_M__u___
71ed9   9f5f0   __RU_l_M__u___
71eda   9f5f1   __RU_l_M__u___
71edb   9f5f2   __RU_l_M__

Re: CMA area pages information

2019-04-04 Thread Pankaj Suryawanshi



From: Pankaj Suryawanshi
Sent: 01 April 2019 16:34
To: linux-kernel@vger.kernel.org; linux...@kvack.org
Subject: Re: CMA area pages information



From: Pankaj Suryawanshi
Sent: 01 April 2019 13:26
To: linux-kernel@vger.kernel.org; linux...@kvack.org
Subject: CMA area pages information

Hello,

Is there any way to get CMA area pages information (tool/application) ?

Trying to get CMA-pages info using /tools/vm/page-types.c

1. Allocate 100 mb using sample app.
2. Try to get page info using page-types.c.

Note: cma base-pfn: 0x6
  cma reserved 1026 Mib

Pages info i got is

./test -p 3401 -L
voffset offset  flags
5c1a3   70e92   ___U_lAM__
5c1a4   73104   ___U_l_M__
5c1a6   70ad1   ___U_lAMa_b___
71ea1   9f470   __RU_l_M__u___
71ea2   9f471   __RU_l_M__u___
71ea3   9f472   __RU_l_M__u___
71ea4   9f473   __RU_l_M__u___
71ea5   9f485   __RU_l_M__u___
71ea6   9f486   __RU_l_M__u___
71ea7   9f487   __RU_l_M__u___
71ea8   9f488   __RU_l_M__u___
71ea9   9f489   __RU_l_M__u___
71eaa   9f48a   __RU_l_M__u___
71eab   9f48b   __RU_l_M__u___
71eac   9f48c   __RU_l_M__u___
71ead   9f48d   __RU_l_M__u___
71eae   9f48e   __RU_l_M__u___
71eaf   9f48f   __RU_l_M__u___
71eb0   9f490   __RU_l_M__u___
71eb1   9f491   __RU_l_M__u___
71eb2   9f492   __RU_l_M__u___
71eb3   9f493   __RU_l_M__u___
71eb4   9f494   __RU_l_M__u___
71eb5   9f495   __RU_l_M__u___
71eb6   9f496   __RU_l_M__u___
71eb7   9f497   __RU_l_M__u___
71eb8   9f498   __RU_l_M__u___
71eb9   9f499   __RU_l_M__u___
71eba   9f49a   __RU_l_M__u___
71ebb   9f49b   __RU_l_M__u___
71ebc   9f49c   __RU_l_M__u___
71ebd   9f49d   __RU_l_M__u___
71ebe   9f49e   __RU_l_M__u___
71ebf   9f49f   __RU_l_M__u___
71ec0   9f4a0   __RU_l_M__u___
71ec1   9f56b   __RU_l_M__u___
71ec2   9f56c   __RU_l_M__u___
71ec3   9f56d   __RU_l_M__u___
71ec4   9f56e   __RU_l_M__u___
71ec5   9f56f   __RU_l_M__u___
71ec6   9f570   __RU_l_M__u___
71ec7   9f571   __RU_l_M__u___
71ec8   9f572   __RU_l_M__u___
71ec9   9f573   __RU_l_M__u___
71eca   9f574   __RU_l_M__u___
71ecb   9f575   __RU_l_M__u___
71ecc   9f576   __RU_l_M__u___
71ecd   9f577   __RU_l_M__u___
71ece   9f578   __RU_l_M__u___
71ecf   9f579   __RU_l_M__u___
71ed0   9f57a   __RU_l_M__u___
71ed1   9f57b   __RU_l_M__u___
71ed2   9f57c   __RU_l_M__u___
71ed3   9f5ea   __RU_l_M__u___
71ed4   9f5eb   __RU_l_M__u___
71ed5   9f5ec   __RU_l_M__u___
71ed6   9f5ed   __RU_l_M__u___
71ed7   9f5ee   __RU_l_M__u___
71ed8   9f5ef   __RU_l_M__u___
71ed9   9f5f0   __RU_l_M__u___
71eda   9f5f1   __RU_l_M__u___
71edb   9f5f2   __RU_l_M__u___
71edc   9f5f3   __RU_l_M__u___
71edd   9f5f4   __RU_l_M__u___
71ede   9f5f5   __RU_l_M__u___
71edf   9f5f6   __RU_l_M__u___
71ee0   9f5f7   __RU_l_M__u___
71ee1   9f5f8   __RU_l_M__u___
71ee2   9f5f9   __RU_l_M__u___
71ee3   9f5fa   __RU_l_M__u___
71ee4   9f5fb   __RU_l_M__u___
71ee5   9f5fc   __RU_l_M__u___
71ee6   9f5fd

Re: CMA area pages information

2019-04-01 Thread Pankaj Suryawanshi



From: Pankaj Suryawanshi
Sent: 01 April 2019 13:26
To: linux-kernel@vger.kernel.org; linux...@kvack.org
Subject: CMA area pages information

Hello,

Is there any way to get CMA area pages information (tool/application) ?

Trying to get CMA-pages info using /tools/vm/page-types.c

1. Allocate 100 mb using sample app.
2. Try to get page info using page-types.c.

Note: cma base-pfn: 0x6
  cma reserved 1026 Mib

Pages info i got is

./test -p 3401 -L
voffset offset  flags
5c1a3   70e92   ___U_lAM__
5c1a4   73104   ___U_l_M__
5c1a6   70ad1   ___U_lAMa_b___
71ea1   9f470   __RU_l_M__u___
71ea2   9f471   __RU_l_M__u___
71ea3   9f472   __RU_l_M__u___
71ea4   9f473   __RU_l_M__u___
71ea5   9f485   __RU_l_M__u___
71ea6   9f486   __RU_l_M__u___
71ea7   9f487   __RU_l_M__u___
71ea8   9f488   __RU_l_M__u___
71ea9   9f489   __RU_l_M__u___
71eaa   9f48a   __RU_l_M__u___
71eab   9f48b   __RU_l_M__u___
71eac   9f48c   __RU_l_M__u___
71ead   9f48d   __RU_l_M__u___
71eae   9f48e   __RU_l_M__u___
71eaf   9f48f   __RU_l_M__u___
71eb0   9f490   __RU_l_M__u___
71eb1   9f491   __RU_l_M__u___
71eb2   9f492   __RU_l_M__u___
71eb3   9f493   __RU_l_M__u___
71eb4   9f494   __RU_l_M__u___
71eb5   9f495   __RU_l_M__u___
71eb6   9f496   __RU_l_M__u___
71eb7   9f497   __RU_l_M__u___
71eb8   9f498   __RU_l_M__u___
71eb9   9f499   __RU_l_M__u___
71eba   9f49a   __RU_l_M__u___
71ebb   9f49b   __RU_l_M__u___
71ebc   9f49c   __RU_l_M__u___
71ebd   9f49d   __RU_l_M__u___
71ebe   9f49e   __RU_l_M__u___
71ebf   9f49f   __RU_l_M__u___
71ec0   9f4a0   __RU_l_M__u___
71ec1   9f56b   __RU_l_M__u___
71ec2   9f56c   __RU_l_M__u___
71ec3   9f56d   __RU_l_M__u___
71ec4   9f56e   __RU_l_M__u___
71ec5   9f56f   __RU_l_M__u___
71ec6   9f570   __RU_l_M__u___
71ec7   9f571   __RU_l_M__u___
71ec8   9f572   __RU_l_M__u___
71ec9   9f573   __RU_l_M__u___
71eca   9f574   __RU_l_M__u___
71ecb   9f575   __RU_l_M__u___
71ecc   9f576   __RU_l_M__u___
71ecd   9f577   __RU_l_M__u___
71ece   9f578   __RU_l_M__u___
71ecf   9f579   __RU_l_M__u___
71ed0   9f57a   __RU_l_M__u___
71ed1   9f57b   __RU_l_M__u___
71ed2   9f57c   __RU_l_M__u___
71ed3   9f5ea   __RU_l_M__u___
71ed4   9f5eb   __RU_l_M__u___
71ed5   9f5ec   __RU_l_M__u___
71ed6   9f5ed   __RU_l_M__u___
71ed7   9f5ee   __RU_l_M__u___
71ed8   9f5ef   __RU_l_M__u___
71ed9   9f5f0   __RU_l_M__u___
71eda   9f5f1   __RU_l_M__u___
71edb   9f5f2   __RU_l_M__u___
71edc   9f5f3   __RU_l_M__u___
71edd   9f5f4   __RU_l_M__u___
71ede   9f5f5   __RU_l_M__u___
71edf   9f5f6   __RU_l_M__u___
71ee0   9f5f7   __RU_l_M__u___
71ee1   9f5f8   __RU_l_M__u___
71ee2   9f5f9   __RU_l_M__u___
71ee3   9f5fa   __RU_l_M__u___
71ee4   9f5fb   __RU_l_M__u___
71ee5   9f5fc   __RU_l_M__u___
71ee6   9f5fd   __RU_l_M__u___
71ee7   9f5fe   __RU_l_M__u___
71ee8   9f5ff   __RU_l_M__u___
71ee9   9f600

CMA area pages information

2019-04-01 Thread Pankaj Suryawanshi
Hello,

Is there any way to get CMA area pages information (tool/application) ?

Regards,
Pankaj
*
 eInfochips Business Disclaimer: This e-mail message and all attachments 
transmitted with it are intended solely for the use of the addressee and may 
contain legally privileged and confidential information. If the reader of this 
message is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution, copying, or other use of this message or its 
attachments is strictly prohibited. If you have received this message in error, 
please notify the sender immediately by replying to this message and please 
delete it from your computer. Any views expressed in this message are those of 
the individual sender unless otherwise stated. Company has taken enough 
precautions to prevent the spread of viruses. However the company accepts no 
liability for any damage caused by any virus transmitted by this email. 
*