Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
66a2aa0
arm/arm64: dma-mapping: flush the tlb on unremap
Mar 11, 2016
76a6b88
cpufreq: Skip current frequency initialization for ->setpolicy drivers
rafaeljw Mar 12, 2014
a8b39ac
cpufreq: unlock when failing cpufreq_update_policy()
aaronp24 Jun 18, 2014
86dbacf
qcom-cpufreq: Rename cpufreq_suspend to suspend_data
Apr 14, 2015
fc78135
BACKPORT: netlink: add a start callback for starting a netlink dump
tomratbert Dec 15, 2015
d6c7ee8
ipsec: Fix aborted xfrm policy dump crash
herbertx Oct 19, 2017
c688d2c
BACKPORT: net: xfrm: support setting an output mark.
lcolitti Aug 10, 2017
54238f3
ipsec: Fix aborted xfrm policy dump crash
bwhacks Dec 9, 2017
0568bc2
ANDROID: sdcardfs: Use lower getattr times/size
drosen-google Jan 30, 2018
a818dcf
Revert "ANDROID: sdcardfs: notify lower file of opens"
drosen-google Jan 24, 2018
daa3d01
ANDROID: fsnotify: Notify lower fs of open
drosen-google Jan 23, 2018
e8abf1f
ANDROID: sdcardfs: Protect set_top
drosen-google Feb 2, 2018
dc8fff6
ANDROID: sdcardfs: Hold i_mutex for i_size_write
drosen-google Feb 21, 2018
32589aa
ANDROID: sdcardfs: Set num in extension_details during make_item
Dec 4, 2017
0a2bd22
Revert "msm: vidc: Allow clients to specify/query the colorspace"
OzzysCmAcc Mar 28, 2018
bf5f3db
Revert "camera_v2: isp: Replace monotonic timestamp with boot_time"
OzzysCmAcc Mar 30, 2018
5753182
Revert "BACKPORT: net: xfrm: support setting an output mark."
randomhydrosol Mar 31, 2018
f3cefb8
tri_state_key: allow more key codes for extra modes
9ary Mar 6, 2016
6a5fa35
leds: leds-qpnp: add synchronized rgb control
Aug 4, 2015
6be1688
pwm: qpnp-pwm: add api for synchronous enable of pwms
Aug 4, 2015
34f6d62
ARM: dts: pmi8994: add synchronized RGB blink params
9ary Jan 30, 2017
8da3f58
wcnss: fix 3 byte stack buffer overflow
thestinger Sep 26, 2017
8bba720
ASoC: msm: qdsp6v2: Set freed pointers to NULL
Dec 11, 2017
4e31a18
msm: ipa: Fix the handling of default IPA header
Dec 19, 2017
1caea26
ASoC: apr: Add validity check to APR port
Dec 19, 2017
4fd92cc
BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
jsolnit-work Feb 12, 2018
f39bb1b
UPSTREAM: KEYS: encrypted: fix buffer overread in valid_master_desc()
ebiggers Feb 13, 2018
5da3513
BACKPORT: USB: core: harden cdc_parse_cdc_header
tf-marissaw Nov 16, 2017
5e7f9b4
nl80211: Define policy for packet pattern attributes
Nov 27, 2017
c713a99
msm: ipa3: add lock for num_q6_rule
Aug 11, 2017
8a3bce6
crypto: hmac - require that the underlying hash algorithm is unkeyed
ebiggers Nov 29, 2017
d355c46
UPSTREAM: scsi: sg: don't return bogus Sg_requests
May 10, 2017
e849719
UPSTREAM: kernel: Provide READ_ONCE and ASSIGN_ONCE
borntraeger Nov 25, 2014
4e59dea
BACKPORT: futex: Remove requirement for lock_page() in get_futex_key()
Feb 9, 2016
d2e486a
op2: enforce dm-verity on target
randomhydrosol May 12, 2018
e48ac17
camera_v2: isp: Replace monotonic timestamp with boot_time
shuzhenwang Oct 3, 2017
8a6727f
msm: camera: Make use of mutex lock to avoid race condition
Jul 19, 2017
2dc9f0a
ANDROID: binder: fix OOB write in __binder_update_page_range
toddkjos Dec 6, 2017
7ad2d16
UPSTREAM: include/linux/mm.h: add PAGE_ALIGNED() helper
akpm00 Jul 3, 2013
551c335
android: binder: Refactor prev and next buffer into a helper function
Jun 30, 2017
410bfd7
android: binder: Move buffer out of area shared with user space
Jul 7, 2017
a8cd26a
input: synaptics: restrict sysfs node write permissions
spfetsch Nov 3, 2017
ba0c4f0
USB: core: prevent malicious bNumInterfaces overflow
AlanStern Dec 12, 2017
092040c
qcacld-2.0: Fix potential buffer overwrite in wma_roam_synch_event_ha…
Dec 5, 2017
33145d3
qcacld-2.0: Fix int overflow in wma_unified_link_radio_stats_event_ha…
Dec 5, 2017
8d31308
ANDROID: qtaguid: Fix the UAF probelm with tag_ref_tree
Nov 29, 2017
eac9494
i2c-msm-v2: use subsys_initcall to avoid probe fail
Aug 27, 2015
e300496
ANDROID: sdcardfs: Fix sdcardfs to stop creating cases-sensitive dupl…
Mar 19, 2018
519985d
ANDROID: fuse: Add null terminator to path in canonical path to avoid…
Mar 19, 2018
9641713
ANDROID: sdcardfs: Check for private data earlier
drosen-google Apr 11, 2018
f1b49f9
ANDROID: sdcardfs: d_make_root calls iput
drosen-google Apr 11, 2018
5ae9bd8
ANDROID: sdcardfs: Set s_root to NULL after putting
drosen-google Apr 12, 2018
1733d6e
video: mdss: remove erroneous mutex_unlock
May 16, 2016
25d5985
binder: always allocate/map first BINDER_MIN_ALLOC pages
Aug 1, 2017
c21d25f
array_index_nospec: Sanitize speculative array de-references
djbw Jan 30, 2018
45a075b
nospec: Move array_index_nospec() parameter checking into separate macro
wildea01 Feb 5, 2018
5f372aa
nospec: Kill array_index_nospec_mask_check()
djbw Feb 16, 2018
54d92a1
nospec: Allow index argument to have const-qualified type
Villemoes Feb 16, 2018
b442486
nospec: Include <asm/barrier.h> dependency
djbw Feb 16, 2018
b48aa3b
posix-timers: Protect posix clock array access against speculation
KAGA-KOKO Feb 15, 2018
c9c2d4a
vfs, fdtable: Prevent bounds-check bypass via speculative execution
djbw Jun 4, 2018
7faabbc
nl80211: Sanitize array index in parse_txq_params
djbw Jan 30, 2018
e573a6d
msm: sensor: actuator: check NULL pointer for actuator ctrl
Dec 1, 2017
5b78a00
msm: sensor: actuator: add null pointer check for i2c array
Dec 5, 2017
6fc3fd7
msm: sensor: actuator: fix out of bound read for region params
Dec 28, 2017
aa3db7a
Input: gtco - fix potential out-of-bound access
dtor Oct 23, 2017
0cc43eb
msm: mdss: adjust mdss_mdp_get_plane_sizes parameters init order
Nov 14, 2017
99e34a9
msm: ADSPRPC: use access_ok to validate pointers
spyffe Apr 3, 2018
7fcfb17
op2: dts: store dm-verity state persistently on device
randomhydrosol Jun 12, 2018
0fbf12d
op2: dts: fix derp
randomhydrosol Jun 12, 2018
c7e9877
UPSTREAM: HID: Bluetooth: hidp: make sure input buffers are big enough
Dec 19, 2013
58036c5
ANDROID: Bluetooth: hidp: buffer overflow in hidp_process_report
Jan 16, 2018
78dc902
diag: Add conditional check for len in dci_process_ctrl_status()
Jan 29, 2018
c5471f0
diag: dci: check signed values for negativity
Apr 6, 2018
7ab37aa
msm: ADSPRPC: Use ID in response to get context pointer
Jan 30, 2018
c29cb90
Revert "Add PowerSuspend v1.5 Driver"
randomhydrosol Jun 13, 2018
2663495
Revert "power: quickwakeup: initial driver"
randomhydrosol Jun 13, 2018
448f08e
defconfig: cleanup junk values
randomhydrosol Jun 13, 2018
a4e8a5f
Revert "cpuidle: kick all cpu after idle handler installed"
randomhydrosol Jun 13, 2018
c78cdd3
Revert "drivers: cpuidle: Remove counting of last_residency"
randomhydrosol Jun 13, 2018
26b7e5a
Revert "cpuidle: simplify multiple driver support"
randomhydrosol Jun 13, 2018
d661c5b
Revert "lpm_levels: Avoid race by preventing hotplug during lpm probe"
randomhydrosol Jun 13, 2018
5d084f4
Revert "cpuidle: lpm_levels: Remove duplicate cpuidle tracepoints"
randomhydrosol Jun 13, 2018
11a3f5e
Revert "cpuidle: lpm-levels: Remove local_irq_enable from lpm_cpuidle…
randomhydrosol Jun 13, 2018
12e8d41
Revert "lpm-levels: Check for need_resched just before entering PSCI"
randomhydrosol Jun 13, 2018
c3c4a2b
Revert "lpm-levels: Add QCOM cpuidle governor"
randomhydrosol Jun 13, 2018
aaf2fc7
Revert "lpm-levels: Fix driver registration after API change"
randomhydrosol Jun 13, 2018
8bc2487
Revert "lpm-levels: Use residency instead of power and energy overhea…
randomhydrosol Jun 13, 2018
a73e9f8
Revert "msm: lpm-levels: Log CPU lpm enter exit events"
randomhydrosol Jun 13, 2018
b134bf8
Revert "power: qcom: Select CPU_IDLE_MULTIPLE_DRIVERS"
randomhydrosol Jun 13, 2018
1b2a03b
Revert "msm: lpm-levels: add suspend_again handler"
randomhydrosol Jun 13, 2018
d9bafc6
Revert "drivers: cpuidle: msm: Use 64 bit type for sclk"
randomhydrosol Jun 13, 2018
5b52f8f
Revert "drivers: lpm-levels: Don't allow idle low power modes during …
randomhydrosol Jun 13, 2018
7427a4e
Revert "cpuidle: lpm-levels: Rename cpumask variable name"
randomhydrosol Jun 13, 2018
a44777c
Revert "msm: lpm-levels: Modify ftrace events to track latency/sleep …
randomhydrosol Jun 13, 2018
81d293a
Revert "drivers: lpm-levels: Update cpu mask to get cluster sleep time"
randomhydrosol Jun 13, 2018
391b0fa
Revert "drivers: lpm_levels: remove the BUG_ON in get_cluster_sleep_t…
randomhydrosol Jun 13, 2018
a34c6f2
Revert "drivers: lpm-workarounds: Misc bug fixes"
randomhydrosol Jun 13, 2018
c4d19dd
Revert "drivers: lpm-workarounds: Enable L1/L2 clock gating WA"
randomhydrosol Jun 13, 2018
7826c6c
Revert "msm: spm: Add new API to set only SPM start address"
randomhydrosol Jun 13, 2018
b8dec90
Revert "cpuidle: lpm-workarounds: Skip L2 spm programming in HLOS"
randomhydrosol Jun 13, 2018
19a78cf
Revert "msm: lpm-levels: Add ftrace events to track latency/sleep time"
randomhydrosol Jun 13, 2018
46b6ffa
Revert "lpm-levels: Add L3 flag to the smc call"
randomhydrosol Jun 13, 2018
70989ae
Revert "lpm-levels: Support l3 and cbf modes"
randomhydrosol Jun 13, 2018
658ca8f
Revert "drivers: lpm-levels: Provide API to set wake up time from sus…
randomhydrosol Jun 13, 2018
3cc7da3
Revert "msm: lpm-levels-of: Fix lockdep warnings"
randomhydrosol Jun 13, 2018
f6441e7
Revert "cpuidle: lpm-levels: Disable dynamic routing of interrupts"
randomhydrosol Jun 13, 2018
dbfa9cd
Revert "cpuidle: declare cpuidle_dev in cpuidle.h"
randomhydrosol Jun 13, 2018
06fae09
Revert "msm: mdss: kcal: Only apply updates on index 0"
randomhydrosol Jun 16, 2018
213a37f
Revert "msm: mdss: kcal: Use PCC for negative display mode"
randomhydrosol Jun 16, 2018
e85502b
Revert "msm: mdss: KCAL: Send a pp display commit when changes are made"
randomhydrosol Jun 16, 2018
91aff43
Revert "msm: mdss: KCAL: Do not read from picture adjustment registers"
randomhydrosol Jun 16, 2018
33c2494
Revert "msm: mdss: KCAL: Read values from MDP registers wherever poss…
randomhydrosol Jun 16, 2018
fa7a107
Revert "msm: mdss: KCAL: Apply default values on boot"
randomhydrosol Jun 16, 2018
c3e015f
Revert "msm: mdss: KCAL: Queue changes when panel is powered off"
randomhydrosol Jun 16, 2018
25f1cd9
Revert "msm: mdss: KCAL: Remove MODULE_DESCRIPTION"
randomhydrosol Jun 16, 2018
5441829
Revert "msm: mdss: KCAL: Update Kconfig description"
randomhydrosol Jun 16, 2018
ab2f460
Revert "msm: mdss: KCAL: Update according to linux guidelines and che…
randomhydrosol Jun 16, 2018
c14bf1f
Revert "msm: mdss: KCAL: Check panel power state before applying values"
randomhydrosol Jun 16, 2018
85860c0
Revert "msm: mdss: KCAL: Allow kcal_enable to control all post-proces…
randomhydrosol Jun 16, 2018
ad1b274
Revert "msm: mdss: Keep KCAL within its own source file"
randomhydrosol Jun 16, 2018
91c2960
Revert "msm: mdss: Remove deprecated __dev* markings"
randomhydrosol Jun 16, 2018
96747d9
Revert "msm: mdss: Add pa_v2 support to KCAL"
randomhydrosol Jun 16, 2018
068e29f
Revert "msm: mdss: Replace PGC implementation with PCC for KCAL"
randomhydrosol Jun 16, 2018
8d1280a
Revert "msm: mdss: Add KCAL support for post processing control [v2]"
randomhydrosol Jun 16, 2018
086d1d8
Revert "mdss_fb: add backlight dimmer option"
randomhydrosol Jun 16, 2018
1b0d9e8
haruhi_defconfig: remove junk values
randomhydrosol Jun 16, 2018
c0c1c94
fs: import sdFAT driver Op2 has a license to use exFAT on oxygenos
randomhydrosol Jun 18, 2018
2849efc
oneplus2: early mount vendor
randomhydrosol Jul 4, 2018
cbeb01a
Makefile: use strict alignment on the kernel
randomhydrosol Jul 4, 2018
7e48715
msm: mdss: fix race condition between rotator api's
Jan 19, 2018
b95fb4f
ASoC: msm: qdsp6v2: check for buffer size before read
Mar 6, 2018
f48160c
drivers: cpuidle: lpm-levels: Fix untrusted pointer dereference.
Nov 28, 2017
6764ba9
NFC: llcp: Limit size of SDP URI
kees Feb 14, 2018
5cca30d
msm: adsprpc: Use unsigned integer for length values
Apr 13, 2018
0d24559
soc: q6dspv2: apr: fix client registration refcount
Apr 11, 2017
20063c8
UPSTREAM: perf/hwbp: Simplify the perf-hwbp code, fix documentation
torvalds Mar 27, 2018
7d18576
UPSTREAM: tcp: avoid collapses in tcp_prune_queue() if possible
edumazet Jul 27, 2018
3d3f47a
UPSTREAM: tcp: detect malicious patterns in tcp_collapse_ofo_queue()
edumazet Jul 27, 2018
4da60cc
ANDROID: uid_sys_stats: rename uid_cputime.c to uid_sys_stats.c
Jan 11, 2017
759a6d9
ANDROID: uid_cputime: add per-uid IO usage accounting
Jan 11, 2017
1714fc4
ANDROID: uid_sys_stats: allow writing same state
Jan 18, 2017
9e742d6
ANDROID: uid_sys_stats: return full size when state is not changed.
Jan 20, 2017
12c6994
ANDROID: uid_sys_stats: remove unnecessary code in procstat switch
Feb 17, 2017
f12bb77
ANDROID: uid_sys_stats: fix negative write bytes.
Feb 28, 2017
261ab7d
ANDROID: sched: add a counter to track fsync
Mar 2, 2017
f32280a
ANDROID: uid_sys_stats: account for fsync syscalls
Mar 2, 2017
1d100c6
ANDROID: uid_sys_stats: change to use rt_mutex
weivincewang Mar 13, 2017
300b05b
ANDROID: uid_sys_stats: fix typo in init
Mar 14, 2017
16a4c11
ANDROID: uid_sys_stats: reduce update_io_stats overhead
Apr 14, 2017
d7736f7
ANDROID: uid_sys_stats: fix access of task_uid(task)
yzkqfll Apr 25, 2017
2be3a1e
ANDROID: uid_sys_stats: defer io stats calulation for dead tasks
May 22, 2017
5bb369e
uid_sys_stats: fix overflow when io usage delta is negative
Aug 8, 2017
a9ab967
ANDROID: uid_sys_stats: fix the comment
Flex1911 Jan 13, 2018
f8573ce
ANDROID: Skip building uid_sys_stats and keyreset drivers as modules
pundiramit Apr 11, 2017
28646f5
ANDROID: Kconfig: add depends for UID_SYS_STATS
yzkqfll May 24, 2017
0657d7f
android: recommended.cfg: enable taskstats
Feb 9, 2016
fcde433
scsi: libsas: fix memory leak in sas_smp_get_phy_events()CVE-2018-7757
JasonYanHw Jan 4, 2018
012b626
[PATCH] floppy: Do not copy a kernel pointer to user memory in FDGETP…
BobZhome Apr 1, 2018
55b020e
[PATCH] floppy: Don't print kernel addresses to log in show_floppy CV…
BobZhome Apr 1, 2018
9eb7195
netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets CVE-…
Feb 19, 2018
a832653
ALSA: msnd: Optimize / harden DSP and MIDI loops CVE-2017-9985
tiwai Jul 6, 2017
8a22089
ANDROID: scsi: Add segment checking in sg_read CVE-2017-13168
robepereira Oct 11, 2017
5f7f7b3
ASoC: core: Don't assign an out-of-bounds address to rtd_aux
kerneltoast May 2, 2017
0368500
power: msm-core: Fix mutex not getting unlocked in error path
kerneltoast Apr 9, 2017
02ae403
cpufreq: interactive: Skip timer when policy->min == policy->max
kerneltoast Mar 4, 2017
2324d3c
msm: mdss: Don't cache the address of a stack variable in timings init
kerneltoast Mar 21, 2017
3b0841e
UPSTREAM: timer: Export destroy_hrtimer_on_stack()
groeck May 27, 2016
658f4b7
ANDROID: sdcardfs: Don't d_drop in d_revalidate
drosen-google Apr 25, 2018
da73c0e
UPSTREAM: dm bufio: avoid sleeping while holding the dm_bufio lock
dianders Nov 17, 2016
f056f65
ktime: add ktime_after and ktime_before helper
Jun 11, 2014
100c477
ktime: Change ktime_set() to take 64bit seconds value
johnstultz-work Jul 16, 2014
342a61e
qcacld-2.0: Check vdev_id against wma->max_bssid
Oct 18, 2017
587b3d0
qcacld-2.0: Avoid possible buffer overwrite in wma_process_utf_event
Nov 30, 2017
5363432
qcacld-2.0: Check for valid vdev ID in wma_nlo_match_evt_handler
Oct 3, 2017
8e28f0a
qcacld-2.0: Check for the max number of P2P NOA descriptors
Oct 31, 2017
2b3043c
qcacld-2.0: Check for upper bound in P2P NOA event
Sep 28, 2017
e08f38f
qcacld-2.0: Set length of challenge text sent by SAP to 128
Oct 2, 2017
b444d3e
qcacld-2.0: Add sanity check to limit mgmt frames data len
Dec 1, 2017
846cf9d
qcacld-2.0: Fix potential buffer overflow in process_tx_info
Dec 6, 2017
777344b
qcacld-2.0: Fix potential buffer overflow in ol_rx_flush_handler
Dec 6, 2017
a2b4bed
qcacld-2.0: Fix potential buffer overflow in htt_t2h_lp_msg_handler
Dec 1, 2017
3e10f77
qcacld-2.0: Fix buffer overrun in function ProcSetReqInternal
Nov 20, 2017
7d24cbf
qcacld-2.0: Fix buffer overread in wma_extscan_hotlist_match_event_ha…
Dec 20, 2017
41dd1a4
qcacld-2.0: Calculate buf_len properly for extscan hotlist event buffer
Jan 11, 2018
dd88546
qcacld-2.0: Add sanity check for vdev id to prevent OOB access
Feb 14, 2018
fa69ae0
qcacld-2.0: Add sanity check for vdev_id in wma_wow_wakeup_host_event
Feb 14, 2018
8ffb8d2
qcacld-2.0: Add mutex lock for proc handlers
Jan 22, 2018
e35fc78
qcacld-2.0: Fix buffer overwrite due to ssid_len in WMA handlers
Dec 21, 2017
174ee86
qcacld-2.0: Avoid buffer overflow
Dec 8, 2017
3a81df5
qcacld-2.0: Fix potential buffer overflow for TX_COMPL_IND
Dec 6, 2017
1306eda
qcacld-2.0: Avoid possible stack overflow in hdd_ProcessGENIE API
Nov 29, 2017
5790063
qcacld-2.0: Fix memory leak for txrx_fw_stats cmd
Jan 2, 2018
7e5e4ac
qcacld-2.0: Dump the txrx stat req if the queue is not empty
Sep 26, 2017
9eb19b0
qcacld-2.0: Fix potential buffer overwrite
Dec 6, 2017
f9dd3a4
qcacld-2.0: Fix potential buffer overwrite in wma_vdev_start_rsp_ind
Dec 12, 2017
7eb5716
qcacld-2.0: Fix potential buffer overflow
Dec 4, 2017
d300464
qcacld-2.0: Add data_len check to avoid OOB access
Jan 11, 2018
4f0494d
ANDROID: sdcardfs: fix potential crash when reserved_mb is not zero
Jun 16, 2018
009730f
ALSA: pcm: add locks for accessing runtime resource
Sep 28, 2017
2fc793d
oc: qcom: rpm-smd-debug: Fix potential memory leaks
Dec 21, 2017
8d5ef61
soc: qcom: pil: Fix error handling during PIL driver probe
Oct 25, 2017
a406fd0
qseecom: Add new ioctl to export qsee version
Nov 25, 2016
834ca45
dwc3: debugfs: Add check for length before copy data from userspace
Jan 16, 2018
6c247ca
ASoC: wcd_cpe_core: add size check for WDSP ELF files
Jan 16, 2018
998445c
drivers: soc: Synchronize apr callback and voice svc release
Nov 14, 2017
70a2989
ASoC: msm: qdspv2: add spin lock to protect ac
Jan 18, 2018
e273c78
dev_freq: devfreq_spdm: add null terminator to prevent OOB access
Sep 25, 2017
47fabca
msm: thermal: Pass correct size of voltage table to IOCTL
Feb 13, 2018
23ba138
msm: kgsl: Increase memstore size
Jan 31, 2018
bcf1a0d
msm: ipa: Prevent deletion of the default route rule
Jan 31, 2018
644afc8
diag: Validate copying length against source buffer length
Jan 17, 2018
ecefb80
usb: dwc3: dbm: Fix double free in msm_dbm_probe
Mar 15, 2018
0a2a704
new helper: dentry_free()
Apr 30, 2014
aa115c0
Allow sharing external names after __d_move()
Mar 11, 2018
18965a2
fs/buffer.c: increase the buffer-head per-CPU LRU size
sebastienbuisson Oct 9, 2014
b4dfa52
futex: move user address verification up to common code
torvalds Dec 12, 2013
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: 0 additions & 2 deletions Documentation/devicetree/bindings/arm/msm/lpm-levels.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ Required properties:
sleep.
- qcom,last-level - When set, the cluster level is applied only when
there is 1 online core.
- qcom,disable-dynamic-int-routing: When set disables the dynamic
routing of rpm-smd and mpm interrupts to next wake up core.

