Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
456 commits
Select commit Hold shift + click to select a range
cd172d2
drivers: iio: imu: Fix NULL pointer dereference in bmi160 driver
Jan 16, 2019
7fbd5a0
msm: ipa: Fix to validate the buffer size
Jan 17, 2019
830c149
ARM: dts: msm: Disable APC CPR at cold for 9x07
Feb 11, 2019
dd89f83
soc: qcom: Validate read and write index before calculating ptr
Jan 4, 2019
b37a6ca
arm64: Move BP hardening to check_and_switch_context
Jan 19, 2018
c9609c3
Merge "ARM: dts: msm: Disable APC CPR at cold for 9x07"
Feb 15, 2019
5c9ab5c
Merge "soc: qcom: Validate read and write index before calculating ptr"
Feb 15, 2019
2c9f63a
Merge "arm64: Move BP hardening to check_and_switch_context"
Feb 15, 2019
63e9c80
iommu: iommu-debug: don't pass null character to copy_to_user
Feb 13, 2019
4f4d783
Merge 3.18.135 into kernel.lnx.3.18.r34-rel
nathanchance Feb 20, 2019
ba456d7
ASoC: msm: Initialize global Mutex in audio_cal_utils
Feb 13, 2019
5db0c85
Merge ac4239639debbdab9c61bf42148e7a0f7c2d75de on remote branch
Feb 22, 2019
75b76f3
Merge 63e9c809386e0bd72512684ea0c2af53e0785a79 on remote branch
Feb 22, 2019
0198267
mdss: mdp3: Optimize power save in lp mode
Dec 12, 2018
6afdb99
fbdev: mdss: Signal pending retire fence
Feb 12, 2019
960b3b6
Merge "fbdev: mdss: Signal pending retire fence"
Feb 22, 2019
68ab5f4
Merge 3.18.136 into kernel.lnx.3.18.r34-rel
nathanchance Feb 23, 2019
6683e92
msm: ipa3: Fix to validate the buffer size
Feb 12, 2019
7c60941
ARM: dts: msm: Define power configuration for msm8996 and msm8998
Jun 22, 2018
689a3d2
msm: vidc: Handle perf mode configuration
Jun 22, 2018
611c7b8
msm: vidc: Initialize DCVS load properly
Feb 18, 2019
fab2993
qdsp6v2: apr: check for packet size to header size comparison
Mar 1, 2019
c621a80
Merge "ARM: dts: msm: Define power configuration for msm8996 and msm8…
Mar 4, 2019
c8982fd
Merge "msm: vidc: Handle perf mode configuration"
Mar 4, 2019
2484c66
Merge changes into msm-3.18.c13
Mar 4, 2019
0245213
Merge "qdsp6v2: apr: check for packet size to header size comparison"
Mar 4, 2019
ca708bf
dsp: asm: Add check for num_channels before calling q6asm_map_channels
rohkkumar Feb 4, 2019
2fc4002
ASoC: msm: qdsp6v2: add range check for audio port index
Jan 15, 2019
8338cb5
Merge tag 'LA.UM.7.5.r1-04300-8x96.0' into kernel.lnx.3.18.r34-rel
nathanchance Mar 9, 2019
c92d432
dsp: codecs: fix range check for audio buffer copying
Mar 4, 2019
18ed8c9
diag: Increment data ready only if it is first update
Nov 22, 2017
7219a70
Merge "ASoC: msm: qdsp6v2: add range check for audio port index"
Mar 11, 2019
25ce3ec
Merge "diag: Increment data ready only if it is first update"
Mar 13, 2019
f35b63b
msm: asm: validate ADSP data before access
Feb 28, 2019
c789afa
msm: ice: check for crypto engine availability
Jan 2, 2019
d50c0e5
diag: Add missing protection while accessing session's info
Apr 9, 2018
e7c490d
diag: Update msg mask's ranges properly
Aug 8, 2018
fbc3fc1
Merge "diag: Update msg mask's ranges properly"
Mar 17, 2019
a3dcf90
Merge "msm: ice: check for crypto engine availability"
Mar 17, 2019
85c1f9e
Merge "diag: Add missing protection while accessing session's info"
Mar 17, 2019
4b61c20
msm: ipa: fix to validate the ioctl WAN_IOC_SEND_LAN_CLIENT_MSG params
chetanpratap Feb 26, 2019
af84607
msm: vidc: do not set video state to DEINIT very early
Jul 27, 2018
bf30cda
msm: mdss: correct the DTV panel fps calculation
Mar 19, 2019
ea76e13
msm: vidc: ignore processing responses in invalid state
Aug 21, 2018
e5e6a06
Merge "msm: vidc: ignore processing responses in invalid state"
Mar 19, 2019
dac57da
Merge "msm: vidc: do not set video state to DEINIT very early"
Mar 19, 2019
f2c88f0
Merge "msm: mdss: correct the DTV panel fps calculation"
Mar 20, 2019
d74d0a9
dsp: validate token before usage as array index
Feb 12, 2019
e56e369
dsp: asm: validate payload size before access
Feb 12, 2019
914b7b8
Merge "dsp: asm: validate payload size before access"
Mar 21, 2019
7c90459
Merge 3.18.137 into kernel.lnx.3.18.r34-rel
nathanchance Mar 23, 2019
90b5521
scripts: gcc-wrapper: Route the GCC errors to stderr
Feb 20, 2019
9dfb3f1
msm: vidc: fix KCFI errors
Jan 14, 2019
a3654a8
Merge "msm: vidc: fix KCFI errors"
Mar 25, 2019
3600782
drivers: soc: qcom: Added check to avoid opening multiple instance
Feb 28, 2019
b7df119
qdsp6v2: q6usm: Check size of payload before access
Feb 12, 2019
5ff911a
qdsp6v2: q6usm: Check size of payload before access
Feb 12, 2019
7aa061d
dsp: q6voice: Check size of shared memory buffer before access
Mar 5, 2019
d1bae71
Merge "qdsp6v2: q6usm: Check size of payload before access"
Apr 1, 2019
c003aab
Merge "dsp: q6voice: Check size of shared memory buffer before access"
Apr 1, 2019
233870b
Merge 3.18.138 into kernel.lnx.3.18.r34-rel
nathanchance Apr 3, 2019
119eb1c
dsp: q6usm: Release spinlock before return if invalid payload size
Apr 3, 2019
d1b4d44
Merge 1cf97dd953a396dbf60351ae94705d34616020de on remote branch
Apr 3, 2019
d694a5f
Merge a3654a83a5ccf0574517103dd9dc1ce80527a582 on remote branch
Apr 3, 2019
5c92de2
msm: adm: validate ADSP payload size before access
Feb 28, 2019
d82d2d3
dsp: afe: check for payload size before payload access
Mar 13, 2019
f5dd60e
Merge "dsp: afe: check for payload size before payload access"
Apr 3, 2019
cf5c666
Merge "drivers: soc: qcom: Added check to avoid opening multiple inst…
Apr 4, 2019
26a0602
Merge "dsp: q6usm: Release spinlock before return if invalid payload …
Apr 5, 2019
fca976b
soc: qcom: qmi_encdec: Restrict string length in decode
Mar 5, 2019
8f397ec
Merge tag 'LA.UM.7.5.r1-04500-8x96.0' into kernel.lnx.3.18.r34-rel
nathanchance Apr 9, 2019
9c927ca
diag: dci: Validate dci client entries prior read
Dec 13, 2018
a24febd
ASoC: msm: Modify buf size check to prevent OOB error
Apr 27, 2018
3ad2b2b
Merge "msm: kgsl: Limit log frequency in case of context count maxed …
Apr 19, 2019
7f7640a
msm: qdsp6v2: Check size of payload before access
Feb 22, 2019
471aab5
lsm: check payload size validity before using it as array index
Apr 18, 2019
adf709f
Merge 3ad2b2b803592916ef0d254ded94ed9c70f07cb6 on remote branch
Apr 23, 2019
a6a524f
Merge "diag: dci: Validate dci client entries prior read"
Apr 23, 2019
ba8e69b
Merge "lsm: check payload size validity before using it as array index"
Apr 23, 2019
27fb182
dsp: q6core: validate payload size before memory copy
Apr 25, 2019
7e363b2
Merge 3.18.139 into kernel.lnx.3.18.r34-rel
nathanchance Apr 27, 2019
02c15cc
lsm: check payload size validity before using it as array index
Apr 18, 2019
7c7b3d3
msm: mdss: Ignore overflow errors in dma_tpg_tx path
May 3, 2019
1ca283b
soc: qcom: Bail out when number of clusters is set to 0
May 7, 2019
5423a8a
Merge "soc: qcom: Bail out when number of clusters is set to 0"
May 8, 2019
26b87cf
diag: dci: Validate dci response length before parsing
Apr 18, 2019
b88c7e7
msm: sps: Update debug message format specifier
Mar 13, 2019
b05dcc9
Merge "msm: qdsp6v2: Check size of payload before access"
May 9, 2019
b77565d
Merge "msm: sps: Update debug message format specifier"
May 10, 2019
9367796
Merge tag 'LA.UM.7.5.r1-04800-8x96.0' into kernel.lnx.3.18.r34-rel
nathanchance May 10, 2019
fa3003a
msm: camera_v2: handle the error value returned during get clock
Mar 27, 2019
d662852
msm: ais: handle the error value returned during get clock
Apr 24, 2019
4d60efb
diag: Validate command length against size of command structure
May 1, 2019
945cdbe
Merge "msm: camera_v2: handle the error value returned during get clock"
May 10, 2019
82fa25f
Merge "msm: ais: handle the error value returned during get clock"
May 10, 2019
2459157
Merge "diag: Validate command length against size of command structure"
May 10, 2019
1b0c6d3
msm: ais : Lock Implementation for avoid race condition
Apr 25, 2019
06f237c
msm: camera : Lock Implementation for avoid race condition
Apr 16, 2019
dfbe58c
Merge "msm: camera : Lock Implementation for avoid race condition"
May 13, 2019
f324545
msm: vidc: Ensure validity of shared Q indices
vgarodia Jan 11, 2019
003947b
Merge 3.18.140 into kernel.lnx.3.18.r34-rel
nathanchance May 16, 2019
3f592ca
msm: kgsl: Fix race condition while making page as dirty
Apr 30, 2019
f227ea7
lsm: check payload size validity in lsm_event_detect_status_v3
May 27, 2019
4b7c163
diag: Check command size against the minimum before parsing
Apr 24, 2019
c34e289
diag: Check buffer size against command structure size
May 9, 2019
d238682
Merge e8df7e548df3a8eef1575ada58345176b72d6696 on remote branch
Jun 5, 2019
38ad6b2
Merge c34e289099888208e829f68102ea26eade1c8efc on remote branch
Jun 5, 2019
445ef3e
diag: Prevent out of bound access while getting build mask
Apr 24, 2019
aaa1c28
qcom: smcinvoke: Fix stack overflow for arr_filp
May 2, 2019
902b817
Merge "msm: ipa3: Fix to validate the buffer size"
Jun 11, 2019
ac662d0
msm: vidc: add additional check to avoid out of bound access
May 22, 2019
7eacb9a
Merge "msm: vidc: add additional check to avoid out of bound access"
Jun 12, 2019
fa863c4
Merge "qcom: smcinvoke: Fix stack overflow for arr_filp"
Jun 12, 2019
f61d820
net: sockev: avoid races between sockev and socket_close
Apr 24, 2019
27256c5
Merge "net: sockev: avoid races between sockev and socket_close"
Jun 12, 2019
320a231
soc: qcom: smem: validate fields of shared structures
May 29, 2019
3533dd0
fbdev: msm: check the length of the external input buffer properly
May 22, 2019
c67dc74
msm: sensor: actuator: fix out of bound read for bivcm region params
Apr 30, 2019
d71d438
Merge "dsp: q6core: validate payload size before memory copy"
Jun 20, 2019
9e1ad96
asoc: Ratelimit error logs to avoid excessive logging
May 7, 2019
6e0deb7
Merge "msm: sensor: actuator: fix out of bound read for bivcm region …
Jun 20, 2019
501b4eb
Merge "asoc: Ratelimit error logs to avoid excessive logging"
Jun 21, 2019
20c6f41
msm: adsprpc: maintain local copy of rpra offloaded to DSP
May 6, 2019
9385e8a
defconfig: msm: Disable EXT2 and EXT3 FS configs for MSM8996
Jun 14, 2019
e5b25a1
diag: Prevent out-of-bound access while processing userspace data
Apr 30, 2019
50573bd
ARM: dts: msm: Increase TZ apps region to 2MB on msm8909w
Jun 25, 2019
6beed70
Merge tag 'LA.UM.7.5.r1-05300-8x96.0' into kernel.lnx.3.18.r34-rel
nathanchance Jun 27, 2019
df4b4c3
Merge "defconfig: msm: Disable EXT2 and EXT3 FS configs for MSM8996"
Jun 28, 2019
54666c8
msm: kgsl: Add missing check for snapshot IB dump
Jun 19, 2019
b68e600
Merge 093c4faaf7937f5091676f6ea2a4ae6094332e38 on remote branch
Jul 3, 2019
9bc6800
Merge df4b4c3503dd745baa36d0b325086fd0f3a87f06 on remote branch
Jul 3, 2019
cb3f8b9
ARM: dts: msm: Correct year marking
Jul 9, 2019
b6298f1
Merge "fbdev: msm: check the length of the external input buffer prop…
Jul 15, 2019
648331e
msm: camera: jpegdma: Added missing lock for dqbuf and streamon
May 7, 2019
75f8c59
diag: Prevent out-of-bound access while processing dci transaction
Apr 18, 2019
0b6a448
msm: vidc: Avoid information leak while accessing the packet
Jul 4, 2019
98808cb
scsi: target: iscsi: Use bin2hex instead of a re-implementation
vpelletier Jul 4, 2019
98fa53a
scsi: megaraid_sas: return error when create DMA pool failed
JasonYanHw Jul 4, 2019
b98194f
scsi: libsas: fix a race condition when smp task timeout
JasonYanHw Jul 4, 2019
3d85516
[media] cx231xx-cards: fix NULL-deref on missing association descriptor
jhovold Jul 4, 2019
0ab09ba
mm: get rid of vmacache_flush_all() entirely
torvalds Jul 4, 2019
89bb088
pwm: Mark all devices as "might sleep"
thierryreding Jul 4, 2019
0514246
vfs, writeback: replace FS_CGROUP_WRITEBACK with SB_I_CGROUPWB
htejun Jul 4, 2019
3732cd5
vfs: Commit to never having exectuables on proc and sysfs
ebiederm Jul 4, 2019
eda7443
aio: mark AIO pseudo-fs noexec
thejh Jul 4, 2019
b7c03c0
usb: otg: don't set a_alt_hnp_support feature for OTG 2.0 device
Jul 4, 2019
ede1728
Merge "vfs, writeback: replace FS_CGROUP_WRITEBACK with SB_I_CGROUPWB"
Jul 31, 2019
a444a4b
Merge "aio: mark AIO pseudo-fs noexec"
Jul 31, 2019
8377cc3
Merge "usb: otg: don't set a_alt_hnp_support feature for OTG 2.0 device"
Jul 31, 2019
1bd1311
Merge "scsi: libsas: fix a race condition when smp task timeout"
Jul 31, 2019
381e9c1
msm:camera:isp: Fix array index bound checks
Jul 22, 2019
2c62467
vidc: Add checks to avoid OOB access
Jul 24, 2019
3fe7abb
Merge "vidc: Add checks to avoid OOB access"
Jul 31, 2019
0e91f19
Merge "msm:camera:isp: Fix array index bound checks"
Aug 1, 2019
eaa5c9e
defconfig: arm64: msm: Disable AIS support
Jul 29, 2019
78071f8
msm: ais: Remove dead code from Camera drivers
Jul 29, 2019
f98355b
Merge "defconfig: arm64: msm: Disable AIS support"
Aug 1, 2019
5fdc377
Merge "msm: ais: Remove dead code from Camera drivers"
Aug 2, 2019
0463006
USB: check usb_get_extra_descriptor for proper size
gannimo Jul 4, 2019
be829d2
Merge "USB: check usb_get_extra_descriptor for proper size"
Aug 2, 2019
6d72b00
soc: qcom: glink_smem: Initialize buffers
Jun 12, 2019
b2913c0
l2tp: pass tunnel pointer to ->session_create()
Jul 4, 2019
702816d
msm: vidc: Ensure size of the data available before typecasting
May 9, 2019
ad73d35
Merge "msm: vidc: Ensure size of the data available before typecasting"
Aug 13, 2019
3b0f8c1
net: qmi_wwan: fix divide by 0 on bad descriptors
bmork Jul 4, 2019
60a8d8a
Merge tag 'LA.UM.7.6.r1-05500-89xx.0' into kernel.lnx.3.18.r34-rel
nathanchance Aug 14, 2019
6c8635a
dts: build ugglite full dts only
muralivijay Jun 7, 2018
4850423
include: Add xiaomi changes
zainarbani Jul 29, 2019
0b53f4b
sound: Add xiaomi changes
zainarbani Jul 29, 2019
348df91
init/main.c: Add xiaomi changes
zainarbani Jul 29, 2019
93eedd9
drivers/cpufreq: Add xiaomi changes
zainarbani Jul 29, 2019
158a8d7
drivers/gpu: Add xiaomi changes
zainarbani Jul 29, 2019
18668a2
drivers/gpio: Add xiaomi changes
zainarbani Jul 29, 2019
e0f91b2
drivers/camera: Add xiaomi changes
zainarbani Jul 29, 2019
0f8b38e
drivers/input: Add xiaomi changes
zainarbani Jul 29, 2019
96772d1
drivers/leds: Add xiaomi changes
zainarbani Jul 29, 2019
ee274a9
drivers/lirc: Add xiaomi changes
zainarbani Jul 29, 2019
b89936b
drivers/pwm: Add xiaomi changes
zainarbani Jul 30, 2019
3a6910f
drivers/misc: Add xiaomi changes
zainarbani Jul 29, 2019
b8ed7f1
drivers/soc/qcom: Add xiaomi changes
zainarbani Jul 30, 2019
77db127
drivers/power: Add xiaomi changes
zainarbani Jul 30, 2019
4ecdaad
driver/of: Add xiaomi changes
zainarbani Jul 30, 2019
646164d
drivers/regulator: Add xiaomi changes
zainarbani Jul 30, 2019
880f165
drivers/rtc: Add xiaomi changes
zainarbani Jul 30, 2019
a1b38f6
drivers/usb: Add xiaomi changes
zainarbani Jul 30, 2019
8e81ba6
drivers/video: Add xiaomi changes
zainarbani Jul 30, 2019
7196f7d
Merge tag 'LA.UM.7.6.r1-05500-89xx.0' of https://source.codeaurora.or…
zainarbani Aug 18, 2019
cfc7990
staging: prima: Add Kconfig entry for TDLS
hyperb1iss Sep 2, 2015
99fa684
fs: pstore: Import Xiaomi changes
HridayHS Feb 28, 2018
cc40abc
fs: pstore: export console-ramoops to /proc/last_kmsg
Mar 1, 2018
0cca574
qpnp-haptic: Add sysfs interface to control intensity
Grarak Sep 13, 2015
af0906f
msm: qpnp-haptic: set up sysfs interface for common cmhw implementation
moetayuko Jul 1, 2016
91f803f
qpnp-haptic: Dejank the haptics
Jul 20, 2016
afd2137
msm: qpnp-haptic: Process haptics asynchronously
kerneltoast Aug 3, 2016
6988516
video: mdss: LiveDisplay driver
Jul 11, 2015
fe4934d
Add exFAT support
flar2 Nov 10, 2014
2722bee
fs exfat: Disable exfat external module makefile logic
awheeler-mmi Mar 31, 2017
f469f1e
qpnp-smbcharger: Publish charger voltage to the usb psy
defer May 6, 2017
5e4e63f
ASoC: msm: qdsp6v2: add support for AMR_WB_PLUS offload
Jun 30, 2019
3f78478
Merge 3b0f8c123142cfbd5cd41a12b7a2ddf4469d3288 on remote branch
Aug 26, 2019
449f649
dts: Define /vendor mount point
luk1337 Jan 31, 2018
ff78610
Merge 5e4e63fd28a8daf4c3d3382828e7c486da461f96 on remote branch
Aug 27, 2019
f8920c8
arch/arm64: add Xiaomi changes
adislice Aug 31, 2019
97f672d
msm: camera: sensor: Fix memory leaks when sensor probe fails
kerneltoast Mar 21, 2017
daf0afb
msm: sensor: Fix crash when ioctl VIDIOC_MSM_SENSOR_INIT_CFG
Aug 9, 2017
df22e64
msm8937: arm64: remove vfe_secure dtsi entry
alviteri Jul 8, 2017
310a06c
drivers : usb: Increase charge current
balika011 May 20, 2017
29f8cad
power:qpnp-charger: extended charge time from 30s to 100s when batter…
teddyzhaoxuewen Sep 23, 2015
bd5e270
drivers: power: Fix 2% battery level drop
Hikari-no-Tenshi Nov 26, 2016
8fd550d
mdss: rotator: Use FIFO kthread for rotator work
naseer Oct 3, 2016
c4b27e8
boeffla_wl_blocker: add generic wakelock blocker driver v1.0.0
andip71 Aug 28, 2017
fb60ce9
boeffla_wl_blocker: update to wakelock blocker driver v1.0.1
andip71 Aug 29, 2017
d9c12e9
boeffla_wl_blocker: update to wakelock blocker driver v1.1.0
andip71 Aug 31, 2017
24bd0a7
Revert "netfilter:Notify user space on creating sysfs file"
difr Oct 15, 2018
651655f
Silences WLAN, PCIe, and CPU suspend state kernel messages
nickdesaulniers Feb 23, 2016
900e615
removing msm calls to trace_printk
Jul 11, 2016
1ac52fd
kgsl: Increase priority of RT thread
TheCrazyLex Dec 31, 2016
591fa07
PM: devfreq: Use high priority workqueue
Jan 8, 2014
147a95b
ANDROID: cpufreq_stat: add per task/uid/freq stats
andresoportus Feb 1, 2017
79043e5
Remove '+' symbol from kernel version string
franciscofranco Dec 19, 2011
02aed55
Add ugglite_defconfig
zainarbani Aug 28, 2019
29a9b55
Revert "dts: build ugglite full dts only"
adislice Oct 5, 2019
2066dc7
dts: ugglite: Import Xiaomi dts changes
adislice Oct 5, 2019
eb40985
Merge tag 'LA.UM.7.6.r1-05900-89xx.0' of https://source.codeaurora.or…
adislice Oct 8, 2019
7d1f946
ugg: Import ugg_defconfig
adislice Mar 8, 2020
53761d1
ugg: Import ugg full dts file
adislice Mar 8, 2020
9371677
ugg: Define /vendor mount point
adislice Mar 8, 2020
cd2c79d
ugg: Update defconfig
adislice Mar 8, 2020
1faccd6
Enable double tap to wake by default for Goodix-TS
ghiffaryr May 19, 2020
a957cd3
Fix Goodix fingerprint driver
ghiffaryr May 20, 2020
8b35cc9
Fix Goodix fingerprint driver
ghiffaryr May 20, 2020
2602324
Fix reboot recovery in latest firmware
ghiffaryr Jun 7, 2020
dd59469
ANDROID: mnt: Propagate remount correctly
drosen-google Jan 12, 2019
05d8829
ugg: dts: Fix brightness slider for shenchao panel
adislice Jun 7, 2020
5bb680b
ugg: defconfig: Android 10 bring up!
adislice Jun 9, 2020
e103d91
configs: Enable Front Flashlight on ugg
zqm64 Jun 14, 2020
5af92f3
Enable double tap to wake by default for FT5435-TS
ghiffaryr Jun 26, 2020
0579235
msm: ipa: Move NAT invalid protocol define to uapi
Mar 12, 2019
debb5d3
ARM64: configs: Add ugg/ugglite sorted defconfigs
zqm64 Jul 20, 2020
039f495
ARM64: configs: Init unified ulysse defconfig
zqm64 Jul 20, 2020
a9b342d
FIXME: camera_v2: Disable module probe fail in L6200/L6210
zqm64 Jul 20, 2020
5624f8e
Unify!
zqm64 Jul 21, 2020
fabdb1b
ugg: dts: Fix brightness slider for shenchao panel
ghiffaryr Jul 22, 2020
af35f61
Revert "drivers/video: Add xiaomi changes"
zqm64 Jul 26, 2020
421d360
msm: mdss: Import xiaomi changes for ulysse
zqm64 Jul 26, 2020
dae3d7f
msm: mdss: Use mdss variable name to enable xiaomi ulysse support
zqm64 Jul 26, 2020
1264558
ARM64: configs: Enable CONFIG_FB_MSM_MDSS_XIAOMI_ULYSSE
zqm64 Jul 26, 2020
393343f
dts: ugg: shenchao: Correct mdss-dsi-bl-max-level
zqm64 Jul 26, 2020
071eff7
ARM64: configs: Enable CONFIG_MSM_PERFORMANCE_HOTPLUG_ON
zqm64 Aug 1, 2020
2a0f6ae
rtc: fix clock sync after boot-up
Noob-214 Aug 5, 2020
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
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
subdir-y := accounting auxdisplay blackfin connector \
filesystems filesystems ia64 laptops misc-devices \
networking pcmcia prctl ptp spi timers vDSO video4linux \
watchdog
pcmcia prctl ptp spi timers vDSO video4linux watchdog
4 changes: 2 additions & 2 deletions Documentation/arm/kernel_mode_neon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TL;DR summary
* Use only NEON instructions, or VFP instructions that don't rely on support
code
* Isolate your NEON code in a separate compilation unit, and compile it with
'-mfpu=neon -mfloat-abi=softfp'
'-march=armv7-a -mfpu=neon -mfloat-abi=softfp'
* Put kernel_neon_begin() and kernel_neon_end() calls around the calls into your
NEON code
* Don't sleep in your NEON code, and be aware that it will be executed with
Expand Down Expand Up @@ -87,7 +87,7 @@ instructions appearing in unexpected places if no special care is taken.
Therefore, the recommended and only supported way of using NEON/VFP in the
kernel is by adhering to the following rules:
* isolate the NEON code in a separate compilation unit and compile it with
'-mfpu=neon -mfloat-abi=softfp';
'-march=armv7-a -mfpu=neon -mfloat-abi=softfp';
* issue the calls to kernel_neon_begin(), kernel_neon_end() as well as the calls
into the unit containing the NEON code from a compilation unit which is *not*
built with the GCC flag '-mfpu=neon' set.
Expand Down
4 changes: 4 additions & 0 deletions Documentation/devicetree/bindings/media/video/msm-vidc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ value is typically max(latencies of every cluster at all power levels) + 1
- qcom,max-secure-instances = An int containing max number of concurrent secure
instances supported, accounting for venus and system wide limitations like
memory, performance etc.
- qcom,power-conf = Indicates the value at which or beyond, a video session
is configured in low power mode to have power benefits. Value is defined
interms of HxW of the video session beyond which power benefit is desired.

