| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is no longer necessary because we no longer ship
su add-ons, which is this patch initially designed for. Now
it causes another issue which breaks custom root solution
such as Magisk, as Magisk switches worker tmpfs dir to RO
instead of RW for safety reasons and happens to satisfy
MS_RDONLY check for su file, resulting in su file totally
inaccessible.
This reverts commit 08ff8a2e58eb226015fa68d577121137a7e0953f.
Change-Id: If25a9ef7e64c79412948f4619e08faaedb18aa13
|
| |
|
|
|
|
| |
* No reason to keep emmc_therm and msm_therm disabled
Change-Id: I344a2c83da89fddd417efbfbd509621c5aed954a
|
| |
|
|
| |
Change-Id: I9568bb0845d01b13cabcd4531acb367348ff1a8a
|
| |
|
|
| |
Change-Id: Ia061e4c1416f7cad44e982dfd43026092b0d2745
|
| |
|
|
| |
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Clang complains about converting between ion_heap_type and
msm_ion_heap_type. They ultimately don't conflict with each
other as msm_ion_heap_type supplements ion_heap_type but Clang
can't see that. Just change type into a int.
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Change-Id: I2ee5808a86720b5bed360e6c5e4a3c96a530d8a2
|
| |
|
|
|
|
|
|
|
|
|
| |
../sound/soc/msm/qdsp6v2/q6lsm.c:255:33: error: expression which evaluates to zero treated as a null pointer constant of type 'struct lsm_client *' [-Werror,-Wnon-literal-null-conversion]
lsm_session[client->session] = LSM_INVALID_SESSION_ID;
^~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: yarost12 <yaro330@gmail.com>
Signed-off-by: Albert I <krascgq@outlook.co.id>
[nathanchance: Improve changelog text]
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
drivers/video/fbdev/msm/lcd_effect.c:689:15: warning: explicitly assigning value of variable of type
'int' to itself [-Wself-assign]
mode_index=mode_index;
~~~~~~~~~~^~~~~~~~~~~
1 warning generated.
Change-Id: I7775e0004e32e649d2c9934cc7acc134941839ae
|
| |
|
|
|
|
|
|
|
|
|
| |
../drivers/soc/qcom/icnss.c:3154:37: warning: implicit conversion from
enumeration type 'enum icnss_driver_mode' to different enumeration type
'enum wlfw_driver_mode_enum_v01' [-Wenum-conversion]
ret = wlfw_wlan_mode_send_sync_msg(mode);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
1 warning generated.
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
gcc apparently lets you use r0, r1, etc. as register names even in
aarch64 mode. clang does not.
This change has no impact on the code generated by gcc (confirmed by
disassembling scm.o with and without the patch).
Change-Id: I8a7103738bb6603693287afd22c0346cb397458e
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| |
|
|
|
|
|
|
| |
When sched_feat(NONTASK_CAPACITY) evaluates to a constant at compile time,
Clang is unhappy. Use a double negation to make the constant boolean so
that Clang is happy.
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
clang warns when converting the address of an array or function to
boolean, since it can never be NULL. The kernel relies on gcc silently
optimizing these checks away, like when dealing with cpumask_var_t
(which can be either a pointer or an array object, depending on the
value of CONFIG_CPUMASK_OFFSTACK).
Change-Id: I322568a6e467d7278f065503f37dd1dddd340ef4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
* Enable BFQ and CFQ
* Set noop as default for the bootup
* Disable the iosched test, just useless
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: I6247ddc569f116d7aeb7b929f0d6bb3c5eee5e31
|
| |
|
|
| |
Change-Id: Ibd227489342a66a123b3e05341f02998c234fd76
|
| |
|
|
| |
Change-Id: If2b2f519f992f17ced24fd1260397a47e9acc7c2
|
| |
|
|
|
|
|
| |
* Needed to mount cache as rw with f2fs:
F2FS-fs (mmcblk0p39): Filesystem with quota feature cannot be mounted RDWR without CONFIG_QUOTA
Change-Id: Ibd9b3cc71e6f6d50ddf4056294f67592161f705a
|
| | |
|
| |
|
|
|
|
|
|
|
| |
This enables the client ICE driver to support inline crypto
operations for eMMC controller on msm platform.
Change-Id: I73817f9e0e8c448fd739e9cdd2153fcce3e64710
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
|
| |
|
|
| |
Change-Id: I18e0d4a6164551de29a7d365facbd599b8f0a94d
|
| |
|
|
|
|
| |
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Change-Id: I1547c053d1af44f9eb1f825f180e71d6de9c699d
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ 5.942721] Error: Driver 'IPCRTR' is already registered, aborting...
[ 5.942796] IPC_RTR: msm_ipc_router_smd_driver_register: Failed to
register platform driver [IPCRTR]
[ 5.942873] IPC_RTR: msm_ipc_router_smd_driver_register Already
driver registered IPCRTR
[ 5.942948] IPC_RTR: msm_ipc_router_smd_driver_register Already
driver registered IPCRTR
and
[ 3.078606] Error: Driver 'msm_rng' is already registered,
aborting...
[ 3.078640] msm_rng_init: platform_driver_register error:-16
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Change-Id: Ibe923a5a0becca97d8104ee976a827243cb9aa01
|
| |
|
|
|
|
| |
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: I61cd43c4802c00d797249e2f8128a915052f5b55
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove SCSI media changer support
Remove Ethernet plug in card support
Remove Qualcomm HBTP driver
Remove PPP sync support
Remove Linux Logo
Remove PCI and SPI sound card support
Remove Serial based input device support
Remove Elecom BT mouse support
Remove USB touch screen support
Remove Non-USB Mouse, Joystick support
Test: Keyboard, Mouse, Ethernet(USB3GIGV1), Headset
Test: Power/Volume Up/Down hard keys work
Change-Id: Icfdcc6ee0479c8d943a330d724aa29e0f0ca47ee
Signed-off-by: Patrick Tjin <pattjin@google.com>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
The configs for this is used for Bluez.
So, there is no reason to keep this that causes the Security
Vulnerability.
Bug: 63527053
Change-Id: I954017d87639b2ae8db61be2d5dedfb32ff9d1e3
Signed-off-by: Ecco Park <eccopark@google.com>
|
| |
|
|
|
|
| |
Bug: 62470966
Change-Id: Ib12674f38fb109ea467729eeeff283299ace2e63
Signed-off-by: Adrian Salido <salidoa@google.com>
|
| |
|
|
|
| |
Change-Id: I01399642ab5d2e6405cf8dbb23caa140fcf71b56
Signed-off-by: Thierry Strudel <tstrudel@google.com>
|
| |
|
|
|
|
|
| |
It doesn't probe succesfully.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Change-Id: I834373476f8933bde95d4073c0d8a4a579298e9b
|
| |
|
|
|
|
|
|
| |
Bug: 66228430
Test: boot
Change-Id: Ib779822633f700a4378b8ea3293fc6f8cb9f7175
Signed-off-by: Wei Wang <wvw@google.com>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
|
| |
|
|
|
|
| |
* Doing so the device waits 5 seconds from the panic before rebooting
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
| |
* Without this you can't test and reproduce a kernel panic...
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Disable CONFIG_DEVPORT config for msm8996.
As selinux policy requires this node to be not
accessible to userspace.
CRs-Fixed: 2077590
Change-Id: I302d71a56764504ec246ddb6a98d8c07094846e4
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
Enable CONFIG_SCHED_HMP_CSTATE_AWARE in order to optimize task
placement with CPUs C-state. This brings better system performance.
CRs-fixed: 1006303
Change-Id: I18e62015371143bca56396c747eaad3b22c5e3a3
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use per CPU NOCB threads to process RCU callbacks, rather than processing
the callbacks in softirq context. Processing large number of callbacks
in softirq context may result in delayed execution of other softirqs, so
remove processing of callbacks from softirq context.
Change-Id: I96faf1e5c8e786a2cb2410bb1265875410f74ae3
Signed-off-by: Imran Khan <kimran@codeaurora.org>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
* Remove QBT1000 as it isn't used
* Remove erratum fixes as they aren't needed
* Add a few configs for security
* Add CONFIG_INET_IPCOMP - for VPN
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change will enables and disables below list of configs in
defconfig and perf_deconfig to address the pop-up issue.
Enable configs:
CONFIG_HARDENED_USERCOPY
CONFIG_CRYPTO_GCM
CONFIG_IPV6_VTI
CONFIG_NET_IPVTI
CONFIG_SECURITY_PERF_EVENTS_RESTRICT
CONFIG_USB_CONFIGFS_F_AUDIO_SRC
CONFIG_USB_CONFIGFS_F_MIDI
CONFIG_CP15_BARRIER_EMULATION
CONFIG_SETEND_EMULATION
Disable configs:
CONFIG_USELIB
Change-Id: I7135d8a41bd34018c3d8f7c2342b2c2a12a9e07b
Signed-off-by: Rahul Shahare <rshaha@codeaurora.org>
|
| |
|
|
|
|
|
|
|
|
| |
Enable support for app specific setting on MSM8996. This
is required for providing an interface so that app specific
settings can be applied / cleared.
CRs-Fixed: 981519
Change-Id: Ice69a77b40dbd98bfff0c8095d78a25424527a2f
Signed-off-by: Sanrio Alvares <salvares@codeaurora.org>
|
| |
|
|
|
|
|
|
|
| |
Enable FP(Floating Point) and SIMD settings required
during execution of AArch32 processes.
CRs-Fixed: 952837
Change-Id: I71c9294a59053aad2abfd359f9d3035cf493307a
Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
|
| |
|
|
|
|
| |
* We're not using this in 3.18 and it's useless for us
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Used in accessories with magnets to lock/unlock
device and etc.
4.4 Linux version.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
z2 has issues initializing it.
Lots and lots of messages like this in dmesg:
[ 51.109389] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109419] msm_thermal:hotplug_init_cpu_offlined Unable to read
TSENS sensor:-19.
[ 51.109423] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109426] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109429] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109431] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109434] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109437] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109439] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109442] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109445] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109447] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109450] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109453] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109455] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
[ 51.109458] msm_thermal:sensor_mgr_set_threshold Unable to read
temperature for zone:-19. err:-19
[ 51.109461] msm_thermal:therm_get_temp Unable to read thermal zone
sensor:-19
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
Add a helper node that can be used to notify user space through sysfs
node when fb device has not had any activity for a specified amount of
time (through idle_time node).
Bug: 62110101
Change-Id: I4dfa4b1a376149aa55a940dad7ac336ec99f1af8
Signed-off-by: Adrian Salido <salidoa@google.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
For some reason it can randomly error on boot with message
[ 0.466725] gcc_mss_q6_bimc_axi_clk: status stuck off
*warning*
[ 0.468169] failed to enable always-on clock gcc_mss_q6_bimc_axi_clk
Fine... Let it not be always on.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
| |
* This has been added twice who knows when by CAF, most likely during an important merge
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
The performance cluster can have frequency change requests ignored when
it comes online without having this flag set. This can result in the perfcl
running at its default frequency instead of the frequency that the CPU
governor wants.
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After a CPU comes online, clk_set_rate() silently refuses to change said CPU's
frequency to the frequency it was running at before going offline (since it
thinks that we are setting the same frequency redundantly). By default, each CPU
runs at its minimum frequency when coming online, so if the governor decides to
keep a CPU running at the frequency it used before going offline, then
clk_set_rate() will ignore the frequency change request and the CPU will stay
stuck running at its minimum frequency for a potentially long period of time
(i.e. until the governor decides to change the frequency to something
different). This can cause severe lag when a device is woken up from deep sleep.
In order to prevent a CPU from being stuck at its default frequency for a
potentially long period of time, set the CLKFLAG_NO_RATE_CACHE flag so that the
governor's frequency change requests will always be honored right after a CPU
comes online.
Note that this requires a CPU's component clocks to be using CLKFLAG_NO_RATE_CACHE
as well in order to fix the issue.
Signed-off-by: Sultanxda <sultanxda@gmail.com>
|
| |
|
|
|
| |
Change-Id: I8d2c8bed65a01eb0928308df638a04449a5bd881
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It has been claimed that the PG implementation of 'su' has security
vulnerabilities even when disabled. Unfortunately, the people that
find these vulnerabilities often like to keep them private so they
can profit from exploits while leaving users exposed to malicious
hackers.
In order to reduce the attack surface for vulnerabilites, it is
therefore necessary to make 'su' completely inaccessible when it
is not in use (except by the root and system users).
Change-Id: I79716c72f74d0b7af34ec3a8054896c6559a181d
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
|
| |
* Fixes usb tethering
* Depends on https://github.com/DD3Boh/android_kernel_zuk_msm8996/commit/120991fe0830555988da869c6b4f0a518f301bc8
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| |
|
|
|
|
|
|
| |
* We can just remove it from CONFIG_USB_F_GSI and keep it in CONFIG_USB_F_QCRNDIS as I can't get the first to build without the second but I can get the second to build without the first
* The same thing is for CONFIG_USB_CONFIGFS_RNDIS
* Fixes a build error because of the file being included twice
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|