mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
hexagon updates for 6.14-rc1
* Move kernel prototypes to internal header * Fix to address an unbalanced spinlock * Miscellaneous patches to fix static checks * Update bcain@quicinc.com->brian.cain@oss.qualcomm.com -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEPWaq5HRZSCTIjOD4GlSvuOVkbDIFAmecSwAACgkQGlSvuOVk bDLUrQ/+P7RxA9SVdKH4JVPLdw91bCyNNJWS4mK+Z7Exeb7/hDtJ5NMTrZMRGEBL p+JbBwV2PoR6mUYTBnOaXWtWGD3ykNV83Zv0vcQt7s5N5xnSzI4smzbtwu2yfTng 6WAUKRl1f3W8Wq56YrHGb0/JMXQ9ilC2kJ+GusnJlW1Wdce6Z8puSsWgHybGplvw gHbbUkQ8qLLyVYXglBY+KZ4HntTxEQdj4Jd8IjGEkGLRLk92kCTFQxiuJnutHgBY LQQo/19q/ZA3eZnHyJ+Ym3l1ICnujWmkNcqQjBfHTe0LmKrgQtYGYwoVQF+PNmMf SYSw3L93NrENZn2AryiP1fdkDM2fpB5QNVI056kv/BF1mgq5sMXBXKAFoTBd2VlY JGKyO02/slBG0yJaE7pewpREMfND303gqpQJUxrGipzyxtIyCby8rBdfxAoKwmT4 ZX5CN8TWtvwR/Xi+SA0N2zmnxH9yLT7GaTb9JpWCZOxMXbtg+6V2uAZXQjbH11o2 TkHW/KpTXPPwvXwoT23tUxxKgc7GffGCx2ly0kKnQmNCDjimk/vyMzXq14JvJPuA /1+zU0MYKJi6jQj9C7IpwK/mvL25RhLMiRZ9DtGQB26nvYBmtCPIZgCV6tWef1kC xPehkyV6xY9K5aGMGOpldtf3Z+ONetKGqFd80TxEekdeMkQiQt8= =rVb9 -----END PGP SIGNATURE----- Merge tag 'for-linus-hexagon-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/bcain/linux Pull hexagon updates from Brian Cain: - Move kernel prototypes out of uapi header to internal header - Fix to address an unbalanced spinlock - Miscellaneous patches to fix static checks - Update bcain@quicinc.com->brian.cain@oss.qualcomm.com * tag 'for-linus-hexagon-6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/bcain/linux: MAINTAINERS: Update my email address hexagon: Fix unbalanced spinlock in die() hexagon: Fix warning comparing pointer to 0 hexagon: Move kernel prototypes out of uapi/asm/setup.h header hexagon: time: Remove redundant null check for resource hexagon: fix using plain integer as NULL pointer warning in cmpxchg
This commit is contained in:
commit
60c828cf80
2
.mailmap
2
.mailmap
|
|
@ -142,6 +142,8 @@ Boris Brezillon <bbrezillon@kernel.org> <boris.brezillon@bootlin.com>
|
||||||
Boris Brezillon <bbrezillon@kernel.org> <boris.brezillon@free-electrons.com>
|
Boris Brezillon <bbrezillon@kernel.org> <boris.brezillon@free-electrons.com>
|
||||||
Brendan Higgins <brendan.higgins@linux.dev> <brendanhiggins@google.com>
|
Brendan Higgins <brendan.higgins@linux.dev> <brendanhiggins@google.com>
|
||||||
Brian Avery <b.avery@hp.com>
|
Brian Avery <b.avery@hp.com>
|
||||||
|
Brian Cain <bcain@kernel.org> <brian.cain@oss.qualcomm.com>
|
||||||
|
Brian Cain <bcain@kernel.org> <bcain@quicinc.com>
|
||||||
Brian King <brking@us.ibm.com>
|
Brian King <brking@us.ibm.com>
|
||||||
Brian Silverman <bsilver16384@gmail.com> <brian.silverman@bluerivertech.com>
|
Brian Silverman <bsilver16384@gmail.com> <brian.silverman@bluerivertech.com>
|
||||||
Bryan Tan <bryan-bt.tan@broadcom.com> <bryantan@vmware.com>
|
Bryan Tan <bryan-bt.tan@broadcom.com> <bryantan@vmware.com>
|
||||||
|
|
|
||||||
|
|
@ -19453,7 +19453,7 @@ F: drivers/misc/fastrpc.c
|
||||||
F: include/uapi/misc/fastrpc.h
|
F: include/uapi/misc/fastrpc.h
|
||||||
|
|
||||||
QUALCOMM HEXAGON ARCHITECTURE
|
QUALCOMM HEXAGON ARCHITECTURE
|
||||||
M: Brian Cain <bcain@quicinc.com>
|
M: Brian Cain <brian.cain@oss.qualcomm.com>
|
||||||
L: linux-hexagon@vger.kernel.org
|
L: linux-hexagon@vger.kernel.org
|
||||||
S: Supported
|
S: Supported
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/bcain/linux.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/bcain/linux.git
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ __arch_xchg(unsigned long x, volatile void *ptr, int size)
|
||||||
__typeof__(ptr) __ptr = (ptr); \
|
__typeof__(ptr) __ptr = (ptr); \
|
||||||
__typeof__(*(ptr)) __old = (old); \
|
__typeof__(*(ptr)) __old = (old); \
|
||||||
__typeof__(*(ptr)) __new = (new); \
|
__typeof__(*(ptr)) __new = (new); \
|
||||||
__typeof__(*(ptr)) __oldval = 0; \
|
__typeof__(*(ptr)) __oldval = (__typeof__(*(ptr))) 0; \
|
||||||
\
|
\
|
||||||
asm volatile( \
|
asm volatile( \
|
||||||
"1: %0 = memw_locked(%1);\n" \
|
"1: %0 = memw_locked(%1);\n" \
|
||||||
|
|
|
||||||
20
arch/hexagon/include/asm/setup.h
Normal file
20
arch/hexagon/include/asm/setup.h
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2010-2011, The Linux Foundation. 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 version 2 and
|
||||||
|
* only version 2 as published by the Free Software Foundation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _ASM_HEXAGON_SETUP_H
|
||||||
|
#define _ASM_HEXAGON_SETUP_H
|
||||||
|
|
||||||
|
#include <linux/init.h>
|
||||||
|
#include <uapi/asm/setup.h>
|
||||||
|
|
||||||
|
extern char external_cmdline_buffer;
|
||||||
|
|
||||||
|
void __init setup_arch_memory(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -17,19 +17,9 @@
|
||||||
* 02110-1301, USA.
|
* 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ASM_SETUP_H
|
#ifndef _UAPI_ASM_HEXAGON_SETUP_H
|
||||||
#define _ASM_SETUP_H
|
#define _UAPI_ASM_HEXAGON_SETUP_H
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
|
||||||
#include <linux/init.h>
|
|
||||||
#else
|
|
||||||
#define __init
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <asm-generic/setup.h>
|
#include <asm-generic/setup.h>
|
||||||
|
|
||||||
extern char external_cmdline_buffer;
|
|
||||||
|
|
||||||
void __init setup_arch_memory(void);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -170,8 +170,7 @@ static void __init time_init_deferred(void)
|
||||||
|
|
||||||
ce_dev->cpumask = cpu_all_mask;
|
ce_dev->cpumask = cpu_all_mask;
|
||||||
|
|
||||||
if (!resource)
|
resource = rtos_timer_device.resource;
|
||||||
resource = rtos_timer_device.resource;
|
|
||||||
|
|
||||||
/* ioremap here means this has to run later, after paging init */
|
/* ioremap here means this has to run later, after paging init */
|
||||||
rtos_timer = ioremap(resource->start, resource_size(resource));
|
rtos_timer = ioremap(resource->start, resource_size(resource));
|
||||||
|
|
|
||||||
|
|
@ -135,7 +135,7 @@ static void do_show_stack(struct task_struct *task, unsigned long *fp,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Attempt to continue past exception. */
|
/* Attempt to continue past exception. */
|
||||||
if (0 == newfp) {
|
if (!newfp) {
|
||||||
struct pt_regs *regs = (struct pt_regs *) (((void *)fp)
|
struct pt_regs *regs = (struct pt_regs *) (((void *)fp)
|
||||||
+ 8);
|
+ 8);
|
||||||
|
|
||||||
|
|
@ -195,8 +195,10 @@ int die(const char *str, struct pt_regs *regs, long err)
|
||||||
printk(KERN_EMERG "Oops: %s[#%d]:\n", str, ++die.counter);
|
printk(KERN_EMERG "Oops: %s[#%d]:\n", str, ++die.counter);
|
||||||
|
|
||||||
if (notify_die(DIE_OOPS, str, regs, err, pt_cause(regs), SIGSEGV) ==
|
if (notify_die(DIE_OOPS, str, regs, err, pt_cause(regs), SIGSEGV) ==
|
||||||
NOTIFY_STOP)
|
NOTIFY_STOP) {
|
||||||
|
spin_unlock_irq(&die.lock);
|
||||||
return 1;
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
print_modules();
|
print_modules();
|
||||||
show_regs(regs);
|
show_regs(regs);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user