Commit graph

884,317 commits

Author SHA1 Message Date
Trilok Soni
240299db4d scripts: headers_install: Turn CONFIG_* leak checker to report error
By default CONFIG_* user-space leak checker marks it as warning but
we should mark them as error so that we can catch such usage at the
compile time itself.

Change-Id: I5f14f7f881e46843f2e0cc0957fc0b730e76aa93
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
2020-06-15 12:37:25 -07:00
Trilok Soni
d14b0a93fa scripts: headers_install: Add sysstats.h and taskstats.h into the bypass list
Add sysstats.h taskstats.h into the temporary bypass list. It should be removed
later once the CONFIG_* checks gets merged.

CRs-Fixed: 2664401
Change-Id: Icfedb19b22dcf59d4ae0e8d7bd9fddfc762d9731
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
2020-06-15 12:36:28 -07:00
qctecmdr
19a5a7fa3b Merge "iommu: arm-smmu: Add support for new attributes" 2020-06-15 06:15:40 -07:00
qctecmdr
df997bf3be Merge "cnss2: Ignore debugfs non availability during init" 2020-06-15 06:15:39 -07:00
qctecmdr
766387ed99 Merge "power: qti_battery_charger: call power_supply_changed() if fake_soc is set" 2020-06-15 06:15:39 -07:00
qctecmdr
c8bbc5bda6 Merge "msm: kgsl: Enable IFPC on A660 target" 2020-06-15 06:15:39 -07:00
qctecmdr
9a94640833 Merge "lib: stackdepot: Add support to configure STACK_HASH_SIZE" 2020-06-15 06:15:38 -07:00
qctecmdr
da16bbb59f Merge "soc: qcom: mem-buf: Add support for consumers to import dma-bufs" 2020-06-15 06:15:37 -07:00
qctecmdr
514fa165a3 Merge "taskstats: handle NULL nla case in taskstats2" 2020-06-15 02:08:40 -07:00
qctecmdr
3309ec470b Merge "clk: qcom: videocc: Update frequency table of video_cc_mvs0_clk_src" 2020-06-15 02:08:39 -07:00
qctecmdr
1806fc87aa Merge "ABI: Update internal whitelist with debugfs symbols" 2020-06-15 02:08:39 -07:00
qctecmdr
5655d2b2cc Merge "genirq/cpuhotplug: Reduce logging level for couple of prints" 2020-06-15 02:08:39 -07:00
qctecmdr
eac6ffcdf1 Merge "uapi: sound: add support for TTP render mode" 2020-06-15 02:08:38 -07:00
qctecmdr
c122110c39 Merge "build.config: Add build.config files for Lahaina" 2020-06-15 02:08:38 -07:00
qctecmdr
8b9a1aa61f Merge "dma-mapping-fast: reduce TLBI during map" 2020-06-15 02:08:38 -07:00
qctecmdr
1b86a92815 Merge "scsi: ufs-qcom: Remove unnecessary devm_kfree" 2020-06-15 02:08:37 -07:00
qctecmdr
acc5971e09 Merge "mmc: sdhci_msm: keep a reference to the sdhc host instance" 2020-06-14 20:37:55 -07:00
qctecmdr
773bbee1f1 Merge "msm: kgsl: PERFCNTR_CTRL needs to be at end of restore list" 2020-06-14 20:37:55 -07:00
qctecmdr
978ed221d8 Merge "qcom: whitelist: Remove symbol from whitelist" 2020-06-14 20:37:54 -07:00
qctecmdr
a925659342 Merge "msm: synx: default user callback fix" 2020-06-14 20:37:54 -07:00
qctecmdr
acaddaaadd Merge "defconfig: Update initial defconfig fragments for Holi" 2020-06-14 20:37:54 -07:00
qctecmdr
55235dfe2c Merge "pci: controller: msm: Remove support for loopback" 2020-06-14 20:37:54 -07:00
qctecmdr
e69d2cded7 Merge "ABI: Update rmnet_ctl symbols" 2020-06-14 11:32:34 -07:00
qctecmdr
cdfa64e6ac Merge "arm64: defconfig: enable USB redriver on Lahaina QRD" 2020-06-14 11:32:34 -07:00
qctecmdr
177466fc36 Merge "PM / devfreq: bw_hwmon: remove unused variable" 2020-06-14 11:32:33 -07:00
qctecmdr
756620e2bb Merge "uapi: qg: Fix UAPI header to enable UAPI_HEADER_TEST" 2020-06-14 11:32:33 -07:00
qctecmdr
1e20a25a5b Merge "ion: Derive CMA buffer struct page without using priv_virt" 2020-06-14 11:32:33 -07:00
qctecmdr
75a9e21c8d Merge "net: qrtr: Use radix_tree_iter_delete" 2020-06-14 11:32:33 -07:00
qctecmdr
d38c3e9e52 Merge "mhi: core: Trigger host resume if client requests device vote" 2020-06-14 11:32:32 -07:00
qctecmdr
1034f3b8dc Merge "usb: dwc3: gadget: Avoid spuriously printing NO_PULLUP in log" 2020-06-14 11:32:32 -07:00
qctecmdr
a67ecbe913 Merge "soc: qti_battery_debug: Move qbg_context to device bin file" 2020-06-14 11:32:32 -07:00
qctecmdr
e8d67e52f4 Merge "llcc_perfmon: Initialize variable before use" 2020-06-14 11:32:31 -07:00
qctecmdr
56b8382cfb Merge ".gitignore: ignore GKI generated defconfigs" 2020-06-14 11:32:30 -07:00
qctecmdr
5c48d77d23 Merge "sched: Improve the scheduler" 2020-06-14 04:58:10 -07:00
qctecmdr
7d16328867 Merge "arm64: defconfig: Remove unnecessary configs in genericarmv8-64" 2020-06-14 04:58:09 -07:00
qctecmdr
5c6275f041 Merge "cnss2: Make sure PCIe/MHI is up before collecting RAM dump" 2020-06-14 04:58:09 -07:00
qctecmdr
955e4e41e9 Merge "dma: gpi: Add support to assign static GPII for I2C Touch on Lahaina" 2020-06-14 04:58:09 -07:00
qctecmdr
aea646dce9 Merge "msm: cvp: Rename cvpss to evass" 2020-06-13 17:37:51 -07:00
qctecmdr
e6c44b0944 Merge "msm: cvp: Allow re-send DSP HFI queue after SSR" 2020-06-13 17:37:51 -07:00
qctecmdr
8fe8b521b0 Merge "msm: cvp: Fix a CVP SSR deadlock" 2020-06-13 17:37:51 -07:00
qctecmdr
0dcf1779de Merge "arm: mm: Fix compilation error when IOMMU is disabled" 2020-06-13 17:37:50 -07:00
qctecmdr
e15fb218da Merge "sched/tracing: Fix format specifiers in sched_compute_energy" 2020-06-13 17:37:50 -07:00
Isaac J. Manjarres
eb749ee5d9 soc: qcom: mem-buf: Add support for consumers to import dma-bufs
Supplier virtual machines (VMs) support exporting dma-bufs to
a consumer VM. However, consumers do not support importing dma-bufs
into their VMs, so add an IOCTL command to import a dma-buf into
a consumer VM.

