Skip to content

Commit 012bd7e

Browse files
committed
Merge tag 'riscv-for-linus-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
Pull RISC-V fixes from Palmer Dabbelt: - A handful of fixes for the Microchip device trees - A pair of fixes to eliminate build warnings * tag 'riscv-for-linus-6.0-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: riscv: dts: microchip: mpfs: remove pci axi address translation property riscv: dts: microchip: mpfs: remove bogus card-detect-delay riscv: dts: microchip: mpfs: remove ti,fifo-depth property riscv: dts: microchip: mpfs: fix incorrect pcie child node name riscv: traps: add missing prototype riscv: signal: fix missing prototype warning riscv: dts: microchip: correct L2 cache interrupts
2 parents c23f864 + 1709c70 commit 012bd7e

File tree

7 files changed

+19
-10
lines changed

7 files changed

+19
-10
lines changed

arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,10 @@
8484

8585
phy1: ethernet-phy@9 {
8686
reg = <9>;
87-
ti,fifo-depth = <0x1>;
8887
};
8988

9089
phy0: ethernet-phy@8 {
9190
reg = <8>;
92-
ti,fifo-depth = <0x1>;
9391
};
9492
};
9593

@@ -102,7 +100,6 @@
102100
disable-wp;
103101
cap-sd-highspeed;
104102
cap-mmc-highspeed;
105-
card-detect-delay = <200>;
106103
mmc-ddr-1_8v;
107104
mmc-hs200-1_8v;
108105
sd-uhs-sdr12;

arch/riscv/boot/dts/microchip/mpfs-polarberry.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@
5454

5555
phy1: ethernet-phy@5 {
5656
reg = <5>;
57-
ti,fifo-depth = <0x01>;
5857
};
5958

6059
phy0: ethernet-phy@4 {
6160
reg = <4>;
62-
ti,fifo-depth = <0x01>;
6361
};
6462
};
6563

@@ -72,7 +70,6 @@
7270
disable-wp;
7371
cap-sd-highspeed;
7472
cap-mmc-highspeed;
75-
card-detect-delay = <200>;
7673
mmc-ddr-1_8v;
7774
mmc-hs200-1_8v;
7875
sd-uhs-sdr12;

arch/riscv/boot/dts/microchip/mpfs.dtsi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
cache-size = <2097152>;
194194
cache-unified;
195195
interrupt-parent = <&plic>;
196-
interrupts = <1>, <2>, <3>;
196+
interrupts = <1>, <3>, <4>, <2>;
197197
};
198198

199199
clint: clint@2000000 {
@@ -485,9 +485,8 @@
485485
ranges = <0x3000000 0x0 0x8000000 0x20 0x8000000 0x0 0x80000000>;
486486
msi-parent = <&pcie>;
487487
msi-controller;
488-
microchip,axi-m-atr0 = <0x10 0x0>;
489488
status = "disabled";
490-
pcie_intc: legacy-interrupt-controller {
489+
pcie_intc: interrupt-controller {
491490
#address-cells = <0>;
492491
#interrupt-cells = <1>;
493492
interrupt-controller;

arch/riscv/include/asm/signal.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/* SPDX-License-Identifier: GPL-2.0-only */
2+
3+
#ifndef __ASM_SIGNAL_H
4+
#define __ASM_SIGNAL_H
5+
6+
#include <uapi/asm/signal.h>
7+
#include <uapi/asm/ptrace.h>
8+
9+
asmlinkage __visible
10+
void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags);
11+
12+
#endif

arch/riscv/include/asm/thread_info.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242

4343
#ifndef __ASSEMBLY__
4444

45+
extern long shadow_stack[SHADOW_OVERFLOW_STACK_SIZE / sizeof(long)];
46+
4547
#include <asm/processor.h>
4648
#include <asm/csr.h>
4749

arch/riscv/kernel/signal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
#include <asm/ucontext.h>
1717
#include <asm/vdso.h>
18+
#include <asm/signal.h>
1819
#include <asm/signal32.h>
1920
#include <asm/switch_to.h>
2021
#include <asm/csr.h>

arch/riscv/kernel/traps.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020

2121
#include <asm/asm-prototypes.h>
2222
#include <asm/bug.h>
23+
#include <asm/csr.h>
2324
#include <asm/processor.h>
2425
#include <asm/ptrace.h>
25-
#include <asm/csr.h>
26+
#include <asm/thread_info.h>
2627

2728
int show_unhandled_signals = 1;
2829

0 commit comments

Comments
 (0)