<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/arch/cris/include/arch-v32, branch linux-4.7.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2016-03-14T03:55:13+00:00</updated>
<entry>
<title>ipv4: Update parameters for csum_tcpudp_magic to their original types</title>
<updated>2016-03-14T03:55:13+00:00</updated>
<author>
<name>Alexander Duyck</name>
<email>aduyck@mirantis.com</email>
</author>
<published>2016-03-11T22:05:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=01cfbad79a5e2b835abf6a8154a341d75a6fc8cd'/>
<id>urn:sha1:01cfbad79a5e2b835abf6a8154a341d75a6fc8cd</id>
<content type='text'>
This patch updates all instances of csum_tcpudp_magic and
csum_tcpudp_nofold to reflect the types that are usually used as the source
inputs.  For example the protocol field is populated based on nexthdr which
is actually an unsigned 8 bit value.  The length is usually populated based
on skb-&gt;len which is an unsigned integer.

This addresses an issue in which the IPv6 function csum_ipv6_magic was
generating a checksum using the full 32b of skb-&gt;len while
csum_tcpudp_magic was only using the lower 16 bits.  As a result we could
run into issues when attempting to adjust the checksum as there was no
protocol agnostic way to update it.

With this change the value is still truncated as many architectures use
"(len + proto) &lt;&lt; 8", however this truncation only occurs for values
greater than 16776960 in length and as such is unlikely to occur as we stop
the inner headers at ~64K in size.

I did have to make a few minor changes in the arm, mn10300, nios2, and
score versions of the function in order to support these changes as they
were either using things such as an OR to combine the protocol and length,
or were using ntohs to convert the length which would have truncated the
value.

I also updated a few spots in terms of whitespace and type differences for
the addresses.  Most of this was just to make sure all of the definitions
were in sync going forward.

Signed-off-by: Alexander Duyck &lt;aduyck@mirantis.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>CRIS v32: remove old GPIO and LEDs code</title>
<updated>2015-11-02T19:03:05+00:00</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin@rab.in</email>
</author>
<published>2015-08-03T18:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ab28e96fd1cf1db1579854931890e5613efc5021'/>
<id>urn:sha1:ab28e96fd1cf1db1579854931890e5613efc5021</id>
<content type='text'>
Since we now have a gpiolib driver, remove this code:

The gpio-etraxfs driver (along with things like gpio-keys-polled for
polling support) replaces the GIO driver implementations in mach-a3 and
mach-fs.  The various generic external chip drivers replace the "virtual
gpio" parts.

