Re: [tboot-devel] USB interrupts and scrubbing e820 memory

2012-10-24 Thread Wei, Gang
charles.fis...@gdc4s.com wrote onĀ 2012-10-11: > Signed-off-by: Charles Fisher > > > There are a couple of problems that occur with tboot. The first is on some Dell > > laptops, it is necessary to disable the legacy usb interrupts. This patch > > provides a mechanism to enable a developer to d

[tboot-devel] USB interrupts and scrubbing e820 memory

2012-10-24 Thread Charles.Fisher
Patch [2/2] Signed-off-by: Charles Fisher #include #include +#include +#include #include +#include #include #include #include +#include #include #include #include @@ -553,6 +557,118 @@ bool e820_reserve_ram(uint64_t base, uin return true; } +/* Define the

[tboot-devel] USB interrupts and scrubbing e820 memory

2012-10-24 Thread Charles.Fisher
Patch {1/2] Signed-off-by: Charles Fisher wakeup_vector); acpi_printk("wakeup_vector_value = %llxx\n", resume_vector); +} + +void disable_smis(void) +{ +printk("disabling legacy USB SMIs\n"); +uint32_t pmbase = pcireg_cfgread(0, 31, 0, 0x40, 4) & ~1; +uint32_t

[tboot-devel] USB interrupts and scrubbing e820 memory

2012-10-24 Thread Charles.Fisher
Patch {1/2] Signed-off-by: Charles Fisher wakeup_vector); acpi_printk("wakeup_vector_value = %llxx\n", resume_vector); +} + +void disable_smis(void) +{ +printk("disabling legacy USB SMIs\n"); +uint32_t pmbase = pcireg_cfgread(0, 31, 0, 0x40, 4) & ~1; +uint32_t

[tboot-devel] [PATCH v2] x86: add a new SMP bring up way for tboot case

2012-10-24 Thread Qiaowei Ren
tboot provides a better AP wakeup mechanism based on cpu MWAIT feature for OS/VMM. With this mechanism, system will boot faster and will NOT require VT to be enabled. But it requires that OS/VMM must have support it, otherwise system can never boot up. Once this mechanism is enabled, tboot will pu

[tboot-devel] FW: USB interrupts and scrubbing e820 memory

2012-10-24 Thread Charles.Fisher
Here is the real patch 2/2. Patch [2/2] Signed-off-by: Charles Fisher #include #include +#include +#include #include +#include #include #include #include +#include #include #include #include @@ -553,6 +557,118 @@ bool e820_reserve_ram(uint64_t base, uin ret