Skip to content

Commit

Permalink
Merge tag 'v4.14.330' into master_T_floral_caf_27
Browse files Browse the repository at this point in the history
This is the 4.14.330 stable release
  • Loading branch information
freak07 committed Jun 19, 2024
2 parents 32d5018 + bfa43ee commit a8ea861
Show file tree
Hide file tree
Showing 242 changed files with 1,446 additions and 2,566 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 4
PATCHLEVEL = 14
SUBLEVEL = 326
SUBLEVEL = 330
EXTRAVERSION =
NAME = Petit Gorille

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/bootp/init.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* size immediately following the kernel, we could build this into
* a binary blob, and concatenate the zImage using the cat command.
*/
.section .start,#alloc,#execinstr
.section .start, "ax"
.type _start, #function
.globl _start

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/compressed/big-endian.S
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Author: Nicolas Pitre
*/

.section ".start", #alloc, #execinstr
.section ".start", "ax"

mrc p15, 0, r0, c1, c0, 0 @ read control reg
orr r0, r0, #(1 << 7) @ enable big endian mode
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/compressed/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
#endif
.endm

.section ".start", #alloc, #execinstr
.section ".start", "ax"
/*
* sort out different calling conventions
*/
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/compressed/piggy.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
.section .piggydata,#alloc
.section .piggydata, "a"
.globl input_data
input_data:
.incbin "arch/arm/boot/compressed/piggy_data"
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/omap4-droid4-xt894.dts
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@
&uart3 {
interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH
&omap4_pmx_core 0x17c>;
overrun-throttle-ms = <500>;
};

&uart4 {
Expand Down
14 changes: 6 additions & 8 deletions arch/arm/boot/dts/qcom-mdm9615.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,12 @@
};
};

regulators {
vsdcc_fixed: vsdcc-regulator {
compatible = "regulator-fixed";
regulator-name = "SDCC Power";
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <2700000>;
regulator-always-on;
};
vsdcc_fixed: vsdcc-regulator {
compatible = "regulator-fixed";
regulator-name = "SDCC Power";
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <2700000>;
regulator-always-on;
};

soc: soc {
Expand Down
1 change: 1 addition & 0 deletions arch/arm/lib/memset.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
ENTRY(mmioset)
ENTRY(memset)
UNWIND( .fnstart )
and r1, r1, #255 @ cast to unsigned char
ands r3, r0, #3 @ 1 unaligned?
mov ip, r0 @ preserve r0 as return value
bne 6f @ 1
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm1020.S
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ cpu_arm1020_name:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __arm1020_proc_info,#object
__arm1020_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm1020e.S
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ arm1020e_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __arm1020e_proc_info,#object
__arm1020e_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm1022.S
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ arm1022_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __arm1022_proc_info,#object
__arm1022_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm1026.S
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ arm1026_crval:
string cpu_arm1026_name, "ARM1026EJ-S"
.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __arm1026_proc_info,#object
__arm1026_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm720.S
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ arm720_crval:
* See <asm/procinfo.h> for a definition of this structure.
*/

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.macro arm720_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cpu_flush:req
.type __\name\()_proc_info,#object
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm740.S
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ __arm740_setup:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"
.type __arm740_proc_info,#object
__arm740_proc_info:
.long 0x41807400
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm7tdmi.S
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ __arm7tdmi_setup:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.macro arm7tdmi_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, \
extra_hwcaps=0
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm920.S
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ arm920_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __arm920_proc_info,#object
__arm920_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm922.S
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ arm922_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __arm922_proc_info,#object
__arm922_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm925.S
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ arm925_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.macro arm925_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache
.type __\name\()_proc_info,#object
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm926.S
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ arm926_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __arm926_proc_info,#object
__arm926_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm940.S
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ __arm940_setup:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __arm940_proc_info,#object
__arm940_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm946.S
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ __arm946_setup:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"
.type __arm946_proc_info,#object
__arm946_proc_info:
.long 0x41009460
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-arm9tdmi.S
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ __arm9tdmi_setup:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.macro arm9tdmi_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req
.type __\name\()_proc_info, #object
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-fa526.S
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ fa526_cr1_set:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __fa526_proc_info,#object
__fa526_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-feroceon.S
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ feroceon_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.macro feroceon_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache:req
.type __\name\()_proc_info,#object
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-mohawk.S
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ mohawk_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __88sv331x_proc_info,#object
__88sv331x_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-sa110.S
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ sa110_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.type __sa110_proc_info,#object
__sa110_proc_info:
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-sa1100.S
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ sa1100_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.macro sa1100_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req
.type __\name\()_proc_info,#object
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-v6.S
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ v6_crval:
string cpu_elf_name, "v6"
.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

/*
* Match any ARMv6 processor core.
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-v7.S
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ __v7_setup_stack:
string cpu_elf_name, "v7"
.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

/*
* Standard v7 proc info content
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mm/proc-v7m.S
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ENTRY(cpu_cm7_proc_fin)
ret lr
ENDPROC(cpu_cm7_proc_fin)

.section ".init.text", #alloc, #execinstr
.section ".init.text", "ax"

__v7m_cm7_setup:
mov r8, #(V7M_SCB_CCR_DC | V7M_SCB_CCR_IC| V7M_SCB_CCR_BP)
Expand Down Expand Up @@ -181,7 +181,7 @@ ENDPROC(__v7m_setup)
string cpu_elf_name "v7m"
string cpu_v7m_name "ARMv7-M"

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.macro __v7m_proc name, initfunc, cache_fns = nop_cache_fns, hwcaps = 0, proc_fns = v7m_processor_functions
.long 0 /* proc_info_list.__cpu_mm_mmu_flags */
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-xsc3.S
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ xsc3_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.macro xsc3_proc_info name:req, cpu_val:req, cpu_mask:req
.type __\name\()_proc_info,#object
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mm/proc-xscale.S
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ xscale_crval:

.align

.section ".proc.info.init", #alloc
.section ".proc.info.init", "a"

.macro xscale_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache
.type __\name\()_proc_info,#object
Expand Down
36 changes: 20 additions & 16 deletions arch/parisc/include/asm/ldcw.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,28 @@
#ifndef __PARISC_LDCW_H
#define __PARISC_LDCW_H

#ifndef CONFIG_PA20
/* Because kmalloc only guarantees 8-byte alignment for kmalloc'd data,
and GCC only guarantees 8-byte alignment for stack locals, we can't
be assured of 16-byte alignment for atomic lock data even if we
specify "__attribute ((aligned(16)))" in the type declaration. So,
we use a struct containing an array of four ints for the atomic lock
type and dynamically select the 16-byte aligned int from the array
for the semaphore. */
for the semaphore. */

/* From: "Jim Hull" <jim.hull of hp.com>
I've attached a summary of the change, but basically, for PA 2.0, as
long as the ",CO" (coherent operation) completer is implemented, then the
16-byte alignment requirement for ldcw and ldcd is relaxed, and instead
they only require "natural" alignment (4-byte for ldcw, 8-byte for
ldcd).
Although the cache control hint is accepted by all PA 2.0 processors,
it is only implemented on PA8800/PA8900 CPUs. Prior PA8X00 CPUs still
require 16-byte alignment. If the address is unaligned, the operation
of the instruction is undefined. The ldcw instruction does not generate
unaligned data reference traps so misaligned accesses are not detected.
This hid the problem for years. So, restore the 16-byte alignment dropped
by Kyle McMartin in "Remove __ldcw_align for PA-RISC 2.0 processors". */

#define __PA_LDCW_ALIGNMENT 16
#define __PA_LDCW_ALIGN_ORDER 4
Expand All @@ -19,22 +33,12 @@
& ~(__PA_LDCW_ALIGNMENT - 1); \
(volatile unsigned int *) __ret; \
})
#define __LDCW "ldcw"

