arm: cardhu: change parameters for emc 266.5mhz

The EmcTclkStable is set to 0x00000004 and McEmemArbOutStandingReq
is set to 0xc0000030

Bug 1030392

Change-Id: I4ade7a7bbceb990f57397d5777bf7215dbfd65f1
Signed-off-by: Wen Yi <wyi@nvidia.com>
Reviewed-on: http://git-master/r/122302
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
mm: Avoid freeing init and initrd memory when CPA is enabled.

Align memblock reserve for text area to PMD size.
Reserve the memory hole between DRAM start and Page table start.
Add Sanity check to avoid section split in text area.

Bug 1028787

Change-Id: I7fe94f6063b120df9993bc0a51b2ff57609aef3e
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/121883
Reviewed-by: Automatic_Commit_Validation_User
video: tegra: nvmap: fix usermode input validation

nvmap_pin_ids accepts a list of handles to pin, which are passed
directly from usermode when called from nvmap_ioctl_pinop.

However, if invalid handles are passed in, the function might
still access them as valid handles, and cause a crash.

Bug 1023954

Change-Id: I6b98a2ef448bb496be7d569ddd4fb516fc399cba
Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Reviewed-on: http://git-master/r/119667
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
ARM: tegra: aruba: get rid of tegra_gpio_disable()

The gpio mode is disabled when freeing gpio and
hence this call is no more required.

Change-Id: I61469ec85713e3599245c59d2311f869ba03335b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/122115
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
ARM: tegra: harmony: get rid of tegra_gpio_disable()

The gpio mode is disabled when freeing gpio and
hence this call is no more required.

Change-Id: I21f0f098a4ed741984c474996ba13d7390617646
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/122116
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
ARM: tegra: enterprise: get rid of tegra_gpio_disable()

The gpio mode is enabled when setting direction and
disabled when freeing gpio and hence this call is no
more required.

Change-Id: Ib384ec9295184ee6d3b2edcf76b0c99bcd28e25a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/122117
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
input: tegra: kbc: treat warnings as errors

-add compilation flag to treat warning as error

bug 949219

Change-Id: I3f7f557099b0473883e0b959b65eb8f17ed30978
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/118008
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Revert "input: tegra: kbc: treat warnings as errors"

This reverts commit 09877ed519d522cefd5ad612b1e89848497d5428.
mtd: tegra-nor: treat warnings as errors

add compilation flag to treat warnings as errors
handle error of variable declaration

bug 949219

Change-Id: Iac05d4d0e4c4cbf39a534b7aee32c0dac57ae49d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/118027
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Revert "mtd: tegra-nor: treat warnings as errors"

This reverts commit e544986d7df1e748bd5d1b12739da4ed5ab23341.
workqueue: CPU hotplug keep idle workers

This change merges two patchsets. The first set,
containing 6 patches, reimplements WQ_HIGHPRI
to use a seperate worker_pool. gcwq->pools[0]
is used for normal priority work and pools[1]
for high priority.

The second patchset contains 9 patches and
reimplements CPU hotplug to keep idle workers.
Updates workqueue CPU hotplug path to use a
disassociated global_cwq, which runs as an
unbound one (WQ_UNBOUND). While this requires
rebinding idle workers, overall hotplug path
is much simpler.

Original patchset:
http://thread.gmane.org/gmane.linux.kernel/1329164

Bug 978010

Change-Id: Ic66ec8848a8d111b5278e63ef6a410846dfd8fcc
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/118387
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
tracing: Clock lock trace events

Add tracing for clock lock/unlock operations.

Bug 960307

Change-Id: Id5c2d8be25900bc701e5dcd73f87c068ab6e5894
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/122666
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
video: tegra: host: Fix section mismatches

nvhost context related functions were in init section, even though
they are called from non-init functions.

Bug 1022681

Change-Id: Ie85e9dd3f19873aec4153e34c7bffa19f40d37fa
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/120884
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
ARM: tegra: Ignore PmQos when disabled

The cpu hotplug drivers should only bother updating state or switching
to the G cluster if the driver is not disabled

Bug 1032096

Change-Id: Ice938b094bbf48fef47afa3915b1a48362fb256d
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/122859
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
video: tegra: hdcp: Add Missing Lock

Lock was missing around one state set, so we add it here.

Bug 1024031

Change-Id: Iab013fff7e8519e8bcc91e84a5ca7cd6e6e783da
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/122802
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>