Compare commits
114 Commits
master
...
f31-riscv6
Author | SHA1 | Date | |
---|---|---|---|
5898bf0d17 | |||
b31dc1a41d | |||
83c444cb71 | |||
|
db2600b8ff | ||
|
7fa6a6fed5 | ||
|
6bd74d76fe | ||
|
aec7c80393 | ||
|
cda78490b3 | ||
|
4bba71a878 | ||
|
176603ba7c | ||
|
30675b84bb | ||
|
839d783d52 | ||
c3ac3ff76b | |||
0eaa884d64 | |||
|
db060559f7 | ||
|
8bb21014a5 | ||
|
04b2e9ec7b | ||
|
988883b98d | ||
|
1ab25b7c73 | ||
|
7110e42ccf | ||
|
36123dbc39 | ||
|
6aef52e400 | ||
|
ac89b4ad91 | ||
|
e163d28535 | ||
14e1aec87b | |||
e45779fd85 | |||
29a6545101 | |||
61e64e9c25 | |||
1379329518 | |||
|
715d406753 | ||
032d42a245 | |||
c4c87d736c | |||
bebf3adce1 | |||
e185868e77 | |||
7ff284a90a | |||
40925c9884 | |||
|
138f36aa16 | ||
|
b07dd9aa6f | ||
|
e0ac22bfc2 | ||
|
0498fb5dc5 | ||
|
06340ec177 | ||
51056b416e | |||
f5451a35e8 | |||
f7296f0f1f | |||
4874335a34 | |||
6fe4640c1a | |||
|
9f3562b7a0 | ||
|
a948dfad97 | ||
576b1ae843 | |||
98989ae15a | |||
d67f20b6af | |||
c02a88f6c2 | |||
61f194cc7d | |||
1eeb636d12 | |||
43dcced80c | |||
c12dd026dd | |||
6bc8810bf1 | |||
e765a7ca2e | |||
0ebe98255d | |||
77b49c9b18 | |||
b54ad78b02 | |||
ecef7281d5 | |||
5e0efa7c70 | |||
6d70f5be5f | |||
601e6a0b25 | |||
394552ce0a | |||
509fb7c884 | |||
8a92f6bb9e | |||
0be8868348 | |||
afe42142a2 | |||
f27a56dd4f | |||
8c11451ed6 | |||
6a92c8e473 | |||
985dca2019 | |||
da7a473ed6 | |||
32d304786a | |||
9d19b9acba | |||
73b70fe83d | |||
08e119a980 | |||
512dd80333 | |||
da577e4814 | |||
e644ae139d | |||
4d63228929 | |||
d932ad52cf | |||
625fa4a062 | |||
6f9cf326c7 | |||
a0a6f7a375 | |||
fc9138ad11 | |||
ff3e5b658b | |||
9db5e7124c | |||
c84bdfed84 | |||
f49ba59706 | |||
e9615025d3 | |||
6e04e00c1f | |||
24ef14817b | |||
f72820cd8f | |||
4b722cac34 | |||
22e71c9173 | |||
bf6565ba91 | |||
7a2f3d62e7 | |||
6afa6a1d1d | |||
61da5462ab | |||
1838232458 | |||
8d4ff40415 | |||
f47d31c65b | |||
80112e26ae | |||
676aad9847 | |||
65627459ed | |||
fd01e1b407 | |||
e93b45642b | |||
088edc4af9 | |||
681c2dab76 | |||
7094da6400 | |||
b3c173bfe0 |
184
0001-riscv-add-SECCOMP-support.patch
Normal file
184
0001-riscv-add-SECCOMP-support.patch
Normal file
@ -0,0 +1,184 @@
|
||||
From 0cb0b507d7eaff090b2607799de3acad464fa446 Mon Sep 17 00:00:00 2001
|
||||
From: David Abdurachmanov <david.abdurachmanov@sifive.com>
|
||||
Date: Mon, 24 Jun 2019 18:58:45 +0300
|
||||
Subject: [PATCH] riscv: add SECCOMP support
|
||||
|
||||
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
|
||||
|
||||
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
|
||||
index 0c4b12205632..6f89a83c1e9c 100644
|
||||
--- a/arch/riscv/Kconfig
|
||||
+++ b/arch/riscv/Kconfig
|
||||
@@ -30,6 +30,7 @@ config RISCV
|
||||
select GENERIC_SMP_IDLE_THREAD
|
||||
select GENERIC_ATOMIC64 if !64BIT
|
||||
select HAVE_ARCH_AUDITSYSCALL
|
||||
+ select HAVE_ARCH_SECCOMP_FILTER
|
||||
select HAVE_MEMBLOCK_NODE_MAP
|
||||
select HAVE_DMA_CONTIGUOUS
|
||||
select HAVE_FUTEX_CMPXCHG if FUTEX
|
||||
@@ -223,6 +224,19 @@ menu "Kernel features"
|
||||
|
||||
source "kernel/Kconfig.hz"
|
||||
|
||||
+config SECCOMP
|
||||
+ bool "Enable seccomp to safely compute untrusted bytecode"
|
||||
+ help
|
||||
+ This kernel feature is useful for number crunching applications
|
||||
+ that may need to compute untrusted bytecode during their
|
||||
+ execution. By using pipes or other transports made available to
|
||||
+ the process as file descriptors supporting the read/write
|
||||
+ syscalls, it's possible to isolate those applications in
|
||||
+ their own address space using seccomp. Once seccomp is
|
||||
+ enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
|
||||
+ and the task is only allowed to execute a few safe syscalls
|
||||
+ defined by each seccomp mode.
|
||||
+
|
||||
endmenu
|
||||
|
||||
menu "Boot options"
|
||||
diff --git a/arch/riscv/include/asm/seccomp.h b/arch/riscv/include/asm/seccomp.h
|
||||
new file mode 100644
|
||||
index 000000000000..bf7744ee3b3d
|
||||
--- /dev/null
|
||||
+++ b/arch/riscv/include/asm/seccomp.h
|
||||
@@ -0,0 +1,10 @@
|
||||
+/* SPDX-License-Identifier: GPL-2.0 */
|
||||
+
|
||||
+#ifndef _ASM_SECCOMP_H
|
||||
+#define _ASM_SECCOMP_H
|
||||
+
|
||||
+#include <asm/unistd.h>
|
||||
+
|
||||
+#include <asm-generic/seccomp.h>
|
||||
+
|
||||
+#endif /* _ASM_SECCOMP_H */
|
||||
diff --git a/arch/riscv/include/asm/thread_info.h b/arch/riscv/include/asm/thread_info.h
|
||||
index 905372d7eeb8..a0b2a29a0da1 100644
|
||||
--- a/arch/riscv/include/asm/thread_info.h
|
||||
+++ b/arch/riscv/include/asm/thread_info.h
|
||||
@@ -75,6 +75,7 @@ struct thread_info {
|
||||
#define TIF_MEMDIE 5 /* is terminating due to OOM killer */
|
||||
#define TIF_SYSCALL_TRACEPOINT 6 /* syscall tracepoint instrumentation */
|
||||
#define TIF_SYSCALL_AUDIT 7 /* syscall auditing */
|
||||
+#define TIF_SECCOMP 8 /* syscall secure computing */
|
||||
|
||||
#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
|
||||
#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)
|
||||
@@ -82,11 +83,13 @@ struct thread_info {
|
||||
#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
|
||||
#define _TIF_SYSCALL_TRACEPOINT (1 << TIF_SYSCALL_TRACEPOINT)
|
||||
#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT)
|
||||
+#define _TIF_SECCOMP (1 << TIF_SECCOMP)
|
||||
|
||||
#define _TIF_WORK_MASK \
|
||||
(_TIF_NOTIFY_RESUME | _TIF_SIGPENDING | _TIF_NEED_RESCHED)
|
||||
|
||||
#define _TIF_SYSCALL_WORK \
|
||||
- (_TIF_SYSCALL_TRACE | _TIF_SYSCALL_TRACEPOINT | _TIF_SYSCALL_AUDIT)
|
||||
+ (_TIF_SYSCALL_TRACE | _TIF_SYSCALL_TRACEPOINT | _TIF_SYSCALL_AUDIT | \
|
||||
+ _TIF_SECCOMP )
|
||||
|
||||
#endif /* _ASM_RISCV_THREAD_INFO_H */
|
||||
diff --git a/arch/riscv/kernel/entry.S b/arch/riscv/kernel/entry.S
|
||||
index bc7a56e1ca6f..0bbedfa3e47d 100644
|
||||
--- a/arch/riscv/kernel/entry.S
|
||||
+++ b/arch/riscv/kernel/entry.S
|
||||
@@ -203,8 +203,25 @@ check_syscall_nr:
|
||||
/* Check to make sure we don't jump to a bogus syscall number. */
|
||||
li t0, __NR_syscalls
|
||||
la s0, sys_ni_syscall
|
||||
- /* Syscall number held in a7 */
|
||||
- bgeu a7, t0, 1f
|
||||
+ /*
|
||||
+ * The tracer can change syscall number to valid/invalid value.
|
||||
+ * We use syscall_set_nr helper in syscall_trace_enter thus we
|
||||
+ * cannot trust the current value in a7 and have to reload from
|
||||
+ * the current task pt_regs.
|
||||
+ */
|
||||
+ REG_L a7, PT_A7(sp)
|
||||
+ /*
|
||||
+ * Syscall number held in a7.
|
||||
+ * If syscall number is above allowed value, redirect to ni_syscall.
|
||||
+ */
|
||||
+ bge a7, t0, 1f
|
||||
+ /*
|
||||
+ * Check if syscall is rejected by tracer or seccomp, i.e., a7 == -1.
|
||||
+ * If yes, we pretend it was executed.
|
||||
+ */
|
||||
+ li t1, -1
|
||||
+ beq a7, t1, ret_from_syscall_rejected
|
||||
+ /* Call syscall */
|
||||
la s0, sys_call_table
|
||||
slli t0, a7, RISCV_LGPTR
|
||||
add s0, s0, t0
|
||||
@@ -215,6 +232,12 @@ check_syscall_nr:
|
||||
ret_from_syscall:
|
||||
/* Set user a0 to kernel a0 */
|
||||
REG_S a0, PT_A0(sp)
|
||||
+ /*
|
||||
+ * We didn't execute the actual syscall.
|
||||
+ * Seccomp already set return value for the current task pt_regs.
|
||||
+ * (If it was configured with SECCOMP_RET_ERRNO/TRACE)
|
||||
+ */
|
||||
+ret_from_syscall_rejected:
|
||||
/* Trace syscalls, but only if requested by the user. */
|
||||
REG_L t0, TASK_TI_FLAGS(tp)
|
||||
andi t0, t0, _TIF_SYSCALL_WORK
|
||||
diff --git a/arch/riscv/kernel/ptrace.c b/arch/riscv/kernel/ptrace.c
|
||||
index 368751438366..63e47c9f85f0 100644
|
||||
--- a/arch/riscv/kernel/ptrace.c
|
||||
+++ b/arch/riscv/kernel/ptrace.c
|
||||
@@ -154,6 +154,16 @@ void do_syscall_trace_enter(struct pt_regs *regs)
|
||||
if (tracehook_report_syscall_entry(regs))
|
||||
syscall_set_nr(current, regs, -1);
|
||||
|
||||
+ /*
|
||||
+ * Do the secure computing after ptrace; failures should be fast.
|
||||
+ * If this fails we might have return value in a0 from seccomp
|
||||
+ * (via SECCOMP_RET_ERRNO/TRACE).
|
||||
+ */
|
||||
+ if (secure_computing(NULL) == -1) {
|
||||
+ syscall_set_nr(current, regs, -1);
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
#ifdef CONFIG_HAVE_SYSCALL_TRACEPOINTS
|
||||
if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
|
||||
trace_sys_enter(regs, syscall_get_nr(current, regs));
|
||||
diff --git a/tools/testing/selftests/seccomp/seccomp_bpf.c b/tools/testing/selftests/seccomp/seccomp_bpf.c
|
||||
index dc66fe852768..e30864b25fb5 100644
|
||||
--- a/tools/testing/selftests/seccomp/seccomp_bpf.c
|
||||
+++ b/tools/testing/selftests/seccomp/seccomp_bpf.c
|
||||
@@ -112,6 +112,8 @@ struct seccomp_data {
|
||||
# define __NR_seccomp 383
|
||||
# elif defined(__aarch64__)
|
||||
# define __NR_seccomp 277
|
||||
+# elif defined(__riscv)
|
||||
+# define __NR_seccomp 277
|
||||
# elif defined(__hppa__)
|
||||
# define __NR_seccomp 338
|
||||
# elif defined(__powerpc__)
|
||||
@@ -1582,6 +1584,10 @@ TEST_F(TRACE_poke, getpid_runs_normally)
|
||||
# define ARCH_REGS struct user_pt_regs
|
||||
# define SYSCALL_NUM regs[8]
|
||||
# define SYSCALL_RET regs[0]
|
||||
+#elif defined(__riscv) && __riscv_xlen == 64
|
||||
+# define ARCH_REGS struct user_regs_struct
|
||||
+# define SYSCALL_NUM a7
|
||||
+# define SYSCALL_RET a0
|
||||
#elif defined(__hppa__)
|
||||
# define ARCH_REGS struct user_regs_struct
|
||||
# define SYSCALL_NUM gr[20]
|
||||
@@ -1671,7 +1677,7 @@ void change_syscall(struct __test_metadata *_metadata,
|
||||
EXPECT_EQ(0, ret) {}
|
||||
|
||||
#if defined(__x86_64__) || defined(__i386__) || defined(__powerpc__) || \
|
||||
- defined(__s390__) || defined(__hppa__)
|
||||
+ defined(__s390__) || defined(__hppa__) || defined(__riscv)
|
||||
{
|
||||
regs.SYSCALL_NUM = syscall;
|
||||
}
|
||||
--
|
||||
2.21.0
|
||||
|
@ -0,0 +1,56 @@
|
||||
From ee347a1886b11729f2a5d9bc7bc1016471efb9bb Mon Sep 17 00:00:00 2001
|
||||
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
|
||||
Date: Mon, 14 Oct 2019 13:11:03 +0000
|
||||
Subject: [PATCH] [v2] riscv: Fix memblock reservation for device tree blob
|
||||
|
||||
---
|
||||
arch/riscv/mm/init.c | 12 +++++++++++-
|
||||
1 file changed, 11 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c
|
||||
index 42bf939..ed9cd99 100644
|
||||
--- a/arch/riscv/mm/init.c
|
||||
+++ b/arch/riscv/mm/init.c
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <linux/swap.h>
|
||||
#include <linux/sizes.h>
|
||||
#include <linux/of_fdt.h>
|
||||
+#include <linux/libfdt.h>
|
||||
|
||||
#include <asm/fixmap.h>
|
||||
#include <asm/tlbflush.h>
|
||||
@@ -82,6 +83,8 @@ static void __init setup_initrd(void)
|
||||
}
|
||||
#endif /* CONFIG_BLK_DEV_INITRD */
|
||||
|
||||
+static phys_addr_t dtb_early_pa __initdata;
|
||||
+
|
||||
void __init setup_bootmem(void)
|
||||
{
|
||||
struct memblock_region *reg;
|
||||
@@ -117,7 +120,12 @@ void __init setup_bootmem(void)
|
||||
setup_initrd();
|
||||
#endif /* CONFIG_BLK_DEV_INITRD */
|
||||
|
||||
- early_init_fdt_reserve_self();
|
||||
+ /*
|
||||
+ * Avoid using early_init_fdt_reserve_self() since __pa() does
|
||||
+ * not work for DTB pointers that are fixmap addresses
|
||||
+ */
|
||||
+ memblock_reserve(dtb_early_pa, fdt_totalsize(dtb_early_va));
|
||||
+
|
||||
early_init_fdt_scan_reserved_mem();
|
||||
memblock_allow_resize();
|
||||
memblock_dump_all();
|
||||
@@ -393,6 +401,8 @@ asmlinkage void __init setup_vm(uintptr_t dtb_pa)
|
||||
|
||||
/* Save pointer to DTB for early FDT parsing */
|
||||
dtb_early_va = (void *)fix_to_virt(FIX_FDT) + (dtb_pa & ~PAGE_MASK);
|
||||
+ /* Save physical address for memblock reservation */
|
||||
+ dtb_early_pa = dtb_pa;
|
||||
}
|
||||
|
||||
static void __init setup_vm_final(void)
|
||||
--
|
||||
2.23.0
|
||||
|
140
0002-SiFive-Unleashed-CPUFreq.patch
Normal file
140
0002-SiFive-Unleashed-CPUFreq.patch
Normal file
@ -0,0 +1,140 @@
|
||||
From 8d741d97eeb3a0c1b9aa09da15fbb1c5c7214fcd Mon Sep 17 00:00:00 2001
|
||||
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
|
||||
Date: Sun, 25 Aug 2019 06:58:34 +0000
|
||||
Subject: [PATCH 2/2] SiFive Unleashed CPUFreq
|
||||
|
||||
Signed-off-by: Fedora Kernel Team <kernel-team@fedoraproject.org>
|
||||
---
|
||||
arch/riscv/Kconfig | 8 +++++
|
||||
arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 5 +++
|
||||
.../boot/dts/sifive/hifive-unleashed-a00.dts | 34 +++++++++++++++++++
|
||||
arch/riscv/configs/defconfig | 5 +++
|
||||
4 files changed, 52 insertions(+)
|
||||
|
||||
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
|
||||
index 441e63f..ccd590c 100644
|
||||
--- a/arch/riscv/Kconfig
|
||||
+++ b/arch/riscv/Kconfig
|
||||
@@ -298,6 +298,14 @@ endchoice
|
||||
|
||||
endmenu
|
||||
|
||||
+menu "CPU Power Management"
|
||||
+
|
||||
+source "drivers/cpuidle/Kconfig"
|
||||
+
|
||||
+source "drivers/cpufreq/Kconfig"
|
||||
+
|
||||
+endmenu
|
||||
+
|
||||
menu "Power management options"
|
||||
|
||||
source "kernel/power/Kconfig"
|
||||
diff --git a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
|
||||
index 42b5ec2..b07079f 100644
|
||||
--- a/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
|
||||
+++ b/arch/riscv/boot/dts/sifive/fu540-c000.dtsi
|
||||
@@ -29,6 +29,7 @@
|
||||
i-cache-size = <16384>;
|
||||
reg = <0>;
|
||||
riscv,isa = "rv64imac";
|
||||
+ clocks = <&prci PRCI_CLK_COREPLL>;
|
||||
status = "disabled";
|
||||
cpu0_intc: interrupt-controller {
|
||||
#interrupt-cells = <1>;
|
||||
@@ -53,6 +54,7 @@
|
||||
reg = <1>;
|
||||
riscv,isa = "rv64imafdc";
|
||||
tlb-split;
|
||||
+ clocks = <&prci PRCI_CLK_COREPLL>;
|
||||
cpu1_intc: interrupt-controller {
|
||||
#interrupt-cells = <1>;
|
||||
compatible = "riscv,cpu-intc";
|
||||
@@ -77,6 +79,7 @@
|
||||
reg = <2>;
|
||||
riscv,isa = "rv64imafdc";
|
||||
tlb-split;
|
||||
+ clocks = <&prci PRCI_CLK_COREPLL>;
|
||||
cpu2_intc: interrupt-controller {
|
||||
#interrupt-cells = <1>;
|
||||
compatible = "riscv,cpu-intc";
|
||||
@@ -101,6 +104,7 @@
|
||||
reg = <3>;
|
||||
riscv,isa = "rv64imafdc";
|
||||
tlb-split;
|
||||
+ clocks = <&prci PRCI_CLK_COREPLL>;
|
||||
cpu3_intc: interrupt-controller {
|
||||
#interrupt-cells = <1>;
|
||||
compatible = "riscv,cpu-intc";
|
||||
@@ -125,6 +129,7 @@
|
||||
reg = <4>;
|
||||
riscv,isa = "rv64imafdc";
|
||||
tlb-split;
|
||||
+ clocks = <&prci PRCI_CLK_COREPLL>;
|
||||
cpu4_intc: interrupt-controller {
|
||||
#interrupt-cells = <1>;
|
||||
compatible = "riscv,cpu-intc";
|
||||
diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
|
||||
index 54fc701..5b43bdf 100644
|
||||
--- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
|
||||
+++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
|
||||
@@ -40,6 +40,40 @@
|
||||
clock-frequency = <RTCCLK_FREQ>;
|
||||
clock-output-names = "rtcclk";
|
||||
};
|
||||
+
|
||||
+ fu540_c000_opp_table: opp-table {
|
||||
+ compatible = "operating-points-v2";
|
||||
+ opp-shared;
|
||||
+
|
||||
+ opp-350000000 {
|
||||
+ opp-hz = /bits/ 64 <350000000>;
|
||||
+ };
|
||||
+ opp-700000000 {
|
||||
+ opp-hz = /bits/ 64 <700000000>;
|
||||
+ };
|
||||
+ opp-999999999 {
|
||||
+ opp-hz = /bits/ 64 <999999999>;
|
||||
+ };
|
||||
+ opp-1400000000 {
|
||||
+ opp-hz = /bits/ 64 <1400000000>;
|
||||
+ };
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&cpu0 {
|
||||
+ operating-points-v2 = <&fu540_c000_opp_table>;
|
||||
+};
|
||||
+&cpu1 {
|
||||
+ operating-points-v2 = <&fu540_c000_opp_table>;
|
||||
+};
|
||||
+&cpu2 {
|
||||
+ operating-points-v2 = <&fu540_c000_opp_table>;
|
||||
+};
|
||||
+&cpu3 {
|
||||
+ operating-points-v2 = <&fu540_c000_opp_table>;
|
||||
+};
|
||||
+&cpu4 {
|
||||
+ operating-points-v2 = <&fu540_c000_opp_table>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
|
||||
index 3efff55..c9542a9 100644
|
||||
--- a/arch/riscv/configs/defconfig
|
||||
+++ b/arch/riscv/configs/defconfig
|
||||
@@ -16,6 +16,11 @@ CONFIG_EXPERT=y
|
||||
CONFIG_BPF_SYSCALL=y
|
||||
CONFIG_SOC_SIFIVE=y
|
||||
CONFIG_SMP=y
|
||||
+CONFIG_CPU_IDLE=y
|
||||
+CONFIG_CPU_FREQ=y
|
||||
+CONFIG_CPU_FREQ_STAT=y
|
||||
+CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
|
||||
+CONFIG_CPUFREQ_DT=y
|
||||
CONFIG_MODULES=y
|
||||
CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_NET=y
|
||||
--
|
||||
2.23.0
|
||||
|
153
PATCH-v2-selinux-allow-labeling-before-policy-is-loaded.patch
Normal file
153
PATCH-v2-selinux-allow-labeling-before-policy-is-loaded.patch
Normal file
@ -0,0 +1,153 @@
|
||||
From mboxrd@z Thu Jan 1 00:00:00 1970
|
||||
Return-Path: <SRS0=e2dy=XH=vger.kernel.org=selinux-owner@kernel.org>
|
||||
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
|
||||
aws-us-west-2-korg-lkml-1.web.codeaurora.org
|
||||
X-Spam-Level:
|
||||
X-Spam-Status: No, score=-15.0 required=3.0
|
||||
tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,
|
||||
MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT
|
||||
autolearn=ham autolearn_force=no version=3.4.0
|
||||
Received: from mail.kernel.org (mail.kernel.org [198.145.29.99])
|
||||
by smtp.lore.kernel.org (Postfix) with ESMTP id 0CE63C4CEC5
|
||||
for <selinux@archiver.kernel.org>; Thu, 12 Sep 2019 13:30:40 +0000 (UTC)
|
||||
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
|
||||
by mail.kernel.org (Postfix) with ESMTP id DC0B020CC7
|
||||
for <selinux@archiver.kernel.org>; Thu, 12 Sep 2019 13:30:39 +0000 (UTC)
|
||||
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
|
||||
id S1732192AbfILNaj (ORCPT <rfc822;selinux@archiver.kernel.org>);
|
||||
Thu, 12 Sep 2019 09:30:39 -0400
|
||||
Received: from mx1.redhat.com ([209.132.183.28]:52278 "EHLO mx1.redhat.com"
|
||||
rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP
|
||||
id S1731687AbfILNaj (ORCPT <rfc822;selinux@vger.kernel.org>);
|
||||
Thu, 12 Sep 2019 09:30:39 -0400
|
||||
Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197])
|
||||
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
|
||||
(No client certificate requested)
|
||||
by mx1.redhat.com (Postfix) with ESMTPS id 97CC359465
|
||||
for <selinux@vger.kernel.org>; Thu, 12 Sep 2019 13:30:38 +0000 (UTC)
|
||||
Received: by mail-qt1-f197.google.com with SMTP id c8so13609684qtd.20
|
||||
for <selinux@vger.kernel.org>; Thu, 12 Sep 2019 06:30:38 -0700 (PDT)
|
||||
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
|
||||
d=1e100.net; s=20161025;
|
||||
h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version
|
||||
:content-transfer-encoding;
|
||||
bh=S/MIBrjCy5DTvfqPzJTJqDQQH1pDu780wgGyHs56w4k=;
|
||||
b=H7fZr4X/c4ge0SXeHHRXrq3U4J60PWfSRqdCphTWxKjyLvBs8nktbJczT562oH7Hxv
|
||||
hdvVjKgAzNxIXFdQetnmveDXojtHFrE21PNdo5ONQIyh35oZyrJB4ewZdUrNfbrvDc2y
|
||||
ElMr/HoKEX5pY+GMJE4nzeBotlfCWU9BoAxJPUhzKA9Oib+AqDzQ0hCGH6pQY9RXRXBV
|
||||
IMH21FE5dxQGtLHNCJXVxE14edDeRo8qQFWQw6ooogK7JvduuJrWBn3BmCbKz1YLTNZE
|
||||
9wRXvaHFVGNhr79JrRcItTp6Sx+tZ3XY46CV+Wi6Rq1fu8MePP9zFdIQXw9wqyd+UgLa
|
||||
AIlw==
|
||||
X-Gm-Message-State: APjAAAXpWx500L+bZRH8M7OzuSb0aBlsvvjaBYCGvSkzojpa2nRWjtk0
|
||||
cjKEj45ivsUgPW2Bbi6CGEtspqM4wmwb72z+ajR4hy5OjMT3KRh6W71HFbVPrlLYQTvse11Ax2d
|
||||
wGOma7U/qIGDDYkjh/Q==
|
||||
X-Received: by 2002:ac8:7b2e:: with SMTP id l14mr8094193qtu.11.1568295037636;
|
||||
Thu, 12 Sep 2019 06:30:37 -0700 (PDT)
|
||||
X-Google-Smtp-Source: APXvYqzybFpoaFyGZXafGEdtHCL3XllpHltaXggcIZEb7De49V/kJzm1pU6vpg1gN8HtgnB3cilLuA==
|
||||
X-Received: by 2002:ac8:7b2e:: with SMTP id l14mr8094176qtu.11.1568295037442;
|
||||
Thu, 12 Sep 2019 06:30:37 -0700 (PDT)
|
||||
Received: from localhost.localdomain ([12.133.141.2])
|
||||
by smtp.gmail.com with ESMTPSA id h68sm11848865qkd.35.2019.09.12.06.30.35
|
||||
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
|
||||
Thu, 12 Sep 2019 06:30:36 -0700 (PDT)
|
||||
From: Jonathan Lebon <jlebon@redhat.com>
|
||||
To: selinux@vger.kernel.org
|
||||
Cc: Jonathan Lebon <jlebon@redhat.com>,
|
||||
Victor Kamensky <kamensky@cisco.com>
|
||||
Subject: [PATCH v2] selinux: allow labeling before policy is loaded
|
||||
Date: Thu, 12 Sep 2019 09:30:07 -0400
|
||||
Message-Id: <20190912133007.27545-1-jlebon@redhat.com>
|
||||
X-Mailer: git-send-email 2.21.0
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: 8bit
|
||||
Sender: selinux-owner@vger.kernel.org
|
||||
Precedence: bulk
|
||||
List-ID: <selinux.vger.kernel.org>
|
||||
X-Mailing-List: selinux@vger.kernel.org
|
||||
Archived-At: <https://lore.kernel.org/selinux/20190912133007.27545-1-jlebon@redhat.com/>
|
||||
List-Archive: <https://lore.kernel.org/selinux/>
|
||||
List-Post: <mailto:selinux@vger.kernel.org>
|
||||
|
||||
Currently, the SELinux LSM prevents one from setting the
|
||||
`security.selinux` xattr on an inode without a policy first being
|
||||
loaded. However, this restriction is problematic: it makes it impossible
|
||||
to have newly created files with the correct label before actually
|
||||
loading the policy.
|
||||
|
||||
This is relevant in distributions like Fedora, where the policy is
|
||||
loaded by systemd shortly after pivoting out of the initrd. In such
|
||||
instances, all files created prior to pivoting will be unlabeled. One
|
||||
then has to relabel them after pivoting, an operation which inherently
|
||||
races with other processes trying to access those same files.
|
||||
|
||||
Going further, there are use cases for creating the entire root
|
||||
filesystem on first boot from the initrd (e.g. Container Linux supports
|
||||
this today[1], and we'd like to support it in Fedora CoreOS as well[2]).
|
||||
One can imagine doing this in two ways: at the block device level (e.g.
|
||||
laying down a disk image), or at the filesystem level. In the former,
|
||||
labeling can simply be part of the image. But even in the latter
|
||||
scenario, one still really wants to be able to set the right labels when
|
||||
populating the new filesystem.
|
||||
|
||||
This patch enables this by changing behaviour in the following two ways:
|
||||
1. allow `setxattr` if we're not initialized
|
||||
2. don't try to set the in-core inode SID if we're not initialized;
|
||||
instead leave it as `LABEL_INVALID` so that revalidation may be
|
||||
attempted at a later time
|
||||
|
||||
Note the first hunk of this patch is mostly the same as a previously
|
||||
discussed one[3], though it was part of a larger series which wasn't
|
||||
accepted.
|
||||
|
||||
Co-developed-by: Victor Kamensky <kamensky@cisco.com>
|
||||
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
|
||||
Signed-off-by: Jonathan Lebon <jlebon@redhat.com>
|
||||
|
||||
[1] https://coreos.com/os/docs/latest/root-filesystem-placement.html
|
||||
[2] https://github.com/coreos/fedora-coreos-tracker/issues/94
|
||||
[3] https://www.spinics.net/lists/linux-initramfs/msg04593.html
|
||||
|
||||
---
|
||||
|
||||
v2:
|
||||
- return early in selinux_inode_setxattr if policy hasn't been loaded
|
||||
|
||||
---
|
||||
|
||||
security/selinux/hooks.c | 12 ++++++++++++
|
||||
1 file changed, 12 insertions(+)
|
||||
|
||||
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
|
||||
index 94de51628..dbe96c707 100644
|
||||
--- a/security/selinux/hooks.c
|
||||
+++ b/security/selinux/hooks.c
|
||||
@@ -3142,6 +3142,9 @@ static int selinux_inode_setxattr(struct dentry *dentry, const char *name,
|
||||
return dentry_has_perm(current_cred(), dentry, FILE__SETATTR);
|
||||
}
|
||||
|
||||
+ if (!selinux_state.initialized)
|
||||
+ return (inode_owner_or_capable(inode) ? 0 : -EPERM);
|
||||
+
|
||||
sbsec = inode->i_sb->s_security;
|
||||
if (!(sbsec->flags & SBLABEL_MNT))
|
||||
return -EOPNOTSUPP;
|
||||
@@ -3225,6 +3228,15 @@ static void selinux_inode_post_setxattr(struct dentry *dentry, const char *name,
|
||||
return;
|
||||
}
|
||||
|
||||
+ if (!selinux_state.initialized) {
|
||||
+ /* If we haven't even been initialized, then we can't validate
|
||||
+ * against a policy, so leave the label as invalid. It may
|
||||
+ * resolve to a valid label on the next revalidation try if
|
||||
+ * we've since initialized.
|
||||
+ */
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
rc = security_context_to_sid_force(&selinux_state, value, size,
|
||||
&newsid);
|
||||
if (rc) {
|
||||
--
|
||||
2.21.0
|
||||
|
||||
|
@ -0,0 +1,78 @@
|
||||
From 9d1a8ad3c56f4e84a0ec46246b4c08a6d139f638 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Robinson <pbrobinson@gmail.com>
|
||||
Date: Sun, 13 Oct 2019 14:33:23 +0100
|
||||
Subject: [PATCH] Revert "ARM: bcm283x: Switch V3D over to using the PM driver
|
||||
instead of firmware."
|
||||
|
||||
Since release of the new BCM2835 PM driver there has been several reports
|
||||
of V3D probing issues. This is caused by timeouts during powering-up the
|
||||
GRAFX PM domain:
|
||||
|
||||
bcm2835-power: Timeout waiting for grafx power OK
|
||||
|
||||
I was able to reproduce this reliable on my Raspberry Pi 3B+ after setting
|
||||
force_turbo=1 in the firmware configuration. Since there are no issues
|
||||
using the firmware PM driver with the same setup, there must be an issue
|
||||
in the BCM2835 PM driver.
|
||||
|
||||
Unfortunately there hasn't been much progress in identifying the root cause
|
||||
since June (mostly in the lack of documentation), so i decided to switch
|
||||
back until the issue in the BCM2835 PM driver is fixed.
|
||||
|
||||
Link: https://github.com/raspberrypi/linux/issues/3046
|
||||
Fixes: e1dc2b2e1bef (" ARM: bcm283x: Switch V3D over to using the PM driver instead of firmware.")
|
||||
Cc: stable@vger.kernel.org
|
||||
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
|
||||
Acked-by: Eric Anholt <eric@anholt.net>
|
||||
---
|
||||
a/arch/arm/boot/dts/bcm2835-rpi.dtsi | 4 ++++
|
||||
b/arch/arm/boot/dts/bcm283x.dtsi | 4 +---
|
||||
2 files changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
|
||||
index 715d50c64529..d136867c317f 100644
|
||||
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
|
||||
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
|
||||
@@ -90,6 +90,10 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
+&v3d {
|
||||
+ power-domains = <&power RPI_POWER_DOMAIN_V3D>;
|
||||
+};
|
||||
+
|
||||
&vec {
|
||||
power-domains = <&power RPI_POWER_DOMAIN_VEC>;
|
||||
status = "okay";
|
||||
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
|
||||
index 4b21ddb26aa5..0c6a6611f285 100644
|
||||
--- a/arch/arm/boot/dts/bcm283x.dtsi
|
||||
+++ b/arch/arm/boot/dts/bcm283x.dtsi
|
||||
@@ -3,7 +3,6 @@
|
||||
#include <dt-bindings/clock/bcm2835-aux.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
-#include <dt-bindings/soc/bcm2835-pm.h>
|
||||
|
||||
/* firmware-provided startup stubs live here, where the secondary CPUs are
|
||||
* spinning.
|
||||
@@ -121,7 +120,7 @@
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
- pm: watchdog@7e100000 {
|
||||
+ watchdog@7e100000 {
|
||||
compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt";
|
||||
#power-domain-cells = <1>;
|
||||
#reset-cells = <1>;
|
||||
@@ -641,7 +640,6 @@
|
||||
compatible = "brcm,bcm2835-v3d";
|
||||
reg = <0x7ec00000 0x1000>;
|
||||
interrupts = <1 10>;
|
||||
- power-domains = <&pm BCM2835_POWER_DOMAIN_GRAFX_V3D>;
|
||||
};
|
||||
|
||||
vc4: gpu {
|
||||
--
|
||||
2.21.0
|
||||
|
@ -0,0 +1,516 @@
|
||||
From patchwork Thu Oct 3 21:50:34 2019
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: 7bit
|
||||
X-Patchwork-Submitter: =?utf-8?q?S=C3=B6ren_Moch?= <smoch@web.de>
|
||||
X-Patchwork-Id: 11173461
|
||||
Return-Path:
|
||||
<SRS0=jVsO=X4=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org>
|
||||
Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org
|
||||
[172.30.200.123])
|
||||
by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9FDE613B1
|
||||
for <patchwork-linux-arm@patchwork.kernel.org>;
|
||||
Thu, 3 Oct 2019 21:51:01 +0000 (UTC)
|
||||
Received: from bombadil.infradead.org (bombadil.infradead.org
|
||||
[198.137.202.133])
|
||||
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
|
||||
(No client certificate requested)
|
||||
by mail.kernel.org (Postfix) with ESMTPS id 7B69C2086A
|
||||
for <patchwork-linux-arm@patchwork.kernel.org>;
|
||||
Thu, 3 Oct 2019 21:51:01 +0000 (UTC)
|
||||
Authentication-Results: mail.kernel.org;
|
||||
dkim=pass (2048-bit key) header.d=lists.infradead.org
|
||||
header.i=@lists.infradead.org header.b="urDY/XN+";
|
||||
dkim=fail reason="signature verification failed" (1024-bit key)
|
||||
header.d=web.de header.i=@web.de header.b="mtJWe9Bf"
|
||||
DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B69C2086A
|
||||
Authentication-Results: mail.kernel.org;
|
||||
dmarc=none (p=none dis=none) header.from=web.de
|
||||
Authentication-Results: mail.kernel.org;
|
||||
spf=none
|
||||
smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
|
||||
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
|
||||
d=lists.infradead.org; s=bombadil.20170209; h=Sender:
|
||||
Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:
|
||||
List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:
|
||||
Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:
|
||||
Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:
|
||||
References:List-Owner; bh=lFYiMYcBMxmyphhrNw72C/NN1znHxWUoCJiED50SPC4=; b=urD
|
||||
Y/XN+2WA8vvyESWBs6m/bzLBWZSG2TrdRGIEtY0TIXn9YXWd7vRkAWVm8GrT8FCC0eFXXfrnpBljO
|
||||
x9URr69wRs5c3rgbhPO2Ayx1T0WcHFNAzIW6SffEJKnrsbUPYUE1wQ5BrAaUEVHCv0XWcTeKzg26J
|
||||
mnIJaqoHpew22YkkB/8M4LGCJVaZxeX/gAd7I2FeB6tBzmBgKvKvb3P1010X4zK2POVVxtd8dAlLb
|
||||
lRKl+Vj0dcjGL/WOqrDIy3vABg5Av25akdGM3SrWI0y/YOVGtSi/glUyQ7gI8pDR3uR/456zEGRjy
|
||||
cVc9Y8QganXtR/CoNbBCIpll/ZAGZng==;
|
||||
Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
|
||||
by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux))
|
||||
id 1iG8zx-0004iz-UO; Thu, 03 Oct 2019 21:50:57 +0000
|
||||
Received: from mout.web.de ([217.72.192.78])
|
||||
by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux))
|
||||
id 1iG8zt-0004gY-Sh; Thu, 03 Oct 2019 21:50:55 +0000
|
||||
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
|
||||
s=dbaedf251592; t=1570139445;
|
||||
bh=+slu9oigrifofLBmSnoGBXNUCdUs8UMw+gAQMYZR/OU=;
|
||||
h=X-UI-Sender-Class:From:To:Cc:Subject:Date;
|
||||
b=mtJWe9BfGLpk166deIOWv6NwNSVtqNu4zEFmltWTZO+Quufhq50MugB4t3PI53Dij
|
||||
P75Ixq7hozzbk0+FHdq9w1smAfhLlT6WCPVlEGLVmzgVIbWf+qdMbLNHxgkPW11OH5
|
||||
mvpxatuhvRgzbIbSTYrf6MF+3Mcs9GpROLzrOyrI=
|
||||
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
|
||||
Received: from platinum.fritz.box ([89.14.73.200]) by smtp.web.de (mrweb103
|
||||
[213.165.67.124]) with ESMTPSA (Nemesis) id 0LdVza-1hpIko3M5i-00ikbu; Thu, 03
|
||||
Oct 2019 23:50:44 +0200
|
||||
From: Soeren Moch <smoch@web.de>
|
||||
To: Heiko Stuebner <heiko@sntech.de>
|
||||
Subject: [PATCH 1/3] arm64: dts: rockchip: fix RockPro64 vdd-log regulator
|
||||
settings
|
||||
Date: Thu, 3 Oct 2019 23:50:34 +0200
|
||||
Message-Id: <20191003215036.15023-1-smoch@web.de>
|
||||
X-Mailer: git-send-email 2.17.1
|
||||
X-Provags-ID: V03:K1:sVWSznPIdgTeGmxS0/KuK5sR3zlLN0yEjQwtifgjotr6sUlPGeX
|
||||
SCaKNvjkY2xrsa2JwfaH4KWsSiYOkozaZoxo4JmqSc/EwguMpI45EebjNI3cQkwrCfPim6b
|
||||
02b5Xj+b3kuMwjLS4tqXGFCniDNAIH3qhHOEWovdeCy4yOGDuzQye7qcb011wpp5K3Y+zv3
|
||||
u+KYJmttKbwcJdT8JijcQ==
|
||||
X-Spam-Flag: NO
|
||||
X-UI-Out-Filterresults: notjunk:1;V03:K0:vCe5hpyJPR8=:disR8f0omoqst11p1fIKAh
|
||||
iBAK1nFXc7AmOcAiFW44MeJNXdocthJHRd3VEcy9/B9yqK/hTjhNCgBGLXvhk3UzVzVTDK802
|
||||
kBf9cEBdt34sF6mLB40sUD5CXT7PaMoPa78w45lA9C3+dF/9UxU09+6fr6SVTgU3mu6Hn2JqJ
|
||||
nvfqFZiqINBWoePt9nqRkkTUrqgEyMT6qHHfJUTadp6PJeCXCeirRPUqFqdJ8vx+tsSMrD+G5
|
||||
fmZlzpPnl8Ky3j1gtFkLLcEAOMtAgzPfeEONvZiwK5J6n5MxwprBNRT7E07hW+xDfcQbQE0rD
|
||||
8RGbx1mkzr2V92lpYcIRTNqde+Oh+/V4C4s6rQGxN+x/xws7iNpUeU9Rpv65WHyiheHZUcHs6
|
||||
4n7JmhPiZXUCFzWUrmM6oJB7O70rL8WobnNCWQmNtYRuiqGautEew+TItXYvKBCtvFrALXdM+
|
||||
vb1+FrU03VriEuoHeRWwPEsO45SGVwhYIsolu6CRDFU9G4a0WdORqWZVYVP+0JvpMOe/lA2zY
|
||||
2rl2QFH53x1+BtBVK20hHOh7W3xtLH+WzZFsAzmnNe3+61mRhxIzHfDY3otUHd7hUG+pyyhXw
|
||||
6RI9YNTvxF2AQ1rzSvvCNNtPkovfmdPvPTfO2Sqig4TRyAE9/Un4zf1wnoho8+Hqw2w2gvh2g
|
||||
lFdajNupo7PiibkssZMeWpi2Yyw+Ql484vPZldLOBFiuDXWRwYHJA7n3CWPRqu4FkvqZI0woF
|
||||
iWwuOPIyYV09g8L2UPq4YiXXvNXKdJWpQh/x59dBhs26HHmbaZxBvFHrUY7FWo9HRjA0t8hvE
|
||||
oDTTozWqTW6xzbFzIwp0E29Vp6mciCpjiqoLv7MMTbg0U9pPnAQecIk11U33l0ZqVQyKSxq8G
|
||||
Fdwl4gLqiQcP6Y/Zm2wBLvnsSffYrkTmqpiQ6RjPOPPy9GxZHTglNZP6Cr4a5N3lHKv4+rvUV
|
||||
pKvy7jWH6ub53Ne6v/8q//sL+wQIbqfuTNNpvc+MI28YX7YthEldq1GRyRKJ5k4z6o2nrqUik
|
||||
oRx5AuvdO3oPcAIsUwKaeuXqRrTtC9M6kdubTFXOZ8EZzZtj1unz7h3zRztMQu37AvKSyHhxt
|
||||
k56zCWlbMOjoKO97tb/lVKVF80M81PnaiIOXQ9I9E3UIF2s95Wg/VbtVzkWi4oF6WwrqqO44y
|
||||
sthchBfNPGC/jUAm3c9UeqBDY4lM5Ilus4dUpjvn4gcHDKMGS6iu/KEEMEuL56mRaMcwg/xXM
|
||||
L5sIsGmzM7HYTjE4fJFm35NicLPlNwOqZLoaMsg==
|
||||
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
|
||||
X-CRM114-CacheID: sfid-20191003_145054_230248_23AC2987
|
||||
X-CRM114-Status: UNSURE ( 9.25 )
|
||||
X-CRM114-Notice: Please train this message.
|
||||
X-Spam-Score: -0.9 (/)
|
||||
X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary:
|
||||
Content analysis details: (-0.9 points)
|
||||
pts rule name description
|
||||
---- ----------------------
|
||||
--------------------------------------------------
|
||||
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
|
||||
provider (smoch[at]web.de)
|
||||
-0.0 SPF_PASS SPF: sender matches SPF record
|
||||
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
|
||||
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
|
||||
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
|
||||
author's domain
|
||||
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
|
||||
envelope-from domain
|
||||
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
|
||||
not necessarily
|
||||
valid
|
||||
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/,
|
||||
low trust [217.72.192.78 listed in list.dnswl.org]
|
||||
X-BeenThere: linux-arm-kernel@lists.infradead.org
|
||||
X-Mailman-Version: 2.1.29
|
||||
Precedence: list
|
||||
List-Id: <linux-arm-kernel.lists.infradead.org>
|
||||
List-Unsubscribe:
|
||||
<http://lists.infradead.org/mailman/options/linux-arm-kernel>,
|
||||
<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
|
||||
List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
|
||||
List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
|
||||
List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
|
||||
List-Subscribe:
|
||||
<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
|
||||
<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
|
||||
Cc: linux-rockchip@lists.infradead.org, Soeren Moch <smoch@web.de>,
|
||||
linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset="us-ascii"
|
||||
Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
|
||||
Errors-To:
|
||||
linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
|
||||
|
||||
The RockPro64 schematic [1] page 18 states a min voltage of 0.8V and a
|
||||
max voltage of 1.4V for the VDD_LOG pwm regulator. However, there is an
|
||||
additional note that the pwm parameter needs to be modified.
|
||||
From the schematics a voltage range of 0.8V to 1.7V can be calculated.
|
||||
Additional voltage measurements on the board show that this fix indeed
|
||||
leads to the correct voltage, while without this fix the voltage was set
|
||||
too high.
|
||||
|
||||
[1] http://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf
|
||||
|
||||
Fixes: e4f3fb490967 ("arm64: dts: rockchip: add initial dts support for Rockpro64")
|
||||
Signed-off-by: Soeren Moch <smoch@web.de>
|
||||
---
|
||||
Cc: Heiko Stuebner <heiko@sntech.de>
|
||||
Cc: linux-rockchip@lists.infradead.org
|
||||
Cc: linux-arm-kernel@lists.infradead.org
|
||||
Cc: linux-kernel@vger.kernel.org
|
||||
---
|
||||
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--
|
||||
2.17.1
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
index 0401d4ec1f45..845eb070b5b0 100644
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
@@ -173,7 +173,7 @@
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
regulator-min-microvolt = <800000>;
|
||||
- regulator-max-microvolt = <1400000>;
|
||||
+ regulator-max-microvolt = <1700000>;
|
||||
vin-supply = <&vcc5v0_sys>;
|
||||
};
|
||||
};
|
||||
|
||||
From patchwork Thu Oct 3 21:50:35 2019
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: 7bit
|
||||
X-Patchwork-Submitter: =?utf-8?q?S=C3=B6ren_Moch?= <smoch@web.de>
|
||||
X-Patchwork-Id: 11173469
|
||||
Return-Path:
|
||||
<SRS0=jVsO=X4=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org>
|
||||
Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org
|
||||
[172.30.200.123])
|
||||
by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5975A76
|
||||
for <patchwork-linux-arm@patchwork.kernel.org>;
|
||||
Thu, 3 Oct 2019 21:51:41 +0000 (UTC)
|
||||
Received: from bombadil.infradead.org (bombadil.infradead.org
|
||||
[198.137.202.133])
|
||||
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
|
||||
(No client certificate requested)
|
||||
by mail.kernel.org (Postfix) with ESMTPS id E5CD92133F
|
||||
for <patchwork-linux-arm@patchwork.kernel.org>;
|
||||
Thu, 3 Oct 2019 21:51:40 +0000 (UTC)
|
||||
Authentication-Results: mail.kernel.org;
|
||||
dkim=pass (2048-bit key) header.d=lists.infradead.org
|
||||
header.i=@lists.infradead.org header.b="aIzQ/7Xd";
|
||||
dkim=fail reason="signature verification failed" (1024-bit key)
|
||||
header.d=web.de header.i=@web.de header.b="cmtE0euk"
|
||||
DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E5CD92133F
|
||||
Authentication-Results: mail.kernel.org;
|
||||
dmarc=none (p=none dis=none) header.from=web.de
|
||||
Authentication-Results: mail.kernel.org;
|
||||
spf=none
|
||||
smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
|
||||
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
|
||||
d=lists.infradead.org; s=bombadil.20170209; h=Sender:
|
||||
Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:
|
||||
List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References:
|
||||
In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID:
|
||||
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
|
||||
:Resent-Message-ID:List-Owner;
|
||||
bh=1Ja1XJBYc2rMTJo1j3aWlo4ggxMpTccXfhnANJoFXgY=; b=aIzQ/7XdT4Dm/qBnxRPzUbll2w
|
||||
+n6AExDbccfUt23EF39R3wxjN3Y1Apw4+gGY7pruuVEJUqZtMi/llXHhDQ8hfCughA/ul1Tw1OOuw
|
||||
MdhrxvxV35qrfTIRGY5ZWD1bXE2jh5w65I6NUHqvoXdC8pXxgd55P2RS4TCGPlqt9mo+0i+/E/wmN
|
||||
11Za83+GgoXTvJdukL/nDZOY19RYk1SmkjyvMwU3JHraN2osMq9ct+NQMZWalPOMgC6SrU7+eEvMC
|
||||
Gxip1cUJ1f6bIUhuIikgD83hJeX+xmzblFy8fdqxostMpqcn+bhQfyeIAzwRGCFIWjQyNtmnlC5n+
|
||||
UXRYljnQ==;
|
||||
Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
|
||||
by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux))
|
||||
id 1iG90Y-0005J7-RT; Thu, 03 Oct 2019 21:51:34 +0000
|
||||
Received: from mout.web.de ([212.227.17.11])
|
||||
by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux))
|
||||
id 1iG8zv-0004gv-AV; Thu, 03 Oct 2019 21:50:57 +0000
|
||||
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
|
||||
s=dbaedf251592; t=1570139445;
|
||||
bh=Kn0TuCilrYfaGPMHgSwOwV8cx+fxujsxvbyRlPzXJ8o=;
|
||||
h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References;
|
||||
b=cmtE0euk/irI14sTr6wSajU7DkGxBMrgNowkeu6VcNZvW3f0N4hhG8ItwhpI0YpTh
|
||||
8lzeG8VnZoKFq/TjpSg5uwCrqPWpS10ZdCAyg2gD2AFDHFNrJYOXdAz36LgORPmGbW
|
||||
V5MeWcSytSaC+XTNGoV1tvq3jSY9Mv9Bl83T95nw=
|
||||
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
|
||||
Received: from platinum.fritz.box ([89.14.73.200]) by smtp.web.de (mrweb103
|
||||
[213.165.67.124]) with ESMTPSA (Nemesis) id 0MfYj1-1iVD2M15x5-00P6D9; Thu, 03
|
||||
Oct 2019 23:50:45 +0200
|
||||
From: Soeren Moch <smoch@web.de>
|
||||
To: Heiko Stuebner <heiko@sntech.de>
|
||||
Subject: [PATCH 2/3] arm64: dts: rockchip: fix RockPro64 sdhci settings
|
||||
Date: Thu, 3 Oct 2019 23:50:35 +0200
|
||||
Message-Id: <20191003215036.15023-2-smoch@web.de>
|
||||
X-Mailer: git-send-email 2.17.1
|
||||
In-Reply-To: <20191003215036.15023-1-smoch@web.de>
|
||||
References: <20191003215036.15023-1-smoch@web.de>
|
||||
X-Provags-ID: V03:K1:B7ZztmDbKfGYru8Phbjqw2pez33XX2FSpU8BwevUN/gNPgO8fUz
|
||||
Mai6ERMM+Am8U/N9uGjHbwMNeghFPQW7/5jXUjBypLLZwSwWLX/bmfozsCdhRyF473wRV6y
|
||||
spAcVmzJIceDsbk8eJUfuek7itb3S1FXU0GIz+J8Kq+NUgmS2uain/rtAWa5uIY4abpsNPZ
|
||||
xoT1S8+2Brauk0we7S4Yw==
|
||||
X-Spam-Flag: NO
|
||||
X-UI-Out-Filterresults: notjunk:1;V03:K0:Fx3wTDvJkB4=:V0/tzMx03qqKbK8T7SQOWI
|
||||
9oNjxL17k927PeGDNqyW09+kBTsivpZYFEY55iOLZQv/pcGoOi5Xb6AcCBYKMiTRyhraVXwye
|
||||
XKQOQIxWQimyx0etxkPkyvp/uyl2YBSavT6nSF+kTgN7t+SgVJNTyrLv+eMPwmzkEkIJQdCU5
|
||||
V1mtMudj13veu2CM7XQHE0kPcRVBw26Tay25FSXUsMl40Ha8HuKe+8mnjZQsVgdcSVG8xSVQ3
|
||||
jZmjAH1ehBHemYGNbgyMUp4e1f4HcPWsLUuWF7UKPu9TbSACPtxiuV32C66ptioz4kPPQ5siy
|
||||
ectJM+L471sJFLXv55j5x/Nkgj3PfaxjEVTdSm+P4K/6H5hfWWRp82n3BenrB1d+6VFEhsO+u
|
||||
JnBewMKGVVfdh5O5JtioJ0k+pSM0S42OwzaNZd/cNJ9dAIKjhMH2vyEvbZezZocTcofxDukVp
|
||||
gjfr4Mm1dVwDaazXLJEkMEToo5SOcAmmV6FsW/ivupt+fLuexl4Oo6lD4BIV1OKMoVIpr1dBn
|
||||
kMgHVJneAh+yrmtQvAzjUwD5AC8O9qu5jZf+j/jmDX+rL6TANZS3ia8aI9JMpxtGKjzii+6iD
|
||||
U3WMamIS9EBYCuXWR0fUXwzkylZVpKJj8OLQyl4z4hBJ1mYflKFVTDvqir/+XPgIgMB0W62oA
|
||||
jjHIRSmMdnYgJBjR2DmfERbvRA+CoadWdHgQCy9O7RysmAZL++rd9wX+HfiOgKhPho8G66nvR
|
||||
mz3xPqQHcPpbLXgz2xr3tF3itCBwtwuC1YVf1AN0cg7UdiskrXLDx2UesrDqApECFUNx3vPYD
|
||||
Fknt9SE0EqaerIgseAeXAAJcmIn4pvUio9sTKyC1oKt0ojx0CpOhF2/alKQx9sLCfNJpqSSLx
|
||||
Nn0sPBZCgbq0fI3Y+qGctkGUZCbS/yode78mXh4C/fHyf0VA1gJLGVo8R18or9Zpk5asg1hBp
|
||||
gLIG+YYUC0a1HSlF0zIeTiYeXkOeLiEBn65QzM0DJSLVcPG5G5HR8/s0AbXXpAsX62BRHA4jk
|
||||
yWxcY7I9ZJ8iKPjZgyr1+Q5dqidladBAq1qWsHy7X0xQTJn+CC4y2jrpjxYOsym5sLnj76U90
|
||||
CHjUybKWdmPaaENk6I/jdwCrzqRU3MJERrz9IdsxepZZYpwXIWpH6KBrNOX4zm1FINpUtxgdx
|
||||
9VajcWzh3pSIG5rAfJiTartXpAvyOMcZeG6dJkNoUWslE74gCsm4LFbqAGrsdx7oExx57Guae
|
||||
1ASgkma3Lp4s45yCKgQP7X/0hLVXqE1uQeloYqg==
|
||||
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
|
||||
X-CRM114-CacheID: sfid-20191003_145055_661636_5577849E
|
||||
X-CRM114-Status: UNSURE ( 9.52 )
|
||||
X-CRM114-Notice: Please train this message.
|
||||
X-Spam-Score: -0.9 (/)
|
||||
X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary:
|
||||
Content analysis details: (-0.9 points)
|
||||
pts rule name description
|
||||
---- ----------------------
|
||||
--------------------------------------------------
|
||||
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/,
|
||||
low trust [212.227.17.11 listed in list.dnswl.org]
|
||||
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
|
||||
provider (smoch[at]web.de)
|
||||
-0.0 SPF_PASS SPF: sender matches SPF record
|
||||
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
|
||||
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
|
||||
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
|
||||
author's domain
|
||||
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
|
||||
envelope-from domain
|
||||
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
|
||||
not necessarily
|
||||
valid
|
||||
X-BeenThere: linux-arm-kernel@lists.infradead.org
|
||||
X-Mailman-Version: 2.1.29
|
||||
Precedence: list
|
||||
List-Id: <linux-arm-kernel.lists.infradead.org>
|
||||
List-Unsubscribe:
|
||||
<http://lists.infradead.org/mailman/options/linux-arm-kernel>,
|
||||
<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
|
||||
List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
|
||||
List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
|
||||
List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
|
||||
List-Subscribe:
|
||||
<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
|
||||
<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
|
||||
Cc: linux-rockchip@lists.infradead.org, Soeren Moch <smoch@web.de>,
|
||||
linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset="us-ascii"
|
||||
Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
|
||||
Errors-To:
|
||||
linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
|
||||
|
||||
The RockPro64 schematics [1], [2] show that the rk3399 EMMC_STRB pin is
|
||||
connected to the RESET pin instead of the DATA_STROBE pin of the eMMC module.
|
||||
So the data strobe cannot be used for its intended purpose on this board,
|
||||
and so the HS400 eMMC mode is not functional. Limit the controller to HS200.
|
||||
|
||||
[1] http://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf
|
||||
[2] http://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf
|
||||
|
||||
Fixes: e4f3fb490967 ("arm64: dts: rockchip: add initial dts support for Rockpro64")
|
||||
Signed-off-by: Soeren Moch <smoch@web.de>
|
||||
---
|
||||
Cc: Heiko Stuebner <heiko@sntech.de>
|
||||
Cc: linux-rockchip@lists.infradead.org
|
||||
Cc: linux-arm-kernel@lists.infradead.org
|
||||
Cc: linux-kernel@vger.kernel.org
|
||||
---
|
||||
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
--
|
||||
2.17.1
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
index 845eb070b5b0..2e44dae4865a 100644
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
@@ -636,8 +636,7 @@
|
||||
|
||||
&sdhci {
|
||||
bus-width = <8>;
|
||||
- mmc-hs400-1_8v;
|
||||
- mmc-hs400-enhanced-strobe;
|
||||
+ mmc-hs200-1_8v;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
From patchwork Fri Oct 4 20:32:13 2019
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: 7bit
|
||||
X-Patchwork-Submitter: =?utf-8?q?S=C3=B6ren_Moch?= <smoch@web.de>
|
||||
X-Patchwork-Id: 11175275
|
||||
Return-Path:
|
||||
<SRS0=D5dO=X5=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org>
|
||||
Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org
|
||||
[172.30.200.123])
|
||||
by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DB53776
|
||||
for <patchwork-linux-arm@patchwork.kernel.org>;
|
||||
Fri, 4 Oct 2019 20:32:36 +0000 (UTC)
|
||||
Received: from bombadil.infradead.org (bombadil.infradead.org
|
||||
[198.137.202.133])
|
||||
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
|
||||
(No client certificate requested)
|
||||
by mail.kernel.org (Postfix) with ESMTPS id B885821D81
|
||||
for <patchwork-linux-arm@patchwork.kernel.org>;
|
||||
Fri, 4 Oct 2019 20:32:36 +0000 (UTC)
|
||||
Authentication-Results: mail.kernel.org;
|
||||
dkim=pass (2048-bit key) header.d=lists.infradead.org
|
||||
header.i=@lists.infradead.org header.b="Kyzudsgx";
|
||||
dkim=fail reason="signature verification failed" (1024-bit key)
|
||||
header.d=web.de header.i=@web.de header.b="LF1if5y/"
|
||||
DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B885821D81
|
||||
Authentication-Results: mail.kernel.org;
|
||||
dmarc=none (p=none dis=none) header.from=web.de
|
||||
Authentication-Results: mail.kernel.org;
|
||||
spf=none
|
||||
smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
|
||||
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
|
||||
d=lists.infradead.org; s=bombadil.20170209; h=Sender:
|
||||
Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:
|
||||
List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:
|
||||
Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:
|
||||
Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:
|
||||
References:List-Owner; bh=dHmD7+pyTraHtU6tNX3vZnXR737wGLCZLdWRfkYFpi0=; b=Kyz
|
||||
udsgxHfoJqpjf89AdGuslY1w4pUpYO7aJ6+VJuDnsGLufBp9F4+yxX7UHhyIbWqlaegelJ+Z3a0CN
|
||||
vdb7065nXi+ggnq64pCIXY8ZyS13Nc+lpmpFoEMEyvxgrNdu38SJaLj5s8LUMJdZENP1j8kLESEa4
|
||||
8VbV9r7X+GwBf2aBERsF9+vxV3D+49ULxCaDv5mLVRX+5nM8d/AEPJqyBnLYh/i7j/31rk6aH26dY
|
||||
4TdVsdvTnm2Ck6zIcHEDX22Eq2vlcw1U8WdctFzzfHSDsWFGAvVvWPwnSe0h7niizqbqLO3cC2WOT
|
||||
2ttragRnBvdMCd1TD/sRdBnoOj946RQ==;
|
||||
Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
|
||||
by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux))
|
||||
id 1iGUFf-0002b8-O6; Fri, 04 Oct 2019 20:32:35 +0000
|
||||
Received: from mout.web.de ([217.72.192.78])
|
||||
by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux))
|
||||
id 1iGUFc-0002ac-RO; Fri, 04 Oct 2019 20:32:34 +0000
|
||||
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
|
||||
s=dbaedf251592; t=1570221145;
|
||||
bh=x/DBaa+r9mxjwAjUssLHup4baAiO0UG/yVrLOutxWsg=;
|
||||
h=X-UI-Sender-Class:From:To:Cc:Subject:Date;
|
||||
b=LF1if5y/7T4QYPyiawCf94aYJcnXUc1aL405rucwF10cabjCghlaJXN/uO8vszdOl
|
||||
pJS9oYcF8l9BmR4yT8PVrUWeMZYyAGpt9jc7syVqksEP91IhyUph/X/QnrJzecxDXx
|
||||
1vehZNdcbWFN/q59sUmwmzsDfjka3LhL7znEDfv0=
|
||||
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
|
||||
Received: from platinum.fritz.box ([77.191.3.29]) by smtp.web.de (mrweb103
|
||||
[213.165.67.124]) with ESMTPSA (Nemesis) id 0LetQh-1hlnfS19m3-00qhBK; Fri, 04
|
||||
Oct 2019 22:32:25 +0200
|
||||
From: Soeren Moch <smoch@web.de>
|
||||
To: Heiko Stuebner <heiko@sntech.de>
|
||||
Subject: [PATCH v2] arm64: dts: rockchip: fix RockPro64 sdmmc settings
|
||||
Date: Fri, 4 Oct 2019 22:32:13 +0200
|
||||
Message-Id: <20191004203213.4995-1-smoch@web.de>
|
||||
X-Mailer: git-send-email 2.17.1
|
||||
X-Provags-ID: V03:K1:1I5fDQkIZVn2LdNRnwDfp8md+rO+2Vp/TSL6bgE19S+U7e8RlmF
|
||||
EhFJGxdLBOeBh6Du3qsKPexxIxstJER4ErQMtp1m6HJoiQsEne8w+BrsSwO0Wh30laTuPec
|
||||
sK6/onl3zLo9YFphxcEW9zEFFPKS60lWUADP6OIr07s0FyO6OanEsEx+RHULWedKrDDKbbW
|
||||
4W1V/uNb/1JyOY4IW4Qow==
|
||||
X-Spam-Flag: NO
|
||||
X-UI-Out-Filterresults: notjunk:1;V03:K0:ICsnY7aMJQ4=:5/WFKM85bWZHZp/krlqXXa
|
||||
JGKxGv3pOO7ubUb+8TvRSP6RJu3y4QxXOJWL/6bmP5fpRZvWD3UZl7gdjPlA+nLBC8i2W/+dO
|
||||
zdVsBndquXxgZt1sQulCc5ZMhkMIh6ThPnQnHBB+oy1YPivo6dPcxncbjvbgb0+O0i7ydHoXj
|
||||
9ZiON6aJCfh7U6zRf7GSQSUu25BEz2Oyo8z8ITYVI+YANji74gj8tiobps8fVES9iDrL6irbj
|
||||
dhL1JHZOJxr/fK6Z51SzaBX3usndL2ldDDzJI/TWTeKygsqRVom91DOy93TS2/y3+qdVSvYHG
|
||||
Ohp2hB9xJxVXu2IJoD0BlEEMMMLGLXsi9R8z0GYiCaG43z0zSRDzc0SdumQ7fznh8D2k2mmMR
|
||||
FPMSML/uY/JqWBSj1nTV4nmpdVeLGEuANsCwJoXq+NOlXAaU2K5vXwSSoNPY9+ned+268R90G
|
||||
28MCRcCSpFU0YrPun9sMM9fy/3pD3PKjGmTMDoOQHOlF7mYi796LT/8J7kAw2TK7XILqRP0/V
|
||||
2RJz031b8L1r3Hptl0OD20z+eYtpFmPPsa7q2+CmsKLprUxrdBx+xgC4poof91mOYwsQAqLBc
|
||||
X6ljlMxZ+BwxkNf4QTipd4dhMcUuTrIO5BxXx02nG9XMwrHIx5zHBaMz9KAnyxHt7Q1BVocqi
|
||||
Wv4JyFhARvR526ogFn1aXu7KJxyBeM87BW5J2a4fsaeGrQlrMViuc6VzaSV/jHDJ8Hu1i+i6O
|
||||
Mfgqc4+EEuoFxKT4vfCmaYNX+2Jn2t1jXf1Km1+AE05VCFEkhmo4ogflTJ1fsf5NrX4fyoZcU
|
||||
vFlEQyR6Msy3TXJGZfVmHSdTV1BnTSIMMDUfgJHO+Gwuw3t0J0xITHeF/6VebU/APujrOpRqS
|
||||
bvEoHl729Odz0/0o7HK+5fctl7UktilntlJkCQnUzVl12NrTOrdFeZNU8jvm/PyK7U6UlWVva
|
||||
iIjHQxfZqOOCb7no9+gZ0+OXFguVTBdHUsDbdI8rMTY3l1xXsLKc0wZoBvGtJkydtkZxQ7K8r
|
||||
yvGgesqk8DaEJSzOL1rSStkQBqE7gHuApTovSRLe9nn2uA0UNabEYbwP3mmZ2A8X02EZ3m7Yu
|
||||
SjpYxwom+3lHLwSTaYCSoGEe/zKKwZBQ/I3sRnuKEGJwMT2Ph7UWe/OohBaLf5VDopnWXL3iP
|
||||
D5waU3h0q0iVYGMjc75FAtIpG/uPJAVIAouxPQa4k0aoqU7IzGd2dCky/LxxSob/H7k4Bu4Vq
|
||||
sjEKSF7D5Grbp7B0vKAQvqgdUg6ohIjG5LGVLRQ==
|
||||
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
|
||||
X-CRM114-CacheID: sfid-20191004_133233_182966_B73EA9A6
|
||||
X-CRM114-Status: UNSURE ( 6.77 )
|
||||
X-CRM114-Notice: Please train this message.
|
||||
X-Spam-Score: -0.9 (/)
|
||||
X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary:
|
||||
Content analysis details: (-0.9 points)
|
||||
pts rule name description
|
||||
---- ----------------------
|
||||
--------------------------------------------------
|
||||
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
|
||||
provider (smoch[at]web.de)
|
||||
-0.0 SPF_PASS SPF: sender matches SPF record
|
||||
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
|
||||
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
|
||||
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
|
||||
author's domain
|
||||
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
|
||||
envelope-from domain
|
||||
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
|
||||
not necessarily
|
||||
valid
|
||||
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/,
|
||||
low trust [217.72.192.78 listed in list.dnswl.org]
|
||||
X-BeenThere: linux-arm-kernel@lists.infradead.org
|
||||
X-Mailman-Version: 2.1.29
|
||||
Precedence: list
|
||||
List-Id: <linux-arm-kernel.lists.infradead.org>
|
||||
List-Unsubscribe:
|
||||
<http://lists.infradead.org/mailman/options/linux-arm-kernel>,
|
||||
<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
|
||||
List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
|
||||
List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
|
||||
List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
|
||||
List-Subscribe:
|
||||
<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
|
||||
<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
|
||||
Cc: linux-rockchip@lists.infradead.org, Soeren Moch <smoch@web.de>,
|
||||
linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset="us-ascii"
|
||||
Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
|
||||
Errors-To:
|
||||
linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
|
||||
|
||||
According to the RockPro64 schematic [1] the rk3399 sdmmc controller is
|
||||
connected to a microSD (TF card) slot. Remove the cap-mmc-highspeed
|
||||
property of the sdmmc controller, since no mmc card can be connected here.
|
||||
|
||||
[1] http://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf
|
||||
|
||||
Fixes: e4f3fb490967 ("arm64: dts: rockchip: add initial dts support for Rockpro64")
|
||||
Signed-off-by: Soeren Moch <smoch@web.de>
|
||||
---
|
||||
Cc: Heiko Stuebner <heiko@sntech.de>
|
||||
Cc: linux-rockchip@lists.infradead.org
|
||||
Cc: linux-arm-kernel@lists.infradead.org
|
||||
Cc: linux-kernel@vger.kernel.org
|
||||
---
|
||||
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
--
|
||||
2.17.1
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
index 2e44dae4865a..6ec4d273a39b 100644
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
@@ -624,7 +624,6 @@
|
||||
|
||||
&sdmmc {
|
||||
bus-width = <4>;
|
||||
- cap-mmc-highspeed;
|
||||
cap-sd-highspeed;
|
||||
cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
|
||||
disable-wp;
|
176
arm64-dts-rockchip-fix-Rockpro64-RK808-interrupt-line.patch
Normal file
176
arm64-dts-rockchip-fix-Rockpro64-RK808-interrupt-line.patch
Normal file
@ -0,0 +1,176 @@
|
||||
From patchwork Sat Sep 21 13:14:57 2019
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: 7bit
|
||||
X-Patchwork-Submitter: Hugh Cole-Baker <sigmaris@gmail.com>
|
||||
X-Patchwork-Id: 11155461
|
||||
Return-Path:
|
||||
<SRS0=JTnI=XQ=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org>
|
||||
Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org
|
||||
[172.30.200.123])
|
||||
by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E1D6015E6
|
||||
for <patchwork-linux-arm@patchwork.kernel.org>;
|
||||
Sat, 21 Sep 2019 13:15:24 +0000 (UTC)
|
||||
Received: from bombadil.infradead.org (bombadil.infradead.org
|
||||
[198.137.202.133])
|
||||
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
|
||||
(No client certificate requested)
|
||||
by mail.kernel.org (Postfix) with ESMTPS id B3213208C0
|
||||
for <patchwork-linux-arm@patchwork.kernel.org>;
|
||||
Sat, 21 Sep 2019 13:15:24 +0000 (UTC)
|
||||
Authentication-Results: mail.kernel.org;
|
||||
dkim=pass (2048-bit key) header.d=lists.infradead.org
|
||||
header.i=@lists.infradead.org header.b="W5WNb2TT";
|
||||
dkim=fail reason="signature verification failed" (2048-bit key)
|
||||
header.d=gmail.com header.i=@gmail.com header.b="aEQ/uRYv"
|
||||
DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B3213208C0
|
||||
Authentication-Results: mail.kernel.org;
|
||||
dmarc=fail (p=none dis=none) header.from=gmail.com
|
||||
Authentication-Results: mail.kernel.org;
|
||||
spf=none
|
||||
smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
|
||||
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
|
||||
d=lists.infradead.org; s=bombadil.20170209; h=Sender:
|
||||
Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:
|
||||
List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:
|
||||
Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:
|
||||
Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:
|
||||
References:List-Owner; bh=QLfO79ztbvlytyrABYnU/Ie8WNhDlpOUcFlxv1bWAE0=; b=W5W
|
||||
Nb2TTjjSFXpARxovU0gOdO72UtLrMdXbc9I5OSMOqQEbYRXyDnfj5yxtTPyEDEdPNIP0C+CINfgqP
|
||||
i7tvTWHEJ+WLQl6W5x9rWLoj02r3L2huGNpc5wjq+YZe20bFzs9eRe1leAnmghM8UAnvP496rcA18
|
||||
haBwaAQzZoECuKW3x+uDJ5eehlnL9OhnPUXpYYaOLBBiBg0jOPFlA/FIMUzY7IXRQrlzgSVcAN6pR
|
||||
Ls+x5RBZZyQQqm9RfmChVRfa2NKhWD/TjnjLEfCYB0IovxrY3ar4mLmYeGm9ladShqqfLX8zhY0+8
|
||||
OaTRBY64J4Yfk8owMuN7Rr+D4O12ndQ==;
|
||||
Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
|
||||
by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux))
|
||||
id 1iBfEN-0002Op-RP; Sat, 21 Sep 2019 13:15:19 +0000
|
||||
Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341])
|
||||
by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux))
|
||||
id 1iBfEL-0002O9-AK; Sat, 21 Sep 2019 13:15:18 +0000
|
||||
Received: by mail-wm1-x341.google.com with SMTP id p7so5200464wmp.4;
|
||||
Sat, 21 Sep 2019 06:15:14 -0700 (PDT)
|
||||
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
|
||||
h=from:to:cc:subject:date:message-id;
|
||||
bh=CUIiObmZUoLOjlcmGuE4Z8qsrk1peXb9nnaXkFScf1o=;
|
||||
b=aEQ/uRYvCsbX944pwrZC5Zi5+pI6s/P143IvpXdlQXMblp/gr0TEwvb4/jIY8KcTPb
|
||||
h+OCadPSshMmMPvaxG+aDklS4bI+8UV1JUuif5+/cH6ND7u1pCPlRypNjKUUSwZlcfVY
|
||||
fmOmGc8jEjdrmt2rxdLStr2mvlAdNsGDr/SrNSboflvindXVGUKuxoMwkhXbfAgD7kXD
|
||||
ds2xaFd7dONWCaZm0mLYpGcfY18vZi6cbUNr7JCDZAZ7y8bfR+bZaJZLCL3MaN0W9/8b
|
||||
tqoH4C7+jAVoy4HWXeff+DTBMlGe4VHPROBfJn0KzOOWdKjEpBrMct/Vjc06IqQSo+hy
|
||||
Tt8g==
|
||||
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
|
||||
d=1e100.net; s=20161025;
|
||||
h=x-gm-message-state:from:to:cc:subject:date:message-id;
|
||||
bh=CUIiObmZUoLOjlcmGuE4Z8qsrk1peXb9nnaXkFScf1o=;
|
||||
b=h+cy8eJs/UTeiJzt803DJY4bgVbfMVP/Z49o/wr03kqhpNI9ydIH+ar2zzI2iWexpM
|
||||
ZzgUMv/1GPmqL5YPESh7p9gigoIQ5a7lDX7pO7mqxC0PNyeyZKSsrNhMZLKEZkErPY1f
|
||||
8IhO3DYPn2TROfHNhrKazqoojHc845188c8sTkxVvAf6AmfwYAMl9ca12NZBmVQR36NN
|
||||
XhN4VYehR2XAzE9AcGOTZvyBa9ebhSMG7u5Q/OiSAckDPmZ6B26Px96jwwRvRW/PBfPB
|
||||
yiXMvWNnRqBaIx9cdHDFXEMccoB/3RNR//uNJmlHwCy6Kn0F7toMgVi8AauCtbUQsgwQ
|
||||
cIpg==
|
||||
X-Gm-Message-State: APjAAAVE1l4BxwL8Z1YLGXAhzhm5VGSZTLQmSXQg6+3ibumsSm+bxwaN
|
||||
BBaU69sXBc8Y2h20jUfrC6I=
|
||||
X-Google-Smtp-Source:
|
||||
APXvYqwjrERzxUIeZTPWyTYAXdg1ZTPDKGaLOeQoXI2vdua+67gV4Ml3mGFKjPE7ijQS8GUVUSa4Hw==
|
||||
X-Received: by 2002:a05:600c:295d:: with SMTP id
|
||||
n29mr6713359wmd.36.1569071712994;
|
||||
Sat, 21 Sep 2019 06:15:12 -0700 (PDT)
|
||||
Received: from apple.sigmaris.info ([84.93.172.212])
|
||||
by smtp.gmail.com with ESMTPSA id g11sm5676349wmh.45.2019.09.21.06.15.11
|
||||
(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
|
||||
Sat, 21 Sep 2019 06:15:12 -0700 (PDT)
|
||||
From: Hugh Cole-Baker <sigmaris@gmail.com>
|
||||
To: devicetree@vger.kernel.org
|
||||
Subject: [PATCH] arm64: dts: rockchip: fix Rockpro64 RK808 interrupt line
|
||||
Date: Sat, 21 Sep 2019 14:14:57 +0100
|
||||
Message-Id: <20190921131457.36258-1-sigmaris@gmail.com>
|
||||
X-Mailer: git-send-email 2.17.2 (Apple Git-113)
|
||||
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
|
||||
X-CRM114-CacheID: sfid-20190921_061517_383773_FFE10321
|
||||
X-CRM114-Status: GOOD ( 13.01 )
|
||||
X-Spam-Score: -0.2 (/)
|
||||
X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary:
|
||||
Content analysis details: (-0.2 points)
|
||||
pts rule name description
|
||||
---- ----------------------
|
||||
--------------------------------------------------
|
||||
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
|
||||
no trust [2a00:1450:4864:20:0:0:0:341 listed in]
|
||||
[list.dnswl.org]
|
||||
0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
|
||||
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
|
||||
provider (sigmaris[at]gmail.com)
|
||||
-0.0 SPF_PASS SPF: sender matches SPF record
|
||||
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
|
||||
author's domain
|
||||
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
|
||||
not necessarily
|
||||
valid
|
||||
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
|
||||
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
|
||||
envelope-from domain
|
||||
X-BeenThere: linux-arm-kernel@lists.infradead.org
|
||||
X-Mailman-Version: 2.1.29
|
||||
Precedence: list
|
||||
List-Id: <linux-arm-kernel.lists.infradead.org>
|
||||
List-Unsubscribe:
|
||||
<http://lists.infradead.org/mailman/options/linux-arm-kernel>,
|
||||
<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>
|
||||
List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/>
|
||||
List-Post: <mailto:linux-arm-kernel@lists.infradead.org>
|
||||
List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>
|
||||
List-Subscribe:
|
||||
<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,
|
||||
<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>
|
||||
Cc: Mark Rutland <mark.rutland@arm.com>, Heiko Stuebner <heiko@sntech.de>,
|
||||
Akash Gajjar <Akash_Gajjar@mentor.com>, linux-kernel@vger.kernel.org,
|
||||
linux-rockchip@lists.infradead.org, Rob Herring <robh+dt@kernel.org>,
|
||||
Hugh Cole-Baker <sigmaris@gmail.com>, linux-arm-kernel@lists.infradead.org
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset="us-ascii"
|
||||
Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org>
|
||||
Errors-To:
|
||||
linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
|
||||
|
||||
Fix the pinctrl and interrupt specifier for RK808 to use GPIO3_B2. On the
|
||||
Rockpro64 schematic [1] page 16, it shows GPIO3_B2 used for the interrupt
|
||||
line PMIC_INT_L from the RK808, and there's a note which translates as:
|
||||
"PMU termination GPIO1_C5 changed to this".
|
||||
|
||||
Tested by setting an RTC wakealarm and checking /proc/interrupts counters.
|
||||
Without this patch, neither the rockchip_gpio_irq counter for the RK808,
|
||||
nor the RTC alarm counter increment when the alarm time is reached.
|
||||
With this patch, both interrupt counters increment by 1 as expected.
|
||||
|
||||
[1] http://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf
|
||||
|
||||
Fixes: e4f3fb4 ("arm64: dts: rockchip: add initial dts support for Rockpro64")
|
||||
Signed-off-by: Hugh Cole-Baker <sigmaris@gmail.com>
|
||||
---
|
||||
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
index 0401d4ec1f45..c27d8a6ae1c5 100644
|
||||
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
|
||||
@@ -247,8 +247,8 @@
|
||||
rk808: pmic@1b {
|
||||
compatible = "rockchip,rk808";
|
||||
reg = <0x1b>;
|
||||
- interrupt-parent = <&gpio1>;
|
||||
- interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
|
||||
+ interrupt-parent = <&gpio3>;
|
||||
+ interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
|
||||
#clock-cells = <1>;
|
||||
clock-output-names = "xin32k", "rk808-clkout2";
|
||||
pinctrl-names = "default";
|
||||
@@ -574,7 +574,7 @@
|
||||
|
||||
pmic {
|
||||
pmic_int_l: pmic-int-l {
|
||||
- rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
+ rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
vsel1_gpio: vsel1-gpio {
|
@ -1,128 +0,0 @@
|
||||
From patchwork Thu Sep 5 19:24:12 2019
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: 7bit
|
||||
X-Patchwork-Submitter: Lee Jones <lee.jones@linaro.org>
|
||||
X-Patchwork-Id: 11133827
|
||||
Return-Path: <SRS0=OmJI=XA=vger.kernel.org=linux-arm-msm-owner@kernel.org>
|
||||
Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org
|
||||
[172.30.200.123])
|
||||
by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DDFD514ED
|
||||
for <patchwork-linux-arm-msm@patchwork.kernel.org>;
|
||||
Thu, 5 Sep 2019 19:24:19 +0000 (UTC)
|
||||
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
|
||||
by mail.kernel.org (Postfix) with ESMTP id D540020870
|
||||
for <patchwork-linux-arm-msm@patchwork.kernel.org>;
|
||||
Thu, 5 Sep 2019 19:24:19 +0000 (UTC)
|
||||
Authentication-Results: mail.kernel.org;
|
||||
dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org
|
||||
header.b="j/6kUy9p"
|
||||
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
|
||||
id S1727540AbfIETYS (ORCPT
|
||||
<rfc822;patchwork-linux-arm-msm@patchwork.kernel.org>);
|
||||
Thu, 5 Sep 2019 15:24:18 -0400
|
||||
Received: from mail-wr1-f49.google.com ([209.85.221.49]:36821 "EHLO
|
||||
mail-wr1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
|
||||
with ESMTP id S1726008AbfIETYS (ORCPT
|
||||
<rfc822;linux-arm-msm@vger.kernel.org>);
|
||||
Thu, 5 Sep 2019 15:24:18 -0400
|
||||
Received: by mail-wr1-f49.google.com with SMTP id y19so4081592wrd.3
|
||||
for <linux-arm-msm@vger.kernel.org>;
|
||||
Thu, 05 Sep 2019 12:24:16 -0700 (PDT)
|
||||
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
|
||||
d=linaro.org; s=google;
|
||||
h=from:to:cc:subject:date:message-id;
|
||||
bh=19vbMBbLeKgWt8VsEseKuJu+9+rmeS/Lh0ZhXOFWQYc=;
|
||||
b=j/6kUy9psCaV+YLvz8j0kAZ3/WrmOU3xyh5rDOj0TwK0TnwjLtaLil9Q+C9KpFvvVG
|
||||
h4R8p4cZFB0U4b/PAfc9Xt4p4xJNkAIpTzL4QRjM+nkXdDcYyiwUGkr9BRJnJmO0lyZB
|
||||
zmylqwjRd1oOrTQ1tPvwqUV3OUR5u6WA+rDyhn+A516vskkns0bEICMG787HdDEwjigd
|
||||
+3SR4L9u7swSDpNhqxtfPsn9UFP36sehUfgx32xUcjUhX3ls4RtX+6HCZU+rkeQuILt5
|
||||
0qlmqliIuKXWkQe+ii/gtrK+ulFQ7lEl76YfDJyqXVo4Z357rIhVFAz+mooVn5qpscmU
|
||||
E+xA==
|
||||
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
|
||||
d=1e100.net; s=20161025;
|
||||
h=x-gm-message-state:from:to:cc:subject:date:message-id;
|
||||
bh=19vbMBbLeKgWt8VsEseKuJu+9+rmeS/Lh0ZhXOFWQYc=;
|
||||
b=QjFuCunKeBkoabY9fIsWTo3krapsS69k52eNtOIeLBaCd7M1lvCmItn41DcbJ5ykqT
|
||||
RQ0rnlNq35x9QvKNumPai3fMZp9AWt3KpJpxbpEokltyLbkGUqRWaeYTrOtuV9P9nRmT
|
||||
Yj72UBVzYj4d/G+FGq8EBesWjRyEFC51+RekvPlbRZ/h1fVW7/XAy5cO1ywnHrtNe8pQ
|
||||
7gYQJ3Xh1Y09qkiO0i8iru5PSMTK3U+vPSLWVdFOeqMh+Beins6I9mbKf+UX+xa8ECK3
|
||||
mEFjYxY57YVx+SpaKrmBwEmu9YXLgXqEif1OH1FHFiKZVQ4ABPp19D4+5JOXEV1tCwUS
|
||||
B6Qw==
|
||||
X-Gm-Message-State: APjAAAUM7yEkrkGZ+mbleFtCMQGsXfLQSXt2Bd+K6leuP2oAs8Vj1j9k
|
||||
4bsoJvF042q/z9+6bnLlGShjoA==
|
||||
X-Google-Smtp-Source:
|
||||
APXvYqyThx0kWliMdrjc7dedZ/+AhabFi7TIc04exnxhWAEkAOh7foRP8Cz8ZjjhxGJCvUyUPA4lFg==
|
||||
X-Received: by 2002:adf:ea0c:: with SMTP id q12mr4172788wrm.172.1567711455933;
|
||||
Thu, 05 Sep 2019 12:24:15 -0700 (PDT)
|
||||
Received: from localhost.localdomain ([95.147.198.36])
|
||||
by smtp.gmail.com with ESMTPSA id
|
||||
q24sm7942378wmc.3.2019.09.05.12.24.14
|
||||
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
|
||||
Thu, 05 Sep 2019 12:24:14 -0700 (PDT)
|
||||
From: Lee Jones <lee.jones@linaro.org>
|
||||
To: alokc@codeaurora.org, agross@kernel.org, robh+dt@kernel.org,
|
||||
mark.rutland@arm.com, bjorn.andersson@linaro.org, vkoul@kernel.org,
|
||||
wsa@the-dreams.de
|
||||
Cc: linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org,
|
||||
devicetree@vger.kernel.org, Lee Jones <lee.jones@linaro.org>
|
||||
Subject: [RESEND v3 1/1] i2c: qcom-geni: Disable DMA processing on the Lenovo
|
||||
Yoga C630
|
||||
Date: Thu, 5 Sep 2019 20:24:12 +0100
|
||||
Message-Id: <20190905192412.23116-1-lee.jones@linaro.org>
|
||||
X-Mailer: git-send-email 2.17.1
|
||||
Sender: linux-arm-msm-owner@vger.kernel.org
|
||||
Precedence: bulk
|
||||
List-ID: <linux-arm-msm.vger.kernel.org>
|
||||
X-Mailing-List: linux-arm-msm@vger.kernel.org
|
||||
|
||||
We have a production-level laptop (Lenovo Yoga C630) which is exhibiting
|
||||
a rather horrific bug. When I2C HID devices are being scanned for at
|
||||
boot-time the QCom Geni based I2C (Serial Engine) attempts to use DMA.
|
||||
When it does, the laptop reboots and the user never sees the OS.
|
||||
|
||||
Attempts are being made to debug the reason for the spontaneous reboot.
|
||||
No luck so far, hence the requirement for this hot-fix. This workaround
|
||||
will be removed once we have a viable fix.
|
||||
|
||||
Signed-off-by: Lee Jones <lee.jones@linaro.org>
|
||||
---
|
||||
drivers/i2c/busses/i2c-qcom-geni.c | 12 ++++++++----
|
||||
1 file changed, 8 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/drivers/i2c/busses/i2c-qcom-geni.c b/drivers/i2c/busses/i2c-qcom-geni.c
|
||||
index a89bfce5388e..17abf60c94ae 100644
|
||||
--- a/drivers/i2c/busses/i2c-qcom-geni.c
|
||||
+++ b/drivers/i2c/busses/i2c-qcom-geni.c
|
||||
@@ -355,11 +355,13 @@ static int geni_i2c_rx_one_msg(struct geni_i2c_dev *gi2c, struct i2c_msg *msg,
|
||||
{
|
||||
dma_addr_t rx_dma;
|
||||
unsigned long time_left;
|
||||
- void *dma_buf;
|
||||
+ void *dma_buf = NULL;
|
||||
struct geni_se *se = &gi2c->se;
|
||||
size_t len = msg->len;
|
||||
|
||||
- dma_buf = i2c_get_dma_safe_msg_buf(msg, 32);
|
||||
+ if (!of_machine_is_compatible("lenovo,yoga-c630"))
|
||||
+ dma_buf = i2c_get_dma_safe_msg_buf(msg, 32);
|
||||
+
|
||||
if (dma_buf)
|
||||
geni_se_select_mode(se, GENI_SE_DMA);
|
||||
else
|
||||
@@ -394,11 +396,13 @@ static int geni_i2c_tx_one_msg(struct geni_i2c_dev *gi2c, struct i2c_msg *msg,
|
||||
{
|
||||
dma_addr_t tx_dma;
|
||||
unsigned long time_left;
|
||||
- void *dma_buf;
|
||||
+ void *dma_buf = NULL;
|
||||
struct geni_se *se = &gi2c->se;
|
||||
size_t len = msg->len;
|
||||
|
||||
- dma_buf = i2c_get_dma_safe_msg_buf(msg, 32);
|
||||
+ if (!of_machine_is_compatible("lenovo,yoga-c630"))
|
||||
+ dma_buf = i2c_get_dma_safe_msg_buf(msg, 32);
|
||||
+
|
||||
if (dma_buf)
|
||||
geni_se_select_mode(se, GENI_SE_DMA);
|
||||
else
|
51
arm64-tegra186-enable-USB-on-Jetson-TX2.patch
Normal file
51
arm64-tegra186-enable-USB-on-Jetson-TX2.patch
Normal file
@ -0,0 +1,51 @@
|
||||
From e5ccb943712d261b8ebb3e8ac92a82be4b244ce4 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Robinson <pbrobinson@gmail.com>
|
||||
Date: Sun, 6 Oct 2019 14:44:25 +0100
|
||||
Subject: [PATCH] arm64: tegra186: enable USB on Jetson-TX2
|
||||
|
||||
Based on the following patch series:
|
||||
https://www.spinics.net/lists/linux-tegra/msg44216.html
|
||||
|
||||
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|
||||
---
|
||||
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 4 ++--
|
||||
arch/arm64/boot/dts/nvidia/tegra186.dtsi | 1 +
|
||||
2 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
|
||||
index bdace01561ba..2e6195764268 100644
|
||||
--- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
|
||||
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
|
||||
@@ -115,7 +115,7 @@
|
||||
};
|
||||
|
||||
padctl@3520000 {
|
||||
- status = "disabled";
|
||||
+ status = "okay";
|
||||
|
||||
avdd-pll-erefeut-supply = <&vdd_1v8_pll>;
|
||||
avdd-usb-supply = <&vdd_3v3_sys>;
|
||||
@@ -193,7 +193,7 @@
|
||||
};
|
||||
|
||||
usb@3530000 {
|
||||
- status = "disabled";
|
||||
+ status = "okay";
|
||||
|
||||
phys = <&{/padctl@3520000/pads/usb2/lanes/usb2-0}>,
|
||||
<&{/padctl@3520000/pads/usb2/lanes/usb2-1}>,
|
||||
diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
|
||||
index 47cd831fcf44..abdc81f555b9 100644
|
||||
--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
|
||||
+++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
|
||||
@@ -525,6 +525,7 @@
|
||||
<0x0 0x03538000 0x0 0x1000>;
|
||||
reg-names = "hcd", "fpci";
|
||||
|
||||
+ iommus = <&smmu TEGRA186_SID_XUSB_HOST>;
|
||||
interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
|
||||
--
|
||||
2.21.0
|
||||
|
64
bcm2835-audio-Fix-draining-behavior-regression.patch
Normal file
64
bcm2835-audio-Fix-draining-behavior-regression.patch
Normal file
@ -0,0 +1,64 @@
|
||||
From 2eed19b99c8e95ff87afe6c140ed895c3fac5937 Mon Sep 17 00:00:00 2001
|
||||
From: Takashi Iwai <tiwai@suse.de>
|
||||
Date: Sat, 14 Sep 2019 17:24:05 +0200
|
||||
Subject: staging: bcm2835-audio: Fix draining behavior regression
|
||||
|
||||
The PCM draining behavior got broken since the recent refactoring, and
|
||||
this turned out to be the incorrect expectation of the firmware
|
||||
behavior regarding "draining". While I expected the "drain" flag at
|
||||
the stop operation would do processing the queued samples, it seems
|
||||
rather dropping the samples.
|
||||
|
||||
As a quick fix, just drop the SNDRV_PCM_INFO_DRAIN_TRIGGER flag, so
|
||||
that the driver uses the normal PCM draining procedure. Also, put
|
||||
some caution comment to the function for future readers not to fall
|
||||
into the same pitfall.
|
||||
|
||||
Fixes: d7ca3a71545b ("staging: bcm2835-audio: Operate non-atomic PCM ops")
|
||||
BugLink: https://github.com/raspberrypi/linux/issues/2983
|
||||
Cc: stable@vger.kernel.org
|
||||
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
||||
Acked-by: Stefan Wahren <wahrenst@gmx.net>
|
||||
Link: https://lore.kernel.org/r/20190914152405.7416-1-tiwai@suse.de
|
||||
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
---
|
||||
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c | 4 ++--
|
||||
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c | 1 +
|
||||
2 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c
|
||||
index bc1eaa3a0773..826016c3431a 100644
|
||||
--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c
|
||||
+++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c
|
||||
@@ -12,7 +12,7 @@
|
||||
static const struct snd_pcm_hardware snd_bcm2835_playback_hw = {
|
||||
.info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
||||
SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID |
|
||||
- SNDRV_PCM_INFO_DRAIN_TRIGGER | SNDRV_PCM_INFO_SYNC_APPLPTR),
|
||||
+ SNDRV_PCM_INFO_SYNC_APPLPTR),
|
||||
.formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE,
|
||||
.rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000,
|
||||
.rate_min = 8000,
|
||||
@@ -29,7 +29,7 @@ static const struct snd_pcm_hardware snd_bcm2835_playback_hw = {
|
||||
static const struct snd_pcm_hardware snd_bcm2835_playback_spdif_hw = {
|
||||
.info = (SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_BLOCK_TRANSFER |
|
||||
SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID |
|
||||
- SNDRV_PCM_INFO_DRAIN_TRIGGER | SNDRV_PCM_INFO_SYNC_APPLPTR),
|
||||
+ SNDRV_PCM_INFO_SYNC_APPLPTR),
|
||||
.formats = SNDRV_PCM_FMTBIT_S16_LE,
|
||||
.rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_44100 |
|
||||
SNDRV_PCM_RATE_48000,
|
||||
diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
|
||||
index 23fba01107b9..c6f9cf1913d2 100644
|
||||
--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
|
||||
+++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
|
||||
@@ -289,6 +289,7 @@ int bcm2835_audio_stop(struct bcm2835_alsa_stream *alsa_stream)
|
||||
VC_AUDIO_MSG_TYPE_STOP, false);
|
||||
}
|
||||
|
||||
+/* FIXME: this doesn't seem working as expected for "draining" */
|
||||
int bcm2835_audio_drain(struct bcm2835_alsa_stream *alsa_stream)
|
||||
{
|
||||
struct vc_audio_msg m = {
|
||||
--
|
||||
cgit 1.2-0.3.lf.el7
|
@ -81,6 +81,8 @@ function merge_configs()
|
||||
echo "# arm64" > $name
|
||||
elif [ "x$arch" == "xppc64le" ]; then
|
||||
echo "# powerpc" > $name
|
||||
elif [ "x$arch" == "xriscv64" ]; then
|
||||
echo "# riscv" > $name
|
||||
elif [ "x$arch" == "xs390x" ]; then
|
||||
echo "# s390" > $name
|
||||
elif [ "x$arch" == "xarmv7hl" ]; then
|
||||
|
@ -28,6 +28,10 @@ s390x-debug=generic:generic-s390x:debug
|
||||
aarch64=generic:generic-arm:generic-arm-aarch64
|
||||
aarch64-debug=generic:generic-arm:generic-arm-aarch64:debug:debug-arm
|
||||
|
||||
# riscv64
|
||||
riscv64=generic:generic-riscv:generic-riscv-riscv64
|
||||
riscv64-debug=generic:generic-riscv:generic-riscv-riscv64:debug
|
||||
|
||||
# arm
|
||||
armv7hl=generic:generic-arm:generic-arm-armv7:generic-arm-armv7-armv7
|
||||
armv7hl-debug=generic:generic-arm:generic-arm-armv7:generic-arm-armv7-armv7:debug:debug-arm
|
||||
|
1
configs/fedora/generic/CONFIG_ARM_TIMER_SP804
Normal file
1
configs/fedora/generic/CONFIG_ARM_TIMER_SP804
Normal file
@ -0,0 +1 @@
|
||||
# CONFIG_ARM_TIMER_SP804 is not set
|
@ -0,0 +1 @@
|
||||
CONFIG_NETFILTER_XT_TARGET_MASQUERADE=m
|
1
configs/fedora/generic/arm/CONFIG_MTD_M25P80
Normal file
1
configs/fedora/generic/arm/CONFIG_MTD_M25P80
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_MTD_M25P80=m
|
1
configs/fedora/generic/arm/CONFIG_SPI_CADENCE_QUADSPI
Normal file
1
configs/fedora/generic/arm/CONFIG_SPI_CADENCE_QUADSPI
Normal file
@ -0,0 +1 @@
|
||||
# CONFIG_SPI_CADENCE_QUADSPI is not set
|
1
configs/fedora/generic/arm/aarch64/CONFIG_SPI_HISI_SFC
Normal file
1
configs/fedora/generic/arm/aarch64/CONFIG_SPI_HISI_SFC
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_SPI_HISI_SFC=m
|
@ -1 +1 @@
|
||||
CONFIG_CRYPTO_DEV_OMAP_AES=m
|
||||
# CONFIG_CRYPTO_DEV_OMAP_AES is not set
|
||||
|
1
configs/fedora/generic/riscv/CONFIG_ARCH_RV32I
Normal file
1
configs/fedora/generic/riscv/CONFIG_ARCH_RV32I
Normal file
@ -0,0 +1 @@
|
||||
# CONFIG_ARCH_RV32I is not set
|
1
configs/fedora/generic/riscv/CONFIG_AUTOFS4_FS
Normal file
1
configs/fedora/generic/riscv/CONFIG_AUTOFS4_FS
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_AUTOFS4_FS=y
|
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV
Normal file
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_BLK_DEV=y
|
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV_BSG
Normal file
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV_BSG
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_BLK_DEV_BSG=y
|
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV_DM
Normal file
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV_DM
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_BLK_DEV_DM=y
|
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV_DM_BUILTIN
Normal file
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV_DM_BUILTIN
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_BLK_DEV_DM_BUILTIN=y
|
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV_LOOP
Normal file
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV_LOOP
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_BLK_DEV_LOOP=y
|
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV_NBD
Normal file
1
configs/fedora/generic/riscv/CONFIG_BLK_DEV_NBD
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_BLK_DEV_NBD=y
|
1
configs/fedora/generic/riscv/CONFIG_BRIDGE
Normal file
1
configs/fedora/generic/riscv/CONFIG_BRIDGE
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_BRIDGE=y
|
1
configs/fedora/generic/riscv/CONFIG_BTRFS_FS_POSIX_ACL
Normal file
1
configs/fedora/generic/riscv/CONFIG_BTRFS_FS_POSIX_ACL
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_BTRFS_FS_POSIX_ACL=y
|
1
configs/fedora/generic/riscv/CONFIG_CFS_BANDWIDTH
Normal file
1
configs/fedora/generic/riscv/CONFIG_CFS_BANDWIDTH
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CFS_BANDWIDTH=y
|
1
configs/fedora/generic/riscv/CONFIG_CGROUPS
Normal file
1
configs/fedora/generic/riscv/CONFIG_CGROUPS
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CGROUPS=y
|
1
configs/fedora/generic/riscv/CONFIG_CGROUP_SCHED
Normal file
1
configs/fedora/generic/riscv/CONFIG_CGROUP_SCHED
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CGROUP_SCHED=y
|
1
configs/fedora/generic/riscv/CONFIG_CHECKPOINT_RESTORE
Normal file
1
configs/fedora/generic/riscv/CONFIG_CHECKPOINT_RESTORE
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CHECKPOINT_RESTORE=y
|
1
configs/fedora/generic/riscv/CONFIG_CLK_SIFIVE
Normal file
1
configs/fedora/generic/riscv/CONFIG_CLK_SIFIVE
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CLK_SIFIVE=y
|
@ -0,0 +1 @@
|
||||
CONFIG_CLK_SIFIVE_FU540_PRCI=y
|
1
configs/fedora/generic/riscv/CONFIG_CMDLINE
Normal file
1
configs/fedora/generic/riscv/CONFIG_CMDLINE
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CMDLINE=""
|
1
configs/fedora/generic/riscv/CONFIG_CMDLINE_BOOL
Normal file
1
configs/fedora/generic/riscv/CONFIG_CMDLINE_BOOL
Normal file
@ -0,0 +1 @@
|
||||
# CONFIG_CMDLINE_BOOL is not set
|
1
configs/fedora/generic/riscv/CONFIG_CMODEL_MEDANY
Normal file
1
configs/fedora/generic/riscv/CONFIG_CMODEL_MEDANY
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CMODEL_MEDANY=y
|
1
configs/fedora/generic/riscv/CONFIG_CMODEL_MEDLOW
Normal file
1
configs/fedora/generic/riscv/CONFIG_CMODEL_MEDLOW
Normal file
@ -0,0 +1 @@
|
||||
# CONFIG_CMODEL_MEDLOW is not set
|
1
configs/fedora/generic/riscv/CONFIG_CRC7
Normal file
1
configs/fedora/generic/riscv/CONFIG_CRC7
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CRC7=y
|
1
configs/fedora/generic/riscv/CONFIG_CRC_ITU_T
Normal file
1
configs/fedora/generic/riscv/CONFIG_CRC_ITU_T
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CRC_ITU_T=y
|
1
configs/fedora/generic/riscv/CONFIG_CRYPTO_USER
Normal file
1
configs/fedora/generic/riscv/CONFIG_CRYPTO_USER
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CRYPTO_USER=y
|
1
configs/fedora/generic/riscv/CONFIG_CRYPTO_USER_API
Normal file
1
configs/fedora/generic/riscv/CONFIG_CRYPTO_USER_API
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CRYPTO_USER_API=y
|
1
configs/fedora/generic/riscv/CONFIG_CRYPTO_USER_API_AEAD
Normal file
1
configs/fedora/generic/riscv/CONFIG_CRYPTO_USER_API_AEAD
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CRYPTO_USER_API_AEAD=y
|
1
configs/fedora/generic/riscv/CONFIG_CRYPTO_USER_API_HASH
Normal file
1
configs/fedora/generic/riscv/CONFIG_CRYPTO_USER_API_HASH
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CRYPTO_USER_API_HASH=y
|
1
configs/fedora/generic/riscv/CONFIG_CRYPTO_USER_API_RNG
Normal file
1
configs/fedora/generic/riscv/CONFIG_CRYPTO_USER_API_RNG
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_CRYPTO_USER_API_RNG=y
|
@ -0,0 +1 @@
|
||||
CONFIG_CRYPTO_USER_API_SKCIPHER=y
|
@ -0,0 +1 @@
|
||||
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
1
configs/fedora/generic/riscv/CONFIG_DEVTMPFS
Normal file
1
configs/fedora/generic/riscv/CONFIG_DEVTMPFS
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DEVTMPFS=y
|
1
configs/fedora/generic/riscv/CONFIG_DMIID
Normal file
1
configs/fedora/generic/riscv/CONFIG_DMIID
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DMIID=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_BIO_PRISON
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_BIO_PRISON
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_BIO_PRISON=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_BUFIO
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_BUFIO
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_BUFIO=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_CACHE
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_CACHE
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_CACHE=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_CACHE_SMQ
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_CACHE_SMQ
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_CACHE_SMQ=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_CRYPT
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_CRYPT
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_CRYPT=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_DEBUG
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_DEBUG
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_DEBUG=y
|
@ -0,0 +1 @@
|
||||
CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_DELAY
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_DELAY
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_DELAY=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_FLAKEY
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_FLAKEY
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_FLAKEY=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_INTEGRITY
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_INTEGRITY
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_INTEGRITY=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_LOG_USERSPACE
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_LOG_USERSPACE
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_LOG_USERSPACE=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_LOG_WRITES
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_LOG_WRITES
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_LOG_WRITES=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_MIRROR
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_MIRROR
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_MIRROR=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_MULTIPATH
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_MULTIPATH
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_MULTIPATH=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_MULTIPATH_QL
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_MULTIPATH_QL
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_MULTIPATH_QL=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_MULTIPATH_ST
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_MULTIPATH_ST
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_MULTIPATH_ST=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_PERSISTENT_DATA
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_PERSISTENT_DATA
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_PERSISTENT_DATA=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_RAID
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_RAID
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_RAID=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_SNAPSHOT
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_SNAPSHOT
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_SNAPSHOT=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_SWITCH
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_SWITCH
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_SWITCH=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_THIN_PROVISIONING
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_THIN_PROVISIONING
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_THIN_PROVISIONING=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_UEVENT
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_UEVENT
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_UEVENT=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_UNSTRIPED
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_UNSTRIPED
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_UNSTRIPED=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_VERITY
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_VERITY
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_VERITY=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_VERITY_FEC
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_VERITY_FEC
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_VERITY_FEC=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_ZERO
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_ZERO
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_ZERO=y
|
1
configs/fedora/generic/riscv/CONFIG_DM_ZONED
Normal file
1
configs/fedora/generic/riscv/CONFIG_DM_ZONED
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DM_ZONED=y
|
1
configs/fedora/generic/riscv/CONFIG_DNS_RESOLVER
Normal file
1
configs/fedora/generic/riscv/CONFIG_DNS_RESOLVER
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DNS_RESOLVER=y
|
1
configs/fedora/generic/riscv/CONFIG_DRM_PANEL
Normal file
1
configs/fedora/generic/riscv/CONFIG_DRM_PANEL
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DRM_PANEL=y
|
1
configs/fedora/generic/riscv/CONFIG_DRM_VIRTIO_GPU
Normal file
1
configs/fedora/generic/riscv/CONFIG_DRM_VIRTIO_GPU
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_DRM_VIRTIO_GPU=m
|
1
configs/fedora/generic/riscv/CONFIG_EDAC_SIFIVE
Normal file
1
configs/fedora/generic/riscv/CONFIG_EDAC_SIFIVE
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_EDAC_SIFIVE=y
|
1
configs/fedora/generic/riscv/CONFIG_EFIVAR_FS
Normal file
1
configs/fedora/generic/riscv/CONFIG_EFIVAR_FS
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_EFIVAR_FS=y
|
1
configs/fedora/generic/riscv/CONFIG_EFI_PARTITION
Normal file
1
configs/fedora/generic/riscv/CONFIG_EFI_PARTITION
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_EFI_PARTITION=y
|
1
configs/fedora/generic/riscv/CONFIG_EPOLL
Normal file
1
configs/fedora/generic/riscv/CONFIG_EPOLL
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_EPOLL=y
|
1
configs/fedora/generic/riscv/CONFIG_EXT4_FS
Normal file
1
configs/fedora/generic/riscv/CONFIG_EXT4_FS
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_EXT4_FS=y
|
1
configs/fedora/generic/riscv/CONFIG_EXT4_FS_SECURITY
Normal file
1
configs/fedora/generic/riscv/CONFIG_EXT4_FS_SECURITY
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_EXT4_FS_SECURITY=y
|
1
configs/fedora/generic/riscv/CONFIG_EXT4_POSIX_ACL
Normal file
1
configs/fedora/generic/riscv/CONFIG_EXT4_POSIX_ACL
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_EXT4_POSIX_ACL=y
|
1
configs/fedora/generic/riscv/CONFIG_FAILOVER
Normal file
1
configs/fedora/generic/riscv/CONFIG_FAILOVER
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_FAILOVER=y
|
1
configs/fedora/generic/riscv/CONFIG_FAIR_GROUP_SCHED
Normal file
1
configs/fedora/generic/riscv/CONFIG_FAIR_GROUP_SCHED
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_FAIR_GROUP_SCHED=y
|
1
configs/fedora/generic/riscv/CONFIG_FB_SSD1307
Normal file
1
configs/fedora/generic/riscv/CONFIG_FB_SSD1307
Normal file
@ -0,0 +1 @@
|
||||
# CONFIG_FB_SSD1307 is not set
|
1
configs/fedora/generic/riscv/CONFIG_FHANDLE
Normal file
1
configs/fedora/generic/riscv/CONFIG_FHANDLE
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_FHANDLE=y
|
1
configs/fedora/generic/riscv/CONFIG_FILE_LOCKING
Normal file
1
configs/fedora/generic/riscv/CONFIG_FILE_LOCKING
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_FILE_LOCKING=y
|
1
configs/fedora/generic/riscv/CONFIG_FPU
Normal file
1
configs/fedora/generic/riscv/CONFIG_FPU
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_FPU=y
|
1
configs/fedora/generic/riscv/CONFIG_FRAME_WARN
Normal file
1
configs/fedora/generic/riscv/CONFIG_FRAME_WARN
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_FRAME_WARN=2048
|
@ -0,0 +1 @@
|
||||
# CONFIG_FW_LOADER_USER_HELPER is not set
|
1
configs/fedora/generic/riscv/CONFIG_GENERIC_PHY
Normal file
1
configs/fedora/generic/riscv/CONFIG_GENERIC_PHY
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_GENERIC_PHY=y
|
1
configs/fedora/generic/riscv/CONFIG_GPIO_74XX_MMIO
Normal file
1
configs/fedora/generic/riscv/CONFIG_GPIO_74XX_MMIO
Normal file
@ -0,0 +1 @@
|
||||
# CONFIG_GPIO_74XX_MMIO is not set
|
1
configs/fedora/generic/riscv/CONFIG_HOTPLUG_PCI
Normal file
1
configs/fedora/generic/riscv/CONFIG_HOTPLUG_PCI
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_HOTPLUG_PCI=y
|
1
configs/fedora/generic/riscv/CONFIG_HOTPLUG_PCI_PCIE
Normal file
1
configs/fedora/generic/riscv/CONFIG_HOTPLUG_PCI_PCIE
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_HOTPLUG_PCI_PCIE=y
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user