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

Riva n oss #1227

Open
wants to merge 2,183 commits into
base: riva-o-oss
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2183 commits
Select commit Hold shift + click to select a range
18dff16
Promotion of kernel.lnx.3.18.c5-170708.
Jul 8, 2017
e52e75f
Merge b99bb1b5259d26c42658613a2b78643b5da23b2e on remote branch
Jul 9, 2017
56980a6
msm: isp: Fix Ub allocation for image WM
May 25, 2017
7d30159
Merge "compat_qcedev: Fix accessing userspace memory in kernel space"
lnxbuild Jul 10, 2017
84b8f8a
Merge "input: synaptics_dsx: validate bounds of intr_reg_num"
lnxbuild Jul 10, 2017
2157974
Merge "fbdev: msm: Allocate fd with O_CLOEXEC flag"
lnxbuild Jul 10, 2017
07e94ce
Merge "ion: fix logical-not comparison warning"
lnxbuild Jul 10, 2017
4412695
Merge "msm: sensor: Fix for variable being de-referenced without prop…
lnxbuild Jul 10, 2017
0cfd69d
Merge "msm: sensor: actuator: add conditional check for ioctl"
lnxbuild Jul 10, 2017
c7f703f
Merge "ASoC: msm: qdsp6v2: add size check to fix out of bounds issue"
lnxbuild Jul 10, 2017
c95c60d
Merge "ARM: dts: msm: Adding AF support for Rear Aux Camera"
lnxbuild Jul 10, 2017
c854ece
Merge "ASoC: msm: Fix kernel crash in "Speaker Function" mixer control"
lnxbuild Jul 10, 2017
d95557c
Promotion of kernel.lnx.3.18.c5-170710.
Jul 10, 2017
b541413
coresight: tmc: Fix use after free issue with tmc read
Jun 13, 2017
f43e2f0
msm: camera: sensor:validating the flash initialization parameters
Jun 27, 2017
5ac202d
diag: Add proper checks to fix possible out-of-bound issue
Jun 12, 2017
85c3a1b
Promotion of kernel.lnx.3.18.c5-170711.
Jul 11, 2017
dabe09d
Merge "regulator: mem-acc: Add range check based override fuse versio…
lnxbuild Jul 11, 2017
fd5b360
Merge "ARM: dts: msm: Use override mem-acc settings for msm8940"
lnxbuild Jul 11, 2017
49529a8
Merge "USB: phy-msm-qusb: Enable autoresume only when device is conne…
lnxbuild Jul 11, 2017
6d44a27
usb: dwc3: Fix assignment of EP transfer resources
jysnps Feb 17, 2016
3c067d6
cpufreq: flush queued work before freeing policy
Jul 11, 2017
23f0da8
diag: Add protection while processing non-hdlc packets
Jun 15, 2017
65de277
Promotion of kernel.lnx.3.18.c5-170712.
Jul 12, 2017
bd328e7
drm/msm: Fix possible overflow issue in submit_cmd
Jun 12, 2017
5b071e2
Merge "msm: mdss: fix null pointer dereferencing"
lnxbuild Jul 12, 2017
6e9c00a
Merge "diag: Add proper checks to fix possible out-of-bound issue"
lnxbuild Jul 12, 2017
6ceb7f2
usb: dwc3: gadget: Fix start transfer errors for ISOC endpoints
Jul 11, 2017
e0b57df
Promotion of kernel.lnx.3.18.c5-170712.1.
Jul 13, 2017
1fc0c53
MMC : cmdq_hci: clear interrupt after halt in case of error
Nov 2, 2016
7623f8c
MMC : card: Check for card status incase of timeout error
Nov 2, 2016
704512a
msm: kgsl: Use vma_area_struct with proper locks
Jul 6, 2017
d72cf62
Merge "mmc: core: Remove unused variable"
lnxbuild Jul 13, 2017
59059a5
Merge "coresight: tmc: Fix use after free issue with tmc read"
lnxbuild Jul 13, 2017
cb3edd0
Merge "msm: camera: sensor:validating the flash initialization parame…
lnxbuild Jul 13, 2017
cc11e6c
Merge "usb: dwc3: Fix assignment of EP transfer resources"
lnxbuild Jul 13, 2017
7c52617
Merge "usb: dwc3: gadget: Fix start transfer errors for ISOC endpoints"
lnxbuild Jul 13, 2017
0bb6ed9
cnss_pci: fix the race condition in firmware file setup
Jun 29, 2017
d1ba676
Merge "drm/msm: Fix possible overflow issue in submit_cmd"
lnxbuild Jul 13, 2017
ac98c53
Merge "MMC : cmdq_hci: clear interrupt after halt in case of error"
lnxbuild Jul 13, 2017
9fc8675
Merge "MMC : card: Check for card status incase of timeout error"
lnxbuild Jul 13, 2017
db752dd
Merge "msm: kgsl: Use vma_area_struct with proper locks"
lnxbuild Jul 13, 2017
0421d49
Promotion of kernel.lnx.3.18.c5-170713.
Jul 14, 2017
87e3dfa
mmc: sdhci-msm: Don't turnoff Vcc during initialization
Jun 21, 2017
f8e3d57
qseecom: add bus scaling support for GP operations
Apr 28, 2017
ab63df5
Promotion of kernel.lnx.3.18.c5-170714.
Jul 14, 2017
c2b792b
Merge "mmc: sdhci-msm: Don't turnoff Vcc during initialization"
lnxbuild Jul 14, 2017
e866e46
Promotion of kernel.lnx.3.18.c5-170715.
Jul 15, 2017
c7a45fb
sched/idle: Add missing checks to the exit condition of cpu_idle_poll()
Jan 21, 2015
8fe33c6
Merge "msm: mdss: Do not apply bl scale if current back light is zero"
lnxbuild Jul 18, 2017
7419d03
usb: f_mtp: Check number of iterations before division
Jun 13, 2017
0362003
msm: mdss: Fix possible integer overflow
May 12, 2017
ee80595
Perf: arm64: avoid use of uninitialized variable
Jun 20, 2017
28d874c
msm: kgsl: Fix a dead loop issue while changing gpu frequency
Jun 27, 2017
0e9ee33
Merge "msm: isp: Fix Ub allocation for image WM"
lnxbuild Jul 19, 2017
e028d19
Merge "usb: gadget: Fix incorrect ISOC data transfer PIDs"
lnxbuild Jul 19, 2017
ab3d130
Merge "cnss_pci: fix the race condition in firmware file setup"
lnxbuild Jul 19, 2017
ff81fed
Merge "Perf: arm64: avoid use of uninitialized variable"
lnxbuild Jul 19, 2017
0ff0760
Promotion of kernel.lnx.3.18.c5-170719.
Jul 19, 2017
dbc0e5b
dccp: fix freeing skb too early for IPV6_RECVPKTINFO
xairy Feb 16, 2017
f3b16e8
ipv4: keep skb->dst around in presence of IP options
Feb 4, 2017
851ee84
net/packet: fix overflow in check for priv area size
xairy Mar 29, 2017
0ed4a6b
Revert "proc: smaps: Allow smaps access for CAP_SYS_RESOURCE"
nickdesaulniers May 4, 2017
e5a36c3
Merge "usb: f_mtp: Check number of iterations before division"
lnxbuild Jul 20, 2017
94d7a07
Merge "msm: kgsl: Fix a dead loop issue while changing gpu frequency"
lnxbuild Jul 20, 2017
b3b5cc2
Promotion of kernel.lnx.3.18.c5-170720.
Jul 20, 2017
1e42c2f
Promotion of kernel.lnx.3.18.c5-170720.1.
Jul 21, 2017
089a1ad
diag: Synchronize msg mask read and write on a peripheral
Jul 19, 2017
1d8f4d8
wcnss: fix the potential buffer flow issue in firmware setup
Jul 11, 2017
baf3b7b
ARM: dts: msm: Add AF support for Rear Aux Camera on msm8937
Jul 17, 2017
734aabe
coresight: tmc: Fix use after free issue with tmc read
Jul 10, 2017
7ef3264
msm: ipa3: Protect access to ipa3_qmi_ctx variable by lock
Jul 9, 2017
9a3a66c
msm: mdss: information leak during buffer copy from userspace
Jul 7, 2017
154f27b
msm: mdss: Increase fbmem buf ref count before use
Jul 11, 2017
8f14375
msm: sensor: Fix to validate the settings size in flash
Jul 4, 2017
344309c
net/packet: fix overflow in check for tp_frame_nr
xairy Mar 29, 2017
cd99d3a
Merge "qseecom: add bus scaling support for GP operations"
lnxbuild Jul 24, 2017
1ec330b
net/packet: fix overflow in check for tp_reserve
xairy Mar 29, 2017
114b49a
Promotion of kernel.lnx.3.18.c5-170724.
Jul 25, 2017
f8dc42b
Merge b3b5cc2b1a9f0f75057824b350651a04c92a904e on remote branch
Jul 25, 2017
b0ed1e7
Merge "dccp: fix freeing skb too early for IPV6_RECVPKTINFO"
lnxbuild Jul 25, 2017
c274291
Merge "ipv4: keep skb->dst around in presence of IP options"
lnxbuild Jul 25, 2017
14d3aeb
Merge "net/packet: fix overflow in check for tp_reserve"
lnxbuild Jul 25, 2017
79619eb
Merge "Revert "proc: smaps: Allow smaps access for CAP_SYS_RESOURCE""
lnxbuild Jul 25, 2017
d1e28b4
Merge "coresight: tmc: Fix use after free issue with tmc read"
lnxbuild Jul 25, 2017
59ca4eb
Merge "msm: ipa3: Protect access to ipa3_qmi_ctx variable by lock"
lnxbuild Jul 25, 2017
eb2db8b
Merge "sched/idle: Add missing checks to the exit condition of cpu_id…
lnxbuild Jul 25, 2017
3f64114
Merge "diag: Add protection while processing non-hdlc packets"
lnxbuild Jul 25, 2017
3caa15f
Merge "msm: sensor: Fix to validate the settings size in flash"
lnxbuild Jul 25, 2017
53e9c90
Promotion of kernel.lnx.3.18.c5-170725.
Jul 26, 2017
8c28f11
Merge "msm: mdss: Increase fbmem buf ref count before use"
lnxbuild Jul 26, 2017
604ec70
Merge "msm: mdss: information leak during buffer copy from userspace"
lnxbuild Jul 26, 2017
f6ed3f6
Promotion of kernel.lnx.3.18.c5-170726.
Jul 26, 2017
ee78128
osq_lock: fix osq_lock queue corruption
KAGA-KOKO Jul 14, 2017
c508555
osq_lock: avoid live-lock issue for RT task
KAGA-KOKO Jul 14, 2017
cdff0f9
defconfig: disable cp_access
Feb 14, 2017
06e6cc1
coresight: tmc: Fix the unbalanced lock in tmc_read()
Jul 26, 2017
7bea133
msm: mdss: Fix possible leaks in PP LUT get functions
Jul 20, 2017
5ed5176
msm: mdss: Fix possible memory overwrite in pgc config
Jul 20, 2017
322f203
msm: mdss: Add check for fence count
Jun 30, 2017
31532f1
Merge "wcnss: fix the potential buffer flow issue in firmware setup"
lnxbuild Jul 27, 2017
7037134
Promotion of kernel.lnx.3.18.c5-170727.
Jul 28, 2017
69650e9
msm: camera: Instead of read_lock use read_lock_irqsave.
Jul 13, 2017
90a9f5b
msm: camera: isp: Support dualcamera overflow
Jul 5, 2017
919a55d
dwc3: Do not perform core reinitialisation for host only mode
Jul 28, 2017
66b7afc
msm: camera: Bound check for num_of_stream.
Mar 2, 2017
e5425e3
Merge "msm: mdss: Fix possible integer overflow"
lnxbuild Jul 28, 2017
fe22031
Merge "msm: mdss: Fix possible memory overwrite in pgc config"
lnxbuild Jul 28, 2017
ff6026a
Merge "msm: mdss: Add check for fence count"
lnxbuild Jul 28, 2017
19f9cf2
Promotion of kernel.lnx.3.18.c5-170728.
Jul 28, 2017
92340d3
Merge "ARM: dts: msm: Add AF support for Rear Aux Camera on msm8937"
lnxbuild Jul 28, 2017
9fb8748
Promotion of kernel.lnx.3.18.c5-170729.
Jul 29, 2017
94022fe
power: qpnp-fg: Fix Rslow charger compensation workaround
Jul 14, 2017
6a6f4db
Merge "coresight: tmc: Fix the unbalanced lock in tmc_read()"
lnxbuild Jul 31, 2017
097410f
Merge "msm: camera: isp: Support dualcamera overflow"
lnxbuild Jul 31, 2017
7b5995d
Merge "msm: camera: Bound check for num_of_stream."
lnxbuild Jul 31, 2017
7aa8d06
msm: mdss: fix the use after free problem in rotator ioctl
Jun 30, 2017
7043c6b
crypto: msm: Fix several race condition issues in crypto drivers
Jun 27, 2017
68ccd6e
msm: camera: Make use of mutex lock to avoid race condition
Jul 19, 2017
4bf9e1d
msm: ipa: fix security issues in ipa wan driver
Mar 16, 2017
8846590
Merge "power: qpnp-fg: Fix Rslow charger compensation workaround"
lnxbuild Jul 31, 2017
8ffda51
Merge "crypto: msm: Fix several race condition issues in crypto drivers"
lnxbuild Jul 31, 2017
ef47223
Promotion of kernel.lnx.3.18.c5-170731.
Jul 31, 2017
ec301ea
Merge "msm: ipa: fix security issues in ipa wan driver"
lnxbuild Jul 31, 2017
2fbd61f
Promotion of kernel.lnx.3.18.c5-170731.1.
Aug 1, 2017
7d686ee
SoC: msm: audio-effects: return directly to avoid integer overflow
Jul 28, 2017
4ec9d1e
Merge "msm: camera: Make use of mutex lock to avoid race condition"
lnxbuild Aug 1, 2017
7f8a8d6
Merge "msm: mdss: fix the use after free problem in rotator ioctl"
lnxbuild Aug 1, 2017
e083ac1
msm: pcie: add bounds check for debugfs register write
Jan 6, 2017
ae5355d
diag: dci: Add protection while querying event status
Apr 22, 2017
316421f
msm: camera: fix off-by-one overflow in msm_isp_get_bufq
May 17, 2017
b9a4f0c
Promotion of kernel.lnx.3.18.c5-170801.
Aug 1, 2017
8dbae65
Merge "defconfig: disable cp_access"
lnxbuild Aug 1, 2017
ffd590e
Promotion of kernel.lnx.3.18.c5-170801.1.
Aug 2, 2017
efa2b4c
cnss_pci: fix the race condition bug in WLAN firmware table config
Jul 17, 2017
50c6482
Merge "osq_lock: fix osq_lock queue corruption"
lnxbuild Aug 2, 2017
3dcdac8
Merge "osq_lock: avoid live-lock issue for RT task"
lnxbuild Aug 2, 2017
cd65c57
Merge "SoC: msm: audio-effects: return directly to avoid integer over…
lnxbuild Aug 2, 2017
ef91378
Merge "cnss_pci: fix the race condition bug in WLAN firmware table co…
lnxbuild Aug 2, 2017
537b01c
Promotion of kernel.lnx.3.18.c5-170802.
Aug 3, 2017
b7b6f9f
Merge "msm: camera: Instead of read_lock use read_lock_irqsave."
lnxbuild Aug 3, 2017
2dd97d3
Merge "msm: pcie: add bounds check for debugfs register write"
lnxbuild Aug 3, 2017
b597e86
Merge "diag: dci: Add protection while querying event status"
lnxbuild Aug 3, 2017
f247dcb
Merge "msm: camera: fix off-by-one overflow in msm_isp_get_bufq"
lnxbuild Aug 3, 2017
bf3a9f1
Promotion of kernel.lnx.3.18.c5-170803.
Aug 3, 2017
ad28d7b
Promotion of kernel.lnx.3.18.c5-170804.
Aug 4, 2017
bb47dc4
Merge b9a4f0c17fd9046afff86418f85513da4db7a24d on remote branch
Aug 6, 2017
c84d655
cfg80211: Define nla_policy for NL80211_ATTR_LOCAL_MESH_POWER_MODE
Jul 6, 2017
7f7cc32
msm: kgsl: Fix integer overflow in _load_gpmu_firmware
Jul 28, 2017
e8015a1
thermal: tsens: Disable Tsens interrupts during driver initialization
Jul 19, 2017
cb932c0
Merge "dwc3: Do not perform core reinitialisation for host only mode"
lnxbuild Aug 8, 2017
bff011f
msm: camera: Instead of read_lock use read_lock_irqsave.
Jul 13, 2017
8f3e564
msm: mdss: Avoid direct dereference user input in pp cache config
Jun 23, 2017
6f26ff2
fbdev: core: Initialise structure to prevent kernel information leak
May 25, 2017
14b8ab1
Merge "cfg80211: Define nla_policy for NL80211_ATTR_LOCAL_MESH_POWER_…
lnxbuild Aug 8, 2017
16335ef
Merge "msm: kgsl: Fix integer overflow in _load_gpmu_firmware"
lnxbuild Aug 8, 2017
9ef0fdf
Promotion of kernel.lnx.3.18.c5-170808.
Aug 8, 2017
ff622ee
Merge "fbdev: core: Initialise structure to prevent kernel informatio…
lnxbuild Aug 9, 2017
b666c99
ARM: dts: msm: add support of PMI8937/PMI8940 for MSM8953
I-n-o-k Jul 24, 2017
8083abc
msm: sensor: ois: add conditional check for ioctl
Aug 2, 2017
a1772c6
Promotion of kernel.lnx.3.18.c5-170809.
Aug 9, 2017
bb227ff
Merge "msm: mdss: Avoid direct dereference user input in pp cache con…
lnxbuild Aug 9, 2017
45dbdf3
Merge "msm: sensor: ois: add conditional check for ioctl"
lnxbuild Aug 9, 2017
1199cb0
Merge "cpufreq: flush queued work before freeing policy"
lnxbuild Aug 9, 2017
065c130
Promotion of kernel.lnx.3.18.c5-170809.1.
Aug 10, 2017
beb9db9
ASoC: msm: qdsp6v2: clear address on error
Apr 26, 2017
a17a7d2
Merge "ARM: dts: msm: add support of PMI8937/PMI8940 for MSM8953"
lnxbuild Aug 11, 2017
fdc0578
Promotion of kernel.lnx.3.18.c5-170811.
Aug 11, 2017
6b26156
msm: ipa3: Verify IPA client id before using it
Jul 9, 2017
3a2bcbf
Merge "msm: ipa3: Verify IPA client id before using it"
lnxbuild Aug 11, 2017
1bbe1ce
Promotion of kernel.lnx.3.18.c5-170811.1.
Aug 12, 2017
02d1218
ARM: dts: msm: Enable USB type-c support for PMI8940/PMI8937
I-n-o-k Aug 11, 2017
396e8a1
Merge "trace: ipc_logging: Avoid buffer overflow in ipc_log_string()"
lnxbuild Aug 14, 2017
8498c2c
Promotion of kernel.lnx.3.18.c5-170814.
Aug 14, 2017
9c5c248
Promotion of kernel.lnx.3.18.c5-170815.
Aug 15, 2017
add9c95
msm: sensor: Fix crash when ioctl VIDIOC_MSM_SENSOR_INIT_CFG
Aug 9, 2017
25a1ee2
ASoC: msm: qdsp6v2: Check out-of-bound access in put functions
Jul 28, 2017
94ce602
msm: camera: Avoid deadlock for vb2 operations using separate lock
Aug 8, 2017
e5d491b
msm: sensor: Add mutex lock during ois power down operations
Aug 7, 2017
2e33286
qseecom: Fix accessing userspace memory in kernel space
Jun 1, 2017
d9a1d7b
msm: mdss: Add check for ioctl calls
Jul 28, 2017
9dbac2e
msm: mdss: Check htotal for calculating programmable fetch
Aug 1, 2017
e4909cd
Merge "msm: camera: Avoid deadlock for vb2 operations using separate …
lnxbuild Aug 16, 2017
11f2629
Merge "ASoC: msm: qdsp6v2: Check out-of-bound access in put functions"
lnxbuild Aug 17, 2017
00fa1cd
Merge "qseecom: Fix accessing userspace memory in kernel space"
lnxbuild Aug 17, 2017
578e155
Merge "msm: sensor: Add mutex lock during ois power down operations"
lnxbuild Aug 17, 2017
53a7278
msm: kgsl: Fix the syncpoint_fence trace
Aug 1, 2017
a577ecd
msm: kgsl: Protect the event->handle with spinlock
Jul 25, 2017
627cf6c
msm:ipa: Fix to incorrect structure access
Jun 15, 2017
8f0ab2d
drm/msm: Fix potential buffer overflow issue
Feb 22, 2017
d4e1af3
Promotion of kernel.lnx.3.18.c5-170817.
Aug 17, 2017
7b0aefc
Merge "msm: mdss: Add check for ioctl calls"
lnxbuild Aug 18, 2017
756be8d
Merge "msm: mdss: Check htotal for calculating programmable fetch"
lnxbuild Aug 18, 2017
3c7b724
qbt1000: Validate FP app name before qseecom_start_app
May 2, 2017
7320d93
Merge "drm/msm: Fix potential buffer overflow issue"
lnxbuild Aug 18, 2017
13d11f9
Merge "msm:ipa: Fix to incorrect structure access"
lnxbuild Aug 18, 2017
f7f55eb
Merge 8498c2cd15113964bc07a47f8f7803ab4c4f525a on remote branch
Aug 18, 2017
3c11f91
Merge "msm: kgsl: Protect the event->handle with spinlock"
lnxbuild Aug 18, 2017
870bfc0
Merge "qbt1000: Validate FP app name before qseecom_start_app"
lnxbuild Aug 18, 2017
17d2977
Promotion of kernel.lnx.3.18.c5-170818.
Aug 19, 2017
5db0276
qseecom: use strnlen in qseecom_start_app
Jun 16, 2017
1cc58ff
Promotion of kernel.lnx.3.18.c5-170820.
Aug 20, 2017
358dfe8
Promotion of kernel.lnx.3.18.c5-170821.
Aug 22, 2017
9bdf72b
BACKPORT: f2fs: sanity check log_blocks_per_seg
Apr 25, 2017
0a07cde
timerfd: Protect the might cancel mechanism proper
KAGA-KOKO Jan 31, 2017
3b96134
f2fs: sanity check segment count
Apr 25, 2017
98b503a
FROMLIST: f2fs: sanity check checkpoint segno and blkoff
May 11, 2017
f49145a
Merge "timerfd: Protect the might cancel mechanism proper"
lnxbuild Aug 23, 2017
23a6cb2
Merge "f2fs: sanity check segment count"
lnxbuild Aug 23, 2017
76c5249
Merge "FROMLIST: f2fs: sanity check checkpoint segno and blkoff"
lnxbuild Aug 23, 2017
993865b
tracing : fix race condition reading saved tgids
adriansm Apr 18, 2017
3b165a4
Merge "thermal: tsens: Disable Tsens interrupts during driver initial…
lnxbuild Aug 23, 2017
84a5df1
Promotion of kernel.lnx.3.18.c5-170823.
Aug 23, 2017
41e4f88
msm: ipa3: Fix IPA aggregation force close call
Aug 7, 2017
d5883d5
Merge "msm: ipa3: Fix IPA aggregation force close call"
lnxbuild Aug 23, 2017
71b2e49
Promotion of kernel.lnx.3.18.c5-170823.1.
Aug 23, 2017
7f9294a
Merge "diag: Synchronize msg mask read and write on a peripheral"
lnxbuild Aug 24, 2017
c049c21
Merge "tracing : fix race condition reading saved tgids"
lnxbuild Aug 24, 2017
0e3afcd
soc: qcom: glink: Initialize dummy xprt with dummy functions
Aug 18, 2017
559eb1f
Promotion of kernel.lnx.3.18.c5-170824.
Aug 24, 2017
bf01854
ASoC: msm: qdspv2: initialize struct member before being used
Aug 15, 2017
1744abc
Promotion of kernel.lnx.3.18.c5-170825.
Aug 25, 2017
4dedd19
msm: mdss: hdmi: validate HDMI EDID's max number of CEA blocks
Aug 23, 2017
ec3b3f7
Promotion of kernel.lnx.3.18.c5-170828.
Aug 29, 2017
b7ddbed
mmc: sdhci-msm: Set dll to good phase while sending cmd13 in tuning
Jun 15, 2017
0b57c2c
mmc: core: Use PF_MEMALLOC flag for clock scaling context
Jun 23, 2017
57026b9
diag: dci: Add NULL pointer checks for dci buffers
Jun 1, 2017
b88f762
usb: gadget: Clear multi_req flag if UDC suspended
Sep 1, 2017
b188ea8
dm ioctl: prevent stack leak in dm ioctl call
adriansm Apr 27, 2017
223ad8e
Merge "soc: qcom: glink: Initialize dummy xprt with dummy functions"
lnxbuild Sep 4, 2017
f7b3220
Merge "msm: mdss: hdmi: validate HDMI EDID's max number of CEA blocks"
lnxbuild Sep 4, 2017
b466cf3
Merge "diag: dci: Add NULL pointer checks for dci buffers"
lnxbuild Sep 4, 2017
224ae2c
Merge ec3b3f764bc352e6a6b4d21de152f3b25d29b579 on remote branch
Sep 4, 2017
23f60ad
Merge "dm ioctl: prevent stack leak in dm ioctl call"
lnxbuild Sep 4, 2017
e9b6a1e
Promotion of kernel.lnx.3.18.c5-170904.
Sep 4, 2017
1e812d7
Merge "mmc: sdhci-msm: Set dll to good phase while sending cmd13 in t…
lnxbuild Sep 5, 2017
6269d44
Merge "mmc: core: Use PF_MEMALLOC flag for clock scaling context"
lnxbuild Sep 5, 2017
cffbc06
Merge "usb: gadget: Clear multi_req flag if UDC suspended"
lnxbuild Sep 5, 2017
92f2584
Promotion of kernel.lnx.3.18.c5-170905.
Sep 5, 2017
8a5e091
msm: camera: Return -NOTTY on invalid ioctl command.
Sep 4, 2017
0754056
Promotion of kernel.lnx.3.18.c5-170906.
Sep 6, 2017
153bd4d
soc: qcom: smp2p: spinlock_test: Initialize work item
Aug 21, 2017
929bd97
Promotion of kernel.lnx.3.18.c5-170906.1.
Sep 6, 2017
22cf74b
Merge "soc: qcom: smp2p: spinlock_test: Initialize work item"
lnxbuild Sep 7, 2017
c93f44f
Promotion of kernel.lnx.3.18.c5-170908.
Sep 8, 2017
47276bd
msm: camera: isp: Check null pointer for VFE0 base
Sep 5, 2017
f7c5dcc
Promotion of kernel.lnx.3.18.c5-170908.1.
Sep 9, 2017
9e20a46
Merge f7c5dcccfb048b056efc7b3f85d13335397bfd72 on remote branch
Sep 18, 2017
2dd7cd8
Kernel: Xiaomi kernel changes for Redmi 5, Redmi 4A, Redmi 5A.
mi-code Mar 21, 2018
77a8d5a
Fixed RedMi 5A can't charge issue.
mi-code May 3, 2018
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
  •  
  •  
  •  
