Skip to content

Commit 751ec6d

Browse files
committed
spi: aspeed: Improve handling of shared SPI
Merge series from Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>: This patch series improves handling of SPI controllers that are shared by spi-mem devices and other SPI peripherals. The primary goal of this series is to support non-spi-mem devices in the ASPEED FMC/SPI controller driver. It also addresses an issue in the spi-mem framework observed when different types of SPI devices operate concurrently on the same controller, ensuring that spi-mem operations are properly serialized.
2 parents e540be7 + 04f7516 commit 751ec6d

387 files changed

Lines changed: 4008 additions & 1719 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.

.mailmap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#
1313
Aaron Durbin <adurbin@google.com>
1414
Abel Vesa <abelvesa@kernel.org> <abel.vesa@nxp.com>
15+
Abel Vesa <abelvesa@kernel.org> <abel.vesa@linaro.org>
1516
Abel Vesa <abelvesa@kernel.org> <abelvesa@gmail.com>
1617
Abhijeet Dharmapurikar <quic_adharmap@quicinc.com> <adharmap@codeaurora.org>
1718
Abhinav Kumar <quic_abhinavk@quicinc.com> <abhinavk@codeaurora.org>
@@ -878,6 +879,8 @@ Wolfram Sang <wsa@kernel.org> <wsa@the-dreams.de>
878879
Yakir Yang <kuankuan.y@gmail.com> <ykk@rock-chips.com>
879880
Yanteng Si <si.yanteng@linux.dev> <siyanteng@loongson.cn>
880881
Ying Huang <huang.ying.caritas@gmail.com> <ying.huang@intel.com>
882+
Yixun Lan <dlan@kernel.org> <dlan@gentoo.org>
883+
Yixun Lan <dlan@kernel.org> <yixun.lan@amlogic.com>
881884
Yosry Ahmed <yosry.ahmed@linux.dev> <yosryahmed@google.com>
882885
Yu-Chun Lin <eleanor.lin@realtek.com> <eleanor15x@gmail.com>
883886
Yusuke Goda <goda.yusuke@renesas.com>

CREDITS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2231,6 +2231,10 @@ S: Markham, Ontario
22312231
S: L3R 8B2
22322232
S: Canada
22332233

2234+
N: Krzysztof Kozlowski
2235+
E: krzk@kernel.org
2236+
D: NFC network subsystem and drivers maintainer
2237+
22342238
N: Christian Krafft
22352239
D: PowerPC Cell support
22362240

Documentation/admin-guide/laptops/alienware-wmi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ information.
105105

106106
Manual fan control on the other hand, is not exposed directly by the AWCC
107107
interface. Instead it let's us control a fan `boost` value. This `boost` value
108-
has the following aproximate behavior over the fan pwm:
108+
has the following approximate behavior over the fan pwm:
109109

110110
::
111111

Documentation/admin-guide/sysctl/vm.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,10 @@ memory allocations.
494494

495495
The default value depends on CONFIG_MEM_ALLOC_PROFILING_ENABLED_BY_DEFAULT.
496496

497+
When CONFIG_MEM_ALLOC_PROFILING_DEBUG=y, this control is read-only to avoid
498+
warnings produced by allocations made while profiling is disabled and freed
499+
when it's enabled.
500+
497501

498502
memory_failure_early_kill
499503
=========================

Documentation/arch/riscv/uabi.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ ISA string ordering in /proc/cpuinfo
77
------------------------------------
88

99
The canonical order of ISA extension names in the ISA string is defined in
10-
chapter 27 of the unprivileged specification.
10+
Chapter 27 of the RISC-V Instruction Set Manual Volume I Unprivileged ISA
11+
(Document Version 20191213).
12+
1113
The specification uses vague wording, such as should, when it comes to ordering,
1214
so for our purposes the following rules apply:
1315

Documentation/arch/x86/amd_hsmp.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set of mailbox registers.
1414

