Control kpti via bootargs and keep default as
enabled.
This reverts commit 1edf9722d4.
Change-Id: I707641061ad67498228df64e361139baf2b7a1a3
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Enable STM_PROTO_BASIC to support to write log to /dev/coresight-stm.
Change-Id: I9c736953e664de799f221a87b81953b4c020fbd5
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
Currently gic_show_resume_irq() only prints linux irq number.
There are cases where linux irq number is not listed in
cat /proc/interrupts output. To check for spurious irq cases,
hardware irq number can help.
Change-Id: I03005412688041d7ec99a80b741c16e31db3394d
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
Enable support for prioritizing the tasks which are killed by the OOM
killer in order to ensure that higher priority tasks (oom_score_adj < 0)
aren't killed unless there are no other low priority tasks to consider.
Change-Id: I7ad2b4eb381a8292a8af56c413461451ef6e1d05
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
Add snapshot of the QPNP-SMBLITE driver along with its dependencies
as of msm-4.19 'commit 765e7b83f670 ("kernel: dma: disallow
altering logical map for non-CMA allocs")'
The QPNP SMBLITE charger driver supports the charger peripheral
present in the chip.
Change-Id: I053554571721a0210442ee14e1233444315514b8
Signed-off-by: Imran Ahmad <imrahm@codeaurora.org>
Add a wrapper function ecm_nvmem_device_write() which can log
the nvmem writes. This is useful for debugging.
Change-Id: Icc4ee6ff50b46f92e0169660e3400d80f7d4da37
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Whenever ECM is enabled by the user, some SDAM registers are
initialized for the proper operation. Change the initial value
for ECM_WRITE_TO_SDAM as per the hardware recommendation.
Change-Id: I7a414bb83640178055f3c5a463daa6328aaef69c
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Move gpu_cc_cb_clk to probe as it is POR enabled and not required
to be controlled from HLOS.
Change-Id: Ice8206b897374b4889a30d057ffc26b974fa1724
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
mhi_device_get_sync() can sleep while waiting for MHI M0 event.
When timeout passed in is 0 for CNSS force wake API, call it
instead of mhi_device_get_sync_atomic() which will only do busy
wait.
Change-Id: I8ba5a3382b4104eb7324c9e7f3fc1ce3c21065f4
Signed-off-by: Yue Ma <yuem@codeaurora.org>
If the host initiates a BUS reset when SETUP packet
is in progress, it is possible that the trb_enqueue
is set to 1 and ep0_bounced is set to true in handling
the SETUP packet which was interrupted with the BUS reset.
With the trb_enqueue set to 1, instead of the first TRB
the second TRB is queued but the START_TRANSFER is issued
on the first TRB which does not have HWO is set leading
to the enumeration failure, since there is no available
TRB to handle the SETUP packet from the host.
Fix this by resetting the trb_enqueue and ep0_bounced to
prevent the enumeration failure.
Change-Id: I73a4ca0a970124714acc511ab507d1411d197709
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
After scheduling the idle work for transitioning to either NAP or SLUMBER
it's possible that requested state can change to NONE if any new workload
comes before kgsl_idle_check is executed or it gets the device mutex.
If this happens, current code calls pwrctrl_change_state which fails as
this is not a valid transition. To prevent this, skip calling
pwrctrl_change_state if requested state is NONE.
Change-Id: Iae535c6e2a3230f9e7e210712990eeb405822f4f
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Signed-off-by: Pankaj Gupta <gpankaj@codeaurora.org>
CONFIG_DEBUG_PREEMPT=y
CONFIG_PANIC_ON_DATA_CORRUPTION=y
CONFIG_PM_DEBUG=y
CONFIG_DEBUG_RWSEMS=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_WQ_WATCHDOG=y
Enable above for debug builds on Lahaina/Shima, to help debugging issues
related to sleep in atomic context, data corruption, suspend-resume,
lock(mutex,rwsem), workqueue lockup etc.
Change-Id: Ibf0a88f91bc4009677fab8ea57fef11b62958170
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
Parse the thermal zone names from gpu DT to get each zone's temperature
and print the maximum temperature among them in sysfs.
CRs-Fixed: 2765368
Change-Id: I37767d1bf9a8d4887dfcbad56ebdf17d27e4e465
Signed-off-by: Young Hwan Kwak <ykwak@codeaurora.org>
Set read permission for sysfs nodes in /sys/kernel/gpu/ to read the
value appropriately.
CRs-Fixed: 2765368
Change-Id: Iba74b783c47e5a3bd0c0546cb5103f5fb705f74b
Signed-off-by: Young Hwan Kwak <ykwak@codeaurora.org>
Add panic notifier support to stop bimc logging
in HOLI.
Change-Id: I3721ccf2de5762033b37defa021f85914234e684
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
Add the bimc_freq_log id for requesting bimc stop
logging in HOLI.
Change-Id: I65f01edcacb67db7af4a66a2603e506a211d2ac9
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
Without NAPI_GRO_CB(skb)->is_flist initialized, when the dev doesn't
support NETIF_F_GRO_FRAGLIST, is_flist can still be set and fraglist
will be used in udp_gro_receive().
So fix it by initializing is_flist with 0 in udp_gro_receive.
Fixes: 9fd1ff5d2ac7 ("udp: Support UDP fraglist GRO/GSO.")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Bug: 167707933
Change-Id: Icd2977dfb7506ce0f83d88f52184aa282bc2cac3
(cherry picked from commit bde1b56f898ca8112912d7b36e55e1543b3be0cf)
Signed-off-by: Hyunsoon Kim <h10.kim@samsung.com>
This patch extends UDP GRO to support fraglist GRO/GSO
by using the previously introduced infrastructure.
If the feature is enabled, all UDP packets are going to
fraglist GRO (local input and forward).
After validating the csum, we mark ip_summed as
CHECKSUM_UNNECESSARY for fraglist GRO packets to
make sure that the csum is not touched.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Bug: 167707933
Change-Id: I7756cb47212713efde64a246a42c88d0b0f5521a
(cherry picked from commit 9fd1ff5d2ac7181844735806b0a703c942365291)
Signed-off-by: Hyunsoon Kim <h10.kim@samsung.com>
This patch adds the core functions to chain/unchain
GSO skbs at the frag_list pointer. This also adds
a new GSO type SKB_GSO_FRAGLIST and a is_flist
flag to napi_gro_cb which indicates that this
flow will be GROed by fraglist chaining.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Bug: 167707933
Change-Id: I4bb29cfcd13ccb48871070bf94ea5b87160d65d4
(cherry picked from commit 3a1296a38d0cf62bffb9a03c585cbd5dbf15d596)
Signed-off-by: Hyunsoon Kim <h10.kim@samsung.com>