Skip to content

Commit

Permalink
Merge branch 'linus' into x86/entry, to resolve conflicts
Browse files Browse the repository at this point in the history
Conflicts:
	arch/x86/kernel/traps.c

Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
Ingo Molnar committed Jun 26, 2020
2 parents 145a773 + 8be3a53 commit 2c92d78
Show file tree
Hide file tree
Showing 501 changed files with 4,535 additions and 2,937 deletions.
5 changes: 0 additions & 5 deletions Documentation/ABI/testing/dev-kmsg
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ Description: The /dev/kmsg character device node provides userspace access
seek after the last record available at the time
the last SYSLOG_ACTION_CLEAR was issued.

Due to the record nature of this interface with a "read all"
behavior and the specific positions each seek operation sets,
SEEK_CUR is not supported, returning -ESPIPE (invalid seek) to
errno whenever requested.

The output format consists of a prefix carrying the syslog
prefix including priority and facility, the 64 bit message
sequence number and the monotonic timestamp in microseconds,
Expand Down
27 changes: 27 additions & 0 deletions Documentation/ABI/testing/sysfs-bus-papr-pmem
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
What: /sys/bus/nd/devices/nmemX/papr/flags
Date: Apr, 2020
KernelVersion: v5.8
Contact: linuxppc-dev <[email protected]>, [email protected],
Description:
(RO) Report flags indicating various states of a
papr-pmem NVDIMM device. Each flag maps to a one or
more bits set in the dimm-health-bitmap retrieved in
response to H_SCM_HEALTH hcall. The details of the bit
flags returned in response to this hcall is available
at 'Documentation/powerpc/papr_hcalls.rst' . Below are
the flags reported in this sysfs file:

* "not_armed" : Indicates that NVDIMM contents will not
survive a power cycle.
* "flush_fail" : Indicates that NVDIMM contents
couldn't be flushed during last
shut-down event.
* "restore_fail": Indicates that NVDIMM contents
couldn't be restored during NVDIMM
initialization.
* "encrypted" : NVDIMM contents are encrypted.
* "smart_notify": There is health event for the NVDIMM.
* "scrubbed" : Indicating that contents of the
NVDIMM have been scrubbed.
* "locked" : Indicating that NVDIMM contents cant
be modified until next power cycle.
6 changes: 3 additions & 3 deletions Documentation/arm64/sve.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ prctl(PR_SVE_SET_VL, unsigned long arg)

flags:

PR_SVE_SET_VL_INHERIT
PR_SVE_VL_INHERIT

Inherit the current vector length across execve(). Otherwise, the
vector length is reset to the system default at execve(). (See
Expand Down Expand Up @@ -247,7 +247,7 @@ prctl(PR_SVE_GET_VL)

The following flag may be OR-ed into the result:

PR_SVE_SET_VL_INHERIT
PR_SVE_VL_INHERIT

Vector length will be inherited across execve().

Expand Down Expand Up @@ -393,7 +393,7 @@ The regset data starts with struct user_sve_header, containing:
* At every execve() call, the new vector length of the new process is set to
the system default vector length, unless

* PR_SVE_SET_VL_INHERIT (or equivalently SVE_PT_VL_INHERIT) is set for the
* PR_SVE_VL_INHERIT (or equivalently SVE_PT_VL_INHERIT) is set for the
calling thread, or

* a deferred vector length change is pending, established via the
Expand Down
26 changes: 17 additions & 9 deletions Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@ properties:
maxItems: 1

clocks:
maxItems: 1
minItems: 1
maxItems: 2
items:
- description: controller register bus clock
- description: baud rate generator and delay control clock

clock-names:
description: input clock for the baud rate generator
items:
- const: core
minItems: 1
maxItems: 2

if:
properties:
Expand All @@ -51,17 +54,22 @@ if:
then:
properties:
clocks:
contains:
items:
- description: controller register bus clock
- description: baud rate generator and delay control clock
minItems: 2

clock-names:
minItems: 2
items:
- const: core
- const: pclk

else:
properties:
clocks:
maxItems: 1

clock-names:
items:
- const: core

required:
- compatible
- reg
Expand Down
2 changes: 1 addition & 1 deletion Documentation/driver-api/media/v4l2-subdev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ The bridge driver also has some helper functions it can use:
"module_foo", "chipid", 0x36, NULL);
This loads the given module (can be ``NULL`` if no module needs to be loaded)
and calls :c:func:`i2c_new_device` with the given ``i2c_adapter`` and
and calls :c:func:`i2c_new_client_device` with the given ``i2c_adapter`` and
chip/address arguments. If all goes well, then it registers the subdev with
the v4l2_device.

Expand Down
6 changes: 3 additions & 3 deletions Documentation/filesystems/dax.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ size when creating the filesystem.
Currently 3 filesystems support DAX: ext2, ext4 and xfs. Enabling DAX on them
is different.

Enabling DAX on ext4 and ext2
Enabling DAX on ext2
-----------------------------

When mounting the filesystem, use the "-o dax" option on the command line or
add 'dax' to the options in /etc/fstab. This works to enable DAX on all files
within the filesystem. It is equivalent to the '-o dax=always' behavior below.


