<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/blackfin/kernel/process.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-10-28T07:57:49Z</updated>
<entry>
<title>Blackfin arch: fix bug - shared lib function in L2 failed be called</title>
<updated>2008-10-28T07:57:49Z</updated>
<author>
<name>Jie Zhang</name>
</author>
<published>2008-10-28T07:57:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2c2f30388c682520ae2d07c8852b4225dd4a4d7'/>
<id>urn:sha1:b2c2f30388c682520ae2d07c8852b4225dd4a4d7</id>
<content type='text'>
Allow user space to access L2 SRAM.

Signed-off-by: Jie Zhang &lt;jie.zhang@analog.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;

</content>
</entry>
<entry>
<title>nohz: prevent tick stop outside of the idle loop</title>
<updated>2008-07-18T16:10:28Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2008-07-18T15:27:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b8f8c3cf0a4ac0632ec3f0e15e9dc0c29de917af'/>
<id>urn:sha1:b8f8c3cf0a4ac0632ec3f0e15e9dc0c29de917af</id>
<content type='text'>
Jack Ren and Eric Miao tracked down the following long standing
problem in the NOHZ code:

	scheduler switch to idle task
	enable interrupts

Window starts here

	----&gt; interrupt happens (does not set NEED_RESCHED)
	      	irq_exit() stops the tick

	----&gt; interrupt happens (does set NEED_RESCHED)

	return from schedule()
	
	cpu_idle(): preempt_disable();

Window ends here

The interrupts can happen at any point inside the race window. The
first interrupt stops the tick, the second one causes the scheduler to
rerun and switch away from idle again and we end up with the tick
disabled.

The fact that it needs two interrupts where the first one does not set
NEED_RESCHED and the second one does made the bug obscure and extremly
hard to reproduce and analyse. Kudos to Jack and Eric.

Solution: Limit the NOHZ functionality to the idle loop to make sure
that we can not run into such a situation ever again.

cpu_idle()
{
	preempt_disable();

	while(1) {
		 tick_nohz_stop_sched_tick(1); &lt;- tell NOHZ code that we
		 			          are in the idle loop

		 while (!need_resched())
		       halt();

		 tick_nohz_restart_sched_tick(); &lt;- disables NOHZ mode
		 preempt_enable_no_resched();
		 schedule();
		 preempt_disable();
	}
}

In hindsight we should have done this forever, but ... 

/me grabs a large brown paperbag.

Debugged-by: Jack Ren &lt;jack.ren@marvell.com&gt;, 
Debugged-by: eric miao &lt;eric.y.miao@gmail.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
</entry>
<entry>
<title>[Blackfin] arch: fix bug -  breaking the atomic sections code.</title>
<updated>2008-05-07T03:41:26Z</updated>
<author>
<name>Bernd Schmidt</name>
</author>
<published>2008-05-07T03:41:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19d6d7d53c8ff809182a1f092d2c6918146414e9'/>
<id>urn:sha1:19d6d7d53c8ff809182a1f092d2c6918146414e9</id>
<content type='text'>
The following cleanup patch:
  add __user markings to a few userspace system functions

mysteriously added a "&amp;" operator that doesn't belong in there, breaking the
atomic sections code.

Signed-off-by: Bernd Schmidt &lt;bernds_cb1@t-online.de&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;

</content>
</entry>
<entry>
<title>[Blackfin] arch: This allows XIP to work with FD-PIC.</title>
<updated>2008-04-23T19:06:15Z</updated>
<author>
<name>Bernd Schmidt</name>
</author>
<published>2008-04-23T19:06:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5adb029efad3c51db376d620319abe65d1efc21'/>
<id>urn:sha1:d5adb029efad3c51db376d620319abe65d1efc21</id>
<content type='text'>
Previously, init failed to do anything meaningful;
it turns out that the reason is that FD-PIC has a readonly data
section which can be located in the XIP filesystem, and various address checks
in the kernel reject such addresses for syscall arguments.  Hence, init's
  execve ("/bin/sh", ...)
failed with error code EFAULT.

