]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
5.8-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Sep 2020 11:38:39 +0000 (13:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Sep 2020 11:38:39 +0000 (13:38 +0200)
added patches:
dt-bindings-mmc-tegra-add-tmclk-for-tegra210-and-later.patch

queue-5.8/dt-bindings-mmc-tegra-add-tmclk-for-tegra210-and-later.patch [new file with mode: 0644]
queue-5.8/kvm-arm64-add-kvm_extable-for-vaxorcism-code.patch
queue-5.8/kvm-arm64-survive-synchronous-exceptions-caused-by-at-instructions.patch
queue-5.8/series

diff --git a/queue-5.8/dt-bindings-mmc-tegra-add-tmclk-for-tegra210-and-later.patch b/queue-5.8/dt-bindings-mmc-tegra-add-tmclk-for-tegra210-and-later.patch
new file mode 100644 (file)
index 0000000..52ac85f
--- /dev/null
@@ -0,0 +1,84 @@
+From f7f86e8ac0ad7cd6792a80137f5a550924966916 Mon Sep 17 00:00:00 2001
+From: Sowjanya Komatineni <skomatineni@nvidia.com>
+Date: Thu, 27 Aug 2020 10:20:57 -0700
+Subject: dt-bindings: mmc: tegra: Add tmclk for Tegra210 and later
+
+From: Sowjanya Komatineni <skomatineni@nvidia.com>
+
+commit f7f86e8ac0ad7cd6792a80137f5a550924966916 upstream.
+
+commit b5a84ecf025a ("mmc: tegra: Add Tegra210 support")
+
+Tegra210 and later uses separate SDMMC_LEGACY_TM clock for data
+timeout.
+
+So, this patch adds "tmclk" to Tegra sdhci clock property in the
+device tree binding.
+
+Fixes: b5a84ecf025a ("mmc: tegra: Add Tegra210 support")
+Cc: stable <stable@vger.kernel.org> # 5.4
+Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
+Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
+Link: https://lore.kernel.org/r/1598548861-32373-4-git-send-email-skomatineni@nvidia.com
+Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt |   32 +++++++++-
+ 1 file changed, 29 insertions(+), 3 deletions(-)
+
+--- a/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt
++++ b/Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt
+@@ -15,8 +15,15 @@ Required properties:
+   - "nvidia,tegra210-sdhci": for Tegra210
+   - "nvidia,tegra186-sdhci": for Tegra186
+   - "nvidia,tegra194-sdhci": for Tegra194
+-- clocks : Must contain one entry, for the module clock.
+-  See ../clocks/clock-bindings.txt for details.
++- clocks: For Tegra210, Tegra186 and Tegra194 must contain two entries.
++        One for the module clock and one for the timeout clock.
++        For all other Tegra devices, must contain a single entry for
++        the module clock. See ../clocks/clock-bindings.txt for details.
++- clock-names: For Tegra210, Tegra186 and Tegra194 must contain the
++             strings 'sdhci' and 'tmclk' to represent the module and
++             the timeout clocks, respectively.
++             For all other Tegra devices must contain the string 'sdhci'
++             to represent the module clock.
+ - resets : Must contain an entry for each entry in reset-names.
+   See ../reset/reset.txt for details.
+ - reset-names : Must include the following entries:
+@@ -99,7 +106,7 @@ Optional properties for Tegra210, Tegra1
+ Example:
+ sdhci@700b0000 {
+-      compatible = "nvidia,tegra210-sdhci", "nvidia,tegra124-sdhci";
++      compatible = "nvidia,tegra124-sdhci";
+       reg = <0x0 0x700b0000 0x0 0x200>;
+       interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
+       clocks = <&tegra_car TEGRA210_CLK_SDMMC1>;
+@@ -107,6 +114,25 @@ sdhci@700b0000 {
+       resets = <&tegra_car 14>;
+       reset-names = "sdhci";
+       pinctrl-names = "sdmmc-3v3", "sdmmc-1v8";
++      pinctrl-0 = <&sdmmc1_3v3>;
++      pinctrl-1 = <&sdmmc1_1v8>;
++      nvidia,pad-autocal-pull-up-offset-3v3 = <0x00>;
++      nvidia,pad-autocal-pull-down-offset-3v3 = <0x7d>;
++      nvidia,pad-autocal-pull-up-offset-1v8 = <0x7b>;
++      nvidia,pad-autocal-pull-down-offset-1v8 = <0x7b>;
++      status = "disabled";
++};
++
++sdhci@700b0000 {
++      compatible = "nvidia,tegra210-sdhci";
++      reg = <0x0 0x700b0000 0x0 0x200>;
++      interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
++      clocks = <&tegra_car TEGRA210_CLK_SDMMC1>,
++               <&tegra_car TEGRA210_CLK_SDMMC_LEGACY>;
++      clock-names = "sdhci", "tmclk";
++      resets = <&tegra_car 14>;
++      reset-names = "sdhci";
++      pinctrl-names = "sdmmc-3v3", "sdmmc-1v8";
+       pinctrl-0 = <&sdmmc1_3v3>;
+       pinctrl-1 = <&sdmmc1_1v8>;
+       nvidia,pad-autocal-pull-up-offset-3v3 = <0x00>;
index 42ab0d172594033aadd09b2e594d74e701fae68e..1b15b4cb615f6479eeff8122affa53b27af9cba5 100644 (file)
@@ -24,8 +24,8 @@ with four entries, half of which correspond with code that isn't mapped.
 Signed-off-by: James Morse <james.morse@arm.com>
 Reviewed-by: Marc Zyngier <maz@kernel.org>
 Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
+Signed-off-by: Andre Przywara <andre.przywara@arm.com>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
 ---
  arch/arm64/include/asm/kvm_asm.h |   15 +++++++++++
  arch/arm64/kernel/vmlinux.lds.S  |    8 ++++++
index 66b249a40bc889104c30427e7ab0ccfe8f870472..23a21e8324c94c7f253d3de2971cfadd07b4382a 100644 (file)
@@ -39,8 +39,8 @@ Cc: stable@vger.kernel.org # <v5.3: 5dcd0fdbb492 ("KVM: arm64: Defer guest entry
 Signed-off-by: James Morse <james.morse@arm.com>
 Reviewed-by: Marc Zyngier <maz@kernel.org>
 Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
+Signed-off-by: Andre Przywara <andre.przywara@arm.com>
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
 ---
  arch/arm64/include/asm/kvm_asm.h |   28 ++++++++++++++++++++++++++++
  arch/arm64/kvm/hyp/hyp-entry.S   |   14 ++++++++++----
index 5afbbab9818524e50e359cbdc2a88a68cb594058..2814ba544c6126911790e49a0dc89d3808687c7a 100644 (file)
@@ -7,3 +7,4 @@ perf-record-stat-explicitly-call-out-event-modifiers-in-the-documentation.patch
 media-media-v4l2-core-fix-kernel-infoleak-in-video_put_user.patch
 kvm-arm64-add-kvm_extable-for-vaxorcism-code.patch
 kvm-arm64-survive-synchronous-exceptions-caused-by-at-instructions.patch
+dt-bindings-mmc-tegra-add-tmclk-for-tegra210-and-later.patch