38 changes: 24 additions & 14 deletions AndroidKernel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ ifeq ($(TARGET_ARCH),arm)
KERNEL_CONFIG_OVERRIDE := CONFIG_ANDROID_BINDER_IPC_32BIT=y
endif
endif
ifeq ($(WT_FINAL_RELEASE),yes)
KERNEL_CONFIG_OVERRIDE += CONFIG_DYNAMIC_DEBUG=n
KERNEL_CONFIG_OVERRIDE += CONFIG_DEBUG_RODATA=n
KERNEL_CONFIG_OVERRIDE += CONFIG_DEBUG_SPINLOCK=n
KERNEL_CONFIG_OVERRIDE += CONFIG_MSM_DEBUG_LAR_UNLOCK=n
KERNEL_CONFIG_OVERRIDE += CONFIG_CORESIGHT_DBGUI=n
KERNEL_CONFIG_OVERRIDE += CONFIG_MSM_RTB=n
KERNEL_CONFIG_OVERRIDE += CONFIG_MSM_RTB_SEPARATE_CPUS=n
KERNEL_CONFIG_OVERRIDE += CONFIG_IKCONFIG=n
endif

TARGET_KERNEL_CROSS_COMPILE_PREFIX := $(strip $(TARGET_KERNEL_CROSS_COMPILE_PREFIX))
ifeq ($(TARGET_KERNEL_CROSS_COMPILE_PREFIX),)
Expand All @@ -50,22 +60,22 @@ endif
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path))))
ifeq ($(TARGET_KERNEL_VERSION),)
TARGET_KERNEL_VERSION := 3.18
TARGET_KERNEL_VERSION := 3.18
endif
TARGET_KERNEL := msm-$(TARGET_KERNEL_VERSION)
ifeq ($(TARGET_KERNEL),$(current_dir))
# New style, kernel/msm-version
BUILD_ROOT_LOC := ../../
TARGET_KERNEL_SOURCE := kernel/$(TARGET_KERNEL)
KERNEL_OUT := $(TARGET_OUT_INTERMEDIATES)/kernel/$(TARGET_KERNEL)
KERNEL_SYMLINK := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ
KERNEL_USR := $(KERNEL_SYMLINK)/usr
# New style, kernel/msm-version
BUILD_ROOT_LOC := ../../
TARGET_KERNEL_SOURCE := kernel/$(TARGET_KERNEL)
KERNEL_OUT := $(TARGET_OUT_INTERMEDIATES)/kernel/$(TARGET_KERNEL)
KERNEL_SYMLINK := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ
KERNEL_USR := $(KERNEL_SYMLINK)/usr
else
# Legacy style, kernel source directly under kernel
KERNEL_LEGACY_DIR := true
BUILD_ROOT_LOC := ../
TARGET_KERNEL_SOURCE := kernel
KERNEL_OUT := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ
# Legacy style, kernel source directly under kernel
KERNEL_LEGACY_DIR := true
BUILD_ROOT_LOC := ../
TARGET_KERNEL_SOURCE := kernel
KERNEL_OUT := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ
endif

