mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +08:00
fb4da215ed
-----BEGIN PGP SIGNATURE----- iQJIBAABCgAyFiEEgMe7l+5h9hnxdsnuWYigwDrT+vwFAl0siFoUHGJoZWxnYWFz QGdvb2dsZS5jb20ACgkQWYigwDrT+vzi9A//S4jRyyZrgUr88Az0GbgMhE4b3yqc uL7om/Sf+443gG6C+aKkZSM/IE9hrbyIKuYq7GGxDkzZ/HkucZo2yIuAHkPgG4ik QQYJ8fJsmMq1bUht87c1ZZwGP0++Deq/Ns2+VNy/WBYqKLulnV0DvEEaJgPs9C5D ppwccGdo6UghiujBTpE4ddUBjFjjURWqT6wSnMRDQ4EGwfUhG0MWwwHKI4hbBuaL N6refuggdYyUUX5FeUOHa6VF6uTnSSAQ75k+40n4nljdayqoumHLskst77o9q5ZI oXjdpwgmuEqYhfp03HEA4Xo/bBxiRj76NuTiEMKvPokxjpanwbLrdV0GhF0OIlM0 rp1NOI1w+vppFrU+rc2gtq+7hYXFmvdhjS29hFLeD91PP36N5d29jW5NVFpm7GCm n4TMGAOsu8RB+bNua6ZbZVcDk2EnPgQeIcM0ZPoBtPK19Fg/rScdEU4u/aFE1Y0Q C+Ks7D1qCvFpHzl/xAg0oo9v/jFsWef3qnQWOzot964Zz4W4NSVvB9Ox6Vbfj6C4 v331LJmlPxG8fxBNA3q28FrTxcG1NW6sgo3WY9VoSp/vc0aqaPKhm7sbraTt5IrI TwqA/WhnAHv90MQCGFcofANyYTkjPkKk2QBFK6b0suoAmVdwVWWELi1WaZ+HdvgQ JP7YpmC2cXcQBPk= =ZGxL -----END PGP SIGNATURE----- Merge tag 'pci-v5.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci Pull PCI updates from Bjorn Helgaas: "Enumeration changes: - Evaluate PCI Boot Configuration _DSM to learn if firmware wants us to preserve its resource assignments (Benjamin Herrenschmidt) - Simplify resource distribution (Nicholas Johnson) - Decode 32 GT/s link speed (Gustavo Pimentel) Virtualization: - Fix incorrect caching of VF config space size (Alex Williamson) - Fix VF driver probing sysfs knobs (Alex Williamson) Peer-to-peer DMA: - Fix dma_virt_ops check (Logan Gunthorpe) Altera host bridge driver: - Allow building as module (Ley Foon Tan) Armada 8K host bridge driver: - add PHYs support (Miquel Raynal) DesignWare host bridge driver: - Export APIs to support removable loadable module (Vidya Sagar) - Enable Relaxed Ordering erratum workaround only on Tegra20 & Tegra30 (Vidya Sagar) Hyper-V host bridge driver: - Fix use-after-free in eject (Dexuan Cui) Mobiveil host bridge driver: - Clean up and fix many issues, including non-identify mapped windows, 64-bit windows, multi-MSI, class code, INTx clearing (Hou Zhiqiang) Qualcomm host bridge driver: - Use clk bulk API for 2.4.0 controllers (Bjorn Andersson) - Add QCS404 support (Bjorn Andersson) - Assert PERST for at least 100ms (Niklas Cassel) R-Car host bridge driver: - Add r8a774a1 DT support (Biju Das) Tegra host bridge driver: - Add support for Gen2, opportunistic UpdateFC and ACK (PCIe protocol details) AER, GPIO-based PERST# (Manikanta Maddireddy) - Fix many issues, including power-on failure cases, interrupt masking in suspend, UPHY settings, AFI dynamic clock gating, pending DLL transactions (Manikanta Maddireddy) Xilinx host bridge driver: - Fix NWL Multi-MSI programming (Bharat Kumar Gogada) Endpoint support: - Fix 64bit BAR support (Alan Mikhak) - Fix pcitest build issues (Alan Mikhak, Andy Shevchenko) Bug fixes: - Fix NVIDIA GPU multi-function power dependencies (Abhishek Sahu) - Fix NVIDIA GPU HDA enablement issue (Lukas Wunner) - Ignore lockdep for sysfs "remove" (Marek Vasut) Misc: - Convert docs to reST (Changbin Du, Mauro Carvalho Chehab)" * tag 'pci-v5.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (107 commits) PCI: Enable NVIDIA HDA controllers tools: PCI: Fix installation when `make tools/pci_install` PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB PCI: Fix typos and whitespace errors PCI: mobiveil: Fix INTx interrupt clearing in mobiveil_pcie_isr() PCI: mobiveil: Fix infinite-loop in the INTx handling function PCI: mobiveil: Move PCIe PIO enablement out of inbound window routine PCI: mobiveil: Add upper 32-bit PCI base address setup in inbound window PCI: mobiveil: Add upper 32-bit CPU base address setup in outbound window PCI: mobiveil: Mask out hardcoded bits in inbound/outbound windows setup PCI: mobiveil: Clear the control fields before updating it PCI: mobiveil: Add configured inbound windows counter PCI: mobiveil: Fix the valid check for inbound and outbound windows PCI: mobiveil: Clean-up program_{ib/ob}_windows() PCI: mobiveil: Remove an unnecessary return value check PCI: mobiveil: Fix error return values PCI: mobiveil: Refactor the MEM/IO outbound window initialization PCI: mobiveil: Make some register updates more readable PCI: mobiveil: Reformat the code for readability dt-bindings: PCI: mobiveil: Change gpio_slave and apb_csr to optional ...
153 lines
4.9 KiB
Plaintext
153 lines
4.9 KiB
Plaintext
What: /sys/class/powercap/
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
The powercap/ class sub directory belongs to the power cap
|
|
subsystem. Refer to
|
|
Documentation/power/powercap/powercap.rst for details.
|
|
|
|
What: /sys/class/powercap/<control type>
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
A <control type> is a unique name under /sys/class/powercap.
|
|
Here <control type> determines how the power is going to be
|
|
controlled. A <control type> can contain multiple power zones.
|
|
|
|
What: /sys/class/powercap/<control type>/enabled
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
This allows to enable/disable power capping for a "control type".
|
|
This status affects every power zone using this "control_type.
|
|
|
|
What: /sys/class/powercap/<control type>/<power zone>
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
A power zone is a single or a collection of devices, which can
|
|
be independently monitored and controlled. A power zone sysfs
|
|
entry is qualified with the name of the <control type>.
|
|
E.g. intel-rapl:0:1:1.
|
|
|
|
What: /sys/class/powercap/<control type>/<power zone>/<child power zone>
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Power zones may be organized in a hierarchy in which child
|
|
power zones provide monitoring and control for a subset of
|
|
devices under the parent. For example, if there is a parent
|
|
power zone for a whole CPU package, each CPU core in it can
|
|
be a child power zone.
|
|
|
|
What: /sys/class/powercap/.../<power zone>/name
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Specifies the name of this power zone.
|
|
|
|
What: /sys/class/powercap/.../<power zone>/energy_uj
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Current energy counter in micro-joules. Write "0" to reset.
|
|
If the counter can not be reset, then this attribute is
|
|
read-only.
|
|
|
|
What: /sys/class/powercap/.../<power zone>/max_energy_range_uj
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Range of the above energy counter in micro-joules.
|
|
|
|
|
|
What: /sys/class/powercap/.../<power zone>/power_uw
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Current power in micro-watts.
|
|
|
|
What: /sys/class/powercap/.../<power zone>/max_power_range_uw
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Range of the above power value in micro-watts.
|
|
|
|
What: /sys/class/powercap/.../<power zone>/constraint_X_name
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Each power zone can define one or more constraints. Each
|
|
constraint can have an optional name. Here "X" can have values
|
|
from 0 to max integer.
|
|
|
|
What: /sys/class/powercap/.../<power zone>/constraint_X_power_limit_uw
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Power limit in micro-watts should be applicable for
|
|
the time window specified by "constraint_X_time_window_us".
|
|
Here "X" can have values from 0 to max integer.
|
|
|
|
What: /sys/class/powercap/.../<power zone>/constraint_X_time_window_us
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Time window in micro seconds. This is used along with
|
|
constraint_X_power_limit_uw to define a power constraint.
|
|
Here "X" can have values from 0 to max integer.
|
|
|
|
|
|
What: /sys/class/powercap/<control type>/.../constraint_X_max_power_uw
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Maximum allowed power in micro watts for this constraint.
|
|
Here "X" can have values from 0 to max integer.
|
|
|
|
What: /sys/class/powercap/<control type>/.../constraint_X_min_power_uw
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Minimum allowed power in micro watts for this constraint.
|
|
Here "X" can have values from 0 to max integer.
|
|
|
|
What: /sys/class/powercap/.../<power zone>/constraint_X_max_time_window_us
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Maximum allowed time window in micro seconds for this
|
|
constraint. Here "X" can have values from 0 to max integer.
|
|
|
|
What: /sys/class/powercap/.../<power zone>/constraint_X_min_time_window_us
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
Minimum allowed time window in micro seconds for this
|
|
constraint. Here "X" can have values from 0 to max integer.
|
|
|
|
What: /sys/class/powercap/.../<power zone>/enabled
|
|
Date: September 2013
|
|
KernelVersion: 3.13
|
|
Contact: linux-pm@vger.kernel.org
|
|
Description:
|
|
This allows to enable/disable power capping at power zone level.
|
|
This applies to current power zone and its children.
|