-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-4.20/apple' into for-linus
Support for Apple Magic Trackpad 2
- Loading branch information
Showing
2,673 changed files
with
63,921 additions
and
33,577 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ | ||
asic_health | ||
|
||
Date: June 2018 | ||
KernelVersion: 4.19 | ||
Contact: Vadim Pasternak <vadimpmellanox.com> | ||
Description: This file shows ASIC health status. The possible values are: | ||
0 - health failed, 2 - health OK, 3 - ASIC in booting state. | ||
|
||
The files are read only. | ||
|
||
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ | ||
cpld1_version | ||
cpld2_version | ||
|
||
Date: June 2018 | ||
KernelVersion: 4.19 | ||
Contact: Vadim Pasternak <vadimpmellanox.com> | ||
Description: These files show with which CPLD versions have been burned | ||
on carrier and switch boards. | ||
|
||
The files are read only. | ||
|
||
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio | ||
Date: June 2018 | ||
KernelVersion: 4.19 | ||
Contact: Vadim Pasternak <vadimpmellanox.com> | ||
Description: This file allows iio devices selection. | ||
|
||
Attribute select_iio can be written with 0 or with 1. It | ||
selects which one of iio devices can be accessed. | ||
|
||
The file is read/write. | ||
|
||
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu1_on | ||
/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/psu2_on | ||
/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_cycle | ||
/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/pwr_down | ||
Date: June 2018 | ||
KernelVersion: 4.19 | ||
Contact: Vadim Pasternak <vadimpmellanox.com> | ||
Description: These files allow asserting system power cycling, switching | ||
power supply units on and off and system's main power domain | ||
shutdown. | ||
Expected behavior: | ||
When pwr_cycle is written 1: auxiliary power domain will go | ||
down and after short period (about 1 second) up. | ||
When psu1_on or psu2_on is written 1, related unit will be | ||
disconnected from the power source, when written 0 - connected. | ||
If both are written 1 - power supplies main power domain will | ||
go down. | ||
When pwr_down is written 1, system's main power domain will go | ||
down. | ||
|
||
The files are write only. | ||
|
||
What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/ | ||
reset_aux_pwr_or_ref | ||
reset_asic_thermal | ||
reset_hotswap_or_halt | ||
reset_hotswap_or_wd | ||
reset_fw_reset | ||
reset_long_pb | ||
reset_main_pwr_fail | ||
reset_short_pb | ||
reset_sw_reset | ||
Date: June 2018 | ||
KernelVersion: 4.19 | ||
Contact: Vadim Pasternak <vadimpmellanox.com> | ||
Description: These files show the system reset cause, as following: power | ||
auxiliary outage or power refresh, ASIC thermal shutdown, halt, | ||
hotswap, watchdog, firmware reset, long press power button, | ||
short press power button, software reset. Value 1 in file means | ||
this is reset cause, 0 - otherwise. Only one of the above | ||
causes could be 1 at the same time, representing only last | ||
reset cause. | ||
|
||
The files are read only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
====================== | ||
Memory Management APIs | ||
====================== | ||
|
||
User Space Memory Access | ||
======================== | ||
|
||
.. kernel-doc:: arch/x86/include/asm/uaccess.h | ||
:internal: | ||
|
||
.. kernel-doc:: arch/x86/lib/usercopy_32.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/util.c | ||
:functions: get_user_pages_fast | ||
|
||
Memory Allocation Controls | ||
========================== | ||
|
||
Functions which need to allocate memory often use GFP flags to express | ||
how that memory should be allocated. The GFP acronym stands for "get | ||
free pages", the underlying memory allocation function. Not every GFP | ||
flag is allowed to every function which may allocate memory. Most | ||
users will want to use a plain ``GFP_KERNEL``. | ||
|
||
.. kernel-doc:: include/linux/gfp.h | ||
:doc: Page mobility and placement hints | ||
|
||
.. kernel-doc:: include/linux/gfp.h | ||
:doc: Watermark modifiers | ||
|
||
.. kernel-doc:: include/linux/gfp.h | ||
:doc: Reclaim modifiers | ||
|
||
.. kernel-doc:: include/linux/gfp.h | ||
:doc: Common combinations | ||
|
||
The Slab Cache | ||
============== | ||
|
||
.. kernel-doc:: include/linux/slab.h | ||
:internal: | ||
|
||
.. kernel-doc:: mm/slab.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/util.c | ||
:functions: kfree_const kvmalloc_node kvfree | ||
|
||
More Memory Management Functions | ||
================================ | ||
|
||
.. kernel-doc:: mm/readahead.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/filemap.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/memory.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/vmalloc.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/page_alloc.c | ||
:internal: | ||
|
||
.. kernel-doc:: mm/mempool.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/dmapool.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/page-writeback.c | ||
:export: | ||
|
||
.. kernel-doc:: mm/truncate.c | ||
:export: |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.