[Node bindings for qcom,pm-cpu]
qcom,pm-cpu contains the low power modes that a cpu could enter. Currently it
Expand Down
32 changes: 1 addition & 31 deletions Documentation/devicetree/bindings/arm/msm/lpm-workarounds.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ The required properties are:
- compatible: "qcom,lpm-workarounds"

The optional properties are:
- reg: The physical address and the size of the l1_l2_gcc and l2_pwr_sts
regitsters of performance cluster.

- reg-names: "l2_pwr_sts" - string to identify l2_pwr_sts physical address.
"l1_l2_gcc" - string to identify l1_l2_gcc physical address.

- qcom,lpm-wa-cx-turbo-unvote: Indicates the workaround to unvote CX turbo
vote when system is coming out of rpm assisted power collaspe.
Expand All @@ -18,36 +13,11 @@ The optional properties are:
- lpm-cx-supply: will hold handle for CX regulator supply which is used
to unvote.

- qcom,lpm-wa-skip-l2-spm: Due to a hardware bug on 8939 and 8909, secure
world needs to disable and enable L2 SPM to get the proper context
in secure watchdog bite cases. With this workaround there is a race
in programming L2 SPM between HLOS and secure world. This leads to
stability issues. To avoid this program L2 SPM only in secure world
based on the L2 mode flag passed. Set lpm-wa-skip-l2-spm node if this
is required.