The client must provide a memory parcel handle that corresponds to a
dma-buf that has been shared with the consumer VM, as well as an
access control list that is used for validating the access control
rules for the buffer. Upon success, the client is given a dma-buf
fd, which they can use to map the buffer and access it from both
the CPU, and peripherals.

Change-Id: I548e004e73543421b932430fbd9f84ad76658ef8
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-06-12 19:10:06 -07:00
Isaac J. Manjarres
50c067fc65 soc: qcom: mem-buf: Add support for suppliers to export dma-bufs
Currently, mem-buf suppliers can only provide a consumer with a memory
buffer if the consumer requests for the memory buffer, in which case
the supplier has no control over the contents of the buffer that is
given to the consumer. This is not ideal in cases where the supplier
virtual machine (VM) may have data that is of interest to the consumer,
which can be shared using a memory buffer.

Introduce a new IOCTL command which allows a client to specify a
dma-buf that they would like to share with a consumer VM, as well
as the access control rules that should be applied to the buffer.

Change-Id: I1e4ec1205ad4e69039ec0ab26b4209512896a354
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-06-12 19:10:06 -07:00
Isaac J. Manjarres
253aacc2ad ion: msm: Add support for dynamically preventing dma-buf mappings
The current rules for determining if a buffer can or cannot be mapped
to depend on how a buffer was allocated. This is restrictive
in environments where the security state of a buffer can change
dynamically, as the accessibility of the buffer has to change with
respect to the security state of the buffer.

Thus, add support to track the number of userspace mappings associated
with an ION buffer, as well as an interface to allow drivers to lock
and unlock a buffer. In this context, locking a buffer means that the
buffer will no longer be mappable, and the buffer does not
have any outstanding mappings at the time the buffer is locked.
Unlocking the buffer means that the buffer can be mapped again.

Change-Id: I6aa73b9ac7c301b12106ad3d3bcb4c2aac959e55
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-06-12 19:10:01 -07:00
Manikandan Mohan
659efe65b5 cnss2: Ignore debugfs non availability during init
Debugfs is used for bringup support and debug. Ignore debugfs
setup failure if it is not supported in kernel config.

Change-Id: I07a56a0ce4adf53e0aa5b00ce73310d0c7ed2f6a
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-06-12 18:14:13 -07:00
Subbaraman Narayanamurthy
49ed411fac input: qcom-hv-haptics: Fix a possible NULL pointer dereference
Use Vmax from play effect in haptics_set_gain() only if the effect
is valid. Otherwise, use Vmax from the haptics configuration instead.

Change-Id: I7ec0f8c869096bccb26f7fda0057e3db3a51225d
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-06-12 16:20:30 -07:00
Hemant Kumar
834462f783 pci: controller: msm: Remove support for loopback
Debugfs support for loopback is obsolete. This is
not supported on current or future platforms.
Remove it from debugfs to prevent any security issues
as it allows to access DDR.

Change-Id: I499588e9e28430c4358d2d8e2364430c1acab82e
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-06-12 15:18:53 -07:00
Subash Abhinov Kasiviswanathan
4233f599c7 ABI: Update rmnet_ctl symbols
Update rmnet_ctl symbols needed for gki builds.

Change-Id: I2427281c568108fd5231097e8f8f223bb87fb9de
Acked-by: Weiyi Chen <weiyic@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2020-06-12 14:17:31 -07:00
Prasad Sodagudi
870624be3a .gitignore: ignore GKI generated defconfigs
ignore lahaina-qgki-consolidate_defconfig file generated
by GKI scripts as this file auto-generated at build time.

Change-Id: I3edbbbf90b581642da81993a49fdc5264a4324a3
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2020-06-12 13:14:26 -07:00