f8c90c86db
Enable module support
2023-04-01 21:19:12 +02:00
421babd5e1
Fix compiler errors
2023-04-01 00:10:26 +02:00
0f77e18348
Update config for halium
2023-03-31 23:40:01 +02:00
prashantpaddune
da33e0a9e2
Merge branch 'master' into gsi
2020-09-11 15:54:07 +05:30
prashantpaddune
0f29de3e61
defconfig: Disable GAF security
2020-09-07 15:36:58 +05:30
prashantpaddune
c33d731e82
defconfig: Disable Quota
2020-09-07 15:34:32 +05:30
prashantpaddune
a8312e4346
configs: DISABLE TRACE_PRINTK
2020-09-03 21:34:36 +05:30
kdrag0n
1d45edeb90
selinux: don't require auditing
...
Audit is bad. It affects performance under all circumstances. It's also
dirty.
From LWN: "Andy submitted a patch to fix this particular problem, but he
didn't stop there. He has come to the conclusion that the audit
subsystem is beyond repair, so his patch marks the whole thing as being
broken, making it generally inaccessible. He cited a number of problems
beyond this security issue: it hurts performance even when it is not
being used, it is not (in his mind) reliable, it has problems with
various architectures, and "its approach to freeing memory is
terrifying." All told, Andy said, we're better off without it"
2020-08-26 14:14:00 +05:30
prashantpaddune
e2ddad7746
defconfig: Disable MODULES
2020-08-26 13:47:10 +05:30
Danny Lin
28bdcbbab1
ARM64: configs: Make zsmalloc copy rather than mapping pages
...
VM mapping is ~5x slower than simply copying memory to access
cross-page allocations on both our little and big cluster CPUs.
zsmalloc copy zsmalloc vmap
cpu0 1456637 255254
cpu1 1463270 243098
cpu2 1441192 242113
cpu3 1446096 269415
cpu4 1830798 486465
cpu5 2703679 641879
cpu6 2568903 642474
cpu7 2128928 480830
Little 10kmaps 145 25 (slowdown: 5.8x)
Big 10kmaps 231 56 (slowdown: 4.1x)
2020-08-24 22:50:36 +05:30
jesec
e11ea2ae9a
drivers: usb: add separated Samsung MTP option
2020-08-20 14:10:23 +05:30
prashantpaddune
fd9b26dd5d
ARM64: configs: Optimize for performance
2020-08-19 11:34:40 +05:30
prashantpaddune
efc4829d4d
ARM64: configs: remove overriding warnings
2020-08-19 11:34:40 +05:30
Diep Quynh
944f9ff0e8
ARM64: configs: Disable zswap, vnswap
...
Signed-off-by: Diep Quynh <remilia.1505@gmail.com>
2020-08-19 11:34:37 +05:30
Diep Quynh
a1179e073a
ARM64: configs: Enable zram, zstd compressor
...
Signed-off-by: Diep Quynh <remilia.1505@gmail.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-08-19 11:34:37 +05:30
Diep Quynh
c771c0ae02
ARM64: configs: Enable IRQ time accounting
...
Account for extra IRQ load from such events like display rendering, touch events, etc...
that needs bandwidth raise for optimal performance
Signed-off-by: Diep Quynh <remilia.1505@gmail.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-08-19 11:34:37 +05:30
Diep Quynh
e86408a967
ARM64: configs: Disable exynos-dm debugging for exynos-ss
...
Using debuggers on clock scaling unit causes performance degradation
on production units. Let's disable it from now
Signed-off-by: Diep Quynh <remilia.1505@gmail.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-08-19 11:34:37 +05:30
kerneltoast
6595426214
ARM64: configs: Define cpumasks
...
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-08-19 11:34:23 +05:30
Sultan Alsawaf
a71c1ead58
cpumask: Add cpumasks for big and LITTLE CPU clusters
...
Add cpu_lp_mask and cpu_perf_mask to represent the CPUs that belong to
each cluster in a dual-cluster, heterogeneous system.
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-08-18 23:10:21 +05:30
Jesse Chan
5b4d3225d2
ARM64: configs: Disable FIFS
2020-08-18 22:09:25 +05:30
prashantpaddune
bbfaf01718
defconfig: Enable BOEFFLA_WL_BLOCKER
2020-08-18 22:03:08 +05:30
Diep Quynh
21ca15f70d
ARM64: configs: Enable DriveDroid storage support
2020-08-18 21:44:06 +05:30
prashantpaddune
7fff0e9951
ARM64: configs: Enable Power Efficient Workqueue
2020-08-18 21:34:02 +05:30
djb77
d81ef26cef
defconfig: Enable USB_CONFIGFS_MASS_STORAGE
2020-08-18 21:29:50 +05:30
BlackGunZ
224a46cc60
arm64: kernel: Default debugging to off
2020-08-18 21:21:56 +05:30
BlackGunZ
78e7b9059a
ARM64: configs: Disable some more debugging functions
2020-08-18 21:21:28 +05:30
prashantpaddune
48bd579a3a
defconfigs: Enable wireguard
2020-08-18 21:19:07 +05:30
prashantpaddune
671d649fa8
A750FNPUU4CTE3
2020-08-18 17:44:51 +05:30
prashantpaddune
afd412249c
dts: increase minimum freq
2020-04-09 14:54:44 +05:30
prashantpaddune
669172a5fa
fix my stupid typo
2020-04-08 16:24:30 +05:30
prashantpaddune
bb1e083ed4
defconfig: Enable state notifier
2020-04-08 12:48:37 +02:00
prashantpaddune
6a799beaa1
dtb: Lower the min freq limit of the CPU
...
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:35:20 +02:00
djb77
bf7da277a5
defconfig: Enable SCHEDUTIL Governor
2020-04-08 11:30:30 +02:00
djb77
b1f1dfd69b
cpufreq: Add BIOSHOCK governor
...
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:29:27 +02:00
djb77
4987f7b57e
cpufreq: Add DARKNESS governor
...
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:28:29 +02:00
engstk
7233c6d23a
cpufreq: Add BLU_ACTIVE governor
...
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:25:10 +02:00
Joe Maples
12c22648f0
block: Add Maple I/O Scheduler
...
Adapted to State Notifier by @farovitus
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:24:18 +02:00
andip71
de23aa06ae
block: Add ZEN v2 scheduler
...
Signed-off-by: andip71 <andreasp@gmx.de>
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:23:50 +02:00
andip71
2770b840af
block: Add VR scheduler
...
Signed-off-by: andip71 <andreasp@gmx.de>
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:23:18 +02:00
andip71
e14797c423
block: Add TRIPNDROID scheduler
...
Signed-off-by: andip71 <andreasp@gmx.de>
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:22:45 +02:00
andip71
62f3029a5c
block: Add SIOPLUS scheduler
...
Signed-off-by: andip71 <andreasp@gmx.de>
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:22:13 +02:00
andip71
5d4baa68a8
block: Add FIFO scheduler
...
Signed-off-by: andip71 <andreasp@gmx.de>
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:21:39 +02:00
andip71
b8a7393f07
block: Add SIO scheduler
...
Signed-off-by: andip71 <andreasp@gmx.de>
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:20:51 +02:00
andip71
f2225b03b6
block: add FIOPS scheduler
...
Signed-off-by: andip71 <andreasp@gmx.de>
Signed-off-by: djb77 <dwayne.bakewell@gmail.com>
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:19:48 +02:00
DarkLord1731
bb02460a50
defconfig: Enable BFQ IO Scheduler
...
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:18:14 +02:00
DarkLord1731
9252298ae9
defconfig: Enable available cpu governors, deadline IO scheduler and TCP algorithms
2020-04-08 11:16:14 +02:00
prashantpaddune
7b285d6d30
defconfig:fix CC_STACKPROTECTOR_STRONG override warning
...
Signed-off-by: prashantpaddune <elonpras@my.smccd.edu>
2020-04-08 11:12:19 +02:00
prashantpaddune
aba2d18cee
arm64: smp: fix compile errors
2020-04-07 18:00:22 +05:30
Sean Christopherson
c403bdb631
KVM: VMX: Do not allow reexecute_instruction() when skipping MMIO instr
...
[ Upstream commit c4409905cd6eb42cfd06126e9226b0150e05a715 ]
Re-execution after an emulation decode failure is only intended to
handle a case where two or vCPUs race to write a shadowed page, i.e.
we should never re-execute an instruction as part of MMIO emulation.
As handle_ept_misconfig() is only used for MMIO emulation, it should
pass EMULTYPE_NO_REEXECUTE when using the emulator to skip an instr
in the fast-MMIO case where VM_EXIT_INSTRUCTION_LEN is invalid.
And because the cr2 value passed to x86_emulate_instruction() is only
destined for use when retrying or reexecuting, we can simply call
emulate_instruction().
Fixes: d391f1207067 ("x86/kvm/vmx: do not use vm-exit instruction length
for fast MMIO when running nested")
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 14:23:51 +02:00
Cristian Marussi
f5c517bbcb
arm64: smp: fix smp_send_stop() behaviour
...
commit d0bab0c39e32d39a8c5cddca72e5b4a3059fe050 upstream.
On a system with only one CPU online, when another one CPU panics while
starting-up, smp_send_stop() will fail to send any STOP message to the
other already online core, resulting in a system still responsive and
alive at the end of the panic procedure.
[ 186.700083] CPU3: shutdown
[ 187.075462] CPU2: shutdown
[ 187.162869] CPU1: shutdown
[ 188.689998] ------------[ cut here ]------------
[ 188.691645] kernel BUG at arch/arm64/kernel/cpufeature.c:886!
[ 188.692079] Internal error: Oops - BUG: 0 [#1 ] PREEMPT SMP
[ 188.692444] Modules linked in:
[ 188.693031] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 5.6.0-rc4-00001-g338d25c35a98 #104
[ 188.693175] Hardware name: Foundation-v8A (DT)
[ 188.693492] pstate: 200001c5 (nzCv dAIF -PAN -UAO)
[ 188.694183] pc : has_cpuid_feature+0xf0/0x348
[ 188.694311] lr : verify_local_elf_hwcaps+0x84/0xe8
[ 188.694410] sp : ffff800011b1bf60
[ 188.694536] x29: ffff800011b1bf60 x28: 0000000000000000
[ 188.694707] x27: 0000000000000000 x26: 0000000000000000
[ 188.694801] x25: 0000000000000000 x24: ffff80001189a25c
[ 188.694905] x23: 0000000000000000 x22: 0000000000000000
[ 188.694996] x21: ffff8000114aa018 x20: ffff800011156a38
[ 188.695089] x19: ffff800010c944a0 x18: 0000000000000004
[ 188.695187] x17: 0000000000000000 x16: 0000000000000000
[ 188.695280] x15: 0000249dbde5431e x14: 0262cbe497efa1fa
[ 188.695371] x13: 0000000000000002 x12: 0000000000002592
[ 188.695472] x11: 0000000000000080 x10: 00400032b5503510
[ 188.695572] x9 : 0000000000000000 x8 : ffff800010c80204
[ 188.695659] x7 : 00000000410fd0f0 x6 : 0000000000000001
[ 188.695750] x5 : 00000000410fd0f0 x4 : 0000000000000000
[ 188.695836] x3 : 0000000000000000 x2 : ffff8000100939d8
[ 188.695919] x1 : 0000000000180420 x0 : 0000000000180480
[ 188.696253] Call trace:
[ 188.696410] has_cpuid_feature+0xf0/0x348
[ 188.696504] verify_local_elf_hwcaps+0x84/0xe8
[ 188.696591] check_local_cpu_capabilities+0x44/0x128
[ 188.696666] secondary_start_kernel+0xf4/0x188
[ 188.697150] Code: 52805001 72a00301 6b01001f 54000ec0 (d4210000)
[ 188.698639] ---[ end trace 3f12ca47652f7b72 ]---
[ 188.699160] Kernel panic - not syncing: Attempted to kill the idle task!
[ 188.699546] Kernel Offset: disabled
[ 188.699828] CPU features: 0x00004,20c02008
[ 188.700012] Memory Limit: none
[ 188.700538] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
[root@arch ~]# echo Helo
Helo
[root@arch ~]# cat /proc/cpuinfo | grep proce
processor : 0
Make smp_send_stop() account also for the online status of the calling CPU
while evaluating how many CPUs are effectively online: this way, the right
number of STOPs is sent, so enforcing a proper freeze of the system at the
end of panic even under the above conditions.
Fixes: 08e875c16a16c ("arm64: SMP support")
Reported-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 14:23:10 +02:00