Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Upstream to 4.14.191 #13

Merged
merged 230 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
755b246
README.md: Small readme fixes (#12)
ThePolishLemon Nov 26, 2023
ecbc13c
btrfs: fix a block group ref counter leak after failure to remove blo…
fdmanana Jun 1, 2020
4614ab7
btrfs: cow_file_range() num_bytes and disk_num_bytes are same
asj Feb 15, 2018
38421cb
btrfs: fix data block group relocation failure due to concurrent scrub
fdmanana Jun 8, 2020
40fbe70
mm: fix swap cache node allocation mask
Jun 26, 2020
a177c2d
EDAC/amd64: Read back the scrub rate PCI register on F15h
suryasaimadhu Jun 18, 2020
18adba1
usbnet: smsc95xx: Fix use-after-free after removal
dezgeg Jun 21, 2020
51beaf8
mm/slub.c: fix corrupted freechain in deactivate_slab()
Jun 2, 2020
957d371
mm/slub: fix stack overruns with SLUB_STATS
Jun 2, 2020
ccef2a4
usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect
Zqiang1211 Jun 12, 2020
2bc9c65
kgdb: Avoid suspicious RCU usage warning
dianders Jun 2, 2020
654dfcb
crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock…
herbertx Jun 8, 2020
25d7cd7
cxgb4: use unaligned conversion for fetching timestamp
chelsiocudbg Jun 23, 2020
9ee82c4
cxgb4: parse TC-U32 key values and masks natively
chelsiocudbg Jun 23, 2020
c295511
hwmon: (max6697) Make sure the OVERT mask is set correctly
linchuyuan Jun 23, 2020
640a849
hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_met…
t-msn Jun 25, 2020
40e4e9b
drm: sun4i: hdmi: Remove extra HPD polling
wens Jun 29, 2020
b6217db
virtio-blk: free vblk-vqs in error path of virtblk_probe()
Jun 15, 2020
8b9737b
i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665
cpackham-atlnz Jul 1, 2020
aa74f95
nfsd: apply umask on fs without ACL support
Jun 16, 2020
bd670bf
Revert "ALSA: usb-audio: Improve frames size computation"
gregkh Jul 7, 2020
9da8153
SMB3: Honor 'seal' flag for multiuser mounts
darkrain42 Jun 26, 2020
f3cbce7
SMB3: Honor persistent/resilient handle flags for multiuser mounts
darkrain42 Jun 26, 2020
08269b8
cifs: Fix the target file was deleted when rename failed.
z00467499 Jun 29, 2020
499b44e
MIPS: Add missing EHB in mtc0 -> mfc0 sequence for DSPen
hauke Jul 2, 2020
319186d
dm zoned: assign max_io_len correctly
Jun 15, 2020
6fe88ea
efi: Make it possible to disable efivar_ssdt entirely
vathpela Jun 15, 2020
e822fb4
Linux 4.14.188
gregkh Jul 9, 2020
7e46187
KVM: s390: reduce number of IO pins to 1
borntraeger Jun 17, 2020
3bf392f
spi: spi-fsl-dspi: Adding shutdown hook
Apr 24, 2020
d64740e
spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer
krzk Jun 22, 2020
d8543e6
spi: spi-fsl-dspi: use IRQF_SHARED mode to request IRQ
Oct 29, 2018
72aad67
spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit …
krzk Jun 22, 2020
a739f23
ARM: dts: omap4-droid4: Fix spi configuration and increase rate
tmlind Jun 2, 2020
3b649a2
gpu: host1x: Detach driver on unregister
thierryreding Apr 8, 2020
e9ef87a
spi: spidev: fix a race between spidev_release and spidev_remove
Jun 18, 2020
9d2949c
spi: spidev: fix a potential use-after-free in spidev_release()
Jun 18, 2020
967f41e
ixgbe: protect ring accesses with READ- and WRITE_ONCE
cloftus Jun 9, 2020
30aa3b9
s390/kasan: fix early pgm check handler execution
Jun 17, 2020
c5a7326
cifs: update ctime and mtime during truncate
z00467499 Jun 20, 2020
724d5e9
ARM: imx6: add missing put_device() call in imx6q_suspend_init()
YuKuai-huawei Jun 4, 2020
bfa571d
scsi: mptscsih: Fix read sense data size
thenzl Jun 16, 2020
3c77c49
nvme-rdma: assign completion vector correctly
Jun 23, 2020
02eccb5
x86/entry: Increase entry_stack size to a full page
Jun 17, 2020
6e2a985
net: cxgb4: fix return error value in t4_prep_fw
Jun 29, 2020
160aa51
smsc95xx: check return value of smsc95xx_reset
Jul 6, 2020
2db3f24
smsc95xx: avoid memory leak in smsc95xx_bind
Jul 6, 2020
c6022c9
ALSA: compress: fix partial_drain completion state
vinodkoul Jun 29, 2020
cb9cc7c
arm64: kgdb: Fix single-step exception handling oops
stkid May 9, 2020
47f2451
nbd: Fix memory leak in nbd_add_socket
zhengbin13 Jun 29, 2020
6e99791
bnxt_en: fix NULL dereference in case SR-IOV configuration fails
dcaratti Jul 10, 2020
074af90
net: macb: mark device wake capable when "magic-packet" property present
noglitch Jul 10, 2020
73684b0
mlxsw: spectrum_router: Remove inappropriate usage of WARN_ON()
idosch Jul 10, 2020
8f3da1a
ALSA: opl3: fix infoleak in opl3
Jul 6, 2020
e4c1576
ALSA: hda - let hs_mic be picked ahead of hp_mic
jason77-wang Jun 25, 2020
c264c06
ALSA: usb-audio: add quirk for MacroSilicon MS2109
marcan Jul 2, 2020
a50061e
KVM: arm64: Fix definition of PAGE_HYP_DEVICE
willdeacon Jul 8, 2020
de42e6a
KVM: arm64: Stop clobbering x0 for HVC_SOFT_RESTART
AndrewScull Jul 6, 2020
6f1aa3e
KVM: x86: bit 8 of non-leaf PDPEs is not reserved
bonzini Jun 30, 2020
c476576
KVM: x86: Inject #GP if guest attempts to toggle CR4.LA57 in 64-bit mode
Jul 3, 2020
7171187
KVM: x86: Mark CR4.TSD as being possibly owned by the guest
Jul 3, 2020
e344db0
Revert "ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb"
gregkh Jul 14, 2020
75556b7
btrfs: fix fatal extent_buffer readahead vs releasepage race
boryas Jun 17, 2020
4882747
drm/radeon: fix double free
Jul 6, 2020
784bda9
dm: use noio when sending kobject event
Jul 8, 2020
55ae406
ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE
vineetgarc May 20, 2020
51f1ae5
ARC: elf: use right ELF_ARCH
vineetgarc May 27, 2020
f4d7b19
s390/mm: fix huge pte soft dirty copying
frankjaa Jul 7, 2020
defa919
genetlink: remove genl_bind
Jun 30, 2020
57c5a0a
ipv4: fill fl4_icmp_{type,code} in ping_v4_sendmsg
qsn Jul 3, 2020
a819164
l2tp: remove skb_dst_set() from l2tp_xmit_skb()
lxin Jul 6, 2020
6a66c3d
llc: make sure applications use ARPHRD_ETHER
Jun 27, 2020
d06d94d
net: Added pointer check for dst->ops->neigh_lookup in dst_neigh_look…
Jul 5, 2020
f6addba
net: usb: qmi_wwan: add support for Quectel EG95 LTE modem
acelan Jul 7, 2020
fd65c21
tcp: md5: add missing memory barriers in tcp_md5_do_add()/tcp_md5_has…
Jun 30, 2020
9846377
tcp: md5: refine tcp_md5_do_add()/tcp_md5_hash_key() barriers
Jul 1, 2020
c31c98f
tcp: md5: allow changing MD5 keys in all socket states
Jul 2, 2020
81b8211
net_sched: fix a memory leak in atm_tc_init()
congwang Jul 9, 2020
b814961
tcp: make sure listeners don't initialize congestion-control state
cpaasch Jul 8, 2020
5ed2e16
tcp: md5: do not send silly options in SYNCOOKIES
Jul 1, 2020
de46b93
cgroup: fix cgroup_sk_alloc() for sk_clone_lock()
congwang Jul 2, 2020
e612304
cgroup: Fix sock_cgroup_data on big-endian.
congwang Jul 9, 2020
c3bd1ef
drm/exynos: fix ref count leak in mic_pre_enable
Navidem Jun 15, 2020
9ead528
tpm_tis: extra chip->ops check on error path in tpm_tis_core_init
vaverin Jun 13, 2020
00585ba
gfs2: read-only mounts should grab the sd_freeze_gl glock
AstralBob Jun 25, 2020
b1bf5ce
i2c: eg20t: Load module automatically if ID matches
andy-shev Jul 2, 2020
025b657
arm64: alternative: Use true and false for boolean values
GustavoARSilva Aug 7, 2018
0d4d3ce
arm64/alternatives: don't patch up internal branches
ardbiesheuvel Jul 9, 2020
07e65fb
iio:magnetometer:ak8974: Fix alignment and data leak issues
jic23 Jun 7, 2020
eb1ed50
iio:humidity:hdc100x Fix alignment and data leak issues
jic23 Jun 7, 2020
f78b8e4
iio: magnetometer: ak8974: Fix runtime PM imbalance on error
dinghaoliu May 26, 2020
8693c30
iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe()
WillLester May 28, 2020
262e4e2
iio: pressure: zpa2326: handle pm_runtime_get_sync failure
Navidem Jun 5, 2020
27a6357
iio:pressure:ms5611 Fix buffer element alignment
jic23 Jun 7, 2020
ad178a6
iio:health:afe4403 Fix timestamp alignment and prevent data leak.
jic23 May 17, 2020
c454cce
spi: spi-fsl-dspi: Fix lockup if device is shutdown during SPI transfer
krzk Jun 22, 2020
62a8df2
spi: fix initial SPI_SR value in spi-fsl-dspi
Dec 26, 2018
8372f5b
net: dsa: bcm_sf2: Fix node reference count
ffainelli Jun 18, 2020
9d43af2
of: of_mdio: Correct loop scanning logic
ffainelli Jun 19, 2020
99d224e
Revert "usb/ohci-platform: Fix a warning when hibernating"
Jul 17, 2020
cf33548
Revert "usb/ehci-platform: Set PM runtime as active on resume"
Jul 17, 2020
cef9dae
doc: dt: bindings: usb: dwc3: Update entries for disabling SS instanc…
superna9999 Feb 21, 2020
ff6a088
mmc: sdhci: do not enable card detect interrupt for gpio cd type
Feb 19, 2020
d6ce3cf
ACPI: video: Use native backlight on Acer Aspire 5783z
jwrdegoede Mar 31, 2020
666e2cd
ACPI: video: Use native backlight on Acer TravelMate 5735Z
paulmenzel May 22, 2020
a585407
iio:health:afe4404 Fix timestamp alignment and prevent data leak.
jic23 May 17, 2020
109cfd7
phy: sun4i-usb: fix dereference of pointer phy0 before it is null che…
Jun 25, 2020
d402ada
arm64: dts: meson: add missing gxl rng clock
jbrun3t Jun 17, 2020
32fc485
spi: spi-sun6i: sun6i_spi_transfer_one(): fix setting of clock rate
marckleinebudde Jul 6, 2020
ddaefab
usb: gadget: udc: atmel: fix uninitialized read in debug printk
osctobe May 28, 2020
75625f0
staging: comedi: verify array index is correct before using it
Jul 9, 2020
391c253
Revert "thermal: mediatek: fix register index error"
Jul 7, 2020
0be797f
ARM: dts: socfpga: Align L2 cache-controller nodename with dtschema
krzk Jun 26, 2020
b1a76d8
copy_xstate_to_kernel: Fix typo which caused GDB regression
KevinBuettner Jul 18, 2020
89f63da
perf stat: Zero all the 'ena' and 'run' array slot stats for interval…
Apr 9, 2020
83df756
mtd: rawnand: brcmnand: fix CS0 layout
Noltari May 22, 2020
02937c9
mtd: rawnand: oxnas: Keep track of registered devices
miquelraynal May 19, 2020
3332d51
mtd: rawnand: oxnas: Unregister all devices on error
miquelraynal May 19, 2020
f7b3ba6
mtd: rawnand: oxnas: Release all devices in the _remove() path
miquelraynal May 19, 2020
da6e93c
HID: magicmouse: do not set up autorepeat
dtor May 24, 2020
a9f7880
ALSA: line6: Perform sanity check for each URB creation
tiwai Jul 10, 2020
2836fda
ALSA: usb-audio: Fix race against the error recovery URB submission
tiwai Jul 10, 2020
bc15447
USB: c67x00: fix use after free in c67x00_giveback_urb
Jul 8, 2020
3eeff5f
usb: dwc2: Fix shutdown callback in platform
May 30, 2020
f3839ad
usb: chipidea: core: add wakeup support for extcon
Jul 7, 2020
224aa85
usb: gadget: function: fix missing spinlock in f_uac1_legacy
Zqiang1211 Jul 6, 2020
2dc4dbc
USB: serial: iuu_phoenix: fix memory corruption
jhovold Jul 15, 2020
c9dfdec
USB: serial: cypress_m8: enable Simply Automated UPB PIM
jameshilliard Jun 16, 2020
2289954
USB: serial: ch341: add new Product ID for CH340
igormp Jun 23, 2020
0c8e086
USB: serial: option: add GosunCn GM500 series
jorsto Jun 22, 2020
ddc7ec9
USB: serial: option: add Quectel EG95 LTE modem
acelan Jul 7, 2020
8ba8be5
virtio: virtio_console: add missing MODULE_DEVICE_TABLE() for rproc s…
solbjorn Jun 23, 2020
552f707
fuse: Fix parameter for FS_IOC_{GET,SET}FLAGS
jynnantonix Jul 14, 2020
d62d375
Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()"
wmealing Jun 17, 2020
2915d0c
mei: bus: don't clean driver pointer
ausyskin Jun 28, 2020
b902d3c
Input: i8042 - add Lenovo XiaoXin Air 12 to i8042 nomux list
Limero Jul 7, 2020
60928da
uio_pdrv_genirq: fix use without device tree and no interrupt
esben Jul 1, 2020
2446147
timer: Fix wheel index calculation on last level
Jul 17, 2020
4cbdbf4
MIPS: Fix build for LTS kernel caused by backporting lpj adjustment
chenhuacai Jul 16, 2020
faadc3b
hwmon: (emc2103) fix unable to change fan pwm1_enable attribute
VishwasMReddy Jul 7, 2020
088dfeb
intel_th: pci: Add Jasper Lake CPU support
virtuoso Jul 6, 2020
f208459
intel_th: pci: Add Tiger Lake PCH-H support
virtuoso Jul 6, 2020
0609180
intel_th: pci: Add Emmitsburg PCH support
virtuoso Jul 6, 2020
acf07f8
dmaengine: fsl-edma: Fix NULL pointer exception in fsl_edma_tx_handler
krzk Jun 11, 2020
c7b291e
misc: atmel-ssc: lock with mutex instead of spinlock
osctobe Jun 24, 2020
e3d4f2c
thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from p…
finley1226 Jun 19, 2020
82de77a
arm64: ptrace: Override SPSR.SS when single-stepping is enabled
willdeacon Feb 13, 2020
383976d
sched/fair: handle case of task_h_load() returning 0
vingu-linaro Jul 10, 2020
b3d7318
x86/cpu: Move x86_cache_bits settings
Jul 14, 2020
241341d
libceph: don't omit recovery_deletes in target_copy()
idryomov Jun 9, 2020
fff0801
rxrpc: Fix trace string
dhowells Jun 17, 2020
d287236
Linux 4.14.189
gregkh Jul 22, 2020
4ed1395
gpio: arizona: handle pm_runtime_get_sync failure case
Navidem Jun 5, 2020
99a983c
gpio: arizona: put pm_runtime in case of failure
Navidem Jun 5, 2020
45a84e4
pinctrl: amd: fix npins for uart0 in kerncz_groups
postgraph Jun 16, 2020
e6005f9
mac80211: allow rx of mesh eapol frames with default rx key
thillux Jun 25, 2020
0ec7d79
scsi: scsi_transport_spi: Fix function pointer check
Jun 27, 2020
82d7329
xtensa: fix __sync_fetch_and_{and,or}_4 declarations
jcmvbkbc Jun 4, 2020
9075d74
xtensa: update *pos in cpuinfo_op.next
jcmvbkbc Jul 2, 2020
ca048c1
drivers/net/wan/lapbether: Fixed the value of hard_header_len
Jul 6, 2020
987c472
net: sky2: initialize return of gm_phy_read
Jul 3, 2020
039591c
drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
Jun 23, 2020
a1d5098
irqdomain/treewide: Keep firmware node unconditionally allocated
KAGA-KOKO Jul 9, 2020
594bcfe
SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direc…
olgakorn1 Jul 15, 2020
0f3866b
spi: spi-fsl-dspi: Exit the ISR with IRQ_NONE when it's not ours
vladimiroltean Aug 22, 2019
627df5b
IB/umem: fix reference count leak in ib_umem_odp_get()
Jul 14, 2020
bd78170
uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL,…
oleg-nesterov Jul 23, 2020
31b4317
ALSA: info: Drop WARN_ON() from buffer NULL sanity check
tiwai Jul 17, 2020
d97448a
ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
jwrdegoede Jun 28, 2020
a727699
btrfs: fix double free on ulist after backref resolution failure
fdmanana Jul 13, 2020
e2a1c8f
btrfs: fix mount failure caused by race with umount
boryas Jul 16, 2020
020de01
btrfs: fix page leaks after failure to lock page for delalloc
Jul 20, 2020
86d94df
bnxt_en: Fix race when modifying pause settings.
Jul 12, 2020
5055974
hippi: Fix a size used in a 'pci_free_consistent()' in an error handl…
tititiou36 Jul 14, 2020
e57ac0c
ax88172a: fix ax88172a_unbind() failures
gkennedy12 Jul 15, 2020
c0c3dda
net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual conf…
sorganov Jul 15, 2020
6f1c7cd
drm: sun4i: hdmi: Fix inverted HPD result
wens Jul 11, 2020
fbe9469
net: smc91x: Fix possible memory leak in smc_drv_probe()
Jul 16, 2020
5df7e33
bonding: check error value of register_netdevice() immediately
TaeheeYoo Jul 19, 2020
2a2fa7a
mlxsw: destroy workqueue when trap_register in mlxsw_emad_init
liujian56 Jul 20, 2020
37d9ac6
ipvs: fix the connection sync failed in some cases
guodeqing-hw Jul 16, 2020
ace94c2
i2c: rcar: always clear ICSAR to avoid side effects
Jul 4, 2020
ed4c8e6
bonding: check return value of register_netdevice() in bond_newlink()
congwang Jul 22, 2020
7489d59
serial: exar: Fix GPIO configuration for Sealevel cards based on XR17…
11matt556 Jul 22, 2020
7355938
scripts/decode_stacktrace: strip basepath from all paths
peter50216 Jul 24, 2020
4ef7e1d
HID: i2c-hid: add Mediacom FlexBook edge13 to descriptor override
funder7 Jun 15, 2020
0c4bbec
HID: apple: Disable Fn-key key-re-mapping on clone keyboards
jwrdegoede Jun 20, 2020
a45b941
dmaengine: tegra210-adma: Fix runtime PM imbalance on error
dinghaoliu Jun 24, 2020
af2b8cd
spi: mediatek: use correct SPI_CFG2_REG MACRO
leilkliu Jul 1, 2020
17bf8b9
regmap: dev_get_regmap_match(): fix string comparison
marckleinebudde Jul 3, 2020
cf87713
hwmon: (aspeed-pwm-tacho) Avoid possible buffer overflow
eunovm Jul 3, 2020
6ccebb0
dmaengine: ioat setting ioat timeout as module parameter
Jul 1, 2020
c302bf9
Input: synaptics - enable InterTouch for ThinkPad X1E 1st gen
K900 Jul 6, 2020
1fb289f
usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep…
eunovm Jun 26, 2020
65d88da
arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP
willdeacon Feb 13, 2020
bb1749d
x86: math-emu: Fix up 'cmp' insn for clang ias
arndb May 27, 2020
24bca39
binder: Don't use mmput() from shrinker function.
Jul 16, 2020
c6c0adb
usb: xhci-mtk: fix the failure of bandwidth allocation
Jul 10, 2020
1ce477a
usb: xhci: Fix ASM2142/ASM3142 DMA addressing
cyrozap Jul 17, 2020
b240b80
Revert "cifs: Fix the target file was deleted when rename failed."
Jul 23, 2020
811c63a
staging: wlan-ng: properly check endpoint types
rustylife Jul 22, 2020
cb1bbc1
staging: comedi: addi_apci_1032: check INSN_CONFIG_DIGITAL_TRIG shift
ian-abbott Jul 17, 2020
c2c26fe
staging: comedi: ni_6527: fix INSN_CONFIG_DIGITAL_TRIG support
ian-abbott Jul 17, 2020
46eb9d8
staging: comedi: addi_apci_1500: check INSN_CONFIG_DIGITAL_TRIG shift
ian-abbott Jul 17, 2020
89190c0
staging: comedi: addi_apci_1564: check INSN_CONFIG_DIGITAL_TRIG shift
ian-abbott Jul 17, 2020
2a6a8c2
serial: 8250: fix null-ptr-deref in serial8250_start_tx()
Jul 21, 2020
6f107cb
serial: 8250_mtk: Fix high-speed baud rates clamping
fancer Jul 14, 2020
1bf2318
fbdev: Detect integer underflow at "struct fbcon_ops"->clear_margins.
Jul 15, 2020
f88478f
vt: Reject zero-sized screen buffer size.
Jul 12, 2020
a795cb0
mm/memcg: fix refcount error while moving and swapping
Jul 24, 2020
51491b4
io-mapping: indicate mapping failure
mjruhl Jul 24, 2020
56de9c7
parisc: Add atomic64_set_release() define to avoid CPU soft lockups
danglin44 Jul 21, 2020
f2d894f
ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
Apr 4, 2020
7ef5836
ath9k: Fix regression with Atheros 9271
shiftee Jul 11, 2020
1d509db
Linux 4.14.190
gregkh Jul 29, 2020
fd08eb0
AX.25: Fix out-of-bounds read in ax25_connect()
peilin-ye Jul 22, 2020
3ea171b
AX.25: Prevent out-of-bounds read in ax25_sendmsg()
peilin-ye Jul 22, 2020
52f66d9
dev: Defer free of skbs in flush_backlog
Jul 23, 2020
439a4e3
drivers/net/wan/x25_asy: Fix to make it work
Jul 16, 2020
2a299db
net-sysfs: add a newline when printing 'tx_timeout' by sysfs
fenghusthu Jul 21, 2020
2d74c86
net: udp: Fix wrong clean up for IS_UDPLITE macro
MiaoheLin Jul 21, 2020
d371d14
rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
dhowells Jul 20, 2020
936cb1c
AX.25: Prevent integer overflows in connect and sendmsg
Jul 23, 2020
c4589e8
ip6_gre: fix null-ptr-deref in ip6gre_init_net()
Jul 13, 2020
8f8bbbc
rtnetlink: Fix memory(net_device) leak when ->newlink fails
Jul 15, 2020
401a9bf
tcp: allow at most one TLP probe per flight
yuchungcheng Jul 23, 2020
8d64597
mm/page_owner.c: remove drain_all_pages from init_early_allocated_pages
leberus Jan 19, 2018
e736ccd
regmap: debugfs: check count when read regmap file
MrVan Mar 13, 2020
b17dc0e
xfs: set format back to extents if xfs_bmap_extents_to_btree
Apr 17, 2018
510d3da
Linux 4.14.191
gregkh Jul 31, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/usb/dwc3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ Optional properties:
from P0 to P1/P2/P3 without delay.
- snps,dis-tx-ipgap-linecheck-quirk: when set, disable u2mac linestate check
during HS transmit.
- snps,parkmode-disable-ss-quirk: when set, all SuperSpeed bus instances in
park mode are disabled.
- snps,dis_metastability_quirk: when set, disable metastability workaround.
CAUTION: use only if you are absolutely sure of it.
- snps,is-utmi-l1-suspend: true when DWC3 asserts output signal
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 4
PATCHLEVEL = 14
SUBLEVEL = 187
SUBLEVEL = 191
EXTRAVERSION =
NAME = Petit Gorille

Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,19 @@ You will need ubuntu, git, around 8GB RAM and bla-bla-bla...
$ sudo apt install -y bash git make libssl-dev curl bc pkg-config m4 libtool automake autoconf

# Clone this repository
$ git clone https://github.com/Gojikovi/kernel_samsung_universal9611
$ git clone https://github.com/Roynas-Android-Playground/kernel_samsung_universal9611

# Go into the repository
$ cd kernel_samsung_universal9611


# Initialize The repo

$ git submodule update --init

# Download the KernelSU Submodule required for the build
$ git submodule update --remote KernelSU

# Install toolchain
# You could try any clang/LLVM based toolchain, however I use neutron clang
# If you are using Arch or distro with latest glibc, You may want to use antman instead.
Expand Down
2 changes: 1 addition & 1 deletion arch/arc/include/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define R_ARC_32_PCREL 0x31

/*to set parameters in the core dumps */
#define ELF_ARCH EM_ARCOMPACT
#define ELF_ARCH EM_ARC_INUSE
#define ELF_CLASS ELFCLASS32

#ifdef CONFIG_CPU_BIG_ENDIAN
Expand Down
16 changes: 5 additions & 11 deletions arch/arc/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ END(EV_Extension)
tracesys:
; save EFA in case tracer wants the PC of traced task
; using ERET won't work since next-PC has already committed
lr r12, [efa]
GET_CURR_TASK_FIELD_PTR TASK_THREAD, r11
st r12, [r11, THREAD_FAULT_ADDR] ; thread.fault_address

Expand Down Expand Up @@ -199,15 +198,9 @@ tracesys_exit:
; Breakpoint TRAP
; ---------------------------------------------
trap_with_param:

; stop_pc info by gdb needs this info
lr r0, [efa]
mov r0, r12 ; EFA in case ptracer/gdb wants stop_pc
mov r1, sp

; Now that we have read EFA, it is safe to do "fake" rtie
; and get out of CPU exception mode
FAKE_RET_FROM_EXCPN

; Save callee regs in case gdb wants to have a look
; SP will grow up by size of CALLEE Reg-File
; NOTE: clobbers r12
Expand All @@ -234,16 +227,17 @@ ENTRY(EV_Trap)

EXCEPTION_PROLOGUE

lr r12, [efa]

FAKE_RET_FROM_EXCPN

;============ TRAP 1 :breakpoints
; Check ECR for trap with arg (PROLOGUE ensures r9 has ECR)
bmsk.f 0, r9, 7
bnz trap_with_param

;============ TRAP (no param): syscall top level

; First return from Exception to pure K mode (Exception/IRQs renabled)
FAKE_RET_FROM_EXCPN

; If syscall tracing ongoing, invoke pre-post-hooks
GET_CURR_THR_INFO_FLAGS r10
btst r10, TIF_SYSCALL_TRACE
Expand Down
4 changes: 3 additions & 1 deletion arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
#interrupt-cells = <2>;
#address-cells = <1>;
#size-cells = <0>;
spi-max-frequency = <3000000>;
spi-max-frequency = <9600000>;
spi-cs-high;
spi-cpol;
spi-cpha;

cpcap_adc: adc {
compatible = "motorola,mapphone-cpcap-adc";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/socfpga.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@
};
};

