<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arc/kernel/traps.c, branch linux-4.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-09-21T05:14:23Z</updated>
<entry>
<title>ARC: export "abort" for modules</title>
<updated>2019-09-21T05:14:23Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2019-09-19T20:58:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c9b259802937e8eae4300180e5558f10ecbdd3c'/>
<id>urn:sha1:9c9b259802937e8eae4300180e5558f10ecbdd3c</id>
<content type='text'>
This is a custom patch (no mainline equivalent) for stable backport only
to address 0-Day kernel test infra ARC 4.x.y builds errors.

The reason for this custom patch as that it is a single patch, touches
only ARC, vs. atleast two 7c2c11b208be09c1, dc8635b78cd8669 which touch
atleast 3 other arches (one long removed) and could potentially have a
fallout.

Reported-by: kbuild test robot &lt;lkp@intel.com&gt;
CC: stable@vger.kernel.org	# 4.4, 4.9
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>ARC: handle gcc generated __builtin_trap for older compiler</title>
<updated>2019-07-10T07:55:44Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2017-12-08T16:45:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd67557464c2cf89e239da1f11c5d8905ee18f01'/>
<id>urn:sha1:bd67557464c2cf89e239da1f11c5d8905ee18f01</id>
<content type='text'>
commit af1be2e21203867cb958aaceed5366e2e24b88e8 upstream.

ARC gcc prior to GNU 2018.03 release didn't have a target specific
__builtin_trap() implementation, generating default abort() call.

Implement the abort() call - emulating what newer gcc does for the same,
as suggested by Arnd.

Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>ARC: rename unhandled exception handler</title>
<updated>2015-04-13T09:44:57Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2014-10-13T09:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0dfb8ec70fd67be02096eaf9898feb94950d6f06'/>
<id>urn:sha1:0dfb8ec70fd67be02096eaf9898feb94950d6f06</id>
<content type='text'>
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
<entry>
<title>ARC: Reduce #ifdef'ery for unaligned access emulation</title>
<updated>2013-11-06T05:11:39Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2013-09-18T12:38:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07ba69a46c3394fe6675483275337e5a79a959e0'/>
<id>urn:sha1:07ba69a46c3394fe6675483275337e5a79a959e0</id>
<content type='text'>
Emulation not enabled is treated as if the fixup failed, so no need for
special #ifdef checks.

Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
<entry>
<title>ARC: Remove explicit passing around of ECR</title>
<updated>2013-06-26T10:00:50Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2013-06-12T09:43:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38a9ff6d247cf9afcbe55ea245b650b8955029fd'/>
<id>urn:sha1:38a9ff6d247cf9afcbe55ea245b650b8955029fd</id>
<content type='text'>
With ECR now part of pt_regs

* No need to propagate from lowest asm handlers as arg
* No need to save it in tsk-&gt;thread.cause_code
* Avoid bit chopping to access the bit-fields

More code consolidation, cleanup

Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
<entry>
<title>ARC: unaligned access emulation error handling consolidation</title>
<updated>2013-05-07T08:13:55Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2013-04-04T09:07:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c723ea4620a67fb0dbed5f5c33183543799e2177'/>
<id>urn:sha1:c723ea4620a67fb0dbed5f5c33183543799e2177</id>
<content type='text'>
If CONFIG_ARC_MISALIGN_ACCESS is not enabled, or if the fixup fails,
call the same error handler: same signal/si_code to user (SIGBUS)

Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
<entry>
<title>ARC: [build] Build failure with !KPROBES</title>
<updated>2013-04-09T11:56:50Z</updated>
<author>
<name>Christian Ruppert</name>
</author>
<published>2013-04-09T09:50:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5b00029e30ef821152fa82502658e538172d6b75'/>
<id>urn:sha1:5b00029e30ef821152fa82502658e538172d6b75</id>
<content type='text'>
arch/arc/kernel/traps.c no longer compiles without explicitly including
asm/kprobes.h

Signed-off-by: Christian Ruppert &lt;christian.ruppert@abilis.com&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
<entry>
<title>ARC: Use &lt;linux/*&gt; headers instead of &lt;asm/*&gt;</title>
<updated>2013-04-09T06:51:14Z</updated>
<author>
<name>Sachin Kamat</name>
</author>
<published>2013-03-06T11:23:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ec9db1056b0c4b8b9dfca4736634c7c8e0833d5'/>
<id>urn:sha1:1ec9db1056b0c4b8b9dfca4736634c7c8e0833d5</id>
<content type='text'>
Silences the following checkpatch warnings:
WARNING: Use #include &lt;linux/ptrace.h&gt; instead of &lt;asm/ptrace.h&gt;
WARNING: Use #include &lt;linux/kprobes.h&gt; instead of &lt;asm/kprobes.h&gt;
WARNING: Use #include &lt;linux/kgdb.h&gt; instead of &lt;asm/kgdb.h&gt;
WARNING: Use #include &lt;linux/uaccess.h&gt; instead of &lt;asm/uaccess.h&gt;
WARNING: Use #include &lt;linux/cache.h&gt; instead of &lt;asm/cache.h&gt;

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
<entry>
<title>ARC: kgdb support</title>
<updated>2013-02-15T17:46:07Z</updated>
<author>
<name>Mischa Jonker</name>
</author>
<published>2013-01-18T09:42:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f46121bd26d7957866739313f1e098a682e8d3e4'/>
<id>urn:sha1:f46121bd26d7957866739313f1e098a682e8d3e4</id>
<content type='text'>
Signed-off-by: Mischa Jonker &lt;mjonker@synopsys.com&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Cc: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Acked-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
</content>
</entry>
<entry>
<title>ARC: Unaligned access emulation</title>
<updated>2013-02-15T17:46:06Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2013-01-23T11:00:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e651ea1596b0ee25af4fcdc4cd13cbb33ffc254'/>
<id>urn:sha1:2e651ea1596b0ee25af4fcdc4cd13cbb33ffc254</id>
<content type='text'>
ARC700 doesn't natively support unaligned access, but can be emulated
-Unaligned Access Exception
-Disassembly at the Fault address to find the exact insn (long/short)

Also per Arnd's comment, we runtime control it using 2 sysctl knobs:
* SYSCTL_ARCH_UNALIGN_ALLOW: Runtime enable/disble
* SYSCTL_ARCH_UNALIGN_NO_WARN: Warn on each emulation attempt

Originally contributed by Tim Yao &lt;tim.yao@amlogic.com&gt;

Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Cc: Tim Yao &lt;tim.yao@amlogic.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
</feed>
