4 years agoasoc: es755: tuning parameters for voice search
Srinivas Anne [Mon, 31 Aug 2015 16:48:38 +0000]
asoc: es755: tuning parameters for voice search

FW vcesion: M90.5.2.12_B58902_NVidia_Hawkeye_MCFFillIn_STREAM.BIN

This binary has tuning parameters for following builtin mic usecases
Handheld( 2-mic)
1) Voice Search (preset 609)
2) Voice recording (preset 573)
3) Gamecast (preset 966)
4) Camcorder (preset 555)
5) Voip call (preset 570)
Others being modified partially and may see some improvement

Tabletop( back mic blocked)
1)Voice Search (preset 942)
2)Voice recording (preset 918)
3)Voip call (preset 914)

Bug 200124396
Bug 200131474

Change-Id: Ieb4c4d04444a9d5ec34974ff37ad83d6355bc374
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/791871
Reviewed-on: http://git-master/r/807137
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>

4 years agoALSA: hda: hdmi: remove check for HBR caps
Ashok Mudithanapalli [Wed, 16 Sep 2015 05:42:14 +0000]
ALSA: hda: hdmi: remove check for HBR caps

By assuming HW always suuports HBR, remove
the HBR caps check on pinwidget.

Bug 200135860

Change-Id: Id97ac8a9e8e96f2512637d191589d01aff3ac210
Signed-off-by: Ashok Mudithanapalli <ashokm@nvidia.com>
Reviewed-on: http://git-master/r/799963
(cherry picked from commit 510d429a7125685c6599da018d6c24224a903037)
Reviewed-on: http://git-master/r/802267
(cherry picked from commit 9171ff3c25d47c8f44bad8358fc3e533a73f7516)
Reviewed-on: http://git-master/r/806873
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agovideo: tegra: dc: use fixed h_ref_to_sync value for HDMI
Santosh Reddy Galma [Mon, 14 Sep 2015 11:46:16 +0000]
video: tegra: dc: use fixed h_ref_to_sync value for HDMI

use fixed h_ref_to_sync value of 1 for HDMI to fix
HDMI 7-25 video format timing compliance test failure.
Previously fixed values of v/h_ref_to_sync were used for
HDMI IP. But calculated v/h_ref_to_sync values were used
with change http://git-master/r/#/c/554713/ as a part of
bug 1631663 to enable IMP. But this caused 7-25 video format
timings compliance failure. This change fix it using fixed
h_ref_to_sync value as it doesn't affect IMP with acceptance
from hw. More detailed discussion in the bug.

Bug 200129647

Change-Id: I26dd0a04184f494b14a66ce08c2cf5d25048ec98
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/798713
(cherry picked from commit dffaf94e83434ff090bd6ecfc0d3847ff9c8f66f)
Reviewed-on: http://git-master/r/806578
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agoarm64: boot: dts: Add HDMI prod settings for Darcy
Chaitanya Bandi [Mon, 10 Aug 2015 22:43:06 +0000]
arm64: boot: dts: Add HDMI prod settings for Darcy

Bug 200106837

Change-Id: I70493dea516c3dec90212892e857541753a6d5be
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/781305
(cherry picked from commit 71b50e1421bd3b1b9828b737989fbf5be049acb2)
Reviewed-on: http://git-master/r/806161
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agoarm64: tegra: enable AOTAG
Hyungwoo Yang [Tue, 14 Jul 2015 17:24:10 +0000]
arm64: tegra: enable AOTAG

- Make a darcy-common dts file for common configuration
  between Darcy EMMC and Darcy Pro.

- Enable AOTAG for darcy

Bug 1646378

Change-Id: Ie40802d626ef81f7d8e82e67491ccf0226a03ba0
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/769948
(cherry picked from commit 1e2c0b0c4fc8dbaa1075a3c3fed7b3f1fe4ef672)
Reviewed-on: http://git-master/r/806160
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dc: Tune timestamp wait slack
David Lock [Tue, 8 Sep 2015 22:54:25 +0000]
video: tegra: dc: Tune timestamp wait slack

Reduce the DC driver slack for waiting for timestamps.  This allows
us to wake up more consistently on timestamps smoothing the actual
present cadence of frames.

Bug 1684016

Change-Id: I0a4f7ce29880645a12791a38bb407ae5fa26c60a

Change-Id: Ie36b31eaa626661917577d4c77001d6a61b0f5af
Reviewed-on: http://git-master/r/795999
Signed-off-by: Jonathan McCaffrey <jmccaffrey@nvidia.com>
Reviewed-on: http://git-master/r/806154
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dc change endianness of type field
Sharath Sarangpur [Fri, 25 Sep 2015 04:27:28 +0000]
video: tegra: dc change endianness of type field

Changed the stremid_type to big endian

Bug 1683539

Change-Id: I691707bb4e28d7e11b84130fe85dd40274ed3830
Signed-off-by: Sharath Sarangpur <ssarangpur@nvidia.com>
Reviewed-on: http://git-master/r/805612
Reviewed-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

4 years agohawkeye: Change touch spi clock to 25Mhz.
Jordan Nien [Mon, 7 Sep 2015 14:29:11 +0000]
hawkeye: Change touch spi clock to 25Mhz.

- Change SPI clock from 30Mhz to 25Mhz to
  get reliable SPI transfer.

Bug 200128133

Change-Id: Iddacf16fa6aafce7a4e80daf8db7b101653195ec
Signed-off-by: Jordan Nien <jnien@nvidia.com>
Reviewed-on: http://git-master/r/795301
(cherry picked from commit 8f306b5e6842942c00fc5387063546f7af8da8cd)
Reviewed-on: http://git-master/r/804360
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoinput: touch: sharp: update to version 14.
Jordan Nien [Thu, 3 Sep 2015 05:46:26 +0000]
input: touch: sharp: update to version 14.

- Added sysfs(test) for sensor check
- Added sysfs(log) for debugging
- Added reset control when wakeup_enable is disable
- Added trace log and fail safe

Bug 200128133

Change-Id: I11307948b19223095a232cdfdd89149bb002efbb
Signed-off-by: Jordan Nien <jnien@nvidia.com>
Reviewed-on: http://git-master/r/793557
(cherry picked from commit 6bd91b8a869d473aaa0ff71e66c1246e9b8091d5)
Reviewed-on: http://git-master/r/804359
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Chuang <echuang@nvidia.com>

4 years agoARM: tegra: hawkeye: added SPI4 dynamic pinmux
David Pu [Fri, 21 Aug 2015 21:20:19 +0000]
ARM: tegra: hawkeye: added SPI4 dynamic pinmux

internal pull down and tristate SPI4 pins dynamically to avoid LP0 power
leakage and touch controller power sequence violation during LP0 entry/exit.

Bug 1650903
Bug 200129779

Change-Id: I6b0943cd73d842cf4b8656cc3ad376345c31e24a
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/787575
(cherry picked from commit 97a8cbe88e46ce8fe743d992a473687934cf966c)
Reviewed-on: http://git-master/r/804357
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jordan Nien <jnien@nvidia.com>
Tested-by: Jordan Nien <jnien@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoinput: touch: sharp: fix power sequence/leakage
David Pu [Fri, 21 Aug 2015 21:30:33 +0000]
input: touch: sharp: fix power sequence/leakage

added dynamic spi4 pinmux controll to avoid power sequence violation and
power leakage.

Bug 1650903
Bug 200129779

