<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/microblaze/mm/consistent.c, branch linux-4.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-07-20T12:29:54Z</updated>
<entry>
<title>microblaze: remove consistent_sync and consistent_sync_page</title>
<updated>2018-07-20T12:29:54Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2018-07-19T12:54:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed207a743444aca63a4a71eadf6ae19e99ee1534'/>
<id>urn:sha1:ed207a743444aca63a4a71eadf6ae19e99ee1534</id>
<content type='text'>
Both unused.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: use generic dma_noncoherent_ops</title>
<updated>2018-07-20T12:29:47Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2018-07-19T12:54:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5411ad27dba1e59923f3865f90ab756fd6b9ab3c'/>
<id>urn:sha1:5411ad27dba1e59923f3865f90ab756fd6b9ab3c</id>
<content type='text'>
Switch to the generic noncoherent direct mapping implementation.

This removes the direction-based optimizations in
sync_{single,sg}_for_{cpu,device} which were marked untestested and
do not match the usually very well tested {un,}map_{single,sg}
implementations.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix mmap for cache coherent memory</title>
<updated>2014-12-17T11:59:59Z</updated>
<author>
<name>Lars-Peter Clausen</name>
</author>
<published>2014-12-03T15:07:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a8e3265179b7e6394d7aab4d6df5651b49e7243'/>
<id>urn:sha1:3a8e3265179b7e6394d7aab4d6df5651b49e7243</id>
<content type='text'>
When running in non-cache coherent configuration the memory that was
allocated with dma_alloc_coherent() has a custom mapping and so there is no
1-to-1 relationship between the kernel virtual address and the PFN. This
means that virt_to_pfn() will not work correctly for those addresses and the
default mmap implementation in the form of dma_common_mmap() will map some
random, but not the requested, memory area.

Fix this by providing a custom mmap implementation that looks up the PFN
from the page table rather than using virt_to_pfn.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Use asm-generic/io.h</title>
<updated>2014-04-07T12:25:53Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2013-02-07T14:12:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a66a626538af65cbfc611e2b2fce500ed3f24518'/>
<id>urn:sha1:a66a626538af65cbfc611e2b2fce500ed3f24518</id>
<content type='text'>
Using generic io.h will narrow down code duplication
in architecture io.h.

- define PCI_IOBASE
- remove non existing pci_io_base extern

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>mm/arch: use __free_reserved_page() to simplify the code</title>
<updated>2013-11-13T03:09:03Z</updated>
<author>
<name>Xishi Qiu</name>
</author>
<published>2013-11-12T23:07:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1ce4b375fa7b76d8b553d4f8d6cc5a09f063691'/>
<id>urn:sha1:c1ce4b375fa7b76d8b553d4f8d6cc5a09f063691</id>
<content type='text'>
Use __free_reserved_page() to simplify the code in arch.

It used split_page() in consistent_alloc()/__dma_alloc_coherent()/dma_alloc_coherent(),
so page-&gt;_count == 1, and we can free it safely.

__free_reserved_page()
	ClearPageReserved()
	init_page_count()  // it won't change the value
	__free_page()

Signed-off-by: Xishi Qiu &lt;qiuxishi@huawei.com&gt;
Cc: James Hogan &lt;james.hogan@imgtec.com&gt;
Cc: Michal Simek &lt;monstr@monstr.eu&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>microblaze: Do not use module.h in files which are not modules</title>
<updated>2013-02-12T10:24:45Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2013-02-01T12:10:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d64af918feb6cb81c396d6d2dabb738bc51dda3f'/>
<id>urn:sha1:d64af918feb6cb81c396d6d2dabb738bc51dda3f</id>
<content type='text'>
Based on the patch:
"lib: reduce the use of module.h wherever possible"
(sha1: 8bc3bcc93a2b4e47d5d410146f6546bca6171663)
fix all microblaze files which are not modules.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix coding style issues</title>
<updated>2013-02-12T10:24:45Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2012-12-27T09:40:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6bd55f0bbaebb79b39e147aa864401fd0c94db82'/>
<id>urn:sha1:6bd55f0bbaebb79b39e147aa864401fd0c94db82</id>
<content type='text'>
Fix coding style issues reported by checkpatch.pl.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix sparse warning - consistent_alloc function</title>
<updated>2011-03-09T07:09:58Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2011-02-07T10:42:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd44da154241170be3f1fadb1f2ca689f6802628'/>
<id>urn:sha1:cd44da154241170be3f1fadb1f2ca689f6802628</id>
<content type='text'>
Warning in dma.c was caused by incorrect type in consistent_alloc function.

Warning log:
CHECK   arch/microblaze/kernel/dma.c
arch/microblaze/kernel/dma.c:53:26: warning: incorrect type in argument 1 (different base types)
arch/microblaze/kernel/dma.c:53:26:    expected int [signed] gfp
arch/microblaze/kernel/dma.c:53:26:    got restricted unsigned int [usertype] flag

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix consistent-sync code</title>
<updated>2010-05-06T09:22:00Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2010-04-29T11:02:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=385e1efafc73a5deeb20645ae8b227b4896852e2'/>
<id>urn:sha1:385e1efafc73a5deeb20645ae8b227b4896852e2</id>
<content type='text'>
PCI_DMA_FROMDEVICE should call invalidation not flushing.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
<entry>
<title>microblaze: Fix consistent code</title>
<updated>2010-05-06T09:21:59Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2010-04-10T15:34:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f1525765fb9c432f5dc5d0d18102fbe9980a14ae'/>
<id>urn:sha1:f1525765fb9c432f5dc5d0d18102fbe9980a14ae</id>
<content type='text'>
This patch fix consistent code which had problems with consistent_free
function.
I am not sure if we need to call flush_tlb_all after it but it keeps
tlbs synced.
I added noMMU and MMU version together.

Uncached shadow feature is not tested.

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
</content>
</entry>
</feed>
