Add support for Camera clock controller driver for the camera
clients to be able to control clocks.
Change-Id: I6aa7a2887ece1fb80d24242d4b6ea37519e4bb3c
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
Update the clock ids and BCRs of Camera and Graphics Clock Controller
for SHIMA.
Change-Id: Ie1a360bd247c0f9e74b15c47677f4cef5f8c7a80
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
The 2 second delay before calling qrtr_ns_init() meant that the remote
processors would register as endpoints in qrtr and the say_hello() call
would therefor broadcast the outgoing HELLO to them. With the HELLO
handshake corrected this delay is no longer needed.
Change-Id: I20aa56cbb6c54cbbd0ccb77e30bcf59661d449cc
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: 71046abfffe9d34ae90c82cf9c8e44355c2e114c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Chris Lew <clew@codeaurora.org>
The callers only expect NULL pointers, so returning an error pointer
will lead to an Oops.
Change-Id: I7212bbd4890bbfc391b900845fa380ea484f01d7
Fixes: 0c2204a4ad71 ("net: qrtr: Migrate nameservice to kernel from userspace")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: 9baeea50718fdd55c7ae4d61c15f2a71aef6e050
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Chris Lew <clew@codeaurora.org>
Lost in the translation from the user space implementation was the
detail that HELLO mesages must be exchanged between each node pair. As
such the incoming HELLO must be replied to.
Similar to the previous implementation no effort is made to prevent two
Linux boxes from continuously sending HELLO messages back and forth,
this is left to a follow up patch.
say_hello() is moved, to facilitate the new call site.
Change-Id: I1b1d66c6a24edf5758d05b76fd527b7d2a35c5da
Fixes: 0c2204a4ad71 ("net: qrtr: Migrate nameservice to kernel from userspace")
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: a1dc1d6a05a730b62b45828975a088db577d3139
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Chris Lew <clew@codeaurora.org>
There is a spelling mistake in a pr_err message. Fix it.
Change-Id: I6205aa9a34ea3f316d37f2407d089232f6810205
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: 13ef6ae8c0d96c00476ab9c81671e39a9f714e2b
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Chris Lew <clew@codeaurora.org>
The QRTR nameservice has been maintained in userspace for some time. This
commit migrates it to Linux kernel. This change is required in order to
eliminate the need of starting a userspace daemon for making the WiFi
functional for ath11k based devices. Since the QRTR NS is not usually
packed in most of the distros, users need to clone, build and install it
to get the WiFi working. It will become a hassle when the user doesn't
have any other source of network connectivity.
Change-Id: I4e1f656ff97ab4ebe8defccda874442c9b86a1f9
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: 0c2204a4ad710d95d348ea006f14ba926e842ffd
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Chris Lew <clew@codeaurora.org>
Add kernel_bind to the ABI whitelist and update the ABI snapshot
accordingly.
Change-Id: I11d79703cd3c37e41e29bd682af91878fedcb45e
Signed-off-by: Chris Lew <clew@codeaurora.org>
The SD card clock scaling feature has a dependency on the
MMC_SDHCI_MSM which is not defined. Remove this dependency
so that the SD card clock scaling feature can be enabled.
In addition, fix the SD cards 2.0 initialization caused
by the incorrect clock settings.
Change-Id: I3eaec3546f89b86643b1937764288b3f39578c0e
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
The number of ACL entries is currently not sanitized, which
can allow for unreasonably large ACL to be allocated for
later processing. Allowing for this to happen doesn't make much
sense, as there aren't any valid usecases that require a large
ACL, so restrict the number of ACL entries to 16. Also, while we're
here, fix up some of the error handling in a few places.
Change-Id: I5d1371ed180608486bcde1e208a36782986313af
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
The condition that determines if we print an error after
failing to register for the mem-buf message queue checks
the return code against EPROBE_DEFER. This is not correct, as
error codes are negative, so fix the check.
Change-Id: I4ed03bde56c6edf66e0ffed060ec23a87a46be54
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
The mem-buf device can handle memory from anywhere in the
system. This includes memory with a physical address above
32 bits, so configure the DMA mask for the mem-buf device
based on the system configuration.
Change-Id: If91bb6d8044e8e6f47994acd7e50633b46596808
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
In case DSP failed to respond to CPU command correctly, cvp driver
shall ignore the DSP error other than print error message. It shall
keep working normally.
Change-Id: Id33c0063b6326bc45527e2b4d60584045ca1e07c
Signed-off-by: George Shen <sqiao@codeaurora.org>
Return proper value when DEBUG_FS is disabled.
Change-Id: I6d46dcac6c6321e1a19468a81906e5f98976d29b
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
Leaf changes summary: 3 artifacts changed
Changed leaf types summary: 3 leaf types changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable
'struct nf_conn at nf_conntrack.h:58:1' changed:
type size hasn't changed
there are data member changes:
type 'u8[]' of 'nf_conn::__nfct_init_offset' changed:
entity changed from 'u8[]' to 'struct {}' at nf_conntrack.h:90:1
24 impacted interfaces:
function nf_conntrack_expect* __nf_ct_expect_find(net*, const nf_conntrack_zone*, const nf_conntrack_tuple*)
function void __nf_ct_refresh_acct(nf_conn*, ip_conntrack_info, const sk_buff*, u32, bool)
function bool __nf_nat_mangle_tcp_packet(sk_buff*, nf_conn*, ip_conntrack_info, unsigned int, unsigned int, unsigned int, const char*, unsigned int, bool)
function int nf_conntrack_helpers_register(nf_conntrack_helper*, unsigned int)
function void nf_conntrack_helpers_unregister(nf_conntrack_helper*, unsigned int)
function nf_conntrack_expect* nf_ct_expect_alloc(nf_conn*)
function void nf_ct_expect_init(nf_conntrack_expect*, unsigned int, unsigned char, const nf_inet_addr*, const nf_inet_addr*, unsigned char, const unsigned short int*, const unsigned short int*)
function void nf_ct_expect_put(nf_conntrack_expect*)
function int nf_ct_expect_related_report(nf_conntrack_expect*, unsigned int, int, unsigned int)
function void* nf_ct_ext_add(nf_conn*, nf_ct_ext_id, unsigned int)
function int nf_ct_extend_register(const nf_ct_ext_type*)
function void nf_ct_extend_unregister(const nf_ct_ext_type*)
function void nf_ct_helper_expectfn_register(nf_ct_helper_expectfn*)
function void nf_ct_helper_expectfn_unregister(nf_ct_helper_expectfn*)
function void nf_ct_helper_init(nf_conntrack_helper*, unsigned short int, unsigned short int, const char*, unsigned short int, unsigned short int, unsigned int, const nf_conntrack_expect_policy*, unsigned int, int (sk_buff*, unsigned int, nf_conn*, enum ip_conntrack_info)*, int (nlattr*, nf_conn*)*, module*)
function void nf_ct_helper_log(sk_buff*, const nf_conn*, const char*, ...)
function bool nf_ct_remove_expect(nf_conntrack_expect*)
function int nf_ct_seqadj_init(nf_conn*, ip_conntrack_info, s32)
function int nf_ct_seqadj_set(nf_conn*, ip_conntrack_info, __be32, s32)
function nf_conn* nf_ct_tmpl_alloc(net*, const nf_conntrack_zone*, unsigned int)
function void nf_ct_tmpl_free(nf_conn*)
function void nf_ct_unexpect_related(nf_conntrack_expect*)
function bool nf_nat_mangle_udp_packet(sk_buff*, nf_conn*, ip_conntrack_info, unsigned int, unsigned int, unsigned int, const char*, unsigned int)
function unsigned int nf_nat_setup_info(nf_conn*, const nf_nat_range2*, nf_nat_manip_type)
'struct snd_rawmidi_runtime at rawmidi.h:52:1' changed:
type size hasn't changed
1 data member insertion:
'int snd_rawmidi_runtime::buffer_ref', at offset 576 (in bits) at rawmidi.h:64:1
there are data member changes:
'spinlock_t snd_rawmidi_runtime::lock' offset changed from 576 to 608 (in bits) (by +32 bits)
2 impacted interfaces:
function int snd_rawmidi_receive(snd_rawmidi_substream*, const unsigned char*, int)
function void snd_rawmidi_set_ops(snd_rawmidi*, int, const snd_rawmidi_ops*)
'struct tcf_block at sch_generic.h:403:1' changed:
type size changed from 10048 to 10112 (in bits)
1 data member insertion:
'u32 tcf_block::classid', at offset 416 (in bits) at sch_generic.h:410:1
there are data member changes:
'refcount_t tcf_block::refcnt' offset changed from 416 to 448 (in bits) (by +32 bits)
'net* tcf_block::net' offset changed from 448 to 512 (in bits) (by +64 bits)
'Qdisc* tcf_block::q' offset changed from 512 to 576 (in bits) (by +64 bits)
'rw_semaphore tcf_block::cb_lock' offset changed from 576 to 640 (in bits) (by +64 bits)
'flow_block tcf_block::flow_block' offset changed from 896 to 960 (in bits) (by +64 bits)
'list_head tcf_block::owner_list' offset changed from 1024 to 1088 (in bits) (by +64 bits)
'bool tcf_block::keep_dst' offset changed from 1152 to 1216 (in bits) (by +64 bits)
'atomic_t tcf_block::offloadcnt' offset changed from 1184 to 1248 (in bits) (by +64 bits)
'unsigned int tcf_block::nooffloaddevcnt' offset changed from 1216 to 1280 (in bits) (by +64 bits)
'unsigned int tcf_block::lockeddevcnt' offset changed from 1248 to 1312 (in bits) (by +64 bits)
'struct {tcf_chain* chain; list_head filter_chain_list;} tcf_block::chain0' offset changed from 1280 to 1344 (in bits) (by +64 bits)
'callback_head tcf_block::rcu' offset changed from 1472 to 1536 (in bits) (by +64 bits)
'hlist_head tcf_block::proto_destroy_ht[128]' offset changed from 1600 to 1664 (in bits) (by +64 bits)
'mutex tcf_block::proto_destroy_lock' offset changed from 9792 to 9856 (in bits) (by +64 bits)
9 impacted interfaces:
function void qdisc_reset(Qdisc*)
function int register_tcf_proto_ops(tcf_proto_ops*)
function int tcf_action_exec(sk_buff*, tc_action**, int, tcf_result*)
function void tcf_exts_destroy(tcf_exts*)
function int tcf_exts_dump(sk_buff*, tcf_exts*)
function int tcf_exts_dump_stats(sk_buff*, tcf_exts*)
function int tcf_exts_validate(net*, tcf_proto*, nlattr**, nlattr*, tcf_exts*, bool, bool, netlink_ext_ack*)
function int unregister_tcf_proto_ops(tcf_proto_ops*)
softnet_data softnet_data
For some reason, this wasn't caught by tools earlier...
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I69c5cbd54dc28925c88f240a5e946b4c92889dbb
This change adds support for 64bit division on 32bit LE targets
using do_div() api.
Change-Id: I30247f514e13bcba80f707acccd65878de38dff5
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Support 32-bit access for the TX/RX hold registers UTXH and URXH.
This is required for some newer SoCs.
BUG: 157216430
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested on Odroid HC1 (Exynos5422):
Tested-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200506080242.18623-3-hyunki00.koo@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: I16a7ce552b3626217a8507d20d4e5f1b104d70e6
(cherry picked from commit 57253ccd5831e7e5720c433437775c3e6b7d0c72)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This patch change the name of macro for general usage.
BUG: 157216430
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested on Odroid HC1 (Exynos5422):
Tested-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200506080242.18623-1-hyunki00.koo@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: Ia909322ce7a511cb1b36f88a6c6466be03aec845
(cherry picked from commit 8fba6c0c4c4a5291a62dd231e996eff09725489f)
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
We are using memory as buffer for SW USB mode. Too small
buffer could cause packet drop issue. Always set ETR
buffer to 32MB on SW USB mode to resolve this issue.
Change-Id: I222152f15c5cc61141b9a9eb18c1b2bb19714174
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Cpus_read_lock needs to be unlocked when setting up cpu
hotplug callback failed and exiting probe.
Change-Id: Ibbcd49d2e2d993c63b825697bc5799373f8a9a9e
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Add A619 GPU variant support to deal with different
feature set of A619 GPU.
Change-Id: I4df945af138d03868fc0b26d915145e564d056ad
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
USB PHY base already has an atomic notifier chain that clients can
register for using usb_register_notifier(). Use the call chain to
indicate cable connect and disconnect status for interested clients.
Change-Id: I73f7df8fbd14cb2ee99739d6f7b6cc946fb1783c
Signed-off-by: Jack Pham <jackp@codeaurora.org>
If a request is dequeued, the transfer is cancelled. Give back all
the started requests.
In most scenarios, the function driver dequeues all requests of a
transfer when there's a failure. If the function driver follows this,
then it's fine. If not, then we'd be skipping TRBs at different points
within the dequeue and enqueue pointers, making dequeue/enqueue pointers
useless. To enforce and make sure that we're properly skipping TRBs,
cancel all the started requests and give back all the cancelled requests
to the function drivers.
Change-Id: Ia344a480048383f3fd7c16afbc9f7b0062492879
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Patch-mainline: linux-usb @ 05/03/20, 13:24
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
The value printed on cpu idle exit is a return value from the PSCI call.
To avoid confusion, let's change the text to match the return value.
Change-Id: I8938287fb4d2887aa190af835618d1d0e9f18a99
Signed-off-by: Lina Iyer <ilina@codeaurora.org>