[Second level nodes]
Context Banks
Expand Down Expand Up @@ -229,6 +232,7 @@ Example:
qcom,qdss-presets = <0xFC307000 0x1000>,
<0xFC322000 0x1000>;
qcom,max-hw-load = <1224450>; /* 4k @ 30 + 1080p @ 30*/
qcom,power-conf = <8294400>; /* WxH - 3840*2160 */
qcom,never-unload-fw;
clock-names = "foo_clk", "bar_clk", "baz_clk";
qcom,clock-configs = <0x3 0x1 0x0>;
Expand Down
7 changes: 7 additions & 0 deletions Documentation/devicetree/bindings/power/qpnp-fg-gen3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,13 @@ First Level Node - FG Gen3 device
is specified to make it fully functional. Value has no
unit. Allowed range is 0 to 62200 in micro units.

- qcom,ki-coeff-full-dischg
Usage: optional
Value type: <u32>
Definition: Ki coefficient full SOC value that will be applied during
discharging. If not specified, a value of 0 will be set.
Allowed range is from 245 to 62256.

- qcom,fg-rconn-mohms
Usage: optional
Value type: <u32>
Expand Down
4 changes: 3 additions & 1 deletion Documentation/filesystems/proc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,9 @@ manner. The codes are the following:

Note that there is no guarantee that every flag and associated mnemonic will
be present in all further kernel releases. Things get changed, the flags may
be vanished or the reverse -- new added.
be vanished or the reverse -- new added. Interpretation of their meaning
might change in future as well. So each consumer of these flags has to
follow each specific kernel version for the exact semantic.

