Commit graph

608813 commits

Author SHA1 Message Date
Nathan Chancellor
1687df2690 project_info: Fix a section warning
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
2020-11-03 21:30:25 +01:00
Jean-Baptiste Théou
d5995fde16 ASoC: codecs: tfa9891: add error translation routine
Clang warns:

../sound/soc/codecs/tfa98xx/tfa_dsp.c:3155:9: warning: implicit conversion
from enumeration type 'enum Tfa98xx_Error' to different enumeration type
'enum tfa_error' [-Wenum-conversion]
        return err;
        ~~~~~~ ^~~
../sound/soc/codecs/tfa98xx/tfa_dsp.c:3215:9: warning: implicit conversion
from enumeration type 'enum Tfa98xx_Error' to different enumeration type
'enum tfa_error' [-Wenum-conversion]
        return err;
        ~~~~~~ ^~~
../sound/soc/codecs/tfa98xx/tfa_dsp.c:3267:9: warning: implicit conversion
from enumeration type 'enum Tfa98xx_Error' to different enumeration type
'enum tfa_error' [-Wenum-conversion]
        return err;
        ~~~~~~ ^~~

@neobuddy89: adapted for oneplus-msm8998

Change-Id: I4d1d428f0306bbe6bb25d8beab8a74307aaeadf7
Signed-off-by: Jean-Baptiste Théou <jb@essential.com>
2020-11-03 21:30:25 +01:00
Pavankumar Kondeti
c3f9f6c48b core_ctl: Consider high irq loaded CPU as busy
Currently a CPU is considered as busy if it's utilization in
the last window exceeds busy threshold. A CPU loaded with
hardirqs/softirqs does not necessarily have high utilization.
Isolating such CPUs may hurt performance as it involves waking
up the CPU frequently from deep c-state. Prevent isolating
high irq loaded CPUs by considering them as busy.

Change-Id: I169b69f6003eb59a126c8a16b67b65be2aa7af40
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2020-11-03 21:30:25 +01:00
Sultan Alsawaf
6b791ecbcd treewide: Fix code issues detected using GCC 8.2.0
Use the latest version of GCC to take advantage of improved static analysis.
These issues appeared as warnings from the compiler.

Many of these fixes are for clearly incorrect code; compiler warnings
should not be taken lightly.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2020-11-03 21:30:25 +01:00
Pranav Vashi
7d9b389db3 drivers: Fix up disabling CONFIG_OEM_FORCE_DUMP
* Can't believe @OnePlusOSS pays for this shit to their engineers.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:24 +01:00
Dan Pasanen
a3f1ecf78a power: don't ever reboot to verity red
* We get it, shit's broken. We're flashing custom stuff, shit's bound
  to break. Don't pop this annoying screen up, we're not even using
  verity anyway.

Change-Id: Icd77b70ec1df9108a4ba9e7fd8cb9623b35b78db
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:24 +01:00
Michael Bestas
0ed91aca25 power: reset: Move in_panic handling out of dload mode
* Some devices might want to use that logic
  without enabling download mode

Change-Id: Idd4a2cc8a47041740f8d4e9f43bffd84fae5830d
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:24 +01:00
Paolo Valente
89190bd929 block: cgroups, kconfig, build bits for BFQ-v7r11-4.4.0
Update Kconfig.iosched and do the related Makefile changes to include
kernel configuration options for BFQ. Also increase the number of
policies supported by the blkio controller so that BFQ can add its
own.

Signed-off-by: Paolo Valente <paolo.valente@unimore.it>
Signed-off-by: Arianna Avanzini <avanzini@google.com>
2020-11-03 21:30:24 +01:00
Daniel Micay
9ffe929d8a add toggle for disabling newly added USB devices
Based on the public grsecurity patches.

Change-Id: I2cbea91b351cda7d098f4e1aa73dff1acbd23cce
Signed-off-by: Daniel Micay <danielmicay@gmail.com>
2020-11-03 21:30:24 +01:00
Alex Naidis
97e80dde8b binder: Disable debug mask
According to Google we should set this to 0
as there is excessive logging in specific usecases
which has a negative impact on latency.

Change-Id: If03401694c2b746b5e2111cb5daafa8eab169e29
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2020-11-03 21:30:24 +01:00
Corey Tabaka
62f386dc23 ANDROID: binder: Switch binder_deferred_lock to a spinlock.
Avoid delays in binder transactions due to preemption of
binder_deferred_func() with binder_deferred_lock held.