Change-Id: I3c33c42376c687fff2fe5573a679f86aafaa6a98
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/787576
(cherry picked from commit 0f80768cd1fc6cb30b6075991ab2dce8ae9faab1)
Reviewed-on: http://git-master/r/804356
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jordan Nien <jnien@nvidia.com>
Tested-by: Jordan Nien <jnien@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoof: plugin-manager: correct ids and odm-data path in chosen
Laxman Dewangan [Mon, 28 Sep 2015 08:51:11 +0000]
of: plugin-manager: correct ids and odm-data path in chosen

The odm-data and ids information is available on the /chosen/ node
as
/chosen/plugin-manager/ids
/chosen/plugin-manager/odm-data

Correct the path and add support of odm data matching.

bug 200137206

Change-Id: I5c82567943021271b870e07db06a741bddf71e82
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/805881
(cherry picked from commit 89de557fcb1cef68a0d89e71094623d25b3e3bf6)
Reviewed-on: http://git-master/r/806529
GVS: Gerrit_Virtual_Submit

4 years agoarm64: tegra: jetson_cv: add support for e2614 b00
Sharad Gupta [Wed, 23 Sep 2015 19:18:54 +0000]
arm64: tegra: jetson_cv: add support for e2614 b00

Added support for B00 version of Super I/O. B00 will be a
default option. Also added separate DT for A00.

Bug 200140981

Change-Id: I3048b03a0cf9b1db9b02213ef8e3123737dba5d7
Signed-off-by: Asha T <atalambedu@nvidia.com>
Reviewed-on: http://git-master/r/805672
(cherry picked from commit c82b925804ef7c4ca06d80728d4b2f47fec91038)
Reviewed-on: http://git-master/r/806304
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>

4 years agoasoc: es755: tuning parameters for voip call
Srinivas Anne [Fri, 21 Aug 2015 23:52:12 +0000]
asoc: es755: tuning parameters for voip call

Incorporated tuning parameters for voip speaker/built-in mic usecase

tuning parameters are partially modified for other usecases as well.

Bug 200124396

Change-Id: Ia925e5908e5c380209b9d38f54733dce0bde0082
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/787628
Reviewed-on: http://git-master/r/807134
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agoarm: tegra: audio: add dt support for audience fw
Srinivas Anne [Tue, 22 Sep 2015 00:11:40 +0000]
arm: tegra: audio: add dt support for audience fw

Hawkeye and Loki use different mic tuning parameters and these params
are part of Audience firmware binary.

Updated Audience device tree node to store firmware binary name.
Driver will read FW binary info from DT and load appropriate firmware.

bug 1689236

Change-Id: I9baf8b081ad5c9e8922018a4a9fc6e731c54f61a
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/803893
(cherry picked from commit 262aea320f4766d2ec6f63f209f3ee419b549ad5)
Reviewed-on: http://git-master/r/807100
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agoxhci: tegra: Set trigger to boost frequency
Krishna Yarlagadda [Mon, 6 Jul 2015 18:07:52 +0000]
xhci: tegra: Set trigger to boost frequency

Boost cpu frequency only when buffer of bulk and isoc
transfers exceeds particular size configured by dt

Bug 200115844

Change-Id: Ia6948395d893e426600ba0554f50f209f6d921d4
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/769451
(cherry picked from commit 5a59707a8b75ad0e836650551c232e855914cad8)
Reviewed-on: http://git-master/r/806623
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agoarm64: jetson: dts: set default boost for xhci
Krishna Yarlagadda [Mon, 6 Jul 2015 18:24:23 +0000]
arm64: jetson: dts: set default boost for xhci

Jetson boards have ethernet device on xhci and this
will cause cpu boost to be always on which is not desired
Removed dt change to load default boost frequency 800MHz

Bug 200115844

Change-Id: Iad8d370f4036b08b5491b033d1d8e147c522845e
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/769452
(cherry picked from commit 84df26d6fe3a678e6b606563f5e80f6ad151ad2f)
Reviewed-on: http://git-master/r/806592
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoALSA: hda: Correct dp audio infoframe
Rahul Mittal [Thu, 24 Sep 2015 12:37:08 +0000]
ALSA: hda: Correct dp audio infoframe

Was facing an issue with multi-ch audio over DP
because the channels fields (CC02_CT47) in the
dp_audio_infoframe struct was getting written into
AC_VERB_SET_HDMI_DIP_DATA verb at index 4 instead
of index 5. This caused wrong channel count to be
detected by the SOR/DP hardware.

Bug 200137880

Change-Id: I1bec75310dce0c26fd686cc9dab9938b38a8ac0a
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/804172
(cherry picked from commit 62d7cb125d7b986c0e663da29373b2d4c0860544)
Reviewed-on: http://git-master/r/806492
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>

4 years agovideo: tegra: hda: Fix multiple DP audio issues
Rahul Mittal [Thu, 24 Sep 2015 04:27:40 +0000]
video: tegra: hda: Fix multiple DP audio issues

Fix multi-channel audio over DP.
Fix warning due to unnecessary access of
DP link programming code.

Bug 200137880

Change-Id: Ifb52e45b82fbb0dd3ef29e71445571fb9911fa0a
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/791023
(cherry picked from commit fb97d6be96c5904173382e36c8de1f9f57c4428c)
Reviewed-on: http://git-master/r/806491
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>

4 years agoRevert "xhci: tegra: load fw from filesystem earlier"
Petlozu Pravareshwar [Tue, 29 Sep 2015 16:49:05 +0000]
Revert "xhci: tegra: load fw from filesystem earlier"

This reverts commit 6875a1752b3ed4e121efcc3fddca0810ffd22546.

Change-Id: I127a1fb415b169b64c3c83b9a755990829ae24fb
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/807095
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Tested-by: Ashutosh Jha <ajha@nvidia.com>

4 years agobcmdhd88: Add DTB support for MAC address
Mohan Thadikamalla [Tue, 29 Sep 2015 07:24:07 +0000]
bcmdhd88: Add DTB support for MAC address

Issue: MAC is not set properly once when DTB is
enabled.

Fix: Add changes to support MAC for DTB

Bug 200141675

Change-Id: I6cab6551435a88b471640fef2b46d2a25fc8afa6
Signed-off-by: Mohan Thadikamalla <mohant@nvidia.com>
Reviewed-on: http://git-master/r/806507
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoASoC: tegra-alt: Enable DCR and DMIC Boost Gain
Viswanath L [Thu, 23 Jul 2015 12:04:22 +0000]
ASoC: tegra-alt: Enable DCR and DMIC Boost Gain

 - DCR filter enabled
 - Mixer control "Boost Gain" provided (with 100x factor); gain
   is applied in LP filter configured for passthrough

Bug 200108603

Change-Id: If1e3cfa8cc0b5a3a186ebd6ecdeba9a5a3cc2ef3
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/802680
(cherry picked from commit 4498fa1cfab4e121796ff20c36fe3c8398ddd1a0)
Reviewed-on: http://git-master/r/805862
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agoASoC: tegra-alt: Update DMIC DCR coeff to POR
Viswanath L [Tue, 15 Sep 2015 09:55:08 +0000]
ASoC: tegra-alt: Update DMIC DCR coeff to POR

TEGRA210_DMIC_DCR_BIQUAD_0_COEF_4 is corrected to 0x0
(as per latest POR)

Bug 200134942
Bug 200078772

Change-Id: I628c2d3e18615df476b67761553762a23f1fe47e
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/802678
(cherry picked from commit 65882abd69f17d0bbad7bd12646c3975352362a1)
Reviewed-on: http://git-master/r/805861
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agot210: video: tegra: dc: set cursor start address
Naveen Kumar S [Wed, 23 Sep 2015 11:32:07 +0000]
t210: video: tegra: dc: set cursor start address

