Skip to content

Commit af33092

Browse files
committed
spi-cadence: support transmission with
Merge series from Jun Guo <jun.guo@cixtech.com>: The Cadence SPI IP supports configurable FIFO data widths during integration. On some SoCs, the FIFO data width is designed to be 16 or 32 bits at the chip design stage. However, the current driver only supports communication with an 8-bit FIFO data width. Therefore, these patches are added to enable the driver to support communication with 16-bit and 32-bit FIFO data widths.
2 parents 1d562ba + 4e00135 commit af33092

245 files changed

Lines changed: 2139 additions & 937 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/devicetree/bindings/gpio/ti,twl4030-gpio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/ti,twl4030-gpio.yaml#
4+
$id: http://devicetree.org/schemas/gpio/ti,twl4030-gpio.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: TI TWL4030 GPIO controller

Documentation/devicetree/bindings/spi/spi-cadence.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ properties:
2121
- enum:
2222
- xlnx,zynqmp-spi-r1p6
2323
- xlnx,versal-net-spi-r1p6
24+
- cix,sky1-spi-r1p6
2425
- const: cdns,spi-r1p6
2526

2627
reg:

Documentation/firmware-guide/acpi/i2c-muxes.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ which corresponds to the following ASL (in the scope of \_SB)::
3737
Name (_HID, ...)
3838
Name (_CRS, ResourceTemplate () {
3939
I2cSerialBus (0x50, ControllerInitiated, I2C_SPEED,
40-
AddressingMode7Bit, "\\_SB.SMB1.CH00", 0x00,
41-
ResourceConsumer,,)
40+
AddressingMode7Bit, "\\_SB.SMB1.MUX0.CH00",
41+
0x00, ResourceConsumer,,)
4242
}
4343
}
4444
}
@@ -52,8 +52,8 @@ which corresponds to the following ASL (in the scope of \_SB)::
5252
Name (_HID, ...)
5353
Name (_CRS, ResourceTemplate () {
5454
I2cSerialBus (0x50, ControllerInitiated, I2C_SPEED,
55-
AddressingMode7Bit, "\\_SB.SMB1.CH01", 0x00,
56-
ResourceConsumer,,)
55+
AddressingMode7Bit, "\\_SB.SMB1.MUX0.CH01",
56+
0x00, ResourceConsumer,,)
5757
}
5858
}
5959
}

MAINTAINERS

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4818,6 +4818,7 @@ F: drivers/net/dsa/b53/*
48184818
F: drivers/net/dsa/bcm_sf2*
48194819
F: include/linux/dsa/brcm.h
48204820
F: include/linux/platform_data/b53.h
4821+
F: net/dsa/tag_brcm.c
48214822

48224823
BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE
48234824
M: Florian Fainelli <florian.fainelli@broadcom.com>
@@ -12521,6 +12522,7 @@ F: include/linux/avf/virtchnl.h
1252112522
F: include/linux/net/intel/*/
1252212523

