svn commit: r362105 - stable/12/sys/dev/acpica

Alexander Motin mav at FreeBSD.org
Fri Jun 12 15:37:56 UTC 2020


Author: mav
Date: Fri Jun 12 15:37:55 2020
New Revision: 362105
URL: https://svnweb.freebsd.org/changeset/base/362105

Log:
  MFC r351516: Announce PCI Segment Groups supported to PCI host _OSC.
  
  According to ACPI 6.3 specification:
      The OS sets this bit to 1 if it supports PCI Segment Groups as defined
      by the _SEG object, and access to the configuration space of devices
      in PCI Segment Groups as described by this specification.  Otherwise,
      the OS sets this bit to 0.
  
  As far as I see we support both of those as PCI domains for quite a while.

Modified:
  stable/12/sys/dev/acpica/acpi_pcib_acpi.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/acpica/acpi_pcib_acpi.c
==============================================================================
--- stable/12/sys/dev/acpica/acpi_pcib_acpi.c	Fri Jun 12 14:37:50 2020	(r362104)
+++ stable/12/sys/dev/acpica/acpi_pcib_acpi.c	Fri Jun 12 15:37:55 2020	(r362105)
@@ -323,9 +323,9 @@ acpi_pcib_osc(struct acpi_hpcib_softc *sc, uint32_t os
 	if (osc_ctl != 0 && (sc->ap_osc_ctl & osc_ctl) == osc_ctl)
 		return (0);
 
-	/* Support Field: Extended PCI Config Space, MSI */
+	/* Support Field: Extended PCI Config Space, PCI Segment Groups, MSI */
 	cap_set[PCI_OSC_SUPPORT] = PCIM_OSC_SUPPORT_EXT_PCI_CONF |
-	    PCIM_OSC_SUPPORT_MSI;
+	    PCIM_OSC_SUPPORT_SEG_GROUP | PCIM_OSC_SUPPORT_MSI;
 
 	/* Control Field */
 	cap_set[PCI_OSC_CTL] = sc->ap_osc_ctl | osc_ctl;


More information about the svn-src-all mailing list