aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-11Merge remote-tracking branch 'sm8350-dts/tracking-qcomlt-sm8350-dts' into ↵integration-linux-qcomlt-20210211-200835-v5.11-rc7-432-g2baaebe51fa67Linaro CI
integration-linux-qcomlt # Conflicts: # Documentation/devicetree/bindings/arm/qcom.yaml # arch/arm64/boot/dts/qcom/Makefile
2021-02-11Merge remote-tracking branch ↵Linaro CI
'sm8350-defconfig/tracking-qcomlt-sm8350-defconfig' into integration-linux-qcomlt # Conflicts: # arch/arm64/configs/defconfig
2021-02-11Merge remote-tracking branch 'sm8350-drivers/tracking-qcomlt-sm8350-drivers' ↵Linaro CI
into integration-linux-qcomlt # Conflicts: # Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml # drivers/phy/qualcomm/phy-qcom-qmp.c # drivers/remoteproc/qcom_q6v5_pas.c
2021-02-11Merge remote-tracking branch ↵Linaro CI
'sdx55-defconfig/tracking-qcomlt-sdx55-defconfig' into integration-linux-qcomlt
2021-02-11Merge remote-tracking branch 'sdx55-dts/tracking-qcomlt-sdx55-dts' into ↵Linaro CI
integration-linux-qcomlt
2021-02-11Merge remote-tracking branch 'sdx55-drivers/tracking-qcomlt-sdx55-drivers' ↵Linaro CI
into integration-linux-qcomlt # Conflicts: # drivers/phy/qualcomm/phy-qcom-qmp.c
2021-02-11Merge remote-tracking branch ↵Linaro CI
'db845c-fix-ov8856-node/tracking-db845c-fix-ov8856-node' into integration-linux-qcomlt
2021-02-11Merge remote-tracking branch ↵Linaro CI
'qcom-cci-irq-error/tracking-qcomlt-cci-irq-error' into integration-linux-qcomlt
2021-02-11Merge remote-tracking branch 'lt9611-fix-4k/tracking-qcomlt-lt9611-fix-4k' ↵Linaro CI
into integration-linux-qcomlt
2021-02-11Merge remote-tracking branch ↵Linaro CI
'8996-power-domain/tracking-qcomlt-8996-power-domain' into integration-linux-qcomlt # Conflicts: # arch/arm64/boot/dts/qcom/msm8996.dtsi
2021-02-11Merge remote-tracking branch ↵Linaro CI
'ov8856-remove-mode/tracking-qcomlt-ov8856-remove-mode' into integration-linux-qcomlt
2021-02-11Merge remote-tracking branch ↵Linaro CI
'ov8856-bayer-mode/tracking-qcomlt-ov8856-bayer-mode' into integration-linux-qcomlt
2021-02-11Merge remote-tracking branch 'ov8856-modes/tracking-qcomlt-ov8856-modes' ↵Linaro CI
into integration-linux-qcomlt
2021-02-11Merge remote-tracking branch ↵Linaro CI
'camss-libcamera/tracking-qcomlt-camss-libcamera' into integration-linux-qcomlt # Conflicts: # drivers/media/platform/qcom/camss/camss-video.c
2021-02-11Merge remote-tracking branch 'gsi/tracking-qcomlt-gsi' into ↵Linaro CI
integration-linux-qcomlt # Conflicts: # drivers/spi/spi-geni-qcom.c
2021-02-11Merge remote-tracking branch 'interconnect/tracking-qcomlt-interconnect' ↵Linaro CI
into integration-linux-qcomlt # Conflicts: # arch/arm64/configs/defconfig
2021-02-11Merge remote-tracking branch 'db820c-fixes/db820c/5.7-rc1' into ↵Linaro CI
integration-linux-qcomlt # Conflicts: # drivers/clk/qcom/Kconfig # drivers/clk/qcom/clk-cpu-8996.c # drivers/soc/qcom/Kconfig # drivers/soc/qcom/kryo-l2-accessors.c
2021-02-11Merge remote-tracking branch 'remoteproc/tracking-qcomlt-remoteproc' into ↵Linaro CI
integration-linux-qcomlt # Conflicts: # Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.txt
2021-02-11Merge remote-tracking branch 'sm8250-venus/tracking-qcomlt-sm8250-venus' ↵Linaro CI
into integration-linux-qcomlt # Conflicts: # arch/arm64/boot/dts/qcom/sm8250.dtsi # arch/arm64/configs/defconfig
2021-02-11Merge remote-tracking branch 'sm8250/tracking-qcomlt-sm8250' into ↵Linaro CI
integration-linux-qcomlt # Conflicts: # arch/arm64/configs/defconfig # drivers/gpu/drm/bridge/lontium-lt9611uxc.c # drivers/net/wireless/ath/ath11k/dp_rx.c # drivers/net/wireless/ath/ath11k/pci.c # drivers/phy/qualcomm/phy-qcom-qmp.c # drivers/usb/typec/mux/Kconfig # drivers/usb/typec/mux/Makefile
2021-02-11Merge remote-tracking branch ↵Linaro CI
'qcs404-defconfig/tracking-qcomlt-qcs404-defconfig' into integration-linux-qcomlt
2021-02-11Merge remote-tracking branch 'sdm845-dp/tracking-qcomlt-sdm845-dp' into ↵Linaro CI
integration-linux-qcomlt # Conflicts: # drivers/gpu/drm/msm/dp/dp_display.c
2021-02-11Merge remote-tracking branch 'sdm845-usb/tracking-qcomlt-usb-renesas' into ↵Linaro CI
integration-linux-qcomlt
2021-02-11Merge remote-tracking branch 'bus-scaling/icc-testing' into ↵Linaro CI
integration-linux-qcomlt
2021-02-11Merge remote-tracking branch ↵Linaro CI
'distro.config/tracking-qcomlt-config-fragments' into integration-linux-qcomlt
2021-02-11Merge remote-tracking branch ↵Linaro CI
'arm64-defconfig/tracking-qcomlt-arm64-defconfig' into integration-linux-qcomlt
2021-02-11Merge remote-tracking branch 'drm-msm/tracking-qcomlt-drm-msm' into ↵Linaro CI
integration-linux-qcomlt
2021-02-11Merge remote-tracking branch 'audio/tracking-qcomlt-audio' into ↵Linaro CI
integration-linux-qcomlt
2021-02-11Merge remote-tracking branch 'wcd9335/tracking-qcomlt-wcd9335' into ↵Linaro CI
integration-linux-qcomlt
2021-02-11Merge remote-tracking branch 'msm8996-dt/tracking-qcomlt-msm8996-dt' into ↵Linaro CI
integration-linux-qcomlt
2021-02-11misc: fastrpc: restrict user apps from sending kernel RPC messagesDmitry Baryshkov
Verify that user applications are not using the kernel RPC message handle to restrict them from directly attaching to guest OS on the remote subsystem. This is a port of CVE-2019-2308 fix. Fixes: c68cfb718c8f ("misc: fastrpc: Add support for context Invoke method") Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Jonathan Marek <jonathan@marek.ca> Cc: stable@vger.kernel.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-02-11misc: fastrpc: fix incorrect usage of dma_map_sgtableJonathan Marek
dma_map_sgtable() returns 0 on success, which is the opposite of what this code was doing. Fixes: 7cd7edb89437 ("misc: fastrpc: fix common struct sg_table related issues") Signed-off-by: Jonathan Marek <jonathan@marek.ca>
2021-02-10arm64: defconfig: qcom: enable interconnect for SM8350Vinod Koul
Enable the interconnect for SM8350 as built-in Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-02-10arm64: dts: qcom: sm8350: Add interconnectsVinod Koul
Add interconnect nodes and add them for modem and cdsp nodes Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-02-10interconnect: qcom: Add SM8350 interconnect provider driverVinod Koul
Add driver for the Qualcomm interconnect buses found in SM8i350 based platforms. The topology consists of several NoCs that are controlled by a remote processor that collects the aggregated bandwidth for each master-slave pairs. Generated from downstream interconnect driver written by David Dai Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-02-10dt-bindings: interconnect: Add Qualcomm SM8350 DT bindingsVinod Koul
The Qualcomm SM8350 platform has several bus fabrics that could be controlled and tuned dynamically according to the bandwidth demand. Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-02-09media: venus: vdec: Fix decoder cmd STOP issueStanimir Varbanov
Fixes an issue when issuing a stop command to the controller, negating the following firmware error. "SFR message from FW: Exception: TID = Unknown IP = 0x3b7dc FA = 0x0 cause = 0x6" Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: helper: Decide work modeDikshita Agarwal
Decide work mode for encoder and decoder based on different use-cases. Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: hfi: Increase plat_buf_v6 o/p buffer count.Dikshita Agarwal
Presently, minimum buffer count for output buffers for h264 & hevc codec is kept as 8 which might not be sufficient for few use cases so increasing the value to 18. Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: helpers, hfi, vdec: Set actual plane constraints to FWDikshita Agarwal
Set actual plane alignments to FW with HFI_PROPERTY_PARAM_UNCOMPRESSED_PLANE_ACTUAL_CONSTRAINTS_INFO to calculate correct buffer size. bod: Fixed fall-through error in pkt_session_set_property_6xx() switch Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: helpers: Add internal buffer list for v6Dikshita Agarwal
- Internal buffers required by v6 are different than v4, add new list of internal buffers for v6. - Differentiate encoder/decoder buffers for 6xx Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: firmware: Do not toggle WRAPPER_A9SS_SW_RESET on 6xxDikshita Agarwal
Do not toggle the WRAPPER_A9SS_SW_RESET on 6xx. Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: pm: Toggle 6xx wrapper power in vcodec_controlDikshita Agarwal
When in vcodec_control_v4() on the 4xx path we select between one of two vcodec cores to toggle power control bits. In 6xx there is only one core which offsets the relevant control registers to a slightly different address. This patch accounts for the address offset for 6xx silicon. Co-developed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: hfi: Add 6xx AXI halt logicDikshita Agarwal
This patch takes the downstream AXI halt routine and applies it when IS_V6() is true. bod: Converted to readl_poll_timeout() Converted LPI update timeout to dev_dbg. In practice this register never appears to update with the value 0x07. Discussing with contacts in qcom video team, this toggle only pertains to low-power mode. Keeping the write for the sake of fidelity with downstream. Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Co-developed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: pm: Hook 6xx pm ops into 4xx pm opsBryan O'Donoghue
At this time there is no need to differentiate between the two, we can reuse the 4xx pm ops callback structure for 6xx. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: hfi, vdec: v6 Add IS_V6() to existing IS_V4() if locationsBryan O'Donoghue
In various places in the venus codebase we have if (IS_V4()) which takes the code down paths for 4xx silicon. This logic is broadly applicable to 6xx silicon also. In this patch we add IS_V6() to various IS_V4() decision locations. Co-developed-by: Dikshita Agarwal <dikshita@qti.qualcomm.com> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: hfi: Read WRAPPER_TZ_CPU_STATUS_V6 on 6xxBryan O'Donoghue
On 6xx we should read wrapper cpu status from the wrapper TZ register set. Co-developed-by: Jonathan Marek <jonathan@marek.ca> Co-developed-by: Dikshita Agarwal <dikshita@codeaurora.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: hfi: Add 6xx interrupt supportDikshita Agarwal
This commit adds 6xx specific interrupt support, some register offsets and bitmasks differ from 4xx, which we account for in this commit. [bod: Added commit log. Moved register definition into commit] Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Co-developed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: hfi: Add a 6xx boot logicDikshita Agarwal
This patch adds a 6xx specific boot logic. The goal is to share as much code as possible between 3xx, 4xx and 6xx silicon. We need to do a different write to WRAPPER_INTR_MASK with an additional write to CPU_CS_H2XSOFTINTEN_V6 and CPU_CS_X2RPMh_V6. The other writes are the same for 6xx and non-6xx silicon albeit at different absolute relative locations to the base of the venus address space. Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
2021-02-09media: venus: core: Hook to V6 base registers when appropriateBryan O'Donoghue
This commit points the IO base registers 6xx offsets when probing for 6xx hardware. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>