There's room for improvement here: in case people want to have filesystems
on flash rather than in main memory, _access_ok should be modified to
allow this.

This bug fix is also dedicated to Michael Hennerich.

Signed-off-by: Bernd Schmidt &lt;bernds_cb1@t-online.de&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;

</content>
</entry>
<entry>
<title>[Blackfin] arch: add missing __user marking to ss_sp member of signalstack and a few userspace system functions</title>
<updated>2008-03-06T18:37:41Z</updated>
<author>
<name>Mike Frysinger</name>
</author>
<published>2008-03-06T18:37:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ddeeca25ce33686262459e2387f57bd09574e47'/>
<id>urn:sha1:0ddeeca25ce33686262459e2387f57bd09574e47</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier.adi@gmail.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;

</content>
</entry>
<entry>
<title>[Blackfin] arch: initial generic time and clock sources</title>
<updated>2008-02-29T04:24:23Z</updated>
<author>
<name>Vitja Makarov</name>
</author>
<published>2008-02-29T04:24:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b5f79f9d7ee4f4edb0212886771c977476eb811'/>
<id>urn:sha1:8b5f79f9d7ee4f4edb0212886771c977476eb811</id>
<content type='text'>
This patch enables Hight-Res Timers and tickless kernel

Signed-off-by: Vitja Makarov &lt;vitja.makarov@gmail.com&gt;
Signed-off-by: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Signed-off-by: Bryan Wu &lt;cooloney@kernel.org&gt;

</content>
</entry>
<entry>
<title>aout: remove unnecessary inclusions of {asm, linux}/a.out.h</title>
<updated>2008-02-08T17:22:30Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2008-02-08T12:19:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1eb114112381eb66ebacdace1b6e70d30d603f9c'/>
<id>urn:sha1:1eb114112381eb66ebacdace1b6e70d30d603f9c</id>
<content type='text'>
Remove now unnecessary inclusions of {asm,linux}/a.out.h.

[akpm@linux-foundation.org: fix alpha build]
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Cc: &lt;linux-arch@vger.kernel.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>[Blackfin] arch: scrub dead alive/idle LED code</title>
<updated>2007-12-24T06:59:03Z</updated>
<author>
<name>Mike Frysinger</name>
</author>
<published>2007-12-24T06:59:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=54a1668ce53fe701f1d36651b591ced388e97275'/>
<id>urn:sha1:54a1668ce53fe701f1d36651b591ced388e97275</id>
<content type='text'>
if it does get re-added, it needs to be in the boards directory,
not common code ... or it needs a re-implementation

Signed-off-by: Mike Frysinger &lt;michael.frysinger@analog.com&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@analog.com&gt;

</content>
</entry>
<entry>
<title>[Blackfin] arch: Clean up dump_bfin_mem</title>
<updated>2007-12-23T14:57:01Z</updated>
<author>
<name>Robin Getz</name>
</author>
<published>2007-12-23T14:57:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b03b08ba9c7235861adf4dde712dade0bb756fe0'/>
<id>urn:sha1:b03b08ba9c7235861adf4dde712dade0bb756fe0</id>
<content type='text'>
Clean up dump_bfin_mem so that it will display
content from the kernel, as well as l1 instruction, when deferred
HW errors happen, print out the last frame info if it makes sense.

Signed-off-by: Robin Getz &lt;robin.getz@analog.com&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@analog.com&gt;

</content>
</entry>
<entry>
<title>Blackfin arch: split apart dump_bfin_regs and merge/remove show_regs from process.c, which was largely duplicated</title>
<updated>2007-11-21T08:46:49Z</updated>
<author>
<name>Mike Frysinger</name>
</author>
<published>2007-11-21T08:46:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49dce9124b41984bf1e918847bc17929c2e8f80f'/>
<id>urn:sha1:49dce9124b41984bf1e918847bc17929c2e8f80f</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;michael.frysinger@analog.com&gt;
Signed-off-by: Bryan Wu &lt;bryan.wu@analog.com&gt;

</content>
</entry>
</feed>