#else /*CONFIG_PA20*/
/* From: "Jim Hull" <jim.hull of hp.com>
I've attached a summary of the change, but basically, for PA 2.0, as
long as the ",CO" (coherent operation) completer is specified, then the
16-byte alignment requirement for ldcw and ldcd is relaxed, and instead
they only require "natural" alignment (4-byte for ldcw, 8-byte for
ldcd). */

#define __PA_LDCW_ALIGNMENT 4
#define __PA_LDCW_ALIGN_ORDER 2
#define __ldcw_align(a) (&(a)->slock)
#ifdef CONFIG_PA20
#define __LDCW "ldcw,co"

#endif /*!CONFIG_PA20*/
#else
#define __LDCW "ldcw"
#endif

/* LDCW, the only atomic read-write operation PA-RISC has. *sigh*.
We don't explicitly expose that "*a" may be written as reload
Expand Down
3 changes: 3 additions & 0 deletions arch/parisc/include/asm/ropes.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ struct sba_device {
struct ioc ioc[MAX_IOC];
};

/* list of SBA's in system, see drivers/parisc/sba_iommu.c */
extern struct sba_device *sba_list;

#define ASTRO_RUNWAY_PORT 0x582
#define IKE_MERCED_PORT 0x803
#define REO_MERCED_PORT 0x804
Expand Down
5 changes: 0 additions & 5 deletions arch/parisc/include/asm/spinlock_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@
#define __ASM_SPINLOCK_TYPES_H

typedef struct {
#ifdef CONFIG_PA20
volatile unsigned int slock;
# define __ARCH_SPIN_LOCK_UNLOCKED { 1 }
#else
volatile unsigned int lock[4];
# define __ARCH_SPIN_LOCK_UNLOCKED { { 1, 1, 1, 1 } }
#endif
} arch_spinlock_t;

typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion arch/parisc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ union irq_stack_union {
volatile unsigned int lock[1];
};

DEFINE_PER_CPU(union irq_stack_union, irq_stack_union) = {
static DEFINE_PER_CPU(union irq_stack_union, irq_stack_union) = {
.slock = { 1,1,1,1 },
};
#endif
Expand Down
Loading

0 comments on commit a8ea861

Please sign in to comment.