L2: l2-cache@fffef000 {
L2: cache-controller@fffef000 {
compatible = "arm,pl310-cache";
reg = <0xfffef000 0x1000>;
interrupts = <0 38 0x04>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/socfpga_arria10.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@
reg = <0xffcfb100 0x80>;
};

L2: l2-cache@fffff000 {
L2: cache-controller@fffff000 {
compatible = "arm,pl310-cache";
reg = <0xfffff000 0x1000>;
interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
Expand Down
10 changes: 6 additions & 4 deletions arch/arm/mach-imx/pm-imx6.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,14 +483,14 @@ static int __init imx6q_suspend_init(const struct imx6_pm_socdata *socdata)
if (!ocram_pool) {
pr_warn("%s: ocram pool unavailable!\n", __func__);
ret = -ENODEV;
goto put_node;
goto put_device;
}

ocram_base = gen_pool_alloc(ocram_pool, MX6Q_SUSPEND_OCRAM_SIZE);
if (!ocram_base) {
pr_warn("%s: unable to alloc ocram!\n", __func__);
ret = -ENOMEM;
goto put_node;
goto put_device;
}

ocram_pbase = gen_pool_virt_to_phys(ocram_pool, ocram_base);
Expand All @@ -513,7 +513,7 @@ static int __init imx6q_suspend_init(const struct imx6_pm_socdata *socdata)
ret = imx6_pm_get_base(&pm_info->mmdc_base, socdata->mmdc_compat);
if (ret) {
pr_warn("%s: failed to get mmdc base %d!\n", __func__, ret);
goto put_node;
goto put_device;
}

ret = imx6_pm_get_base(&pm_info->src_base, socdata->src_compat);
Expand Down Expand Up @@ -560,7 +560,7 @@ static int __init imx6q_suspend_init(const struct imx6_pm_socdata *socdata)
&imx6_suspend,
MX6Q_SUSPEND_OCRAM_SIZE - sizeof(*pm_info));

goto put_node;
goto put_device;

pl310_cache_map_failed:
iounmap(pm_info->gpc_base.vbase);
Expand All @@ -570,6 +570,8 @@ static int __init imx6q_suspend_init(const struct imx6_pm_socdata *socdata)
iounmap(pm_info->src_base.vbase);
src_map_failed:
iounmap(pm_info->mmdc_base.vbase);
put_device:
put_device(&pdev->dev);
put_node:
of_node_put(node);

Expand Down
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,11 @@
};
};

