Skip to content

Sync to v5.13 #399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 659 commits into from
Jun 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
659 commits
Select commit Hold shift + click to select a range
4bf584a
usb: dwc3: core: fix kernel panic when do reboot
Jun 8, 2021
478036c
powerpc: Fix initrd corruption with relative jump labels
mpe Jun 14, 2021
a33d626
afs: Fix an IS_ERR() vs NULL check
Jun 15, 2021
4692bc7
x86/sgx: Add missing xa_destroy() when virtual EPC is destroyed
kaihuang Jun 15, 2021
94f0b2d
proc: only require mm_struct for writing
torvalds Jun 15, 2021
475b92f
ptp: improve max_adj check against unreasonable values
kuba-moo Jun 14, 2021
e34492d
net: inline function get_net_ns_by_fd if NET_NS is disabled
changbindu Jun 14, 2021
c1a3d40
net: cdc_ncm: switch to eth%d interface naming
zenczykowski Jun 15, 2021
057d493
qmi_wwan: Do not call netif_rx from rx_fixup
kristrev Jun 15, 2021
7ea6cd1
lantiq: net: fix duplicated skb in rx descriptor ring
abajk Jun 15, 2021
a4f0377
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
davem330 Jun 15, 2021
c6d580d
usb: chipidea: imx: Fix Battery Charger 1.2 CDP detection
brenolimanxp Jun 14, 2021
60ed39d
Merge tag 'usb-v5.13-rc7' of git://git.kernel.org/pub/scm/linux/kerne…
gregkh Jun 16, 2021
6262e1b
printk: Move EXPORT_SYMBOL() closer to vprintk definition
punitagrawal Jun 14, 2021
2030043
can: j1939: fix Use-after-Free, hold skb ref while in use
olerem May 21, 2021
8d0caed
can: bcm/raw/isotp: use per module netdevice notifier
Jun 5, 2021
5e87ddb
can: bcm: fix infoleak in struct bcm_msg_head
Jun 12, 2021
91c0255
can: mcba_usb: fix memory leak in mcba_usb
pskrgag Jun 9, 2021
411efa1
drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
mripard May 25, 2021
9984d66
drm/vc4: hdmi: Make sure the controller is powered in detect
mripard May 25, 2021
cc9aaa2
Merge tag 'clang-features-v5.13-rc7' of git://git.kernel.org/pub/scm/…
torvalds Jun 16, 2021
6b00bc6
Merge tag 'dmaengine-fix-5.13' of git://git.kernel.org/pub/scm/linux/…
torvalds Jun 16, 2021
25182f0
mm,hwpoison: fix race with hugetlb page allocation
nhoriguchi Jun 16, 2021
099dd68
mm/swap: fix pte_same_as_swp() not removing uffd-wp bit when compare
xzpeter Jun 16, 2021
8669dba
mm/slub: clarify verification reporting
kees Jun 16, 2021
74c1d3e
mm/slub: fix redzoning for small allocations
kees Jun 16, 2021
e41a49f
mm/slub: actually fix freelist pointer vs redzoning
kees Jun 16, 2021
846be08
mm/hugetlb: expand restore_reserve_on_error functionality
mjkravetz Jun 16, 2021
e8675d2
mm/memory-failure: make sure wait for page writeback in memory_failure
Jun 16, 2021
4f5aecd
crash_core, vmcoreinfo: append 'SECTION_SIZE_BITS' to vmcoreinfo
liupingfan Jun 16, 2021
1b3865d
mm/slub.c: include swab.h
akpm00 Jun 16, 2021
ffc90cb
mm, thp: use head page in __migration_entry_wait()
vxuyu Jun 16, 2021
99fa8a4
mm/thp: fix __split_huge_pmd_locked() on shmem migration entry
Jun 16, 2021
3b77e8c
mm/thp: make is_huge_zero_pmd() safe and quicker
Jun 16, 2021
732ed55
mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
Jun 16, 2021
494334e
mm/thp: fix vma_address() if virtual address below file offset
Jun 16, 2021
3165717
mm/thp: fix page_address_in_vma() on file THP tails
jueatgithub Jun 16, 2021
22061a1
mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()
Jun 16, 2021
504e070
mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
yang-shi Jun 16, 2021
ccbd628
mm/sparse: fix check_usemap_section_nr warnings
milesdotchen Jun 16, 2021
7058521
Merge branch 'akpm' (patches from Andrew)
torvalds Jun 16, 2021
8f26910
net: stmmac: disable clocks in stmmac_remove_config_dt()
Jun 16, 2021
56b786d
net: usb: fix possible use-after-free in smsc75xx_bind
mudongliang Jun 16, 2021
cb3cefe
net: fec_ptp: add clock rate zero check
fugangduan Jun 16, 2021
d237656
net: fec_ptp: fix issue caused by refactor the fec_devtype
Jun 16, 2021
c0d982b
Merge branch 'fec-ptp-fixes'
davem330 Jun 16, 2021
d8e2973
net: ipv4: fix memory leak in ip_mc_add1_src
Jun 16, 2021
e82a35a
Merge tag 'linux-can-fixes-for-5.13-20210616' of git://git.kernel.org…
davem330 Jun 16, 2021
c7d2ef5
net/packet: annotate accesses to po->bind
edumazet Jun 16, 2021
e032f7c
net/packet: annotate accesses to po->ifindex
edumazet Jun 16, 2021
1d2ac20
Merge branch 'net-packet-data-races'
davem330 Jun 16, 2021
0fd158b
selftests: net: veth: make test compatible with dash
Jun 16, 2021
a494bd6
net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock
edumazet Jun 16, 2021
1b29df0
selftests: net: use bash to run udpgro_fwd test case
Jun 16, 2021
99718ab
r8152: Avoid memcpy() over-reading of ETH_SS_STATS
kees Jun 16, 2021
224004f
sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
kees Jun 16, 2021
da5ac77
r8169: Avoid memcpy() over-reading of ETH_SS_STATS
kees Jun 16, 2021
4cbbe34
drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
yifancom Jun 10, 2021
1c0b0ef
drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full d…
yifancom Jun 10, 2021
e73a99f
s390/ap: Fix hanging ioctl caused by wrong msg counter
hfreude Jun 1, 2021
94a4b84
net/mlx5: Fix error path for set HCA defaults
rleon Mar 8, 2021
2058cc9
net/mlx5: Check that driver was probed prior attaching the device
rleon Mar 21, 2021
bbc8222
net/mlx5: E-Switch, Read PF mac address
paravmellanox Jun 8, 2021
ca36fc4
net/mlx5: E-Switch, Allow setting GUID for host PF vport
paravmellanox Jun 8, 2021
c7d6c19
net/mlx5: SF_DEV, remove SF device on invalid state
paravmellanox Jun 10, 2021
65fb7d1
net/mlx5: DR, Fix STEv1 incorrect L3 decapsulation padding
alexvesker Jun 1, 2021
a5ae8fc
net/mlx5e: Don't create devices during unload flow
DmytroLinkin May 14, 2021
0232fc2
net/mlx5: Reset mkey index on creation
ayalevin Jun 10, 2021
f9f28e5
btrfs: zoned: fix negative space_info->bytes_readonly
naota Jun 17, 2021
a13d0f8
Merge tag 'irqchip-fixes-5.13-2' of git://git.kernel.org/pub/scm/linu…
KAGA-KOKO Jun 17, 2021
a7d8d1c
usb: core: hub: Disable autosuspend for Cypress CY7C65632
lunn Jun 14, 2021
39519f6
Merge tag 'fixes_for_v5.13-rc7' of git://git.kernel.org/pub/scm/linux…
torvalds Jun 17, 2021
d8ac05e
KVM: selftests: Fix kvm_check_cap() assertion
Jun 15, 2021
c19c8c0
be2net: Fix an error handling path in 'be_probe()'
tititiou36 Jun 16, 2021
7edcc68
net: hamradio: fix memory leak in mkiss_close
pskrgag Jun 16, 2021
bc39f67
Merge tag 'mlx5-fixes-2021-06-16' of git://git.kernel.org/pub/scm/lin…
davem330 Jun 17, 2021
c3b26fd
net: cdc_eem: fix tx fixup skb leak
Jun 16, 2021
1c200f8
net: qed: Fix memcpy() overflow of qed_dcbx_params()
kees Jun 17, 2021
fd0aa1a
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
torvalds Jun 17, 2021
c55338d
Merge tag 'amd-drm-fixes-5.13-2021-06-16' of https://gitlab.freedeskt…
airlied Jun 18, 2021
60b7ed5
powerpc/perf: Fix crash in perf_instruction_pointer() when ppmu is no…
athira-rajeev Jun 17, 2021
76b7f8f
pinctrl: microchip-sgpio: Put fwnode in error case during ->probe()
andy-shev Jun 6, 2021
1236af3
mac80211: minstrel_ht: fix sample time check
nbd168 Jun 17, 2021
b564247
cfg80211: make certificate generation more robust
jmberg-intel Jun 18, 2021
0288e5e
cfg80211: avoid double free of PMSR request
AviStern Jun 18, 2021
bbc6f03
mac80211: reset profile_periodicity/ema_ap
jmberg-intel Jun 18, 2021
652e836
mac80211: handle various extensible elements correctly
jmberg-intel Jun 18, 2021
67e2996
pinctrl: stm32: fix the reported number of GPIO lines per bank
Jun 17, 2021
fb78076
recordmcount: Correct st_shndx handling
Jun 16, 2021
85550c8
tracing: Do not stop recording cmdlines when tracing is off
rostedt Jun 17, 2021
4fdd595
tracing: Do not stop recording comms if the trace file is being read
rostedt Jun 17, 2021
89529d8
tracing: Do no increment trace_clock_global() by one
rostedt Jun 17, 2021
3bd6b82
PCI: of: Clear 64-bit flag for non-prefetchable memory below 4GB
punitagrawal Jun 14, 2021
a512360
PCI: tegra194: Fix MCFG quirk build regressions
jonhunter Jun 10, 2021
b5cf198
PCI: Mark TI C667X to avoid bus reset
antti-j Mar 15, 2021
4c207e7
PCI: Mark some NVIDIA GPUs to avoid bus reset
shankerd04 Jun 8, 2021
ce00322
PCI: Work around Huawei Intelligent NIC VF FLR erratum
May 24, 2021
e8946a5
PCI: Mark AMD Navi14 GPU ATS as broken
Jun 2, 2021
db2f77e
PCI: Add ACS quirk for Broadcom BCM57414 NIC
sbasavapatna May 22, 2021
cacf994
PCI: Add AMD RS690 quirk to enable 64-bit DMA
mikelr Jun 11, 2021
f181399
PCI: aardvark: Fix kernel panic during PIO transfer
pali Jun 8, 2021
c3bf96e
Merge tag 'drm-fixes-2021-06-18' of git://anongit.freedesktop.org/drm…
torvalds Jun 18, 2021
28e5e44
x86/mm: Avoid truncating memblocks for SGX memory
fengyuleidian0615 Jun 17, 2021
e2c8f8e
Merge tag 'usb-5.13-rc7' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jun 18, 2021
944293b
Merge tag 'pm-5.13-rc7' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Jun 18, 2021
0f4022a
Merge tag 'printk-for-5.13-fixup' of git://git.kernel.org/pub/scm/lin…
torvalds Jun 18, 2021
89fec74
Merge tag 'trace-v5.13-rc6' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Jun 18, 2021
b1edae0
Merge tag 'arc-5.13-rc7-fixes' of git://git.kernel.org/pub/scm/linux/…
torvalds Jun 18, 2021
39eb028
cxgb4: fix wrong shift.
Jun 18, 2021
0afd6a4
bnxt_en: Rediscover PHY capabilities after firmware reset
Jun 18, 2021
c12e164
bnxt_en: Fix TQM fastpath ring backing store computation
rukbrcm Jun 18, 2021
03400aa
bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
skotur-brcm Jun 18, 2021
b6a258c
Merge branch 'bnxt_en-fixes'
davem330 Jun 18, 2021
35036d6
MAINTAINERS: add Guvenc as SMC maintainer
karstengr Jun 18, 2021
6aa3221
net: ll_temac: Make sure to free skb when it is completely used
esben Jun 18, 2021
28d9fab
net: ll_temac: Add memory-barriers for TX BD access
esben Jun 18, 2021
c364df2
net: ll_temac: Fix TX BD buffer overwrite
esben Jun 18, 2021
f639634
net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY
esben Jun 18, 2021
3218274
icmp: don't send out ICMP messages with a source address of 0.0.0.0
tohojo Jun 18, 2021
7e9838b
selftests/net: Add icmp.sh for testing ICMP dummy address responses
tohojo Jun 18, 2021
0d1dc9e
Merge tag 'mac80211-for-net-2021-06-18' of git://git.kernel.org/pub/s…
davem330 Jun 18, 2021
9cca0c2
net: ethernet: fix potential use-after-free in ec_bhf_remove
pskrgag Jun 18, 2021
9620ad8
afs: Re-enable freezing once a page fault is interrupted
Jun 16, 2021
728a748
Merge tag 'pci-v5.13-fixes-2' of git://git.kernel.org/pub/scm/linux/k…
torvalds Jun 18, 2021
6fab154
Merge tag 'for-5.13-rc6-tag' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Jun 18, 2021
9ed13a1
Merge tag 'net-5.13-rc7' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Jun 19, 2021
7dd753c
scsi: sr: Return appropriate error code when disk is ejected
Manyi-Li Jun 11, 2021
314b781
riscv: kasan: Fix MODULES_VADDR evaluation due to local variables' name
xhackerustc Jun 18, 2021
3a02764
riscv: Ensure BPF_JIT_REGION_START aligned with PMD size
xhackerustc Jun 18, 2021
7ede12b
riscv: dts: fu740: fix cache-controller interrupts
Jun 13, 2021
fc96ec4
perf metricgroup: Fix find_evsel_group() event selector
Jun 10, 2021
fe7a98b
perf metricgroup: Return error code from metricgroup__add_metric_sys_…
Jun 10, 2021
c087e94
perf machine: Fix refcount usage when processing PERF_RECORD_KSYMBOL
Manciukic Jun 12, 2021
482698c
perf test: Fix non-bash issue with stat bpf counters
captain5050 Jun 17, 2021
ef83f9e
perf beauty: Update copy of linux/socket.h with the kernel sources
acmel Jun 19, 2021
17d27fc
tools headers UAPI: Sync asm-generic/unistd.h with the kernel original
acmel Jun 19, 2021
1792a59
tools headers UAPI: Sync linux/in.h copy with the kernel sources
acmel Jun 19, 2021
e14c779
Merge tag 's390-5.13-4' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Jun 19, 2021
d9403d3
Merge tag 'riscv-for-linus-5.13-rc7' of git://git.kernel.org/pub/scm/…
torvalds Jun 19, 2021
e484028
drm: atmel_hlcdc: Enable the crtc vblank prior to crtc usage.
djsaz Jun 2, 2021
af42167
drm/panel: ld9040: reference spi_device_id table
krzk May 26, 2021
e541845
drm/atmel-hlcdc: Allow async page flips
djsaz Mar 30, 2021
913ec3c
Merge tag 'perf-tools-fixes-for-v5.13-2021-06-19' of git://git.kernel…
torvalds Jun 19, 2021
b84a7c2
Merge tag 'powerpc-5.13-6' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Jun 19, 2021
8363e79
Merge tag 'x86_urgent_for_v5.13_rc6' of git://git.kernel.org/pub/scm/…
torvalds Jun 20, 2021
9df7f15
Merge tag 'irq_urgent_for_v5.13_rc6' of git://git.kernel.org/pub/scm/…
torvalds Jun 20, 2021
cba5e97
Merge tag 'sched_urgent_for_v5.13_rc6' of git://git.kernel.org/pub/sc…
torvalds Jun 20, 2021
065b621
i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i8…
hkallweit Jun 6, 2021
2269583
i2c: cp2615: check for allocation failure in cp2615_i2c_recv()
May 12, 2021
13311e7
Linux 5.13-rc7
torvalds Jun 20, 2021
fc66127
s390: fix system call restart with multiple signals
svens-s390 Jun 11, 2021
ca1f4d7
s390: clear pt_regs::flags on irq entry
svens-s390 Jun 11, 2021
8c0795d
s390/vfio-ap: clean up mdev resources when remove callback invoked
Jun 9, 2021
9e3d62d
s390/topology: clear thread/group maps for offline cpus
svens-s390 Jun 15, 2021
67147e9
s390/stack: fix possible register corruption with stack switch helper
hcahca Jun 18, 2021
5f89468
swiotlb: manipulate orig_addr when tlb_addr has offset
bumyonglee May 10, 2021
31197d3
objtool/x86: Ignore __x86_indirect_alt_* symbols
Jun 21, 2021
1815d9c
drm: add a locked version of drm_is_current_master
desmondcheongzx Jun 20, 2021
a96bfed
Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
torvalds Jun 21, 2021
3093e6c
gpio: mxc: Fix disabled interrupt wake-up support
Jun 17, 2021
66e9c6a
afs: Fix afs_write_end() to handle short writes
dhowells Jun 14, 2021
827a746
netfs: fix test for whether we can skip read when writing beyond EOF
jtlayton Jun 13, 2021
4c6a231
drm/amdgpu: Call drm_framebuffer_init last for framebuffer init
Jun 16, 2021
baacf52
Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cove…
yifancom Jun 19, 2021
ee5468b
Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue."
yifancom Jun 19, 2021
cb8f63b
gpiolib: cdev: zero padding during conversion to gpioline_info_changed
Jun 21, 2021
f54b3ca
Revert "drm: add a locked version of drm_is_current_master"
danvet Jun 22, 2021
9301982
x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate()
KAGA-KOKO Jun 18, 2021
f9dfb5e
x86/fpu: Make init_fpstate correct with optimized XSAVE
KAGA-KOKO Jun 18, 2021
27171ae
ceph: must hold snap_rwsem when filling inode for async create
jtlayton Jun 1, 2021
7a971e2
ceph: fix error handling in ceph_atomic_open and ceph_lookup
jtlayton Jun 2, 2021
240001d
x86/entry: Fix noinstr fail in __do_fast_syscall_32()
Jun 21, 2021
84e6006
x86/xen: Fix noinstr fail in xen_pv_evtchn_do_upcall()
Jun 21, 2021
4c9c26f
x86/xen: Fix noinstr fail in exc_xen_unknown_trap()
Jun 21, 2021
1f008d4
x86: Always inline task_size_max()
Jun 21, 2021
49faa77
locking/lockdep: Improve noinstr vs errors
Jun 21, 2021
fdaba61
sched/fair: Ensure that the CFS parent is added after unthrottling
rikvanriel Jun 21, 2021
17b11f7
drm/nouveau: wait for moving fence after pinning v2
ChristianKoenigAMD Jun 21, 2021
4b41726
drm/radeon: wait for moving fence after pinning
ChristianKoenigAMD Jun 21, 2021
8ddf5b9
drm/amdgpu: wait for moving fence after pinning
ChristianKoenigAMD Jun 21, 2021
399f8dd
signal: Prevent sigqueue caching after task got released
KAGA-KOKO Jun 21, 2021
4d6035f
Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
rafaeljw Jun 22, 2021
6fd8f32
drm/kmb: Fix error return code in kmb_hw_init()
May 13, 2021
0c18f29
module: limit enabling module.sig_enforce
mimizohar Jun 22, 2021
d1b7f92
scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART)
Jun 17, 2021
8fd2ed1
Merge branch 'stable/for-linus-5.14' of git://git.kernel.org/pub/scm/…
torvalds Jun 23, 2021
7266f20
Merge tag 'pm-5.13-rc8' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Jun 23, 2021
5dca69e
software node: Handle software node injection to an existing device p…
Jun 23, 2021
7426ced
Merge tag 'spi-fix-v5.13-rc7' of git://git.kernel.org/pub/scm/linux/k…
torvalds Jun 23, 2021
7f049fb
perf/x86/intel/lbr: Zero the xstate buffer on allocation
KAGA-KOKO Jun 11, 2021
efea0c1
Merge tag 'amd-drm-fixes-5.13-2021-06-21' of https://gitlab.freedeskt…
airlied Jun 24, 2021
309505d
KVM: selftests: Fix mapping length truncation in m{,un}map()
Jun 24, 2021
10043bb
ASoC: rt5645: Avoid upgrading static warnings to errors
broonie Jun 8, 2021
5c6d4f9
MAINTAINERS: remove Timur Tabi from Freescale SOC sound drivers
Jun 20, 2021
3de218f
xen/events: reset active flag for lateeoi events later
jgross1 Jun 23, 2021
d330099
drm/nouveau: fix dma_address check for CPU/GPU sync
ChristianKoenigAMD Jun 11, 2021
c0e4578
Merge tag 'objtool-urgent-2021-06-24' of git://git.kernel.org/pub/scm…
torvalds Jun 24, 2021
f8be156
KVM: do not allow mapping valid but non-reference-counted pages
npiggin Jun 24, 2021
df50110
Merge tag 'perf-urgent-2021-06-24' of git://git.kernel.org/pub/scm/li…
torvalds Jun 24, 2021
6667517
Merge tag 'sched-urgent-2021-06-24' of git://git.kernel.org/pub/scm/l…
torvalds Jun 24, 2021
7749b03
Merge tag 'core-urgent-2021-06-24' of git://git.kernel.org/pub/scm/li…
torvalds Jun 24, 2021
4a09d38
Merge tag 'mmc-v5.13-rc6' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Jun 24, 2021
3c0d089
libceph: don't pass result into ac->ops->handle_reply()
idryomov Jun 21, 2021
03af4c7
libceph: set global_id as soon as we get an auth ticket
idryomov Jun 21, 2021
3265a7e
i2c: dev: Add __user annotation
Jun 24, 2021
5e0e7a4
Merge tag 'drm-misc-fixes-2021-06-24' of git://anongit.freedesktop.or…
airlied Jun 24, 2021
4ca070e
i2c: robotfuzz-osif: fix control-request directions
jhovold May 24, 2021
44db63d
Merge tag 'drm-fixes-2021-06-25' of git://anongit.freedesktop.org/drm…
torvalds Jun 24, 2021
f003c03
mm: page_vma_mapped_walk(): use page for pvmw->page
Jun 25, 2021
6d0fd59
mm: page_vma_mapped_walk(): settle PageHuge on entry
Jun 25, 2021
3306d31
mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
Jun 25, 2021
e2e1d40
mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
Jun 25, 2021
4482824
mm: page_vma_mapped_walk(): crossing page table boundary
Jun 25, 2021
b3807a9
mm: page_vma_mapped_walk(): add a level of indentation
Jun 25, 2021
4744663
mm: page_vma_mapped_walk(): use goto instead of while (1)
Jun 25, 2021
a765c41
mm: page_vma_mapped_walk(): get vma_address_end() earlier
Jun 25, 2021
a9a7504
mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
Jun 25, 2021
a7a69d8
mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
Jun 25, 2021
8fd0c1b
nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
pskrgag Jun 25, 2021
15a64f5
mm/vmalloc: add vmalloc_no_huge
Jun 25, 2021
185cca2
KVM: s390: prepare for hugepage vmalloc
Jun 25, 2021
7ca3027
mm/vmalloc: unbreak kasan vmalloc support
daxtens Jun 25, 2021
34b3d53
kthread_worker: split code for canceling the delayed work timer
pmladek Jun 25, 2021
5fa5434
kthread: prevent deadlock when kthread_mod_delayed_work() races with …
pmladek Jun 25, 2021
fe19bd3
mm, futex: fix shared futex pgoff on shmem huge page
Jun 25, 2021
171936d
mm/memory-failure: use a mutex to avoid memory_failure() races
aegl Jun 25, 2021
47af12b
mm,hwpoison: return -EHWPOISON to denote that the page has already be…
Jun 25, 2021
ea6d063
mm/hwpoison: do not lock page again when me_huge_page() successfully …
nhoriguchi Jun 25, 2021
b08e50d
mm/page_alloc: __alloc_pages_bulk(): do bounds check before accessing…
Villemoes Jun 25, 2021
b3b64eb
mm/page_alloc: do bulk array bounds check after checking populated el…
gormanm Jun 25, 2021
ee924d3
MAINTAINERS: fix Marek's identity again
elkablo Jun 25, 2021
72a461a
mailmap: add Marek's other e-mail address and identity without diacri…
elkablo Jun 25, 2021
c6414e1
gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
jmberg-intel Jun 25, 2021
e41fc7c
Merge tag 'sound-5.13-rc8' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Jun 25, 2021
c13e302
Merge tag 'gpio-fixes-for-v5.13' of git://git.kernel.org/pub/scm/linu…
torvalds Jun 25, 2021
9e736cf
Merge tag 'netfs-fixes-20210621' of git://git.kernel.org/pub/scm/linu…
torvalds Jun 25, 2021
edf54d9
Merge tag 'ceph-for-5.13-rc8' of https://github.com/ceph/ceph-client
torvalds Jun 25, 2021
94ca94b
Merge tag 'x86_urgent_for_v5.13' of git://git.kernel.org/pub/scm/linu…
torvalds Jun 25, 2021
616a99d
Merge tag 'for-linus-urgent' of git://git.kernel.org/pub/scm/virt/kvm…
torvalds Jun 25, 2021
b960e01
Merge tag 'for-linus-5.13b-rc8-tag' of git://git.kernel.org/pub/scm/l…
torvalds Jun 25, 2021
7764c62
Merge tag 'devprop-5.13-rc8' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Jun 25, 2021
55fcd44
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/…
torvalds Jun 25, 2021
808e9df
userfaultfd: uapi: fix UFFDIO_CONTINUE ioctl request definition
glebfm Jun 25, 2021
7ce32ac
Merge branch 'akpm' (patches from Andrew)
torvalds Jun 25, 2021
e2f527b
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g…
torvalds Jun 25, 2021
b7050b2
Merge tag 'pinctrl-v5.13-3' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Jun 26, 2021
625acff
Merge tag 's390-5.13-5' of git://git.kernel.org/pub/scm/linux/kernel/…
torvalds Jun 26, 2021
b4b27b9
Revert "signal: Allow tasks to cache one sigqueue struct"
torvalds Jun 27, 2021
62fb987
Linux 5.13
torvalds Jun 27, 2021
5cf50dd
Merge tag 'v5.13' into sync
ojeda Jun 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 11 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ ForEachMacros:
- 'css_for_each_child'
- 'css_for_each_descendant_post'
- 'css_for_each_descendant_pre'
- 'cxl_for_each_cmd'
- 'device_for_each_child_node'
- 'displayid_iter_for_each'
- 'dma_fence_chain_for_each'
- 'do_for_each_ftrace_op'
- 'drm_atomic_crtc_for_each_plane'
Expand All @@ -136,6 +136,7 @@ ForEachMacros:
- 'drm_mm_for_each_node_in_range'
- 'drm_mm_for_each_node_safe'
- 'flow_action_for_each'
- 'for_each_acpi_dev_match'
- 'for_each_active_dev_scope'
- 'for_each_active_drhd_unit'
- 'for_each_active_iommu'
Expand Down Expand Up @@ -171,14 +172,14 @@ ForEachMacros:
- 'for_each_dapm_widgets'
- 'for_each_dev_addr'
- 'for_each_dev_scope'
- 'for_each_displayid_db'
- 'for_each_dma_cap_mask'
- 'for_each_dpcm_be'
- 'for_each_dpcm_be_rollback'
- 'for_each_dpcm_be_safe'
- 'for_each_dpcm_fe'
- 'for_each_drhd_unit'
- 'for_each_dss_dev'
- 'for_each_dtpm_table'
- 'for_each_efi_memory_desc'
- 'for_each_efi_memory_desc_in_map'
- 'for_each_element'
Expand Down Expand Up @@ -215,6 +216,7 @@ ForEachMacros:
- 'for_each_migratetype_order'
- 'for_each_msi_entry'
- 'for_each_msi_entry_safe'
- 'for_each_msi_vector'
- 'for_each_net'
- 'for_each_net_continue_reverse'
- 'for_each_netdev'
Expand Down Expand Up @@ -270,6 +272,12 @@ ForEachMacros:
- 'for_each_prime_number_from'
- 'for_each_process'
- 'for_each_process_thread'
- 'for_each_prop_codec_conf'
- 'for_each_prop_dai_codec'
- 'for_each_prop_dai_cpu'
- 'for_each_prop_dlc_codecs'
- 'for_each_prop_dlc_cpus'
- 'for_each_prop_dlc_platforms'
- 'for_each_property_of_node'
- 'for_each_registered_fb'
- 'for_each_requested_gpio'
Expand Down Expand Up @@ -430,6 +438,7 @@ ForEachMacros:
- 'queue_for_each_hw_ctx'
- 'radix_tree_for_each_slot'
- 'radix_tree_for_each_tagged'
- 'rb_for_each'
- 'rbtree_postorder_for_each_entry_safe'
- 'rdma_for_each_block'
- 'rdma_for_each_port'
Expand Down
2 changes: 2 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ Manivannan Sadhasivam <mani@kernel.org> <manivannanece23@gmail.com>
Manivannan Sadhasivam <mani@kernel.org> <manivannan.sadhasivam@linaro.org>
Marcin Nowakowski <marcin.nowakowski@mips.com> <marcin.nowakowski@imgtec.com>
Marc Zyngier <maz@kernel.org> <marc.zyngier@arm.com>
Marek Behún <kabel@kernel.org> <marek.behun@nic.cz>
Marek Behún <kabel@kernel.org> Marek Behun <marek.behun@nic.cz>
Mark Brown <broonie@sirena.org.uk>
Mark Starovoytov <mstarovo@pm.me> <mstarovoitov@marvell.com>
Mark Yao <markyao0591@gmail.com> <mark.yao@rock-chips.com>
Expand Down
15 changes: 15 additions & 0 deletions Documentation/devicetree/bindings/connector/usb-connector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,17 @@ properties:
maxItems: 6
$ref: /schemas/types.yaml#/definitions/uint32-array