Bug: 66914906
Test: boots; binder tests pass; trace analysis in bug
Change-Id: I1a89ba15b27e43552890292f135a5e2d969231e2
Signed-off-by: Corey Tabaka <eieio@google.com>
2020-11-03 21:30:23 +01:00
kote
f6188b64ec Improve binder stability
Improve binder stability

Signed-off-by: kote <kote@oneplus.com>
(cherry picked from commit de863ae927163ea5ead37229f7483f08e4f2b818)

Change-Id: Ie7635b674e79c60ab237ed46ad6e120d53692dfe
2020-11-03 21:30:23 +01:00
Sultan Alsawaf
890f9ea2b8 staging: sync: Don't copy fence names by default
Copying fence debug names for frequent users of sync fences causes a
measurably significant portion of CPU time to be spent on this strlcpy.

#ifdef out the sync fence name copy by default to improve performance.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:23 +01:00
David Lin
8860a743e9 mfd: wcd9xxx: disable slimbus register access for debugfs
This patch disables default slimbus access exposed through debugfs.

Bug: 67430947
Change-Id: Iaf1b7cdf638dbc6e6de3681b8418f1840b94ccad
Signed-off-by: David Lin <dtwlin@google.com>
2020-11-03 21:30:23 +01:00
David Lin
9643278ce2 msm: mdss: fix inconsistent mutex_lock
drivers/video/fbdev/msm/mdss_mdp_overlay.c:5280
__handle_overlay_prepare() warn: inconsistent returns
'mutex:&mdp5_data->ov_lock'

Change-Id: Iac6acb5fb84331949637258a55733b8be94690eb
Signed-off-by: David Lin <dtwlin@google.com>
2020-11-03 21:30:22 +01:00
David Lin
c56f56a251 msm: memshare: relaese mutex if req client id is not found
This fixes the smatch warning below:

drivers/soc/qcom/memshare/msm_memshare.c:570 handle_alloc_generic_req()
warn: inconsistent returns 'mutex:&memsh_drv->mem_share'.

Bug: 35898203
Change-Id: I86f3d77c9bb471b1bc26360e11e378fa3d1a3f66
Signed-off-by: David Lin <dtwlin@google.com>
2020-11-03 21:30:22 +01:00
David Lin
f0e5b9bd6f thermal: qpnp-adc-tm: release lock upon disable_chan_meas failure
This fixes the smath warning below:

drivers/thermal/qpnp-adc-tm.c:2943 qpnp_adc_tm_disable_chan_meas() warn:
inconsistent returns 'mutex:&chip->adc->adc_lock'.

Bug: 35898203
Change-Id: I149ed4868cd4754246b3b8845a0af7f1f08c0931
Signed-off-by: David Lin <dtwlin@google.com>
2020-11-03 21:30:22 +01:00
David Lin
77e86943a6 qcom: qmi: release mutex upon qmi_svc_event_notifier_register error
This fixes the following smatch warning:

drivers/soc/qcom/qmi_interface.c:2019 qmi_svc_event_notifier_register()
warn: inconsistent returns 'mutex:&temp->svc_addr_list_lock'.

Change-Id: I2ada7d79a0ac6b6a14abad0cb463af491dd1c319
Signed-off-by: David Lin <dtwlin@google.com>
2020-11-03 21:30:22 +01:00
David Lin
5c51468273 i2c-msm-v2: allow i2c_adapter to retry on arbitration lost
In case of error on lost arbitration, the host should at least attempt
to retry in case if the bus error is transient (i.e., from signal
interference or misbehaved devices). Use the default 2s timeout setting.

Bug: 35439882

Change-Id: Id9bd5a5ea764405401588220a2d2bf0fd85111f7
Signed-off-by: David Lin <dtwlin@google.com>
2020-11-03 21:30:22 +01:00
David Lin
985ceb51d2 msm_rng: fix issue with unbalanced clk_put
This patch fixes the following coccicheck errors:

msm_rng.c:335:2-8: ERROR: missing clk_put;
clk_get on line 282 and execution via conditional on line 333
msm_rng.c:335:2-8: ERROR: missing clk_put;
clk_get on line 285 and execution via conditional on line 333

Bug: 35898203
Change-Id: Id6e0854ec11f95fe2bf7f887876535e2d8e74d22
Signed-off-by: David Lin <dtwlin@google.com>
2020-11-03 21:30:21 +01:00
David Lin
07eeabe655 msm: qdsp6v2: fix inconsistent spin_lock
sound/soc/msm/qdsp6v2/msm-lsm-client.c:334 lsm_event_handler() warn:
inconsistent returns 'spin_lock:&prtd->event_lock'

sound/soc/msm/qdsp6v2/msm-lsm-client.c:1635 msm_lsm_ioctl_compat() warn:
inconsistent returns 'mutex:&prtd->lsm_api_lock'