Initalise cursor start address and update cursor registers
while enabling dc controller. This is needed as driver depends
on HW state.

bug 200119332

Change-Id: If791cd5bf4719e90e7de19e03621814174bb2622
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/803745
(cherry picked from commit 282aa5c538d1c6cf9e9f51b3064b3d37feb5db28)
Reviewed-on: http://git-master/r/805858
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agovideo: tegra: set dc blank on display timeout
Naveen Kumar S [Wed, 23 Sep 2015 08:51:20 +0000]
video: tegra: set dc blank on display timeout

While unblanking FB, all available windows are sync'd again only
if dc is in blanked state. Hence, set dc blank state to true
when dc is disabled during display timeout.

bug 200136625

Change-Id: Ic3f23801c1799b48477f512c6c319896a088afce
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/803552
(cherry picked from commit f55eb067c8cf2e5e721b42471ee44659bf435467)
Reviewed-on: http://git-master/r/805856
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agobcmdhd_88: add cfg80211 vendor command support
Om Prakash Singh [Wed, 23 Sep 2015 12:18:53 +0000]
bcmdhd_88: add cfg80211 vendor command support

add change to support vendor command:
 ANDR_WIFI_SET_COUNTRY
 GSCAN_SUBCMD_GET_CHANNEL_LIST
 WIFI_OFFLOAD_SUBCMD_START_MKEEP_ALIVE
 WIFI_OFFLOAD_SUBCMD_STOP_MKEEP_ALIVE
 BRCM_VENDOR_SCMD_PRIV_STR

This code is copied from below source
https://android.googlesource.com/kernel/common
branch: bcmdhd-3.10

Bug 200141562
Change-Id: I732df79fc68cee849d97823e6aca518ed77bbef3
Signed-off-by: Ecco Park <eccopark@broadcom.com>
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/805711
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kasturi Raghavender <kraghavender@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agogpu: nvgpu: Add CDE bits in FECS header
sujeet baranwal [Mon, 31 Aug 2015 22:32:13 +0000]
gpu: nvgpu: Add CDE bits in FECS header

In case of CDE channel, T1 (Tex) unit needs to be promoted to 128B
aligned, otherwise causes a HW deadlock. Gpu driver makes changes in
FECS header which FECS uses to configure the T1 promotions to aligned
128B accesses.

Bug 200096226

Change-Id: Ic006b2c7035bbeabe1081aeed968a6c6d11f9995
Signed-off-by: sujeet baranwal <sbaranwal@nvidia.com>
Reviewed-on: http://git-master/r/792051
(cherry picked from commit 447f626cad11bec7695a3284b8f795e4f324dda3)
Reviewed-on: http://git-master/r/804513
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Tested-by: Kerwin Wan <kerwinw@nvidia.com>

4 years agoMerge "Merge commit for removing exec domain support" into rel-24
mobile promotions [Tue, 29 Sep 2015 17:56:42 +0000]
Merge "Merge commit for removing exec domain support" into rel-24

4 years agodrivers: mmc: disable deferred resume for sd card
Jeetesh Burman [Mon, 31 Aug 2015 03:51:10 +0000]
drivers: mmc: disable deferred resume for sd card

Enable MMC_BLOCK_DEFERRED_RESUME only for mmc0.

And disabling same for SD card by setting
bus_resume_flags and rescan_disable to 0 after its
enumeration successfully done.

Bug 200130799

Change-Id: If54eceb3661516a3db4e3dcef44920e7c6e75da3
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/791579
(cherry picked from commit 9ab82fd0b91ce1fe38b07bf85a428b55fb407281)
Reviewed-on: http://git-master/r/805839
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agoMerge commit for removing exec domain support
Sharif Inamdar [Mon, 28 Sep 2015 15:17:43 +0000]
Merge commit for removing exec domain support

Exec domain was incomplete and unstable, these were leading
to unnecessary avc denied prints for personality-8

Bug 1683050

Change-Id: Id455cc213c20dc61a1908c1225302d7764dd81de
Signed-off-by: Sharif Inamdar <isharif@nvidia.com>

4 years agovideo: tegra: dc: Fix HDMI cert compliance
Aly Hirani [Thu, 10 Sep 2015 05:07:39 +0000]
video: tegra: dc: Fix HDMI cert compliance

This change fixes the HDMI cert compliance for the 23.976 Hz mode. In
that mode, we were not setting the extended_vic correctly (it was being
set as 0). This was because the 23.976's fb_videomode didn't match
exactly to the 24 Hz one specified in the hardcoded list.

This is only a short-term WAR to remove the VMODE and fix the pclk
before comparing the fb_videomodes. It also removes the comparison on
the fb_videomode's refresh field (which unfortunately is not accurate at
all due to all the rounding that we've had to do because of 23.976 Hz
modes).

As a temporary WAR, this change replaces the fb_mode_is_equal() call
with an expanded if check. This probably needs be redone before
integration to other branches, but should fix the associated cert
failure.

Bug 200137448

Change-Id: Ica8bfd6c2292acd7911f33fe317dad107ae571c7
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/796834
(cherry picked from commit e16a46f307d9195d0fe84755fc983cc6e92c7d9b)
Reviewed-on: http://git-master/r/805078
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agovideo: tegra: dc: enable 1000/1001 modes
Aly Hirani [Tue, 18 Aug 2015 09:48:42 +0000]
video: tegra: dc: enable 1000/1001 modes

This change enables the 1000/1001 modes for T210. On T210, we have a fractional
divider available for DC. This allows us to generate pclks almost closely
accurate to the common 1000/1001 modes such as 23.976, 29.97 and 59.94 Hz.

This change:

1. Adds a new VMODE flag to signify modes which are * 1000 / 1001
2. Filters exclusively for 24/30/60 Hz modes in the EDID parser, duplicates
   these modes and changes them to be the 1000 / 1001 modes
3. Changes the dc pclk calculation to take into account these modes during the
   rounding

Bug 200111432

Change-Id: I2cc762b2338ce5662d85891859327015e88b670b
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/786281
(cherry picked from commit 2879633052ba8329bc9373f694fa7bcd4ee59d37)
Reviewed-on: http://git-master/r/805081
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agovideo: tegra: hdmi: fix mode_filter mode rejection
Naveen Kumar S [Mon, 24 Aug 2015 11:54:41 +0000]
video: tegra: hdmi: fix mode_filter mode rejection

When comparing Pixel clock in Pico Seconds, we should reject
those modes which are less than maximum supported pixel clock
in pico seconds. This is equivalent to rejecting modes that
need a higher pixel clock frequency than maximum pixel clock.

bug 200130894

Change-Id: Ie9b0f64867533ad9b4234216d15c56e9062d4a4e
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/788160
(cherry picked from commit 63aaf1e03a8fe462fe6031373bd592e8da67c1dd)
Reviewed-on: http://git-master/r/805860
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agovideo: tegra: hdmi: read scdc status flags
Emma Yan [Thu, 17 Sep 2015 08:55:48 +0000]
video: tegra: hdmi: read scdc status flags

According to 6.1.3.1 of HDMI 2.0, source shall poll
the Scrambling_Status bit following the writeof
Scrambling_Enable to a 1 and following transmission of
scrambled video. Moreover, the 10.4 section indicated
that source shall verify a valid HF-VSDB in the EDID
and set the scdc_present bit before accessing SCDC.

Bug 1661387

Change-Id: I97a867f6589f920c2a7ae3aa43c459dd8122edf8
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/802082
(cherry picked from commit cb7d171ac8f16edb37b455e3eaa3adfdb31aa6dc)
Reviewed-on: http://git-master/r/805859
Reviewed-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
GVS: Gerrit_Virtual_Submit