- qcom,lpm-wa-dynamic-clock-gating: Due to a hardware bug on 8952, L1/L2 dynamic
clock gating needs to be enabled by software for performance cluster
cores and L2. Set lpm-wa-dynamic-clock-gating node if this workaround is
required.

- qcom,cpu-offline-mask: Dynamic clock gating should be enabled when cluster is
in L2 PC. Each bit of cpu-offline-mask lists the cpu no. to hotplug by KTM
driver.

- qcom,non-boot-cpu-index: will hold index of non boot cluster cpu.

Example:

qcom,lpm-workarounds {
compatible = "qcom,lpm-workarounds";
reg = <0x0B011018 0x4>,
<0x0B011088 0x4>;
reg-names = "l2-pwr-sts", "l1-l2-gcc";

lpm-cx-supply = <&pm8916_s2_corner>;
qcom,lpm-wa-cx-turbo-unvote;
qcom,lpm-wa-skip-l2-spm;
qcom,lpm-wa-dynamic-clock-gating;
qcom,cpu-offline-mask = "0xF";
qcom,non-boot-cpu-index = <4>;
}
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
CFLAGS_MODULE = $(FLAGS_OPTIMIZE) $(GRAPHITE)
AFLAGS_MODULE = $(FLAGS_OPTIMIZE) $(GRAPHITE)
LDFLAGS_MODULE = --strip-debug
CFLAGS_KERNEL = $(FLAGS_OPTIMIZE) $(GRAPHITE) -mcpu=cortex-a57.cortex-a53+crypto+crc -mtune=cortex-a57.cortex-a53 -march=armv8-a+crypto+crc
CFLAGS_KERNEL = $(FLAGS_OPTIMIZE) $(GRAPHITE) -mcpu=cortex-a57.cortex-a53+crypto+crc -mtune=cortex-a57.cortex-a53 -march=armv8-a+crypto+crc -mfix-cortex-a53-843419 -mfix-cortex-a53-835769
AFLAGS_KERNEL = $(FLAGS_OPTIMIZE) $(GRAPHITE)
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage

