Skip to content

Commit c749fa1

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2 parents 16f4faa + 3be4aaf commit c749fa1

File tree

221 files changed

+2739
-1485
lines changed

Some content is hidden

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

221 files changed

+2739
-1485
lines changed

MAINTAINERS

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,7 +1373,8 @@ F: arch/arm/mach-ebsa110/
13731373
F: drivers/net/ethernet/amd/am79c961a.*
13741374

13751375
ARM/ENERGY MICRO (SILICON LABS) EFM32 SUPPORT
1376-
M: Uwe Kleine-König <kernel@pengutronix.de>
1376+
M: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
1377+
R: Pengutronix Kernel Team <kernel@pengutronix.de>
13771378
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
13781379
S: Maintained
13791380
N: efm32
@@ -1401,7 +1402,8 @@ F: arch/arm/mach-footbridge/
14011402

14021403
ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
14031404
M: Shawn Guo <shawnguo@kernel.org>
1404-
M: Sascha Hauer <kernel@pengutronix.de>
1405+
M: Sascha Hauer <s.hauer@pengutronix.de>
1406+
R: Pengutronix Kernel Team <kernel@pengutronix.de>
14051407
R: Fabio Estevam <fabio.estevam@nxp.com>
14061408
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
14071409
S: Maintained
@@ -1416,7 +1418,8 @@ F: include/soc/imx/
14161418

14171419
ARM/FREESCALE VYBRID ARM ARCHITECTURE
14181420
M: Shawn Guo <shawnguo@kernel.org>
1419-
M: Sascha Hauer <kernel@pengutronix.de>
1421+
M: Sascha Hauer <s.hauer@pengutronix.de>
1422+
R: Pengutronix Kernel Team <kernel@pengutronix.de>
14201423
R: Stefan Agner <stefan@agner.ch>
14211424
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
14221425
S: Maintained
@@ -4245,6 +4248,9 @@ F: include/trace/events/fs_dax.h
42454248

42464249
DEVICE DIRECT ACCESS (DAX)
42474250
M: Dan Williams <dan.j.williams@intel.com>
4251+
M: Dave Jiang <dave.jiang@intel.com>
4252+
M: Ross Zwisler <ross.zwisler@linux.intel.com>
4253+
M: Vishal Verma <vishal.l.verma@intel.com>
42484254
L: linux-nvdimm@lists.01.org
42494255
S: Supported
42504256
F: drivers/dax/
@@ -5651,7 +5657,8 @@ F: drivers/net/ethernet/freescale/fec.h
56515657
F: Documentation/devicetree/bindings/net/fsl-fec.txt
56525658

56535659
FREESCALE IMX / MXC FRAMEBUFFER DRIVER
5654-
M: Sascha Hauer <kernel@pengutronix.de>
5660+
M: Sascha Hauer <s.hauer@pengutronix.de>
5661+
R: Pengutronix Kernel Team <kernel@pengutronix.de>
56555662
L: linux-fbdev@vger.kernel.org
56565663
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
56575664
S: Maintained
@@ -6263,7 +6270,7 @@ S: Odd Fixes
62636270
F: drivers/media/usb/hdpvr/
62646271

62656272
HEWLETT PACKARD ENTERPRISE ILO NMI WATCHDOG DRIVER
6266-
M: Jimmy Vance <jimmy.vance@hpe.com>
6273+
M: Jerry Hoemann <jerry.hoemann@hpe.com>
62676274
S: Supported
62686275
F: Documentation/watchdog/hpwdt.txt
62696276
F: drivers/watchdog/hpwdt.c
@@ -8055,6 +8062,9 @@ F: tools/lib/lockdep/
80558062

80568063
LIBNVDIMM BLK: MMIO-APERTURE DRIVER
80578064
M: Ross Zwisler <ross.zwisler@linux.intel.com>
8065+
M: Dan Williams <dan.j.williams@intel.com>
8066+
M: Vishal Verma <vishal.l.verma@intel.com>
8067+
M: Dave Jiang <dave.jiang@intel.com>
80588068
L: linux-nvdimm@lists.01.org
80598069
Q: https://patchwork.kernel.org/project/linux-nvdimm/list/
80608070
S: Supported
@@ -8063,13 +8073,19 @@ F: drivers/nvdimm/region_devs.c
80638073

80648074
LIBNVDIMM BTT: BLOCK TRANSLATION TABLE
80658075
M: Vishal Verma <vishal.l.verma@intel.com>
8076+
M: Dan Williams <dan.j.williams@intel.com>
8077+
M: Ross Zwisler <ross.zwisler@linux.intel.com>
8078+
M: Dave Jiang <dave.jiang@intel.com>
80668079
L: linux-nvdimm@lists.01.org
80678080
Q: https://patchwork.kernel.org/project/linux-nvdimm/list/
80688081
S: Supported
80698082
F: drivers/nvdimm/btt*
80708083

