mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
Metag architecture changes for v4.8
Just a few minor fixes: - Fix another incorrect inline asm register constraint, which has been lying quietly for 5 and a half years before finally causing build breakage during this merge window. - Removal of duplicated KERN_INFO from Joe Perches. - Typo fixes from Andrea Gelmini. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXo7kUAAoJEGwLaZPeOHZ6cBIP/3riUgQkk9kDFyxR2AvkCexq kbE6iXhYIUf3x/TO+ohPXeVNvqnGShGITzrYE8WPJoYCvqBfzFns6hryXPI63gEj WZh3SDik4dY47t7N20gE8wJXhdiSuhB1bMpd4MshxLGi7X18rYwKnraOuLv32v+8 GzPAU0o4qgiKE7bdhrG2uQkXax/4phbTvUF0+tDoplsI9neIY7BGxipoOZZkwNvQ cZ9K5fdLlh707cOJKb8NjBEDxn/FNKnweXZayEtRCiArjQZLA8RO2Wxt3nDvrRWH hCQMNXS6CoDqBmKk9QdtwBfrSkCpHZ2Eqp7/tInJl9O5cdZCJRdS9Ampjv0OglIB f9JCT7UcMz1T6X9N6C94XIiH/xrSirxzChIPE+iHfMczFXaaqg8jrjagWd+1MAY2 AMYtyM3ySrcolDLaiXbd2pnxdZI/E1Pv/sOT00p2fmb44sHdXcs0nWQqW+w8bQH0 vwkB/xJgGSY9hV7ChpmkEHgbtj5OVdVZeCS/vxZs0n2yobS5tU9RC4iPBR7Z1RYE rlXR4AWmjIhi8Im0/JF5gKotB1kidP0acT3LXFHZDnDLNFl1OxpY8LkZ7cxLJQFj dP3SKzqNXfZrxWSE466jJzk+hyICHZBtLfQPvgNMcppkso/QmPelGqc64+nDtor6 DrUBb9DMcOfHRRXhgdeu =8ih8 -----END PGP SIGNATURE----- Merge tag 'metag-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag Pull metag architecture updates from James Hogan: "Just a few minor fixes: - Fix another incorrect inline asm register constraint, which has been lying quietly for 5 and a half years before finally causing build breakage during this merge window. - Removal of duplicated KERN_INFO from Joe Perches - Typo fixes from Andrea Gelmini" * tag 'metag-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag: metag: Fix __cmpxchg_u32 asm constraint for CMP metag: Remove duplicate KERN_<LEVEL> prefix metag: Fix typos
This commit is contained in:
commit
755b20f492
@ -73,7 +73,7 @@ static inline unsigned long __cmpxchg_u32(volatile int *m, unsigned long old,
|
||||
" DCACHE [%2], %0\n"
|
||||
#endif
|
||||
"2:\n"
|
||||
: "=&d" (temp), "=&da" (retval)
|
||||
: "=&d" (temp), "=&d" (retval)
|
||||
: "da" (m), "bd" (old), "da" (new)
|
||||
: "cc"
|
||||
);
|
||||
|
@ -881,7 +881,7 @@
|
||||
#define PERFCTRL_DCSTALL 11 /* Dcache+TLB o/p delayed (per-thread) */
|
||||
#define PERFCTRL_ICSTALL 12 /* Icache+TLB o/p delayed (per-thread) */
|
||||
|
||||
#define PERFCTRL_INT 13 /* Internal core delailed events (see next) */
|
||||
#define PERFCTRL_INT 13 /* Internal core detailed events (see next) */
|
||||
#define PERFCTRL_EXT 15 /* External source in core periphery */
|
||||
#endif /* METAC_2_1 */
|
||||
|
||||
|
@ -179,7 +179,7 @@
|
||||
; is best to dump these registers immediately at the start of a routine
|
||||
; using a MSETL or SETL instruction-
|
||||
;
|
||||
; MSETL [A0StP],D0Ar6,D0Ar4,D0Ar2; Only dump argments expected
|
||||
; MSETL [A0StP],D0Ar6,D0Ar4,D0Ar2; Only dump arguments expected
|
||||
;or SETL [A0StP+#8++],D0Ar2 ; Up to two 32-bit args expected
|
||||
;
|
||||
; For non-leaf routines it is always necessary to save and restore at least
|
||||
|
@ -15,7 +15,7 @@
|
||||
#define SYSC_DCPART(n) (SYSC_DCPART0 + SYSC_xCPARTn_STRIDE * (n))
|
||||
#define SYSC_ICPART(n) (SYSC_ICPART0 + SYSC_xCPARTn_STRIDE * (n))
|
||||
|
||||
#define CACHE_ASSOCIATIVITY 4 /* 4 way set-assosiative */
|
||||
#define CACHE_ASSOCIATIVITY 4 /* 4 way set-associative */
|
||||
#define ICACHE 0
|
||||
#define DCACHE 1
|
||||
|
||||
|
@ -50,7 +50,7 @@ $LIDMCQuick:
|
||||
ADDCC D0Re0,D0Re0,#1 ! If yes result += 1
|
||||
SUBCC D1Ar1,D1Ar1,D1Re0 ! and A -= Bu
|
||||
ORS D0Ar4,D0Ar4,D0Ar4 ! Return neg result?
|
||||
NEG D0Ar2,D0Re0 ! Calulate neg result
|
||||
NEG D0Ar2,D0Re0 ! Calculate neg result
|
||||
MOVMI D0Re0,D0Ar2 ! Yes: Take neg result
|
||||
$LIDMCRet:
|
||||
MOV PC,D1RtP
|
||||
@ -94,7 +94,7 @@ $LIDMCLoop:
|
||||
LSR D1Re0, D1Re0, #1 ! Shift down B
|
||||
BNZ $LIDMCLoop ! Was single bit in curbit lost?
|
||||
ORS D0Ar4,D0Ar4,D0Ar4 ! Return neg result?
|
||||
NEG D0Ar2,D0Re0 ! Calulate neg result
|
||||
NEG D0Ar2,D0Re0 ! Calculate neg result
|
||||
MOVMI D0Re0,D0Ar2 ! Yes: Take neg result
|
||||
MOV PC,D1RtP
|
||||
.size ___divsi3,.-___divsi3
|
||||
|
@ -187,7 +187,7 @@ bad_area_nosemaphore:
|
||||
|
||||
if (show_unhandled_signals && unhandled_signal(tsk, SIGSEGV) &&
|
||||
printk_ratelimit()) {
|
||||
pr_info("%s%s[%d]: segfault at %lx pc %08x sp %08x write %d trap %#x (%s)",
|
||||
printk("%s%s[%d]: segfault at %lx pc %08x sp %08x write %d trap %#x (%s)",
|
||||
task_pid_nr(tsk) > 1 ? KERN_INFO : KERN_EMERG,
|
||||
tsk->comm, task_pid_nr(tsk), address,
|
||||
regs->ctx.CurrPC, regs->ctx.AX[0].U0,
|
||||
|
Loading…
Reference in New Issue
Block a user