Skip to content

x86: Dom0 I/O port access permissions

Jan Beulich xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 6 repliesIn review
  2. v17 patches 25 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: allow to suppress port-alias probingdocs/misc/xen-command-line.pandoc xen/arch/x86/include/asm/setup.h xen/arch/x86/setup.c +1 more+20 -11 reply
2/3x86: detect PIC aliasing on ports other than 0x[2A][01]xen/arch/x86/dom0_build.c xen/arch/x86/i8259.c xen/arch/x86/include/asm/setup.h+68 -52 replies
3/3x86: detect PIT aliasing on ports other than 0x4[0-3]xen/arch/x86/dom0_build.c xen/arch/x86/include/asm/setup.h xen/arch/x86/time.c+74 -13 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchRoger Pau MonnéJason Andryuk
1/3Requested-by R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] x86: Dom0 I/O port access permissions

Following on from the CMOS/RTC port aliasing change, there are some more missing restrictions; in particular there's more port aliasing to be aware of. But first of all introduce a command line option to allow suppressing this probing of aliases, as was requested.

Of course an alternative to all of this would be to do away with all policy-only ioports_deny_access() in dom0_setup_permissions(), leaving in place only ones which are truly required for functionality reasons.

1: allow to suppress port-alias probing
2: detect PIC aliasing on ports other than 0x[2A][01] 3: detect PIT aliasing on ports other than 0x4[0-3]

Jan