&hwrng {
clocks = <&clkc CLKID_RNG0>;
clock-names = "core";
};

&i2c_A {
clocks = <&clkc CLKID_I2C>;
};
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/include/asm/debug-monitors.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ void disable_debug_monitors(enum dbg_active_el el);

void user_rewind_single_step(struct task_struct *task);
void user_fastforward_single_step(struct task_struct *task);
void user_regs_reset_single_step(struct user_pt_regs *regs,
struct task_struct *task);

void kernel_enable_single_step(struct pt_regs *regs);
void kernel_disable_single_step(void);
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/include/asm/pgtable-prot.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
#define PAGE_HYP __pgprot(_HYP_PAGE_DEFAULT | PTE_HYP | PTE_HYP_XN)
#define PAGE_HYP_EXEC __pgprot(_HYP_PAGE_DEFAULT | PTE_HYP | PTE_RDONLY)
#define PAGE_HYP_RO __pgprot(_HYP_PAGE_DEFAULT | PTE_HYP | PTE_RDONLY | PTE_HYP_XN)
#define PAGE_HYP_DEVICE __pgprot(PROT_DEVICE_nGnRE | PTE_HYP)
#define PAGE_HYP_DEVICE __pgprot(_PROT_DEFAULT | PTE_ATTRINDX(MT_DEVICE_nGnRE) | PTE_HYP | PTE_HYP_XN)