sound/soc/msm/qdsp6v2/msm-lsm-client.c:1914 msm_lsm_ioctl() warn:
inconsistent returns 'mutex:&prtd->lsm_api_lock'

Change-Id: Id1f754702a56ef21952c7f7bc8cf3ebd0a0ebefa
Signed-off-by: David Lin <dtwlin@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:21 +01:00
David Lin
6ee920eb1b msm_cci: fix inconsistent mutex_lock
drivers/media/platform/msm/camera_v2/sensor/cci/msm_cci.c:939
msm_cci_i2c_read() warn: inconsistent returns
'mutex:&cci_dev->cci_master_info[master].mutex_q[queue]'

Change-Id: Ied241d3ff2fd00d4ce892e250a6236fccf16fac9
Signed-off-by: David Lin <dtwlin@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:21 +01:00
David Lin
ae6964b9c5 msm: mdss: fix inconsistent mutex_lock
drivers/video/fbdev/msm/mdss_mdp_pp.c:4093 mdss_mdp_igc_lut_config()
warn: inconsistent returns 'mutex:&mdss_pp_mutex'

Change-Id: I956017162cde27fbaa3da5aeb28b76ec7308530e
Signed-off-by: David Lin <dtwlin@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:21 +01:00
David Lin
453bcffbe8 slimbus: fix inconsistent mutex_lock
drivers/slimbus/slimbus.c:1331 slim_config_mgrports() warn: inconsistent
returns 'mutex:&ctrl->sched.m_reconf'

Change-Id: I023f69cc3496e9b98d9881c447fc1bf9053de97f
Signed-off-by: David Lin <dtwlin@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:21 +01:00
David Lin
c1803f5a48 qdsp6v2: fix inconsistent mutex_lock
sound/soc/msm/qdsp6v2/q6voice.c:5984 voc_set_device_config() warn:
inconsistent returns 'mutex:&v->lock'

Change-Id: Ie58dbea8881acdd6a5253828e15d29075092b818
Signed-off-by: David Lin <dtwlin@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:20 +01:00
David Lin
0dd44ad37e wcd9335: fix inconsistent mutex_lock
sound/soc/codecs/wcd9335.c:2608 slim_tx_mixer_put() warn: inconsistent
returns 'mutex:&tasha_p->codec_mutex'

Change-Id: I73d5331aa29155c85cce6940fe2b918cc7a445f6
Signed-off-by: David Lin <dtwlin@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:20 +01:00
David Lin
8d60c35371 msm: mdss: fix inconsistent mutex_lock
drivers/video/fbdev/msm/mdss_mdp_splash_logo.c:480
mdss_mdp_splash_kickoff() warn: inconsistent returns
'mutex:&mdp5_data->ov_lock'

Change-Id: I3e97f80ff562bb0b260adeff733e78af1a8f1e67
Signed-off-by: David Lin <dtwlin@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:20 +01:00
Josh Choo
2bcba058dc block: Fix BFQ not being built
bfq-iosched was missing from the Makefile.

Test: Check /sys/block/sda/queue/scheduler. bfq now available.
Change-Id: I57407ef65aad9ef319d56b9338a3180fadc9053b
2020-11-03 21:30:20 +01:00
Johannes Berg
a0a1aaa6a2 ipv4: add option to drop gratuitous ARP packets
In certain 802.11 wireless deployments, there will be ARP proxies
that use knowledge of the network to correctly answer requests.
To prevent gratuitous ARP frames on the shared medium from being
a problem, on such deployments wireless needs to drop them.

Enable this by providing an option called "drop_gratuitous_arp".

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 4078228159c9f54cca7347a8bdace29f2abdef65)

Change-Id: I8772dbd7471085878f8b4161eb2a056d79b8b232
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:20 +01:00
Pranav Vashi
78e0262c60 cpufreq: deoneplusify and remove PM QOS changes
Change-Id: I5a4fc49a9238d996cfe372a82e8988df3cfe0e30
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:19 +01:00
Johannes Berg
26f6446935 ipv6: add option to drop unsolicited neighbor advertisements
In certain 802.11 wireless deployments, there will be NA proxies
that use knowledge of the network to correctly answer requests.
To prevent unsolicitd advertisements on the shared medium from
being a problem, on such deployments wireless needs to drop them.

Enable this by providing an option called "drop_unsolicited_na".

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit aec215e7aa380fe5f85eb6948766b58bf78cb6c3)