sink-vdos-v1:
description: An array of u32 with each entry, a Vendor Defined Message Object (VDO),
providing additional information corresponding to the product, the detailed bit
definitions and the order of each VDO can be found in
"USB Power Delivery Specification Revision 2.0, Version 1.3" chapter 6.4.4.3.1 Discover
Identity. User can specify the VDO array via VDO_IDH/_CERT/_PRODUCT/_CABLE/_AMA defined in
dt-bindings/usb/pd.h.
minItems: 3
maxItems: 6
$ref: /schemas/types.yaml#/definitions/uint32-array

op-sink-microwatt:
description: Sink required operating power in microwatt, if source can't
offer the power, Capability Mismatch is set. Required for power sink and
Expand Down Expand Up @@ -207,6 +218,10 @@ properties:
SNK_READY for non-pd link.
type: boolean

dependencies:
sink-vdos-v1: [ 'sink-vdos' ]
sink-vdos: [ 'sink-vdos-v1' ]

required:
- compatible

Expand Down
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/hwmon/ti,ads7828.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ examples:
#size-cells = <0>;

adc@48 {
comatible = "ti,ads7828";
compatible = "ti,ads7828";
reg = <0x48>;
vref-supply = <&vref>;
ti,differential-input;
Expand Down
4 changes: 1 addition & 3 deletions Documentation/devicetree/bindings/media/renesas,drif.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ properties:
maxItems: 1

clock-names:
maxItems: 1
items:
- const: fck
const: fck

resets:
maxItems: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ patternProperties:
rate
sound-dai:
$ref: /schemas/types.yaml#/definitions/phandle
$ref: /schemas/types.yaml#/definitions/phandle-array
description: phandle of the CPU DAI

patternProperties:
Expand All @@ -71,7 +71,7 @@ patternProperties:
properties:
sound-dai:
$ref: /schemas/types.yaml#/definitions/phandle
$ref: /schemas/types.yaml#/definitions/phandle-array
description: phandle of the codec DAI

required:
Expand Down
4 changes: 2 additions & 2 deletions Documentation/riscv/vm-layout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ RISC-V Linux Kernel SV39
|
____________________________________________________________|____________________________________________________________
| | | |
ffffffff00000000 | -4 GB | ffffffff7fffffff | 2 GB | modules
ffffffff80000000 | -2 GB | ffffffffffffffff | 2 GB | kernel, BPF
ffffffff00000000 | -4 GB | ffffffff7fffffff | 2 GB | modules, BPF
ffffffff80000000 | -2 GB | ffffffffffffffff | 2 GB | kernel
__________________|____________|__________________|_________|____________________________________________________________
4 changes: 2 additions & 2 deletions Documentation/virt/kvm/mmu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ Shadow pages contain the following information:
shadow pages) so role.quadrant takes values in the range 0..3. Each
quadrant maps 1GB virtual address space.
role.access:
Inherited guest access permissions in the form uwx. Note execute
permission is positive, not negative.
Inherited guest access permissions from the parent ptes in the form uwx.
Note execute permission is positive, not negative.
role.invalid:
The page is invalid and should not be used. It is a root page that is
currently pinned (by a cpu hardware register pointing to it); once it is
Expand Down
10 changes: 5 additions & 5 deletions Documentation/vm/slub.rst
Original file line number Diff line number Diff line change
Expand Up @@ -181,18 +181,18 @@ SLUB Debug output
Here is a sample of slub debug output::

