<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/nios2/mm/ioremap.c, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-06-05T02:06:21Z</updated>
<entry>
<title>nios2: add support for folded p4d page tables</title>
<updated>2020-06-05T02:06:21Z</updated>
<author>
<name>Mike Rapoport</name>
</author>
<published>2020-06-04T23:46:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9f4e70379f609d3bcc9d67eafecda75a495ffb4b'/>
<id>urn:sha1:9f4e70379f609d3bcc9d67eafecda75a495ffb4b</id>
<content type='text'>
Implement primitives necessary for the 4th level folding, add walks of p4d
level where appropriate and remove usage of __ARCH_USE_5LEVEL_HACK.

Signed-off-by: Mike Rapoport &lt;rppt@linux.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Brian Cain &lt;bcain@codeaurora.org&gt;
Cc: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Cc: Christophe Leroy &lt;christophe.leroy@c-s.fr&gt;
Cc: Fenghua Yu &lt;fenghua.yu@intel.com&gt;
Cc: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Cc: Guan Xuetao &lt;gxt@pku.edu.cn&gt;
Cc: James Morse &lt;james.morse@arm.com&gt;
Cc: Jonas Bonn &lt;jonas@southpole.se&gt;
Cc: Julien Thierry &lt;julien.thierry.kdev@gmail.com&gt;
Cc: Ley Foon Tan &lt;ley.foon.tan@intel.com&gt;
Cc: Marc Zyngier &lt;maz@kernel.org&gt;
Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Rich Felker &lt;dalias@libc.org&gt;
Cc: Russell King &lt;linux@armlinux.org.uk&gt;
Cc: Stafford Horne &lt;shorne@gmail.com&gt;
Cc: Stefan Kristiansson &lt;stefan.kristiansson@saunalahti.fi&gt;
Cc: Suzuki K Poulose &lt;suzuki.poulose@arm.com&gt;
Cc: Tony Luck &lt;tony.luck@intel.com&gt;
Cc: Will Deacon &lt;will@kernel.org&gt;
Cc: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;
Link: http://lkml.kernel.org/r/20200414153455.21744-7-rppt@kernel.org
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>nios2: Fix ioremap</title>
<updated>2019-12-12T08:34:33Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2019-12-12T08:34:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e32ea127d81c12882f39c2783d78634597ff21a2'/>
<id>urn:sha1:e32ea127d81c12882f39c2783d78634597ff21a2</id>
<content type='text'>
Commit 5ace77e0b41a ("nios2: remove __ioremap") removed the following code,
with the argument that cacheflag is always 0 and the expression would
therefore always be false.

	if (IS_MAPPABLE_UNCACHEABLE(phys_addr) &amp;&amp;
	    IS_MAPPABLE_UNCACHEABLE(last_addr) &amp;&amp;
	    !(cacheflag &amp; _PAGE_CACHED))
		return (void __iomem *)(CONFIG_NIOS2_IO_REGION_BASE + phys_addr);

This did not take the "!" in the expression into account. Result is that
nios2 images no longer boot. Restoring the removed code fixes the problem.

Fixes: 5ace77e0b41a ("nios2: remove __ioremap")
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Ley Foon Tan &lt;ley.foon.tan@intel.com&gt;
</content>
</entry>
<entry>
<title>nios2: remove __iounmap</title>
<updated>2019-11-11T20:18:19Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2019-08-13T06:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f3ded99aecf3498ac9a976ec2b02cf5c6281bd4'/>
<id>urn:sha1:3f3ded99aecf3498ac9a976ec2b02cf5c6281bd4</id>
<content type='text'>
No need to indirect iounmap for nios2.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>nios2: remove __ioremap</title>
<updated>2019-11-11T16:19:49Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2019-08-07T15:56:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5ace77e0b41af6b9a3a8cd189a79270e8840fe0a'/>
<id>urn:sha1:5ace77e0b41af6b9a3a8cd189a79270e8840fe0a</id>
<content type='text'>
The cacheflag argument to __ioremap is always 0, so just implement
ioremap directly.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>nios2: I/O Mapping</title>
<updated>2014-12-08T04:55:52Z</updated>
<author>
<name>Ley Foon Tan</name>
</author>
<published>2014-11-06T07:19:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6b8baec4d652df19be6e0997c50b9894e5ca30a8'/>
<id>urn:sha1:6b8baec4d652df19be6e0997c50b9894e5ca30a8</id>
<content type='text'>
This patch adds several definitions for I/O accessors and ioremap().

Signed-off-by: Ley Foon Tan &lt;lftan@altera.com&gt;
</content>
</entry>
</feed>
