Skip to content

Commit 56eddc3

Browse files
author
Paolo Abeni
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. No conflicts. Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2 parents 3185d57 + 7475e51 commit 56eddc3

File tree

524 files changed

+9134
-8533
lines changed

Some content is hidden

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

524 files changed

+9134
-8533
lines changed

Documentation/arch/arm64/elf_hwcaps.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ HWCAP2_DCPODP
174174
Functionality implied by ID_AA64ISAR1_EL1.DPB == 0b0010.
175175

176176
HWCAP2_SVE2
177-
Functionality implied by ID_AA64ZFR0_EL1.SVEVer == 0b0001.
177+
Functionality implied by ID_AA64ZFR0_EL1.SVEver == 0b0001.
178178

179179
HWCAP2_SVEAES
180180
Functionality implied by ID_AA64ZFR0_EL1.AES == 0b0001.
@@ -222,7 +222,7 @@ HWCAP2_RNG
222222
Functionality implied by ID_AA64ISAR0_EL1.RNDR == 0b0001.
223223

224224
HWCAP2_BTI
225-
Functionality implied by ID_AA64PFR0_EL1.BT == 0b0001.
225+
Functionality implied by ID_AA64PFR1_EL1.BT == 0b0001.
226226

227227
HWCAP2_MTE
228228
Functionality implied by ID_AA64PFR1_EL1.MTE == 0b0010, as described
@@ -232,7 +232,7 @@ HWCAP2_ECV
232232
Functionality implied by ID_AA64MMFR0_EL1.ECV == 0b0001.
233233

234234
HWCAP2_AFP
235-
Functionality implied by ID_AA64MFR1_EL1.AFP == 0b0001.
235+
Functionality implied by ID_AA64MMFR1_EL1.AFP == 0b0001.
236236

237237
HWCAP2_RPRES
238238
Functionality implied by ID_AA64ISAR2_EL1.RPRES == 0b0001.

Documentation/arch/riscv/uabi.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,26 @@ An example string following the order is::
4242

4343
rv64imadc_zifoo_zigoo_zafoo_sbar_scar_zxmbaz_xqux_xrux
4444

45+
"isa" and "hart isa" lines in /proc/cpuinfo
46+
-------------------------------------------
47+
48+
The "isa" line in /proc/cpuinfo describes the lowest common denominator of
49+
RISC-V ISA extensions recognized by the kernel and implemented on all harts. The
50+
"hart isa" line, in contrast, describes the set of extensions recognized by the
51+
kernel on the particular hart being described, even if those extensions may not
52+
be present on all harts in the system.
53+
54+
In both lines, the presence of an extension guarantees only that the hardware
55+
has the described capability. Additional kernel support or policy changes may be
56+
required before an extension's capability is fully usable by userspace programs.
57+
Similarly, for S-mode extensions, presence in one of these lines does not
58+
guarantee that the kernel is taking advantage of the extension, or that the
59+
feature will be visible in guest VMs managed by this kernel.
60+
61+
Inversely, the absence of an extension in these lines does not necessarily mean
62+
the hardware does not support that feature. The running kernel may not recognize
63+
the extension, or may have deliberately removed it from the listing.
64+
4565
Misaligned accesses
4666
-------------------
4767

Documentation/devicetree/bindings/net/ethernet-controller.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,12 @@ allOf:
275275
properties:
276276
rx-internal-delay-ps:
277277
description:
278-
RGMII Receive Clock Delay defined in pico seconds.This is used for
278+
RGMII Receive Clock Delay defined in pico seconds. This is used for
279279
controllers that have configurable RX internal delays. If this
280280
property is present then the MAC applies the RX delay.
281281
tx-internal-delay-ps:
282282
description:
283-
RGMII Transmit Clock Delay defined in pico seconds.This is used for
283+
RGMII Transmit Clock Delay defined in pico seconds. This is used for
284284
controllers that have configurable TX internal delays. If this
285285
property is present then the MAC applies the TX delay.
286286

Documentation/trace/fprobetrace.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,12 @@ Synopsis of fprobe-events
5959
and bitfield are supported.
6060