KERNEL_CONFIG := $(KERNEL_OUT)/.config
Expand Down Expand Up @@ -127,7 +137,7 @@ $(KERNEL_CONFIG): $(KERNEL_OUT)
$(MAKE) -C $(TARGET_KERNEL_SOURCE) O=$(BUILD_ROOT_LOC)$(KERNEL_OUT) ARCH=$(KERNEL_ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE) $(KERNEL_DEFCONFIG)
$(hide) if [ ! -z "$(KERNEL_CONFIG_OVERRIDE)" ]; then \
echo "Overriding kernel config with '$(KERNEL_CONFIG_OVERRIDE)'"; \
echo $(KERNEL_CONFIG_OVERRIDE) >> $(KERNEL_OUT)/.config; \
for CONFIG_OVERRIDE in $(KERNEL_CONFIG_OVERRIDE);do echo $$CONFIG_OVERRIDE >> $(KERNEL_OUT)/.config;done; \
$(MAKE) -C $(TARGET_KERNEL_SOURCE) O=$(BUILD_ROOT_LOC)$(KERNEL_OUT) ARCH=$(KERNEL_ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE) oldconfig; fi

$(TARGET_PREBUILT_INT_KERNEL): $(KERNEL_OUT) $(KERNEL_HEADERS_INSTALL)
Expand All @@ -150,7 +160,7 @@ $(KERNEL_HEADERS_INSTALL): $(KERNEL_OUT)
$(MAKE) -C $(TARGET_KERNEL_SOURCE) O=$(BUILD_ROOT_LOC)$(KERNEL_OUT) ARCH=$(KERNEL_ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE) $(KERNEL_DEFCONFIG); fi
$(hide) if [ ! -z "$(KERNEL_CONFIG_OVERRIDE)" ]; then \
echo "Overriding kernel config with '$(KERNEL_CONFIG_OVERRIDE)'"; \
echo $(KERNEL_CONFIG_OVERRIDE) >> $(KERNEL_OUT)/.config; \
for CONFIG_OVERRIDE in $(KERNEL_CONFIG_OVERRIDE);do echo $$CONFIG_OVERRIDE >> $(KERNEL_OUT)/.config;done; \
$(MAKE) -C $(TARGET_KERNEL_SOURCE) O=$(BUILD_ROOT_LOC)$(KERNEL_OUT) ARCH=$(KERNEL_ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE) oldconfig; fi

