]>
rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/log
Riley Andrews [Sat, 6 Jun 2015 01:59:29 +0000 (18:59 -0700)]
cpuset: Add allow_attach hook for cpusets on android.
This patch provides a allow_attach hook for cpusets,
which resolves lots of the following logcat noise.
W SchedPolicy: add_tid_to_cgroup failed to write '2816' (Permission denied); fd=29
W ActivityManager: Failed setting process group of 2816 to 0
W System.err: java.lang.IllegalArgumentException
W System.err: at android.os.Process.setProcessGroup(Native Method)
W System.err: at com.android.server.am.ActivityManagerService.applyOomAdjLocked(ActivityManagerService.java:18763)
W System.err: at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:19028)
W System.err: at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:19106)
W System.err: at com.android.server.am.ActiveServices.serviceDoneExecutingLocked(ActiveServices.java:2015)
W System.err: at com.android.server.am.ActiveServices.publishServiceLocked(ActiveServices.java:905)
W System.err: at com.android.server.am.ActivityManagerService.publishService(ActivityManagerService.java:16065)
W System.err: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1007)
W System.err: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2493)
W System.err: at android.os.Binder.execTransact(Binder.java:453)
Bug
200260900
Change-Id: Ic1b61b2bbb7ce74c9e9422b5e22ee9078251de21
[Ported to 4.4, added commit message]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Reviewed-on: http://git-master/r/
1269274
(cherry picked from commit
5554a30e1b623e14b14ae4a78e6fc0c2d84072ad )
Reviewed-on: http://git-master/r/
1281179
Tested-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Riley Andrews [Tue, 6 Sep 2016 22:16:25 +0000 (15:16 -0700)]
cpuset: Make cpusets restore on hotplug
This deliberately changes the behavior of the per-cpuset
cpus file to not be effected by hotplug. When a cpu is offlined,
it will be removed from the cpuset/cpus file. When a cpu is onlined,
if the cpuset originally requested that that cpu was part of the cpuset,
that cpu will be restored to the cpuset. The cpus files still
have to be hierachical, but the ranges no longer have to be out of
the currently online cpus, just the physically present cpus.
Bug
200260900
Change-Id: I22cdf33e7d312117bcefba1aeb0125e1ada289a9
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Reviewed-on: http://git-master/r/
1269271
(cherry picked from commit
7ec5a325e8e1c39850423d5fe1f7bb3d171a3e61 )
Reviewed-on: http://git-master/r/
1282573
Tested-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Sumit Gupta [Tue, 13 Dec 2016 12:37:12 +0000 (18:07 +0530)]
arm64: tegra18: enable CONFIG_CPUSETS for L4T
Enabling CONFIG_CPUSETS for L4T.
It also enables CONFIG_PROC_PID_CPUSET.
boot.img size is increased by 20096 bytes.
bug
200260900
Change-Id: I7c1c65428c822d509d9b537ef2d2c2bb6068814e
Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-on: http://git-master/r/
1270292
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-on: http://git-master/r/
1279942
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Bibek Basu [Tue, 3 Jan 2017 06:42:38 +0000 (12:12 +0530)]
arm64: config: tegra18: enable GRHOST TSEC
tsec clock is always high leading to higher vdd_core
idle power.
Reason being, TSEC driver is not enabled which brings
down the clock if not used.
Solution is to enable TSEC Driver for L4T
Boot.img size is increased by 32208 Bytes
Bug
1809882
Change-Id: If9e64b169280562234f2fa65b902e8bdf3d3a4ab
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/
1279405
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Sandipan Patra [Wed, 28 Dec 2016 09:09:32 +0000 (14:39 +0530)]
clk: core: struct fops declaration needed
file_operation structure declaration is required by
driver/clk/clk.c under CONFIG_COMMON_CLK_FREQ_STATS_ACCOUNTING.
Bug
200162084
Change-Id: I36cb2061e81a771b1db486f5071658acd0ec958b
Signed-off-by: Sandipan Patra <spatra@nvidia.com>
Reviewed-on: http://git-master/r/
1277570
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Sandipan Patra [Wed, 28 Dec 2016 06:55:34 +0000 (12:25 +0530)]
arm64: t186: Disabling tracer config in kernel-4.4
Disabled ENABLE_DEFAULT_TRACERS in kernel-4.4 config to disable
warning log banner.
boot.img size is reduced by
2154728 bytes
Bug
200162084
Change-Id: I96717afc38a39ec0cebe06d1e3d224a51116fe6b
Signed-off-by: Sandipan Patra <spatra@nvidia.com>
Reviewed-on: http://git-master/r/
1277526
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Ken Chang [Wed, 30 Nov 2016 06:07:14 +0000 (14:07 +0800)]
media: tegra: camera: add control for alignment
The driver needs to know alignment constraints in order to
update bytesperline and sizeimage correctly based on the
hardware requirements. Thus the values can be used to configure
VI to make streaming data written into memory buffers as expected
based on the selected pixel format. Add v4l2 controls to
make the alignment variables configurable for applications:
height_alignment (int) : min=1 max=2160 step=1 default=1 value=1
size_alignment (intmenu): min=0 max=2 default=0 value=0
0: 1 (0x1)
1: 65536 (0x10000)
2: 131072 (0x20000)
In addition, the height in struct v4l2_pix_format shall never
include the padding lines thus fix the code to keep it as is.
Bug
200256176
Change-Id: I9ef4c823141334a0a4088f8e1bac190b41f31775
Signed-off-by: Ken Chang <kenc@nvidia.com>
(cherry picked from commit
f05475d4f424fdf42bfc1692ba0d7044a5bbcad8 )
Reviewed-on: http://git-master/r/
1276515
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Ninad Malwade [Fri, 9 Dec 2016 05:24:35 +0000 (13:24 +0800)]
kernel: arm64: Add "model name" for 64bit tasks
Currently we have restriction to display processor model name under
cpuinfo structure for 32 bit tasks only and thus, ubuntu unity center
application or the /proc/cpuinfo does not display processor model name
for 64 bit tasks.
With this we are removing the restriction of displaying model name and
/proc/cpuinfo and ubuntu unity center can display the processor
information to the user for 64 bit tasks.
Bug
200242461
Change-Id: Ia7c6dde58d799e7de1c45d608e4156d921f266b0
Reviewed-on: http://git-master/r/
1268144
(cherry picked from commit
3f205d8e989c0bd6b03f25f7b9bbc695672d146b )
Signed-off-by: Ninad Malwade <nmalwade@nvidia.com>
Reviewed-on: http://git-master/r/
1275517
Reviewed-by: Sumit Gupta <sumitg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Peter De Schrijver [Tue, 13 Dec 2016 11:50:29 +0000 (13:50 +0200)]
clk: tegra: correct afi parent
The parent for afi is actually mselect, not clk_m.
Change-Id: I0ec39e0d2314a62092fe8e55cfa171e3c1067c65
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1270267
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Wahed Syed [Tue, 22 Nov 2016 18:19:25 +0000 (12:19 -0600)]
driver: fix compiler warning in power/domain.c
Bug
1844115
Here is the warning resolved by this change
drivers/base/power/domain.c:2851:12: warning: ‘pm_genpd_summary_one’ defined but not used [-Wunused-function]
static int pm_genpd_summary_one(struct seq_file *s,
^
Change-Id: Id3e7f77ed056b8363ecb1830b8780245c0dbda55
Signed-off-by: Wahed Syed <wsyed@nvidia.com>
Reviewed-on: http://git-master/r/
1258265
Reviewed-on: http://git-master/r/
1267819
GVS: Gerrit_Virtual_Submit
Reviewed-by: Brian Sloan <bsloan@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Jon Hunter [Wed, 14 Dec 2016 09:34:07 +0000 (09:34 +0000)]
soc/tegra: edp: Clean-up GPU EDP error handling
Clean-up and simplify the error handling in the GPU EDP probe. Update
the driver to use dev_err() instead of WARN() or pr_err() where
applicable.
Bug
1811732
Change-Id: I4f79a166ac0196d5124879a8a1d2f2022deabea5
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/
1271036
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Jon Hunter [Wed, 14 Dec 2016 12:25:25 +0000 (12:25 +0000)]
soc/tegra: edp: Fix CPU EDP error handling
Fix the error handling in the CPU EDP probe to ensure all errors are
checked and the appropriate clean-up is performed on failure.
Bug
1811732
Change-Id: If6b229c78d3a4d8111cebaee3941fd33400d265a
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/
1271035
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Jon Hunter [Wed, 14 Dec 2016 12:05:44 +0000 (12:05 +0000)]
soc/tegra: edp: Update CPU EDP clock handling
Update the CPU EDP driver to use device-tree to lookup the CPU clock
instead of using the legacy clk_get_sys() API.
Bug
1811732
Change-Id: I02242052a2a8821892f708e6c6cb2fe71950dbd3
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/
1271034
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Wahed Syed [Tue, 22 Nov 2016 18:22:43 +0000 (12:22 -0600)]
driver: fix compiler warnings in qspi_mtd.c
Bug
1844115
Here are the warnings fixed by this change
drivers/mtd/devices/qspi_mtd.c: In function ‘qspi_quad_flag_set’:
drivers/mtd/devices/qspi_mtd.c:325:21: warning: unused variable ‘m’ [-Wunused-variable]
struct spi_message m;
^
drivers/mtd/devices/qspi_mtd.c:324:22: warning: unused variable ‘t’ [-Wunused-variable]
struct spi_transfer t[2];
^
drivers/mtd/devices/qspi_mtd.c:323:37: warning: unused variable ‘comp’ [-Wunused-variable]
int status = PASS, err, tried = 0, comp = QUAD_ENABLE;
^
drivers/mtd/devices/qspi_mtd.c:323:26: warning: unused variable ‘tried’ [-Wunused-variable]
int status = PASS, err, tried = 0, comp = QUAD_ENABLE;
^
drivers/mtd/devices/qspi_mtd.c:323:21: warning: unused variable ‘err’ [-Wunused-variable]
int status = PASS, err, tried = 0, comp = QUAD_ENABLE;
^
drivers/mtd/devices/qspi_mtd.c:322:10: warning: unused variable ‘tx_buf’ [-Wunused-variable]
uint8_t tx_buf[5], regval;
^
drivers/mtd/devices/qspi_mtd.c: At top level:
drivers/mtd/devices/qspi_mtd.c:270:12: warning: ‘qspi_qpi_flag_set’ defined but not used [-Wunused-function]
static int qspi_qpi_flag_set(struct qspi *flash, uint8_t is_set)
^
Change-Id: I86eeaa58f151b6c544484d7407ca00a03e2c550d
Signed-off-by: Wahed Syed <wsyed@nvidia.com>
Reviewed-on: http://git-master/r/
1258266
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Pervushin <dpervushin@nvidia.com>
Reviewed-by: Brian Sloan <bsloan@nvidia.com>
Reviewed-on: http://git-master/r/
1267812
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Peter De Schrijver [Fri, 9 Dec 2016 11:29:41 +0000 (13:29 +0200)]
platform: powergate: correct sclg clock names for APE
Change-Id: I7d7059b08711d2fb4a9c1d5d4656f3ef5fb35c61
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1268494
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Peter De Schrijver [Fri, 9 Dec 2016 11:28:13 +0000 (13:28 +0200)]
clk: tegra: add connection IDs for aclk and sclg_ovr clocks
Also shorten the d_audio_sclg_ovr name to fit within the 16 character conid
limit.
Change-Id: Ib8b376a6b035c192108910d45c59c8f0df3d21d6
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1268493
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Peter De Schrijver [Fri, 9 Dec 2016 11:24:51 +0000 (13:24 +0200)]
clk: tegra: add aclk_slcg_ovr clock
This is needed for ADSP (aka APE) powergating.
Change-Id: I603953cf04d7496377ec018412f9343750a85bb7
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1268492
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Peter De Schrijver [Mon, 12 Dec 2016 13:24:28 +0000 (15:24 +0200)]
soc: tegra: Add temperature depend DVFS for GPU
Change-Id: I51ed8f2baf6ab55dce608444fb8ee85e0e0c0734
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1269545
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Peter De Schrijver [Mon, 12 Dec 2016 13:21:07 +0000 (15:21 +0200)]
soc: tegra: pass DT node pointer to SoC specific parts
Some DVFS information in DT is SoC specific, so we need to parse this in the
SoC specific part of the DVFS code.
Change-Id: Id4d6fd805656a608983377aeb8714e28e5a412fa
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1269544
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Peter De Schrijver [Mon, 12 Dec 2016 13:05:39 +0000 (15:05 +0200)]
soc: tegra: Support for temperature depend DVFS
Change-Id: I252cf05e07b3a3022cf81b415d0519f4fb2aaeef
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1269543
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Peter De Schrijver [Mon, 12 Dec 2016 12:40:09 +0000 (14:40 +0200)]
soc: tegra: remove useless ;
Change-Id: Id0cc69788ff3ecd141b1ae34d1967fdf5a3375e6
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1269541
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Peter De Schrijver [Mon, 12 Dec 2016 12:20:32 +0000 (14:20 +0200)]
soc: tegra: Introduce GPU rail debugfs node
OPPs for the GPU rail are temperature dependent. So add a new debugfs file
to dump the resulting table.
Change-Id: I05a99d041a94dd86f85eb79defc68e0e08c269a7
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1269540
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Peter De Schrijver [Mon, 12 Dec 2016 12:12:12 +0000 (14:12 +0200)]
clk: add clk_set_rate_nocache
This will be used to retrigger DVFS and update the NA PLL settings on
temperature change.
Change-Id: I0204956f1c4251d698b69eba31b810c09a321f9a
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1269539
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Preetham Chandru R [Thu, 8 Dec 2016 14:12:19 +0000 (19:42 +0530)]
ata: ahci_tegra:Get rid of chip specific defconfig
Bug
200257393
Change-Id: I3918da3bad91b7f80584de6a9d5c1691aad8102a
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/
1265899
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Shardar Shariff Md [Mon, 12 Dec 2016 11:19:40 +0000 (16:49 +0530)]
fuse: tegra: unify fuse burn driver
Currently there is separate fuse burn drivers for T210 & T186, unify
the driver to avoid duplication code.
Bug
200243956
Change-Id: Ief2b8df2645fcaa98c6ff5db99323e1a7c99e6f2
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/
1269527
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Shardar Shariff Md [Mon, 12 Dec 2016 12:19:06 +0000 (17:49 +0530)]
pmc: tegra: add fuse mirroing enable/disable apis
Add functions to enable/disable fuse mirroring support
which is part pmc address space.
Bug
200243956
Change-Id: Ia6519d4ad3035b0fa2e3232e6ee8c524e991f723
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/
1269518
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Laxman Dewangan [Mon, 12 Dec 2016 07:07:54 +0000 (12:37 +0530)]
soc: tegra: Build for Tegra
There is two configs for the Tegra SoC build
ARCH_TEGRA and PLATFORM_TEGRA
soc/tegra get build for the ARCH_TEGRA but some of SoCs
have not enabled the ARCH_TEGRA and hence it can not be build.
Add the new config ARCH_OR_PLATFORM_TEGRA which is enabled for
all SoCs and build this folder for all SoCs.
The driver specific source will be build for ARCH_TEGRA to maintain
original build.
This helps to remove the duplication on driver per SoCs, unified the
kernel build for all SoCs.
bug
200260692
Change-Id: I2df6c67e7b30c77eba04bf58a0ff0ad9cf51dec7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1269329
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shardar Mohammed <smohammed@nvidia.com>
Tested-by: Shardar Mohammed <smohammed@nvidia.com>
GVS: Gerrit_Virtual_Submit
Shardar Shariff Md [Wed, 14 Dec 2016 12:29:08 +0000 (17:59 +0530)]
serial: tegra: get the required rate before adjusting to tolerance level
Save the required clock rate before calculating the adjusted clock rate
Bug
200249272
Change-Id: I8c6f6eeafb7809cc072f2584dff6622e02554c40
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/
1271004
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Wahed Syed [Tue, 22 Nov 2016 18:03:27 +0000 (12:03 -0600)]
drivers: fix compiler warnings in qspi_mtd.c
Bug
1844115
Here are the warnings fixed by this change
drivers/mtd/devices/qspi_mtd.c: In function ‘qspi_probe’:
drivers/mtd/devices/qspi_mtd.c:1187:23: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
dev_err(&spi->dev, "%s SSErr %x %x %x %x\n", id->name,
^
In file included from drivers/mtd/devices/qspi_mtd.c:25:0:
drivers/mtd/devices/qspi_mtd.c:1192:23: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
dev_info(&spi->dev, "%s SSG %x %x %x %x\n", id->name,
^
Change-Id: Ib31d889ec20cd98bc54b9b1cda1f3a80dbcb3b9a
Signed-off-by: Wahed Syed <wsyed@nvidia.com>
Reviewed-on: http://git-master/r/
1258258
Reviewed-on: http://git-master/r/
1267833
GVS: Gerrit_Virtual_Submit
Reviewed-by: Brian Sloan <bsloan@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Wahed Syed [Sat, 22 Oct 2016 00:08:39 +0000 (19:08 -0500)]
ipv6: fix compiler error when disabling ipv6
Bug
1830122
Change-Id: I76d6b31e0dc84862c5b3321bf7a613c867b98a1e
Signed-off-by: Wahed Syed <wsyed@nvidia.com>
Reviewed-on: http://git-master/r/
1240925
GVS: Gerrit_Virtual_Submit
Reviewed-by: Brian Sloan <bsloan@nvidia.com>
Reviewed-on: http://git-master/r/
1267815
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Wahed Syed [Tue, 22 Nov 2016 17:08:49 +0000 (11:08 -0600)]
mm: kmemleak: fix compiler warning in kmemleak.c
Bug
1844115
Here is the warning fixed by this change
mm/kmemleak.c: In function ‘kmemleak_scan_thread’:
mm/kmemleak.c:1438:13: warning: unused variable ‘first_run’ [-Wunused-variable]
static int first_run = 1;
^
Change-Id: I1be480c32366d8476eb1ed62187cd65e9d163233
Signed-off-by: Wahed Syed <wsyed@nvidia.com>
Reviewed-on: http://git-master/r/
1258234
Reviewed-on: http://git-master/r/
1267814
GVS: Gerrit_Virtual_Submit
Reviewed-by: Brian Sloan <bsloan@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Mikko Perttunen [Mon, 12 Dec 2016 13:29:55 +0000 (15:29 +0200)]
dt-bindings: gpio: Add tegra186-gpio.h
Moved tegra186-gpio.h from t18x as part of kernel 4.9 work.
Bug
1834068
Change-Id: I6ac2765e8ee821c862c6ad994b88c64b0ef6ab7a
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-on: http://git-master/r/
1269547
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Mikko Perttunen [Mon, 12 Dec 2016 08:43:05 +0000 (10:43 +0200)]
platform: tegra: Add tegra_chipid
Moved driver from t18x repository. The driver is no longer
used on kernel 4.9.
Bug
1834068
Change-Id: I4fba7eb5c016f7d9231d060cca6fbb5f57ce717c
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-on: http://git-master/r/
1269364
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Peter De Schrijver [Thu, 8 Dec 2016 15:51:20 +0000 (17:51 +0200)]
clk: tegra: only build PLL resume for Tegra210
Change-Id: I40a5c16378f28047345e5ca7a1ada03d6feb9c66
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1267684
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Shravani Dingari [Thu, 8 Dec 2016 06:55:08 +0000 (12:25 +0530)]
crypto: move tegra-se-elp to kernel-4.4
merge tegra-se-pka1 in kernel-4.4 and
tegra-se-elp in t18x together to kernel-4.4
repo. Both have common code for PKA1 (applicable
for both T214 and T186) and tegra-se-elp has
extra code for RNG1 (applicable for only T186)
Bug
200260842
Change-Id: Ife8c1a4bb20cf654856eccebb5ce1536cdba9600
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/
1267336
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Deepak Nibade [Mon, 5 Dec 2016 14:22:35 +0000 (19:52 +0530)]
devfreq: don't set last_scale for same freq
In nvhost_pod_estimate_freq(), we have *freq = 0
in case we decide to keep same frequency
In that case we set *freq as current frequency and
then set last_scale timestamp
This can result in keeping same frequency for
long duration due to less delta from last_scale
To fix this, return immediately in case *freq
is zero and do not set last_scale timestamp
Bug
200255163
Change-Id: Ie13bf54e2415c4016a101b9ea12a9abda83240fd
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/
1265185
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Peter De Schrijver [Mon, 5 Dec 2016 12:43:17 +0000 (14:43 +0200)]
platform: powergate: tegra: control SATA pll sequencer input
Change-Id: I401a8a229cd4c1837d657fcc54d5e096a31baf6b
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1265131
GVS: Gerrit_Virtual_Submit
Reviewed-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Peter De Schrijver [Mon, 5 Dec 2016 12:39:59 +0000 (14:39 +0200)]
clk: tegra: Add sata seq input control
This is used by the powergating driver ensure proper sequencer state when the
SATA domain is powergated.
Change-Id: I881282856282cccef857b513ce60ac9ad6becc51
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1265130
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Wenjia Zhou [Fri, 9 Dec 2016 23:29:23 +0000 (15:29 -0800)]
media:platform:tegra: Move mipical calls to fops
T210 and T186 CSI is different
Rewrite csi2_mipi_cal
Implement csi4_mipi_cal
Add fops->mipical
Modify set_stream to ensure sensor is
enabled first before csi
Remove hardcode T186 specific folder reference
in Makefile to ensure T210 compatible for k4.4
bug
1798951
Change-Id: I8ba752094065274bd34d165fbca900068776545a
Signed-off-by: Wenjia Zhou <wenjiaz@nvidia.com>
Reviewed-on: http://git-master/r/
1213249
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Yong Zhang [Tue, 29 Nov 2016 15:03:42 +0000 (15:03 +0000)]
arm64: tegra18: configs: hypervisor security virtual CAN driver
boot.img size is increased by 327931 bytes
Jira MAKO-212
bug
1825351
Change-Id: I30eaa3efd1bd578f33fff22f7ef66fba1cd72075
Signed-off-by: Yong Zhang <yongz@nvidia.com>
Reviewed-on: http://git-master/r/
1261619
Reviewed-by: Samuel Payne <spayne@nvidia.com>
Tested-by: Samuel Payne <spayne@nvidia.com>
Yong Zhang [Fri, 30 Sep 2016 09:35:47 +0000 (10:35 +0100)]
drivers: hypervisor security virtual CAN driver
Jira MAKO-212
bug
1825351
Change-Id: Iea2e024d838f9bbfbe9000a01a80a1185ae36dc9
Signed-off-by: Yong Zhang <yongz@nvidia.com>
Reviewed-on: http://git-master/r/
1262283
GVS: Gerrit_Virtual_Submit
Tested-by: Andy Guiver <aguiver@nvidia.com>
Reviewed-by: Bernd Weber <bweber@nvidia.com>
Reviewed-on: http://git-master/r/
1252387
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Joseph Lo [Tue, 6 Dec 2016 02:40:06 +0000 (10:40 +0800)]
i2c: tegra-vi: remove redundant I2C init code in probe and resume
We only need to init the I2C when it doesn't support powergate
function. For powergate supported platform, it has been integrated with
power up function.
Bug
1811733
Bug
1798951
Change-Id: I2a9e9c3b097c0b47220d45b6378628a8134dd275
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/
1265711
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Peter De Schrijver [Tue, 29 Nov 2016 14:07:41 +0000 (16:07 +0200)]
clk: tegra: move tegra_dvfs_set_dfll_range to cpufreq driver
The DVFS constraints apply to cclk_g, not to dfll clock itself. Therefor
set the CPU rail to DFLL mode in the cpufreq driver as that driver knows
when we source cclk_g from the DFLL. This also prevents the call from
happening before the DVFS layer is initialized.
Change-Id: Idcea614f4cf173f6cf11424301e8299554875052
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1261578
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Peter De Schrijver [Tue, 29 Nov 2016 13:22:11 +0000 (15:22 +0200)]
clk: correct error message for debugfs
Change-Id: I64d11c07014e4be2190811416ec4b705cffcb7ea
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1261550
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Peter De Schrijver [Tue, 29 Nov 2016 13:21:45 +0000 (15:21 +0200)]
clk: tegra: remove non-existing pll_m_out1 clock
Change-Id: I92b484ac497306802f066bed9474f5bb0c17d077
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/
1261549
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Vidya Sagar [Tue, 29 Nov 2016 11:12:17 +0000 (16:42 +0530)]
pcie: host: tegra: remove uphy dependency
removes accessing TX_RDET_STATUS bit to findout end point's
presence on the other side of the link early in the link-up process
Bug
200257937
Change-Id: I84030a53182e06e12616e993924964db822f053f
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/
1261438
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Vidya Sagar [Sat, 26 Nov 2016 11:53:25 +0000 (17:23 +0530)]
pcie: host: tegra: disable clocks in no EP case
disables clocks when no end points are detected during
enumeration
Bug
1842979
Change-Id: I27b12fe8a0939cd8d11ad80c70933d257adbd537
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/
1260199
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Vidya Sagar [Tue, 29 Nov 2016 12:53:59 +0000 (18:23 +0530)]
PM / clk: export pm_clk_destroy APIs
exports pm_clk_destroy API
Bug
200182225
Change-Id: Ia3fcae2087a4b72008e6d83925b8714a305799ac
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/
1261507
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Laxman Dewangan [Fri, 9 Dec 2016 17:01:33 +0000 (22:31 +0530)]
misc: fuse: make type of tegra_get_chip_id() to consistent
For some Tegra SOCs, the function tegra_get_chip_id() returns u8
and for some other it returns u32.
Make the return type to be consistent and should return u8 data type.
bug
200260692
Change-Id: I1a2204ed2b34f706543a7b9630546c7fcb16de5a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1268604
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shardar Mohammed <smohammed@nvidia.com>
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Laxman Dewangan [Fri, 9 Dec 2016 13:47:53 +0000 (19:17 +0530)]
firmware: tegra: Get rid of mach/irq.h include
firmware/tegra/main_t210 driver is including the mach/irq.h
which are unnecessarily. Remove this include.
bug
200259459
Change-Id: I62da9c925ed4e7649de5f30eb9b4024c75bb64e6
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1268555
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Laxman Dewangan [Fri, 9 Dec 2016 13:42:42 +0000 (19:12 +0530)]
platform: tegra: Get rid of mach/irq.h include
Some of platform/tegra driver are including the mach/irq.h
which are unnecessarily. Remove this include.
bug
200259459
Change-Id: Ic7fea0f3b4864ec93ddd12b0f7cdc7ab0b544ec8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1268554
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Laxman Dewangan [Fri, 9 Dec 2016 13:19:40 +0000 (18:49 +0530)]
usb: tegra: Get rid of board.h include
The tegra ehci/otg driver are including the mach-tegra/board.h
unnecessarily. Remove this include.
bug
200259459
Change-Id: Iadb37341dca1d57c06248ef4e813dc43fcc0dc3e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1268553
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Laxman Dewangan [Fri, 9 Dec 2016 13:18:08 +0000 (18:48 +0530)]
platform: tegra: dumper:Get rid of board.h include
The nvdumper source code is including the mach-tegra/board.h
unnecessarily. Remove this include.
bug
200259459
Change-Id: I3f3a90fc0c2b629b6ee2d2cc06b083a004ef932a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1268552
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Krishna Reddy [Tue, 6 Dec 2016 19:21:21 +0000 (11:21 -0800)]
arm64: mm: dma-mapping: Fix incorrect align of start and end
Fix incorrect align of start and end of dma contiguous
region during remap of it.
Bug
1769772
Change-Id: I6b94393085c27e924474c2622f5d024938839e75
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/
1266021
GVS: Gerrit_Virtual_Submit
Erik Lilliebjerg [Tue, 1 Nov 2016 15:54:52 +0000 (08:54 -0700)]
iio: imu: nvi: v.337 Fix DMP gyro
- Fix ICM DMP gyroscope data output to match the standard FIFO data output.
Bug
1831500
Change-Id: Ie26071fe211c390a03d4f912815ed00a89beff8b
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/
1245846
(cherry picked from commit
d686b0fd4d60b0a9fc8f7bfd5408f6e557a16684 )
Reviewed-on: http://git-master/r/
1267106
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Michael Wang [Wed, 31 Aug 2016 23:19:51 +0000 (16:19 -0700)]
mods_clock: Add list of clocks for T210
Add list of clocks for T210, since T210 will be using the Common Clock
Framework in kernel 4.4.
Change-Id: I278087c52ba58809d64930d95e5a504ae8b34700
Signed-off-by: Michael Wang <michawang@nvidia.com>
Reviewed-on: http://git-master/r/
1217249
Reviewed-by: Vivek Aseeja <vaseeja@nvidia.com>
Tested-by: Vivek Aseeja <vaseeja@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Deepak Nibade [Wed, 7 Dec 2016 08:13:09 +0000 (13:43 +0530)]
devfreq: clip max/min frequencies in store APIs
In max_freq_store(), we allow any large to be
stored as max_freq
Similarly in min_freq_store() we allow any
lower value as min_freq
Fix this so that we clip max_freq to highest
freq value supported and clip min_freq to
lowest freq value supported
Bug
200260336
Change-Id: I6b11f6a5fd31f9411299dbeea1d3a528e1077bc5
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/
1266463
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Laxman Dewangan [Thu, 8 Dec 2016 12:43:55 +0000 (18:13 +0530)]
arm: mach-tegra: Get rid of devices.h
The devices.h export all Tegra devices to get it registered
from board files. However, all Tegra platforms has moved to
DT and hence it is not required to register the devices from
DT.
Remove the header devices.h.
bug
200259459
Change-Id: Ic452f6ef720f154638f641ab96bdefe97c28032f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1267576
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Laxman Dewangan [Thu, 8 Dec 2016 12:12:08 +0000 (17:42 +0530)]
arm: mach-tegra: Get rid of apbio.{c,h}
The apbio.c and apbio.h neither compiled nor used.
Remove these files from the tree as these were just
copied from older kernel version.
bug
200259459
Change-Id: Ie93c5efd690f2bec207e8a97ef60c166fa8627c1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1267575
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Laxman Dewangan [Thu, 8 Dec 2016 11:59:59 +0000 (17:29 +0530)]
arm: mach-tegra: Get rid of gpio-names header
The header gpio-names are no more required as everything
moved to DT.
Remove the header file and correct the source code which has
included this unnecessarily.
bug
200259459
Change-Id: Icd3764fe6b743c29282776e23dc73982109913be
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1267555
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Laxman Dewangan [Thu, 8 Dec 2016 09:29:24 +0000 (14:59 +0530)]
sound: soc: tegra-alt: Move mach/tegra_asoc_pdata.h to include/linux
The include header mach/tegra_asoc_pdata.h is moved to
include/linux/platform_data in order to keep all generic platform
data to this folder and get rid of mach-tegra/include/mach/*.h.
Refer the correct header location for tegra-alt drivers.
bug
200259459
Change-Id: Iaf793e3f4505a1e3ad722dbbb3e5b5dad38580ca
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1267478
Reviewed-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 7 Dec 2016 10:07:00 +0000 (15:37 +0530)]
arm: mach-tegra: include: Remove unused header tegra-board-id.h
The header file tegra-board-id.h is no more used by any source
code and hence removing this header. This header contains the
board IDS which is not required any more after everything moved
to DT.
bug
200259459
Change-Id: I339e16148c16a87b21b6d3a06e4dba3075854996
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266565
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Joseph Lo [Thu, 1 Dec 2016 02:45:19 +0000 (10:45 +0800)]
soc/tegra: switch to CVB PLL table for Tegra210 CPU DVFS
Drop the static CPU freq/volt table, the table was used for when using
PLL as CPU clock source. This patch replaces it by CVB PLL table, which
will determine the DVFS table based on some calculations of the table,
speedo and voltage scale vaules.
The table is based on DVFS table version p4v64_p4Av07.
Bug
200255986
Change-Id: I6af57f8c6d0c59bdbd615f7ae407173b17693010
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/
1262765
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Joseph Lo [Wed, 30 Nov 2016 03:50:25 +0000 (11:50 +0800)]
soc/tegra: fuse: update speedo IDs for Tegra210
Bug
200255986
Change-Id: Iacf188f4cccea03d3a82f7ad18455c18681c506d
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/
1262213
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Joseph Lo [Wed, 30 Nov 2016 06:04:56 +0000 (14:04 +0800)]
soc/tegra: update Tegra210 CPU DVFS table
Update Tegra210 CPU DVFS table according to version p4v64_p4Av07.
Bug
200255986
Change-Id: Id7fc63a69883c03c9a307c472d62f38cc0699162
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/
1262212
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Joseph Lo [Wed, 30 Nov 2016 09:07:44 +0000 (17:07 +0800)]
clk: tegra: dfll: update Tegra210 CPU DVFS table
Update Tegra210 CPU DVFS table according to version p4v64_p4Av07.
Bug
200255986
Change-Id: I60cbc6648e219ef58a3233fa90bbc02d1cdd403a
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/
1262211
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Deepak Bhosale [Thu, 24 Nov 2016 00:52:52 +0000 (16:52 -0800)]
defconfig: Enable HDMI2FPDLINK config
P2394 AIC card supports HDMI2FPDLINK path for
P2382-10 board. Enable config option in kernel config
to make sure driver gets built for this support.
zImage is increased by 3734 bytes
Image is increased by 17152 bytes
EVLR-438
Change-Id: I7d9fe5a14c20efca23ff62967a364cb25ecc2e76
Signed-off-by: Deepak Bhosale <dbhosale@nvidia.com>
Reviewed-on: http://git-master/r/
1259180
Reviewed-by: Tow Wang <toww@nvidia.com>
Reviewed-by: Sungwook Kim <sungwookk@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vladislav Buzov <vbuzov@nvidia.com>
Gaurav Asati [Thu, 1 Dec 2016 04:35:50 +0000 (10:05 +0530)]
ARM64: tegra210: Enable Bluetooth on Kernel-4.4
Bug
200244810
boot.img size is increased by 18432 bytes
Change-Id: I6bb130afb66ac5731e5ba1ce7293ed9d27471104
Signed-off-by: Gaurav Asati <gasati@nvidia.com>
Reviewed-on: http://git-master/r/
1262794
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Santosh Reddy Galma [Thu, 3 Nov 2016 04:52:38 +0000 (10:22 +0530)]
video: tegra: cleanup panel selection code
-remove macro HDMI_NODE used for chips less than T210
-remove dc_or_node_names global array and make
dc_or_node_name a member of tegra_dc_platform_data.
TDS-1305
Change-Id: I574b17aa43ac190e2d415b7b58a5f352df94bd22
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/
1246842
Reviewed-by: Jani Uusi-Rantala <juusirantala@nvidia.com>
Tested-by: Jani Uusi-Rantala <juusirantala@nvidia.com>
Rohit Khanna [Mon, 21 Nov 2016 20:46:58 +0000 (12:46 -0800)]
platform: tegra: enable denver_serr only for t18x
Enable denver_serr_init only for t18x.
Bug
1844100
Bug
200235747
Change-Id: I1d2145464fbf3dbd5bc3add689374ce88ca57b9d
Signed-off-by: Rohit Khanna <rokhanna@nvidia.com>
Reviewed-on: http://git-master/r/
1257457
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Navneet Kumar <navneetk@nvidia.com>
Laxman Dewangan [Thu, 8 Dec 2016 10:00:23 +0000 (15:30 +0530)]
arm: mach: include: Move mach/gpufuse.h to include/soc/tegra
The include header mach/mach/gpufuse.h is moved to include/soc/tegra
in order to keep all SOC specific header in include/soc/<chip>
and get rid of mach-tegra/include/mach/*.h.
bug
200259459
Change-Id: I7a528a092312a94de8cd9bb27293d3ab7eeaac39
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1267496
Reviewed-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Thu, 8 Dec 2016 08:42:03 +0000 (14:12 +0530)]
misc: mod: Use linux/tegra_smmu.h instead of mach/tegra_smmu.h
There is duplication of header tegra_smmu.h in include/linux and
mach-tehra/include/mach.
Get rid of mach/tegra_smmu.h and change the client driver to use
the include/linux/tegra_smmu.h.
bug
200259459
Change-Id: I830f509338bd18d2ab3687dfbb7f94d09b0d3a59
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1267458
Reviewed-by: Lovie Wang <loview@nvidia.com>
Tested-by: Lovie Wang <loview@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Thu, 8 Dec 2016 08:29:38 +0000 (13:59 +0530)]
arm: mach-tegra: include: Remove unused header memory.h
The header file memory.h is no more used by any source
code and hence removing this header.
bug
200259459
Change-Id: Ia3e454aab4ff59d0fac09943d2dbfd8c2b373974
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1267457
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Thu, 8 Dec 2016 08:26:24 +0000 (13:56 +0530)]
arm: mach-tegra: include: Remove unused header edp.h
The header file edp.h is no more used by any source
code and hence removing this header.
bug
200259459
Change-Id: Ie8fc599e06d14ad70e1bc0b679eff09fbeddbf3e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1267456
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Thu, 8 Dec 2016 08:24:44 +0000 (13:54 +0530)]
arm: mach-tegra: include: Remove unused header board_id.h
The header file board_id.h is no more used by any source
code and hence removing this header. This header contains the
board IDS structure which is not required any more after
everything moved to DT.
bug
200259459
Change-Id: I60ee4e868e34ce5ff9ee31e76787a6ff4c6da024
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1267455
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Vivek Aseeja [Mon, 5 Dec 2016 19:16:42 +0000 (11:16 -0800)]
soc/tegra: fuse: export tegra_get_platform
the mods kernel driver is compiled as a module and requires
tegra_get_platform() to be exported as a symbol to compile correctly.
Bug
1834200
Change-Id: I9bc2ef421ea377083f5ce8aa4f218275b0b3b690
Signed-off-by: Vivek Aseeja <vaseeja@nvidia.com>
Reviewed-on: http://git-master/r/
1265312
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Venkat Reddy Talla [Tue, 6 Dec 2016 10:46:38 +0000 (16:16 +0530)]
ARM64: config: t18: enable UASP gadget protocol
Enabling UASP gadget protocol config which is
required to communicate with a USB Host.
Enabling below configs for kernel unification.
CONFIG_TARGET_CORE=y
CONFIG_TCM_IBLOCK=y
CONFIG_TCM_FILEIO=y
boot.img size increased by 288768 bytes
Bug
200256189
Change-Id: Idc5a5d54ed0efbe1f036c61f32a99e23630992ac
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/
1265807
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Shravani Dingari [Tue, 6 Dec 2016 08:40:40 +0000 (14:10 +0530)]
crypto:pka1: fix private key check in driver
compare private key and order in a loop
instead of memcmp due to endianness issues
Change-Id: If937c6d9eda7355d9be3ebdaf0272d2f799fcffc
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/
1265724
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
sreenivasulu velpula [Tue, 29 Nov 2016 18:16:54 +0000 (23:46 +0530)]
defconfig: Add t210 gnu linux defconfig
Initial config copied from tegra21_defconfig
Bug
200251658
Change-Id: I10ca61235d318f2deb5a1ee1aea9ad17fd0ccfbb
Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com>
Reviewed-on: http://git-master/r/
1256315
GVS: Gerrit_Virtual_Submit
Reviewed-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Laxman Dewangan [Wed, 7 Dec 2016 11:08:03 +0000 (16:38 +0530)]
arm: tegra: get rid of nct header
NCT support is not provided in the kernel completely and
hence removing the partial changes related to nct.
bug
200259459
Change-Id: Ic0e1666dfa5b9565b3ebf7b852201069d074af32
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266587
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 7 Dec 2016 11:26:49 +0000 (16:56 +0530)]
platform: tegra: emc Remove code which need NCT
NCT support is not available in the kernel 4.4 onwards and
hence removing the code which required NCT.
bug
200259459
Change-Id: I12fd5cfd64296a2fa4e2bca593ed952e2db6affd
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266586
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 7 Dec 2016 11:26:01 +0000 (16:56 +0530)]
platform: tegra: nvdumper: Remove code which need NCT
NCT support is not available in the kernel 4.4 onwards and
hence removing the code which required NCT.
bug
200259459
Change-Id: Ice2368829516f358138f1a997f4f37d3449f1fd5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266585
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 7 Dec 2016 11:24:25 +0000 (16:54 +0530)]
net: wireless: bcmdhd: Remove code which need NCT
NCT support is not available in the kernel 4.4 onwards and
hence removing the code which required NCT.
bug
200259459
Change-Id: I025834c95acdea7a8cec591a8447060b3ca14837
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266584
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 7 Dec 2016 10:33:10 +0000 (16:03 +0530)]
arm: mach-tegra: include: Remove powergate header
The header mach/powergate.h is not used and hence removing it
from mach/include.
bug
200259459
Change-Id: Ib2ae18b48a9a2d6d02841c8c595acf9360c7ce90
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266568
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 7 Dec 2016 10:28:51 +0000 (15:58 +0530)]
arm: mach-tegra: include: Remove nvmap header
The header mach/nvmap.h is not used and hence removing it
from mach/include.
bug
200259459
Change-Id: I8f10d8da9af9554c0eb4db9a799b80bcf809885b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266567
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 7 Dec 2016 10:25:46 +0000 (15:55 +0530)]
arm: mach-tegra: include: Remove uncompress header
None of Tegra SoCs uses the mach/uncompress header from k4.4
and hence removing this unused header.
bug
200259459
Change-Id: I5265e1883d45faef6980da46845d1d56753ccfa8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266566
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 7 Dec 2016 10:00:19 +0000 (15:30 +0530)]
arm: mach-tegra: include: get rid of unused codec header
Following codec platform data headers are not used in any of
source code and hence remove the headers:
tegra_max98088_pdata.h
tegra_wm8753_pdata.h
bug
200259459
Change-Id: Icf5524105d000bec4aa561504e8abe9b2aa05a8e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266564
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 7 Dec 2016 09:57:16 +0000 (15:27 +0530)]
sound: soc: tegra-alt: Move tegra_vcm30t124_pdata.h to include/linux
Move mach/tegra_vcm30t124_pdata.h to include/linux/platform_data
as the mach/includes are deprecated and all header should be in
include path.
bug
200259459
Change-Id: I31b29be9c5e04d402a98211cbe51974f5da67235
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266563
Reviewed-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Aniket Bahadarpurkar <aniketb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 7 Dec 2016 08:30:41 +0000 (14:00 +0530)]
pinctl: tegra: Use devm_ version of pinctrl_register
Use devm_pinctrl_register() for registering pinctrl and
get rid of remove callback from driver.
Change-Id: I15ce150832a43d03b8c85c4a592b9f04ed77c5db
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1266482
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit
Petlozu Pravareshwar [Tue, 6 Dec 2016 10:33:22 +0000 (16:03 +0530)]
xhci-tegra: Remove T21x_SOC and T18x_SOC CONFIGs
Replace T21x_SOC, T18x_SOC CONFIGs with soc_config
structure variable in xhci-tegra.c file.
Bug
200257344
Change-Id: I02da5cecc2a19464a376ccab8059d66ea8501fa0
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/
1251895
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Venkat Reddy Talla [Tue, 6 Dec 2016 07:08:36 +0000 (12:38 +0530)]
ARM64: config: t21: disable MMC EMBEDDED SDIO
Disabling MMC embedded sdio config not required for
t210 platforms.
boot.img size not changed
Bug
200256189
Change-Id: I1ac2a5c3b0d4200297ec6334ae5c247b1b502b8f
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/
1265674
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Naveen Kumar Arepalli [Thu, 1 Dec 2016 04:37:05 +0000 (10:07 +0530)]
ufs: tegra: Register and Implement hibern8_entry_notify event.
-ASIC team has suggested a WAR to reset mphy rx after keeping ufs
in to hibernate state.
-WAR is implemented in ufs_tegra_hibern8_entry_notify function
and configured using NVQUIRK_BROKEN_HIBERN8_ENTRY quirk.
Change-Id: I9f80edfc8f2c4bd6ae6a8909fc0e28943a44f905
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/
1263089
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Naveen Kumar Arepalli [Thu, 1 Dec 2016 04:24:01 +0000 (09:54 +0530)]
scsi: ufs: define hibern8_entry_notify.
Define hibern8_entry_notify event to handle hibernate
entry event.
hibern8_entry_notify is defined to handle ufs tegra specific
WAR.
Change-Id: Ia559b88fe07ad4580bf08b5608757ff7ea24131c
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/
1263088
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Venkat Reddy Talla [Fri, 25 Nov 2016 11:56:28 +0000 (17:26 +0530)]
ARM64: config: t186: enable media remote control
Enabling media remote control configs as part kernel
unification.
CONFIG_MEDIA_RC_SUPPORT=y
CONFIG_RC_DEVICES=y
CONFIG_IR_GPIO_CIR=y
boot.img size increased by 94208 bytes
Bug
200256189
Change-Id: I99a0f8218ce2b547b774b4837d8da9d39a847cd2
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/
1260016
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Animesh Kishore [Thu, 27 Oct 2016 08:22:02 +0000 (13:52 +0530)]
video: tegra: dp: Add DT enhanced framing control
Bug
200240709
Change-Id: If5e7fd65ec265b9c1a6cb98b2b6909f4a7406466
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/
1243618
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Laxman Dewangan [Tue, 6 Dec 2016 13:46:57 +0000 (19:16 +0530)]
arm: mach-tegra: include: get rid of unused header
Following header is not used in any of source code and hence
remove the headers:
arb_sema.h
dtv.h
nand.h
timex.h
tsensor.h
w1.h
bug
200259459
Change-Id: Iec36bb82a7e7bea34895f5350167f1efd866b214
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1265919
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Laxman Dewangan [Tue, 6 Dec 2016 13:39:33 +0000 (19:09 +0530)]
staging: nvshm: Remove the nvshm driver
This driver is not used in any platform and does not
get compiled properly. Remove this driver from K4.4
source tree.
bug
200259459
Change-Id: I3be99f5f602553a5af121144e40c2415958b263a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1265915
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
Laxman Dewangan [Tue, 6 Dec 2016 13:37:03 +0000 (19:07 +0530)]
arm: mach-tegra: include: get rid of tegra-bb
There is no source for using the header tegra-bb* and tegra_bb*.
So removing these header file to reduce the files from
mach/include.
bug
200259459
Change-Id: I2c2346bbafa717ed6a515e5022ed607cb7d9ffe2
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1265914
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
Venkat Reddy Talla [Tue, 6 Dec 2016 13:20:24 +0000 (18:50 +0530)]
ARM64: config: t18: enable LEDS_PWM module
boot.img size not changed
Bug
200256189
Change-Id: I7c8ebc5699c65c358133df5a4115d933a9d1e8f7
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/
1265881
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Venkat Reddy Talla [Tue, 6 Dec 2016 13:03:31 +0000 (18:33 +0530)]
ARM64: config: t18: enable NVDEC BOOTLOADER
Enabling NVDEC BOOTLOADER config for kernel
unification
boot.img size not changed
Bug
200256189
Change-Id: Ie14baf796947aebf9d72ce457ac93cb7c4db97d6
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/
1265870
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>