Skip to content

Commit c0554d2

Browse files
author
Ingo Molnar
committed
Merge branch 'linus' into x86/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2 parents bef4590 + 1d2ba7f commit c0554d2

File tree

1,030 files changed

+10258
-5835
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,030 files changed

+10258
-5835
lines changed

Documentation/ABI/stable/sysfs-devices-system-xen_memory

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,12 @@ Contact: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
7575
Description:
7676
Amount (in KiB) of low (or normal) memory in the
7777
balloon.
78+
79+
What: /sys/devices/system/xen_memory/xen_memory0/scrub_pages
80+
Date: September 2018
81+
KernelVersion: 4.20
82+
Contact: xen-devel@lists.xenproject.org
83+
Description:
84+
Control scrubbing pages before returning them to Xen for others domains
85+
use. Can be set with xen_scrub_pages cmdline
86+
parameter. Default value controlled with CONFIG_XEN_SCRUB_PAGES_DEFAULT.

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3523,6 +3523,12 @@
35233523
ramdisk_size= [RAM] Sizes of RAM disks in kilobytes
35243524
See Documentation/blockdev/ramdisk.txt.
35253525

3526+
random.trust_cpu={on,off}
3527+
[KNL] Enable or disable trusting the use of the
3528+
CPU's random number generator (if available) to
3529+
fully seed the kernel's CRNG. Default is controlled
3530+
by CONFIG_RANDOM_TRUST_CPU.
3531+
35263532
ras=option[,option,...] [KNL] RAS-specific options
35273533

35283534
cec_disable [X86]
@@ -4994,6 +5000,12 @@
49945000
Disables the PV optimizations forcing the HVM guest to
49955001
run as generic HVM guest with no PV drivers.
49965002

5003+
xen_scrub_pages= [XEN]
5004+
Boolean option to control scrubbing pages before giving them back
5005+
to Xen, for use by other domains. Can be also changed at runtime
5006+
with /sys/devices/system/xen_memory/xen_memory0/scrub_pages.
5007+
Default value controlled with CONFIG_XEN_SCRUB_PAGES_DEFAULT.
5008+
49975009
xirc2ps_cs= [NET,PCMCIA]
49985010
Format:
49995011
<irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]]

Documentation/device-mapper/dm-raid.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,7 @@ Version History
348348
1.13.1 Fix deadlock caused by early md_stop_writes(). Also fix size an
349349
state races.
350350
1.13.2 Fix raid redundancy validation and avoid keeping raid set frozen
351+
1.14.0 Fix reshape race on small devices. Fix stripe adding reshape
352+
deadlock/potential data corruption. Update superblock when
353+
specific devices are requested via rebuild. Fix RAID leg
354+
rebuild errors.

Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
Required properties:
44
- compatible :
55
- "fsl,imx7ulp-lpi2c" for LPI2C compatible with the one integrated on i.MX7ULP soc
6-
- "fsl,imx8dv-lpi2c" for LPI2C compatible with the one integrated on i.MX8DV soc
76
- reg : address and length of the lpi2c master registers
87
- interrupts : lpi2c interrupt
98
- clocks : lpi2c clock specifier
109

1110
Examples:
1211

