<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/csky/include, branch linux-4.20.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.20.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.20.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-02-20T09:29:02Z</updated>
<entry>
<title>csky: fixup CACHEV1 store instruction fast retire</title>
<updated>2019-02-20T09:29:02Z</updated>
<author>
<name>Guo Ren</name>
</author>
<published>2019-01-08T12:17:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e4a8a44034ee4cb1cf1165601ede1e345b1618cc'/>
<id>urn:sha1:e4a8a44034ee4cb1cf1165601ede1e345b1618cc</id>
<content type='text'>
[ Upstream commit 96354ad79e2e59f9d620669c8e1ac2452440c260 ]

For I/O access, 810/807 store instruction fast retire will cause wrong
primitive. For example:

	stw (clear interrupt source)
	stw (unmask interrupt controller)
	enable interrupt

stw is fast retire instruction. When PC is run at enable interrupt
stage, the clear interrupt source hasn't finished. It will cause another
wrong irq-enter.

So use mb() to prevent above.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Cc: Lu Baoquan &lt;lu.baoquan@intellif.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>csky: bugfix tlb_get_pgd error.</title>
<updated>2018-12-03T02:49:11Z</updated>
<author>
<name>Guo Ren</name>
</author>
<published>2018-11-20T08:06:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63e19c8216bb03a1b4d10f6637d1324ae7a2b612'/>
<id>urn:sha1:63e19c8216bb03a1b4d10f6637d1324ae7a2b612</id>
<content type='text'>
It's wrong to mask/unmask highest bit in addr to translate the vaddr
to paddr. We should use PAGE_OFFSET and PHYS_OFFSET.

Wrong implement:
  return ((get_pgd()|(1&lt;&lt;31)) - PHYS_OFFSET) &amp; ~1;

When PHYS_OFFSET=0xc0000000 and get_pgd() return 0xe0000000, it'll
return 0x60000000. It's wrong and should be 0xa0000000.

Now correct it to:
  return ((get_pgd() - PHYS_OFFSET) &amp; ~1) + PAGE_OFFSET;

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
</content>
</entry>
<entry>
<title>treewide: remove current_text_addr</title>
<updated>2018-10-31T15:54:12Z</updated>
<author>
<name>Nick Desaulniers</name>
</author>
<published>2018-10-30T22:04:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de0d22e50cd3d57277f073ccf65d57aa519d6888'/>
<id>urn:sha1:de0d22e50cd3d57277f073ccf65d57aa519d6888</id>
<content type='text'>
Prefer _THIS_IP_ defined in linux/kernel.h.

Most definitions of current_text_addr were the same as _THIS_IP_, but
a few archs had inline assembly instead.

This patch removes the final call site of current_text_addr, making all
of the definitions dead code.

[akpm@linux-foundation.org: fix arch/csky/include/asm/processor.h]
Link: http://lkml.kernel.org/r/20180911182413.180715-1-ndesaulniers@google.com
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.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>csky: Misc headers</title>
<updated>2018-10-25T16:54:26Z</updated>
<author>
<name>Guo Ren</name>
</author>
<published>2018-09-05T06:25:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=735ee005c371b2d8d1dbf0542590d17f1e0a0b2f'/>
<id>urn:sha1:735ee005c371b2d8d1dbf0542590d17f1e0a0b2f</id>
<content type='text'>
This patch adds csky registers' definition, bitops, byteorder,
asm-offsets codes.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>csky: SMP support</title>
<updated>2018-10-25T16:54:26Z</updated>
<author>
<name>Guo Ren</name>
</author>
<published>2018-09-05T06:25:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=991069865796f8ad31ee54aca8a0f1b7a522e94b'/>
<id>urn:sha1:991069865796f8ad31ee54aca8a0f1b7a522e94b</id>
<content type='text'>
This patch adds boot, ipi, hotplug codes for SMP.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Cc: Marc Zyngier &lt;marc.zyngier@arm.com&gt;
Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>csky: Debug and Ptrace GDB</title>
<updated>2018-10-25T16:54:25Z</updated>
<author>
<name>Guo Ren</name>
</author>
<published>2018-09-05T06:25:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ce36bfa6a0904524baed699ad78706e50295f84'/>
<id>urn:sha1:2ce36bfa6a0904524baed699ad78706e50295f84</id>
<content type='text'>
This patch adds arch ptrace implementation, stack dump and bug.h.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>csky: User access</title>
<updated>2018-10-25T16:54:25Z</updated>
<author>
<name>Guo Ren</name>
</author>
<published>2018-09-05T06:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da551281947cb2c0ab6e0045529a706af5d79584'/>
<id>urn:sha1:da551281947cb2c0ab6e0045529a706af5d79584</id>
<content type='text'>
The patch adds "user access from kernel" codes.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>csky: Library functions</title>
<updated>2018-10-25T16:54:24Z</updated>
<author>
<name>Guo Ren</name>
</author>
<published>2018-09-05T06:25:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5af58b769113c4045209973052db3e3a543ee43'/>
<id>urn:sha1:c5af58b769113c4045209973052db3e3a543ee43</id>
<content type='text'>
This patch adds string optimize codes and some auxiliary codes.

Signed-off-by: Chen Linfei &lt;linfei_chen@c-sky.com&gt;
Signed-off-by: Mao Han &lt;han_mao@c-sky.com&gt;
Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>csky: ELF and module probe</title>
<updated>2018-10-25T16:54:23Z</updated>
<author>
<name>Guo Ren</name>
</author>
<published>2018-09-05T06:25:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d056df0924edbb0a30c85a1c1d3153c1229ec47'/>
<id>urn:sha1:9d056df0924edbb0a30c85a1c1d3153c1229ec47</id>
<content type='text'>
This patch adds ELF definition and module relocate codes.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>csky: Atomic operations</title>
<updated>2018-10-25T16:54:23Z</updated>
<author>
<name>Guo Ren</name>
</author>
<published>2018-09-05T06:25:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a0ae62806ff495b60235cc4f2fee3f3ab6a265c9'/>
<id>urn:sha1:a0ae62806ff495b60235cc4f2fee3f3ab6a265c9</id>
<content type='text'>
This patch adds atomic, cmpxchg, spinlock files.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Cc: Andrea Parri &lt;andrea.parri@amarulasolutions.com&gt;
Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
Reviewed-by: Peter Zijlstra &lt;peterz@infradead.org&gt;
</content>
</entry>
</feed>
