We aren't checking to see if the in-inode extended attribute is
corrupted before we try to expand the inode's extra isize fields.
This can lead to potential crashes caused by the BUG_ON() check in
ext4_xattr_shift_entries().
Upstream commit: 9e92f48c34eb2b9af9d12f892e2fe1fce5e8ce35
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Change-Id: Ia66e005d04bf9eccb7febd8cb0733a67f9a4faf4
Git-commit: 1f002539e6da1e03cede84fb3416c58dae2f6f66
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
Add a validation check for dentries for encrypted directory to make
sure we're not caching stale data after a key has been added or removed.
Also check to make sure that status of the encryption key is updated
when readdir(2) is executed.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Theodore Ts'o <tytso@google.com>
Git-commit: b4fd46149cbb118c6c2fa29f24391e79b87862b7
Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
Change-Id: I64ea95854de3c633b17bea0b63ab658e1524befb
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
STEP_CHARGING_ENABLED indicates if step charging is enabled or not.
STEP_CHARGING_STEP reflects step charging phase.
Both properties are added for the purpose of testing and debugging.
CRs-Fixed: 1052854
Change-Id: I7d7517ab3f172016bb2f1c23fb2788bbd2d01086
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Add IPA DMA test suite to IPA driver. Different
tests are being added to cover different IPA
DMA functionalities.
CRs-Fixed: 1060507
Change-Id: Icf927ce1eb7107007e1cc5c7b5f0a63814510398
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
__builtin_return_address(1) results in build error on
32bit.
drivers/soc/qcom/remoteqdss.c:
In function 'remoteqdss_do_scm_call':
drivers/soc/qcom/remoteqdss.c:113:363:
warning: unsupported argument to '__builtin_return_address'
error, forbidden warning: remoteqdss.c:113
Fix this by using __builtin_return_address(0) and passing
the caller information down to functions where it is used.
Change-Id: I535ec77009a73f6ea95e4060177ca7b8e6a2c8d1
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Add support for ARCH_MSMTRITON in msmfalcon arm64
defconfigs.
Change-Id: Ic83fe1607d5f62e0ceefd4497aae0c111a2727d7
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Add device tree files necessary to support msmtriton SoC.
Also, add support for Rumi platform.
Change-Id: Ia18a2f53fc3bf7ca459182dc197ad6a2078c7f5c
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Avoid excessive logging in voip driver. Change "data
not available" error messages from pr_err to
pr_err_rate_limited.
CRs-Fixed: 1059737
Change-Id: Ia4c287cc76543228038653f3179946782bb859e2
Signed-off-by: Karthik Reddy Katta <a_katta@codeaurora.org>
Index can be assigned as -EINVAL which could be
out of array index. Check if index is valid value
before use.
CRs-Fixed: 1046606
Change-Id: Ib1af53ab52a65cca2ed9b3489359813e690b1cd6
Signed-off-by: Meng Wang <mwang@codeaurora.org>
buf returned from q6asm_shared_io_buf could be null and
it could cause crash. Check if buf is null before using
it to avoid crash.
CRs-Fixed: 1046606
Change-Id: Ia988b11ff7d03edc4ddd959571da1378da62077c
Signed-off-by: Meng Wang <mwang@codeaurora.org>
NULL check timer->card before use to prevent dereferencing
a NULL pointer.
CRs-Fixed: 1046606
Change-Id: I8e359864508cc2307d9e9619f36c7c08cc3842f9
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Impedance index may be out of range. Check if impedance index
is out of range before use.
CRs-Fixed: 1046606
Change-Id: Ia490d15a51ad70759c917fbe7e84fdadaa140e20
Signed-off-by: Meng Wang <mwang@codeaurora.org>
8937 QRD supports Focaltech touch controller. For ft5x06_ts driver
to work with the TrustZone secure touch, all the touch interrupts must
be forwarded between the Linux Kernel and the TrustZone input driver.
Add APIs and configuration to support this.
CRs-Fixed: 974549
Change-Id: Ibf873594722c6f299eb4cacf81804cb6548824a4
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
During device resume, the touch resume function is called after display's
resume. In this case, the ft5x06's resume function needs to wait for
200ms because of reset requirement. Defer the touch resume to a workqueue
to reduce the total device resume time. For this an optional DT property
is added to enable this on targets that need this feature.
Change-Id: Ib0677ca792aea83ece1caf8a0afff341302747fb
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
Set performance profile with IPA RM in order
to scale IPA clocks to turbo to achieve CAT16 data rates
Change-Id: I817b716624445db57047100716d253bb867f8a77
CRs-Fixed: 1056572
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Fix a memory leak in case tethering stats
QMI message failed.
Change-Id: I90457b5dec2e8f2105f37978de57954cdaf9aa08
CRs-Fixed: 1055880
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
skbs are recycled on LAN pipe. This changes
fixes a bug where the skb was freed before recycle.
Change-Id: I35734cd41aee8bdd2764d6307f76bedcb916a07b
CRs-Fixed: 1060534
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Power source selection in DIG_VIN_CTL is indexed from 0, in the range
check it shouldn't be equal to the total number of power sources.
Change-Id: Ic9666576d191e9dd0e267e96d5b4fc5a97c5b077
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Add property "qcom,dtest-buffer" to specify which dtest rail to feed
when the pin is configured as a digital input.
Change-Id: I05b253147677ca66d926eaeaa680bd09e31247a5
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
GPIO LV (low voltage)/MV (medium voltage) subtypes have different
features and register mappings than 4CH/8CH subtypes. Add support
for LV and MV subtypes.
Change-Id: I7bcf4347adce6ba9892d2e57a413d407d35fbc26
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Allow specification of different fuse reference voltages for
the power and performance clusters of MSMCOBALTv2 and increase
the LowSVS fuse reference voltage of the performance cluster.
This allows operation at increased voltages for SVS2 to ensure
stable operation of MSMCOBALT v2 parts.
CRs-Fixed: 1062365
Change-Id: If9f35626303321439286bd62e664e68c05ef19c5
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
Update the frequency table for the hmss_ahb_clk_src to support
it running at 50MHz and 100MHz.
CRs-Fixed: 1063082
Change-Id: Iab131f0e40f0796a47d76d8db7c31748e30b8366
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>