xserver/hw/xfree86/os-support/linux
Takashi Yano 3b39aebf98 Fix mach64 driver crash
Due to lack of iopl(3), mach64 driver crashes when ior(BUS_CNTL) is
called. Since BUS_CNTL is out of the range 0x0000-0x03ff, ioperm(0,
1024, 1) is not sufficient and the ior() causes access violation.
This patch reintroduce iopl(3) call in the function hwEnableIO().

Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110521
Fixes: a0f738a673 ("Fixed ioperm calls in hwEnableIO")
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2052>
2025-10-25 20:34:53 +00:00
..
int10 treewide: replace xnfcalloc() calls by XNFcallocarray() 2024-07-26 23:41:33 +00:00
linux.h linux: Add a may_fail paramter to linux_parse_vt_settings 2015-06-03 11:31:41 +02:00
lnx_acpi.c Revert "xfree86: use LogMessageVerb() instead of xf86MsgVerb()" 2025-06-17 20:42:05 +00:00
lnx_agp.c Move sizeof to second argument in calloc calls 2024-07-19 23:45:21 +00:00
lnx_apm.c Revert "xfree86: use LogMessageVerb() instead of xf86MsgVerb()" 2025-06-17 20:42:05 +00:00
lnx_bell.c xfree86: os-support: unexport xf86OSRingBell() 2024-04-18 00:40:39 +00:00
lnx_ev56.c xfree86: Remove MMIO_ONB* and friends 2014-07-28 12:19:01 -07:00
lnx_init.c Revert "os: unexport Os*() functions" 2025-07-20 12:41:06 -07:00
lnx_kmod.c Revert "xfree86: os-support: use LogMessageVerb() instead of xf86Msg()" 2025-06-17 20:42:05 +00:00
lnx_video.c Fix mach64 driver crash 2025-10-25 20:34:53 +00:00
systemd-logind.c Revert "xfree86: common: move private defs from xf86Xinput.h to xf86Xinput_priv.h" 2025-06-19 16:03:01 +00:00