The "Name" field will only be present on a mapping that has been named by
userspace, and will show the name passed in by userspace.
Expand Down
1 change: 0 additions & 1 deletion Documentation/networking/Makefile

This file was deleted.

14 changes: 0 additions & 14 deletions Documentation/networking/timestamping/Makefile

This file was deleted.

14 changes: 9 additions & 5 deletions Documentation/usb/power-management.txt
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,15 @@ autosuspend the interface's device. When the usage counter is = 0
then the interface is considered to be idle, and the kernel may
autosuspend the device.

Drivers need not be concerned about balancing changes to the usage
counter; the USB core will undo any remaining "get"s when a driver
is unbound from its interface. As a corollary, drivers must not call
any of the usb_autopm_* functions after their disconnect() routine has
returned.
Drivers must be careful to balance their overall changes to the usage
counter. Unbalanced "get"s will remain in effect when a driver is
unbound from its interface, preventing the device from going into
runtime suspend should the interface be bound to a driver again. On
the other hand, drivers are allowed to achieve this balance by calling
the ``usb_autopm_*`` functions even after their ``disconnect`` routine
has returned -- say from within a work-queue routine -- provided they
retain an active reference to the interface (via ``usb_get_intf`` and
``usb_put_intf``).

Drivers using the async routines are responsible for their own
synchronization and mutual exclusion.
Expand Down
16 changes: 11 additions & 5 deletions Documentation/virtual/kvm/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ of a virtual machine. The ioctls belong to three classes

