Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2020 15:37:55 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r362105 - stable/12/sys/dev/acpica
Message-ID:  <202006121537.05CFbtbT057328@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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