kerneltags: $(KERNEL_OUT) $(KERNEL_CONFIG)
Expand Down
40 changes: 38 additions & 2 deletions Documentation/device-mapper/verity.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Construction Parameters

0 is the original format used in the Chromium OS.
The salt is appended when hashing, digests are stored continuously and
the rest of the block is padded with zeros.
the rest of the block is padded with zeroes.

1 is the current format that should be used for new devices.
The salt is prepended when hashing and each digest is
padded with zeros to the power of two.
padded with zeroes to the power of two.

<dev>
This is the device containing data, the integrity of which needs to be
Expand Down Expand Up @@ -72,6 +72,37 @@ Construction Parameters
notify user space.


ignore_zero_blocks
Do not verify blocks that are expected to contain zeroes and always return
zeroes instead. This may be useful if the partition contains unused blocks
that are not guaranteed to contain zeroes.

use_fec_from_device <fec_dev>
Use forward error correction (FEC) to recover from corruption if hash
verification fails. Use encoding data from the specified device. This
may be the same device where data and hash blocks reside, in which case
fec_start must be outside data and hash areas.

If the encoding data covers additional metadata, it must be accessible
on the hash device after the hash blocks.

Note: block sizes for data and hash devices must match. Also, if the
verity <dev> is encrypted the <fec_dev> should be too.