====================================================================
BUG kmalloc-8: Redzone overwritten
BUG kmalloc-8: Right Redzone overwritten
--------------------------------------------------------------------

INFO: 0xc90f6d28-0xc90f6d2b. First byte 0x00 instead of 0xcc
INFO: Slab 0xc528c530 flags=0x400000c3 inuse=61 fp=0xc90f6d58
INFO: Object 0xc90f6d20 @offset=3360 fp=0xc90f6d58
INFO: Allocated in get_modalias+0x61/0xf5 age=53 cpu=1 pid=554

Bytes b4 0xc90f6d10: 00 00 00 00 00 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a ........ZZZZZZZZ
Object 0xc90f6d20: 31 30 31 39 2e 30 30 35 1019.005
Redzone 0xc90f6d28: 00 cc cc cc .
Padding 0xc90f6d50: 5a 5a 5a 5a 5a 5a 5a 5a ZZZZZZZZ
Bytes b4 (0xc90f6d10): 00 00 00 00 00 00 00 00 5a 5a 5a 5a 5a 5a 5a 5a ........ZZZZZZZZ
Object (0xc90f6d20): 31 30 31 39 2e 30 30 35 1019.005
Redzone (0xc90f6d28): 00 cc cc cc .
Padding (0xc90f6d50): 5a 5a 5a 5a 5a 5a 5a 5a ZZZZZZZZ