4 years agoplatform: tegra: emc: Fix logic in EMC CC
Alex Waterman [Thu, 27 Aug 2015 17:50:18 +0000]
platform: tegra: emc: Fix logic in EMC CC

Fix some logic in the EMC clock change. The problem was that a bitwise and
operation was compared against the literal value 1. The idea was to actually
test if the bit was set.

Bug 1416640

Change-Id: Ib30c36bb59206b1637ff1fe0443b918c2e493ebe
Signed-off-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit 596b24d0435b5765709c89afeb2402ad9a0e805e)
Reviewed-on: http://git-master/r/804916
GVS: Gerrit_Virtual_Submit
Tested-by: David Dastous St Hilaire <ddastoussthi@nvidia.com>
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agomedia: platform: tegra: imx132 power delay
Gary Fitzer [Tue, 21 Jul 2015 01:13:50 +0000]
media: platform: tegra: imx132 power delay

Increase delay time for imx132 power up sequence.

Bug 1666183.

Change-Id: Ice40e33d30bbe5b4904858478bca6ed1a1baeb32
Signed-off-by: Gary Fitzer <gfitzer@nvidia.com>
Reviewed-on: http://git-master/r/772581
(cherry picked from commit 84522c89f2ac7747fc1d92a7ccd4a2fbdec45968)
Reviewed-on: http://git-master/r/805489
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anton Kondratenko <akondratenko@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
GVS: Gerrit_Virtual_Submit

4 years agoARM64: dtsi: Disable sdmmc3.
Naveen Kumar Arepalli [Fri, 18 Sep 2015 01:36:29 +0000]
ARM64: dtsi: Disable sdmmc3.

-SD is unable to mount because the mount point of SD has
changed as sdmmc3 is enabled.

Bug 200140103

Change-Id: I2b9a67e798c7b43a21b216894b968cf8a3bc0287
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
(cherry picked from commit 1dcdeefcd4c6106b5de7aff862a169970160d5af)
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/804270
Reviewed-by: Automatic_Commit_Validation_User

4 years agoRevert "ARM64: tegra210: hawkeye: set FPS timing to 5120us"
Todd Poynter [Tue, 15 Sep 2015 15:57:13 +0000]
Revert "ARM64: tegra210: hawkeye: set FPS timing to 5120us"

Test revert for 200138938 on iBeta branch.

Bug 200138938
Bug 1675404

This reverts commit 026cfb24edbf6628af4826137d3669735acdbf56.

Change-Id: I188d02762065e45ed9a9aad80a65243b0eb92c74
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/799448
(cherry picked from commit 7655ce60d946bee88b5dbe952c036e691b60779c)
Reviewed-on: http://git-master/r/802972
(cherry picked from commit e5dd25d322ebff4bdf2826102a63ee371777d04b)
Reviewed-on: http://git-master/r/804291

4 years agoARM: config: tegra12: enable bcmdhd_88 WiFi driver
Om Prakash Singh [Tue, 15 Sep 2015 06:55:31 +0000]
ARM: config: tegra12: enable bcmdhd_88 WiFi driver

Bug 200138217

Change-Id: I9f6eb14f7703d343b0d8ab787fd1ce3dbf8a2bae
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/799257
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agonet: wireless: bcmdhd_88: add bcmdhd 1.88.55 driver
Om Prakash Singh [Tue, 8 Sep 2015 12:07:24 +0000]
net: wireless: bcmdhd_88: add bcmdhd 1.88.55 driver

- Copy bcmdhd driver from rel-st8-l-shieldtablet8
- MakeFile and Kconfig change for Build
- Add DT support
- Add NV_COUNTRY command

copy bcmdhd driver from rel-st8-l-shieldtablet8. Below are recent change log:

9653f63 wireless: bcmdhd: Fix Wi-Fi reset on country code change
09978bb net: wireless: bcmdhd: update disconnect event to upper layer
a55ec18 bcmdhd: fix bcmdhd_irq_number issue for pcie
bd5ffda net: wireless: bcmdhd: Send DISASSOC to FW if status of wlan is connecting
70a3133 net:wireless: bcmdhd: set on and off delay
3d50436 net: wireless: bcmdhd: revert netstat
a20f874 net: wireless: bcmdhd: add nvidia specific country code revision
d4df80a Revert "net: wireless: bcmdhd: apply "Remove CMD_COUNTRY private command""
fc4ab04 net: wireless: bcmdhd: capture driver suspend/resume call
ac7665b Fix rx_tid settings when VSDB disabled in firmware
b7469b6 net: wireless: bcmdhd: apply "Remove CMD_COUNTRY private command"
041c5e4 net: wireless: bcmdhd: add missing check for TEGRA_REGION_BASED_NVRAM
1416695 net: wireless: bcmdhd: add IN country code which maps to US
805d22c net: wireless: bcmdhd: fix p2p chanspec for 5GHz band
6987bff net: wireless: bcmdhd: Add support for region based country code
2bd0ac2 net: wireless: bcmdhd: dummytimestamp packets
5c1e81e net: wireless: bcmdhd: fix deadlock in netstat
1baad10 net: wireless: bcmdhd: Add AUTOSLEEP driver command
2ed066b net: wireless: bcmdhd: store netstat as binary array
3436b70 net: wireless: bcmdhd: packet capture by default to sys node
3a54a5c net: wireless: bcmdhd: Custom sysfs for netstat.
66de1d2 net: wireless: bcmdhd: start and stop packet capture

Bug 200138217
Change-Id: I221b738e893b240adc14f98ffe07c48bdc0c5c21
Signed-off-by: Dhruvaraja Kunjar <dkunjar@broadcom.com>
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/799256
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoarm64: dts: tegra210: add jetson cv hdmi prod settings
Santosh Reddy Galma [Tue, 30 Jun 2015 10:01:33 +0000]
arm64: dts: tegra210: add jetson cv hdmi prod settings

Bug 1660935

Change-Id: I15630379e742408ea065fa282d9d224b5013da0d
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/764115
(cherry picked from commit 5bb1b03fbae991a161f2546e915e532147022561)
Reviewed-on: http://git-master/r/800807
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agobacklight: lp855x: set zero brightness at FBBLANK
Shingo Nakao [Tue, 2 Jul 2013 12:15:54 +0000]
backlight: lp855x: set zero brightness at FBBLANK

When backlight turns on early from display, a white line can be
seen on the screen. Therefore make sure backlight is off when we
are under an fb blank event.

Bug 200089489

Change-Id: I5cd70bfda9902a982d168f2c5b4388424e7d800c
Signed-off-by: Shingo Nakao <shingo.x.nakao@sonymobile.com>
Cc: Milo Kim <milo.kim@ti.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Oskar Andero <oskar.andero@sonymobile.com>
Acked-by: Milo Kim <milo.kim@ti.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
(cherry picked from commit 9f0a511f4a227c58c45b65c10fd2b85586360f67)
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Change-Id: If86de80c15400db7ed28832f369328b5031d6d02
Reviewed-on: http://git-master/r/800929
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

4 years agobacklight: lp855x: add check_fb to bl ops
Shu Zhong [Fri, 4 Sep 2015 02:09:17 +0000]
backlight: lp855x: add check_fb to bl ops

Add check_fb function to bl ops so that lp855x driver
only responds when correct fb device is blanked/unblanked.