fec_roots <num>
Number of generator roots. This equals to the number of parity bytes in
the encoding data. For example, in RS(M, N) encoding, the number of roots
is M-N.

fec_blocks <num>
The number of encoding data blocks on the FEC device. The block size for
the FEC device is <data_block_size>.

fec_start <offset>
This is the offset, in <data_block_size> blocks, from the start of the
FEC device to the beginning of the encoding data.


Theory of operation
===================

Expand All @@ -91,6 +122,11 @@ per-block basis. This allows for a lightweight hash computation on first read
into the page cache. Block hashes are stored linearly, aligned to the nearest
block size.

If forward error correction (FEC) support is enabled any recovery of
corrupted data will be verified using the cryptographic hash of the
corresponding data. This is why combining error correction with
integrity checking is essential.

Hash Tree
---------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Required properties:
"qcom,gcc-spm-8937"
"qcom,gcc-8953"
"qcom,gcc-8940"
"qcom,gcc-8920"
"qcom,rpmcc-8994"
"qcom,rpmcc-8992"
"qcom,rpmcc-8916"
Expand All @@ -46,6 +47,7 @@ Required properties:
"qcom,cc-debug-8937"
"qcom,cc-debug-8917"
"qcom,cc-debug-8940"
"qcom,cc-debug-8920"
"qcom,gcc-mdss-8936"
"qcom,gcc-mdss-8909"
"qcom,gcc-mdss-8916"
Expand All @@ -54,6 +56,7 @@ Required properties:
"qcom,gcc-mdss-8917"
"qcom,gcc-mdss-8953"
"qcom,gcc-mdss-8940"
"qcom,gcc-mdss-8920"
"qcom,mmsscc-8994v2"
"qcom,mmsscc-8994"
"qcom,mmsscc-8992"
Expand All @@ -67,6 +70,7 @@ Required properties:
"qcom,gpucc-8996-v3.0"
"qcom,gpucc-8996-pro"
"qcom,gcc-gfx-8953"
"qcom,gcc-gfx-sdm450"
"qcom,gcc-californium"
"qcom,cc-debug-californium"
"qcom,gcc-mdm9607"
Expand Down
8 changes: 8 additions & 0 deletions Documentation/devicetree/bindings/arm/msm/msm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ SoCs:
- MSM8953
compatible = "qcom,msm8953"