6161
(\*1) This is available only when BTF is enabled.
62-
(\*2) only for the probe on function entry (offs == 0).
63-
(\*3) only for return probe.
62+
(\*2) only for the probe on function entry (offs == 0). Note, this argument access
63+
is best effort, because depending on the argument type, it may be passed on
64+
the stack. But this only support the arguments via registers.
65+
(\*3) only for return probe. Note that this is also best effort. Depending on the
66+
return value type, it might be passed via a pair of registers. But this only
67+
accesses one register.
6468
(\*4) this is useful for fetching a field of data structures.
6569
(\*5) "u" means user-space dereference.
6670

Documentation/trace/kprobetrace.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,12 @@ Synopsis of kprobe_events
6161
(x8/x16/x32/x64), "char", "string", "ustring", "symbol", "symstr"
6262
and bitfield are supported.
6363

64-
(\*1) only for the probe on function entry (offs == 0).
65-
(\*2) only for return probe.
64+
(\*1) only for the probe on function entry (offs == 0). Note, this argument access
65+
is best effort, because depending on the argument type, it may be passed on
66+
the stack. But this only support the arguments via registers.
67+
(\*2) only for return probe. Note that this is also best effort. Depending on the
68+
return value type, it might be passed via a pair of registers. But this only
69+
accesses one register.
6670
(\*3) this is useful for fetching a field of data structures.
6771
(\*4) "u" means user-space dereference. See :ref:`user_mem_access`.
6872

MAINTAINERS

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8950,7 +8950,6 @@ S: Maintained
89508950
F: scripts/get_maintainer.pl
89518951

89528952
GFS2 FILE SYSTEM
8953-
M: Bob Peterson <rpeterso@redhat.com>
89548953
M: Andreas Gruenbacher <agruenba@redhat.com>
89558954
L: gfs2@lists.linux.dev
89568955
S: Supported
@@ -21769,7 +21768,9 @@ F: Documentation/devicetree/bindings/counter/ti-eqep.yaml
2176921768
F: drivers/counter/ti-eqep.c
2177021769

2177121770
TI ETHERNET SWITCH DRIVER (CPSW)
21772-
R: Grygorii Strashko <grygorii.strashko@ti.com>
21771+
R: Siddharth Vadapalli <s-vadapalli@ti.com>
21772+
R: Ravi Gunasekaran <r-gunasekaran@ti.com>
21773+
R: Roger Quadros <rogerq@kernel.org>
2177321774
L: linux-omap@vger.kernel.org
2177421775
L: netdev@vger.kernel.org
2177521776
S: Maintained
@@ -21793,6 +21794,15 @@ F: Documentation/devicetree/bindings/media/i2c/ti,ds90*
2179321794
F: drivers/media/i2c/ds90*
2179421795
F: include/media/i2c/ds90*
2179521796