Change-Id: I944d5dbbaf2deb6f721fd62c754b5738438957e9
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/794055
(cherry picked from commit bdedec2028e9af1fd7ad8386a29c7e68702fcf18)
Reviewed-on: http://git-master/r/797980
(cherry picked from commit fa52193da098f84cfa53cee3e6b6008ba8eecad9)
Reviewed-on: http://git-master/r/800793
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agobcmdhd: lower verbosity of empty sched scan alert
Zheng Liu [Mon, 18 May 2015 21:59:28 +0000]
bcmdhd: lower verbosity of empty sched scan alert

When a regular scan returns no suitable networks, user-space issues an
empty scheduled scan request with no matchset or ssid. This is not handled
by firmware so driver returns an error. However, the accompanying alert
should not be logged at error level. Debug level is more appropriate.

Bug 200101560

Change-Id: I63f871ffee3cffcf6ca1b4b4ac093afc4e89f80d
Signed-off-by: Zheng Liu <zhliu@nvidia.com>
Reviewed-on: http://git-master/r/744034
(cherry picked from commit 6d980dc6d5155e81333451066c5b87ec6f400e79)
Reviewed-on: http://git-master/r/763846
Reviewed-by: Allen Martin <amartin@nvidia.com>

4 years agoarm64: tegra210: update P2143-1199sku emc tables
Ishwarya Balaji Gururajan [Tue, 21 Apr 2015 01:27:24 +0000]
arm64: tegra210: update P2143-1199sku emc tables

408Mhz is added in DVFS table
665.6Mhz inbound dqIvref setting is updated

bug 1608816

Signed-off-by: Ishwarya Balaji Gururajan <igururajan@nvidia.com>
Change-Id: I5c195ca7bbb99beef229ba907fb20b6572d5b0cf
Reviewed-on: http://git-master/r/733399
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agoarm64: dts: hawkeye: update emc DVFS to rev.7
Robert Shih [Wed, 5 Aug 2015 10:17:25 +0000]
arm64: dts: hawkeye: update emc DVFS to rev.7

bug 1608434

Change-Id: Ie38d1cf90d29474332347a49682b34eb8b518ef6
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/779147
(cherry picked from commit e650c76d23df9e211146b00d6abf53ba8cef1977)
Reviewed-on: http://git-master/r/785130
(cherry picked from commit 2a35db938623a8e468c22dca5cd8677453cd379f)
Reviewed-on: http://git-master/r/785001
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agoiio: proximity: configurable SAR resume
Erik Lilliebjerg [Fri, 11 Sep 2015 12:29:04 +0000]
iio: proximity: configurable SAR resume

- Add a device tree parameter to set the deferred resume execution delay.
  This allows no IQS device interactions when there are fast system resume
  suspends.
- Add a device tree parameter to set the SAR GPIO assertion level when the
  IQS device is configured as a non-wake device.  In other words, when the
  device is configured for sleep during suspend, this DT setting determines
  the SAR GPIO state during the suspend period.

Bug 200133919.

Change-Id: I5c26835d673b65c00742307dc9454f20baa91988
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/797723
(cherry picked from commit ea3ea28b324ab87139404bb26490e1f58a0653a5)
Reviewed-on: http://git-master/r/800321
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>

4 years agoiio: proximity: Configure SAR deferred resume time
wahsu [Mon, 14 Sep 2015 03:22:18 +0000]
iio: proximity: Configure SAR deferred resume time

Set the deferred resume execution delay to 3000ms.
This allows no IQS device interactions when there are fast system resume
suspends.

Bug 200133919

Change-Id: Ie06254b5961a62c41dd95fabd7e2cd0477c6b51a
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/798536
(cherry picked from commit b0cc84877373dd5078de7ba321b9fa2732a57942)
Reviewed-on: http://git-master/r/800320
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>

4 years agoIQS2x3: Disable SAR wake up interrupt flag
wahsu [Thu, 10 Sep 2015 03:03:57 +0000]
IQS2x3: Disable SAR wake up interrupt flag

SAR interrupt is not a wake up GPIO, therefore, these bits should be cleared
with DTS setting which overrides the defaults.
Also, by clearing these bits, it tells the SAR kernel driver to put the device
to sleep during system suspend instead of being operational.

Change-Id: If3fc1747c35deb274f2846c354c5dda8a09d550a
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/796753
(cherry picked from commit 77fc6c96d34c8e656583c27707cd3d1240b833f2)
Reviewed-on: http://git-master/r/800319
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>

4 years agoARM: tegra: Hawkeye: make pin pex_l0_rst common
Daniel Solomon [Fri, 14 Aug 2015 00:05:24 +0000]
ARM: tegra: Hawkeye: make pin pex_l0_rst common

The pin pex_l0_rst is used by the bootloader as an
output GPIO. In order for this pin's pinmux to be
configured correctly by the bootloader, it needs to
be part of the common group. In addition, since it's
an output GPIO, this pin is no longer tristated.

(Previously all this was configured by the kernel, but now
we need this functionality in bootloader as well.)

Bug 1649961

Change-Id: If458767ecb191476d778630f1152e7636cb85a51
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/783341
(cherry picked from commit c4961707ae44c77ce588568873643a6d38b248ca)
Reviewed-on: http://git-master/r/798837
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agogpu: nvgpu: fix runlist update timeout handling
Vijayakumar [Tue, 4 Aug 2015 11:44:54 +0000]
gpu: nvgpu: fix runlist update timeout handling

bug 1625901
1) disable ELPG before doing GR reset when runlist update times out
2) add mutex for GR reset to avoid multiple threads reseting GR
3) protect GR reset with FECS mutex so that noone else submits methods

Change-Id: I02993fd1eabe6875ab1c58a40a06e6c79fcdeeae
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/778630
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

4 years agodvfs: tegra21: update qspi ddr dvfs table
Kerwin Wan [Mon, 14 Sep 2015 12:02:46 +0000]
dvfs: tegra21: update qspi ddr dvfs table

For ddr mode, DIV2 is always set for qspi. So
double the clock limit for qspi ddr dvfs table
and correct the max qspi clock correspondingly.

Bug 200129627

Change-Id: I4e8f7c5f93a6784aa2bb5c4b0719708a45361cbf
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/798721
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agotegra: soctherm: Disable H/W shutdown if no critical
Jinyoung Park [Mon, 31 Aug 2015 02:53:55 +0000]
tegra: soctherm: Disable H/W shutdown if no critical

This change disables H/W shutdown if there is no critical thermal
trip type. Because H/W shutdown is enabled for any thermal trips
on CPU, GPU, PLL and MEM due to POR setting.

Bug 1660452

Change-Id: I74879553ae16898ec054aa7eca44faf41556bc08
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/799094
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agonet: wireless: bcmdhd: Ignore IOCTL during shutdown
kraghavender [Mon, 14 Sep 2015 10:59:10 +0000]
net: wireless: bcmdhd: Ignore IOCTL during shutdown

Ignore the IOCTL's based on shutdown process instead of
additonal DHD_BUS and hang checks. Control hang logs
during shutdown process.

Bug 200135299

Change-Id: Ibecaf08b81a9460d55f23af28893435a1999af48
Signed-off-by: Kasturi Raghavender <kraghavender@nvidia.com>
Reviewed-on: http://git-master/r/798695
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Tested-by: Ashutosh Jha <ajha@nvidia.com>

4 years agoi2c: tegra-vi: retry on NACK
Anton Kondratenko [Thu, 10 Sep 2015 18:41:06 +0000]
i2c: tegra-vi: retry on NACK

In case of busy i2c try again to get ACK

Bug 1666183

Change-Id: Iae81361958baaf5d4a12ce573355059fa3fc55cf
Signed-off-by: Anton Kondratenko <akondratenko@nvidia.com>
Reviewed-on: http://git-master/r/797251
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agomm: don't consider isolations caused by migrating pages as direct reclaim isolations
Maneet Singh [Sun, 24 May 2015 22:22:03 +0000]
mm: don't consider isolations caused by migrating pages as direct reclaim isolations