- SDM450
compatible = "qcom,sdm450"

- MSM8937
compatible = "qcom,msm8937"

Expand Down Expand Up @@ -223,6 +226,8 @@ compatible = "qcom,msm8917-qrd-sku5"
compatible = "qcom,msm8917-qgp-tmo"
compatible = "qcom,msm8920-cdp"
compatible = "qcom,msm8920-mtp"
compatible = "qcom,msm8920-qrd"
compatible = "qcom,msm8920-qrd-sku7"
compatible = "qcom,msm8940-cdp"
compatible = "qcom,msm8940-mtp"
compatible = "qcom,msm8940-rumi"
Expand Down Expand Up @@ -289,6 +294,9 @@ compatible = "qcom,msm8953-cdp"
compatible = "qcom,msm8953-mtp"
compatible = "qcom,msm8953-qrd"
compatible = "qcom,msm8953-qrd-sku3"
compatible = "qcom,sdm450-cdp"
compatible = "qcom,sdm450-mtp"
compatible = "qcom,sdm450-qrd"
compatible = "qcom,mdm9640-cdp"
compatible = "qcom,mdm9640-mtp"
compatible = "qcom,mdm9640-rumi"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
Bandwidth Monitor driver(BW_MONITOR)
=====================================

Bandwidth Monitor driver creates logical sensor nodes with thermal core
framework for the specified bus. This logical sensor will be used to monitor
and mitigate the bus bandwidth. This driver can be configured to register
any bus bandwidth as a sensor for it to be monitored.