Expand Down Expand Up @@ -437,6 +437,8 @@ KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-Wno-switch-bool \
-Wno-multistatement-macros \
-Wno-bool-operation -Wno-nonnull -Wno-switch-unreachable -Wno-format-truncation -Wno-format-overflow -Wno-duplicate-decl-specifier -Wno-memset-elt-size -Wno-int-in-bool-context \
-mstrict-align \
-mfix-cortex-a53-843419 -mfix-cortex-a53-835769 \
$(GEN_OPT_FLAGS) \
$(GRAPHITE) \
$(FLAGS_OPTIMIZE)
Expand Down
4 changes: 4 additions & 0 deletions android/configs/android-recommended.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ CONFIG_TABLET_USB_GTCO=y
CONFIG_TABLET_USB_HANWANG=y
CONFIG_TABLET_USB_KBTAB=y
CONFIG_TABLET_USB_WACOM=y
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
CONFIG_TASK_XACCT=y
CONFIG_TIMER_STATS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/boot/dts/qcom/msm-pmi8994.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,8 @@
label = "rgb";
status = "okay";

qcom,rgb-sync;

qcom,rgb_0 {
label = "rgb";
qcom,id = <3>;
Expand Down
10 changes: 9 additions & 1 deletion arch/arm/boot/dts/qcom/msm8994.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,17 @@
dev = "/dev/block/platform/soc.0/f9824900.sdhci/by-name/system";
type = "ext4";
mnt_flags = "ro,barrier=1,discard";
fsmgr_flags = "wait";
fsmgr_flags = "wait,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/reserve2";
status = "ok";
};
vendor {
compatible = "android,vendor";
dev = "/dev/block/platform/soc.0/f9824900.sdhci/by-name/cache";
type = "ext4";
mnt_flags = "ro,barrier=1,discard";
fsmgr_flags = "wait,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/reserve2";
status = "ok";
};
};
};
};
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mm/dma-mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ static void arm_dma_unremap(struct device *dev, void *remapped_addr,
return;
}
vunmap(remapped_addr);
flush_tlb_kernel_range((unsigned long)remapped_addr,
(unsigned long)(remapped_addr + size));
}

