<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/sh/mm, branch linux-5.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-10-14T01:38:35Z</updated>
<entry>
<title>arch, mm: replace for_each_memblock() with for_each_mem_pfn_range()</title>
<updated>2020-10-14T01:38:35Z</updated>
<author>
<name>Mike Rapoport</name>
</author>
<published>2020-10-13T23:58:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9118e6c37bff9ade90b638207a6e0db676ee6a9'/>
<id>urn:sha1:c9118e6c37bff9ade90b638207a6e0db676ee6a9</id>
<content type='text'>
There are several occurrences of the following pattern:

	for_each_memblock(memory, reg) {
		start_pfn = memblock_region_memory_base_pfn(reg);
		end_pfn = memblock_region_memory_end_pfn(reg);

		/* do something with start_pfn and end_pfn */
	}

Rather than iterate over all memblock.memory regions and each time query
for their start and end PFNs, use for_each_mem_pfn_range() iterator to get
simpler and clearer code.

Signed-off-by: Mike Rapoport &lt;rppt@linux.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Reviewed-by: Baoquan He &lt;bhe@redhat.com&gt;
Acked-by: Miguel Ojeda &lt;miguel.ojeda.sandonis@gmail.com&gt;	[.clang-format]
Cc: Andy Lutomirski &lt;luto@kernel.org&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Borislav Petkov &lt;bp@alien8.de&gt;
Cc: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Cc: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Daniel Axtens &lt;dja@axtens.net&gt;
Cc: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;
Cc: Emil Renner Berthing &lt;kernel@esmil.dk&gt;
Cc: Hari Bathini &lt;hbathini@linux.ibm.com&gt;
Cc: Ingo Molnar &lt;mingo@kernel.org&gt;
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
Cc: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Cc: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Cc: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
Cc: Michal Simek &lt;monstr@monstr.eu&gt;
Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Paul Walmsley &lt;paul.walmsley@sifive.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Russell King &lt;linux@armlinux.org.uk&gt;
Cc: Stafford Horne &lt;shorne@gmail.com&gt;
Cc: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Will Deacon &lt;will@kernel.org&gt;
Cc: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;
Link: https://lkml.kernel.org/r/20200818151634.14343-12-rppt@kernel.org
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'sh-for-5.9' of git://git.libc.org/linux-sh</title>
<updated>2020-08-16T01:50:32Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2020-08-16T01:50:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5bbec3cfe376ed0014d9456a9be11d5ed75d587b'/>
<id>urn:sha1:5bbec3cfe376ed0014d9456a9be11d5ed75d587b</id>
<content type='text'>
Pull arch/sh updates from Rich Felker:
 "Cleanup, SECCOMP_FILTER support, message printing fixes, and other
  changes to arch/sh"

* tag 'sh-for-5.9' of git://git.libc.org/linux-sh: (34 commits)
  sh: landisk: Add missing initialization of sh_io_port_base
  sh: bring syscall_set_return_value in line with other architectures
  sh: Add SECCOMP_FILTER
  sh: Rearrange blocks in entry-common.S
  sh: switch to copy_thread_tls()
  sh: use the generic dma coherent remap allocator
  sh: don't allow non-coherent DMA for NOMMU
  dma-mapping: consolidate the NO_DMA definition in kernel/dma/Kconfig
  sh: unexport register_trapped_io and match_trapped_io_handler
  sh: don't include &lt;asm/io_trapped.h&gt; in &lt;asm/io.h&gt;
  sh: move the ioremap implementation out of line
  sh: move ioremap_fixed details out of &lt;asm/io.h&gt;
  sh: remove __KERNEL__ ifdefs from non-UAPI headers
  sh: sort the selects for SUPERH alphabetically
  sh: remove -Werror from Makefiles
  sh: Replace HTTP links with HTTPS ones
  arch/sh/configs: remove obsolete CONFIG_SOC_CAMERA*
  sh: stacktrace: Remove stacktrace_ops.stack()
  sh: machvec: Modernize printing of kernel messages
  sh: pci: Modernize printing of kernel messages
  ...
