<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/arch/hexagon/kernel, branch v3.19</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Hexagon: fix signal delivery for debug traps</title>
<updated>2014-12-16T19:27:39+00:00</updated>
<author>
<name>Richard Kuo</name>
<email>rkuo@codeaurora.org</email>
</author>
<published>2014-12-08T21:36:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8914d7e857807e1e60975000cba3750c9b2643e8'/>
<id>8914d7e857807e1e60975000cba3750c9b2643e8</id>
<content type='text'>
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Hexagon: fix alignment of init_task in RW_DATA_SECTION</title>
<updated>2014-12-16T19:27:22+00:00</updated>
<author>
<name>Richard Kuo</name>
<email>rkuo@codeaurora.org</email>
</author>
<published>2014-04-09T00:00:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f6b708c19d6f1791ccfbb20543c64466ef7a5f83'/>
<id>f6b708c19d6f1791ccfbb20543c64466ef7a5f83</id>
<content type='text'>
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hexagon: Fix build failures in linux-next</title>
<updated>2014-12-16T19:27:12+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2014-12-09T22:21:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cb84c2b401d9cead5508cfed57b59b6d5feffdac'/>
<id>cb84c2b401d9cead5508cfed57b59b6d5feffdac</id>
<content type='text'>
hexagon:defconfig fails to build in linux-next since commit 332fd7c4fef5
("genirq: Generic chip: Change irq_reg_{readl,writel} arguments").

The primary build failure is

arch/hexagon/include/asm/cacheflush.h: In function 'copy_to_user_page':
arch/hexagon/include/asm/cacheflush.h:89:22: error: 'VM_EXEC' undeclared

This is the result of including of &lt;linux/io.h&gt; from &lt;linux/irq.h&gt;,
which is now necessary due to the use of readl and writel from irq.h.
This causes recursive inclusions in hexagon code; cacheflush.h is included
from mm.h prior to the definition of VM_EXEC.

Fix the problem by moving copy_to_user_page from the hexagon include file to
arch/hexagon/mm/cache.c, similar to other architectures. After this change,
several redefinitions of readl and writel are reported. Those are caused
by recursive inclusions of io.h and asm/cacheflush.h. Fix those problems by
reducing the number of files included from those files. Also, it was necessary
to stop including asm-generic/cacheflush.h from asm/cacheflush.h. Instead,
functionality originally provided by asm-generic/cacheflush.h is now coded
in asm/cacheflush.h directly.

Cc: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Cc: Jason Cooper &lt;jason@lakedaemon.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
hexagon:defconfig fails to build in linux-next since commit 332fd7c4fef5
("genirq: Generic chip: Change irq_reg_{readl,writel} arguments").

The primary build failure is

arch/hexagon/include/asm/cacheflush.h: In function 'copy_to_user_page':
arch/hexagon/include/asm/cacheflush.h:89:22: error: 'VM_EXEC' undeclared

This is the result of including of &lt;linux/io.h&gt; from &lt;linux/irq.h&gt;,
which is now necessary due to the use of readl and writel from irq.h.
This causes recursive inclusions in hexagon code; cacheflush.h is included
from mm.h prior to the definition of VM_EXEC.

Fix the problem by moving copy_to_user_page from the hexagon include file to
arch/hexagon/mm/cache.c, similar to other architectures. After this change,
several redefinitions of readl and writel are reported. Those are caused
by recursive inclusions of io.h and asm/cacheflush.h. Fix those problems by
reducing the number of files included from those files. Also, it was necessary
to stop including asm-generic/cacheflush.h from asm/cacheflush.h. Instead,
functionality originally provided by asm-generic/cacheflush.h is now coded
in asm/cacheflush.h directly.

Cc: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Cc: Jason Cooper &lt;jason@lakedaemon.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hexagon: Use sigsp()</title>
<updated>2014-08-06T11:04:08+00:00</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2014-03-05T14:24:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8bc77aa45e8383e760f1a7edd12ed4d077a068d8'/>
<id>8bc77aa45e8383e760f1a7edd12ed4d077a068d8</id>
<content type='text'>
Use sigsp() instead of the open coded variant.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use sigsp() instead of the open coded variant.

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>hexagon: Use get_signal() signal_setup_done()</title>
<updated>2014-08-06T11:02:14+00:00</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2013-10-07T11:50:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ac443624490f7033aefd06713e7761aee5977de3'/>
<id>ac443624490f7033aefd06713e7761aee5977de3</id>
<content type='text'>
Use the more generic functions get_signal() signal_setup_done()
for signal delivery.

Acked-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the more generic functions get_signal() signal_setup_done()
for signal delivery.

