Fix the following compiler warning from gcc 7.4.1 with -Werror enabled:
drivers/scsi/ufs/ufshcd.c:6773:22: error: format '%d' expects argument of type
'int', but argument 4 has type 'long unsigned int' [-Werror=format=]
dev_warn(hba->dev, " (%s) clk_get_rate - %d\n", __func__, freq);
Fixes: cd1b0b7 ("ufs: ufshcd: Add check for broken auto-h8 support")
Change-Id: Ic0dedbadfcd742dc5dbbcc4c131c7b08fa22e6e3
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Enable qtee_shmbridge driver to share memory between trustzone
and other VMs.
Change-Id: I8931b4b1d29c60134982c4290469c05e4dd93c1c
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
make GKI change for shmbridge and temporarily disable
this feature in HYP.
Change-Id: I2e8835d8a68090123ee43247eedc0fbcebd3db21
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
print_stack_trace is obsolete. Use new API to print stack trace.
CRs-Fixed: 2555300
Change-Id: Ia5fa7f18bf42a273d32737cef527e38ce6b0b8bd
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Currently controller is enabling only shallow low power mode during
L1 suspend in host mode. Power savings can be improved by allowing
deep low power mode allowing PLL to be turned OFF. Configuring
the GUCTL1 register to enable this feature.
Change-Id: Iea6cfa2c9085a01f45a9f0d633c80368ad085806
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Ratelimit the logs indicating invalid packet status fields.
Support DL Frag rule status opcode. The logs introduces
delay during modem ssr.
Change-Id: I92ebf8776dd0e81653c968985818124cbe539d5f
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
This change adds the driver for the USB controller on QTI MSM
devices. This is a snapshot of the driver from msm-4.19 as of
commit 104eef6e1fe8 ("platform: msm: Remove unused local count
variable").
In addition to the msm-4.19 version, this change includes several
fixups to address the following:
- Building dwc3-msm as a module. It is easiest to just merge
dbm.c into dwc3-msm.c.
- Coccinelle warnings, such as assigning 0/1 to a boolean and
missing newlines from log strings.
- Conversion of defunct msm_bus API to the interconnect bus
scaling API.
- Remove dead host controller handling as it depends on a
USB_BUS_DIED notification added to usbcore on downstream and
has not yet been mainlined on this kernel. We will either have
to bring in the atomic notifier or switch to listening to the
"ERROR=DEAD" uevent and take action from userspace.
- Remove extcon blocking notifier and MED_HIGH_CURRENT.
- Remove usage of PM_QOS_REQ_AFFINE_IRQ as PM QoS support for
specifying IRQ/CPU affinity is not supported upstream. Just
request a QoS level for all cores.
- Endpoints' ep_type EP_TYPE_GSI is now reflected in dep->gsi
- dwc3_stop_active_transfer() takes a dep directly and added
an additional parameter to skip IOC
- Remove RESTART_USB_SESSION notification as the usb_gadget_ops
restart_session is not supported in upstream
- dwc3_request->started replaced by DWC3_REQUEST_STATUS_STARTED
- Switch USB_DR_MODE_DRD enum back to USB_DR_MODE_OTG
- Directly write GUSB3PIPECTL_SUSPHY and DEVTEN registers instead
of needing APIs from core
- Remove clk_set_flags. These aren't needed now.
- Remove FLOAT charger handling.
Change-Id: I9a13cb5bae2f5c1e98906d1cb52134c2dea0bc80
Signed-off-by: Jack Pham <jackp@codeaurora.org>