1515
More details on the interface can be found in chapter
1616
"7 Host System Management Port (HSMP)" of the family/model PPR
17-
Eg: https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/programmer-references/55898_B1_pub_0_50.zip
17+
Eg: https://docs.amd.com/v/u/en-US/55898_B1_pub_0_50
1818

1919

2020
HSMP interface is supported on EPYC line of server CPUs and MI300A (APU).
@@ -185,7 +185,7 @@ what happened. The transaction returns 0 on success.
185185

186186
More details on the interface and message definitions can be found in chapter
187187
"7 Host System Management Port (HSMP)" of the respective family/model PPR
188-
eg: https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/programmer-references/55898_B1_pub_0_50.zip
188+
eg: https://docs.amd.com/v/u/en-US/55898_B1_pub_0_50
189189

190190
User space C-APIs are made available by linking against the esmi library,
191191
which is provided by the E-SMS project https://www.amd.com/en/developer/e-sms.html.

Documentation/devicetree/bindings/display/mediatek/mediatek,dp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ maintainers:
1111
- Jitao shi <jitao.shi@mediatek.com>
1212

1313
description: |
14-
MediaTek DP and eDP are different hardwares and there are some features
14+
MediaTek DP and eDP are different hardware and there are some features
1515
which are not supported for eDP. For example, audio is not supported for
1616
eDP. Therefore, we need to use two different compatibles to describe them.
1717
In addition, We just need to enable the power domain of DP, so the clock

Documentation/devicetree/bindings/interconnect/qcom,sa8775p-rpmh.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,37 @@ allOf:
7474
- description: aggre UFS CARD AXI clock
7575
- description: RPMH CC IPA clock
7676

77+
- if:
78+
properties:
79+
compatible:
80+
contains:
81+
enum:
82+
- qcom,sa8775p-config-noc
83+
- qcom,sa8775p-dc-noc
84+
- qcom,sa8775p-gem-noc
85+
- qcom,sa8775p-gpdsp-anoc
86+
- qcom,sa8775p-lpass-ag-noc
87+
- qcom,sa8775p-mmss-noc
88+
- qcom,sa8775p-nspa-noc
89+
- qcom,sa8775p-nspb-noc
90+
- qcom,sa8775p-pcie-anoc
91+
- qcom,sa8775p-system-noc
92+
then:
93+
properties:
94+
clocks: false
95+
96+
- if:
97+
properties:
98+
compatible:
99+
contains:
100+
enum:
101+
- qcom,sa8775p-clk-virt
102+
- qcom,sa8775p-mc-virt
103+
then:
104+
properties:
105+
reg: false
106+
clocks: false
107+
77108
unevaluatedProperties: false
78109

79110
examples:

Documentation/misc-devices/amd-sbi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and SB Temperature Sensor Interface (SB-TSI)).
1515
More details on the interface can be found in chapter
1616
"5 Advanced Platform Management Link (APML)" of the family/model PPR [1]_.
1717

18-
.. [1] https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/programmer-references/55898_B1_pub_0_50.zip
18+
.. [1] https://docs.amd.com/v/u/en-US/55898_B1_pub_0_50
1919
2020
2121
SBRMI device

Documentation/mm/allocation-profiling.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ Boot parameter:
3333
sysctl:
3434
/proc/sys/vm/mem_profiling
3535

36+
1: Enable memory profiling.
37+
38+
0: Disable memory profiling.
39+
40+
The default value depends on CONFIG_MEM_ALLOC_PROFILING_ENABLED_BY_DEFAULT.
41+
42+
When CONFIG_MEM_ALLOC_PROFILING_DEBUG=y, this control is read-only to avoid
43+
warnings produced by allocations made while profiling is disabled and freed
44+
when it's enabled.
45+
3646
Runtime info:
3747
/proc/allocinfo
3848

0 commit comments

Comments
 (0)