The generic gpio-leds driver replaces the LED handling.

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Jesper Nilsson &lt;jespern@axis.com&gt;
</content>
</entry>
<entry>
<title>CRIS v32: increase NR_IRQS</title>
<updated>2015-11-02T19:03:04+00:00</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin@rab.in</email>
</author>
<published>2015-08-03T18:19:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=df90c338087fdec88727a025a8d6400ecb7fe4bd'/>
<id>urn:sha1:df90c338087fdec88727a025a8d6400ecb7fe4bd</id>
<content type='text'>
Increase NR_IQRS so we can fit in GPIO interrupts.

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Jesper Nilsson &lt;jespern@axis.com&gt;
</content>
</entry>
<entry>
<title>CRIS: UAPI: fix elf.h export</title>
<updated>2015-09-04T22:33:25+00:00</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin@rab.in</email>
</author>
<published>2015-03-27T21:35:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2493d3e28a22087116158249d79410fd355d1e83'/>
<id>urn:sha1:2493d3e28a22087116158249d79410fd355d1e83</id>
<content type='text'>
CRIS userspace (uClibc for one) expects asm/elf.h to be exported but
this header appears to have gone missing at some point.  Move it to
uapi/ and export it.

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Jesper Nilsson &lt;jesper.nilsson@axis.com&gt;
</content>
</entry>
<entry>
<title>CRIS: don't make asm/elf.h depend on asm/user.h</title>
<updated>2015-09-04T22:33:25+00:00</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin@rab.in</email>
</author>
<published>2015-05-14T15:00:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3a79a075375cebb672ddaea7896378afa0203e87'/>
<id>urn:sha1:3a79a075375cebb672ddaea7896378afa0203e87</id>
<content type='text'>
We're going to export asm/elf.h; remove its dependencies on the
non-exported asm/user.h and the unused asm/system.h include.

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Jesper Nilsson &lt;jesper.nilsson@axis.com&gt;
</content>
</entry>
<entry>
<title>CRIS: UAPI: fix ptrace.h</title>
<updated>2015-09-04T22:33:25+00:00</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin@rab.in</email>
</author>
<published>2015-03-27T21:32:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=835e4177284e1574033dea47d4bb8e55c21b6345'/>
<id>urn:sha1:835e4177284e1574033dea47d4bb8e55c21b6345</id>
<content type='text'>
The exported ptrace.h header on CRIS references an "arch" directory
which does not exist.  Fix this by having the variants in the same
directory and including them conditionally, similar to other
architectures.

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Jesper Nilsson &lt;jesper.nilsson@axis.com&gt;
</content>
</entry>
<entry>
<title>CRISv32: add unreachable() to BUG()</title>
<updated>2015-09-04T22:33:24+00:00</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin@rab.in</email>
</author>
<published>2015-05-14T12:36:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=98a725a57a8e92bfbe962a8c69975ce0f9ff11fe'/>
<id>urn:sha1:98a725a57a8e92bfbe962a8c69975ce0f9ff11fe</id>
<content type='text'>
Add an unreachable() in the BUG() implementations, to get rid of
several warnings similar to the one below:

 kernel/sched/core.c: In function 'pick_next_task':
 kernel/sched/core.c:2690:1: warning: control reaches end of non-void function [-Wreturn-type]

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Jesper Nilsson &lt;jespern@axis.com&gt;
</content>
</entry>
<entry>
<title>CRIS: use generic atomic.h</title>
<updated>2015-03-25T09:57:03+00:00</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin@rab.in</email>
</author>
<published>2015-02-19T16:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e7db8a3c96970d847da5611e78b6bde998f13da8'/>
<id>urn:sha1:e7db8a3c96970d847da5611e78b6bde998f13da8</id>
<content type='text'>
CRIS can use asm-generic's atomic.h.

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Jesper Nilsson &lt;jespern@axis.com&gt;
</content>
</entry>
<entry>
<title>CRIS: remove SMP code</title>
<updated>2015-03-25T09:55:10+00:00</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin@rab.in</email>
</author>
<published>2015-02-19T16:35:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=47a8f6fb349c977ff752f979b159aef96a0bb352'/>
<id>urn:sha1:47a8f6fb349c977ff752f979b159aef96a0bb352</id>
<content type='text'>
The CRIS SMP code cannot be built since there is no (and appears to
never have been) a CONFIG_SMP Kconfig option in arch/cris/.  Remove it.

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Jesper Nilsson &lt;jespern@axis.com&gt;
</content>
</entry>
<entry>
<title>CRISv32: don't enable irqs in INIT_THREAD</title>
<updated>2015-03-25T09:54:06+00:00</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin@rab.in</email>
</author>
<published>2015-02-19T17:20:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=06aca92424c2a53a9e26cb81c1d6a829af9491b8'/>
<id>urn:sha1:06aca92424c2a53a9e26cb81c1d6a829af9491b8</id>
<content type='text'>
INIT_THREAD enables interrupts in the thread_struct's saved flags.  This
means that interrupts get enabled in the middle of context_switch()
while switching to new tasks that get forked off the init task during
boot.  Don't do this.

Fixes the following splat on boot with spinlock debugging on:

  BUG: spinlock cpu recursion on CPU#0, swapper/2
   lock: runqueues+0x0/0x47c, .magic: dead4ead, .owner: swapper/0,
  .owner_cpu: 0
  CPU: 0 PID: 2 Comm: swapper Not tainted 3.19.0-08796-ga747b55 #285

  Call Trace:
  [&lt;c0032b80&gt;] spin_bug+0x2a/0x36
  [&lt;c0032c98&gt;] do_raw_spin_lock+0xa2/0x126
  [&lt;c01964b0&gt;] _raw_spin_lock+0x20/0x2a
  [&lt;c00286c8&gt;] scheduler_tick+0x22/0x76
  [&lt;c003db2c&gt;] update_process_times+0x5e/0x72
  [&lt;c0007a94&gt;] timer_interrupt+0x4e/0x6a
  [&lt;c00378d6&gt;] handle_irq_event_percpu+0x54/0xf2
  [&lt;c00379c4&gt;] handle_irq_event+0x50/0x74
  [&lt;c003988e&gt;] handle_simple_irq+0x6c/0xbe
  [&lt;c0037270&gt;] generic_handle_irq+0x2a/0x36
  [&lt;c0004c40&gt;] do_IRQ+0x38/0x84
  [&lt;c000662e&gt;] crisv32_do_IRQ+0x54/0x60
  [&lt;c0006204&gt;] IRQ0x4b_interrupt+0x34/0x3c
  [&lt;c0192baa&gt;] __schedule+0x24a/0x532
  [&lt;c00056b4&gt;] ret_from_kernel_thread+0x0/0x14

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Jesper Nilsson &lt;jespern@axis.com&gt;
</content>
</entry>
</feed>
