You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kees Cook
8badbc5439
pstore/ram: Introduce max_reason and convert dump_oops
...
Now that pstore_register() can correctly pass max_reason to the kmesg
dump facility, introduce a new "max_reason" module parameter and
"max-reason" Device Tree field.
The "dump_oops" module parameter and "dump-oops" Device
Tree field are now considered deprecated, but are now automatically
converted to their corresponding max_reason values when present, though
the new max_reason setting has precedence.
For struct ramoops_platform_data, the "dump_oops" member is entirely
replaced by a new "max_reason" member, with the only existing user
updated in place.
Additionally remove the "reason" filter logic from ramoops_pstore_write(),
as that is not specifically needed anymore, though technically
this is a change in behavior for any ramoops users also setting the
printk.always_kmsg_dump boot param, which will cause ramoops to behave as
if max_reason was set to KMSG_DUMP_MAX.
Co-developed-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Link: https://lore.kernel.org/lkml/20200515184434.8470-6-keescook@chromium.org/
Signed-off-by: Kees Cook <keescook@chromium.org>
5 months ago
..
9p
Import A525FXXU3AUG4
3 years ago
adfs
Import A525FXXU3AUG4
3 years ago
affs
Import A525FXXU3AUG4
3 years ago
afs
Import A525FXXU3AUG4
3 years ago
autofs4
Import A525FXXU3AUG4
3 years ago
befs
Import A525FXXU3AUG4
3 years ago
bfs
Import A525FXXU3AUG4
3 years ago
btrfs
Import A525FXXU3AUG4
3 years ago
cachefiles
Import A525FXXU3AUG4
3 years ago
ceph
Import A525FXXU3AUG4
3 years ago
cifs
Import A525FXXU3AUG4
3 years ago
coda
Import A525FXXU3AUG4
3 years ago
configfs
Import A525FXXU3AUG4
3 years ago
cramfs
Import A525FXXU3AUG4
3 years ago
crypto
A525FXXU4CVJB
2 years ago
debugfs
Import A525FXXU3AUG4
3 years ago
devpts
Import A525FXXU3AUG4
3 years ago
dlm
Import A525FXXU3AUG4
3 years ago
ecryptfs
Import A525FXXU3AUG4
3 years ago
efivarfs
Import A525FXXU3AUG4
3 years ago
efs
Import A525FXXU3AUG4
3 years ago
erofs
erofs/zdata: modify set sched to use FIFO at high prio for lower latency
5 months ago
exofs
Import A525FXXU3AUG4
3 years ago
exportfs
Import A525FXXU3AUG4
3 years ago
ext2
Import A525FXXU3AUG4
3 years ago
ext4
sm7125: merge A525FXXU6EWL3 sources
6 months ago
f2fs
xarray: add the xa_lock to the radix_tree_root
5 months ago
fat
Import A525FXXU3AUG4
3 years ago
freevxfs
Import A525FXXU3AUG4
3 years ago
fscache
fscache: use appropriate radix tree accessors
5 months ago
fuse
ANDROID: fs/fuse: Keep FUSE file times consistent with lower file
9 months ago
gfs2
Import A525FXXU3AUG4
3 years ago
hfs
Import A525FXXU3AUG4
3 years ago
hfsplus
Import A525FXXU3AUG4
3 years ago
hostfs
Import A525FXXU3AUG4
3 years ago
hpfs
Import A525FXXU3AUG4
3 years ago
hugetlbfs
Import A525FXXU3AUG4
3 years ago
incfs
Import A525FXXU3AUG4
3 years ago
isofs
Import A525FXXU3AUG4
3 years ago
jbd2
Import A525FXXU3AUG4
3 years ago
jffs2
Import A525FXXU3AUG4
3 years ago
jfs
Import A525FXXU3AUG4
3 years ago
kernfs
Import A525FXXU3AUG4
3 years ago
lockd
Import A525FXXU3AUG4
3 years ago
minix
Import A525FXXU3AUG4
3 years ago
ncpfs
Import A525FXXU3AUG4
3 years ago
nfs
Import A525FXXU3AUG4
3 years ago
nfs_common
Import A525FXXU3AUG4
3 years ago
nfsd
Import A525FXXU3AUG4
3 years ago
nilfs2
Import A525FXXU3AUG4
3 years ago
nls
Import A525FXXU3AUG4
3 years ago
notify
Import A525FXXU3AUG4
3 years ago
ntfs
buffer: have alloc_page_buffers() use __GFP_NOFAIL
5 months ago
ocfs2
Import A525FXXU3AUG4
3 years ago
omfs
Import A525FXXU3AUG4
3 years ago
openpromfs
Import A525FXXU3AUG4
3 years ago
orangefs
Import A525FXXU3AUG4
3 years ago
overlayfs
Import A525FXXU3AUG4
3 years ago
proc
sm7125: merge A525FXXU6EWL3 sources
6 months ago
pstore
pstore/ram: Introduce max_reason and convert dump_oops
5 months ago
qnx4
Import A525FXXU3AUG4
3 years ago
qnx6
Import A525FXXU3AUG4
3 years ago
quota
A525FXXU4CVJB
2 years ago
ramfs
Import A525FXXU3AUG4
3 years ago
reiserfs
Import A525FXXU3AUG4
3 years ago
romfs
Import A525FXXU3AUG4
3 years ago
sdcardfs
Import A525FXXU3AUG4
3 years ago
sdfat
sm7125: merge A525FXXU6EWL3 sources
6 months ago
squashfs
Import A525FXXU3AUG4
3 years ago
sysfs
Import A525FXXU3AUG4
3 years ago
sysv
Import A525FXXU3AUG4
3 years ago
tracefs
Import A525FXXU3AUG4
3 years ago
ubifs
Import A525FXXU3AUG4
3 years ago
udf
Import A525FXXU3AUG4
3 years ago
ufs
Import A525FXXU3AUG4
3 years ago
unicode
Import A525FXXU3AUG4
3 years ago
verity
Import A525FXXU3AUG4
3 years ago
xfs
export __set_page_dirty
5 months ago
Kconfig
erofs: move from drivers/staging/ to fs/
5 months ago
Kconfig.binfmt
Import A525FXXU3AUG4
3 years ago
Makefile
erofs: move from drivers/staging/ to fs/
5 months ago
aio.c
Import A525FXXU3AUG4
3 years ago
anon_inodes.c
Import A525FXXU3AUG4
3 years ago
attr.c
Import A525FXXU3AUG4
3 years ago
bad_inode.c
Import A525FXXU3AUG4
3 years ago
binfmt_aout.c
Import A525FXXU3AUG4
3 years ago
binfmt_elf.c
Import A525FXXU3AUG4
3 years ago
binfmt_elf_fdpic.c
Import A525FXXU3AUG4
3 years ago
binfmt_em86.c
Import A525FXXU3AUG4
3 years ago
binfmt_flat.c
Import A525FXXU3AUG4
3 years ago
binfmt_misc.c
Import A525FXXU3AUG4
3 years ago
binfmt_script.c
Import A525FXXU3AUG4
3 years ago
block_dev.c
Import A525FXXU3AUG4
3 years ago
buffer.c
buffer: eliminate the need to call free_more_memory() in __getblk_slow()
5 months ago
char_dev.c
Import A525FXXU3AUG4
3 years ago
compat.c
Import A525FXXU3AUG4
3 years ago
compat_binfmt_elf.c
Import A525FXXU3AUG4
3 years ago
compat_ioctl.c
Import A525FXXU3AUG4
3 years ago
coredump.c
Import A525FXXU3AUG4
3 years ago
dax.c
Import A525FXXU3AUG4
3 years ago
dcache.c
Import A525FXXU3AUG4
3 years ago
dcookies.c
Import A525FXXU3AUG4
3 years ago
direct-io.c
Import A525FXXU3AUG4
3 years ago
dlog_hook.c
sm7125: merge A525FXXU6EWL3 sources
6 months ago
drop_caches.c
Import A525FXXU3AUG4
3 years ago
eventfd.c
Import A525FXXU3AUG4
3 years ago
eventpoll.c
A525FXXU4BUL8
3 years ago
exec.c
Add KernelSU, config-variables and update the hooks
5 months ago
fcntl.c
Import A525FXXU3AUG4
3 years ago
fhandle.c
Import A525FXXU3AUG4
3 years ago
file.c
Import A525FXXU3AUG4
3 years ago
file_table.c
Import A525FXXU3AUG4
3 years ago
filesystems.c
Import A525FXXU3AUG4
3 years ago
fs-writeback.c
Import A525FXXU3AUG4
3 years ago
fs_pin.c
Import A525FXXU3AUG4
3 years ago
fs_struct.c
Import A525FXXU3AUG4
3 years ago
inode.c
Import A525FXXU3AUG4
3 years ago
internal.h
Import A525FXXU3AUG4
3 years ago
ioctl.c
Import A525FXXU3AUG4
3 years ago
iomap.c
Import A525FXXU3AUG4
3 years ago
libfs.c
Import A525FXXU3AUG4
3 years ago
locks.c
Import A525FXXU3AUG4
3 years ago
mbcache.c
mbcache: Speed up cache entry creation
5 months ago
mount.h
Import A525FXXU3AUG4
3 years ago
mpage.c
Import A525FXXU3AUG4
3 years ago
namei.c
Import A525FXXU3AUG4
3 years ago
namespace.c
VFS: use synchronize_rcu_expedited() in namespace_unlock()
5 months ago
no-block.c
Import A525FXXU3AUG4
3 years ago
nsfs.c
Import A525FXXU3AUG4
3 years ago
open.c
Add KernelSU, config-variables and update the hooks
5 months ago
pipe.c
Import A525FXXU3AUG4
3 years ago
pnode.c
Import A525FXXU3AUG4
3 years ago
pnode.h
Import A525FXXU3AUG4
3 years ago
posix_acl.c
Import A525FXXU3AUG4
3 years ago
proc_namespace.c
Import A525FXXU3AUG4
3 years ago
read_write.c
Add KernelSU, config-variables and update the hooks
5 months ago
readdir.c
Import A525FXXU3AUG4
3 years ago
select.c
Import A525FXXU3AUG4
3 years ago
seq_file.c
A525FXXU4BUL8
3 years ago
signalfd.c
A525FXXU4CVJB
2 years ago
splice.c
Import A525FXXU3AUG4
3 years ago
stack.c
Import A525FXXU3AUG4
3 years ago
stat.c
Add KernelSU, config-variables and update the hooks
5 months ago
statfs.c
Import A525FXXU3AUG4
3 years ago
super.c
Import A525FXXU3AUG4
3 years ago
sync.c
Import A525FXXU3AUG4
3 years ago
timerfd.c
Import A525FXXU3AUG4
3 years ago
userfaultfd.c
Import A525FXXU3AUG4
3 years ago
utimes.c
Import A525FXXU3AUG4
3 years ago
xattr.c
Import A525FXXU3AUG4
3 years ago