#define PAGE_S2 __pgprot(_PROT_DEFAULT | PTE_S2_MEMATTR(MT_S2_NORMAL) | PTE_S2_RDONLY)
#define PAGE_S2_DEVICE __pgprot(_PROT_DEFAULT | PTE_S2_MEMATTR(MT_S2_DEVICE_nGnRE) | PTE_S2_RDONLY | PTE_UXN)
Expand Down
16 changes: 2 additions & 14 deletions arch/arm64/kernel/alternative.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,8 @@ struct alt_region {
*/
static bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc)
{
unsigned long replptr;

if (kernel_text_address(pc))
return 1;

replptr = (unsigned long)ALT_REPL_PTR(alt);
if (pc >= replptr && pc <= (replptr + alt->alt_len))
return 0;

/*
* Branching into *another* alternate sequence is doomed, and
* we're not even trying to fix it up.
*/
BUG();
unsigned long replptr = (unsigned long)ALT_REPL_PTR(alt);
return !(pc >= replptr && pc <= (replptr + alt->alt_len));
}

#define align_down(x, a) ((unsigned long)(x) & ~(((unsigned long)(a)) - 1))
Expand Down
24 changes: 18 additions & 6 deletions arch/arm64/kernel/debug-monitors.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,20 @@ postcore_initcall(debug_monitors_init);
/*
* Single step API and exception handling.
*/
static void set_regs_spsr_ss(struct pt_regs *regs)
static void set_user_regs_spsr_ss(struct user_pt_regs *regs)
{
regs->pstate |= DBG_SPSR_SS;
}
NOKPROBE_SYMBOL(set_regs_spsr_ss);
NOKPROBE_SYMBOL(set_user_regs_spsr_ss);

