1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/cc_platform.h>
6 #include <linux/ioport.h>
7 #include <linux/eisa.h>
12 static __init
int eisa_bus_probe(void)
16 if ((xen_pv_domain() && !xen_initial_domain()) || cc_platform_has(CC_ATTR_GUEST_SEV_SNP
))
19 p
= memremap(0x0FFFD9, 4, MEMREMAP_WB
);
20 if (p
&& *p
== 'E' + ('I' << 8) + ('S' << 16) + ('A' << 24))
25 subsys_initcall(eisa_bus_probe
);