1312
lpi2c7: lpi2c7@40a50000 {
14-
compatible = "fsl,imx8dv-lpi2c";
13+
compatible = "fsl,imx7ulp-lpi2c";
1514
reg = <0x40A50000 0x10000>;
1615
interrupt-parent = <&intc>;
1716
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;

Documentation/devicetree/bindings/input/gpio-keys.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Device-Tree bindings for input/gpio_keys.c keyboard driver
1+
Device-Tree bindings for input/keyboard/gpio_keys.c keyboard driver
22

33
Required properties:
44
- compatible = "gpio-keys";

Documentation/devicetree/bindings/net/cpsw.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ Required properties:
1919
- slaves : Specifies number for slaves
2020
- active_slave : Specifies the slave to use for time stamping,
2121
ethtool and SIOCGMIIPHY
22+
- cpsw-phy-sel : Specifies the phandle to the CPSW phy mode selection
23+
device. See also cpsw-phy-sel.txt for it's binding.
24+
Note that in legacy cases cpsw-phy-sel may be
25+
a child device instead of a phandle.
2226

2327
Optional properties:
2428
- ti,hwmods : Must be "cpgmac0"
@@ -75,6 +79,7 @@ Examples:
7579
cpts_clock_mult = <0x80000000>;
7680
cpts_clock_shift = <29>;
7781
syscon = <&cm>;
82+
cpsw-phy-sel = <&phy_sel>;
7883
cpsw_emac0: slave@0 {
7984
phy_id = <&davinci_mdio>, <0>;
8085
phy-mode = "rgmii-txid";
@@ -103,6 +108,7 @@ Examples:
103108
cpts_clock_mult = <0x80000000>;
104109
cpts_clock_shift = <29>;
105110
syscon = <&cm>;
111+
cpsw-phy-sel = <&phy_sel>;
106112
cpsw_emac0: slave@0 {
107113
phy_id = <&davinci_mdio>, <0>;
108114
phy-mode = "rgmii-txid";

Documentation/devicetree/bindings/net/macb.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Required properties:
1010
Use "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on
1111
the Cadence GEM, or the generic form: "cdns,gem".
1212
Use "atmel,sama5d2-gem" for the GEM IP (10/100) available on Atmel sama5d2 SoCs.
13+
Use "atmel,sama5d3-macb" for the 10/100Mbit IP available on Atmel sama5d3 SoCs.
1314
Use "atmel,sama5d3-gem" for the Gigabit IP available on Atmel sama5d3 SoCs.
1415
Use "atmel,sama5d4-gem" for the GEM IP (10/100) available on Atmel sama5d4 SoCs.
1516
Use "cdns,zynq-gem" Xilinx Zynq-7xxx SoC.

Documentation/devicetree/bindings/net/sh_eth.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Required properties:
1616
"renesas,ether-r8a7794" if the device is a part of R8A7794 SoC.
1717
"renesas,gether-r8a77980" if the device is a part of R8A77980 SoC.
1818
"renesas,ether-r7s72100" if the device is a part of R7S72100 SoC.
19+
"renesas,ether-r7s9210" if the device is a part of R7S9210 SoC.
1920
"renesas,rcar-gen1-ether" for a generic R-Car Gen1 device.
2021
"renesas,rcar-gen2-ether" for a generic R-Car Gen2 or RZ/G1
2122
device.

Documentation/fb/uvesafb.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ than x86. Check the v86d documentation for a list of currently supported
1515
arches.
1616

1717
v86d source code can be downloaded from the following website:
18-
http://dev.gentoo.org/~spock/projects/uvesafb
18+
19+
https://github.com/mjanusz/v86d
1920

2021
Please refer to the v86d documentation for detailed configuration and
2122
installation instructions.
@@ -177,7 +178,7 @@ from the Video BIOS if you set pixclock to 0 in fb_var_screeninfo.
177178

178179
--
179180
Michal Januszewski <spock@gentoo.org>
180-
Last updated: 2009-03-30
181+
Last updated: 2017-10-10
181182

182183
Documentation of the uvesafb options is loosely based on vesafb.txt.
183184

Documentation/filesystems/vfs.txt

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ struct file_operations
848848
----------------------
849849

850850
This describes how the VFS can manipulate an open file. As of kernel
851-
4.1, the following members are defined:
851+
4.18, the following members are defined:
852852

853853
struct file_operations {
854854
struct module *owner;
@@ -858,11 +858,11 @@ struct file_operations {
858858
ssize_t (*read_iter) (struct kiocb *, struct iov_iter *);
859859
ssize_t (*write_iter) (struct kiocb *, struct iov_iter *);
860860
int (*iterate) (struct file *, struct dir_context *);
861+
int (*iterate_shared) (struct file *, struct dir_context *);
861862
__poll_t (*poll) (struct file *, struct poll_table_struct *);
862863
long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
863864
long (*compat_ioctl) (struct file *, unsigned int, unsigned long);
864865
int (*mmap) (struct file *, struct vm_area_struct *);
865-
int (*mremap)(struct file *, struct vm_area_struct *);
866866
int (*open) (struct inode *, struct file *);
867867
int (*flush) (struct file *, fl_owner_t id);
868868
int (*release) (struct inode *, struct file *);
@@ -882,6 +882,10 @@ struct file_operations {
882882
#ifndef CONFIG_MMU
883883
unsigned (*mmap_capabilities)(struct file *);
884884
#endif
885+
ssize_t (*copy_file_range)(struct file *, loff_t, struct file *, loff_t, size_t, unsigned int);
886+
int (*clone_file_range)(struct file *, loff_t, struct file *, loff_t, u64);
887+
int (*dedupe_file_range)(struct file *, loff_t, struct file *, loff_t, u64);
888+
int (*fadvise)(struct file *, loff_t, loff_t, int);
885889
};
886890

887891
Again, all methods are called without any locks being held, unless
@@ -899,6 +903,9 @@ otherwise noted.
899903

900904
iterate: called when the VFS needs to read the directory contents
901905

906+
iterate_shared: called when the VFS needs to read the directory contents
907+
when filesystem supports concurrent dir iterators
908+
902909
poll: called by the VFS when a process wants to check if there is
903910
activity on this file and (optionally) go to sleep until there
904911
is activity. Called by the select(2) and poll(2) system calls
@@ -951,6 +958,16 @@ otherwise noted.
951958

952959
fallocate: called by the VFS to preallocate blocks or punch a hole.
953960

961+
copy_file_range: called by the copy_file_range(2) system call.
962+
963+
clone_file_range: called by the ioctl(2) system call for FICLONERANGE and
964+
FICLONE commands.
965+
966+
dedupe_file_range: called by the ioctl(2) system call for FIDEDUPERANGE
967+
command.
968+
969+
fadvise: possibly called by the fadvise64() system call.
970+
954971
Note that the file operations are implemented by the specific
955972
filesystem in which the inode resides. When opening a device node
956973
(character or block special) most filesystems will call special

Documentation/media/uapi/dvb/video_function_calls.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ Video Function Calls
3333
video-clear-buffer
3434
video-set-streamtype
3535
video-set-format
36-
video-set-attributes

Documentation/process/changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pkg-config
8686

8787
The build system, as of 4.18, requires pkg-config to check for installed
8888
kconfig tools and to determine flags settings for use in
89-
'make {menu,n,g,x}config'. Previously pkg-config was being used but not
89+
'make {g,x}config'. Previously pkg-config was being used but not
9090
verified or documented.
9191

9292
Flex
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
Contributor Covenant Code of Conduct
2+
++++++++++++++++++++++++++++++++++++
3+
4+
Our Pledge
5+
==========
6+
7+
In the interest of fostering an open and welcoming environment, we as
8+
contributors and maintainers pledge to making participation in our project and
9+
our community a harassment-free experience for everyone, regardless of age, body
10+
size, disability, ethnicity, sex characteristics, gender identity and
11+
expression, level of experience, education, socio-economic status, nationality,
12+
personal appearance, race, religion, or sexual identity and orientation.
13+
14+
Our Standards
15+
=============
16+
17+
Examples of behavior that contributes to creating a positive environment
18+
include:
19+
20+
* Using welcoming and inclusive language
21+
* Being respectful of differing viewpoints and experiences
22+
* Gracefully accepting constructive criticism
23+
* Focusing on what is best for the community
24+
* Showing empathy towards other community members
25+
26+
27+
Examples of unacceptable behavior by participants include:
28+
29+
* The use of sexualized language or imagery and unwelcome sexual attention or
30+
advances
31+
* Trolling, insulting/derogatory comments, and personal or political attacks
32+
* Public or private harassment
33+
* Publishing others’ private information, such as a physical or electronic
34+
address, without explicit permission
35+
* Other conduct which could reasonably be considered inappropriate in a
36+
professional setting
37+
38+
39+
Our Responsibilities
40+
====================
41+
42+
Maintainers are responsible for clarifying the standards of acceptable behavior
43+
and are expected to take appropriate and fair corrective action in response to
44+
any instances of unacceptable behavior.
45+
46+
Maintainers have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
49+
contributor for other behaviors that they deem inappropriate, threatening,
50+
offensive, or harmful.
51+
52+
Scope
53+
=====
54+
55+
This Code of Conduct applies both within project spaces and in public spaces
56+
when an individual is representing the project or its community. Examples of
57+
representing a project or community include using an official project e-mail
58+
address, posting via an official social media account, or acting as an appointed
59+
representative at an online or offline event. Representation of a project may be
60+
further defined and clarified by project maintainers.
61+
62+
Enforcement
63+
===========
64+
65+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
66+
reported by contacting the Technical Advisory Board (TAB) at
67+
<tab@lists.linux-foundation.org>. All complaints will be reviewed and
68+
investigated and will result in a response that is deemed necessary and
69+
appropriate to the circumstances. The TAB is obligated to maintain
70+
confidentiality with regard to the reporter of an incident. Further details of
71+
specific enforcement policies may be posted separately.
72+
73+
Maintainers who do not follow or enforce the Code of Conduct in good faith may
74+
face temporary or permanent repercussions as determined by other members of the
75+
project’s leadership.
76+
77+
Attribution
78+
===========
79+
80+
This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
81+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

Documentation/process/code-of-conflict.rst

Lines changed: 0 additions & 28 deletions
This file was deleted.

Documentation/process/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Below are the essential guides that every developer should read.
2020
:maxdepth: 1
2121

2222
howto
23-
code-of-conflict
23+
code-of-conduct
2424
development-process
2525
submitting-patches
2626
coding-style

Documentation/scsi/scsi-parameters.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ parameters may be changed at runtime by the command
9797
allowing boot to proceed. none ignores them, expecting
9898
user space to do the scan.
9999

100+
scsi_mod.use_blk_mq=
101+
[SCSI] use blk-mq I/O path by default
102+
See SCSI_MQ_DEFAULT in drivers/scsi/Kconfig.
103+
Format: <y/n>
104+
100105
sim710= [SCSI,HW]
101106
See header of drivers/scsi/sim710.c.
102107

Documentation/virtual/kvm/api.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4510,7 +4510,8 @@ Do not enable KVM_FEATURE_PV_UNHALT if you disable HLT exits.
45104510
Architectures: s390
45114511
Parameters: none
45124512
Returns: 0 on success, -EINVAL if hpage module parameter was not set
4513-
or cmma is enabled
4513+
or cmma is enabled, or the VM has the KVM_VM_S390_UCONTROL
4514+
flag set
45144515

45154516
With this capability the KVM support for memory backing with 1m pages
45164517
through hugetlbfs can be enabled for a VM. After the capability is
@@ -4521,6 +4522,15 @@ hpage module parameter is not set to 1, -EINVAL is returned.
45214522
While it is generally possible to create a huge page backed VM without
45224523
this capability, the VM will not be able to run.
45234524

4525+
7.14 KVM_CAP_MSR_PLATFORM_INFO
4526+
4527+
Architectures: x86
4528+
Parameters: args[0] whether feature should be enabled or not
4529+
4530+
With this capability, a guest may read the MSR_PLATFORM_INFO MSR. Otherwise,
4531+
a #GP would be raised when the guest tries to access. Currently, this
4532+
capability does not enable write permissions of this MSR for the guest.
4533+
45244534
8. Other capabilities.
45254535
----------------------
45264536

0 commit comments

Comments
 (0)