static void clear_regs_spsr_ss(struct pt_regs *regs)
static void clear_user_regs_spsr_ss(struct user_pt_regs *regs)
{
regs->pstate &= ~DBG_SPSR_SS;
}
NOKPROBE_SYMBOL(clear_regs_spsr_ss);
NOKPROBE_SYMBOL(clear_user_regs_spsr_ss);

#define set_regs_spsr_ss(r) set_user_regs_spsr_ss(&(r)->user_regs)
#define clear_regs_spsr_ss(r) clear_user_regs_spsr_ss(&(r)->user_regs)

/* EL1 Single Step Handler hooks */
static LIST_HEAD(step_hook);
Expand Down Expand Up @@ -386,17 +389,26 @@ void user_rewind_single_step(struct task_struct *task)
* If single step is active for this thread, then set SPSR.SS
* to 1 to avoid returning to the active-pending state.
*/
if (test_ti_thread_flag(task_thread_info(task), TIF_SINGLESTEP))
if (test_tsk_thread_flag(task, TIF_SINGLESTEP))
set_regs_spsr_ss(task_pt_regs(task));
}
NOKPROBE_SYMBOL(user_rewind_single_step);

void user_fastforward_single_step(struct task_struct *task)
{
if (test_ti_thread_flag(task_thread_info(task), TIF_SINGLESTEP))
if (test_tsk_thread_flag(task, TIF_SINGLESTEP))
clear_regs_spsr_ss(task_pt_regs(task));
}

