Skip to content

Commit 1a2cf17

Browse files
committed
Merge drm/drm-fixes into drm-misc-fixes
Update drm-misc-fixes to -rc2. Signed-off-by: Maxime Ripard <[email protected]>
2 parents 3271faf + c17b750 commit 1a2cf17

File tree

206 files changed

+1699
-1131
lines changed

Some content is hidden

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

206 files changed

+1699
-1131
lines changed

Documentation/ABI/stable/sysfs-block

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ Contact: [email protected]
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/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
@@ -11450,6 +11450,7 @@ F: drivers/tty/hvc/
1145011450
HUNG TASK DETECTOR
1145111451
M: Andrew Morton <[email protected]>
1145211452
R: Lance Yang <[email protected]>
11453+
R: Masami Hiramatsu <[email protected]>
1145311454
1145411455
S: Maintained
1145511456
F: include/linux/hung_task.h
@@ -12595,10 +12596,9 @@ S: Supported
1259512596
F: drivers/cpufreq/intel_pstate.c
1259612597

1259712598
INTEL PTP DFL ToD DRIVER
12598-
M: Tianfei Zhang <[email protected]>
1259912599
1260012600
12601-
S: Maintained
12601+
S: Orphan
1260212602
F: drivers/ptp/ptp_dfl_tod.c
1260312603

1260412604
INTEL QUADRATURE ENCODER PERIPHERAL DRIVER
@@ -12736,9 +12736,8 @@ S: Maintained
1273612736
F: drivers/platform/x86/intel/wmi/thunderbolt.c
1273712737

1273812738
INTEL WWAN IOSM DRIVER
12739-
M: M Chetan Kumar <[email protected]>
1274012739
12741-
S: Maintained
12740+
S: Orphan
1274212741
F: drivers/net/wwan/iosm/
1274312742

1274412743
INTEL(R) FLEXIBLE RETURN AND EVENT DELIVERY
@@ -13698,7 +13697,6 @@ F: scripts/Makefile.kmsan
1369813697

1369913698
KPROBES
1370013699
M: Naveen N Rao <[email protected]>
13701-
M: Anil S Keshavamurthy <[email protected]>
1370213700
M: "David S. Miller" <[email protected]>
1370313701
M: Masami Hiramatsu <[email protected]>
1370413702
@@ -15686,7 +15684,6 @@ MEDIATEK T7XX 5G WWAN MODEM DRIVER
1568615684
M: Chandrashekar Devegowda <[email protected]>
1568715685
R: Chiranjeevi Rapolu <[email protected]>
1568815686
R: Liu Haijun <[email protected]>
15689-
R: M Chetan Kumar <[email protected]>
1569015687
R: Ricardo Martinez <[email protected]>
1569115688
1569215689
S: Supported
@@ -17463,6 +17460,7 @@ F: drivers/net/ethernet/neterion/
1746317460
NETFILTER
1746417461
M: Pablo Neira Ayuso <[email protected]>
1746517462
M: Jozsef Kadlecsik <[email protected]>
17463+
M: Florian Westphal <[email protected]>
1746617464
1746717465
1746817466
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
}

arch/x86/boot/startup/sev-shared.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,7 @@ static void __head svsm_pval_4k_page(unsigned long paddr, bool validate)
785785
pc->entry[0].page_size = RMP_PG_SIZE_4K;
786786
pc->entry[0].action = validate;
787787
pc->entry[0].ignore_cf = 0;
788+
pc->entry[0].rsvd = 0;
788789
pc->entry[0].pfn = paddr >> PAGE_SHIFT;
789790

790791
/* Protocol 0, Call ID 1 */
@@ -810,6 +811,13 @@ static void __head pvalidate_4k_page(unsigned long vaddr, unsigned long paddr,
810811
if (ret)
811812
sev_es_terminate(SEV_TERM_SET_LINUX, GHCB_TERM_PVALIDATE);
812813
}
814+
815+
/*
816+
* If validating memory (making it private) and affected by the
817+
* cache-coherency vulnerability, perform the cache eviction mitigation.
818+
*/
819+
if (validate && !has_cpuflag(X86_FEATURE_COHERENCY_SFW_NO))
820+
sev_evict_cache((void *)vaddr, 1);
813821
}
814822

815823
/*

0 commit comments

Comments
 (0)