- VM ioctls: These query and set attributes that affect an entire virtual
machine, for example memory layout. In addition a VM ioctl is used to
create virtual cpus (vcpus).
create virtual cpus (vcpus) and devices.

Only run VM ioctls from the same process (address space) that was used
to create the VM.
Expand All @@ -24,6 +24,11 @@ of a virtual machine. The ioctls belong to three classes
Only run vcpu ioctls from the same thread that was used to create the
vcpu.

- device ioctls: These query and set attributes that control the operation
of a single device.

device ioctls must be issued from the same process (address space) that
was used to create the VM.

2. File descriptors
-------------------
Expand All @@ -32,10 +37,11 @@ The kvm API is centered around file descriptors. An initial
open("/dev/kvm") obtains a handle to the kvm subsystem; this handle
can be used to issue system ioctls. A KVM_CREATE_VM ioctl on this
handle will create a VM file descriptor which can be used to issue VM
ioctls. A KVM_CREATE_VCPU ioctl on a VM fd will create a virtual cpu
and return a file descriptor pointing to it. Finally, ioctls on a vcpu
fd can be used to control the vcpu, including the important task of
actually running guest code.
ioctls. A KVM_CREATE_VCPU or KVM_CREATE_DEVICE ioctl on a VM fd will
create a virtual cpu or device and return a file descriptor pointing to
the new resource. Finally, ioctls on a vcpu or device fd can be used
to control the vcpu or device. For vcpus, this includes the important
task of actually running guest code.

