14 Apr, 2011
1 commit
-
When suspending/resuming, the common task freezing code will run in
parallel and freeze processes on each core. This is because the code
uses the non-smp version of memory barriers (as well it should).The Blackfin smp barrier logic at the moment contains the cache sync
logic, but the non-smp barriers do not. This is incorrect as Rafel
summarized:
> ...
> The existing memory barriers are SMP barriers too, but they are more
> than _just_ SMP barriers. At least that's how it is _supposed_ to be
> (eg. rmb() is supposed to be stronger than smp_rmb()).
> ...
> However, looking at the blackfin's definitions of SMP barriers I see
> that it uses extra stuff that should _also_ be used in the definitions
> of the mandatory barriers.
> ...URL: http://lkml.org/lkml/2011/4/13/11
LKML-Reference:
Signed-off-by: Graf Yang
Signed-off-by: Mike Frysinger
07 Oct, 2010
1 commit
-
Rename h/w IRQ flags handling functions to be in line with what is expected for
the irq renaming patch. This renames local_*_hw() to hard_local_*() using the
following perl command:perl -pi -e 's/local_irq_(restore|enable|disable)_hw/hard_local_irq_\1/ or s/local_irq_save_hw([_a-z]*)[(]flags[)]/flags = hard_local_irq_save\1()/' `find arch/blackfin/ -name "*.[ch]"`
and then fixing up asm/irqflags.h manually.
Additionally, arch/hard_local_save_flags() and arch/hard_local_irq_save() both
return the flags rather than passing it through the argument list.Signed-off-by: David Howells
07 Oct, 2009
1 commit
-
Bill Gatliff & David Brownell pointed out we were missing some
copyrights, and licensing terms in some of the files in
./arch/blackfin, so this fixes things, and cleans them up.It also removes:
- verbose GPL text(refer to the top level ./COPYING file)
- file names (you are looking at the file)
- bug url (it's in the ./MAINTAINERS file)
- "or later" on GPL-2, when we did not have that rightIt also allows some Blackfin-specific assembly files to be under a BSD
like license (for people to use them outside of Linux).Signed-off-by: Robin Getz
Signed-off-by: Mike Frysinger
23 Jun, 2009
1 commit
-
Signed-off-by: Philippe Gerum
Signed-off-by: Mike Frysinger
13 Jun, 2009
1 commit
-
This converts the irq handling in the Blackfin arch from the old irq.h /
system.h method to the new irqflags.h. A stepping stone on the way to
other tracing functionality.Signed-off-by: Mike Frysinger
07 Jan, 2009
5 commits
-
[Mike Frysinger :
- handle bf531/bf532/bf534/bf536 variants in ipipe.h
- cleanup IPIPE logic for bfin_set_irq_handler()
- cleanup ipipe asm code a bit and add missing ENDPROC()
- simplify IPIPE code in trap_c
- unify some of the IPIPE code and fix style
- simplify DO_IRQ_L1 handling with ipipe code
- revert IRQ_SW_INT# addition from ipipe merge
- remove duplicate get_{c,s}clk() prototypes
]Signed-off-by: Yi Li
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu -
Signed-off-by: Sonic Zhang
Signed-off-by: Bryan Wu -
Signed-off-by: Robin Getz
Signed-off-by: Bryan Wu -
1. Use inline get_l1_... functions instead of macro
2. Fix compile issue about smp barrier functionsSigned-off-by: Graf Yang
Signed-off-by: Bryan Wu -
Blackfin dual core BF561 processor can support SMP like features.
https://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:smp-likeIn this patch, we provide SMP extend to Blackfin header files
and machine common codeSigned-off-by: Graf Yang
Signed-off-by: Bryan Wu
18 Nov, 2008
1 commit
-
move irq related functions into asm/irq.h and out of the mondo asm/system.h
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu
27 Aug, 2008
1 commit
-
Signed-off-by: Bryan Wu