1252312524
INTEL ETHERNET PROTOCOL DRIVER FOR RDMA
12525+
M: Krzysztof Czurylo <krzysztof.czurylo@intel.com>
1252412526
M: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
1252512527
L: linux-rdma@vger.kernel.org
1252612528
S: Supported
@@ -12861,7 +12863,8 @@ F: tools/testing/selftests/sgx/*
1286112863
K: \bSGX_
1286212864

1286312865
INTEL SKYLAKE INT3472 ACPI DEVICE DRIVER
12864-
M: Daniel Scally <djrscally@gmail.com>
12866+
M: Daniel Scally <dan.scally@ideasonboard.com>
12867+
M: Sakari Ailus <sakari.ailus@linux.intel.com>
1286512868
S: Maintained
1286612869
F: drivers/platform/x86/intel/int3472/
1286712870
F: include/linux/platform_data/x86/int3472.h
@@ -20160,6 +20163,7 @@ R: Alexander Shishkin <alexander.shishkin@linux.intel.com>
2016020163
R: Jiri Olsa <jolsa@kernel.org>
2016120164
R: Ian Rogers <irogers@google.com>
2016220165
R: Adrian Hunter <adrian.hunter@intel.com>
20166+
R: James Clark <james.clark@linaro.org>
2016320167
L: linux-perf-users@vger.kernel.org
2016420168
L: linux-kernel@vger.kernel.org
2016520169
S: Supported

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 6
33
PATCHLEVEL = 18
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc4
5+
EXTRAVERSION = -rc5
66
NAME = Baby Opossum Posse
77

88
# *DOCUMENTATION*

arch/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,13 @@ config ARCH_USES_CFI_TRAPS
917917
An architecture should select this option if it requires the
918918
.kcfi_traps section for KCFI trap handling.
919919

920+
config ARCH_USES_CFI_GENERIC_LLVM_PASS
921+
bool
922+
help
923+
An architecture should select this option if it uses the generic
924+
KCFIPass in LLVM to expand kCFI bundles instead of architecture-specific
925+
lowering.
926+
920927
config CFI
921928
bool "Use Kernel Control Flow Integrity (kCFI)"
922929
default CFI_CLANG

arch/arm/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ config ARM
4444
select ARCH_USE_BUILTIN_BSWAP
4545
select ARCH_USE_CMPXCHG_LOCKREF
4646
select ARCH_USE_MEMTEST
47+
# https://github.com/llvm/llvm-project/commit/d130f402642fba3d065aacb506cb061c899558de
48+
select ARCH_USES_CFI_GENERIC_LLVM_PASS if CLANG_VERSION < 220000
4749
select ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT if MMU
4850
select ARCH_WANT_GENERAL_HUGETLB
4951
select ARCH_WANT_IPC_PARSE_VERSION

arch/loongarch/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ endif
109109
ifdef CONFIG_RUSTC_HAS_ANNOTATE_TABLEJUMP
110110
KBUILD_RUSTFLAGS += -Cllvm-args=--loongarch-annotate-tablejump
111111
else
112-
KBUILD_RUSTFLAGS += -Zno-jump-tables # keep compatibility with older compilers
112+
KBUILD_RUSTFLAGS += $(if $(call rustc-min-version,109300),-Cjump-tables=n,-Zno-jump-tables) # keep compatibility with older compilers
113113
endif
114114
ifdef CONFIG_LTO_CLANG
115115
# The annotate-tablejump option can not be passed to LLVM backend when LTO is enabled.

arch/parisc/kernel/unwind.c

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535

3636
#define KERNEL_START (KERNEL_BINARY_TEXT_START)
3737

38+
#define ALIGNMENT_OK(ptr, type) (((ptr) & (sizeof(type) - 1)) == 0)
39+
3840
extern struct unwind_table_entry __start___unwind[];
3941
extern struct unwind_table_entry __stop___unwind[];
4042

@@ -257,12 +259,15 @@ static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int
257259
if (pc_is_kernel_fn(pc, _switch_to) ||
258260
pc == (unsigned long)&_switch_to_ret) {
259261
info->prev_sp = info->sp - CALLEE_SAVE_FRAME_SIZE;
260-
info->prev_ip = *(unsigned long *)(info->prev_sp - RP_OFFSET);
262+
if (ALIGNMENT_OK(info->prev_sp, long))
263+
info->prev_ip = *(unsigned long *)(info->prev_sp - RP_OFFSET);
264+
else
265+
info->prev_ip = info->prev_sp = 0;
261266
return 1;
262267
}
263268

264269
#ifdef CONFIG_IRQSTACKS
265-
if (pc == (unsigned long)&_call_on_stack) {
270+
if (pc == (unsigned long)&_call_on_stack && ALIGNMENT_OK(info->sp, long)) {
266271
info->prev_sp = *(unsigned long *)(info->sp - FRAME_SIZE - REG_SZ);
267272
info->prev_ip = *(unsigned long *)(info->sp - FRAME_SIZE - RP_OFFSET);
268273
return 1;
@@ -370,8 +375,10 @@ static void unwind_frame_regs(struct unwind_frame_info *info)
370375
info->prev_sp = info->sp - frame_size;
371376
if (e->Millicode)
372377
info->rp = info->r31;
373-
else if (rpoffset)
378+
else if (rpoffset && ALIGNMENT_OK(info->prev_sp, long))
374379
info->rp = *(unsigned long *)(info->prev_sp - rpoffset);
380+
else
381+
info->rp = 0;
375382
info->prev_ip = info->rp;
376383
info->rp = 0;
377384
}

arch/riscv/include/asm/asm.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
#define __ASM_STR(x) #x
1313
#endif
1414

15+
#ifdef CONFIG_AS_HAS_INSN
16+
#define ASM_INSN_I(__x) ".insn " __x
17+
#else
18+
#define ASM_INSN_I(__x) ".4byte " __x
19+
#endif
20+
1521
#if __riscv_xlen == 64
1622
#define __REG_SEL(a, b) __ASM_STR(a)
1723
#elif __riscv_xlen == 32

0 commit comments

Comments
 (0)