In general file descriptors can be migrated among processes by means
of fork() and the SCM_RIGHTS facility of unix domain socket. These
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION = 3
PATCHLEVEL = 18
SUBLEVEL = 120
SUBLEVEL = 140
EXTRAVERSION =
NAME = Diseased Newt

Expand Down Expand Up @@ -772,6 +772,9 @@ KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
# disable pointer signed / unsigned warnings in gcc 4.0
KBUILD_CFLAGS += $(call cc-disable-warning, pointer-sign)

# disable stringop warnings in gcc 8+
KBUILD_CFLAGS += $(call cc-disable-warning, stringop-truncation)

# disable invalid "can't wrap" optimizations for signed / pointers
KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow)

Expand Down
6 changes: 3 additions & 3 deletions arch/alpha/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@

#elif defined(CONFIG_ALPHA_DP264) || \
defined(CONFIG_ALPHA_LYNX) || \
defined(CONFIG_ALPHA_SHARK) || \
defined(CONFIG_ALPHA_EIGER)
defined(CONFIG_ALPHA_SHARK)
# define NR_IRQS 64

#elif defined(CONFIG_ALPHA_TITAN)
#define NR_IRQS 80

#elif defined(CONFIG_ALPHA_RAWHIDE) || \
defined(CONFIG_ALPHA_TAKARA)
defined(CONFIG_ALPHA_TAKARA) || \
defined(CONFIG_ALPHA_EIGER)
# define NR_IRQS 128