Change-Id: Iad429a767a786087b0985632be44932b2e3fd1a8
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:19 +01:00
Johannes Berg
d525209aa0 ipv6: add option to drop unicast encapsulated in L2 multicast
In order to solve a problem with 802.11, the so-called hole-196 attack,
add an option (sysctl) called "drop_unicast_in_l2_multicast" which, if
enabled, causes the stack to drop IPv6 unicast packets encapsulated in
link-layer multi- or broadcast frames. Such frames can (as an attack)
be created by any member of the same wireless network and transmitted
as valid encrypted frames since the symmetric key for broadcast frames
is shared between all stations.

Reviewed-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit dede82143bf1bbf92ea73a519bb0298b19c56cb9)

Change-Id: I76c8f84b53e95c40ad3c2b5adac0ec4964cc920c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:19 +01:00
Johannes Berg
03d929b812 ipv4: add option to drop unicast encapsulated in L2 multicast
In order to solve a problem with 802.11, the so-called hole-196 attack,
add an option (sysctl) called "drop_unicast_in_l2_multicast" which, if
enabled, causes the stack to drop IPv4 unicast packets encapsulated in
link-layer multi- or broadcast frames. Such frames can (as an attack)
be created by any member of the same wireless network and transmitted
as valid encrypted frames since the symmetric key for broadcast frames
is shared between all stations.

Additionally, enabling this option provides compliance with a SHOULD
clause of RFC 1122.

Change-Id: I8de9fa5bdbea0556802f2ee553d0e73c1349213e
Reviewed-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:19 +01:00
codeworkx
86a07298eb smb: enable otg feature on driver init and based on dash status
Change-Id: Ic8d554e9df4457bc9e3ad8c2182d5b555b3513bf
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:18 +01:00
codeworkx
be94132514 mdss: use lower case letters for adobe_rgb, dcip3 and srgb to be consistent
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:18 +01:00
codeworkx
845fe1efff tri-state-key: send proper input when updating keycodes from userspace
Change-Id: I6a3d2869d7e4c655b02454b91c5bef19a5a815f9
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:18 +01:00
codeworkx
0a1f43c27f tri_state_key: bring inline with lineage-15.1
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:18 +01:00
codeworkx
fdf7a2555a synaptics S3320: bring inline with lineage-15.1
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:18 +01:00
codeworkx
0757f942ea fpc1020: bring inline with lineage-15.1
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:17 +01:00
Sam Mortimer
213e1377ab msm8998: Add proximity_state sysfs support to goodix driver
*) Implements sysfs proximity_state so that fp reader
   can be disabled by PocketMode app.

*) Code fragments copied from fpc1020 driver where possible.

Change-Id: If0e6fa3172e1546d989de8522b2bdd734a3840a6
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:17 +01:00
Tim Murray
cdf0459d0e cpuidle: don't disable cpuidle when entering suspend
cpuidle was disabled while entering suspend as part of commit
8651f97bd9 in order to work around some
ACPI bugs. However, there's no reason to do this on modern
platforms. Leaving cpuidle enabled can result in improved power
consumption if dpm_resume_noirq runs for a significant time.

Change-Id: Ie182785b176f448698c0264eba554d1e315e8a06
2020-11-03 21:30:17 +01:00
Alex Naidis
ecdefa7279 DTS: Reduce msm-core polling rate to 100ms
100ms is a better polling rate since the
scheduler's informational demand is lower
than expected.

Change-Id: I5c399155d9bc2469b249bff9e3b9a744b4121429
2020-11-03 21:30:17 +01:00
Sultanxda
16a635bba7 power: msm-core: Fix mutex not getting unlocked in error path
When this copy_to_user() fails, the mutex won't be unlocked. Fix it.

Change-Id: I99c93fd04e812d187b83ff375d95a2abba82f501
Signed-off-by: Sultanxda <sultanxda@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:17 +01:00
Alexander Martinz
4c632e266f block, bfq: fix build breakage
Caused by latest block changes from 06100.
struct backing_device_info is not available anymore.

Change-Id: I47ca095ffbad02c3d9158d869d89485ed005435f
Signed-off-by: Alexander Martinz <alex@amartinz.at>
2020-11-03 21:30:17 +01:00
Alexander Martinz
ce9425e7cb block, bfq: update to latest bfq-v8-v4.4 state
BFQ-v8r12 up to 887cf43acdb1d5415fa678e4a63be8fe1bab2d3a

