[Bug 224096] [PATCH] acpi bus driver: support resource allocation for buggy _CRS entries where fixed I/O ranges are defined like relocatable ones

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 18 18:36:59 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224096

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jhb
Date: Wed Apr 18 18:36:26 UTC 2018
New revision: 332733
URL: https://svnweb.freebsd.org/changeset/base/332733

Log:
  Workaround fixed I/O port resources encoded as I/O port ranges in _CRS.

  ACPI I/O port descriptors use _MIN and _MAX fields to specify the set
  of allowable base (start) addresses for an I/O port resource along with
  a _LEN field specifying the length.  A fixed resource is supposed to be
  encoded with _MIN == _MAX, but some buggy firmwares instead set _MAX to
  the end of the fixed range.  Relocating I/O ranges only make sense in
  _PRS (possible resource settings), not in _CRS (current resource settings),
  so if an I/O port range with _MAX set set to the end of the range is
  present in _CRS, treat it as a fixed I/O port resource starting at
  _MIN.

  PR:           224096
  Submitted by: Harald B?hm <harald at boehm.codes>
  Pointy hat to:        jhb (taking so long to actually commit this)
  MFC after:    1 week

Changes:
  head/sys/dev/acpica/acpi_resource.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-acpi mailing list