#elif defined(CONFIG_ALPHA_WILDFIRE)
Expand Down
8 changes: 7 additions & 1 deletion arch/alpha/include/asm/termios.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,15 @@
})

#define user_termios_to_kernel_termios(k, u) \
copy_from_user(k, u, sizeof(struct termios))
copy_from_user(k, u, sizeof(struct termios2))

#define kernel_termios_to_user_termios(u, k) \
copy_to_user(u, k, sizeof(struct termios2))

#define user_termios_to_kernel_termios_1(k, u) \
copy_from_user(k, u, sizeof(struct termios))

#define kernel_termios_to_user_termios_1(u, k) \
copy_to_user(u, k, sizeof(struct termios))

#endif /* _ALPHA_TERMIOS_H */
5 changes: 5 additions & 0 deletions arch/alpha/include/uapi/asm/ioctls.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
#define TCXONC _IO('t', 30)
#define TCFLSH _IO('t', 31)

#define TCGETS2 _IOR('T', 42, struct termios2)
#define TCSETS2 _IOW('T', 43, struct termios2)
#define TCSETSW2 _IOW('T', 44, struct termios2)
#define TCSETSF2 _IOW('T', 45, struct termios2)

#define TIOCSWINSZ _IOW('t', 103, struct winsize)
#define TIOCGWINSZ _IOR('t', 104, struct winsize)
#define TIOCSTART _IO('t', 110) /* start output, like ^Q */
Expand Down
17 changes: 17 additions & 0 deletions arch/alpha/include/uapi/asm/termbits.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ struct termios {
speed_t c_ospeed; /* output speed */
};