[<c010523d>] dump_trace+0x63/0x1eb
[<c01053df>] show_trace_log_lvl+0x1a/0x2f
Expand Down
13 changes: 10 additions & 3 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,7 @@ F: drivers/pinctrl/pinctrl-gemini.c
F: drivers/rtc/rtc-ftrtc010.c

ARM/CZ.NIC TURRIS SUPPORT
M: Marek Behun <kabel@kernel.org>
M: Marek Behún <kabel@kernel.org>
S: Maintained
W: https://www.turris.cz/
F: Documentation/ABI/testing/debugfs-moxtet
Expand Down Expand Up @@ -7354,7 +7354,6 @@ F: drivers/net/ethernet/freescale/fs_enet/
F: include/linux/fs_enet_pd.h

FREESCALE SOC SOUND DRIVERS
M: Timur Tabi <timur@kernel.org>
M: Nicolin Chen <nicoleotsuka@gmail.com>
M: Xiubo Li <Xiubo.Lee@gmail.com>
R: Fabio Estevam <festevam@gmail.com>
Expand Down Expand Up @@ -10946,7 +10945,7 @@ F: include/linux/mv643xx.h

MARVELL MV88X3310 PHY DRIVER
M: Russell King <linux@armlinux.org.uk>
M: Marek Behun <marek.behun@nic.cz>
M: Marek Behún <kabel@kernel.org>
L: netdev@vger.kernel.org
S: Maintained
F: drivers/net/phy/marvell10g.c
Expand Down Expand Up @@ -16574,6 +16573,7 @@ F: drivers/misc/sgi-xp/