Both migrations and direct reclaim code path mark pages as isolated
before using them. And to avoid massive number of tasks doing
simultaneous direct reclaims, if there are too many isolated pages
in the system, tasks get scheduled out in congestion_wait().

This can cause CMA allocation thread to end up in forever loop if
direct reclaim occurs while alloc_contig_range() attempts to migrate
many pages. This change adds a new gfp flag, GFP_MIGRATE, to avoid
congestion_wait() in migration code path.

Bug 200104609

Change-Id: I0019ea2d604d44a2c04622f8d1da8b0fa33124ed
Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com>
Reviewed-on: http://git-master/r/746555
(cherry picked from commit 77d693220e37783b217e48cdbd8f5fcae691bc79)
Reviewed-on: http://git-master/r/785658
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agobase: dma-coherent: don't do back to back VPR config updates
Maneet Singh [Tue, 5 May 2015 03:55:36 +0000]
base: dma-coherent: don't do back to back VPR config updates

VPR config update involves rail-gating GPU which can lead to UI
stutters. Current design was doing VPR config update one after the
other resulting in many close cycles of do_idle and do_unidle for GPU
which inturn resulted in UI stutters. This change space out these
updates.

Bug 1642389

Change-Id: I62c2c4de763d24dce6fcaba4e6023d0e9b645149
Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com>
Reviewed-on: http://git-master/r/738833
(cherry picked from commit 61eaa915fc26b5d6ec5ebb4f0828a77d5dbf6c35)
Reviewed-on: http://git-master/r/785655
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agotegra: nvmap: fix the possible dead lock
Xianhui Wang [Wed, 19 Aug 2015 04:26:42 +0000]
tegra: nvmap: fix the possible dead lock

bug 200107851

When a process call nvmap_iovmm_get_client_mss it will hold mutex_lock(&h->lock)

and try to get down_read(&mm->mmap_sem), at the same time if the related

process is calling nvmap_vma_close, it have hold mm->mmap_sem for write when

it entering vm_munmap, and try to get mutex_lock(&h->lock). Then the problem

happen, many process become "uninterruptable sleep" with the two process.

Then bugreport will not work.

Try to fix the problem and let nvmap_iovmm_get_client_mss get mmap_sem firstly

then it will align with nvmap_vma_close.

The call stack:

<6>[68949.696132] memory_usage.sh D ffffffc000086b1c    0 2771     1 0x00000000
<7>[68949.696140] Call trace:
<7>[68949.696146] [<ffffffc000086b1c>] __switch_to+0x3c/0x48
<7>[68949.696151] [<ffffffc000b90410>] __schedule+0x4b4/0x5e0
<7>[68949.696156] [<ffffffc000b90588>] schedule+0x4c/0x68
<7>[68949.696161] [<ffffffc000b91234>] __down_read+0xb8/0xe0
<7>[68949.696166] [<ffffffc000b8f85c>] down_read+0x28/0x38
<7>[68949.696174] [<ffffffc0004705b8>] nvmap_iovmm_get_client_mss+0xf8/0x1ac
<7>[68949.696180] [<ffffffc0004706fc>] nvmap_debug_iovmm_procrank_show+0x90/0x124
<7>[68949.696185] [<ffffffc0001c8b94>] seq_read+0x178/0x3d4
<7>[68949.696190] [<ffffffc0001a30c8>] vfs_read+0x94/0x158
<7>[68949.696195] [<ffffffc0001a3a78>] SyS_read+0xbc/0x16c
<6>[68949.696870] nvtest64       D ffffffc000086b1c    0 9220     1 0x00000000
<7>[68949.696877] Call trace:
<7>[68949.696883] [<ffffffc000086b1c>] __switch_to+0x3c/0x48
<7>[68949.696888] [<ffffffc000b90410>] __schedule+0x4b4/0x5e0
<7>[68949.696893] [<ffffffc000b90588>] schedule+0x4c/0x68
<7>[68949.696898] [<ffffffc000b90a04>] schedule_preempt_disabled+0x10/0x24
<7>[68949.696904] [<ffffffc000b8f42c>] __mutex_lock_slowpath+0x19c/0x264
<7>[68949.696909] [<ffffffc000b8f534>] mutex_lock+0x40/0x60
<7>[68949.696914] [<ffffffc00046ede8>] nvmap_vma_close+0x64/0x234
<7>[68949.696919] [<ffffffc000182e64>] remove_vma+0x3c/0x6c
<7>[68949.696924] [<ffffffc000184110>] remove_vma_list+0x68/0x9c
<7>[68949.696928] [<ffffffc000184b60>] do_munmap+0x1d8/0x250
<7>[68949.696932] [<ffffffc000184c18>] vm_munmap+0x40/0x64
<7>[68949.696937] [<ffffffc000184cc8>] SyS_munmap+0x8c/0x11c

Change-Id: Icee67329c2dbbd05b10a7ddf0dcc4167191623d3
Signed-off-by: Xianhui Wang <xianhuiw@nvidia.com>
Reviewed-on: http://git-master/r/785721
(cherry picked from commit 306af7c0b904d04300c8a6e202bdf7eea6acd5af)
Reviewed-on: http://git-master/r/788691
Reviewed-by: Maneet Maneet Singh <mmaneetsingh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agoarm64: dts: hawkeye: Remove unused dt prop
Harry Lin [Thu, 20 Aug 2015 06:45:13 +0000]
arm64: dts: hawkeye: Remove unused dt prop

long-press-power-key-on-enable is deprecated.
We now use only long-press-power-key-on-time.

Bug 200111953

Change-Id: Ia779db97e203b30bf33fabf620a6b1fd7bba9eb4
Signed-off-by: Harry Lin <harlin@nvidia.com>
Reviewed-on: http://git-master/r/786378
(cherry picked from commit de93e92c64caa188d06a8e260f0f73ef7067a211)
Reviewed-on: http://git-master/r/796951
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agostaging: ozwpan: don't use audio priority for none audio packets
Om Prakash Singh [Sat, 16 May 2015 06:08:03 +0000]
staging: ozwpan: don't use audio priority for none audio packets

Bug 1522708
Bug 200094897

Change-Id: Ied5ec5f428084beddad110a8e11718d76e0fab38
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/743515
(cherry picked from commit 233117f0474df197b87ba7b16b91e68d7e5cf4e5)
Reviewed-on: http://git-master/r/797628
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoRevert "arm64: tegra: loki: add derated dvfs tables"
Kerwin Wan [Mon, 14 Sep 2015 11:21:23 +0000]
Revert "arm64: tegra: loki: add derated dvfs tables"

This reverts commit 12c291f8a9efa88b4c5b27f3b7d5182f20fa8060
since it causes SC7 (LP0) instability on Jetson platform

Bug 200132113
Bug 1541472
Bug 1588955

Change-Id: Ida88f61c6a0cf34390fb9d463e172c71840faedf
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/798699
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agoarm64: tegra: jetson_cv: add gpio expander for super module
Kerwin Wan [Mon, 14 Sep 2015 09:00:26 +0000]
arm64: tegra: jetson_cv: add gpio expander for super module

Bug 200129230

Change-Id: I8655e4f056002ac3c0cad9a4a689441d860d2514
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/798638
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agoclock: tegra21: add emc and gbus clocks for edp
Arul Sekar [Wed, 8 Jul 2015 17:09:42 +0000]
clock: tegra21: add emc and gbus clocks for edp

- Adding battery.emc and battery.gbus clocks
- Used by sysedp dynamic capping driver

