aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-4.14/301-arch-support-layerscape.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2020-07-31 22:40:30 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2020-08-11 00:12:50 +0200
commit148d59c67edd550cf130f96844f63637707b99d5 (patch)
tree1f8582fed5b9f009c9b7c45991b89b1b2511b556 /target/linux/layerscape/patches-4.14/301-arch-support-layerscape.patch
parent7db09853a83b2feaf2604e4fcc074100be377280 (diff)
downloadupstream-148d59c67edd550cf130f96844f63637707b99d5.tar.gz
upstream-148d59c67edd550cf130f96844f63637707b99d5.tar.bz2
upstream-148d59c67edd550cf130f96844f63637707b99d5.zip
kernel: update kernel 4.14 to version 4.14.193
Compile and runtime tested on lantiq/xrx200 and ipq40xx. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/layerscape/patches-4.14/301-arch-support-layerscape.patch')
-rw-r--r--target/linux/layerscape/patches-4.14/301-arch-support-layerscape.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/layerscape/patches-4.14/301-arch-support-layerscape.patch b/target/linux/layerscape/patches-4.14/301-arch-support-layerscape.patch
index 59ed130567..302645e776 100644
--- a/target/linux/layerscape/patches-4.14/301-arch-support-layerscape.patch
+++ b/target/linux/layerscape/patches-4.14/301-arch-support-layerscape.patch
@@ -276,7 +276,7 @@ Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
#define PROT_SECT_DEVICE_nGnRE (PROT_SECT_DEFAULT | PMD_SECT_PXN | PMD_SECT_UXN | PMD_ATTRINDX(MT_DEVICE_nGnRE))
#define PROT_SECT_NORMAL (PROT_SECT_DEFAULT | PMD_SECT_PXN | PMD_SECT_UXN | PMD_ATTRINDX(MT_NORMAL))
@@ -68,6 +69,7 @@
- #define PAGE_HYP_DEVICE __pgprot(PROT_DEVICE_nGnRE | PTE_HYP)
+ #define PAGE_HYP_DEVICE __pgprot(_PROT_DEFAULT | PTE_ATTRINDX(MT_DEVICE_nGnRE) | PTE_HYP | PTE_HYP_XN)
#define PAGE_S2 __pgprot(_PROT_DEFAULT | PTE_S2_MEMATTR(MT_S2_NORMAL) | PTE_S2_RDONLY)
+#define PAGE_S2_NS __pgprot(PTE_S2_MEMATTR(MT_S2_NORMAL) | PTE_S2_RDWR | PTE_TYPE_PAGE | PTE_AF)