The device tree parameters for bandwidth monitor driver(BW_MONITOR) driver are:

Properties:

- compatible:
Usage: required
Value type: <string>
Definition: shall be "qcom,bm-sensors"

- <child node>
Usage: required
Definition: Each child node represents a bandwidth sensor and name of
the node will be used as bandwidth sensor name. Each
sensor can represent either single bus bandwidth or
aggregation of multiple bus bandwidth.

Child node Properties:
- qcom,bm-sensor:
Usage: required
Value type: <array of phandle>
Definition: This bandwidth sensor monitors aggregated bandwidth of
these bus bandwidth.

- qcom,bm-sensor-field:
Usage: required
Value type: <string>
Definition: This property defines the bandwidth to be monitored,
either average bandwidth(ab) or instantaneous
bandwidth(ib).

Example:
qcom,bm-sensors {
compatible = "qcom,bm-sensors";

bw_mm {
qcom,bm-sensor = <&slv_snoc_bimc_0 &slv_snoc_bimc_2>;
qcom,bm-sensor-field = "ab";
};

bw_apps {
qcom,bm-sensor = <&mas_apps_proc>;
qcom,bm-sensor-field = "ib";
};
};
31 changes: 18 additions & 13 deletions Documentation/devicetree/bindings/arm/msm/msm_bus_rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,28 @@ conditions to be monitored. The mandatory properties for the rules are