Enabling DAX on xfs
-------------------
Enabling DAX on xfs and ext4
----------------------------

Summary
-------
Expand Down
3 changes: 3 additions & 0 deletions Documentation/filesystems/ext4/verity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ is encrypted as well as the data itself.

Verity files cannot have blocks allocated past the end of the verity
metadata.

Verity and DAX are not compatible and attempts to set both of these flags
on a file will fail.
9 changes: 6 additions & 3 deletions Documentation/gpu/amdgpu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,14 @@ pp_power_profile_mode
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
:doc: pp_power_profile_mode

busy_percent
~~~~~~~~~~~~
*_busy_percent
~~~~~~~~~~~~~~
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
:doc: busy_percent
:doc: gpu_busy_percent

.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
:doc: mem_busy_percent

GPU Product Information
=======================
Expand Down
2 changes: 1 addition & 1 deletion Documentation/i2c/smbus-protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ SMBus Quick Command

This sends a single bit to the device, at the place of the Rd/Wr bit::

A Addr Rd/Wr [A] P
S Addr Rd/Wr [A] P

Functionality flag: I2C_FUNC_SMBUS_QUICK

Expand Down
46 changes: 42 additions & 4 deletions Documentation/powerpc/papr_hcalls.rst
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,51 @@ from the LPAR memory.
**H_SCM_HEALTH**

| Input: drcIndex
| Out: *health-bitmap, health-bit-valid-bitmap*
| Out: *health-bitmap (r4), health-bit-valid-bitmap (r5)*
| Return Value: *H_Success, H_Parameter, H_Hardware*
Given a DRC Index return the info on predictive failure and overall health of
the NVDIMM. The asserted bits in the health-bitmap indicate a single predictive
failure and health-bit-valid-bitmap indicate which bits in health-bitmap are
valid.
the PMEM device. The asserted bits in the health-bitmap indicate one or more states
(described in table below) of the PMEM device and health-bit-valid-bitmap indicate
which bits in health-bitmap are valid. The bits are reported in
reverse bit ordering for example a value of 0xC400000000000000
indicates bits 0, 1, and 5 are valid.

Health Bitmap Flags:

+------+-----------------------------------------------------------------------+
| Bit | Definition |
+======+=======================================================================+
| 00 | PMEM device is unable to persist memory contents. |
| | If the system is powered down, nothing will be saved. |
+------+-----------------------------------------------------------------------+
| 01 | PMEM device failed to persist memory contents. Either contents were |
| | not saved successfully on power down or were not restored properly on |
| | power up. |
+------+-----------------------------------------------------------------------+
| 02 | PMEM device contents are persisted from previous IPL. The data from |
| | the last boot were successfully restored. |
+------+-----------------------------------------------------------------------+
| 03 | PMEM device contents are not persisted from previous IPL. There was no|
| | data to restore from the last boot. |
+------+-----------------------------------------------------------------------+
| 04 | PMEM device memory life remaining is critically low |
+------+-----------------------------------------------------------------------+
| 05 | PMEM device will be garded off next IPL due to failure |
+------+-----------------------------------------------------------------------+
| 06 | PMEM device contents cannot persist due to current platform health |
| | status. A hardware failure may prevent data from being saved or |
| | restored. |
+------+-----------------------------------------------------------------------+
| 07 | PMEM device is unable to persist memory contents in certain conditions|
+------+-----------------------------------------------------------------------+
| 08 | PMEM device is encrypted |
+------+-----------------------------------------------------------------------+
| 09 | PMEM device has successfully completed a requested erase or secure |
| | erase procedure. |
+------+-----------------------------------------------------------------------+
|10:63 | Reserved / Unused |
+------+-----------------------------------------------------------------------+

**H_SCM_PERFORMANCE_STATS**

Expand Down
12 changes: 0 additions & 12 deletions Documentation/sh/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,6 @@ Store Queue API
.. kernel-doc:: arch/sh/kernel/cpu/sh4/sq.c
:export:

SH-5
----

TLB Interfaces
~~~~~~~~~~~~~~

.. kernel-doc:: arch/sh/mm/tlb-sh5.c
:internal:

.. kernel-doc:: arch/sh/include/asm/tlb_64.h
:internal:

Machine Specific Interfaces
===========================

Expand Down
2 changes: 1 addition & 1 deletion Documentation/userspace-api/media/conf_nitpick.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
("c:func", "copy_to_user"),
("c:func", "determine_valid_ioctls"),
("c:func", "ERR_PTR"),
("c:func", "i2c_new_device"),
("c:func", "i2c_new_client_device"),
("c:func", "ioctl"),
("c:func", "IS_ERR"),
("c:func", "KERNEL_VERSION"),
Expand Down
39 changes: 22 additions & 17 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -11369,14 +11369,6 @@ L: [email protected]
S: Supported
F: drivers/dma/at_xdmac.c

MICROSEMI ETHERNET SWITCH DRIVER
M: Alexandre Belloni <[email protected]>
M: Microchip Linux Driver Support <[email protected]>
L: [email protected]
S: Supported
F: drivers/net/ethernet/mscc/
F: include/soc/mscc/ocelot*

