Configure the size of the default CMA region to 32 MB in
DT for sdm660.
Configuring the default CMA region in the DT is cleaner
than using CONFIG_CMA_SIZE_MBYTES since it is easier to
configure per target and the alloc ranges can be specified
in DT.
Change-Id: I64d4e1ee379b2a3110ecd403e7ed838948df6ca3
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Add camera node, include rear aux and front camera, also
include corresponding eeprom actuator ois flash and torch node.
Change-Id: I45d5e45ea82bafa78ef83638f1b374e03bb43145
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
Speed is not notified in case of platforms having micro USB connector
instead of USB type C connector. In this case, set speed as High speed
only as by default only high speed is supported over micro USB ports.
Change-Id: I6f29914ca9e2345157330651464b7a0c151f1f97
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Enable IPA in SDM660.
IPA shunt data between apps, modem and USB.
Change-Id: I09aa16138d643b17b793162ca0591c143ad8da1f
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Select which SPSS firmware to load based on 2 fuses.
Change-Id: I7080cc0b58c38965ed7e58808431cf487008de9e
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Use the proper clock for CSIPHY2 for SDM660.
CRs-Fixed: 1111640
Change-Id: If9eaa19a0ee837dbbe335597259a62287a1620d5
Signed-off-by: Shankar Ravi <rshankar@codeaurora.org>
In msm_buf_mngr_sd_shutdown bufs is a pointer defined
in kernel, and it is printed to userspace using %lx.
changed it to %pK.
Change-Id: Ic2cb1a2ff109364ac2da1bbb3253a2253a0c6be9
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
Currently, CDSP socket instance id on APPS is not
matching with instance id on CDSP peripheral due
to which APPS is thinking that channel has been
opened with WDSP. This patch fixes this discrepancy.
CRs-Fixed: 1111626
Change-Id: I990ae8fd23c95f16be72b4fe207926444244c23e
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
Add overflow check for param length to prevent
heap overflow while allocating memory for
ADM parameters.
CRs-Fixed: 1103334
Change-Id: I1163aeaabbc84dba4cd0739a35ecbdee18b42717
Signed-off-by: Karthik Reddy Katta <a_katta@codeaurora.org>
Move preparing/unpreparing the clock source parents from the clk set rate.
This is required as invoking prepare from clk enable with disable irqs and
prepare would take a mutex resulting in sleeping from invalid context.
Change-Id: I90d8a346f684747f635bd9e7254ceb8d45841b05
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Update the 'apm-threshold-voltage' as per recommendation and also enable
the OSM cpu clocks.
Change-Id: I8074699b1ea9e5182a136d4935ffd2938972a91b
Signed-off-by: Taniya Das <tdas@codeaurora.org>
There are cases where IPC router read worker not getting scheduled
because of other high priority tasks. And when this happens there could
be a delay in receiving messages from WLAN firmware. So increase the
timeout delay to 10 seconds.
CRs-Fixed: 1110268
Change-Id: I4b3420a91108eca844206789d8f1e478526afd62
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
In mac80211, multicast A-MSDUs are accepted in many cases that
they shouldn't be accepted in:
* drop A-MSDUs with a multicast A1 (RA), as required by the
spec in 9.11 (802.11-2012 version)
* drop A-MSDUs with a 4-addr header, since the fourth address
can't actually be useful for them; unless 4-address frame
format is actually requested, even though the fourth address
is still not useful in this case, but ignored
Accepting the first case, in particular, is very problematic
since it allows anyone else with possession of a GTK to send
unicast frames encapsulated in a multicast A-MSDU, even when
the AP has client isolation enabled.
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: ea720935cf6686f72def9d322298bf7e9bd53377
CRs-fixed: 1105600
Change-Id: I9ae3066872858748779999a89c4d983858d4a2d3
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
This will allow drivers to make more educated
decisions whether to defer transmission or not.
Relying on wake_tx_queue() call count implicitly
was not possible because it could be called
without queued frame count actually changing on
software tx aggregation start/stop code paths.
It was also not possible to know how long
byte-wise queue was without dequeueing.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: f2ac7e301ae6397669ff3f79e691942a9b5d2f39
CRs-Fixed: 1111521
Change-Id: I7b94a9ba2d68ce526a4421cc253829298d1a7620
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
Some drivers offload some frames internally (e.g.
AddBa). Reporting such frames to mac80211 would
only confuse MLME. However it would be useful to
be able to pass such frames to monitor interfaces
for sniffing purposes, e.g. when running AP +
monitor.
To do that allow drivers to tell mac80211 whether
a given frame should be:
- processed but not delivered to any monitor vif
- not processed but delievered to monitor vifs
only
Signed-off-by: Grzegorz Bajorski <grzegorz.bajorski@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: 178830481eee5eea147a1c8fab67a96e09d80345
CRs-fixed: 1111520
Change-Id: Id55b750d5fad913ce0bafd317c4a31edff89f545
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
Slimbus transactions are failing because of bam intitialization
failed with slimbus_bam_lite module. With slimbus_bam, transactions
over slimbus are successful. This patch programs the slimbus bam
offset with slimbus_bam module offset address for SDM660.
Change-Id: I244362984b929de35e1678a70c0d638ca14a208c
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
Enable MSM_TIMER_LEAP config flag in both msmcortex_defocnfig
and msmcorte-perf_defconfig files. This option enables check
for architecture timer leaps, when all least significant 32bits
of CNTVCT or CNTPCT counter is set and rereads counters.
CRs-Fixed: 1074621
Change-Id: I0ffa124df76f8cc063c2ebee5497baed879c76ef
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
There is potential rollover condition for CNTVCT and
CNTPCT counters. So on any architecture timer counter
read, if the least significant 32 bits are set,
reread counter.
CRs-Fixed: 1074621
Change-Id: I136a5f0ee04deeb74c03800d591e44fbd9b4dd39
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>