mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 04:25:21 +00:00
vmm: acpi: Fix incorrect mutex timeout value
The mutex timeout should be 0xffff rather than 0xfff to disable the timeout feature. dsdt.dsl 745: Acquire (\_SB.PRES.CPLK, 0x0FFF) Warning 3130 - ^ Result is not used, possible operator timeout will be missed dsdt.dsl 767: Acquire (\_SB.PRES.CPLK, 0x0FFF) Warning 3130 - ^ Result is not used, possible operator timeout will be missed dsdt.dsl 775: Acquire (\_SB.PRES.CPLK, 0x0FFF) Warning 3130 - ^ Result is not used, possible operator timeout will be missed Fixes: #2216 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
5fbeacabad
commit
c29caf2a85
@ -1178,7 +1178,7 @@ impl Aml for CPUMethods {
|
||||
true,
|
||||
vec![
|
||||
// Take lock defined above
|
||||
&aml::Acquire::new("\\_SB_.PRES.CPLK".into(), 0xfff),
|
||||
&aml::Acquire::new("\\_SB_.PRES.CPLK".into(), 0xffff),
|
||||
// Write CPU number (in first argument) to I/O port via field
|
||||
&aml::Store::new(&aml::Path::new("\\_SB_.PRES.CSEL"), &aml::Arg(0)),
|
||||
&aml::Store::new(&aml::Local(0), &aml::ZERO),
|
||||
@ -1216,7 +1216,7 @@ impl Aml for CPUMethods {
|
||||
1,
|
||||
true,
|
||||
vec![
|
||||
&aml::Acquire::new("\\_SB_.PRES.CPLK".into(), 0xfff),
|
||||
&aml::Acquire::new("\\_SB_.PRES.CPLK".into(), 0xffff),
|
||||
// Write CPU number (in first argument) to I/O port via field
|
||||
&aml::Store::new(&aml::Path::new("\\_SB_.PRES.CSEL"), &aml::Arg(0)),
|
||||
// Set CEJ0 bit
|
||||
@ -1234,7 +1234,7 @@ impl Aml for CPUMethods {
|
||||
true,
|
||||
vec![
|
||||
// Take lock defined above
|
||||
&aml::Acquire::new("\\_SB_.PRES.CPLK".into(), 0xfff),
|
||||
&aml::Acquire::new("\\_SB_.PRES.CPLK".into(), 0xffff),
|
||||
&aml::Store::new(&aml::Local(0), &aml::ZERO),
|
||||
&aml::While::new(
|
||||
&aml::LessThan::new(&aml::Local(0), &self.max_vcpus),
|
||||
|
@ -1638,7 +1638,7 @@ impl Aml for MemoryMethods {
|
||||
true,
|
||||
vec![
|
||||
// Take lock defined above
|
||||
&aml::Acquire::new("MLCK".into(), 0xfff),
|
||||
&aml::Acquire::new("MLCK".into(), 0xffff),
|
||||
&aml::Store::new(&aml::Local(0), &aml::ZERO),
|
||||
&aml::While::new(
|
||||
&aml::LessThan::new(&aml::Local(0), &self.slots),
|
||||
@ -1695,7 +1695,7 @@ impl Aml for MemoryMethods {
|
||||
true,
|
||||
vec![
|
||||
// Take lock defined above
|
||||
&aml::Acquire::new("MLCK".into(), 0xfff),
|
||||
&aml::Acquire::new("MLCK".into(), 0xffff),
|
||||
// Write slot number (in first argument) to I/O port via field
|
||||
&aml::Store::new(&aml::Path::new("\\_SB_.MHPC.MSEL"), &aml::Arg(0)),
|
||||
&aml::Store::new(&aml::Local(0), &aml::ZERO),
|
||||
@ -1721,7 +1721,7 @@ impl Aml for MemoryMethods {
|
||||
true,
|
||||
vec![
|
||||
// Take lock defined above
|
||||
&aml::Acquire::new("MLCK".into(), 0xfff),
|
||||
&aml::Acquire::new("MLCK".into(), 0xffff),
|
||||
// Write slot number (in first argument) to I/O port via field
|
||||
&aml::Store::new(&aml::Path::new("\\_SB_.MHPC.MSEL"), &aml::Arg(0)),
|
||||
&aml::Name::new(
|
||||
|
Loading…
x
Reference in New Issue
Block a user