Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2019 17:54:20 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r351516 - head/sys/dev/acpica
Message-ID:  <201908261754.x7QHsKtL038855@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Aug 26 17:54:19 2019
New Revision: 351516
URL: https://svnweb.freebsd.org/changeset/base/351516

Log:
  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.
  
  MFC after:	2 months

Modified:
  head/sys/dev/acpica/acpi_pcib_acpi.c

Modified: head/sys/dev/acpica/acpi_pcib_acpi.c
==============================================================================
--- head/sys/dev/acpica/acpi_pcib_acpi.c	Mon Aug 26 17:34:07 2019	(r351515)
+++ head/sys/dev/acpica/acpi_pcib_acpi.c	Mon Aug 26 17:54:19 2019	(r351516)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908261754.x7QHsKtL038855>