struct dma_map_ops arm_dma_ops = {
Expand Down
14 changes: 11 additions & 3 deletions arch/arm64/configs/haruhi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -598,14 +598,22 @@ CONFIG_DEFAULT_WESTWOOD=y
CONFIG_DEFAULT_TCP_CONG="westwood"
CONFIG_WIREGUARD=y
# CONFIG_WIREGUARD_DEBUG is not set
CONFIG_FB_MSM_MDSS_KCAL_CTRL=y
CONFIG_CRYPTO_SHA256_ARM64=y
CONFIG_CRYPTO_SHA512_ARM64=y
CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
CONFIG_QUICK_WAKEUP=y
CONFIG_POWERSUSPEND=y
# CONFIG_ARM_ARCH_TIMER_VCT_ACCESS is not set
# CONFIG_TCP_CONG_BIC is not set
# CONFIG_TCP_CONG_CUBIC is not set
# CONFIG_TCP_CONG_HTCP is not set
CONFIG_EXFAT_FS=y
CONFIG_SDFAT_FS=y
CONFIG_SDFAT_DELAYED_META_DIRTY=y
CONFIG_SDFAT_SUPPORT_DIR_SYNC=y
CONFIG_SDFAT_DEFAULT_CODEPAGE=437
CONFIG_SDFAT_DEFAULT_IOCHARSET="utf8"
CONFIG_SDFAT_ALIGNED_MPAGE_WRITE=y
CONFIG_SDFAT_VIRTUAL_XATTR=y
CONFIG_SDFAT_VIRTUAL_XATTR_SELINUX_LABEL="u:object_r:vfat:s0"
CONFIG_SDFAT_DEBUG=y
CONFIG_SDFAT_DBG_MSG=y
CONFIG_SDFAT_STATISTICS=y
2 changes: 2 additions & 0 deletions arch/arm64/mm/dma-mapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ static void arm64_dma_unremap(struct device *dev, void *remapped_addr,
return;
}
vunmap(remapped_addr);
flush_tlb_kernel_range((unsigned long)remapped_addr,
(unsigned long)(remapped_addr + size));
}

const struct dma_map_ops noncoherent_swiotlb_dma_ops = {
Expand Down
6 changes: 5 additions & 1 deletion crypto/hmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,15 @@ static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb)
salg = shash_attr_alg(tb[1], 0, 0);
if (IS_ERR(salg))
return PTR_ERR(salg);
alg = &salg->base;

/* The underlying hash algorithm must be unkeyed */
err = -EINVAL;
if (crypto_shash_alg_has_setkey(salg))
goto out_put_alg;

ds = salg->digestsize;
ss = salg->statesize;
alg = &salg->base;
if (ds > alg->cra_blocksize ||
ss < alg->cra_blocksize)
goto out_put_alg;
Expand Down
5 changes: 3 additions & 2 deletions crypto/shash.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@

static const struct crypto_type crypto_shash_type;

static int shash_no_setkey(struct crypto_shash *tfm, const u8 *key,
unsigned int keylen)
int shash_no_setkey(struct crypto_shash *tfm, const u8 *key,
unsigned int keylen)
{
return -ENOSYS;
}
EXPORT_SYMBOL_GPL(shash_no_setkey);

static int shash_setkey_unaligned(struct crypto_shash *tfm, const u8 *key,
unsigned int keylen)
Expand Down
Loading