MICROSEMI MIPS SOCS
M: Alexandre Belloni <[email protected]>
M: Microchip Linux Driver Support <[email protected]>
Expand Down Expand Up @@ -12335,6 +12327,18 @@ M: Peter Zijlstra <[email protected]>
S: Supported
F: tools/objtool/

OCELOT ETHERNET SWITCH DRIVER
M: Microchip Linux Driver Support <[email protected]>
M: Vladimir Oltean <[email protected]>
M: Claudiu Manoil <[email protected]>
M: Alexandre Belloni <[email protected]>
L: [email protected]
S: Supported
F: drivers/net/dsa/ocelot/*
F: drivers/net/ethernet/mscc/
F: include/soc/mscc/ocelot*
F: net/dsa/tag_ocelot.c

OCXL (Open Coherent Accelerator Processor Interface OpenCAPI) DRIVER
M: Frederic Barrat <[email protected]>
M: Andrew Donnellan <[email protected]>
Expand Down Expand Up @@ -14192,6 +14196,15 @@ L: [email protected]
S: Supported
F: drivers/dma/qcom/hidma*

QUALCOMM I2C CCI DRIVER
M: Loic Poulain <[email protected]>
M: Robert Foss <[email protected]>
L: [email protected]
L: [email protected]
S: Maintained
F: Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt
F: drivers/i2c/busses/i2c-qcom-cci.c

QUALCOMM IOMMU
M: Rob Clark <[email protected]>
L: [email protected]
Expand Down Expand Up @@ -14534,7 +14547,7 @@ F: Documentation/devicetree/bindings/i2c/renesas,iic-emev2.txt
F: drivers/i2c/busses/i2c-emev2.c

RENESAS ETHERNET DRIVERS
R: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
R: Sergei Shtylyov <sergei.shtylyov@gmail.com>
L: [email protected]
L: [email protected]
F: Documentation/devicetree/bindings/net/renesas,*.txt
Expand Down Expand Up @@ -18254,14 +18267,6 @@ S: Maintained
F: drivers/input/serio/userio.c
F: include/uapi/linux/userio.h

VITESSE FELIX ETHERNET SWITCH DRIVER
M: Vladimir Oltean <[email protected]>
M: Claudiu Manoil <[email protected]>
L: [email protected]
S: Maintained
F: drivers/net/dsa/ocelot/*
F: net/dsa/tag_ocelot.c

VIVID VIRTUAL VIDEO DRIVER
M: Hans Verkuil <[email protected]>
L: [email protected]
Expand Down
18 changes: 5 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
VERSION = 5
PATCHLEVEL = 8
SUBLEVEL = 0
EXTRAVERSION = -rc1
EXTRAVERSION = -rc2
NAME = Kleptomaniac Octopus

# *DOCUMENTATION*
Expand Down Expand Up @@ -828,7 +828,7 @@ endif

ifdef CONFIG_DEBUG_INFO_COMPRESSED
DEBUG_CFLAGS += -gz=zlib
KBUILD_AFLAGS += -Wa,--compress-debug-sections=zlib
KBUILD_AFLAGS += -gz=zlib
KBUILD_LDFLAGS += --compress-debug-sections=zlib
endif

Expand Down Expand Up @@ -1336,16 +1336,6 @@ dt_binding_check: scripts_dtc
# ---------------------------------------------------------------------------
# Modules

# install modules.builtin regardless of CONFIG_MODULES
PHONY += _builtin_inst_
_builtin_inst_:
@mkdir -p $(MODLIB)/
@cp -f modules.builtin $(MODLIB)/
@cp -f $(objtree)/modules.builtin.modinfo $(MODLIB)/

PHONY += install
install: _builtin_inst_

ifdef CONFIG_MODULES

# By default, build modules as well
Expand Down Expand Up @@ -1389,7 +1379,7 @@ PHONY += modules_install
modules_install: _modinst_ _modinst_post

PHONY += _modinst_
_modinst_: _builtin_inst_
_modinst_:
@rm -rf $(MODLIB)/kernel
@rm -f $(MODLIB)/source
@mkdir -p $(MODLIB)/kernel
Expand All @@ -1399,6 +1389,8 @@ _modinst_: _builtin_inst_
ln -s $(CURDIR) $(MODLIB)/build ; \
fi
@sed 's:^:kernel/:' modules.order > $(MODLIB)/modules.order
@cp -f modules.builtin $(MODLIB)/
@cp -f $(objtree)/modules.builtin.modinfo $(MODLIB)/
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst

# This depmod is only for convenience to give the initial
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/kernel/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ static int ftrace_modify_code(unsigned long pc, unsigned long old,
old = __opcode_to_mem_arm(old);

if (validate) {
if (probe_kernel_read(&replaced, (void *)pc, MCOUNT_INSN_SIZE))
if (copy_from_kernel_nofault(&replaced, (void *)pc,
MCOUNT_INSN_SIZE))
return -EFAULT;

if (replaced != old)
Expand Down
Loading

0 comments on commit 2c92d78

Please sign in to comment.