80718084
LIBNVDIMM PMEM: PERSISTENT MEMORY DRIVER
80728085
M: Ross Zwisler <ross.zwisler@linux.intel.com>
8086+
M: Dan Williams <dan.j.williams@intel.com>
8087+
M: Vishal Verma <vishal.l.verma@intel.com>
8088+
M: Dave Jiang <dave.jiang@intel.com>
80738089
L: linux-nvdimm@lists.01.org
80748090
Q: https://patchwork.kernel.org/project/linux-nvdimm/list/
80758091
S: Supported
@@ -8085,6 +8101,9 @@ F: Documentation/devicetree/bindings/pmem/pmem-region.txt
80858101

80868102
LIBNVDIMM: NON-VOLATILE MEMORY DEVICE SUBSYSTEM
80878103
M: Dan Williams <dan.j.williams@intel.com>
8104+
M: Ross Zwisler <ross.zwisler@linux.intel.com>
8105+
M: Vishal Verma <vishal.l.verma@intel.com>
8106+
M: Dave Jiang <dave.jiang@intel.com>
80888107
L: linux-nvdimm@lists.01.org
80898108
Q: https://patchwork.kernel.org/project/linux-nvdimm/list/
80908109
T: git git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git
@@ -12824,7 +12843,8 @@ F: include/linux/siphash.h
1282412843

1282512844
SIOX
1282612845
M: Gavin Schenk <g.schenk@eckelmann.de>
12827-
M: Uwe Kleine-König <kernel@pengutronix.de>
12846+
M: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
12847+
R: Pengutronix Kernel Team <kernel@pengutronix.de>
1282812848
S: Supported
1282912849
F: drivers/siox/*
1283012850
F: include/trace/events/siox.h

Makefile

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

88
# *DOCUMENTATION*

arch/arm64/kernel/traps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ void force_signal_inject(int signal, int code, unsigned long address)
366366
}
367367

368368
/* Force signals we don't understand to SIGKILL */
369-
if (WARN_ON(signal != SIGKILL ||
369+
if (WARN_ON(signal != SIGKILL &&
370370
siginfo_layout(signal, code) != SIL_FAULT)) {
371371
signal = SIGKILL;
372372
}

arch/arm64/mm/kasan_init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ void __init kasan_init(void)
204204
clear_pgds(KASAN_SHADOW_START, KASAN_SHADOW_END);
205205

206206
kasan_map_populate(kimg_shadow_start, kimg_shadow_end,
207-
pfn_to_nid(virt_to_pfn(lm_alias(_text))));
207+
early_pfn_to_nid(virt_to_pfn(lm_alias(_text))));
208208

209209
kasan_populate_zero_shadow((void *)KASAN_SHADOW_START,
210210
(void *)mod_shadow_start);
@@ -224,7 +224,7 @@ void __init kasan_init(void)
224224

225225
kasan_map_populate((unsigned long)kasan_mem_to_shadow(start),
226226
(unsigned long)kasan_mem_to_shadow(end),
227-
pfn_to_nid(virt_to_pfn(start)));
227+
early_pfn_to_nid(virt_to_pfn(start)));
228228
}
229229

230230
/*

arch/powerpc/platforms/cell/spufs/sched.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ static int show_spu_loadavg(struct seq_file *s, void *private)
10931093
LOAD_INT(c), LOAD_FRAC(c),
10941094
count_active_contexts(),
10951095
atomic_read(&nr_spu_contexts),
1096-
idr_get_cursor(&task_active_pid_ns(current)->idr));
1096+
idr_get_cursor(&task_active_pid_ns(current)->idr) - 1);
10971097
return 0;
10981098
}
10991099

arch/x86/events/intel/uncore_snbep.c

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3028,10 +3028,27 @@ static struct intel_uncore_type bdx_uncore_cbox = {
30283028
.format_group = &hswep_uncore_cbox_format_group,
30293029
};
30303030

3031+
static struct intel_uncore_type bdx_uncore_sbox = {
3032+
.name = "sbox",
3033+
.num_counters = 4,
3034+
.num_boxes = 4,
3035+
.perf_ctr_bits = 48,
3036+
.event_ctl = HSWEP_S0_MSR_PMON_CTL0,
3037+
.perf_ctr = HSWEP_S0_MSR_PMON_CTR0,
3038+
.event_mask = HSWEP_S_MSR_PMON_RAW_EVENT_MASK,
3039+
.box_ctl = HSWEP_S0_MSR_PMON_BOX_CTL,
3040+
.msr_offset = HSWEP_SBOX_MSR_OFFSET,
3041+
.ops = &hswep_uncore_sbox_msr_ops,
3042+
.format_group = &hswep_uncore_sbox_format_group,
3043+
};
3044+
3045+
#define BDX_MSR_UNCORE_SBOX 3
3046+
30313047
static struct intel_uncore_type *bdx_msr_uncores[] = {
30323048
&bdx_uncore_ubox,
30333049
&bdx_uncore_cbox,
30343050
&hswep_uncore_pcu,
3051+
&bdx_uncore_sbox,
30353052
NULL,
30363053
};
30373054

@@ -3043,10 +3060,25 @@ static struct event_constraint bdx_uncore_pcu_constraints[] = {
30433060

30443061
void bdx_uncore_cpu_init(void)
30453062
{
3063+
int pkg = topology_phys_to_logical_pkg(0);
3064+
30463065
if (bdx_uncore_cbox.num_boxes > boot_cpu_data.x86_max_cores)
30473066
bdx_uncore_cbox.num_boxes = boot_cpu_data.x86_max_cores;
30483067
uncore_msr_uncores = bdx_msr_uncores;
30493068

3069+
/* BDX-DE doesn't have SBOX */
3070+
if (boot_cpu_data.x86_model == 86) {
3071+
uncore_msr_uncores[BDX_MSR_UNCORE_SBOX] = NULL;
3072+
/* Detect systems with no SBOXes */
3073+
} else if (uncore_extra_pci_dev[pkg].dev[HSWEP_PCI_PCU_3]) {
3074+
struct pci_dev *pdev;
3075+
u32 capid4;
3076+
3077+
pdev = uncore_extra_pci_dev[pkg].dev[HSWEP_PCI_PCU_3];
3078+
pci_read_config_dword(pdev, 0x94, &capid4);
3079+
if (((capid4 >> 6) & 0x3) == 0)
3080+
bdx_msr_uncores[BDX_MSR_UNCORE_SBOX] = NULL;
3081+
}
30503082
hswep_uncore_pcu.constraints = bdx_uncore_pcu_constraints;
30513083
}
30523084

