#
303975 |
|
11-Aug-2016 |
gjb |
Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, and rename it to RC1.
Update __FreeBSD_version.
Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and the dvd1.iso packages population.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
303835 |
|
08-Aug-2016 |
vangyzen |
MFC r303788
Fix some logic in PCIe HotPlug; display EI status
The interpretation of the Electromechanical Interlock Status was inverted, so we disengaged the EI if a card was inserted. Fix it to engage the EI if a card is inserted.
When displaying the slot capabilites/status with pciconf:
- We inverted the sense of the Power Controller Control bit, saying the power was off when it was really on (according to this bit). Fix that.
- Display the status of the Electromechanical Interlock: EI(engaged) EI(disengaged)
Approved by: re (gjb) Sponsored by: Dell Inc.
|
#
302408 |
|
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
297501 |
|
02-Apr-2016 |
jhb |
Output information about PCI-e devices with slots.
In particular this includes additional information on HotPlug capable slots.
|
#
297500 |
|
02-Apr-2016 |
jhb |
Various updates to the PCI-express capability output.
- Group the output so that it follows the capability register set more closely. The first line now contains device information and the second line contains link information. As a result, ARI status is now output on the first line, and the link width is moved down to the second line of link information. - Only read the DEVICE_CAP2 register to check for ARI if the capability version is >= 2. - Don't output any link information if the link capability and status registers are zero. - Label the MSI interrupt index value as "MSI" instead of "IRQ".
|
#
296132 |
|
26-Feb-2016 |
pfg |
pciconf: Silence a GCC warning.
Fix the build on sparc64 and powerpc.
Taken from: wma
|
#
296090 |
|
26-Feb-2016 |
wma |
Change format string in pciconf EA to jx
Fix compilation error introduced by r296081
|
#
296081 |
|
26-Feb-2016 |
wma |
Add support for Enhanced Allocation in pciconf
* Modified pciconf to print EA capability structure * Added register description to pcireg.h
Obtained from: Semihalf Sponsored by: Cavium Approved by: cognet (mentor) Reviewed by: jhb Differential revision: https://reviews.freebsd.org/D5440
|
#
295769 |
|
18-Feb-2016 |
se |
Use __unused instead of casting to void to silence the unused parameter warning.
Fix the indentation of 2 lines to conform with the style of this file.
Submitted by: jhb
|
#
295760 |
|
18-Feb-2016 |
se |
Make WARNS=6 safe.
Tested with Clang 3.7.1, GCC 4.2.1 and GCC 4.8.5 on amd64.
|
#
290412 |
|
05-Nov-2015 |
jhb |
Note if relaxed ordering or no snoop is enabled for each PCI-express device.
MFC after: 1 week
|
#
279466 |
|
01-Mar-2015 |
rstone |
Teach pciconf how to dump out SR-IOV capability
Differential Revision: https://reviews.freebsd.org/D1639 Reviewed by: jhb MFC after: 1 month Sponsored by: Sandvine Inc.
|
#
264012 |
|
01-Apr-2014 |
rstone |
Print status of ARI capability in pciconf -c
Teach pciconf how to print out the status (enabled/disabled) of the ARI capability on PCI Root Complexes and Downstream Ports.
MFC after: 2 months Sponsored by: Sandvine Inc.
|
#
253455 |
|
18-Jul-2013 |
jkim |
Decode PCIe ASPM capability and status.
|
#
250741 |
|
17-May-2013 |
kib |
Decode new HT 3.00 and 3.10 capabilities.
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
|
#
246221 |
|
01-Feb-2013 |
neel |
Display MSI-X table and PBA offsets when displaying information about MSI-X capability.
Reviewed by: jhb, jimharris (initial version)
|
#
242085 |
|
25-Oct-2012 |
jimharris |
For PCI Express capability, if max link width is greater than zero, print the current and max link speed.
Sponsored by: Intel Discussed with: jhb MFC after: 1 week
|
#
241757 |
|
19-Oct-2012 |
imp |
Indent ecaps the same way we indent caps.
MFC after: 3 days
|
#
240680 |
|
18-Sep-2012 |
gavin |
Align the PCI Express #defines with the style used for the PCI-X #defines. This also has the advantage that it makes the names more compact, iand also allows us to correct the non-uniform naming of the PCIM_LINK_* defines, making them all consistent amongst themselves.
This is a mostly mechanical rename: s/PCIR_EXPRESS_/PCIER_/g s/PCIM_EXP_/PCIEM_/g s/PCIM_LINK_/PCIEM_LINK_/g
When this is MFC'd, #defines will be added for the old names to assist out-of-tree drivers.
Discussed with: jhb MFC after: 1 week
|
#
240474 |
|
13-Sep-2012 |
jhb |
- Denote PCI-e endpoints that support FLR. - Make parsing of PCI-e extended capabilities assume that future version numbers are backwards compatible. - Add new AER error descriptions. - Add descriptions for more PCI-e extended capabilities.
MFC after: 1 week
|
#
240146 |
|
05-Sep-2012 |
gavin |
- If the PCIe "SLOT" flag is set, include this in the capability output - Fix printing of PCIe interrupt number, the shift was incorrect.
MFC after: 1 week
|
#
236415 |
|
01-Jun-2012 |
jhb |
Add a new -e flag to pciconf(8)'s list mode to display PCI error details. Currently this dumps the status of any error bits in the PCI status register and PCI-express device status register. It also lists any errors indicated by version 1 of PCI-express Advanced Error Reporting (AER).
MFC after: 1 week
|
#
212749 |
|
16-Sep-2010 |
jhb |
Only attempt to list extended capabilities for devices that have a PCI-express capabilities. Non-PCI-express PCI devices may simply ignore the upper bits in a config register address effectively aliasing the device ID register to 0x100 rather than returning 0xFFFFFFFF. Previously the code relied on these reads returning 0xFFFFFFFF.
MFC after: 3 days
|
#
212369 |
|
09-Sep-2010 |
jhb |
- Use 'sta' to hold the PCIR_STATUS register value instead of 'cmd' when walking the capability list. - Use constants for PCI header types instead of magic numbers.
MFC after: 1 week
|
#
212326 |
|
08-Sep-2010 |
jhb |
- Add register definitions related to extended capability IDs in PCI-express. I used PCIZ_* for ID constants (plain capability IDs use PCIY_*). - Add register definitions for the Advanced Error Reporting, Virtual Channels, and Device Serial Number extended capabilities. - Teach pciconf -c to list extended as well as plain capabilities. Adds more detailed parsing for AER, VC, and device serial numbers.
MFC after: 2 weeks
|
#
191222 |
|
17-Apr-2009 |
jhb |
- Add a few more register defintions for the PCI express capability registers. - Cleanup PCI-X capability printf to not leave a dangling "supports" for some PCI-X bridges. - Display additional PCI express details including the negotiated and max link width and the actual and maximum supported max payload.
MFC after: 1 month
|
#
188641 |
|
15-Feb-2009 |
mav |
Tune output to remove trailing space.
Submitted by: Christoph Mallon
|
#
188640 |
|
15-Feb-2009 |
mav |
Add SATA and PCI Advanced Features capabilities reporting.
|
#
173576 |
|
13-Nov-2007 |
jb |
Include agpreg.h from it's new location.
|
#
173228 |
|
31-Oct-2007 |
jhb |
Update copyright attribution.
MFC after: 3 days
|
#
173059 |
|
27-Oct-2007 |
jhb |
Missed in the previous commit to this file: Actually support the new HT capability type from HT 2.00b.
MFC after: 3 days
|
#
169037 |
|
25-Apr-2007 |
jhb |
- HT 2.00b added a new flag to the MSI mapping HT capability to indicate that the MSI mapping window is fixed at 0xfee00000 and the capability does not include two more dwords used to program the address. Supporting this mostly results in quieting spurious warnings during boot about non-default MSI mapping windows. - HT 2.00b also added a new HT capability type, so support that in pciconf.
MFC after: 3 days Tested by: jmg
|
#
166435 |
|
02-Feb-2007 |
jhb |
- Teach pciconf(8) to list the PCI capabilities supported by each device via a new -c flag to be used with -l. Some simple parsing code is present for the following capabilities: Power Management, AGP, VPD, MSI, PCI-X, HyperTransport, Vendor-specific, EHCI Debug Port, PCI-PCI bridge subvendor ID, PCI-express, and MSI-X. - Fix a few warnings in pciconf.c. - Update some cruft in pciconf(8): - PCI 2.1 is no longer a revolutionary standard, and subvendor ID's are fairly common at this point, so reflect that. - Header type 2 is used for PCI-CardBus bridges. - Describe the -v option for -l after completing the basic -l description instead of disrupting the flow in the middle.
Reviewed by: imp (partially) MFC after: 1 week
|