Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
53fdc518
Commit
53fdc518
authored
Aug 12, 2007
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Pull bugzilla-3774 into release branch
parents
3b6919e5
67effe8f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
Documentation/kernel-parameters.txt
Documentation/kernel-parameters.txt
+2
-0
drivers/acpi/tables/tbxface.c
drivers/acpi/tables/tbxface.c
+23
-0
No files found.
Documentation/kernel-parameters.txt
View file @
53fdc518
...
...
@@ -163,6 +163,8 @@ and is between 256 and 4096 characters. It is defined in the file
acpi_irq_isa= [HW,ACPI] If irq_balance, mark listed IRQs used by ISA
Format: <irq>,<irq>...
acpi_no_auto_ssdt [HW,ACPI] Disable automatic loading of SSDT
acpi_os_name= [HW,ACPI] Tell ACPI BIOS the name of the OS
Format: To spoof as Windows 98: ="Microsoft Windows"
...
...
drivers/acpi/tables/tbxface.c
View file @
53fdc518
...
...
@@ -52,6 +52,8 @@ ACPI_MODULE_NAME("tbxface")
/* Local prototypes */
static
acpi_status
acpi_tb_load_namespace
(
void
);
static
int
no_auto_ssdt
;
/*******************************************************************************
*
* FUNCTION: acpi_allocate_root_table
...
...
@@ -536,6 +538,10 @@ static acpi_status acpi_tb_load_namespace(void)
ACPI_INFO
((
AE_INFO
,
"Table DSDT replaced by host OS"
));
acpi_tb_print_table_header
(
0
,
table
);
if
(
no_auto_ssdt
==
0
)
{
printk
(
KERN_WARNING
"ACPI: DSDT override uses original SSDTs unless
\"
acpi_no_auto_ssdt
\"
"
);
}
}
status
=
...
...
@@ -577,6 +583,11 @@ static acpi_status acpi_tb_load_namespace(void)
continue
;
}
if
(
no_auto_ssdt
)
{
printk
(
KERN_WARNING
"ACPI: SSDT ignored due to
\"
acpi_no_auto_ssdt
\"\n
"
);
continue
;
}
/* Ignore errors while loading tables, get as many as possible */
(
void
)
acpi_ut_release_mutex
(
ACPI_MTX_TABLES
);
...
...
@@ -622,3 +633,15 @@ acpi_status acpi_load_tables(void)
}
ACPI_EXPORT_SYMBOL
(
acpi_load_tables
)
static
int
__init
acpi_no_auto_ssdt_setup
(
char
*
s
)
{
printk
(
KERN_NOTICE
"ACPI: SSDT auto-load disabled
\n
"
);
no_auto_ssdt
=
1
;
return
1
;
}
__setup
(
"acpi_no_auto_ssdt"
,
acpi_no_auto_ssdt_setup
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment