This removes a level of indirection, as well as removing a somewhat misleading
name; the variable is really "S3 video quirks".
More importantly however it makes it very clear that, right now, parsing the
cmdline and quirks depends on having already placed the trampoline; a
dependency which is going to be gnarly to untangle.
That said, fixing the quirk is easy. The Toshiba Satellite 4030CDT has an
Intel Celeron 300Mhz CPU (Pentium 2 era) from 1998 when MMX was the headline
feature, sporting 64M of RAM. Being a 32-bit processor, it hasn't been able
to run Xen for about a decade now, so drop the quirk entirely.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Alejandro Vallejo <alejandro.vallejo@cloud.com>
s = ss + 1;
} while ( *ss );
- acpi_video_flags |= flag;
+ bootsym(video_flags) |= flag;
return rc;
}
return 0;
}
-static __init int cf_check reset_videomode_after_s3(const struct dmi_blacklist *d)
-{
- /* See wakeup.S */
- acpi_video_flags |= 2;
- return 0;
-}
-
static __init int cf_check dmi_disable_acpi(const struct dmi_blacklist *d)
{
if (!acpi_force) {
static const struct dmi_blacklist __initconstrel dmi_blacklist[] = {
- { reset_videomode_after_s3, "Toshiba Satellite 4030cdt", { /* Reset video mode after returning from ACPI S3 sleep */
- MATCH(DMI_PRODUCT_NAME, "S4030CDT/4.3"),
- NO_MATCH, NO_MATCH, NO_MATCH
- } },
-
{ ich10_bios_quirk, "Intel board & BIOS",
/*
* BIOS leaves legacy USB emulation enabled while
extern int8_t acpi_numa;
extern struct acpi_sleep_info acpi_sinfo;
-#define acpi_video_flags bootsym(video_flags)
struct xenpf_enter_acpi_sleep;
extern int acpi_enter_sleep(const struct xenpf_enter_acpi_sleep *sleep);
extern int acpi_enter_state(u32 state);