Skip to content
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

[lineage-17.1] Update #1

Merged
merged 131 commits into from
Aug 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
464b965
do_last(): fetch directory ->i_mode and ->i_uid before it's too late
Jan 26, 2020
5bd445d
btrfs: Remove extra parentheses from condition in copy_items()
Jul 27, 2017
5543cb5
drm/msm/dsi: use correct enum in dsi_get_cmd_fmt
agners Mar 19, 2018
7711d23
ath10k: remove unnecessary code
GustavoARSilva May 19, 2017
45e6830
msm: adsprpc: Fix array index underflow problem
Apr 1, 2020
9b2a0e8
soc: qcom: Reset string table index for each dump collection request
May 1, 2018
e8ebf25
Merge "do_last(): fetch directory ->i_mode and ->i_uid before it's to…
Jun 16, 2020
f719f28
Merge "msm: adsprpc: Fix array index underflow problem"
Jun 16, 2020
a030949
Merge "drm/msm/dsi: use correct enum in dsi_get_cmd_fmt"
Jun 16, 2020
2c3f93a
Merge "soc: qcom: Reset string table index for each dump collection r…
Jun 16, 2020
abbf411
vgacon: Fix a UAF in vgacon_invert_region
z00467499 Mar 4, 2020
f46488e
defconfig: auto: remove auto defconfigs
Jun 23, 2020
cc5a71d
Merge f46488ee3bc9b3c2a3a371d98cd59f047c006f04 on remote branch
Jul 11, 2020
8977f55
KVM: s390: reduce number of IO pins to 1
borntraeger Jun 17, 2020
d8c4753
spi: spidev: fix a race between spidev_release and spidev_remove
Jun 18, 2020
35d6f9a
spi: spidev: fix a potential use-after-free in spidev_release()
Jun 18, 2020
a6a396f
scsi: mptscsih: Fix read sense data size
thenzl Jun 16, 2020
815f984
net: cxgb4: fix return error value in t4_prep_fw
Jun 29, 2020
1bced00
smsc95xx: check return value of smsc95xx_reset
Jul 6, 2020
e41001c
smsc95xx: avoid memory leak in smsc95xx_bind
Jul 6, 2020
d3a3099
ALSA: compress: fix partial_drain completion state
vinodkoul Jun 29, 2020
ad013eb
arm64: kgdb: Fix single-step exception handling oops
stkid May 9, 2020
231cfc1
ALSA: opl3: fix infoleak in opl3
Jul 6, 2020
4b377ba
ALSA: hda - let hs_mic be picked ahead of hp_mic
jason77-wang Jun 25, 2020
9272ce2
ALSA: usb-audio: add quirk for MacroSilicon MS2109
marcan Jul 2, 2020
22ae5be
KVM: x86: bit 8 of non-leaf PDPEs is not reserved
bonzini Jun 30, 2020
e27a1e3
Revert "ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb"
gregkh Jul 14, 2020
d707433
btrfs: fix fatal extent_buffer readahead vs releasepage race
boryas Jun 17, 2020
11a65b0
drm/radeon: fix double free
Jul 6, 2020
5802215
ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE
vineetgarc May 20, 2020
42de40a
ARC: elf: use right ELF_ARCH
vineetgarc May 27, 2020
5709cb2
bnxt_en: fix NULL dereference in case SR-IOV configuration fails
dcaratti Jul 10, 2020
82f75d0
ipv4: fill fl4_icmp_{type,code} in ping_v4_sendmsg
qsn Jul 3, 2020
0518070
l2tp: remove skb_dst_set() from l2tp_xmit_skb()
lxin Jul 6, 2020
f146ae3
llc: make sure applications use ARPHRD_ETHER
Jun 27, 2020
902fb33
net: Added pointer check for dst->ops->neigh_lookup in dst_neigh_look…
Jul 5, 2020
2506cfc
genetlink: remove genl_bind
Jun 30, 2020
3749774
tcp: make sure listeners don't initialize congestion-control state
cpaasch Jul 8, 2020
172671b
tcp: md5: add missing memory barriers in tcp_md5_do_add()/tcp_md5_has…
Jun 30, 2020
190a385
tcp: md5: refine tcp_md5_do_add()/tcp_md5_hash_key() barriers
Jul 1, 2020
3392ec0
tcp: md5: allow changing MD5 keys in all socket states
Jul 2, 2020
bce2465
i2c: eg20t: Load module automatically if ID matches
andy-shev Jul 2, 2020
849bafb
Revert "usb/ehci-platform: Set PM runtime as active on resume"
Jul 17, 2020
5c47be8
Revert "usb/xhci-plat: Set PM runtime as active on resume"
Jul 17, 2020
797fe17
Revert "usb/ohci-platform: Fix a warning when hibernating"
Jul 17, 2020
5600700
usb: gadget: udc: atmel: fix uninitialized read in debug printk
osctobe May 28, 2020
fc51cf8
staging: comedi: verify array index is correct before using it
Jul 9, 2020
e3645a6
perf stat: Zero all the 'ena' and 'run' array slot stats for interval…
Apr 9, 2020
bdc8219
mtd: rawnand: brcmnand: fix CS0 layout
Noltari May 22, 2020
2c9ade6
HID: magicmouse: do not set up autorepeat
dtor May 24, 2020
5547c12
usb: core: Add a helper function to check the validity of EP type in URB
tiwai Oct 4, 2017
fb01f1e
ALSA: line6: Perform sanity check for each URB creation
tiwai Jul 10, 2020
8fb2d89
ALSA: usb-audio: Fix race against the error recovery URB submission
tiwai Jul 10, 2020
4a8c220
USB: c67x00: fix use after free in c67x00_giveback_urb
Jul 8, 2020
e4468af
usb: chipidea: core: add wakeup support for extcon
Jul 7, 2020
5cc7647
usb: gadget: function: fix missing spinlock in f_uac1_legacy
Zqiang1211 Jul 6, 2020
d89b45c
USB: serial: iuu_phoenix: fix memory corruption
jhovold Jul 15, 2020
61477d6
USB: serial: cypress_m8: enable Simply Automated UPB PIM
jameshilliard Jun 16, 2020
c9a98d7
USB: serial: ch341: add new Product ID for CH340
igormp Jun 23, 2020
35298a5
USB: serial: option: add GosunCn GM500 series
jorsto Jun 22, 2020
024a225
USB: serial: option: add Quectel EG95 LTE modem
acelan Jul 7, 2020
4bba60f
virtio: virtio_console: add missing MODULE_DEVICE_TABLE() for rproc s…
solbjorn Jun 23, 2020
1e93bd0
fuse: Fix parameter for FS_IOC_{GET,SET}FLAGS
jynnantonix Jul 14, 2020
c3249bc
mei: bus: don't clean driver pointer
ausyskin Jun 28, 2020
823a6c2
Input: i8042 - add Lenovo XiaoXin Air 12 to i8042 nomux list
Limero Jul 7, 2020
89339d3
uio_pdrv_genirq: fix use without device tree and no interrupt
esben Jul 1, 2020
13c5c64
MIPS: Fix build for LTS kernel caused by backporting lpj adjustment
chenhuacai Jul 16, 2020
b157afa
hwmon: (emc2103) fix unable to change fan pwm1_enable attribute
VishwasMReddy Jul 7, 2020
c7c3366
dmaengine: fsl-edma: Fix NULL pointer exception in fsl_edma_tx_handler
krzk Jun 11, 2020
0120929
misc: atmel-ssc: lock with mutex instead of spinlock
osctobe Jun 24, 2020
331d1ee
sched/fair: handle case of task_h_load() returning 0
vingu-linaro Jul 10, 2020
554bbfc
Linux 4.4.231
gregkh Jul 22, 2020
358b6e3
pinctrl: amd: fix npins for uart0 in kerncz_groups
postgraph Jun 16, 2020
aaaac47
mac80211: allow rx of mesh eapol frames with default rx key
thillux Jun 25, 2020
84d3094
scsi: scsi_transport_spi: Fix function pointer check
Jun 27, 2020
0f5a8ff
xtensa: fix __sync_fetch_and_{and,or}_4 declarations
jcmvbkbc Jun 4, 2020
8a0f6e6
xtensa: update *pos in cpuinfo_op.next
jcmvbkbc Jul 2, 2020
bbf9ed1
drivers/net/wan/lapbether: Fixed the value of hard_header_len
Jul 6, 2020
7a9ad48
net: sky2: initialize return of gm_phy_read
Jul 3, 2020
901b898
drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
Jun 23, 2020
81475c5
SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direc…
olgakorn1 Jul 15, 2020
b7fe83d
perf/core: Fix locking for children siblings group read
olsajiri Jul 20, 2017
7a3a171
uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL,…
oleg-nesterov Jul 23, 2020
8e9b1d1
ALSA: info: Drop WARN_ON() from buffer NULL sanity check
tiwai Jul 17, 2020
ff1d1a6
ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
jwrdegoede Jun 28, 2020
fb83a09
btrfs: fix double free on ulist after backref resolution failure
fdmanana Jul 13, 2020
2a8f962
x86/fpu: Disable bottom halves while loading FPU registers
Nov 20, 2018
78684ad
btrfs: fix mount failure caused by race with umount
boryas Jul 16, 2020
2507049
hippi: Fix a size used in a 'pci_free_consistent()' in an error handl…
tititiou36 Jul 14, 2020
73fc41e
ax88172a: fix ax88172a_unbind() failures
gkennedy12 Jul 15, 2020
82b74fb
net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual conf…
sorganov Jul 15, 2020
09ee689
net: smc91x: Fix possible memory leak in smc_drv_probe()
Jul 16, 2020
cdde225
scripts/decode_stacktrace: strip basepath from all paths
peter50216 Jul 24, 2020
db18027
regmap: dev_get_regmap_match(): fix string comparison
marckleinebudde Jul 3, 2020
149797d
usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep…
eunovm Jun 26, 2020
049720c
arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP
willdeacon Feb 13, 2020
d16450a
x86: math-emu: Fix up 'cmp' insn for clang ias
arndb May 27, 2020
39c6ea8
Revert "cifs: Fix the target file was deleted when rename failed."
Jul 23, 2020
b3a6d51
staging: wlan-ng: properly check endpoint types
rustylife Jul 22, 2020
8f6e2f1
staging: comedi: addi_apci_1032: check INSN_CONFIG_DIGITAL_TRIG shift
ian-abbott Jul 17, 2020
6bc939f
staging: comedi: ni_6527: fix INSN_CONFIG_DIGITAL_TRIG support
ian-abbott Jul 17, 2020
1763572
staging: comedi: addi_apci_1500: check INSN_CONFIG_DIGITAL_TRIG shift
ian-abbott Jul 17, 2020
da6e0b3
staging: comedi: addi_apci_1564: check INSN_CONFIG_DIGITAL_TRIG shift
ian-abbott Jul 17, 2020
f5e7de4
serial: 8250: fix null-ptr-deref in serial8250_start_tx()
Jul 21, 2020
1f396b8
serial: 8250_mtk: Fix high-speed baud rates clamping
fancer Jul 14, 2020
0ac35c8
mm/memcg: fix refcount error while moving and swapping
Jul 24, 2020
baad782
parisc: Add atomic64_set_release() define to avoid CPU soft lockups
danglin44 Jul 21, 2020
8b10530
ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
Apr 4, 2020
6529b08
ath9k: Fix regression with Atheros 9271
shiftee Jul 11, 2020
b1cd0a6
AX.25: Fix out-of-bounds read in ax25_connect()
peilin-ye Jul 22, 2020
02889ec
AX.25: Prevent out-of-bounds read in ax25_sendmsg()
peilin-ye Jul 22, 2020
e4d9e8b
net-sysfs: add a newline when printing 'tx_timeout' by sysfs
fenghusthu Jul 21, 2020
8209bd6
net: udp: Fix wrong clean up for IS_UDPLITE macro
MiaoheLin Jul 21, 2020
c8a826b
AX.25: Prevent integer overflows in connect and sendmsg
Jul 23, 2020
4463a6b
tcp: allow at most one TLP probe per flight
yuchungcheng Jul 23, 2020
259da0c
rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
dhowells Jul 20, 2020
66079e9
ip6_gre: fix null-ptr-deref in ip6gre_init_net()
Jul 13, 2020
a442ed9
drivers/net/wan/x25_asy: Fix to make it work
Jul 16, 2020
993320d
Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
MaskRay Jul 21, 2020
7ce093c
regmap: debugfs: check count when read regmap file
MrVan Mar 13, 2020
f88efa4
xfs: set format back to extents if xfs_bmap_extents_to_btree
Apr 17, 2018
db2bfe0
tools/lib/subcmd/pager.c: do not alias select() params
sergey-senozhatsky Jul 2, 2020
3140af4
perf: Make perf able to build with latest libbfd
changbindu Jul 2, 2020
052c0f9
perf tools: Fix snprint warnings for gcc 8
olsajiri Jul 2, 2020
63d0d68
perf annotate: Use asprintf when formatting objdump command line
acmel Jul 2, 2020
fe9ea54
perf probe: Fix to check blacklist address correctly
mhiramat Jul 2, 2020
e164d5f
Linux 4.4.232
gregkh Jul 31, 2020
d5f990f
Merge CAF tag LA.UM.8.4.r1-05800-8x98.0
derfelot Aug 1, 2020
4a4f0e5
Merge Linux 4.4.231 kernel
derfelot Aug 1, 2020
259903a
Merge Linux 4.4.232 kernel
derfelot Aug 1, 2020
d2f55e6
net: Update WireGuard to 1.0.20200729 snapshot
derfelot Aug 1, 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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 4
PATCHLEVEL = 4
SUBLEVEL = 230
SUBLEVEL = 232
EXTRAVERSION =
NAME = Blurry Fish Butt

Expand Down Expand Up @@ -616,7 +616,7 @@ ifeq ($(shell $(srctree)/scripts/clang-android.sh $(CC) $(CLANG_TARGET)), y)
$(error "Clang with Android --target detected. Did you specify CLANG_TRIPLE?")
endif
GCC_TOOLCHAIN_DIR := $(dir $(shell which $(CROSS_COMPILE)elfedit))
CLANG_PREFIX := --prefix=$(GCC_TOOLCHAIN_DIR)
CLANG_PREFIX := --prefix=$(GCC_TOOLCHAIN_DIR)$(notdir $(CROSS_COMPILE))
GCC_TOOLCHAIN := $(realpath $(GCC_TOOLCHAIN_DIR)/..)
endif
ifneq ($(GCC_TOOLCHAIN),)
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 @@ -27,7 +27,7 @@
#define R_ARC_S25W_PCREL 0x11

/*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 @@ -168,7 +168,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 @@ -211,15 +210,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 @@ -246,16 +239,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
Loading