21797+
TI ICSSG ETHERNET DRIVER (ICSSG)
21798+
R: MD Danish Anwar <danishanwar@ti.com>
21799+
R: Roger Quadros <rogerq@kernel.org>
21800+
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
21801+
L: netdev@vger.kernel.org
21802+
S: Maintained
21803+
F: Documentation/devicetree/bindings/net/ti,icss*.yaml
21804+
F: drivers/net/ethernet/ti/icssg/*
21805+
2179621806
TI J721E CSI2RX DRIVER
2179721807
M: Jai Luthra <j-luthra@ti.com>
2179821808
L: linux-media@vger.kernel.org
@@ -23198,13 +23208,6 @@ W: https://linuxtv.org
2319823208
T: git git://linuxtv.org/media_tree.git
2319923209
F: drivers/media/test-drivers/vivid/*
2320023210

23201-
VLYNQ BUS
23202-
M: Florian Fainelli <f.fainelli@gmail.com>
23203-
L: openwrt-devel@lists.openwrt.org (subscribers-only)
23204-
S: Maintained
23205-
F: drivers/vlynq/vlynq.c
23206-
F: include/linux/vlynq.h
23207-
2320823211
VM SOCKETS (AF_VSOCK)
2320923212
M: Stefano Garzarella <sgarzare@redhat.com>
2321023213
L: virtualization@lists.linux.dev

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 6
3-
PATCHLEVEL = 6
3+
PATCHLEVEL = 7
44
SUBLEVEL = 0
5-
EXTRAVERSION =
5+
EXTRAVERSION = -rc1
66
NAME = Hurr durr I'ma ninja sloth
77

88
# *DOCUMENTATION*

arch/arc/include/asm/kprobes.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ struct kprobe;
3232

3333
void arch_remove_kprobe(struct kprobe *p);
3434

35-
int kprobe_exceptions_notify(struct notifier_block *self,
36-
unsigned long val, void *data);
37-
3835
struct prev_kprobe {
3936
struct kprobe *kp;
4037
unsigned long status;

arch/arm/configs/pxa_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ CONFIG_DEVTMPFS=y
100100
CONFIG_DEVTMPFS_MOUNT=y
101101
CONFIG_CONNECTOR=y
102102
CONFIG_MTD=y
103-
CONFIG_MTD_AR7_PARTS=m
104103
CONFIG_MTD_CMDLINE_PARTS=m
105104
CONFIG_MTD_OF_PARTS=m
106105
CONFIG_MTD_AFS_PARTS=m

arch/arm/include/asm/arm_pmuv3.h

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
#define PMUSERENR __ACCESS_CP15(c9, 0, c14, 0)
2424
#define PMINTENSET __ACCESS_CP15(c9, 0, c14, 1)
2525
#define PMINTENCLR __ACCESS_CP15(c9, 0, c14, 2)
26+
#define PMCEID2 __ACCESS_CP15(c9, 0, c14, 4)
27+
#define PMCEID3 __ACCESS_CP15(c9, 0, c14, 5)
2628
#define PMMIR __ACCESS_CP15(c9, 0, c14, 6)
2729
#define PMCCFILTR __ACCESS_CP15(c14, 0, c15, 7)
2830

@@ -150,21 +152,6 @@ static inline u64 read_pmccntr(void)
150152
return read_sysreg(PMCCNTR);
151153
}
152154

153-
static inline void write_pmxevcntr(u32 val)
154-
{
155-
write_sysreg(val, PMXEVCNTR);
156-
}
157-
158-
static inline u32 read_pmxevcntr(void)
159-
{
160-
return read_sysreg(PMXEVCNTR);
161-
}
162-
163-
static inline void write_pmxevtyper(u32 val)
164-
{
165-
write_sysreg(val, PMXEVTYPER);
166-
}
167-
168155
static inline void write_pmcntenset(u32 val)
169156
{
170157
write_sysreg(val, PMCNTENSET);
@@ -205,16 +192,6 @@ static inline void write_pmuserenr(u32 val)
205192
write_sysreg(val, PMUSERENR);
206193
}
207194

208-
static inline u32 read_pmceid0(void)
209-
{
210-
return read_sysreg(PMCEID0);
211-
}
212-
213-
static inline u32 read_pmceid1(void)
214-
{
215-
return read_sysreg(PMCEID1);
216-
}
217-
218195
static inline void kvm_set_pmu_events(u32 set, struct perf_event_attr *attr) {}
219196
static inline void kvm_clr_pmu_events(u32 clr) {}
220197
static inline bool kvm_pmu_counter_deferred(struct perf_event_attr *attr)
@@ -231,6 +208,7 @@ static inline void kvm_vcpu_pmu_resync_el0(void) {}
231208

232209
/* PMU Version in DFR Register */
233210
#define ARMV8_PMU_DFR_VER_NI 0
211+
#define ARMV8_PMU_DFR_VER_V3P1 0x4
234212
#define ARMV8_PMU_DFR_VER_V3P4 0x5
235213
#define ARMV8_PMU_DFR_VER_V3P5 0x6
236214
#define ARMV8_PMU_DFR_VER_IMP_DEF 0xF
@@ -251,4 +229,24 @@ static inline bool is_pmuv3p5(int pmuver)
251229
return pmuver >= ARMV8_PMU_DFR_VER_V3P5;
252230
}
253231

232+
static inline u64 read_pmceid0(void)
233+
{
234+
u64 val = read_sysreg(PMCEID0);
235+
236+
if (read_pmuver() >= ARMV8_PMU_DFR_VER_V3P1)
237+
val |= (u64)read_sysreg(PMCEID2) << 32;
238+
239+
return val;
240+
}
241+
242+
static inline u64 read_pmceid1(void)
243+
{
244+
u64 val = read_sysreg(PMCEID1);
245+
246+
if (read_pmuver() >= ARMV8_PMU_DFR_VER_V3P1)
247+
val |= (u64)read_sysreg(PMCEID3) << 32;
248+
249+
return val;
250+
}
251+
254252
#endif

0 commit comments

Comments
 (0)