Bug 1663616

Change-Id: I3055932fe08863bba9b1cddb7336b62feaa17d3e
Signed-off-by: Arul Sekar <aruls@nvidia.com>
Reviewed-on: http://git-master/r/767957
(cherry picked from commit 2d813efdd0d958e7ece6402af081e9c558075e9c)
Reviewed-on: http://git-master/r/781296
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agoHID: Fix Blake vibration
Spencer Sutterlin [Wed, 29 Jul 2015 19:03:11 +0000]
HID: Fix Blake vibration

Remove the check for application in HID report. Blake fails this
check and doesn't initialize Force Feedback.

Bug 1625921

Change-Id: Ifb4d7b82c63aee4535022d7b6bb697275b721ac1
Signed-off-by: Spencer Sutterlin <ssutterlin@nvidia.com>
Reviewed-on: http://git-master/r/776459
(cherry picked from commit 11dbd3089a693df4923244c2b83d13f0ee19d1b3)
Reviewed-on: http://git-master/r/792605
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>

4 years agoRevert "Revert "HID: remove extra kfree""
Spencer Sutterlin [Wed, 29 Jul 2015 19:12:26 +0000]
Revert "Revert "HID: remove extra kfree""

Needed to prevent system hangs when Blake disconnects/connects
with force feedback (FF) enabled

Bug 1625921

This reverts commit 4e22eef0777eddfef50687395c87997a16498aac.

Change-Id: Ie423f456a3305325a9f87d273eeb5511cf6092b7
Signed-off-by: Spencer Sutterlin <ssutterlin@nvidia.com>
Reviewed-on: http://git-master/r/776458
(cherry picked from commit dcfe20d7df7cd303c7c8fe8630e961b21574c970)
Reviewed-on: http://git-master/r/792604
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>

4 years agosoctherm: fix HW programming sequence on resume
navneet kumar [Mon, 3 Aug 2015 18:32:47 +0000]
soctherm: fix HW programming sequence on resume

program tsosc's after all the throttling and shutdown logic has been programmed.
Not following the right sequence may lead to surprise shutdowns at high temps
during suspend/resume, if the system's operating temp is greater than the HW
defaults at that time.

call prog_therm_threshold appropriately during resume. This fixes a bug wherein,
if board files are not used (device tree is used instead), config_variables
'num_trips', 'zone_enable' are left un-initialized, resulting in skipping threshold programming.

Change-Id: I2d9c22e4098a4362d3f3e4a272a8673d947407d8
Signed-off-by: navneet kumar <navneetk@nvidia.com>
Reviewed-on: http://git-master/r/778034
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>

4 years agotegra: fiq_debugger: add scripting in command line
dmitry pervushin [Wed, 3 Jun 2015 08:12:32 +0000]
tegra: fiq_debugger: add scripting in command line

New command-line parameter, fiq_debugger.script allows user to execute
some commands on fiq debugger popup.

Example:
  fiq_debugger.script="bt;reset"
This command will print a backtrace and then reset the machine

Bug 200097742
Bug 200081897

Reviewed-on: http://git-master/r/751784
(cherry picked from commit cdf42b8bf502d44691d55b000d9a1cbd5510ed19)
Signed-off-by: dmitry pervushin <dpervushin@nvidia.com>
Change-Id: Ia998081042128305e5f66eb2ad3b47ed73dc7290
Reviewed-on: http://git-master/r/769733
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dc: add db_tolerance into debugfs
Marvin Zhang [Thu, 14 May 2015 18:27:51 +0000]
video: tegra: dc: add db_tolerance into debugfs

Bug 1637861

DEPENDS ON: < None >

Change-Id: Ie00a15d836d65c03df2e78c1942a5fc52d989c94
Signed-off-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-on: http://git-master/r/742874
(cherry picked from commit c20464f2f4a3090e9047dbd89adc695345a3c46c)
Reviewed-on: http://git-master/r/771844
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dsi: poll for end of DC stream
Daniel Solomon [Tue, 18 Aug 2015 22:15:25 +0000]
video: tegra: dsi: poll for end of DC stream

The function tegra_dsi_stop_dc_stream_at_frame_end()
is used to stop the DC stream and block until either
this happens or a timeout occurs. To determine that
DC stream stopped, it waits for on a conditional
variable that gets signaled in dc_irq(). However, since
this function gets called in dc->mutex locked context,
dc_irq() cannot acquire the mutex in order to signal
the frame-end conditional variable, so the function
consistently times out. This causes a noticeable pause
in data stream to the display, which is a problem on
some displays.

Instead of using a conditional variable, switch to a
simple polling loop and wait on GENERAL_ACT_REQ to
clear. Polling time is expected to be short,
less than 1 frame, and happens only during major
transitions (display on/off, MIPI command
transmission, etc.).

Bug 1673450

Change-Id: Icdf457c72c45820f18f8a66b55c32d6b1a48f817
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/785601
(cherry picked from commit 44fa2c85094232c34f0afa4a05f05d0dd2017e83)
Reviewed-on: http://git-master/r/798459
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

4 years agopower: bq2419x: set JEITA voltage offset
Venkat Reddy Talla [Tue, 1 Sep 2015 16:15:51 +0000]
power: bq2419x: set JEITA voltage offset

Set JEITA voltage offset bit to limit battery charge
voltage when battery temperature measured above threshold
value.

Bug 1647341

Change-Id: Ie041a861af052668bb41a99e6ae39061613f88aa
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/792535
(cherry picked from commit bd62b4475893b927db9dddd2e2d822f9107841c1)
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/798532
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agotegra-alt: adsp: wait for adsp ack on reset
Viraj Karandikar [Wed, 26 Aug 2015 11:54:55 +0000]
tegra-alt: adsp: wait for adsp ack on reset

Add mechanism to wait for ADSP acknowledgement.

ACK is requested when resetting to ensure that ADSP is
suspended only after APM stop processing is complete.
This prevents case of ADMA not getting stopped/reset
before suspend.

Bug 200130757

Change-Id: Ia86a31c996d40192210837e61aa95d8f920ee7f5
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/772220
(cherry picked from commit 72a04194685b299a959ecf64b92ba7f160e197f0)
Reviewed-on: http://git-master/r/795560
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agoplatform: tegra: nvdumper: add device info
Amit Sharma (SW-TEGRA) [Tue, 8 Sep 2015 09:58:14 +0000]
platform: tegra: nvdumper: add device info

API: nvdumper_regdump_{init/exit}() allocate/free a bounce buffer in/from DMA
Memory. For this nvdumper driver calls dma_{alloc/free}_coherent() API's with
first arg: device as NULL.

However, in order to monitor the DMA'able memory in debugfs: "/d/dma/usage",
we need the device name info of each such client which uses the DMA API's
like: dma_{alloc/free}_coherent. Therefore, declare a device struct and
pouplate it with missing device name info.

Bug 200134203

Change-Id: I1d13cf048241b584e5a78272062938cbe6e1e786
Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/795687
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoarm64: tegra21: configs: Enable Shield Remote HID Driver
Nagarjuna Kristam [Fri, 11 Sep 2015 08:57:57 +0000]
arm64: tegra21: configs: Enable Shield Remote HID Driver

Bug 200138599

Change-Id: I51b09b721f3c4a913679f4af8c3c0b56c70ed0bb
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/797610
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

4 years agoarm64: Removed unused variable
Richard Weinberger [Mon, 13 Apr 2015 18:40:10 +0000]
arm64: Removed unused variable

arch/arm64/kernel/signal.c: In function ‘handle_signal’:
arch/arm64/kernel/signal.c:290:22: warning: unused variable ‘thread’ [-Wunused-variable]

