mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-26 14:17:26 -04:00
[PATCH] kdump: introduce "reset_devices" command line option
Resetting the devices during driver initialization can be a costly operation in terms of time (especially scsi devices). This option can be used by drivers to know that user forcibly wants the devices to be reset during initialization. This option can be useful while kernel is booting in unreliable environment. For ex. during kdump boot where devices are in unknown random state and BIOS execution has been skipped. Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
bcdc5e019d
commit
7e96287ddc
3 changed files with 24 additions and 0 deletions
|
@ -68,6 +68,7 @@ extern initcall_t __security_initcall_start[], __security_initcall_end[];
|
|||
|
||||
/* Defined in init/main.c */
|
||||
extern char saved_command_line[];
|
||||
extern unsigned int reset_devices;
|
||||
|
||||
/* used by init/main.c */
|
||||
extern void setup_arch(char **);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue