mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-26 14:09:28 +07:00
bf83de4037
This modifies SMD to use either the package v3 or package v4, but not both. The current code tries to allocate as v4 on all system which can produce a scary looking error message on boot up, smem_find(16, 40): wrong size 16424 smd_alloc_channel() cid=02 size=08192 'SMD_RPCCALL' With this error the code then falls back on the package v3 allocation method. This method is inefficient because it causes a slow down on some systems even when the allocation method can be determined at compile time. It also causes a kernel size increase that effects all system and is not needed. This change corrects the allocation to use one method or the other and not both. Signed-off-by: Daniel Walker <c_dwalke@quicinc.com>
74 lines
1.3 KiB
Plaintext
74 lines
1.3 KiB
Plaintext
if ARCH_MSM
|
|
|
|
choice
|
|
prompt "Qualcomm MSM SoC Type"
|
|
default ARCH_MSM7X00A
|
|
|
|
config ARCH_MSM7X00A
|
|
bool "MSM7x00A / MSM7x01A"
|
|
select ARCH_MSM_ARM11
|
|
select MSM_SMD_PKG3
|
|
select CPU_V6
|
|
|
|
endchoice
|
|
|
|
config ARCH_MSM_ARM11
|
|
bool
|
|
|
|
|
|
comment "MSM Board Type"
|
|
depends on ARCH_MSM
|
|
|
|
config MSM_DEBUG_UART
|
|
int
|
|
default 1 if MSM_DEBUG_UART1
|
|
default 2 if MSM_DEBUG_UART2
|
|
default 3 if MSM_DEBUG_UART3
|
|
|
|
choice
|
|
prompt "Debug UART"
|
|
|
|
default MSM_DEBUG_UART_NONE
|
|
|
|
config MSM_DEBUG_UART_NONE
|
|
bool "None"
|
|
|
|
config MSM_DEBUG_UART1
|
|
bool "UART1"
|
|
|
|
config MSM_DEBUG_UART2
|
|
bool "UART2"
|
|
|
|
config MSM_DEBUG_UART3
|
|
bool "UART3"
|
|
endchoice
|
|
|
|
config MACH_HALIBUT
|
|
depends on ARCH_MSM7X00A
|
|
default y
|
|
bool "Halibut Board (QCT SURF7201A)"
|
|
help
|
|
Support for the Qualcomm SURF7201A eval board.
|
|
|
|
config MACH_TROUT
|
|
depends on ARCH_MSM7X00A
|
|
default y
|
|
bool "HTC Dream (aka trout)"
|
|
help
|
|
Support for the HTC Dream, T-Mobile G1, Android ADP1 devices.
|
|
|
|
config MSM_SMD_PKG3
|
|
bool
|
|
|
|
config MSM_SMD
|
|
default y
|
|
bool "MSM Shared Memory Driver (SMD)"
|
|
help
|
|
Support for the shared memory interface between the apps
|
|
processor and the baseband processor. Provides access to
|
|
the "shared heap", as well as virtual serial channels
|
|
used to communicate with various services on the baseband
|
|
processor.
|
|
|
|
endif
|