forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/gi…
…t/cmetcalf/linux-tile Pull arch/tile bug fixes from Chris Metcalf: "This includes Paul Gortmaker's change to fix the <asm/system.h> disintegration issues on tile, a fix to unbreak the tilepro ethernet driver, and a backlog of bugfix-only changes from internal Tilera development over the last few months. They have all been to LKML and on linux-next for the last few days. The EDAC change to MAINTAINERS is an oddity but discussion on the linux-edac list suggested I ask you to pull that change through my tree since they don't have a tree to pull edac changes from at the moment." * 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: (39 commits) drivers/net/ethernet/tile: fix netdev_alloc_skb() bombing MAINTAINERS: update EDAC information tilepro ethernet driver: fix a few minor issues tile-srom.c driver: minor code cleanup edac: say "TILEGx" not "TILEPro" for the tilegx edac driver arch/tile: avoid accidentally unmasking NMI-type interrupt accidentally arch/tile: remove bogus performance optimization arch/tile: return SIGBUS for addresses that are unaligned AND invalid arch/tile: fix finv_buffer_remote() for tilegx arch/tile: use atomic exchange in arch_write_unlock() arch/tile: stop mentioning the "kvm" subdirectory arch/tile: export the page_home() function. arch/tile: fix pointer cast in cacheflush.c arch/tile: fix single-stepping over swint1 instructions on tilegx arch/tile: implement panic_smp_self_stop() arch/tile: add "nop" after "nap" to help GX idle power draw arch/tile: use proper memparse() for "maxmem" options arch/tile: fix up locking in pgtable.c slightly arch/tile: don't leak kernel memory when we unload modules arch/tile: fix bug in delay_backoff() ...
- Loading branch information
Showing
33 changed files
with
501 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2450,53 +2450,53 @@ F: fs/ecryptfs/ | |
|
||
EDAC-CORE | ||
M: Doug Thompson <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Supported | ||
F: Documentation/edac.txt | ||
F: drivers/edac/edac_* | ||
F: drivers/edac/ | ||
F: include/linux/edac.h | ||
|
||
EDAC-AMD64 | ||
M: Doug Thompson <[email protected]> | ||
M: Borislav Petkov <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Supported | ||
F: drivers/edac/amd64_edac* | ||
|
||
EDAC-E752X | ||
M: Mark Gross <[email protected]> | ||
M: Doug Thompson <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Maintained | ||
F: drivers/edac/e752x_edac.c | ||
|
||
EDAC-E7XXX | ||
M: Doug Thompson <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Maintained | ||
F: drivers/edac/e7xxx_edac.c | ||
|
||
EDAC-I82443BXGX | ||
M: Tim Small <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Maintained | ||
F: drivers/edac/i82443bxgx_edac.c | ||
|
||
EDAC-I3000 | ||
M: Jason Uhlenkott <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Maintained | ||
F: drivers/edac/i3000_edac.c | ||
|
||
EDAC-I5000 | ||
M: Doug Thompson <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Maintained | ||
F: drivers/edac/i5000_edac.c | ||
|
@@ -2525,21 +2525,21 @@ F: drivers/edac/i7core_edac.c | |
EDAC-I82975X | ||
M: Ranganathan Desikan <[email protected]> | ||
M: "Arvind R." <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Maintained | ||
F: drivers/edac/i82975x_edac.c | ||
|
||
EDAC-PASEMI | ||
M: Egor Martovetsky <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Maintained | ||
F: drivers/edac/pasemi_edac.c | ||
|
||
EDAC-R82600 | ||
M: Tim Small <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Maintained | ||
F: drivers/edac/r82600_edac.c | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
/* | ||
* cmpxchg.h -- forked from asm/atomic.h with this copyright: | ||
* | ||
* Copyright 2010 Tilera Corporation. All Rights Reserved. | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation, version 2. | ||
* | ||
* This program is distributed in the hope that it will be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or | ||
* NON INFRINGEMENT. See the GNU General Public License for | ||
* more details. | ||
* | ||
*/ | ||
|
||
#ifndef _ASM_TILE_CMPXCHG_H | ||
#define _ASM_TILE_CMPXCHG_H | ||
|
||
#ifndef __ASSEMBLY__ | ||
|
||
/* Nonexistent functions intended to cause link errors. */ | ||
extern unsigned long __xchg_called_with_bad_pointer(void); | ||
extern unsigned long __cmpxchg_called_with_bad_pointer(void); | ||
|
||
#define xchg(ptr, x) \ | ||
({ \ | ||
typeof(*(ptr)) __x; \ | ||
switch (sizeof(*(ptr))) { \ | ||
case 4: \ | ||
__x = (typeof(__x))(typeof(__x-__x))atomic_xchg( \ | ||
(atomic_t *)(ptr), \ | ||
(u32)(typeof((x)-(x)))(x)); \ | ||
break; \ | ||
case 8: \ | ||
__x = (typeof(__x))(typeof(__x-__x))atomic64_xchg( \ | ||
(atomic64_t *)(ptr), \ | ||
(u64)(typeof((x)-(x)))(x)); \ | ||
break; \ | ||
default: \ | ||
__xchg_called_with_bad_pointer(); \ | ||
} \ | ||
__x; \ | ||
}) | ||
|
||
#define cmpxchg(ptr, o, n) \ | ||
({ \ | ||
typeof(*(ptr)) __x; \ | ||
switch (sizeof(*(ptr))) { \ | ||
case 4: \ | ||
__x = (typeof(__x))(typeof(__x-__x))atomic_cmpxchg( \ | ||
(atomic_t *)(ptr), \ | ||
(u32)(typeof((o)-(o)))(o), \ | ||
(u32)(typeof((n)-(n)))(n)); \ | ||
break; \ | ||
case 8: \ | ||
__x = (typeof(__x))(typeof(__x-__x))atomic64_cmpxchg( \ | ||
(atomic64_t *)(ptr), \ | ||
(u64)(typeof((o)-(o)))(o), \ | ||
(u64)(typeof((n)-(n)))(n)); \ | ||
break; \ | ||
default: \ | ||
__cmpxchg_called_with_bad_pointer(); \ | ||
} \ | ||
__x; \ | ||
}) | ||
|
||
#define tas(ptr) (xchg((ptr), 1)) | ||
|
||
#endif /* __ASSEMBLY__ */ | ||
|
||
#endif /* _ASM_TILE_CMPXCHG_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.