Change-Id: I4725397969026ff9fa969d598c4378f24800c31d
Signed-off-by: Alexander Martinz <alex@amartinz.at>
2020-11-03 21:30:16 +01:00
Mauro Andreolini
1e27de9cd6 block, bfq: add Early Queue Merge (EQM) to BFQ-v7r11 for 4.4.0
A set of processes may happen  to  perform interleaved reads, i.e.,requests
whose union would give rise to a  sequential read  pattern.  There are two
typical  cases: in the first  case,   processes  read  fixed-size chunks of
data at a fixed distance from each other, while in the second case processes
may read variable-size chunks at  variable distances. The latter case occurs
for  example with  QEMU, which  splits the  I/O generated  by the  guest into
multiple chunks,  and lets these chunks  be served by a  pool of cooperating
processes,  iteratively  assigning  the  next  chunk of  I/O  to  the first
available  process. CFQ  uses actual  queue merging  for the  first type of
rocesses, whereas it  uses preemption to get a sequential  read pattern out
of the read requests  performed by the second type of  processes. In the end
it uses  two different  mechanisms to  achieve the  same goal: boosting the
throughput with interleaved I/O.

This patch introduces  Early Queue Merge (EQM), a unified mechanism to get a
sequential  read pattern  with both  types of  processes. The  main idea is
checking newly arrived requests against the next request of the active queue
both in case of actual request insert and in case of request merge. By doing
so, both the types of processes can be handled by just merging their queues.
EQM is  then simpler and  more compact than the  pair of mechanisms used in
CFQ.

Finally, EQM  also preserves the  typical low-latency properties of BFQ, by
properly restoring the weight-raising state of a queue when it gets back to
a non-merged state.

Change-Id: I9c626abcc591f9d9bc82fa535b7a11a38b6f89cb
Signed-off-by: Mauro Andreolini <mauro.andreolini@unimore.it>
Signed-off-by: Arianna Avanzini <avanzini@google.com>
Signed-off-by: Paolo Valente <paolo.valente@unimore.it>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-11-03 21:30:16 +01:00
Paolo Valente
ec0889a941 block: introduce the BFQ-v7r11 I/O sched for 4.4.0
The general structure is borrowed from CFQ, as much of the code for
handling I/O contexts. Over time, several useful features have been
ported from CFQ as well (details in the changelog in README.BFQ). A
(bfq_)queue is associated to each task doing I/O on a device, and each
time a scheduling decision has to be made a queue is selected and served
until it expires.

    - Slices are given in the service domain: tasks are assigned
      budgets, measured in number of sectors. Once got the disk, a task
      must however consume its assigned budget within a configurable
      maximum time (by default, the maximum possible value of the
      budgets is automatically computed to comply with this timeout).
      This allows the desired latency vs "throughput boosting" tradeoff
      to be set.

    - Budgets are scheduled according to a variant of WF2Q+, implemented
      using an augmented rb-tree to take eligibility into account while
      preserving an O(log N) overall complexity.

    - A low-latency tunable is provided; if enabled, both interactive
      and soft real-time applications are guaranteed a very low latency.

    - Latency guarantees are preserved also in the presence of NCQ.

    - Also with flash-based devices, a high throughput is achieved
      while still preserving latency guarantees.

    - BFQ features Early Queue Merge (EQM), a sort of fusion of the
      cooperating-queue-merging and the preemption mechanisms present
      in CFQ. EQM is in fact a unified mechanism that tries to get a
      sequential read pattern, and hence a high throughput, with any
      set of processes performing interleaved I/O over a contiguous
      sequence of sectors.

    - BFQ supports full hierarchical scheduling, exporting a cgroups
      interface.  Since each node has a full scheduler, each group can
      be assigned its own weight.

    - If the cgroups interface is not used, only I/O priorities can be
      assigned to processes, with ioprio values mapped to weights
      with the relation weight = IOPRIO_BE_NR - ioprio.

    - ioprio classes are served in strict priority order, i.e., lower
      priority queues are not served as long as there are higher
      priority queues.  Among queues in the same class the bandwidth is
      distributed in proportion to the weight of each queue. A very
      thin extra bandwidth is however guaranteed to the Idle class, to
      prevent it from starving.

Change-Id: I1c789ca3c2eb93972d742f82ee729cfe5fb7170c
Signed-off-by: Paolo Valente <paolo.valente@unimore.it>
Signed-off-by: Arianna Avanzini <avanzini@google.com>
2020-11-03 21:30:16 +01:00
codeworkx
3ea001b8c4 leds-qpnp: revert changes made by op
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:16 +01:00
Pranav Vashi
eedaf85245 drivers: Allow disabling OEM debug support
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:16 +01:00
Srinivas Girigowda
a8f858b908 cfg80211: Support backport of removing ieee80211
Bug: 62058353
Change-Id: Id8725947048bb4ba461dcb77b7b9023991a304be
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2020-11-03 21:30:16 +01:00