SHARED MEMORY COMMUNICATIONS (SMC) SOCKETS
M: Karsten Graul <kgraul@linux.ibm.com>
M: Guvenc Gulce <guvenc@linux.ibm.com>
L: linux-s390@vger.kernel.org
S: Supported
W: http://www.ibm.com/developerworks/linux/linux390/
Expand Down Expand Up @@ -18887,6 +18887,13 @@ S: Maintained
F: drivers/usb/host/isp116x*
F: include/linux/usb/isp116x.h

USB ISP1760 DRIVER
M: Rui Miguel Silva <rui.silva@linaro.org>
L: linux-usb@vger.kernel.org
S: Maintained
F: drivers/usb/isp1760/*
F: Documentation/devicetree/bindings/usb/nxp,isp1760.yaml

USB LAN78XX ETHERNET DRIVER
M: Woojung Huh <woojung.huh@microchip.com>
M: UNGLinuxDriver@microchip.com
Expand Down
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
VERSION = 5
PATCHLEVEL = 13
SUBLEVEL = 0
EXTRAVERSION = -rc5
NAME = Frozen Wasteland
EXTRAVERSION =
NAME = Opossums on Parade

# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
Expand Down Expand Up @@ -1011,11 +1011,14 @@ CC_FLAGS_LTO += -fvisibility=hidden
# Limit inlining across translation units to reduce binary size
KBUILD_LDFLAGS += -mllvm -import-instr-limit=5

# Check for frame size exceeding threshold during prolog/epilog insertion.
# Check for frame size exceeding threshold during prolog/epilog insertion
# when using lld < 13.0.0.
ifneq ($(CONFIG_FRAME_WARN),0)
ifeq ($(shell test $(CONFIG_LLD_VERSION) -lt 130000; echo $$?),0)
KBUILD_LDFLAGS += -plugin-opt=-warn-stack-size=$(CONFIG_FRAME_WARN)
endif
endif
endif

ifdef CONFIG_LTO
KBUILD_CFLAGS += -fno-lto $(CC_FLAGS_LTO)
Expand Down
1 change: 1 addition & 0 deletions arch/arc/include/uapi/asm/sigcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
struct sigcontext {
struct user_regs_struct regs;
struct user_regs_arcv2 v2abi;
};

#endif /* _ASM_ARC_SIGCONTEXT_H */
43 changes: 43 additions & 0 deletions arch/arc/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,41 @@ struct rt_sigframe {
unsigned int sigret_magic;
};

