Skip to content

Commit

Permalink
Merge branch 'for-4.20/apple' into for-linus
Browse files Browse the repository at this point in the history
Support for Apple Magic Trackpad 2
  • Loading branch information
Jiri Kosina committed Oct 23, 2018
2 parents 712fca6 + 9d7b186 commit 4724750
Show file tree
Hide file tree
Showing 2,673 changed files with 63,921 additions and 33,577 deletions.
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Randy Dunlap <rdunlap@infradead.org> <rdunlap@xenotime.net>
Rémi Denis-Courmont <rdenis@simphalempin.com>
Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Ross Zwisler <zwisler@kernel.org> <ross.zwisler@linux.intel.com>
Rudolf Marek <R.Marek@sh.cvut.cz>
Rui Saraiva <rmps@joel.ist.utl.pt>
Sachin P Sant <ssant@in.ibm.com>
Expand Down
9 changes: 9 additions & 0 deletions Documentation/ABI/stable/sysfs-bus-xen-backend
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,12 @@ KernelVersion: 3.0
Contact: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Description:
Number of sectors written by the frontend.

What: /sys/bus/xen-backend/devices/*/state
Date: August 2018
KernelVersion: 4.19
Contact: Joe Jin <joe.jin@oracle.com>
Description:
The state of the device. One of: 'Unknown',
'Initialising', 'Initialised', 'Connected', 'Closing',
'Closed', 'Reconfiguring', 'Reconfigured'.
78 changes: 78 additions & 0 deletions Documentation/ABI/stable/sysfs-driver-mlxreg-io
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.
10 changes: 10 additions & 0 deletions Documentation/ABI/testing/sysfs-driver-xen-blkback
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,13 @@ Description:
blkback. If the frontend tries to use more than
max_persistent_grants, the LRU kicks in and starts
removing 5% of max_persistent_grants every 100ms.

What: /sys/module/xen_blkback/parameters/persistent_grant_unused_seconds
Date: August 2018
KernelVersion: 4.19
Contact: Roger Pau Monné <roger.pau@citrix.com>
Description:
How long a persistent grant is allowed to remain
allocated without being in use. The time is in
seconds, 0 means indefinitely long.
The default is 60 seconds.
8 changes: 8 additions & 0 deletions Documentation/ABI/testing/sysfs-fs-f2fs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ Description:
Controls the dirty page count condition for the in-place-update
policies.

What: /sys/fs/f2fs/<disk>/min_seq_blocks
Date: August 2018
Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
Description:
Controls the dirty page count condition for batched sequential
writes in ->writepages.


What: /sys/fs/f2fs/<disk>/min_hot_blocks
Date: March 2017
Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
Expand Down
18 changes: 18 additions & 0 deletions Documentation/admin-guide/cgroup-v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,24 @@ PAGE_SIZE multiple when read back.
high limit is used and monitored properly, this limit's
utility is limited to providing the final safety net.

memory.oom.group
A read-write single value file which exists on non-root
cgroups. The default value is "0".

Determines whether the cgroup should be treated as
an indivisible workload by the OOM killer. If set,
all tasks belonging to the cgroup or to its descendants
(if the memory cgroup is not a leaf cgroup) are killed
together or not at all. This can be used to avoid
partial kills to guarantee workload integrity.

Tasks with the OOM protection (oom_score_adj set to -1000)
are treated as an exception and are never killed.

If the OOM killer is invoked in a cgroup, it's not going
to kill any tasks outside of this cgroup, regardless
memory.oom.group values of ancestor cgroups.

memory.events
A read-only flat-keyed file which exists on non-root cgroups.
The following entries are defined. Unless specified
Expand Down
14 changes: 11 additions & 3 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1744,7 +1744,8 @@
merge
nomerge
soft
pt [x86, IA-64]
pt [x86]
nopt [x86]
nobypass [PPC/POWERNV]
Disable IOMMU bypass, using IOMMU for PCI devices.

Expand Down Expand Up @@ -3041,8 +3042,9 @@
on: enable the feature

page_poison= [KNL] Boot-time parameter changing the state of
poisoning on the buddy allocator.
off: turn off poisoning
poisoning on the buddy allocator, available with
CONFIG_PAGE_POISONING=y.
off: turn off poisoning (default)
on: turn on poisoning

panic= [KNL] Kernel behaviour on panic: delay <timeout>
Expand Down Expand Up @@ -3521,6 +3523,12 @@
ramdisk_size= [RAM] Sizes of RAM disks in kilobytes
See Documentation/blockdev/ramdisk.txt.

random.trust_cpu={on,off}
[KNL] Enable or disable trusting the use of the
CPU's random number generator (if available) to
fully seed the kernel's CRNG. Default is controlled
by CONFIG_RANDOM_TRUST_CPU.

ras=option[,option,...] [KNL] RAS-specific options

cec_disable [X86]
Expand Down
4 changes: 2 additions & 2 deletions Documentation/arm64/sve.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ prctl(PR_SVE_SET_VL, unsigned long arg)
thread.

* Changing the vector length causes all of P0..P15, FFR and all bits of
Z0..V31 except for Z0 bits [127:0] .. Z31 bits [127:0] to become
Z0..Z31 except for Z0 bits [127:0] .. Z31 bits [127:0] to become
unspecified. Calling PR_SVE_SET_VL with vl equal to the thread's current
vector length, or calling PR_SVE_SET_VL with the PR_SVE_SET_VL_ONEXEC
flag, does not constitute a change to the vector length for this purpose.
Expand Down Expand Up @@ -500,7 +500,7 @@ References
[2] arch/arm64/include/uapi/asm/ptrace.h
AArch64 Linux ptrace ABI definitions

[3] linux/Documentation/arm64/cpu-feature-registers.txt
[3] Documentation/arm64/cpu-feature-registers.txt

[4] ARM IHI0055C
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055c/IHI0055C_beta_aapcs64.pdf
Expand Down
1 change: 1 addition & 0 deletions Documentation/core-api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Core utilities
errseq
printk-formats
circular-buffers
mm-api
gfp_mask-from-fs-io
timekeeping
boot-time-mm
Expand Down
59 changes: 4 additions & 55 deletions Documentation/core-api/kernel-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ String Manipulation
.. kernel-doc:: lib/string.c
:export:

.. kernel-doc:: mm/util.c
:functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
vmemdup_user strndup_user memdup_user_nul

Basic Kernel Library Functions
==============================

Expand Down Expand Up @@ -155,60 +159,6 @@ UUID/GUID
.. kernel-doc:: lib/uuid.c
:export:

Memory Management in Linux
==========================

The Slab Cache
--------------

.. kernel-doc:: include/linux/slab.h
:internal:

.. kernel-doc:: mm/slab.c
:export:

.. kernel-doc:: mm/util.c
:export:

User Space Memory Access
------------------------

.. kernel-doc:: arch/x86/include/asm/uaccess.h
:internal:

.. kernel-doc:: arch/x86/lib/usercopy_32.c
:export:

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:

Kernel IPC facilities
=====================

Expand Down Expand Up @@ -437,4 +387,3 @@ Read-Copy Update (RCU)
.. kernel-doc:: include/linux/rcu_sync.h

.. kernel-doc:: kernel/rcu/sync.c

78 changes: 78 additions & 0 deletions Documentation/core-api/mm-api.rst
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:
7 changes: 0 additions & 7 deletions Documentation/devicetree/bindings/arm/adapteva.txt

This file was deleted.

Loading

0 comments on commit 4724750

Please sign in to comment.