Acked-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Hexagon: set the e_flags in user regset view for core dumps</title>
<updated>2014-04-04T23:20:02+00:00</updated>
<author>
<name>Richard Kuo</name>
<email>rkuo@codeaurora.org</email>
</author>
<published>2013-10-18T00:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=446b6cb8deab01bfa278d42f3bf57ee668cb72c1'/>
<id>446b6cb8deab01bfa278d42f3bf57ee668cb72c1</id>
<content type='text'>
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Hexagon: add screen_info for VGA_CONSOLE</title>
<updated>2014-04-04T23:20:01+00:00</updated>
<author>
<name>Richard Kuo</name>
<email>rkuo@codeaurora.org</email>
</author>
<published>2013-12-06T22:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=17ca896dae8272a3dadf6343dca9daa5c2e6ebb5'/>
<id>17ca896dae8272a3dadf6343dca9daa5c2e6ebb5</id>
<content type='text'>
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>smp, hexagon: kill SMP single function call interrupt</title>
<updated>2014-04-04T23:20:01+00:00</updated>
<author>
<name>Jiang Liu</name>
<email>liuj97@gmail.com</email>
</author>
<published>2013-12-04T16:12:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bd09f6061843d5266b0ae7ebc87255bd2ca95a49'/>
<id>bd09f6061843d5266b0ae7ebc87255bd2ca95a49</id>
<content type='text'>
Commit 9a46ad6d6df3b54 "smp: make smp_call_function_many() use logic
similar to smp_call_function_single()" has unified the way to handle
single and multiple cross-CPU function calls. Now only one intterupt
is needed for architecture specific code to support generic SMP function
call interfaces, so kill the redundant single function call interrupt.

Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Shaohua Li &lt;shli@kernel.org&gt;
Cc: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Jiri Kosina &lt;trivial@kernel.org&gt;
Cc: Richard Kuo &lt;rkuo@codeaurora.org&gt;
Cc: linux-hexagon@vger.kernel.org
Signed-off-by: Jiang Liu &lt;liuj97@gmail.com&gt;
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 9a46ad6d6df3b54 "smp: make smp_call_function_many() use logic
similar to smp_call_function_single()" has unified the way to handle
single and multiple cross-CPU function calls. Now only one intterupt
is needed for architecture specific code to support generic SMP function
call interfaces, so kill the redundant single function call interrupt.

Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Shaohua Li &lt;shli@kernel.org&gt;
Cc: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Jiri Kosina &lt;trivial@kernel.org&gt;
Cc: Richard Kuo &lt;rkuo@codeaurora.org&gt;
Cc: linux-hexagon@vger.kernel.org
Signed-off-by: Jiang Liu &lt;liuj97@gmail.com&gt;
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arch: hexagon: kernel: hexagon_ksyms.c: export related symbols which various modules need</title>
<updated>2014-04-04T23:20:00+00:00</updated>
<author>
<name>Chen Gang</name>
<email>gang.chen.5i5j@gmail.com</email>
</author>
<published>2013-12-03T12:26:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e6d19042176344f22f8de6ea6aa2a84d3f8f8d17'/>
<id>e6d19042176344f22f8de6ea6aa2a84d3f8f8d17</id>
<content type='text'>
Need export all related functions and symbols for various modules with
allmodconfig. The related errors:

    MODPOST 2879 modules
  ERROR: "__vmyield" [sound/sound_firmware.ko] undefined!
  ERROR: "__phys_offset" [sound/drivers/snd-dummy.ko] undefined!
  ERROR: "ioremap_nocache" [drivers/char/ipmi/ipmi_si.ko] undefined!
  ERROR: "__iounmap" [drivers/char/ipmi/ipmi_si.ko] undefined!
  ...

For including files, need "linux/*" first, then "asm/*". All related
included files and symbols need be sorted by alphabetical order.

Signed-off-by: Chen Gang &lt;gang.chen.5i5j@gmail.com&gt;
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Need export all related functions and symbols for various modules with
allmodconfig. The related errors:

    MODPOST 2879 modules
  ERROR: "__vmyield" [sound/sound_firmware.ko] undefined!
  ERROR: "__phys_offset" [sound/drivers/snd-dummy.ko] undefined!
  ERROR: "ioremap_nocache" [drivers/char/ipmi/ipmi_si.ko] undefined!
  ERROR: "__iounmap" [drivers/char/ipmi/ipmi_si.ko] undefined!
  ...

For including files, need "linux/*" first, then "asm/*". All related
included files and symbols need be sorted by alphabetical order.

Signed-off-by: Chen Gang &lt;gang.chen.5i5j@gmail.com&gt;
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arch: hexagon: kernel: reset.c: use function pointer instead of function for pm_power_off and export it</title>
<updated>2014-04-04T23:20:00+00:00</updated>
<author>
<name>Chen Gang</name>
<email>gang.chen.5i5j@gmail.com</email>
</author>
<published>2013-11-29T04:01:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b1ddb5cc58dda42db21fc3e1c05bb6c28ac4d978'/>
<id>b1ddb5cc58dda42db21fc3e1c05bb6c28ac4d978</id>
<content type='text'>
'pm_power_off' is a function pointer, not a function, so need change
its type, and also need export it, or can not pass compiling with
allmodconfig. The related error:

    MODPOST 2879 modules
  ERROR: "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefined!

Signed-off-by: Chen Gang &lt;gang.chen.5i5j@gmail.com&gt;
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'pm_power_off' is a function pointer, not a function, so need change
its type, and also need export it, or can not pass compiling with
allmodconfig. The related error:

    MODPOST 2879 modules
  ERROR: "pm_power_off" [drivers/char/ipmi/ipmi_poweroff.ko] undefined!

Signed-off-by: Chen Gang &lt;gang.chen.5i5j@gmail.com&gt;
Signed-off-by: Richard Kuo &lt;rkuo@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
