Skip to content

Commit d5020c1

Browse files
committed
Handle shared reset GPIO for WSA883x speakers
Merge series from Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>: On some Qualcomm platforms such as QCS6490-RB3Gen2, the multiple WSA8830/WSA8835 speakers share a common reset (shutdown) GPIO. To handle such cases, use the reset controller framework along with the "reset-gpio" driver. Tested on: - QCS6490-RB3Gen2
2 parents a46e95c + cf65182 commit d5020c1

208 files changed

Lines changed: 1758 additions & 1140 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/ABI/stable/sysfs-block

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ Contact: linux-block@vger.kernel.org
731731
Description:
732732
[RW] If the device is registered for writeback throttling, then
733733
this file shows the target minimum read latency. If this latency
734-
is exceeded in a given window of time (see wb_window_usec), then
734+
is exceeded in a given window of time (see curr_win_nsec), then
735735
the writeback throttling will start scaling back writes. Writing
736736
a value of '0' to this file disables the feature. Writing a
737737
value of '-1' to this file resets the value to the default

Documentation/admin-guide/blockdev/zoned_loop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ zone_capacity_mb Device zone capacity (must always be equal to or lower than
7979
the zone size. Default: zone size.
8080
conv_zones Total number of conventioanl zones starting from sector 0.
8181
Default: 8.
82-
base_dir Path to the base directoy where to create the directory
82+
base_dir Path to the base directory where to create the directory
8383
containing the zone files of the device.
8484
Default=/var/local/zloop.
8585
The device directory containing the zone files is always

Documentation/admin-guide/hw-vuln/attack_vector_controls.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Spectre_v1 X
214214
Spectre_v2 X X
215215
Spectre_v2_user X X * (Note 1)
216216
SRBDS X X X X
217-
SRSO X X
217+
SRSO X X X X
218218
SSB (Note 4)
219219
TAA X X X X * (Note 2)
220220
TSA X X X X

Documentation/devicetree/bindings/net/thead,th1520-gmac.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ properties:
6262
items:
6363
- description: GMAC main clock
6464
- description: Peripheral registers interface clock
65+
- description: APB glue registers interface clock
6566

6667
clock-names:
6768
items:
6869
- const: stmmaceth
6970
- const: pclk
71+
- const: apb
7072

7173
interrupts:
7274
items:
@@ -88,8 +90,8 @@ examples:
8890
compatible = "thead,th1520-gmac", "snps,dwmac-3.70a";
8991
reg = <0xe7070000 0x2000>, <0xec003000 0x1000>;
9092
reg-names = "dwmac", "apb";
91-
clocks = <&clk 1>, <&clk 2>;
92-
clock-names = "stmmaceth", "pclk";
93+
clocks = <&clk 1>, <&clk 2>, <&clk 3>;
94+
clock-names = "stmmaceth", "pclk", "apb";
9395
interrupts = <66>;
9496
interrupt-names = "macirq";
9597
phy-mode = "rgmii-id";

Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ properties:
2929
description: GPIO spec for Powerdown/Shutdown line to use (pin SD_N)
3030
maxItems: 1
3131

32+
reset-gpios:
33+
description: Powerdown/Shutdown line to use (pin SD_N)
34+
maxItems: 1
35+
3236
vdd-supply:
3337
description: VDD Supply for the Codec
3438

@@ -50,10 +54,15 @@ required:
5054
- compatible
5155
- reg
5256
- vdd-supply
53-
- powerdown-gpios
5457
- "#thermal-sensor-cells"
5558
- "#sound-dai-cells"
5659

60+
oneOf:
61+
- required:
62+
- powerdown-gpios
63+
- required:
64+
- reset-gpios
65+
5766
unevaluatedProperties: false
5867

5968
examples:

Documentation/networking/ip-sysctl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ udp_hash_entries - INTEGER
14201420
A negative value means the networking namespace does not own its
14211421
hash buckets and shares the initial networking namespace's one.
14221422

1423-
udp_child_ehash_entries - INTEGER
1423+
udp_child_hash_entries - INTEGER
14241424
Control the number of hash buckets for UDP sockets in the child
14251425
networking namespace, which must be set before clone() or unshare().
14261426

MAINTAINERS

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11446,6 +11446,7 @@ F: drivers/tty/hvc/
1144611446
HUNG TASK DETECTOR
1144711447
M: Andrew Morton <akpm@linux-foundation.org>
1144811448
R: Lance Yang <lance.yang@linux.dev>
11449+
R: Masami Hiramatsu <mhiramat@kernel.org>
1144911450
L: linux-kernel@vger.kernel.org
1145011451
S: Maintained
1145111452
F: include/linux/hung_task.h
@@ -12591,10 +12592,9 @@ S: Supported
1259112592
F: drivers/cpufreq/intel_pstate.c
1259212593

1259312594
INTEL PTP DFL ToD DRIVER
12594-
M: Tianfei Zhang <tianfei.zhang@intel.com>
1259512595
L: linux-fpga@vger.kernel.org
1259612596
L: netdev@vger.kernel.org
12597-
S: Maintained
12597+
S: Orphan
1259812598
F: drivers/ptp/ptp_dfl_tod.c
1259912599

1260012600
INTEL QUADRATURE ENCODER PERIPHERAL DRIVER
@@ -12732,9 +12732,8 @@ S: Maintained
1273212732
F: drivers/platform/x86/intel/wmi/thunderbolt.c
1273312733

1273412734
INTEL WWAN IOSM DRIVER
12735-
M: M Chetan Kumar <m.chetan.kumar@intel.com>
1273612735
L: netdev@vger.kernel.org
12737-
S: Maintained
12736+
S: Orphan
1273812737
F: drivers/net/wwan/iosm/
1273912738

1274012739
INTEL(R) FLEXIBLE RETURN AND EVENT DELIVERY
@@ -13694,7 +13693,6 @@ F: scripts/Makefile.kmsan
1369413693

1369513694
KPROBES
1369613695
M: Naveen N Rao <naveen@kernel.org>
13697-
M: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
1369813696
M: "David S. Miller" <davem@davemloft.net>
1369913697
M: Masami Hiramatsu <mhiramat@kernel.org>
1370013698
L: linux-kernel@vger.kernel.org
@@ -15682,7 +15680,6 @@ MEDIATEK T7XX 5G WWAN MODEM DRIVER
1568215680
M: Chandrashekar Devegowda <chandrashekar.devegowda@intel.com>
1568315681
R: Chiranjeevi Rapolu <chiranjeevi.rapolu@linux.intel.com>
1568415682
R: Liu Haijun <haijun.liu@mediatek.com>
15685-
R: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
1568615683
R: Ricardo Martinez <ricardo.martinez@linux.intel.com>
1568715684
L: netdev@vger.kernel.org
1568815685
S: Supported
@@ -17459,6 +17456,7 @@ F: drivers/net/ethernet/neterion/
1745917456
NETFILTER
1746017457
M: Pablo Neira Ayuso <pablo@netfilter.org>
1746117458
M: Jozsef Kadlecsik <kadlec@netfilter.org>
17459+
M: Florian Westphal <fw@strlen.de>
1746217460
L: netfilter-devel@vger.kernel.org
1746317461
L: coreteam@netfilter.org
1746417462
S: Maintained

Makefile

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

88
# *DOCUMENTATION*

arch/riscv/boot/dts/thead/th1520.dtsi

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,9 @@
297297
reg-names = "dwmac", "apb";
298298
interrupts = <67 IRQ_TYPE_LEVEL_HIGH>;
299299
interrupt-names = "macirq";
300-
clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC1>;
301-
clock-names = "stmmaceth", "pclk";
300+
clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC1>,
301+
<&clk CLK_PERISYS_APB4_HCLK>;
302+
clock-names = "stmmaceth", "pclk", "apb";
302303
snps,pbl = <32>;
303304
snps,fixed-burst;
304305
snps,multicast-filter-bins = <64>;
@@ -319,8 +320,9 @@
319320
reg-names = "dwmac", "apb";
320321
interrupts = <66 IRQ_TYPE_LEVEL_HIGH>;
321322
interrupt-names = "macirq";
322-
clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC0>;
323-
clock-names = "stmmaceth", "pclk";
323+
clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC0>,
324+
<&clk CLK_PERISYS_APB4_HCLK>;
325+
clock-names = "stmmaceth", "pclk", "apb";
324326
snps,pbl = <32>;
325327
snps,fixed-burst;
326328
snps,multicast-filter-bins = <64>;

arch/x86/boot/cpuflags.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,18 @@ void get_cpuflags(void)
106106
cpuid(0x80000001, &ignored, &ignored, &cpu.flags[6],
107107
&cpu.flags[1]);
108108
}
109+
110+
if (max_amd_level >= 0x8000001f) {
111+
u32 ebx;
112+
113+
/*
114+
* The X86_FEATURE_COHERENCY_SFW_NO feature bit is in
115+
* the virtualization flags entry (word 8) and set by
116+
* scattered.c, so the bit needs to be explicitly set.
117+
*/
118+
cpuid(0x8000001f, &ignored, &ebx, &ignored, &ignored);
119+
if (ebx & BIT(31))
120+
set_bit(X86_FEATURE_COHERENCY_SFW_NO, cpu.flags);
121+
}
109122
}
110123
}

0 commit comments

Comments
 (0)