Adding a new IOCTL QSEECOM_IOCTL_SET_ICE_INFO so that userspace can
provide information to kernel whenever FDE is enabled.
Change-Id: I03b5571effc07fe5b6b261fae98a0bd2d2958744
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
This change migrates all the relevant files and updates made
to the dvb/demux framework, required for mpq demux driver.
The snapshot is taken as of msm-4.9,
'commit ba29a3e82c501 ("Migrate mpq demux driver from kernel 4.4 to 4.9")'
In addition, introduce a few code changes to fix warnings,
typos and other style issues.
Change-Id: I1621409bfbdbbec676a6ba29c0583c80574a4945
Signed-off-by: Monika Singh <monising@codeaurora.org>
In order to improve the NPU performance, ioctl commands like
execute_network need to be executed in asynchronous mode to
allow user applications to run multiple operations parallelly.
Change-Id: I8cf4f20569539667a0eda6a0b8e3ec610ddde210
Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
This reverts commit b1b6c65dac.
The commit b1b6c65dac had non-complaint
keywords, hence reverting the same.
Change-Id: Ibcaaa4b5e696fd518a171d70dedc361e5672c756
Signed-off-by: Shubham Gupta <shubgupt@codeaurora.org>
Add support to send conntrack event when
configured packet threshold is met.
Change-Id: I11fe78a74512d901d260deead3354461fc4990ab
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Inorder to get LOST compliance removing QCOM keyword
Change-Id: I67f920199a0f2a6ca15e1ec8dc33819421527cc4
Signed-off-by: SaiVamshi Dobbali <sdobbali@codeaurora.org>
Add support for HEIF HW encoding which uses HEVC encoder
and performs tile based frame encoding.
Supports configuration of Grid-enable, Quality-factor,
Constant-quality rate control and MainStill profile.
Change-Id: I3062b97f6a713a64119427135f4699d8900810c3
Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
Add NV12_512 linear color format, aligned to 512, for encoder.
Change-Id: If9a9494e5a93ba1eec2140008644853e4af87c56
Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
Use the raw SYS_SOC to calculate the MSOC. Adjust
the SOC at cutoff and termination for better user
experience.
Change-Id: I1d1a0eb19cb89df754a9694c1484de37db2eb218
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Error flag is not being propogated to user space by v4l2
framework. Hence, use data custom flag(data corrupt flag)
instead.
CRs-Fixed: 2278442
Change-Id: I570ca122b62bba69ef82ed2bb3665d4660f5989e
Signed-off-by: Vaibhav Deshu Venkatesh <vdeshuve@codeaurora.org>
Add software path to bump the l3 frequency using a
performance hint from user space in I/O coherence cases.
Change-Id: I559fecf0dbbf79ebe3972db2a65bde6b69063fc9
Signed-off-by: Urvashi Agrawal <urvaagra@codeaurora.org>
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
NPU firmware APIs are changed to support concurrent networks and
ipc between NPU and CDSP. Two new ioctl commands (load_network_v2
and execute_network_v2) are added to support new FW APIs.
Change-Id: I5c1ca09dc8a00c5d32fbb21c830cf3f4b9b9aa1d
Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
QTI needs to provide IN and OUT gsi endpoint request buffer length
and total size of the buffer length used by the driver to remote
subsystem. Hence add new ioctl to pass this information.
Change-Id: I4663a8f5f50c0888db142787e17852ebf6e64606
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Currently, SMCInvoke does not support requests initiated
by TZ to get data from Linux OS. Adding support so that TZ
can call Linux OS. This includes support of memory objects
which are owned by Linux OS.
Change-Id: Ib97fe13954865a1ae908aa4da2e0439dbc26b38a
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
This implementation is based on snapshot of msm-4.9
commit 42e1de365776 ("ARM: dts: msm: Enable the
dpdm-supply node for MSM8917/37").
Change-Id: I61c6a21f8e5a47b02387a1dfbeeed4bb821da139
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
CAC_STARTED event is needed for DFS offload feature and
should be generated by driver/HW if DFS_OFFLOAD is enabled.
Signed-off-by: Dmitry Lebed <dlebed@quantenna.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Change-Id: Ib670d13989650a4b4865d40f3b4f37fb94ebd161
Git-commit: 2cb021f5de55b1d158fa18b0215a4613c3289a82
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
CRs-fixed: 2265562
Signed-off-by: Peng Xu <pxu@codeaurora.org>
This commit enhances the scan results to report the per chain signal
strength based on the latest BSS update. This provides similar
information to what is already available through STA information.
Signed-off-by: Sunil Dutt <usdutt@qti.qualcomm.com>
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 983dafaab799511e092ffd006f3a064b37ccbccf
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
CRs-fixed: 2173940
Change-Id: I4300c1a6a3af4dc1244ee4717a772bfaa927b2db
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
Support header/filter, routing rules
cleanup when user-space module
crashed like ipacm and also cached
the wlan client connect messages
for ipacm to query.
Change-Id: Ib09cbe0e9114aa5a5673898ff796de7e7944af35
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
This interface allows the host driver to offload the authentication to
user space. This is exclusively defined for host drivers that do not
define separate commands for authentication and association, but rely on
userspace SME (e.g., in wpa_supplicant for the ~WPA_DRIVER_FLAGS_SME
case) for the authentication to happen. This can be used to implement
SAE without full implementation in the kernel/firmware while still being
able to use NL80211_CMD_CONNECT with driver-based BSS selection.
Host driver sends NL80211_CMD_EXTERNAL_AUTH event to start/abort
authentication to the port on which connect is triggered and status
of authentication is further indicated by user space to host
driver through the same command response interface.
User space entities advertise this capability through the
NL80211_ATTR_EXTERNAL_AUTH_SUPP flag in the NL80211_CMD_CONNECT request.
Host drivers shall look at this capability to offload the authentication.
Signed-off-by: Srinivas Dasari <dasaris@qti.qualcomm.com>
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
[add socket connection ownership check]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 40cbfa90218bc570a7959b436b9d48a18c361041
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
CRs-Fixed: 2262200
Change-Id: Id925dd82d9a9c719b32aac2de75b6ad001f1a958
[dasaris@codeaurora.org: merging with msm-specific changes]
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
* refs/heads/tmp-37f5b3d
Linux 4.14.49
drm: set FMODE_UNSIGNED_OFFSET for drm files
PCI: hv: Do not wait forever on a device that has disappeared
cls_flower: Fix incorrect idr release when failing to modify rule
rtnetlink: validate attributes in do_setlink()
virtio-net: fix leaking page for gso packet during mergeable XDP
net/mlx5e: When RXFCS is set, add FCS data into checksum calculation
virtio-net: correctly check num_buf during err path
tun: Fix NULL pointer dereference in XDP redirect
net/mlx4: Fix irq-unsafe spinlock usage
virtio-net: correctly transmit XDP buff after linearizing
net-sysfs: Fix memory leak in XPS configuration
net: phy: broadcom: Fix auxiliary control register reads
ipv6: sr: fix memory OOB access in seg6_do_srh_encap/inline
vrf: check the original netdevice for generating redirect
vhost: synchronize IOTLB message with dev cleanup
team: use netdev_features_t instead of u32
sctp: not allow transport timeout value less than HZ/5 for hb_timer
qed: Fix mask for physical address in ILT entry
packet: fix reserve calculation
net: usb: cdc_mbim: add flag FLAG_SEND_ZLP
net: phy: broadcom: Fix bcm_write_exp()
net/packet: refine check for priv area size
net: metrics: add proper netlink validation
net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy
netdev-FAQ: clarify DaveM's position for stable backports
kcm: Fix use-after-free caused by clonned sockets
isdn: eicon: fix a missing-check bug
ipv6: omit traffic class when calculating flow hash
ipv4: remove warning in ip_recv_error
ipmr: properly check rhltable_init() return value
ip6_tunnel: remove magic mtu value 0xFFF8
ip6mr: only set ip6mr_table from setsockopt when ip6mr_new_table succeeds
enic: set DMA mask to 47 bit
dccp: don't free ccid2_hc_tx_sock struct in dccp_disconnect()
bnx2x: use the right constant
be2net: Fix error detection logic for BE3
kconfig: Avoid format overflow warning from GCC 8.1
btrfs: define SUPER_FLAG_METADUMP_V2
mmap: relax file size limit for regular files
mmap: introduce sane default mmap limits
scsi: sd_zbc: Avoid that resetting a zone fails sporadically
scsi: sd_zbc: Fix potential memory leak
FROMLIST: f2fs: run fstrim asynchronously if runtime discard is on
Change-Id: I3b2bc1938bd99c73417b340af4ac523103e15775
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Changes in 4.14.49
scsi: sd_zbc: Fix potential memory leak
scsi: sd_zbc: Avoid that resetting a zone fails sporadically
mmap: introduce sane default mmap limits
mmap: relax file size limit for regular files
btrfs: define SUPER_FLAG_METADUMP_V2
kconfig: Avoid format overflow warning from GCC 8.1
be2net: Fix error detection logic for BE3
bnx2x: use the right constant
dccp: don't free ccid2_hc_tx_sock struct in dccp_disconnect()
enic: set DMA mask to 47 bit
ip6mr: only set ip6mr_table from setsockopt when ip6mr_new_table succeeds
ip6_tunnel: remove magic mtu value 0xFFF8
ipmr: properly check rhltable_init() return value
ipv4: remove warning in ip_recv_error
ipv6: omit traffic class when calculating flow hash
isdn: eicon: fix a missing-check bug
kcm: Fix use-after-free caused by clonned sockets
netdev-FAQ: clarify DaveM's position for stable backports
net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy
net: metrics: add proper netlink validation
net/packet: refine check for priv area size
net: phy: broadcom: Fix bcm_write_exp()
net: usb: cdc_mbim: add flag FLAG_SEND_ZLP
packet: fix reserve calculation
qed: Fix mask for physical address in ILT entry
sctp: not allow transport timeout value less than HZ/5 for hb_timer
team: use netdev_features_t instead of u32
vhost: synchronize IOTLB message with dev cleanup
vrf: check the original netdevice for generating redirect
ipv6: sr: fix memory OOB access in seg6_do_srh_encap/inline
net: phy: broadcom: Fix auxiliary control register reads
net-sysfs: Fix memory leak in XPS configuration
virtio-net: correctly transmit XDP buff after linearizing
net/mlx4: Fix irq-unsafe spinlock usage
tun: Fix NULL pointer dereference in XDP redirect
virtio-net: correctly check num_buf during err path
net/mlx5e: When RXFCS is set, add FCS data into checksum calculation
virtio-net: fix leaking page for gso packet during mergeable XDP
rtnetlink: validate attributes in do_setlink()
cls_flower: Fix incorrect idr release when failing to modify rule
PCI: hv: Do not wait forever on a device that has disappeared
drm: set FMODE_UNSIGNED_OFFSET for drm files
Linux 4.14.49
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
commit e2731e55884f2138a252b0a3d7b24d57e49c3c59 upstream.
btrfs-progs uses super flag bit BTRFS_SUPER_FLAG_METADUMP_V2 (1ULL << 34).
So just define that in kernel so that we know its been used.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
IPACM needs info about bridge association with VLANs.
Add an IOCTL to send this info to IPACM.
Change-Id: Ifeaec348339cd9dd7cf6b507346b61f570861bfc
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Add entries to the relevant switch cases
and tables for the new IPA4.5 and GSI2.5
CRs-fixed: 2255324
Change-Id: I9401826a4ac99179f357a2b54148382f002564cc
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
commit 814596495dd2b9d4aab92d8f89cf19060d25d2ea upstream.
wiphy names were recently limited to 128 bytes by commit a7cfebcb7594
("cfg80211: limit wiphy names to 128 bytes"). As it turns out though,
this isn't sufficient because dev_vprintk_emit() needs the syslog header
string "SUBSYSTEM=ieee80211\0DEVICE=+ieee80211:$devname" to fit into 128
bytes. This triggered the "device/subsystem name too long" WARN when
the device name was >= 90 bytes. As before, this was reproduced by
syzbot by sending an HWSIM_CMD_NEW_RADIO command to the MAC80211_HWSIM
generic netlink family.
Fix it by further limiting wiphy names to 64 bytes.
Reported-by: syzbot+e64565577af34b3768dc@syzkaller.appspotmail.com
Fixes: a7cfebcb7594 ("cfg80211: limit wiphy names to 128 bytes")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>