</content>
</entry>
<entry>
<title>sh: don't include &lt;asm/io_trapped.h&gt; in &lt;asm/io.h&gt;</title>
<updated>2020-08-15T02:05:16Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2020-07-14T12:18:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08732d1226edb7a0033d08286acada2b4e800c78'/>
<id>urn:sha1:08732d1226edb7a0033d08286acada2b4e800c78</id>
<content type='text'>
No need to expose the details of trapped I/O to drivers.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Rich Felker &lt;dalias@libc.org&gt;
</content>
</entry>
<entry>
<title>sh: move the ioremap implementation out of line</title>
<updated>2020-08-15T02:05:15Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2020-07-14T12:18:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13f1fc870dd747131f21ba6f20dc0d81cc5d4474'/>
<id>urn:sha1:13f1fc870dd747131f21ba6f20dc0d81cc5d4474</id>
<content type='text'>
Move the internal implementation details of ioremap out of line, no need
to expose any of this to drivers for a slow path API.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Rich Felker &lt;dalias@libc.org&gt;
</content>
</entry>
<entry>
<title>sh: move ioremap_fixed details out of &lt;asm/io.h&gt;</title>
<updated>2020-08-15T02:05:15Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2020-07-14T12:18:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3eef6b74d9fecf18b03db26584cc66928972a60b'/>
<id>urn:sha1:3eef6b74d9fecf18b03db26584cc66928972a60b</id>
<content type='text'>
ioremap_fixed is an internal implementation detail and should not be
exposed to drivers.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Rich Felker &lt;dalias@libc.org&gt;
</content>
</entry>
<entry>
<title>sh: remove -Werror from Makefiles</title>
<updated>2020-08-15T02:05:13Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2020-07-14T12:18:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ccbb5239d495923cb24b84a73eb814626c5bfa57'/>
<id>urn:sha1:ccbb5239d495923cb24b84a73eb814626c5bfa57</id>
<content type='text'>
The sh build is full of warnings when building with gcc 9.2.1.  While
fixing those would be great, at least avoid failing the build.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Rich Felker &lt;dalias@libc.org&gt;
</content>
</entry>
<entry>
<title>Revert "sh: add loglvl to printk_address()"</title>
<updated>2020-08-15T02:05:07Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2020-06-17T14:36:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fd722f25a6e4aecefbc58047a690076e57015197'/>
<id>urn:sha1:fd722f25a6e4aecefbc58047a690076e57015197</id>
<content type='text'>
This reverts commit 2deebe4d56d638269a4a728086d64de5734b460a.

printk_address() is always used as a continuation of the previous
logging, hence it should not include a log level.

Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Rich Felker &lt;dalias@libc.org&gt;
</content>
</entry>
<entry>
<title>sh: fault: Fix duplicate printing of "PC:"</title>
<updated>2020-08-15T02:05:07Z</updated>
<author>
<name>Geert Uytterhoeven</name>
</author>
<published>2020-06-17T14:36:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=845d9156febcd6b3b20c0c2c8d73b461b48e844c'/>
<id>urn:sha1:845d9156febcd6b3b20c0c2c8d73b461b48e844c</id>
<content type='text'>
Somewhere along the patch handling path, both the old "printk(KERN_ALERT
....)" and the new "pr_alert(...)" were retained, leading to the
duplicate printing of "PC:".

Drop the old one.

Fixes: eaabf98b0932a540 ("sh: fault: modernize printing of kernel messages")
Signed-off-by: Geert Uytterhoeven &lt;geert+renesas@glider.be&gt;
Signed-off-by: Rich Felker &lt;dalias@libc.org&gt;
</content>
</entry>
<entry>
<title>sh: remove call to memset after dma_alloc_coherent</title>
<updated>2020-08-15T02:05:03Z</updated>
<author>
<name>Chen Zhou</name>
</author>
<published>2020-01-02T01:54:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2202d81b098ef776153c6b40c5404d486042a3ed'/>
<id>urn:sha1:2202d81b098ef776153c6b40c5404d486042a3ed</id>
<content type='text'>
Function dma_alloc_coherent use in buf already zeroes out memory,
so memset is not needed.

Signed-off-by: Chen Zhou &lt;chenzhou10@huawei.com&gt;
Signed-off-by: Rich Felker &lt;dalias@libc.org&gt;
</content>
</entry>
<entry>
<title>sh: Fix unneeded constructor in page table allocation</title>
<updated>2020-08-15T02:05:03Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2020-06-08T13:04:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be74273aee2c94e8322404d0b6e84e4f30d911ed'/>
<id>urn:sha1:be74273aee2c94e8322404d0b6e84e4f30d911ed</id>
<content type='text'>
The pgd kmem_cache allocation both specified __GFP_ZERO and had a
constructor which makes no sense.  Remove __GFP_ZERO and zero the user
parts of the pgd explicitly.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Signed-off-by: Rich Felker &lt;dalias@libc.org&gt;
</content>
</entry>
</feed>