/* Alpha has identical termios and termios2 */

struct termios2 {
tcflag_t c_iflag; /* input mode flags */
tcflag_t c_oflag; /* output mode flags */
tcflag_t c_cflag; /* control mode flags */
tcflag_t c_lflag; /* local mode flags */
cc_t c_cc[NCCS]; /* control characters */
cc_t c_line; /* line discipline (== c_cc[19]) */
speed_t c_ispeed; /* input speed */
speed_t c_ospeed; /* output speed */
};

/* Alpha has matching termios and ktermios */

struct ktermios {
Expand Down Expand Up @@ -147,6 +160,7 @@ struct ktermios {
#define B3000000 00034
#define B3500000 00035
#define B4000000 00036
#define BOTHER 00037

#define CSIZE 00001400
#define CS5 00000000
Expand All @@ -164,6 +178,9 @@ struct ktermios {
#define CMSPAR 010000000000 /* mark or space (stick) parity */
#define CRTSCTS 020000000000 /* flow control */

#define CIBAUD 07600000
#define IBSHIFT 16

/* c_lflag bits */
#define ISIG 0x00000080
#define ICANON 0x00000100
Expand Down
64 changes: 28 additions & 36 deletions arch/alpha/kernel/osf_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,24 +525,19 @@ SYSCALL_DEFINE4(osf_mount, unsigned long, typenr, const char __user *, path,
SYSCALL_DEFINE1(osf_utsname, char __user *, name)
{
int error;
char tmp[5 * 32];

down_read(&uts_sem);
error = -EFAULT;
if (copy_to_user(name + 0, utsname()->sysname, 32))
goto out;
if (copy_to_user(name + 32, utsname()->nodename, 32))
goto out;
if (copy_to_user(name + 64, utsname()->release, 32))
goto out;
if (copy_to_user(name + 96, utsname()->version, 32))
goto out;
if (copy_to_user(name + 128, utsname()->machine, 32))
goto out;
memcpy(tmp + 0 * 32, utsname()->sysname, 32);
memcpy(tmp + 1 * 32, utsname()->nodename, 32);
memcpy(tmp + 2 * 32, utsname()->release, 32);
memcpy(tmp + 3 * 32, utsname()->version, 32);
memcpy(tmp + 4 * 32, utsname()->machine, 32);
up_read(&uts_sem);

error = 0;
out:
up_read(&uts_sem);
return error;
if (copy_to_user(name, tmp, sizeof(tmp)))
return -EFAULT;
return 0;
}

SYSCALL_DEFINE0(getpagesize)
Expand All @@ -560,24 +555,22 @@ SYSCALL_DEFINE0(getdtablesize)
*/
SYSCALL_DEFINE2(osf_getdomainname, char __user *, name, int, namelen)
{
unsigned len;
int i;
int len, err = 0;
char *kname;
char tmp[32];

if (!access_ok(VERIFY_WRITE, name, namelen))
return -EFAULT;

len = namelen;
if (len > 32)
len = 32;
if (namelen < 0 || namelen > 32)
namelen = 32;

down_read(&uts_sem);
for (i = 0; i < len; ++i) {
__put_user(utsname()->domainname[i], name + i);
if (utsname()->domainname[i] == '\0')
break;
}
kname = utsname()->domainname;
len = strnlen(kname, namelen);
len = min(len + 1, namelen);
memcpy(tmp, kname, len);
up_read(&uts_sem);

if (copy_to_user(name, tmp, len))
return -EFAULT;
return 0;
}

Expand Down Expand Up @@ -740,27 +733,26 @@ SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count)
};
unsigned long offset;
const char *res;
long len, err = -EINVAL;
long len;
char tmp[__NEW_UTS_LEN + 1];

offset = command-1;
if (offset >= ARRAY_SIZE(sysinfo_table)) {
/* Digital UNIX has a few unpublished interfaces here */
printk("sysinfo(%d)", command);
goto out;
return -EINVAL;
}

down_read(&uts_sem);
res = sysinfo_table[offset];
len = strlen(res)+1;
if ((unsigned long)len > (unsigned long)count)
len = count;
if (copy_to_user(buf, res, len))
err = -EFAULT;
else
err = 0;
memcpy(tmp, res, len);
up_read(&uts_sem);
out:
return err;
if (copy_to_user(buf, tmp, len))
return -EFAULT;
return 0;
}

SYSCALL_DEFINE5(osf_getsysinfo, unsigned long, op, void __user *, buffer,
Expand Down
2 changes: 1 addition & 1 deletion arch/alpha/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ __load_new_mm_context(struct mm_struct *next_mm)
/* Macro for exception fixup code to access integer registers. */
#define dpf_reg(r) \
(((unsigned long *)regs)[(r) <= 8 ? (r) : (r) <= 15 ? (r)-16 : \
(r) <= 18 ? (r)+8 : (r)-10])
(r) <= 18 ? (r)+10 : (r)-10])