static int save_arcv2_regs(struct sigcontext *mctx, struct pt_regs *regs)
{
int err = 0;
#ifndef CONFIG_ISA_ARCOMPACT
struct user_regs_arcv2 v2abi;

v2abi.r30 = regs->r30;
#ifdef CONFIG_ARC_HAS_ACCL_REGS
v2abi.r58 = regs->r58;
v2abi.r59 = regs->r59;
#else
v2abi.r58 = v2abi.r59 = 0;
#endif
err = __copy_to_user(&mctx->v2abi, &v2abi, sizeof(v2abi));
#endif
return err;
}

static int restore_arcv2_regs(struct sigcontext *mctx, struct pt_regs *regs)
{
int err = 0;
#ifndef CONFIG_ISA_ARCOMPACT
struct user_regs_arcv2 v2abi;

err = __copy_from_user(&v2abi, &mctx->v2abi, sizeof(v2abi));

regs->r30 = v2abi.r30;
#ifdef CONFIG_ARC_HAS_ACCL_REGS
regs->r58 = v2abi.r58;
regs->r59 = v2abi.r59;
#endif
#endif
return err;
}

static int
stash_usr_regs(struct rt_sigframe __user *sf, struct pt_regs *regs,
sigset_t *set)
Expand Down Expand Up @@ -94,6 +129,10 @@ stash_usr_regs(struct rt_sigframe __user *sf, struct pt_regs *regs,

err = __copy_to_user(&(sf->uc.uc_mcontext.regs.scratch), &uregs.scratch,
sizeof(sf->uc.uc_mcontext.regs.scratch));

if (is_isa_arcv2())
err |= save_arcv2_regs(&(sf->uc.uc_mcontext), regs);

err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(sigset_t));