Fixes: arm64: Remove signal translation and exec_domain
Reported-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 97b2f0dc331474fb80ba4f4e4aee1d8e9ffbf7ce)

4 years agoRemove rest of exec domains.
Richard Weinberger [Sat, 11 Apr 2015 19:45:22 +0000]
Remove rest of exec domains.

It is gone from all archs, now we can remove
the final bits.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 9058f3b326dbe8cd2ebea7f3cfe367b0d101039b)

Change-Id: Ibca4326cc39f6b238f20b5016746c8d02f06b096

4 years agoarch: Remove exec_domain from remaining archs
Richard Weinberger [Mon, 30 Mar 2015 05:30:38 +0000]
arch: Remove exec_domain from remaining archs

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit fa41b1c7dfa0453931afb32c9988af67a2ee28ae)

Change-Id: Ieaee8b0fcc62ab3c3ea742acc1ea70d2719183ff

4 years agoarc: Remove signal translation and exec_domain
Richard Weinberger [Fri, 27 Mar 2015 08:55:52 +0000]
arc: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit e6de3ca91cd7ee252ef271c96a4c480c1f3e071e)

Change-Id: I035fb455ed7d9cf5050be6cd6b2bb1908e40d1bc

4 years agoxtensa: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:45:11 +0000]
xtensa: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 3e66701cbda2e04bb62e0afe2f3d86c9d3d76b24)

Change-Id: Ic95595c2919030a58f00f8506a881deccf8a273e

4 years agoxtensa: Autogenerate offsets in struct thread_info
Richard Weinberger [Sun, 12 Apr 2015 16:10:36 +0000]
xtensa: Autogenerate offsets in struct thread_info

Maintaining offsets by hand is no fun.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit cb418fdb33feba951187f6e01e9f78d3cd2dacbb)

Change-Id: I4465e0aba099c15ef2a8cf2bd0cd350d540ea37a

4 years agox86: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:43:51 +0000]
x86: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 3050a35fba296196cb00e87f4a96aa7d9ed17a7b)

4 years agounicore32: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:42:53 +0000]
unicore32: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 19b6d0b6df3e6b244959d9fc373ff75323f28e92)

4 years agoum: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:41:57 +0000]
um: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit fd223849f10a28fa40201652b5f13d52fa8f2bb0)

4 years agotile: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:40:49 +0000]
tile: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 89f191b31ceeb8e79c46815533b7d96c15e83720)

Change-Id: Idc0f11e6baec8c1733f93909979ee5af13417d99

4 years agosparc: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:39:47 +0000]
sparc: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 14464772c95d351e802b7f07c1860d9e5bf2cafc)

Change-Id: I09d3f4abaa582420621b8b9bc15b04d9d8ad73d7

4 years agosh: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:37:45 +0000]
sh: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit daea906dd31843edc062faba82cd43c8b720305d)

Change-Id: I9aef8cef38eeff1d1177dd037c871a87f5335b0d

4 years agos390: Remove signal translation and exec_domain
Richard Weinberger [Tue, 9 Sep 2014 21:50:11 +0000]
s390: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 6a32591a4a38948d785a3bb0dac32d5be1f76354)

Change-Id: I19b0bff170f3eb15fc035564c5d6124d68c63b44

4 years agomn10300: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:28:15 +0000]
mn10300: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 78d156b8d8e5884cb5af07f9e57a45a1ae5d59cf)

Change-Id: If12035e7dd54c9914463165ebdbc20e7063d971b

4 years agomicroblaze: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:21:49 +0000]
microblaze: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 6140de5aae4a490e7320215b4197874e37e0969c)

Change-Id: I69833a0384b65f7fc28fe9da3369d6a0d783b8a7

4 years agom68k: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:19:34 +0000]
m68k: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit a0075cd1cb79971ed6162e27fdb2ae76fc3008cf)

4 years agom32r: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:18:15 +0000]
m32r: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 445a626afb7f8050ac290fee89d4d9d2ce43b3f2)

Change-Id: Idb38b38b1ca419b864c6a81c7008308c2cb5fe9d

4 years agom32r: Autogenerate offsets in struct thread_info
Richard Weinberger [Fri, 3 Apr 2015 16:20:58 +0000]
m32r: Autogenerate offsets in struct thread_info

Maintaining offsets by hand is no fun.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 37f078ff4c97ad143a6dc2adae31e20a3f780ca7)

Change-Id: Ic1fd379bf4f51f22590ff3d56b99e5f2da04b345

4 years agofrv: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:15:06 +0000]
frv: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 7bd8301084dfaf9210f66142fadb62a2bee7588b)

Change-Id: I2d86e947342240b7194097dfa552334636e64709

4 years agoblackfin: Remove exec_domain usage
Richard Weinberger [Fri, 3 Apr 2015 16:58:10 +0000]
blackfin: Remove exec_domain usage

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 61622aa399ecc65601331b946395ce095cb7c9d8)

Change-Id: Iba47aa96d110e06ec6f94192dfe9465173878c8b

4 years agoblackfin: Autogenerate offsets in struct thread_info
Richard Weinberger [Fri, 3 Apr 2015 16:56:16 +0000]
blackfin: Autogenerate offsets in struct thread_info

Maintaining offsets by hand is no fun.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit ede45dd302385007b7ee83148753654ab8453167)

Change-Id: I23a1cb9b12073753345ffd770edda268dc2ac058

4 years agoarm64: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 15:09:40 +0000]
arm64: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 9699a517e0029c4dc34159787a26a746dfab858b)

Change-Id: Id3f5e88c9cb94cf26455461fc74f65d0f3d56420

4 years agoarm: Remove signal translation and exec_domain
Richard Weinberger [Sun, 13 Jul 2014 13:24:03 +0000]
arm: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit a4980448ed658db313da3195bcca634c7a5adafa)

4 years agoRemove execution domain support
Richard Weinberger [Mon, 30 Mar 2015 06:14:16 +0000]
Remove execution domain support

All users of exec_domain are gone, now we can get rid
of that abandoned feature.
To not break existing userspace we keep a dummy
/proc/execdomains file which will always contain
"0-0     Linux                   [kernel]".

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 973f911f55a0e510dd6db8bbb29cd82ff138d3c0)

Change-Id: I79f174db866f149c4393441d7b51941725bfe7f0

4 years agoia64: Remove Linux/x86 exec domain support
Richard Weinberger [Sun, 13 Jul 2014 12:52:04 +0000]
ia64: Remove Linux/x86 exec domain support

As this series removes exec domain support we can
get rid of this hack.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 3c7a49d0745a82845f017929eefa9ac1ad117355)

Change-Id: Ief1af160fa859fbd0578c2dbce38e89d06e42212

4 years agoarm: Remove RISC OS personality
Richard Weinberger [Sun, 13 Jul 2014 12:42:04 +0000]
arm: Remove RISC OS personality

The RISC OS personality seems to be unused and untested for a long time.
It is doubtful whether this personality worked ever as expected.
Let's rip it out.

Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
(cherry picked from commit 125ec7b4e90cbae4eed5a7ff1ee479cc331dcf3c)

Change-Id: Ib56f1faaf494c0c6f0c75cc27b75372cf34043db

4 years agopcie: host: tegra: remove delay which are not required
Sumit Singh [Tue, 8 Sep 2015 08:56:38 +0000]
pcie: host: tegra: remove delay which are not required

Remove some of the delays in the PCIe driver, which are not required.

Bug 200132095

Change-Id: I37311cf971fa8af6eca9a5f95bbe3a29b27ffdbc
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/795663
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>