@@ -3264,6 +3296,11 @@ static const struct pci_device_id bdx_uncore_pci_ids[] = {
32643296
PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x6f46),
32653297
.driver_data = UNCORE_PCI_DEV_DATA(UNCORE_EXTRA_PCI_DEV, 2),
32663298
},
3299+
{ /* PCU.3 (for Capability registers) */
3300+
PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x6fc0),
3301+
.driver_data = UNCORE_PCI_DEV_DATA(UNCORE_EXTRA_PCI_DEV,
3302+
HSWEP_PCI_PCU_3),
3303+
},
32673304
{ /* end: all zeroes */ }
32683305
};
32693306

arch/x86/include/asm/asm.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@
136136
#endif
137137

138138
#ifndef __ASSEMBLY__
139-
#ifndef __BPF__
140139
/*
141140
* This output constraint should be used for any inline asm which has a "call"
142141
* instruction. Otherwise the asm may be inserted before the frame pointer
@@ -146,6 +145,5 @@
146145
register unsigned long current_stack_pointer asm(_ASM_SP);
147146
#define ASM_CALL_CONSTRAINT "+r" (current_stack_pointer)
148147
#endif
149-
#endif
150148

151149
#endif /* _ASM_X86_ASM_H */

arch/x86/include/asm/processor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,13 +749,11 @@ enum idle_boot_override {IDLE_NO_OVERRIDE=0, IDLE_HALT, IDLE_NOMWAIT,
749749
extern void enable_sep_cpu(void);
750750
extern int sysenter_setup(void);
751751

752-
extern void early_trap_init(void);
753752
void early_trap_pf_init(void);
754753

755754
/* Defined in head.S */
756755
extern struct desc_ptr early_gdt_descr;
757756

758-
extern void cpu_set_gdt(int);
759757
extern void switch_to_new_gdt(int);
760758
extern void load_direct_gdt(int);
761759
extern void load_fixmap_gdt(int);

arch/x86/kernel/acpi/boot.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,10 @@ acpi_parse_x2apic(struct acpi_subtable_header *header, const unsigned long end)
215215
apic_id = processor->local_apic_id;
216216
enabled = processor->lapic_flags & ACPI_MADT_ENABLED;
217217

218+
/* Ignore invalid ID */
219+
if (apic_id == 0xffffffff)
220+
return 0;
221+
218222
/*
219223
* We need to register disabled CPU as well to permit
220224
* counting disabled CPUs. This allows us to size

arch/x86/kernel/kexec-bzimage64.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,19 +398,18 @@ static void *bzImage64_load(struct kimage *image, char *kernel,
398398
* little bit simple
399399
*/
400400
efi_map_sz = efi_get_runtime_map_size();
401-
efi_map_sz = ALIGN(efi_map_sz, 16);
402401
params_cmdline_sz = sizeof(struct boot_params) + cmdline_len +
403402
MAX_ELFCOREHDR_STR_LEN;
404403
params_cmdline_sz = ALIGN(params_cmdline_sz, 16);
405-
kbuf.bufsz = params_cmdline_sz + efi_map_sz +
404+
kbuf.bufsz = params_cmdline_sz + ALIGN(efi_map_sz, 16) +
406405
sizeof(struct setup_data) +
407406
sizeof(struct efi_setup_data);
408407

409408
params = kzalloc(kbuf.bufsz, GFP_KERNEL);
410409
if (!params)
411410
return ERR_PTR(-ENOMEM);
412411
efi_map_offset = params_cmdline_sz;
413-
efi_setup_data_offset = efi_map_offset + efi_map_sz;
412+
efi_setup_data_offset = efi_map_offset + ALIGN(efi_map_sz, 16);
414413

415414
/* Copy setup header onto bootparams. Documentation/x86/boot.txt */
416415
setup_header_size = 0x0202 + kernel[0x0201] - setup_hdr_offset;

0 commit comments

Comments
 (0)