<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>P-SeriesのトピックRe: last 256MB of the linux 32bit addresses space on p4080ds arch</title>
    <link>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975972#M4707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply but my situation is different:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 1.5GB RAM and disabled the highmem support.&lt;/P&gt;&lt;P&gt;In order to utilize the full RAM I increased the LOWMEM size to 0X60000000 and reduced the task size to 0x90000000.&lt;/P&gt;&lt;P&gt;My configuration:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONFIG_LOWMEM_SIZE=0x60000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONFIG_PAGE_OFFSET=0x90000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONFIG_KERNEL_START=0x90000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONFIG_PHYSICAL_START - disabled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONFIG_TASK_SIZE=0x90000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The 4GB of virtual address space is divided:&amp;nbsp; 2.25 - User space (tasks) , 1.75 - Kernel space (low memory + reserved memory)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My question is how can&amp;nbsp;I decrease the kernel reserved memory region (from 256MB to128MB) and increase the&amp;nbsp;TASK_SIZE accordingly without changing the LOWMEM_SIZE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I'll move kernel_start the way you suggested , I'll face the same problem - user space 2.25 , kernel reserved region 0.25 , kernel lowmem 1.5.&amp;nbsp;It will&amp;nbsp;just change the locations of kernel start and reserved area...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Oct 2019 11:00:47 GMT</pubDate>
    <dc:creator>yoav_rubin2</dc:creator>
    <dc:date>2019-10-29T11:00:47Z</dc:date>
    <item>
      <title>last 256MB of the linux 32bit addresses space on p4080ds arch</title>
      <link>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975970#M4705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using 32bit linux 4.1.8 with Yocto environment on the&amp;nbsp;P4080DS SoC and noticed that the last 256MB of the 32bit addresses space are reserved for some purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arch/powerpc/mm/init_32.c:&lt;/P&gt;&lt;P&gt;/*The amount of lowmem must be within 0xF0000000 - KERNELBASE. */&lt;/P&gt;&lt;P&gt;# if&amp;nbsp; (CONFIG_LOWMEM_SIZE &amp;gt; (0xF0000000 - PAGE_OFFSET))&lt;/P&gt;&lt;P&gt;# error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_KERNEL_START"&lt;/P&gt;&lt;P&gt;# endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to use addresses 0XF0000000 - 0XFFFFFFFF for lowmemory but I can't.&lt;/P&gt;&lt;P&gt;What are they reserved for? maybe vmalloc area?&amp;nbsp; and is it possible to resize this reserved area (shrink it)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2019 12:23:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975970#M4705</guid>
      <dc:creator>yoav_rubin2</dc:creator>
      <dc:date>2019-10-28T12:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: last 256MB of the linux 32bit addresses space on p4080ds arch</title>
      <link>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975971#M4706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Linux can only access 768M bytes memory which is defined by CONFIG_LOWMEM_SIZE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;CONFIG_LOWMEM_SIZE=0x30000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;CONFIG_PAGE_OFFSET=0xc0000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;CONFIG_KERNEL_START=0xc0000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;CONFIG_PHYSICAL_START=0x00000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;CONFIG_TASK_SIZE=0xc000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;You could adjust CONFIG_KERNEL_START as 0xd0000000 to assign 0XF0000000 - 0XFFFFFFFF as low memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2019 09:16:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975971#M4706</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-10-29T09:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: last 256MB of the linux 32bit addresses space on p4080ds arch</title>
      <link>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975972#M4707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply but my situation is different:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 1.5GB RAM and disabled the highmem support.&lt;/P&gt;&lt;P&gt;In order to utilize the full RAM I increased the LOWMEM size to 0X60000000 and reduced the task size to 0x90000000.&lt;/P&gt;&lt;P&gt;My configuration:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONFIG_LOWMEM_SIZE=0x60000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONFIG_PAGE_OFFSET=0x90000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONFIG_KERNEL_START=0x90000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONFIG_PHYSICAL_START - disabled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CONFIG_TASK_SIZE=0x90000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The 4GB of virtual address space is divided:&amp;nbsp; 2.25 - User space (tasks) , 1.75 - Kernel space (low memory + reserved memory)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My question is how can&amp;nbsp;I decrease the kernel reserved memory region (from 256MB to128MB) and increase the&amp;nbsp;TASK_SIZE accordingly without changing the LOWMEM_SIZE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If I'll move kernel_start the way you suggested , I'll face the same problem - user space 2.25 , kernel reserved region 0.25 , kernel lowmem 1.5.&amp;nbsp;It will&amp;nbsp;just change the locations of kernel start and reserved area...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2019 11:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975972#M4707</guid>
      <dc:creator>yoav_rubin2</dc:creator>
      <dc:date>2019-10-29T11:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: last 256MB of the linux 32bit addresses space on p4080ds arch</title>
      <link>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975973#M4708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could define &lt;SPAN style="font-size: 10pt;"&gt;CONFIG_KERNEL_START as&amp;nbsp;0x98000000.&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 05:48:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975973#M4708</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2019-10-31T05:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: last 256MB of the linux 32bit addresses space on p4080ds arch</title>
      <link>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975974#M4709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply!&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;just to completly understand:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;4GB virtual space:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;1. 0x0 - 0x9 : user apps&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;2. 0x9 - 0x98: ???&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;3. 0x98 - 0xE8 : kernels lowmem&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;4. 0xE8 - 0xF: ???&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;5. 0xF - 0xFFFFFFFF: ???&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;can you help me filling the blanks?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 10:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/last-256MB-of-the-linux-32bit-addresses-space-on-p4080ds-arch/m-p/975974#M4709</guid>
      <dc:creator>yoav_rubin2</dc:creator>
      <dc:date>2019-10-31T10:55:27Z</dc:date>
    </item>
  </channel>
</rss>

