<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/arch/riscv/include/asm/fixmap.h, branch linux-5.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2019-03-29T06:16:04Z</updated>
<entry>
<title>RISC-V: Fix FIXMAP_TOP to avoid overlap with VMALLOC area</title>
<updated>2019-03-29T06:16:04Z</updated>
<author>
<name>Anup Patel</name>
<email>Anup.Patel@wdc.com</email>
</author>
<published>2019-03-22T10:04:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ff0e2a7bd13f7c332d7f09ff45d08df4bf512ce0'/>
<id>urn:sha1:ff0e2a7bd13f7c332d7f09ff45d08df4bf512ce0</id>
<content type='text'>
The FIXMAP area overlaps with VMALLOC area in Linux-5.1-rc1 hence we get
below warning in Linux RISC-V 32bit kernel. This warning does not show-up
in Linux RISC-V 64bit kernel due to large VMALLOC area.

WARNING: CPU: 0 PID: 22 at mm/vmalloc.c:150 vmap_page_range_noflush+0x134/0x15c
Modules linked in:
CPU: 0 PID: 22 Comm: kworker/0:1 Not tainted 5.1.0-rc1-00005-gebc2f658040e #1
Workqueue: events pcpu_balance_workfn
Call Trace:
[&lt;c002b950&gt;] walk_stackframe+0x0/0xa0
[&lt;c002baac&gt;] show_stack+0x28/0x32
[&lt;c0587354&gt;] dump_stack+0x62/0x7e
[&lt;c002fdee&gt;] __warn+0x98/0xce
[&lt;c002fe52&gt;] warn_slowpath_null+0x2e/0x3c
[&lt;c00e71ce&gt;] vmap_page_range_noflush+0x134/0x15c
[&lt;c00e7886&gt;] map_kernel_range_noflush+0xc/0x14
[&lt;c00d54b8&gt;] pcpu_populate_chunk+0x19e/0x236
[&lt;c00d610e&gt;] pcpu_balance_workfn+0x448/0x464
[&lt;c00408d6&gt;] process_one_work+0x16c/0x2ea
[&lt;c0040b46&gt;] worker_thread+0xf2/0x3b2
[&lt;c004519a&gt;] kthread+0xce/0xdc
[&lt;c002a974&gt;] ret_from_exception+0x0/0xc

This patch fixes above warning by placing FIXMAP area below VMALLOC area.

Fixes: f2c17aabc917 ("RISC-V: Implement compile-time fixed mappings")
Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Palmer Dabbelt &lt;palmer@sifive.com&gt;
</content>
</entry>
<entry>
<title>RISC-V: Implement compile-time fixed mappings</title>
<updated>2019-02-21T05:56:42Z</updated>
<author>
<name>Anup Patel</name>
<email>anup.patel@wdc.com</email>
</author>
<published>2019-01-07T15:27:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f2c17aabc917e1092eedb16fa2b8891e9379f7e6'/>
<id>urn:sha1:f2c17aabc917e1092eedb16fa2b8891e9379f7e6</id>
<content type='text'>
This patch implements compile-time virtual to physical mappings. These
compile-time fixed mappings can be used by earlycon, ACPI, and early
ioremap for creating fixed mappings when FIX_EARLYCON_MEM=y.

To start with, we have enabled compile-time fixed mappings for earlycon.

Signed-off-by: Anup Patel &lt;anup.patel@wdc.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Palmer Dabbelt &lt;palmer@sifive.com&gt;
</content>
</entry>
</feed>