asmlinkage void
do_page_fault(unsigned long address, unsigned long mmcsr,
Expand Down
3 changes: 3 additions & 0 deletions arch/arc/include/asm/delay.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
#ifndef __ASM_ARC_UDELAY_H
#define __ASM_ARC_UDELAY_H

#include <asm-generic/types.h>
#include <asm/param.h> /* HZ */

extern unsigned long loops_per_jiffy;

static inline void __delay(unsigned long loops)
{
__asm__ __volatile__(
Expand Down
7 changes: 4 additions & 3 deletions arch/arc/mm/cache_arc700.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ void flush_cache_mm(struct mm_struct *mm)
void flush_cache_page(struct vm_area_struct *vma, unsigned long u_vaddr,
unsigned long pfn)
{
unsigned int paddr = pfn << PAGE_SHIFT;
phys_addr_t paddr = pfn << PAGE_SHIFT;

u_vaddr &= PAGE_MASK;

Expand All @@ -662,8 +662,9 @@ void flush_anon_page(struct vm_area_struct *vma, struct page *page,
unsigned long u_vaddr)
{
/* TBD: do we really need to clear the kernel mapping */
__flush_dcache_page(page_address(page), u_vaddr);
__flush_dcache_page(page_address(page), page_address(page));
__flush_dcache_page((phys_addr_t)page_address(page), u_vaddr);
__flush_dcache_page((phys_addr_t)page_address(page),
(phys_addr_t)page_address(page));

}

Expand Down
Loading