return err ? -EFAULT : 0;
Expand All @@ -109,6 +148,10 @@ static int restore_usr_regs(struct pt_regs *regs, struct rt_sigframe __user *sf)
err |= __copy_from_user(&uregs.scratch,
&(sf->uc.uc_mcontext.regs.scratch),
sizeof(sf->uc.uc_mcontext.regs.scratch));

if (is_isa_arcv2())
err |= restore_arcv2_regs(&(sf->uc.uc_mcontext), regs);

if (err)
return -EFAULT;

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ SECTIONS
.init.ramfs : { INIT_RAM_FS }

. = ALIGN(PAGE_SIZE);
_stext = .;

HEAD_TEXT_SECTION
INIT_TEXT_SECTION(L1_CACHE_BYTES)
Expand All @@ -83,6 +82,7 @@ SECTIONS

.text : {
_text = .;
_stext = .;
TEXT_TEXT
SCHED_TEXT
CPUIDLE_TEXT
Expand Down
5 changes: 3 additions & 2 deletions arch/arm/include/asm/cpuidle.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
#ifdef CONFIG_CPU_IDLE
extern int arm_cpuidle_simple_enter(struct cpuidle_device *dev,
struct cpuidle_driver *drv, int index);
#define __cpuidle_method_section __used __section("__cpuidle_method_of_table")
#else
static inline int arm_cpuidle_simple_enter(struct cpuidle_device *dev,
struct cpuidle_driver *drv, int index) { return -ENODEV; }
#define __cpuidle_method_section __maybe_unused /* drop silently */
#endif

/* Common ARM WFI state */
Expand Down Expand Up @@ -42,8 +44,7 @@ struct of_cpuidle_method {

#define CPUIDLE_METHOD_OF_DECLARE(name, _method, _ops) \
static const struct of_cpuidle_method __cpuidle_method_of_table_##name \
__used __section("__cpuidle_method_of_table") \
= { .method = _method, .ops = _ops }
__cpuidle_method_section = { .method = _method, .ops = _ops }

extern int arm_cpuidle_suspend(int index);

Expand Down
Loading