void user_regs_reset_single_step(struct user_pt_regs *regs,
struct task_struct *task)
{
if (test_tsk_thread_flag(task, TIF_SINGLESTEP))
set_user_regs_spsr_ss(regs);
else
clear_user_regs_spsr_ss(regs);
}

/* Kernel API */
void kernel_enable_single_step(struct pt_regs *regs)
{
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ static int kgdb_step_brk_fn(struct pt_regs *regs, unsigned int esr)
if (user_mode(regs) || !kgdb_single_step)
return DBG_HOOK_ERROR;

kgdb_handle_exception(1, SIGTRAP, 0, regs);
kgdb_handle_exception(0, SIGTRAP, 0, regs);
return DBG_HOOK_HANDLED;
}
NOKPROBE_SYMBOL(kgdb_step_brk_fn);
Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1496,8 +1496,8 @@ static int valid_native_regs(struct user_pt_regs *regs)
*/
int valid_user_regs(struct user_pt_regs *regs, struct task_struct *task)
{
if (!test_tsk_thread_flag(task, TIF_SINGLESTEP))
regs->pstate &= ~DBG_SPSR_SS;
/* https://lore.kernel.org/lkml/20191118131525.GA4180@willie-the-truck */
user_regs_reset_single_step(regs, task);

if (is_compat_thread(task_thread_info(task)))
return valid_compat_regs(regs);
Expand Down
11 changes: 7 additions & 4 deletions arch/arm64/kvm/hyp-init.S
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,15 @@ ENTRY(__kvm_handle_stub_hvc)

1: cmp x0, #HVC_RESET_VECTORS
b.ne 1f
reset:

/*
* Reset kvm back to the hyp stub. Do not clobber x0-x4 in
* case we coming via HVC_SOFT_RESTART.
* Set the HVC_RESET_VECTORS return code before entering the common
* path so that we do not clobber x0-x2 in case we are coming via
* HVC_SOFT_RESTART.
*/
mov x0, xzr
reset:
/* Reset kvm back to the hyp stub. */
mrs x5, sctlr_el2
ldr x6, =SCTLR_ELx_FLAGS
bic x5, x5, x6 // Clear SCTL_M and etc
Expand All @@ -162,7 +166,6 @@ reset:
/* Install stub vectors */
adr_l x5, __hyp_stub_vectors
msr vbar_el2, x5
mov x0, xzr
eret

1: /* Bad stub call */
Expand Down
13 changes: 4 additions & 9 deletions arch/mips/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ static unsigned long glb_lpj_ref_freq;
static int cpufreq_callback(struct notifier_block *nb,
unsigned long val, void *data)
{
struct cpufreq_freqs *freq = data;
struct cpumask *cpus = freq->policy->cpus;
unsigned long lpj;
int cpu;
struct cpufreq_freqs *freq = data;

/*
* Skip lpj numbers adjustment if the CPU-freq transition is safe for
Expand All @@ -64,6 +62,7 @@ static int cpufreq_callback(struct notifier_block *nb,
}
}

cpu = freq->cpu;
/*
* Adjust global lpj variable and per-CPU udelay_val number in
* accordance with the new CPU frequency.
Expand All @@ -74,12 +73,8 @@ static int cpufreq_callback(struct notifier_block *nb,
glb_lpj_ref_freq,
freq->new);

for_each_cpu(cpu, cpus) {
lpj = cpufreq_scale(per_cpu(pcp_lpj_ref, cpu),
per_cpu(pcp_lpj_ref_freq, cpu),
freq->new);
cpu_data[cpu].udelay_val = (unsigned int)lpj;
}
cpu_data[cpu].udelay_val = cpufreq_scale(per_cpu(pcp_lpj_ref, cpu),
per_cpu(pcp_lpj_ref_freq, cpu), freq->new);
}

return NOTIFY_OK;
Expand Down
1 change: 1 addition & 0 deletions arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -2135,6 +2135,7 @@ static void configure_status(void)

change_c0_status(ST0_CU|ST0_MX|ST0_RE|ST0_FR|ST0_BEV|ST0_TS|ST0_KX|ST0_SX|ST0_UX,
status_set);
back_to_back_c0_hazard();
}

unsigned int hwrena;
Expand Down
2 changes: 2 additions & 0 deletions arch/parisc/include/asm/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ atomic64_set(atomic64_t *v, s64 i)
_atomic_spin_unlock_irqrestore(v, flags);
}

#define atomic64_set_release(v, i) atomic64_set((v), (i))

static __inline__ s64
atomic64_read(const atomic64_t *v)
{
Expand Down
8 changes: 4 additions & 4 deletions arch/s390/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
#define KVM_USER_MEM_SLOTS 32

/*
* These seem to be used for allocating ->chip in the routing table,
* which we don't use. 4096 is an out-of-thin-air value. If we need
* to look at ->chip later on, we'll need to revisit this.
* These seem to be used for allocating ->chip in the routing table, which we
* don't use. 1 is as small as we can get to reduce the needed memory. If we
* need to look at ->chip later on, we'll need to revisit this.
*/
#define KVM_NR_IRQCHIPS 1
#define KVM_IRQCHIP_NUM_PINS 4096
#define KVM_IRQCHIP_NUM_PINS 1
#define KVM_HALT_POLL_NS_DEFAULT 80000

/* s390-specific vcpu->requests bit members */
Expand Down
2 changes: 2 additions & 0 deletions arch/s390/kernel/early.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ static noinline __init void setup_lowcore_early(void)
psw_t psw;

psw.mask = PSW_MASK_BASE | PSW_DEFAULT_KEY | PSW_MASK_EA | PSW_MASK_BA;
if (IS_ENABLED(CONFIG_KASAN))
psw.mask |= PSW_MASK_DAT;
psw.addr = (unsigned long) s390_base_ext_handler;
S390_lowcore.external_new_psw = psw;
psw.addr = (unsigned long) s390_base_pgm_handler;
Expand Down
Loading