- qcom,src-nodes: An array of phandles denoting the source nodes
whose bandwidth votes need to be monitored.
- qcom,src-field: This field represents the voted field of the
source node to be monitored. Possible values
are FLD_IB/FLD_AB/FLD_CLK
- qcom,src-op: The operand to be used when evaluating a node's
bandwidth vote with a threshold.Possible values
are OP_LE/OP_LT/OP_GT/OP_GE.
- qcom,thresh: The threshold in Kbytes/s to be used in vote
evaluation.
- qcom,src-field: An array of fields represents the voted field
of the source node to be monitored. Possible
values are FLD_IB/FLD_AB/FLD_CLK.
- qcom,src-op: An array of operands to be used when evaluating
a node's bandwidth vote with a threshold.
Possible values are OP_LE/OP_LT/OP_GT/OP_GE.
- qcom,thresh: An array of thresholds in Kbytes/s
(in FLD_IB/FLD_AB case) or KHz (in FLD_CLK case)
to be used in vote evaluation.
- qcom,mode: The QoS mode to be applied when this rule's
criterion are satisfied. Possible values are
THROTTLE_ON/THROTTLE_OFF
THROTTLE_ON/THROTTLE_OFF.
- qcom,dest-node: An array of phandles representing the nodes to
which the QoS mode is to be applied.

The optional properties for the rule node are:
- qcom,dest-bw: The destination bandwidth value in Kbytes/s to
be used toward the QoS mode for the destination
node.
- qcom,combo-op: A property that is only required when there
are multiple comparison operands to multiple
thresholds, can be OP_AND or OP_OR.

Example:
static-rules {
Expand All @@ -42,13 +46,14 @@ Example:
#size-cells = <0>;

rule@0 {
qcom,src-nodes = <&mas_apss>;
qcom,src-field = <FLD_IB>;
qcom,src-op = <OP_LE>;
qcom,thresh = <1599078>;
qcom,src-nodes = <&mas_apss &mas_mdp>;
qcom,src-field = <FLD_IB FLD_AB>;
qcom,src-op = <OP_LE OP_GT>;
qcom,thresh = <1599078 0>;
qcom,mode = <THROTTLE_ON>;
qcom,dest-node = <&mas_apss>;
qcom,dest-bw = <1599078>;
qcom,combo-op = <OP_AND>;
};

rule@1 {
Expand Down
2 changes: 0 additions & 2 deletions Documentation/devicetree/bindings/cnss/cnss-wlan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ Optional properties:
- vdd-wlan-en-supply: WLAN_EN fixed regulator specified by QCA6174 specifications.
- qcom,wlan-en-vreg-support: Boolean property to decide the whether the WLAN_EN pin
is a gpio or fixed regulator.
- qcom,enable-bootstrap-gpio: Boolean property to decide whether wlan bootstrap
gpio should be enabled or not in this platform.

Example:

Expand Down
22 changes: 22 additions & 0 deletions Documentation/devicetree/bindings/fb/mdss-dsi-panel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,28 @@ Optional properties:
2A/2B command.
- qcom,dcs-cmd-by-left: Boolean to indicate that dcs command are sent
through the left DSI controller only in a dual-dsi configuration
- qcom,mdss-dsi-panel-hdr-enabled: Boolean to indicate HDR support in panel.
- qcom,mdss-dsi-panel-hdr-color-primaries:
Array of 8 unsigned integers denoting chromaticity of panel.These
values are specified in nits units. The value range is 0 through 50000.
To obtain real chromacity, these values should be divided by factor of
50000. The structure of array is defined in below order
value 1: x value of white chromaticity of display panel
value 2: y value of white chromaticity of display panel
value 3: x value of red chromaticity of display panel
value 4: y value of red chromaticity of display panel
value 5: x value of green chromaticity of display panel
value 6: y value of green chromaticity of display panel
value 7: x value of blue chromaticity of display panel
value 8: y value of blue chromaticity of display panel
- qcom,mdss-dsi-panel-peak-brightness: Maximum brightness supported by panel.In absence of maximum value
typical value becomes peak brightness. Value is specified in nits units.
To obtail real peak brightness, this value should be divided by factor of
10000.
- qcom,mdss-dsi-panel-blackness-level: Blackness level supported by panel. Blackness level is defined as
ratio of peak brightness to contrast. Value is specified in nits units.
To obtail real blackness level, this value should be divided by factor of
10000.
- qcom,mdss-dsi-lp11-init: Boolean used to enable the DSI clocks and data lanes (low power 11)
before issuing hardware reset line.
- qcom,mdss-dsi-init-delay-us: Delay in microseconds(us) before performing any DSI activity in lp11
Expand Down
7 changes: 7 additions & 0 deletions Documentation/devicetree/bindings/gpu/adreno.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ DCVS Core info
Optional Properties:
- qcom,initial-powerlevel: This value indicates which qcom,gpu-pwrlevel should be used at start time
and when coming back out of resume
- qcom,restrict-powerlevel: This value to limit max GPU power level jump during the clock switch and
while coming back out of slumber. Max GPU power level jump still allowed
from the restricted-pwerlevel.
- qcom,bus-control: Boolean. Enables an independent bus vote from the gpu frequency
- qcom,bus-width: Bus width in number of bytes. This enables dynamic AB bus voting based on
bus width and actual bus transactions.
Expand Down Expand Up @@ -148,6 +151,10 @@ Optional Properties:
baseAddr - base address of the gpu channels in the qdss stm memory region
size - size of the gpu stm region

- qcom,tsens-name:
Specify the name of GPU temperature sensor. This name will be used
to get the temperature from the thermal driver API.

GPU Quirks:
- qcom,gpu-quirk-two-pass-use-wfi:
Signal the GPU to set Set TWOPASSUSEWFI bit in
Expand Down
Loading