treewide: fix build with clang
This commit is contained in:
parent
e6f09c770e
commit
7aaadc07cc
36 changed files with 178 additions and 57 deletions
17
.gitignore
vendored
17
.gitignore
vendored
|
@ -6,6 +6,23 @@
|
||||||
# NOTE! Please use 'git ls-files -i --exclude-standard'
|
# NOTE! Please use 'git ls-files -i --exclude-standard'
|
||||||
# command after changing this file, to see if there are
|
# command after changing this file, to see if there are
|
||||||
# any tracked files which get ignored after the change.
|
# any tracked files which get ignored after the change.
|
||||||
|
|
||||||
|
#
|
||||||
|
# DTB
|
||||||
|
#
|
||||||
|
arch/arm64/boot/dtb.img
|
||||||
|
scripts/dtbtool_exynos/dtbtool
|
||||||
|
arch/arm64/boot/dts/exynos/*dtb*
|
||||||
|
arch/arm64/kernel/vdso32/vdso.lds
|
||||||
|
arch/arm64/kernel/vdso32/vdso.so.raw
|
||||||
|
scripts/fmp/__pycache__
|
||||||
|
firmware/five/ffffffff000000000000000000000072.tlbin
|
||||||
|
|
||||||
|
#
|
||||||
|
# Gator
|
||||||
|
#
|
||||||
|
drivers/gator_5.27/generated_gator_src_md5.h
|
||||||
|
|
||||||
#
|
#
|
||||||
# Normal rules
|
# Normal rules
|
||||||
#
|
#
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -344,7 +344,7 @@ include scripts/Kbuild.include
|
||||||
AS = $(CROSS_COMPILE)as
|
AS = $(CROSS_COMPILE)as
|
||||||
LD = $(CROSS_COMPILE)ld
|
LD = $(CROSS_COMPILE)ld
|
||||||
LDGOLD = $(CROSS_COMPILE)ld.gold
|
LDGOLD = $(CROSS_COMPILE)ld.gold
|
||||||
CC = $(CROSS_COMPILE)gcc
|
CC ?= $(CONFIG_CC:"%"=%)
|
||||||
CPP = $(CC) -E
|
CPP = $(CC) -E
|
||||||
AR = $(CROSS_COMPILE)ar
|
AR = $(CROSS_COMPILE)ar
|
||||||
NM = $(CROSS_COMPILE)nm
|
NM = $(CROSS_COMPILE)nm
|
||||||
|
@ -530,8 +530,8 @@ endif
|
||||||
|
|
||||||
ifeq ($(cc-name),clang)
|
ifeq ($(cc-name),clang)
|
||||||
ifneq ($(CROSS_COMPILE),)
|
ifneq ($(CROSS_COMPILE),)
|
||||||
CLANG_TRIPLE ?= $(CROSS_COMPILE)
|
CLANG_TRIPLE ?= $(CONFIG_CLANG_TRIPLE:"%"=%)
|
||||||
CLANG_FLAGS += --target=$(notdir $(CLANG_TRIPLE:%-=%))
|
CLANG_FLAGS += --target=$(notdir $(CLANG_TRIPLE:%-=%)) -DCC_USE_CLANG
|
||||||
ifeq ($(shell $(srctree)/scripts/clang-android.sh $(CC) $(CLANG_FLAGS)), y)
|
ifeq ($(shell $(srctree)/scripts/clang-android.sh $(CC) $(CLANG_FLAGS)), y)
|
||||||
$(error "Clang with Android --target detected. Did you specify CLANG_TRIPLE?")
|
$(error "Clang with Android --target detected. Did you specify CLANG_TRIPLE?")
|
||||||
endif
|
endif
|
||||||
|
@ -542,6 +542,7 @@ endif
|
||||||
ifneq ($(GCC_TOOLCHAIN),)
|
ifneq ($(GCC_TOOLCHAIN),)
|
||||||
CLANG_FLAGS += --gcc-toolchain=$(GCC_TOOLCHAIN)
|
CLANG_FLAGS += --gcc-toolchain=$(GCC_TOOLCHAIN)
|
||||||
endif
|
endif
|
||||||
|
KBUILD_CFLAGS += -Wno-sizeof-pointer-div
|
||||||
CLANG_FLAGS += -no-integrated-as
|
CLANG_FLAGS += -no-integrated-as
|
||||||
CLANG_FLAGS += -Werror=unknown-warning-option
|
CLANG_FLAGS += -Werror=unknown-warning-option
|
||||||
KBUILD_CFLAGS += $(CLANG_FLAGS)
|
KBUILD_CFLAGS += $(CLANG_FLAGS)
|
||||||
|
|
|
@ -219,7 +219,7 @@ CONFIG_SLUB=y
|
||||||
CONFIG_SLUB_CPU_PARTIAL=y
|
CONFIG_SLUB_CPU_PARTIAL=y
|
||||||
# CONFIG_SYSTEM_DATA_VERIFICATION is not set
|
# CONFIG_SYSTEM_DATA_VERIFICATION is not set
|
||||||
CONFIG_DEFERRED_INITCALLS=y
|
CONFIG_DEFERRED_INITCALLS=y
|
||||||
CONFIG_PROFILING=y
|
# CONFIG_PROFILING is not set
|
||||||
CONFIG_TRACEPOINTS=y
|
CONFIG_TRACEPOINTS=y
|
||||||
# CONFIG_JUMP_LABEL is not set
|
# CONFIG_JUMP_LABEL is not set
|
||||||
# CONFIG_UPROBES is not set
|
# CONFIG_UPROBES is not set
|
||||||
|
@ -2972,7 +2972,7 @@ CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
|
||||||
# ARM GPU Configuration
|
# ARM GPU Configuration
|
||||||
#
|
#
|
||||||
CONFIG_MALI_MIDGARD=y
|
CONFIG_MALI_MIDGARD=y
|
||||||
CONFIG_MALI_GATOR_SUPPORT=y
|
# CONFIG_MALI_GATOR_SUPPORT is not set
|
||||||
# CONFIG_MALI_MIDGARD_DVFS is not set
|
# CONFIG_MALI_MIDGARD_DVFS is not set
|
||||||
CONFIG_MALI_MIDGARD_ENABLE_TRACE=y
|
CONFIG_MALI_MIDGARD_ENABLE_TRACE=y
|
||||||
# CONFIG_MALI_DEVFREQ is not set
|
# CONFIG_MALI_DEVFREQ is not set
|
||||||
|
@ -2982,6 +2982,7 @@ CONFIG_MALI_EXPERT=y
|
||||||
# CONFIG_MALI_PRFCNT_SET_SECONDARY is not set
|
# CONFIG_MALI_PRFCNT_SET_SECONDARY is not set
|
||||||
CONFIG_MALI_PLATFORM_THIRDPARTY=y
|
CONFIG_MALI_PLATFORM_THIRDPARTY=y
|
||||||
CONFIG_MALI_PLATFORM_THIRDPARTY_NAME="exynos"
|
CONFIG_MALI_PLATFORM_THIRDPARTY_NAME="exynos"
|
||||||
|
CONFIG_MALI_PLATFORM_NAME="exynos"
|
||||||
# CONFIG_MALI_DEBUG is not set
|
# CONFIG_MALI_DEBUG is not set
|
||||||
# CONFIG_MALI_FENCE_DEBUG is not set
|
# CONFIG_MALI_FENCE_DEBUG is not set
|
||||||
# CONFIG_MALI_NO_MALI is not set
|
# CONFIG_MALI_NO_MALI is not set
|
||||||
|
@ -2996,6 +2997,7 @@ CONFIG_MALI_SEC_CL_BOOST=y
|
||||||
CONFIG_MALI_PM_QOS=y
|
CONFIG_MALI_PM_QOS=y
|
||||||
# CONFIG_MALI_BTS_OPTIMIZATION is not set
|
# CONFIG_MALI_BTS_OPTIMIZATION is not set
|
||||||
CONFIG_MALI_DEBUG_KERNEL_SYSFS=y
|
CONFIG_MALI_DEBUG_KERNEL_SYSFS=y
|
||||||
|
CONFIG_MALI_DDK_VERSION=y
|
||||||
CONFIG_MALI_EXYNOS_SECURE_RENDERING=y
|
CONFIG_MALI_EXYNOS_SECURE_RENDERING=y
|
||||||
CONFIG_MALI_THEX=y
|
CONFIG_MALI_THEX=y
|
||||||
# CONFIG_MALI_THEX_R5P0 is not set
|
# CONFIG_MALI_THEX_R5P0 is not set
|
||||||
|
@ -3006,6 +3008,7 @@ CONFIG_MALI_THEX=y
|
||||||
# CONFIG_MALI_THEX_R15P0 is not set
|
# CONFIG_MALI_THEX_R15P0 is not set
|
||||||
# CONFIG_MALI_THEX_R16P0 is not set
|
# CONFIG_MALI_THEX_R16P0 is not set
|
||||||
# CONFIG_MALI_BIFROST_R19P0_Q is not set
|
# CONFIG_MALI_BIFROST_R19P0_Q is not set
|
||||||
|
# CONFIG_MALI_BIFROST_R26P0 is not set
|
||||||
CONFIG_MALI_BIFROST_R32P1=y
|
CONFIG_MALI_BIFROST_R32P1=y
|
||||||
# CONFIG_MALI_2MB_ALLOC is not set
|
# CONFIG_MALI_2MB_ALLOC is not set
|
||||||
# CONFIG_MALI_SEC_JOB_STATUS_CHECK is not set
|
# CONFIG_MALI_SEC_JOB_STATUS_CHECK is not set
|
||||||
|
@ -3017,9 +3020,42 @@ CONFIG_MALI_REAL_HW=y
|
||||||
# CONFIG_MALI_MEMORY_FULLY_BACKED is not set
|
# CONFIG_MALI_MEMORY_FULLY_BACKED is not set
|
||||||
# CONFIG_MALI_DMA_BUF_MAP_ON_DEMAND is not set
|
# CONFIG_MALI_DMA_BUF_MAP_ON_DEMAND is not set
|
||||||
CONFIG_MALI_DMA_BUF_LEGACY_COMPAT=y
|
CONFIG_MALI_DMA_BUF_LEGACY_COMPAT=y
|
||||||
|
# CONFIG_MALI_ARBITER_SUPPORT is not set
|
||||||
|
CONFIG_MALI_HW_ERRATA_1485982_NOT_AFFECTED=y
|
||||||
|
# CONFIG_MALI_GEM5_BUILD is not set
|
||||||
CONFIG_MALI_SEC_VK_BOOST=y
|
CONFIG_MALI_SEC_VK_BOOST=y
|
||||||
CONFIG_VGA_ARB=y
|
CONFIG_VGA_ARB=y
|
||||||
CONFIG_VGA_ARB_MAX_GPUS=16
|
CONFIG_VGA_ARB_MAX_GPUS=16
|
||||||
|
|
||||||
|
#
|
||||||
|
# Platform specific options
|
||||||
|
#
|
||||||
|
CONFIG_MALI_EXYNOS_CLOCK=y
|
||||||
|
CONFIG_MALI_EXYNOS_DVFS=y
|
||||||
|
CONFIG_MALI_EXYNOS_PM=y
|
||||||
|
CONFIG_MALI_EXYNOS_RTPM=y
|
||||||
|
# CONFIG_MALI_EXYNOS_IFPO is not set
|
||||||
|
CONFIG_MALI_EXYNOS_QOS=y
|
||||||
|
CONFIG_MALI_EXYNOS_THERMAL=y
|
||||||
|
CONFIG_MALI_EXYNOS_BTS_MO=y
|
||||||
|
# CONFIG_MALI_EXYNOS_SECURE_RENDERING_ARM is not set
|
||||||
|
# CONFIG_MALI_EXYNOS_SECURE_RENDERING_LEGACY is not set
|
||||||
|
CONFIG_MALI_EXYNOS_DEBUG=y
|
||||||
|
CONFIG_MALI_EXYNOS_DEVICETREE=y
|
||||||
|
# CONFIG_MALI_EXYNOS_LLC is not set
|
||||||
|
CONFIG_MALI_EXYNOS_CL_BOOST=y
|
||||||
|
# CONFIG_MALI_NOTIFY_UTILISATION is not set
|
||||||
|
# CONFIG_MALI_TSG is not set
|
||||||
|
# CONFIG_MALI_EXYNOS_SECURE_SMC_NOTIFY_GPU is not set
|
||||||
|
# CONFIG_MALI_EXYNOS_WAKEUP_CLOCK_WA is not set
|
||||||
|
# CONFIG_MALI_EXYNOS_BLOCK_RPM_WHILE_SUSPEND_RESUME is not set
|
||||||
|
# CONFIG_MALI_SEC_G3D_PEAK_NOTI is not set
|
||||||
|
CONFIG_MALI_EXYNOS_EHMP=y
|
||||||
|
# CONFIG_MALI_EXYNOS_UNIT_TESTS is not set
|
||||||
|
CONFIG_MALI_PRFCNT_SET_PRIMARY=y
|
||||||
|
# CONFIG_MALI_PRFCNT_SET_TERTIARY is not set
|
||||||
|
# CONFIG_MALI_PRFCNT_SET_SELECT_VIA_DEBUG_FS is not set
|
||||||
|
# CONFIG_MALI_ARBITRATION is not set
|
||||||
# CONFIG_DRM is not set
|
# CONFIG_DRM is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -5038,12 +5074,12 @@ CONFIG_SENSORS_FINGERPRINT=y
|
||||||
# CONFIG_SENSORS_VFS7XXX is not set
|
# CONFIG_SENSORS_VFS7XXX is not set
|
||||||
# CONFIG_SENSORS_VFS8XXX is not set
|
# CONFIG_SENSORS_VFS8XXX is not set
|
||||||
CONFIG_SENSORS_ET5XX=y
|
CONFIG_SENSORS_ET5XX=y
|
||||||
CONFIG_GATOR=y
|
# CONFIG_GATOR is not set
|
||||||
# CONFIG_GATOR_DO_NOT_ONLINE_CORES_AT_STARTUP is not set
|
# CONFIG_GATOR_DO_NOT_ONLINE_CORES_AT_STARTUP is not set
|
||||||
CONFIG_GATOR_WITH_MALI_SUPPORT=y
|
# CONFIG_GATOR_WITH_MALI_SUPPORT is not set
|
||||||
# CONFIG_GATOR_MALI_4XXMP is not set
|
# CONFIG_GATOR_MALI_4XXMP is not set
|
||||||
CONFIG_GATOR_MALI_MIDGARD=y
|
# CONFIG_GATOR_MALI_MIDGARD is no set
|
||||||
CONFIG_GATOR_MALI_MIDGARD_PATH="drivers/gpu/arm/tHEx/r9p0"
|
# CONFIG_GATOR_MALI_MIDGARD_PATH="drivers/gpu/arm/tHEx/r9p0" is not set
|
||||||
CONFIG_FIVE_TEE_DRIVER=y
|
CONFIG_FIVE_TEE_DRIVER=y
|
||||||
# CONFIG_FIVE_USE_EMULATOR is not set
|
# CONFIG_FIVE_USE_EMULATOR is not set
|
||||||
CONFIG_FIVE_USE_TRUSTONIC=y
|
CONFIG_FIVE_USE_TRUSTONIC=y
|
||||||
|
@ -5327,7 +5363,7 @@ CONFIG_FRAME_WARN=4096
|
||||||
# CONFIG_PAGE_OWNER is not set
|
# CONFIG_PAGE_OWNER is not set
|
||||||
CONFIG_DEBUG_FS=y
|
CONFIG_DEBUG_FS=y
|
||||||
# CONFIG_HEADERS_CHECK is not set
|
# CONFIG_HEADERS_CHECK is not set
|
||||||
# CONFIG_DEBUG_SECTION_MISMATCH is not set
|
CONFIG_DEBUG_SECTION_MISMATCH=y
|
||||||
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
|
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
|
||||||
CONFIG_ARCH_WANT_FRAME_POINTERS=y
|
CONFIG_ARCH_WANT_FRAME_POINTERS=y
|
||||||
CONFIG_FRAME_POINTER=y
|
CONFIG_FRAME_POINTER=y
|
||||||
|
@ -5550,7 +5586,7 @@ CONFIG_CRYPTO=y
|
||||||
#
|
#
|
||||||
# Crypto core or helper
|
# Crypto core or helper
|
||||||
#
|
#
|
||||||
CONFIG_CRYPTO_FIPS=y
|
# CONFIG_CRYPTO_FIPS is not set
|
||||||
CONFIG_CRYPTO_ALGAPI=y
|
CONFIG_CRYPTO_ALGAPI=y
|
||||||
CONFIG_CRYPTO_ALGAPI2=y
|
CONFIG_CRYPTO_ALGAPI2=y
|
||||||
CONFIG_CRYPTO_AEAD=y
|
CONFIG_CRYPTO_AEAD=y
|
||||||
|
@ -5690,7 +5726,7 @@ CONFIG_CRYPTO_HW=y
|
||||||
# CONFIG_CRYPTO_DEV_CCP is not set
|
# CONFIG_CRYPTO_DEV_CCP is not set
|
||||||
CONFIG_EXYNOS_SMU=y
|
CONFIG_EXYNOS_SMU=y
|
||||||
CONFIG_EXYNOS_FMP=y
|
CONFIG_EXYNOS_FMP=y
|
||||||
CONFIG_EXYNOS_FMP_FIPS=y
|
# CONFIG_EXYNOS_FMP_FIPS is not set
|
||||||
CONFIG_NODE_FOR_SELFTEST_FAIL=y
|
CONFIG_NODE_FOR_SELFTEST_FAIL=y
|
||||||
# CONFIG_PANIC_FOR_SELFTEST_FAIL is not set
|
# CONFIG_PANIC_FOR_SELFTEST_FAIL is not set
|
||||||
CONFIG_ASYMMETRIC_KEY_TYPE=y
|
CONFIG_ASYMMETRIC_KEY_TYPE=y
|
||||||
|
|
|
@ -219,7 +219,7 @@ CONFIG_SLUB=y
|
||||||
CONFIG_SLUB_CPU_PARTIAL=y
|
CONFIG_SLUB_CPU_PARTIAL=y
|
||||||
# CONFIG_SYSTEM_DATA_VERIFICATION is not set
|
# CONFIG_SYSTEM_DATA_VERIFICATION is not set
|
||||||
CONFIG_DEFERRED_INITCALLS=y
|
CONFIG_DEFERRED_INITCALLS=y
|
||||||
CONFIG_PROFILING=y
|
# CONFIG_PROFILING is not set
|
||||||
CONFIG_TRACEPOINTS=y
|
CONFIG_TRACEPOINTS=y
|
||||||
# CONFIG_JUMP_LABEL is not set
|
# CONFIG_JUMP_LABEL is not set
|
||||||
# CONFIG_UPROBES is not set
|
# CONFIG_UPROBES is not set
|
||||||
|
@ -2972,7 +2972,7 @@ CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
|
||||||
# ARM GPU Configuration
|
# ARM GPU Configuration
|
||||||
#
|
#
|
||||||
CONFIG_MALI_MIDGARD=y
|
CONFIG_MALI_MIDGARD=y
|
||||||
CONFIG_MALI_GATOR_SUPPORT=y
|
# CONFIG_MALI_GATOR_SUPPORT is not set
|
||||||
# CONFIG_MALI_MIDGARD_DVFS is not set
|
# CONFIG_MALI_MIDGARD_DVFS is not set
|
||||||
CONFIG_MALI_MIDGARD_ENABLE_TRACE=y
|
CONFIG_MALI_MIDGARD_ENABLE_TRACE=y
|
||||||
# CONFIG_MALI_DEVFREQ is not set
|
# CONFIG_MALI_DEVFREQ is not set
|
||||||
|
@ -2982,6 +2982,7 @@ CONFIG_MALI_EXPERT=y
|
||||||
# CONFIG_MALI_PRFCNT_SET_SECONDARY is not set
|
# CONFIG_MALI_PRFCNT_SET_SECONDARY is not set
|
||||||
CONFIG_MALI_PLATFORM_THIRDPARTY=y
|
CONFIG_MALI_PLATFORM_THIRDPARTY=y
|
||||||
CONFIG_MALI_PLATFORM_THIRDPARTY_NAME="exynos"
|
CONFIG_MALI_PLATFORM_THIRDPARTY_NAME="exynos"
|
||||||
|
CONFIG_MALI_PLATFORM_NAME="exynos"
|
||||||
# CONFIG_MALI_DEBUG is not set
|
# CONFIG_MALI_DEBUG is not set
|
||||||
# CONFIG_MALI_FENCE_DEBUG is not set
|
# CONFIG_MALI_FENCE_DEBUG is not set
|
||||||
# CONFIG_MALI_NO_MALI is not set
|
# CONFIG_MALI_NO_MALI is not set
|
||||||
|
@ -2996,6 +2997,7 @@ CONFIG_MALI_SEC_CL_BOOST=y
|
||||||
CONFIG_MALI_PM_QOS=y
|
CONFIG_MALI_PM_QOS=y
|
||||||
# CONFIG_MALI_BTS_OPTIMIZATION is not set
|
# CONFIG_MALI_BTS_OPTIMIZATION is not set
|
||||||
CONFIG_MALI_DEBUG_KERNEL_SYSFS=y
|
CONFIG_MALI_DEBUG_KERNEL_SYSFS=y
|
||||||
|
CONFIG_MALI_DDK_VERSION=y
|
||||||
CONFIG_MALI_EXYNOS_SECURE_RENDERING=y
|
CONFIG_MALI_EXYNOS_SECURE_RENDERING=y
|
||||||
CONFIG_MALI_THEX=y
|
CONFIG_MALI_THEX=y
|
||||||
# CONFIG_MALI_THEX_R5P0 is not set
|
# CONFIG_MALI_THEX_R5P0 is not set
|
||||||
|
@ -3006,6 +3008,7 @@ CONFIG_MALI_THEX=y
|
||||||
# CONFIG_MALI_THEX_R15P0 is not set
|
# CONFIG_MALI_THEX_R15P0 is not set
|
||||||
# CONFIG_MALI_THEX_R16P0 is not set
|
# CONFIG_MALI_THEX_R16P0 is not set
|
||||||
# CONFIG_MALI_BIFROST_R19P0_Q is not set
|
# CONFIG_MALI_BIFROST_R19P0_Q is not set
|
||||||
|
# CONFIG_MALI_BIFROST_R26P0 is not set
|
||||||
CONFIG_MALI_BIFROST_R32P1=y
|
CONFIG_MALI_BIFROST_R32P1=y
|
||||||
# CONFIG_MALI_2MB_ALLOC is not set
|
# CONFIG_MALI_2MB_ALLOC is not set
|
||||||
# CONFIG_MALI_SEC_JOB_STATUS_CHECK is not set
|
# CONFIG_MALI_SEC_JOB_STATUS_CHECK is not set
|
||||||
|
@ -3017,9 +3020,42 @@ CONFIG_MALI_REAL_HW=y
|
||||||
# CONFIG_MALI_MEMORY_FULLY_BACKED is not set
|
# CONFIG_MALI_MEMORY_FULLY_BACKED is not set
|
||||||
# CONFIG_MALI_DMA_BUF_MAP_ON_DEMAND is not set
|
# CONFIG_MALI_DMA_BUF_MAP_ON_DEMAND is not set
|
||||||
CONFIG_MALI_DMA_BUF_LEGACY_COMPAT=y
|
CONFIG_MALI_DMA_BUF_LEGACY_COMPAT=y
|
||||||
|
# CONFIG_MALI_ARBITER_SUPPORT is not set
|
||||||
|
CONFIG_MALI_HW_ERRATA_1485982_NOT_AFFECTED=y
|
||||||
|
# CONFIG_MALI_GEM5_BUILD is not set
|
||||||
CONFIG_MALI_SEC_VK_BOOST=y
|
CONFIG_MALI_SEC_VK_BOOST=y
|
||||||
CONFIG_VGA_ARB=y
|
CONFIG_VGA_ARB=y
|
||||||
CONFIG_VGA_ARB_MAX_GPUS=16
|
CONFIG_VGA_ARB_MAX_GPUS=16
|
||||||
|
|
||||||
|
#
|
||||||
|
# Platform specific options
|
||||||
|
#
|
||||||
|
CONFIG_MALI_EXYNOS_CLOCK=y
|
||||||
|
CONFIG_MALI_EXYNOS_DVFS=y
|
||||||
|
CONFIG_MALI_EXYNOS_PM=y
|
||||||
|
CONFIG_MALI_EXYNOS_RTPM=y
|
||||||
|
# CONFIG_MALI_EXYNOS_IFPO is not set
|
||||||
|
CONFIG_MALI_EXYNOS_QOS=y
|
||||||
|
CONFIG_MALI_EXYNOS_THERMAL=y
|
||||||
|
CONFIG_MALI_EXYNOS_BTS_MO=y
|
||||||
|
# CONFIG_MALI_EXYNOS_SECURE_RENDERING_ARM is not set
|
||||||
|
# CONFIG_MALI_EXYNOS_SECURE_RENDERING_LEGACY is not set
|
||||||
|
CONFIG_MALI_EXYNOS_DEBUG=y
|
||||||
|
CONFIG_MALI_EXYNOS_DEVICETREE=y
|
||||||
|
# CONFIG_MALI_EXYNOS_LLC is not set
|
||||||
|
CONFIG_MALI_EXYNOS_CL_BOOST=y
|
||||||
|
# CONFIG_MALI_NOTIFY_UTILISATION is not set
|
||||||
|
# CONFIG_MALI_TSG is not set
|
||||||
|
# CONFIG_MALI_EXYNOS_SECURE_SMC_NOTIFY_GPU is not set
|
||||||
|
# CONFIG_MALI_EXYNOS_WAKEUP_CLOCK_WA is not set
|
||||||
|
# CONFIG_MALI_EXYNOS_BLOCK_RPM_WHILE_SUSPEND_RESUME is not set
|
||||||
|
# CONFIG_MALI_SEC_G3D_PEAK_NOTI is not set
|
||||||
|
CONFIG_MALI_EXYNOS_EHMP=y
|
||||||
|
# CONFIG_MALI_EXYNOS_UNIT_TESTS is not set
|
||||||
|
CONFIG_MALI_PRFCNT_SET_PRIMARY=y
|
||||||
|
# CONFIG_MALI_PRFCNT_SET_TERTIARY is not set
|
||||||
|
# CONFIG_MALI_PRFCNT_SET_SELECT_VIA_DEBUG_FS is not set
|
||||||
|
# CONFIG_MALI_ARBITRATION is not set
|
||||||
# CONFIG_DRM is not set
|
# CONFIG_DRM is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -5037,12 +5073,12 @@ CONFIG_SENSORS_FINGERPRINT=y
|
||||||
# CONFIG_SENSORS_VFS7XXX is not set
|
# CONFIG_SENSORS_VFS7XXX is not set
|
||||||
# CONFIG_SENSORS_VFS8XXX is not set
|
# CONFIG_SENSORS_VFS8XXX is not set
|
||||||
CONFIG_SENSORS_ET5XX=y
|
CONFIG_SENSORS_ET5XX=y
|
||||||
CONFIG_GATOR=y
|
# CONFIG_GATOR is not set
|
||||||
# CONFIG_GATOR_DO_NOT_ONLINE_CORES_AT_STARTUP is not set
|
# CONFIG_GATOR_DO_NOT_ONLINE_CORES_AT_STARTUP is not set
|
||||||
CONFIG_GATOR_WITH_MALI_SUPPORT=y
|
# CONFIG_GATOR_WITH_MALI_SUPPORT is not set
|
||||||
# CONFIG_GATOR_MALI_4XXMP is not set
|
# CONFIG_GATOR_MALI_4XXMP is not set
|
||||||
CONFIG_GATOR_MALI_MIDGARD=y
|
# CONFIG_GATOR_MALI_MIDGARD is no set
|
||||||
CONFIG_GATOR_MALI_MIDGARD_PATH="drivers/gpu/arm/tHEx/r9p0"
|
# CONFIG_GATOR_MALI_MIDGARD_PATH="drivers/gpu/arm/tHEx/r9p0" is not set
|
||||||
CONFIG_FIVE_TEE_DRIVER=y
|
CONFIG_FIVE_TEE_DRIVER=y
|
||||||
# CONFIG_FIVE_USE_EMULATOR is not set
|
# CONFIG_FIVE_USE_EMULATOR is not set
|
||||||
CONFIG_FIVE_USE_TRUSTONIC=y
|
CONFIG_FIVE_USE_TRUSTONIC=y
|
||||||
|
@ -5326,7 +5362,7 @@ CONFIG_FRAME_WARN=4096
|
||||||
# CONFIG_PAGE_OWNER is not set
|
# CONFIG_PAGE_OWNER is not set
|
||||||
CONFIG_DEBUG_FS=y
|
CONFIG_DEBUG_FS=y
|
||||||
# CONFIG_HEADERS_CHECK is not set
|
# CONFIG_HEADERS_CHECK is not set
|
||||||
# CONFIG_DEBUG_SECTION_MISMATCH is not set
|
CONFIG_DEBUG_SECTION_MISMATCH=y
|
||||||
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
|
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
|
||||||
CONFIG_ARCH_WANT_FRAME_POINTERS=y
|
CONFIG_ARCH_WANT_FRAME_POINTERS=y
|
||||||
CONFIG_FRAME_POINTER=y
|
CONFIG_FRAME_POINTER=y
|
||||||
|
@ -5549,7 +5585,7 @@ CONFIG_CRYPTO=y
|
||||||
#
|
#
|
||||||
# Crypto core or helper
|
# Crypto core or helper
|
||||||
#
|
#
|
||||||
CONFIG_CRYPTO_FIPS=y
|
# CONFIG_CRYPTO_FIPS is not set
|
||||||
CONFIG_CRYPTO_ALGAPI=y
|
CONFIG_CRYPTO_ALGAPI=y
|
||||||
CONFIG_CRYPTO_ALGAPI2=y
|
CONFIG_CRYPTO_ALGAPI2=y
|
||||||
CONFIG_CRYPTO_AEAD=y
|
CONFIG_CRYPTO_AEAD=y
|
||||||
|
@ -5689,7 +5725,7 @@ CONFIG_CRYPTO_HW=y
|
||||||
# CONFIG_CRYPTO_DEV_CCP is not set
|
# CONFIG_CRYPTO_DEV_CCP is not set
|
||||||
CONFIG_EXYNOS_SMU=y
|
CONFIG_EXYNOS_SMU=y
|
||||||
CONFIG_EXYNOS_FMP=y
|
CONFIG_EXYNOS_FMP=y
|
||||||
CONFIG_EXYNOS_FMP_FIPS=y
|
# CONFIG_EXYNOS_FMP_FIPS is not set
|
||||||
CONFIG_NODE_FOR_SELFTEST_FAIL=y
|
CONFIG_NODE_FOR_SELFTEST_FAIL=y
|
||||||
# CONFIG_PANIC_FOR_SELFTEST_FAIL is not set
|
# CONFIG_PANIC_FOR_SELFTEST_FAIL is not set
|
||||||
CONFIG_ASYMMETRIC_KEY_TYPE=y
|
CONFIG_ASYMMETRIC_KEY_TYPE=y
|
||||||
|
|
|
@ -4,5 +4,9 @@ const unsigned char first_crypto_asm_rodata = 0x10;
|
||||||
__attribute__ ((section(".text"), unused))
|
__attribute__ ((section(".text"), unused))
|
||||||
void first_crypto_asm_text(void){}
|
void first_crypto_asm_text(void){}
|
||||||
|
|
||||||
|
#ifdef CC_USE_CLANG
|
||||||
|
__attribute__ ((section(".init.text"), unused))
|
||||||
|
#else
|
||||||
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
||||||
|
#endif
|
||||||
static void first_crypto_asm_init(void){};
|
static void first_crypto_asm_init(void){};
|
||||||
|
|
|
@ -4,5 +4,9 @@ const unsigned char last_crypto_asm_rodata = 0x20;
|
||||||
__attribute__ ((section(".text"), unused))
|
__attribute__ ((section(".text"), unused))
|
||||||
void last_crypto_asm_text(void){}
|
void last_crypto_asm_text(void){}
|
||||||
|
|
||||||
|
#ifdef CC_USE_CLANG
|
||||||
|
__attribute__ ((section(".init.text"), unused))
|
||||||
|
#else
|
||||||
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
||||||
|
#endif
|
||||||
static void last_crypto_asm_init(void){};
|
static void last_crypto_asm_init(void){};
|
||||||
|
|
|
@ -4,5 +4,9 @@ const unsigned char first_crypto_rodata = 0x10;
|
||||||
__attribute__ ((section(".text"), unused))
|
__attribute__ ((section(".text"), unused))
|
||||||
void first_crypto_text(void){}
|
void first_crypto_text(void){}
|
||||||
|
|
||||||
|
#ifdef CC_USE_CLANG
|
||||||
|
__attribute__ ((section(".init.text"), unused))
|
||||||
|
#else
|
||||||
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
||||||
|
#endif
|
||||||
static void first_crypto_init(void){};
|
static void first_crypto_init(void){};
|
||||||
|
|
|
@ -4,5 +4,9 @@ const unsigned char last_crypto_rodata = 0x20;
|
||||||
__attribute__ ((section(".text"), unused))
|
__attribute__ ((section(".text"), unused))
|
||||||
void last_crypto_text(void){}
|
void last_crypto_text(void){}
|
||||||
|
|
||||||
|
#ifdef CC_USE_CLANG
|
||||||
|
__attribute__ ((section(".init.text"), unused))
|
||||||
|
#else
|
||||||
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
||||||
|
#endif
|
||||||
static void last_crypto_init(void){};
|
static void last_crypto_init(void){};
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
obj-$(CONFIG_EXYNOS_SMU) += smu_dev.o
|
obj-$(CONFIG_EXYNOS_SMU) += smu_dev.o
|
||||||
obj-$(CONFIG_EXYNOS_FMP_FIPS) += first_file.o
|
obj-$(CONFIG_EXYNOS_FMP_FIPS) += first_file.o
|
||||||
obj-$(CONFIG_EXYNOS_FMP) += fmp_dev.o fmp_lib.o
|
obj-$(CONFIG_EXYNOS_FMP) += fmp_dev.o fmp_lib.o
|
||||||
|
ifneq ($(CC_USE_CLANG),)
|
||||||
CFLAGS_fmp_fips_selftest.o = -fno-merge-constants
|
CFLAGS_fmp_fips_selftest.o = -fno-merge-constants
|
||||||
|
endif
|
||||||
obj-$(CONFIG_EXYNOS_FMP_FIPS) += fmp_fips_main.o fmp_fips_fops.o fmp_fips_selftest.o \
|
obj-$(CONFIG_EXYNOS_FMP_FIPS) += fmp_fips_main.o fmp_fips_fops.o fmp_fips_selftest.o \
|
||||||
fmp_fips_integrity.o hmac-sha256.o \
|
fmp_fips_integrity.o hmac-sha256.o \
|
||||||
fmp_fips_cipher.o
|
fmp_fips_cipher.o
|
||||||
|
|
|
@ -15,5 +15,9 @@ const unsigned char first_fmp_rodata = 0x10;
|
||||||
__attribute__ ((section(".text"), unused))
|
__attribute__ ((section(".text"), unused))
|
||||||
void first_fmp_text(void){}
|
void first_fmp_text(void){}
|
||||||
|
|
||||||
|
#ifdef CC_USE_CLANG
|
||||||
|
__attribute__ ((section(".init.text"), unused))
|
||||||
|
#else
|
||||||
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
||||||
|
#endif
|
||||||
static void first_fmp_init(void){};
|
static void first_fmp_init(void){};
|
||||||
|
|
|
@ -17,5 +17,9 @@ const unsigned char last_fmp_rodata = 0x20;
|
||||||
__attribute__ ((section(".text"), unused))
|
__attribute__ ((section(".text"), unused))
|
||||||
void last_fmp_text(void){}
|
void last_fmp_text(void){}
|
||||||
|
|
||||||
|
#ifdef CC_USE_CLANG
|
||||||
|
__attribute__ ((section(".init.text"), unused))
|
||||||
|
#else
|
||||||
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
__attribute__ ((section(".init.text"), optimize("-O0"), unused))
|
||||||
|
#endif
|
||||||
static void last_fmp_init(void){};
|
static void last_fmp_init(void){};
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _G2D_PERF_H_
|
#ifndef _G2D_PERF_H_
|
||||||
#define _G2D_PEEF_H_
|
#define _G2D_PERF_H_
|
||||||
|
|
||||||
struct g2d_context;
|
struct g2d_context;
|
||||||
struct g2d_performance_data;
|
struct g2d_performance_data;
|
||||||
|
|
|
@ -4771,7 +4771,7 @@ static void clear_cover_mode(void *device_data)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ts->power_status == SEC_TS_STATE_POWER_OFF && ts->reinit_done) {
|
if (!(ts->power_status == SEC_TS_STATE_POWER_OFF) && ts->reinit_done) {
|
||||||
if (ts->flip_enable)
|
if (ts->flip_enable)
|
||||||
sec_ts_set_cover_type(ts, true);
|
sec_ts_set_cover_type(ts, true);
|
||||||
else
|
else
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FIMC_IS_DEVICE_3H7_SUNNY_H
|
#ifndef FIMC_IS_DEVICE_3H7_SUNNY_H
|
||||||
#define FIMC_IS_DEVICE_3H7_SYNNY_H
|
#define FIMC_IS_DEVICE_3H7_SUNNY_H
|
||||||
|
|
||||||
#define SENSOR_S5K3H7_SUNNY_INSTANCE 0
|
#define SENSOR_S5K3H7_SUNNY_INSTANCE 0
|
||||||
#define SENSOR_S5K3H7_SUNNY_NAME SENSOR_NAME_S5K3H7_SUNNY
|
#define SENSOR_S5K3H7_SUNNY_NAME SENSOR_NAME_S5K3H7_SUNNY
|
||||||
|
|
|
@ -244,7 +244,7 @@ static ssize_t camera_ssrm_camera_info_store(struct device *dev,
|
||||||
ret_count = sscanf(buf, "%d%d%d%d%d%d%d", &temp.operation, &temp.cameraID, &temp.previewMinFPS,
|
ret_count = sscanf(buf, "%d%d%d%d%d%d%d", &temp.operation, &temp.cameraID, &temp.previewMinFPS,
|
||||||
&temp.previewMaxFPS, &temp.previewSizeWidth, &temp.previewSizeHeight, &temp.sensorOn);
|
&temp.previewMaxFPS, &temp.previewSizeWidth, &temp.previewSizeHeight, &temp.sensorOn);
|
||||||
|
|
||||||
if (ret_count > sizeof(SsrmCameraInfo)/sizeof(int)) {
|
if (ret_count > sizeof(SsrmCameraInfo)/(sizeof(int))) {
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -768,7 +768,7 @@ config PANEL_BOOT_MESSAGE
|
||||||
|
|
||||||
config UID_SYS_STATS
|
config UID_SYS_STATS
|
||||||
bool "Per-UID statistics"
|
bool "Per-UID statistics"
|
||||||
depends on PROFILING && TASK_XACCT && TASK_IO_ACCOUNTING
|
depends on TASK_XACCT && TASK_IO_ACCOUNTING
|
||||||
help
|
help
|
||||||
Per UID based cpu time statistics exported to /proc/uid_cputime
|
Per UID based cpu time statistics exported to /proc/uid_cputime
|
||||||
Per UID based io statistics exported to /proc/uid_io
|
Per UID based io statistics exported to /proc/uid_io
|
||||||
|
|
|
@ -27,7 +27,6 @@ static atomic_t is_mpsd_enabled = ATOMIC_INIT(0);
|
||||||
static atomic_t wakeup_user = ATOMIC_INIT(0);
|
static atomic_t wakeup_user = ATOMIC_INIT(0);
|
||||||
static atomic_t suspend = ATOMIC_INIT(0);
|
static atomic_t suspend = ATOMIC_INIT(0);
|
||||||
|
|
||||||
static struct mpsd_device mpsd_dev;
|
|
||||||
static DECLARE_WAIT_QUEUE_HEAD(queue_wait);
|
static DECLARE_WAIT_QUEUE_HEAD(queue_wait);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -56,6 +55,8 @@ struct mpsd_device {
|
||||||
unsigned int behavior;
|
unsigned int behavior;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static struct mpsd_device mpsd_dev;
|
||||||
|
|
||||||
bool get_mpsd_flag(void)
|
bool get_mpsd_flag(void)
|
||||||
{
|
{
|
||||||
return (bool)atomic_read(&is_mpsd_enabled);
|
return (bool)atomic_read(&is_mpsd_enabled);
|
||||||
|
|
|
@ -3086,7 +3086,7 @@ static void get_dev_mem_avail(struct dev_params_struct *data)
|
||||||
si_meminfo(&meminfo);
|
si_meminfo(&meminfo);
|
||||||
|
|
||||||
for (lru = LRU_BASE; lru < NR_LRU_LISTS; lru++)
|
for (lru = LRU_BASE; lru < NR_LRU_LISTS; lru++)
|
||||||
pages[lru] = global_page_state(NR_LRU_BASE + lru);
|
pages[lru] = global_node_page_state(NR_LRU_BASE + lru);
|
||||||
|
|
||||||
for_each_zone(zone)
|
for_each_zone(zone)
|
||||||
wmark_low += zone->watermark[WMARK_LOW];
|
wmark_low += zone->watermark[WMARK_LOW];
|
||||||
|
@ -3150,7 +3150,7 @@ static void get_dev_mem_cached(struct dev_params_struct *data)
|
||||||
|
|
||||||
si_meminfo(&meminfo);
|
si_meminfo(&meminfo);
|
||||||
|
|
||||||
cached = global_page_state(NR_FILE_PAGES) - total_swapcache_pages()
|
cached = global_node_page_state(NR_FILE_PAGES) - total_swapcache_pages()
|
||||||
- meminfo.bufferram;
|
- meminfo.bufferram;
|
||||||
if (cached < 0)
|
if (cached < 0)
|
||||||
cached = 0;
|
cached = 0;
|
||||||
|
@ -3243,7 +3243,7 @@ static void get_dev_mem_dirty(struct dev_params_struct *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
data->mem_dirty =
|
data->mem_dirty =
|
||||||
(long long)global_page_state(NR_FILE_DIRTY);
|
(long long)global_node_page_state(NR_FILE_DIRTY);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3264,7 +3264,7 @@ static void get_dev_mem_anon_pages(struct dev_params_struct *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
data->mem_anon_pages =
|
data->mem_anon_pages =
|
||||||
(long long)global_page_state(NR_ANON_MAPPED);
|
(long long)global_node_page_state(NR_ANON_MAPPED);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3285,7 +3285,7 @@ static void get_dev_mem_mapped(struct dev_params_struct *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
data->mem_mapped =
|
data->mem_mapped =
|
||||||
(long long)global_page_state(NR_FILE_MAPPED);
|
(long long)global_node_page_state(NR_FILE_MAPPED);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3514,7 +3514,7 @@ static void get_dev_mem_params(struct dev_params_struct *dev_params)
|
||||||
dev_params->mem_swap_free = (long long)meminfo.freeswap;
|
dev_params->mem_swap_free = (long long)meminfo.freeswap;
|
||||||
|
|
||||||
for (lru = LRU_BASE; lru < NR_LRU_LISTS; lru++)
|
for (lru = LRU_BASE; lru < NR_LRU_LISTS; lru++)
|
||||||
pages[lru] = global_page_state(NR_LRU_BASE + lru);
|
pages[lru] = global_node_page_state(NR_LRU_BASE + lru);
|
||||||
|
|
||||||
for_each_zone(zone)
|
for_each_zone(zone)
|
||||||
wmark_low += zone->watermark[WMARK_LOW];
|
wmark_low += zone->watermark[WMARK_LOW];
|
||||||
|
@ -3530,7 +3530,7 @@ static void get_dev_mem_params(struct dev_params_struct *dev_params)
|
||||||
|
|
||||||
dev_params->mem_avail = (long long)available;
|
dev_params->mem_avail = (long long)available;
|
||||||
|
|
||||||
cached = global_page_state(NR_FILE_PAGES) - total_swapcache_pages()
|
cached = global_node_page_state(NR_FILE_PAGES) - total_swapcache_pages()
|
||||||
- meminfo.bufferram;
|
- meminfo.bufferram;
|
||||||
if (cached < 0)
|
if (cached < 0)
|
||||||
cached = 0;
|
cached = 0;
|
||||||
|
@ -3538,10 +3538,10 @@ static void get_dev_mem_params(struct dev_params_struct *dev_params)
|
||||||
dev_params->mem_cached = (long long)cached;
|
dev_params->mem_cached = (long long)cached;
|
||||||
|
|
||||||
dev_params->mem_swap_cached = (long long)total_swapcache_pages();
|
dev_params->mem_swap_cached = (long long)total_swapcache_pages();
|
||||||
dev_params->mem_dirty = (long long)global_page_state(NR_FILE_DIRTY);
|
dev_params->mem_dirty = (long long)global_node_page_state(NR_FILE_DIRTY);
|
||||||
dev_params->mem_anon_pages =
|
dev_params->mem_anon_pages =
|
||||||
(long long)global_page_state(NR_ANON_MAPPED);
|
(long long)global_node_page_state(NR_ANON_MAPPED);
|
||||||
dev_params->mem_mapped = (long long)global_page_state(NR_FILE_MAPPED);
|
dev_params->mem_mapped = (long long)global_node_page_state(NR_FILE_MAPPED);
|
||||||
dev_params->mem_sysheap = -1;
|
dev_params->mem_sysheap = -1;
|
||||||
dev_params->mem_sysheap_pool = -1;
|
dev_params->mem_sysheap_pool = -1;
|
||||||
dev_params->mem_vmalloc_api = DEFAULT_PARAM_VAL_INT;
|
dev_params->mem_vmalloc_api = DEFAULT_PARAM_VAL_INT;
|
||||||
|
|
|
@ -160,6 +160,7 @@ typedef struct pkt_cnt_log {
|
||||||
#define PKT_CNT_RSN_VALID(rsn) \
|
#define PKT_CNT_RSN_VALID(rsn) \
|
||||||
(((rsn) > (PKT_CNT_RSN_INVALID)) && ((rsn) < (PKT_CNT_RSN_MAX)))
|
(((rsn) > (PKT_CNT_RSN_INVALID)) && ((rsn) < (PKT_CNT_RSN_MAX)))
|
||||||
|
|
||||||
|
#ifdef DHD_PKTDUMP_ROAM
|
||||||
static const char pkt_cnt_msg[][20] = {
|
static const char pkt_cnt_msg[][20] = {
|
||||||
"INVALID",
|
"INVALID",
|
||||||
"ROAM_SUCCESS",
|
"ROAM_SUCCESS",
|
||||||
|
@ -167,6 +168,7 @@ static const char pkt_cnt_msg[][20] = {
|
||||||
"CONNECT_SUCCESS",
|
"CONNECT_SUCCESS",
|
||||||
"INVALID"
|
"INVALID"
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static const char tx_pktfate[][30] = {
|
static const char tx_pktfate[][30] = {
|
||||||
"TX_PKT_FATE_ACKED", /* 0: WLFC_CTL_PKTFLAG_DISCARD */
|
"TX_PKT_FATE_ACKED", /* 0: WLFC_CTL_PKTFLAG_DISCARD */
|
||||||
|
@ -925,11 +927,13 @@ static char dhcp_types[][10] = {
|
||||||
"NA", "DISCOVER", "OFFER", "REQUEST", "DECLINE", "ACK", "NAK", "RELEASE", "INFORM"
|
"NA", "DISCOVER", "OFFER", "REQUEST", "DECLINE", "ACK", "NAK", "RELEASE", "INFORM"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef DHD_STATUS_LOGGING
|
||||||
static const int dhcp_types_stat[9] = {
|
static const int dhcp_types_stat[9] = {
|
||||||
ST(INVALID), ST(DHCP_DISCOVER), ST(DHCP_OFFER), ST(DHCP_REQUEST),
|
ST(INVALID), ST(DHCP_DISCOVER), ST(DHCP_OFFER), ST(DHCP_REQUEST),
|
||||||
ST(DHCP_DECLINE), ST(DHCP_ACK), ST(DHCP_NAK), ST(DHCP_RELEASE),
|
ST(DHCP_DECLINE), ST(DHCP_ACK), ST(DHCP_NAK), ST(DHCP_RELEASE),
|
||||||
ST(DHCP_INFORM)
|
ST(DHCP_INFORM)
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
dhd_dhcp_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, bool tx,
|
dhd_dhcp_dump(dhd_pub_t *dhdp, int ifidx, uint8 *pktdata, bool tx,
|
||||||
|
|
|
@ -8986,7 +8986,7 @@ wl_android_set_adps_mode(struct net_device *dev, const char* string_num)
|
||||||
adps_mode = bcm_atoi(string_num);
|
adps_mode = bcm_atoi(string_num);
|
||||||
WL_ERR(("%s: SET_ADPS %d\n", __FUNCTION__, adps_mode));
|
WL_ERR(("%s: SET_ADPS %d\n", __FUNCTION__, adps_mode));
|
||||||
|
|
||||||
if ((adps_mode < 0) && (1 < adps_mode)) {
|
if ((adps_mode < 0) || (1 < adps_mode)) {
|
||||||
WL_ERR(("wl_android_set_adps_mode: Invalid value %d.\n", adps_mode));
|
WL_ERR(("wl_android_set_adps_mode: Invalid value %d.\n", adps_mode));
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8818,7 +8818,7 @@ static void ufs_sec_send_errinfo(void *data)
|
||||||
{
|
{
|
||||||
static struct ufs_hba *hba;
|
static struct ufs_hba *hba;
|
||||||
struct SEC_UFS_counting *err_info;
|
struct SEC_UFS_counting *err_info;
|
||||||
char buf[22];
|
char buf[23];
|
||||||
|
|
||||||
if (data) {
|
if (data) {
|
||||||
hba = (struct ufs_hba *)data;
|
hba = (struct ufs_hba *)data;
|
||||||
|
|
|
@ -19,9 +19,11 @@
|
||||||
#define __BBD_H__
|
#define __BBD_H__
|
||||||
|
|
||||||
#pragma pack(4)
|
#pragma pack(4)
|
||||||
|
#ifndef CC_USE_CLANG
|
||||||
typedef unsigned char uint8_t;
|
typedef unsigned char uint8_t;
|
||||||
typedef unsigned short uint16_t;
|
typedef unsigned short uint16_t;
|
||||||
typedef unsigned uint32_t;
|
typedef unsigned uint32_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
union long_union_t
|
union long_union_t
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
#define COLOR_ID_PREDEFINED_FILE_LENGTH 65
|
#define COLOR_ID_PREDEFINED_FILE_LENGTH 65
|
||||||
|
|
||||||
#define COLOR_ID_IDS_LENGTH 20
|
#define COLOR_ID_IDS_LENGTH 21
|
||||||
|
|
||||||
#define COLOR_ID_PREDEFINED_FILENAME_LENGTH 30
|
#define COLOR_ID_PREDEFINED_FILENAME_LENGTH 30
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ struct cmucal_pll_table pll_shared0_rate_table[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct cmucal_pll_table pll_mmc_rate_table[] = {
|
struct cmucal_pll_table pll_mmc_rate_table[] = {
|
||||||
PLL_RATE_MPSK(825999878, 31, 1, 0, 50412),
|
PLL_RATE_MPSK(825999878, 31, 1, 0, (short)50412),
|
||||||
PLL_RATE_MPSK(26000000, 0, 0, 0, 0),
|
PLL_RATE_MPSK(26000000, 0, 0, 0, 0),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -587,7 +587,7 @@ static struct sched_group * get_cl_group(unsigned int cl)
|
||||||
|
|
||||||
sd = rcu_dereference(per_cpu(sd_ea, 0));
|
sd = rcu_dereference(per_cpu(sd_ea, 0));
|
||||||
if (!sd)
|
if (!sd)
|
||||||
return false;
|
return NULL;
|
||||||
|
|
||||||
sg = sd->groups;
|
sg = sd->groups;
|
||||||
for (i = 0; i < cl; i++)
|
for (i = 0; i < cl; i++)
|
||||||
|
|
|
@ -181,7 +181,7 @@ static void pull_down_other_cpus(void)
|
||||||
static void simulate_KP(char *arg)
|
static void simulate_KP(char *arg)
|
||||||
{
|
{
|
||||||
pr_crit("%s()\n", __func__);
|
pr_crit("%s()\n", __func__);
|
||||||
*(unsigned int *)0x0 = 0x0; /* SVACE: intended */
|
*(volatile unsigned int *)0x0 = 0x0; /* SVACE: intended */
|
||||||
}
|
}
|
||||||
|
|
||||||
static void simulate_DP(char *arg)
|
static void simulate_DP(char *arg)
|
||||||
|
@ -315,7 +315,7 @@ static void simulate_WARN(char *arg)
|
||||||
static void simulate_DABRT(char *arg)
|
static void simulate_DABRT(char *arg)
|
||||||
{
|
{
|
||||||
pr_crit("%s()\n", __func__);
|
pr_crit("%s()\n", __func__);
|
||||||
*((int *)0) = 0; /* SVACE: intended */
|
*((volatile int *)0) = 0; /* SVACE: intended */
|
||||||
}
|
}
|
||||||
|
|
||||||
static void simulate_PABRT(char *arg)
|
static void simulate_PABRT(char *arg)
|
||||||
|
|
|
@ -354,7 +354,7 @@ static void sec_abc_work_func(struct work_struct *work)
|
||||||
}
|
}
|
||||||
sprintf(timestamp, "TIMESTAMP=%lu", ktime_ms);
|
sprintf(timestamp, "TIMESTAMP=%lu", ktime_ms);
|
||||||
uevent_str[idx++] = ×tamp[0];
|
uevent_str[idx++] = ×tamp[0];
|
||||||
uevent_str[idx] = '\0';
|
uevent_str[idx] = NULL;
|
||||||
strlcpy(event_type, uevent_str[1] + 6, sizeof(event_type));
|
strlcpy(event_type, uevent_str[1] + 6, sizeof(event_type));
|
||||||
|
|
||||||
ABC_PRINT("event type : %s\n", event_type);
|
ABC_PRINT("event type : %s\n", event_type);
|
||||||
|
|
|
@ -43,7 +43,9 @@ extern void register_hook_logbuf(void (*)(const char *, size_t));
|
||||||
#endif
|
#endif
|
||||||
extern void register_hook_logger(void (*)(const char *, const char *, size_t));
|
extern void register_hook_logger(void (*)(const char *, const char *, size_t));
|
||||||
|
|
||||||
|
#ifndef CC_USE_CLANG
|
||||||
typedef int (*ess_initcall_t)(const struct device_node *);
|
typedef int (*ess_initcall_t)(const struct device_node *);
|
||||||
|
#endif
|
||||||
|
|
||||||
struct exynos_ss_interface {
|
struct exynos_ss_interface {
|
||||||
struct exynos_ss_log *info_event;
|
struct exynos_ss_log *info_event;
|
||||||
|
|
|
@ -24,7 +24,6 @@ enum {
|
||||||
CONN_GADGET_IOCTL_BIND_STATUS_UNBIND = 2
|
CONN_GADGET_IOCTL_BIND_STATUS_UNBIND = 2
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(__ANDROID__) || defined(__TIZEN__)
|
|
||||||
enum {
|
enum {
|
||||||
CONN_GADGET_IOCTL_NR_0 = 0,
|
CONN_GADGET_IOCTL_NR_0 = 0,
|
||||||
CONN_GADGET_IOCTL_NR_1,
|
CONN_GADGET_IOCTL_NR_1,
|
||||||
|
@ -41,4 +40,3 @@ enum {
|
||||||
#define CONN_GADGET_IOCTL_BIND_GET_STATUS _IOR(CONN_GADGET_IOCTL_MAGIC_SIG, CONN_GADGET_IOCTL_NR_2, int)
|
#define CONN_GADGET_IOCTL_BIND_GET_STATUS _IOR(CONN_GADGET_IOCTL_MAGIC_SIG, CONN_GADGET_IOCTL_NR_2, int)
|
||||||
#define CONN_GADGET_IOCTL_MAX_NR CONN_GADGET_IOCTL_NR_MAX
|
#define CONN_GADGET_IOCTL_MAX_NR CONN_GADGET_IOCTL_NR_MAX
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
|
@ -104,8 +104,9 @@ void tracing_mark_write(struct decon_device *decon, char id, char *str1, int val
|
||||||
decon_err("%s:argument fail\n", __func__);
|
decon_err("%s:argument fail\n", __func__);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#ifdef CONFIG_PROFILING
|
||||||
trace_puts(buf);
|
trace_puts(buf);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void decon_dump_using_dpp(struct decon_device *decon)
|
static void decon_dump_using_dpp(struct decon_device *decon)
|
||||||
|
@ -3541,7 +3542,7 @@ static void decon_parse_dt(struct decon_device *decon)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((decon->dt.out_type == DECON_OUT_DSI)) {
|
if (decon->dt.out_type == DECON_OUT_DSI) {
|
||||||
te_eint = of_get_child_by_name(decon->dev->of_node, "te_eint");
|
te_eint = of_get_child_by_name(decon->dev->of_node, "te_eint");
|
||||||
if (!te_eint) {
|
if (!te_eint) {
|
||||||
decon_info("No DT node for te_eint\n");
|
decon_info("No DT node for te_eint\n");
|
||||||
|
|
|
@ -56,7 +56,7 @@ typedef struct _rt_iva_table_t {
|
||||||
uint8_t is_updated;
|
uint8_t is_updated;
|
||||||
uint8_t empty;
|
uint8_t empty;
|
||||||
uint32_t reserved;
|
uint32_t reserved;
|
||||||
} rt_iva_table_t, *rt_iva_table;
|
} rt_iva_table_t;
|
||||||
|
|
||||||
static inline rt_iva_entry_t *rt_iva_get_first_iva_entry(const rt_iva_table_t *iva_table)
|
static inline rt_iva_entry_t *rt_iva_get_first_iva_entry(const rt_iva_table_t *iva_table)
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,9 +28,6 @@
|
||||||
#include <linux/thermal.h>
|
#include <linux/thermal.h>
|
||||||
#include <linux/cpumask.h>
|
#include <linux/cpumask.h>
|
||||||
|
|
||||||
typedef int (*get_static_t)(cpumask_t *cpumask, int interval,
|
|
||||||
unsigned long voltage, u32 *power);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct cpufreq_cooling_device - data for cooling device with cpufreq
|
* struct cpufreq_cooling_device - data for cooling device with cpufreq
|
||||||
* @id: unique integer value corresponding to each cpufreq_cooling_device
|
* @id: unique integer value corresponding to each cpufreq_cooling_device
|
||||||
|
|
|
@ -31,9 +31,6 @@
|
||||||
|
|
||||||
#define GPU_TABLE_END ~1
|
#define GPU_TABLE_END ~1
|
||||||
|
|
||||||
typedef int (*get_static_t)(cpumask_t *cpumask, int interval,
|
|
||||||
unsigned long voltage, u32 *power);
|
|
||||||
|
|
||||||
#ifdef CONFIG_GPU_THERMAL
|
#ifdef CONFIG_GPU_THERMAL
|
||||||
/**
|
/**
|
||||||
* gpufreq_cooling_register - function to create gpufreq cooling device.
|
* gpufreq_cooling_register - function to create gpufreq cooling device.
|
||||||
|
|
|
@ -75,6 +75,9 @@ struct thermal_zone_device;
|
||||||
struct thermal_cooling_device;
|
struct thermal_cooling_device;
|
||||||
struct thermal_instance;
|
struct thermal_instance;
|
||||||
|
|
||||||
|
typedef int (*get_static_t)(cpumask_t *cpumask, int interval,
|
||||||
|
unsigned long voltage, u32 *power);
|
||||||
|
|
||||||
enum thermal_device_mode {
|
enum thermal_device_mode {
|
||||||
THERMAL_DEVICE_DISABLED = 0,
|
THERMAL_DEVICE_DISABLED = 0,
|
||||||
THERMAL_DEVICE_ENABLED,
|
THERMAL_DEVICE_ENABLED,
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue