This reverts commit ef1281e09e83a57ea035cb2e7162f3faaadcc670.
Unnecessary with Clang 6.0+.
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
This reverts commit 5ac3bb5041cbff887b1874b18331ca265008a046.
Unnecessary with Clang 6.0+.
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: azrim <mirzaspc@gmail.com>
This reverts commit 7c32f68bf595affe9acc5f267be77e1c4125110e.
Unnecessary with Clang 6.0+.
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: azrim <mirzaspc@gmail.com>
CAF cherry-picked an obsolete LLVMLinux patch from 2014 in commit
96d47aed062d6b0940aa575d6b5b6cd8ccfdbef9 that introduced this
unnecessary flag. Now that the functions used by Clang's libcall
optimizations have been implemented, we can allow Clang to perform said
optimizations for a minor performance bump in certain code paths.
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: azrim <mirzaspc@gmail.com>
__rticdata was a relocation to seperate 4k pages to enable EL2 Hypervisor.
Since we are not running an emulator, we dont need this section attr.
Adapt to commit 1cb0c89eb434656cd6652fa32d4cdbf4b8bed95d
Change-Id: I5749bd175592ab617a3cc42e5d0a1361c175cb0d
Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live>
Signed-off-by: azrim <mirzaspc@gmail.com>
This reverts commit d4807bd60dc166a6445c3b13684f1d1afb722bc5.
That out of tree patch causes the resulting kernel image to be too
large, causing ld.lld to error; likely due to the additional section and
alignment requirements. Android and floral don't host virtual targets
and thus do not run at EL2 on arm64.
Bug: 63740206
Change-Id: I357bf4d5c7e29230746eacd51fef413acec06067
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
The big (Gold) cores are derived from ARM's Cortex-A76 reference
design, while the little (Silver) cores are derived from Cortex-A55.
Clang doen't support optimizing for two clusters at once, so help the
weaker little cluster out a bit by optimizing exclusive for it instead
since it needs all the speed it can get.
Test: GCC 9.1.0 and Clang 10.0.0svn both compile working kernels
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
-O3 is much more stable with modern compilers these days than it was a
decade ago. Using -O3 on the kernel results in significantly improved
hackbench performance, which is a sign that overall performance in the
kernel is improved. It works especially well in conjunction with LTO.
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
It is tedious to specify extra compiler options for every file.
HOST_EXTRACFLAGS is useful to add options to all files in a
directory.
-I$(src)/libfdt is needed for all the files in this directory
to include libfdt_env.h etc. from scripts/dtc/libfdt/.
On the other hand, -I$(src) is used to include check-in headers
from generated C files. Thus, I added it only to dtc-lexer.lex.o
and dtc-parser.tab.o .
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: azrim <mirzaspc@gmail.com>
arch cris & metag have been removed from supported archs.
The dts hard link files should also be removed, or the ctags
tool will give warning.
execute"ctags -R", output:
ctags: Warning: cannot open source file
"scripts/dtc/include-prefixes/cris" : No such file or directory
ctags: Warning: cannot open source file
"scripts/dtc/include-prefixes/metag" : No such file or directory
Signed-off-by: Liu Changcheng <changcheng.liu@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: azrim <mirzaspc@gmail.com>
Currently max_packets is configured as 1000, but max outstanding
packets will not exceed more than 480(16 clients x 30 pkts/client).
Bug: 153501065
Test: camera recording/video playback
Change-Id: I57a302857ce143c8c7507818e6e9e9ed1e29f327
Signed-off-by: wenchangliu <wenchangliu@google.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
* drop some stuff that depended on features I didn't pick
Change-Id: Ia857c819b2acaaa101227e8d3e460c00082334b6
Signed-off-by: azrim <mirzaspc@gmail.com>
The FLASH_TRIGGER property is supported only on PMI632, add
a check for it.
Change-Id: I269b0be18b56d56c0ab0e68ee1d7194d09824dd3
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: azrim <mirzaspc@gmail.com>
CAF's new fuel gauge drivers report POWER_SUPPLY_TYPE_BMS (Battery
Monitor System) instead of POWER_SUPPLY_TYPE_BATTERY (battery), and
rightfully so because it describes their purpose more accurately.
Update the power_supply_is_system_supplied function to recognize BMS
power supplies as batteries to prevent it from attempting to query the
POWER_SUPPLY_PROP_ONLINE property on our fuel gauge drivers.
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: azrim <mirzaspc@gmail.com>
This driver behaves like the qti haptics driver and hence we can
use the qti vibrator HAL. Since [1] the qti vibrator HAL checks
wether a qti haptics device is detected and does not work if it's
not a qti one. In order to allow the HAL to work with this driver
we spoof the input device name to qti-haptics if the actual
qti-haptics driver is not built.
[1] c8f31f143e
Change-Id: Ia41019a2dfcc54f0170ffe8877d19102b3b0fb83
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
Signed-off-by: azrim <mirzaspc@gmail.com>