Added flow control checks. Used net_if_receive_skb for submitting
packets to network stack.
Change-Id: Icb45d90772ef06186d94a726de5d4813853a95e7
Acked-by: Kaushik P E <kpe@codeaurora.org>
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
Add snapshot of qpnp-regulator from kernel 4.9 as of commit
7262d3811169("Merge "usb: gadget: handle usb connection events").
While at it, add support for debugfs node for qpnp-regulator.
Change-Id: Ie493446009c708339af93e9d81af47b8538b8c52
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
enables qcom glink slatecom driver which is
used for communication between slate
and apps.
Change-Id: Ib6372b1829db3c86716578d345654b6b6f6d62c8
Signed-off-by: Vivek Golani <vgolani@codeaurora.org>
GIC-V2 driver does not implement irq_set_affinity function.
This change checks same before calling.
Change-Id: I3adb5681281b85bf5fa272d6ad7e968a01b95398
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
check_valid_vmid makes an incorrect assumption on the return
value of ion_msm_page_pool_alloc causing an incorrect pointer
access later in ion_msm_page_pool_add.
Change-Id: I45dc78978385498366ba729b447ec365a31474d8
Fixes: cae595f476 ("ion: Check for valid vmids for msm system heap")
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Enable the virtual power reset and watchdog driver
in autogvm defconfigs.
Change-Id: I04fa915e137035b30dd687b43a7e6f8d3cedb1be
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
During the PCI probe for each port, enable its PCI device so that
it's ready for its driver. Also, set the bus master so that
any traffic from downstream can be forward to upstream.
Add PCI remove to handle the clean up.
Change-Id: I959ab50ebba2b4351590f83e8e1b780a670ca730
Signed-off-by: Tony Truong <truong@codeaurora.org>
Update the driver to support erratas for different vendors.
Other vendors will not have the exact same errata as Diode.
Thus, expand the support to other switch vendors.
Change-Id: Ic9a3d93f9fef36757f5df42364f6e72030740f75
Signed-off-by: Tony Truong <truong@codeaurora.org>
For mpm gpio irq chip domain do not handle wakeup but the parent hwirq
still need to send to mpm gpio chip. Add change to skip sending parent
irq where domain handles wakeup.
Change-Id: I1eb6fdefe6811dcf3d77cca4d54cce8b4efdc6b6
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
Add support to enable writing a lookup table of brightness values
into WLED_SINK peripheral to enable more granular control over
brightness, to help end user see brightness change smoothly
instead of in visible steps.
Change-Id: Ifd2dd382bf3e1274a5b994e8d83b87833c975970
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Glink native interrupt handler need to wakeup local host
only in post noirq phase of suspend.
Adding dev_pm_ops to track suspend/resume noirq phase.
Change-Id: I338f6ca8da8956592d3c95b2676163651ea86361
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
Glink native interrupt handler need to wakeup local host
only in post noirq phase of suspend.
Adding dev_pm_ops to track suspend/resume noirq phase.
Change-Id: I46ff9108e28cd2355562ff95e54b955d3d90c07c
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
Glink irq should be wakeup capable, to achieve this irq is marked
with enable_irq_wake().
There are some use cases where glink communication is required in system
suspend path and glink interrupt handler needs to be run immediately.
But wakeup cpabale interrupts even if received during suspend will not
run immediately, this will be marked pending and run when system resumes
from suspend. In such scenario there can be a potential deadock in suspend
path due to any irq thread which is waiting for glink interrupt completion
while glink interrupt cannot be handled immediately.
One such use case is usb plugin interrupt received during suspend, which
calls regulator api to communicate with rpm over glink and waits for rpm
ack. RPM ack cannot be processed because glink interrupt received from rpm
goes in pending state. Suspend path is blocked because regulator irq thread
is still waiting.
So there is requirement to run glink interrupt handler in suspend path at
the same time making it wakeup capable. IRQ frameworks forbids usage of
both IRQF_NO_SUSPEND and enable_irq_wake() together. This patch adds
IRQF_NO_SUSPEND and pm_system_wakeup() for glink irq to implement this
requirement.
Change-Id: I1da199c9e10c640bb84d00e569c4fafc5c104d24
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
Speculative page fault should skip non-anon COW
faults. But the check uses flags from vmf which is
not initialized at that point. Fix that.
Fixes: eed0466ffa ("mm: skip speculative path for non-anonymous COW faults")
Change-Id: I86c3032680461b1369650d97a06616fd14472632
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Enable Configs to get cpu isolated mask.
Change-Id: I1eabd68ea757a0855e19b3e00955cf7e2e7c2f03
Signed-off-by: Singa Reddy Dasari <singredd@codeaurora.org>
Update WLFW QMI service so firmware is able to send SRAM and CMEM
etc. device memory information using target capability QMI message
to CNSS driver which populates the same to WLAN host driver.
Change-Id: I6a68624dd29c4631dc2c5c9900ddd1d6c7f3fc14
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Currently gsi driver indicates the state change by sending zero length
packet. Send uevents to indicate to specific gsi protocol connect and
disconnect state as well.
Change-Id: Icfad5ccba74b7f33b1bacad685d4eb15520e72b5
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Add the SCM call support for core hotplug and set warmboot address
for multi core.
Change-Id: I747858d1ffc1008b6d9033526110c98a3bb2401b
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
This reverts commit 8a7d4fed84, reversing
changes made to bdf9093b71.
Change-Id: I6fbcfb72f49740223691f2e1edecbbfc28f420c5
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>