specified.
Signed-off-by: Lianbo Jiang
---
arch/x86/platform/efi/quirks.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/x86/platform/efi/quirks.c b/arch/x86/platform/efi/quirks.c
index 67d93a243c35..637f932c4fd4 100644
--- a/arch/x86/platform/efi/quirks.c
+++ b/arch/x86/pla
iommu_attach_device() is not suitable for handling this situation.
Signed-off-by: Lianbo Jiang
---
drivers/iommu/dma-iommu.c | 18 +++---
drivers/iommu/iommu.c | 10 ++
include/linux/iommu.h | 1 +
3 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/drivers/iommu
Let's move out the is_kdump_kernel() check from iommu_dma_deferred_attach()
to iommu_dma_init(), and use the static-key in the fast-path to minimize
the impact in the normal case.
Signed-off-by: Lianbo Jiang
Co-developed-by: Robin Murphy
Signed-off-by: Robin Murphy
---
drivers/iommu/dma
and change its
name to iommu_deferred_attach()
[3] remove the "extern" from the definition of iommu_deferred_attach() in
include/linux/iommu.h
Lianbo Jiang (2):
dma-iommu: use static-key to minimize the impact in the fast-path
iommu: use the __iommu_attach_device() directly for defer
static-key to minimize the impact in the fast-path
Lianbo Jiang (2):
dma-iommu: use static-key to minimize the impact in the fast-path
iommu: use the __iommu_attach_device() directly for deferred attach
drivers/iommu/dma-iommu.c | 29 +++--
drivers/iommu/iommu.c
iommu_attach_device() is not suitable for handling this situation.
Signed-off-by: Lianbo Jiang
---
drivers/iommu/dma-iommu.c | 18 +++---
drivers/iommu/iommu.c | 12
include/linux/iommu.h | 2 ++
3 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/drivers
Let's move out the is_kdump_kernel() check from iommu_dma_deferred_attach()
to iommu_dma_init(), and use the static-key in the fast-path to minimize
the impact in the normal case.
Signed-off-by: Lianbo Jiang
Co-developed-by: Robin Murphy
Signed-off-by: Robin Murphy
---
drivers/iommu/dma
such
as the bnxt_en driver. That can be reproduced easily in kdump kernel
when SME is active.
Add a check for the deferred attach in the iommu_attach_device() and
allow to attach the deferred device regardless of how many devices
are in a group.
Signed-off-by: Lianbo Jiang
---
drivers/iommu/iommu.c | 5
Since crash utility has moved to github, the original URL is no longer
available. Let's update it accordingly.
Suggested-by: Dave Young
Signed-off-by: Lianbo Jiang
---
Documentation/admin-guide/kdump/kdump.rst | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: a2e9a95d2190ef55bf0724ecdf8a466d393a86b6
Gitweb:
https://git.kernel.org/tip/a2e9a95d2190ef55bf0724ecdf8a466d393a86b6
Author:Lianbo Jiang
AuthorDate:Tue, 04 Aug 2020 12:49:32 +08:00
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: a3e1c3bb24e2ff2927af5e30c2bebe669bb84196
Gitweb:
https://git.kernel.org/tip/a3e1c3bb24e2ff2927af5e30c2bebe669bb84196
Author:Lianbo Jiang
AuthorDate:Tue, 04 Aug 2020 12:49:31 +08:00
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: 475f63ae63b5102ae6423d1712333929d04d6ecc
Gitweb:
https://git.kernel.org/tip/475f63ae63b5102ae6423d1712333929d04d6ecc
Author:Lianbo Jiang
AuthorDate:Tue, 04 Aug 2020 12:49:33 +08:00
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: 8ca346039f70cf92dbada6c06048efde165b191f
Gitweb:
https://git.kernel.org/tip/8ca346039f70cf92dbada6c06048efde165b191f
Author:Lianbo Jiang
AuthorDate:Tue, 04 Aug 2020 12:49:33 +08:00
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: 5b89a35f8c11a7846b06ac729d7de72044f7fc60
Gitweb:
https://git.kernel.org/tip/5b89a35f8c11a7846b06ac729d7de72044f7fc60
Author:Lianbo Jiang
AuthorDate:Tue, 04 Aug 2020 12:49:31 +08:00
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: 12e4e432ac4d65020ba85037da06f2c886188e4f
Gitweb:
https://git.kernel.org/tip/12e4e432ac4d65020ba85037da06f2c886188e4f
Author:Lianbo Jiang
AuthorDate:Tue, 04 Aug 2020 12:49:32 +08:00
extend the crash_exclude_mem_range()
to handle the overlapping ranges.
Signed-off-by: Lianbo Jiang
---
kernel/kexec_file.c | 31 +--
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/kernel/kexec_file.c b/kernel/kexec_file.c
index 09cc78df53c6..41616b6a80ad 100644
--- a/
information.
Signed-off-by: Lianbo Jiang
---
kernel/kexec_file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/kexec_file.c b/kernel/kexec_file.c
index 41616b6a80ad..e2c03b4ce31b 100644
--- a/kernel/kexec_file.c
+++ b/kernel/kexec_file.c
@@ -1323,10 +1323,10 @@ int
[3] [PATCH 3/3] kexec_file: correctly output debugging information for
the PT_LOAD elf header
Lianbo Jiang (3):
x86/crash: Correct the address boundary of function parameters
kexec: Improve the crash_exclude_mem_range() to handle the overlapping
ranges
kexec_file: correctly output
Let's carefully handle the boundary of the function parameter to make
sure that the arguments passed doesn't exceed the address range.
Signed-off-by: Lianbo Jiang
---
arch/x86/kernel/crash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/crash.c b/arch/x86
verification
is mandated. Otherwise, we lift the bar for any kernel image.
Signed-off-by: Lianbo Jiang
---
Changes since v1:
[1] Modify the log level(suggested by Jiri Bohac)
kernel/kexec_file.c | 34 ++
1 file changed, 6 insertions(+), 28 deletions(-)
diff --git
verification
is mandated. Otherwise, we lift the bar for any kernel image.
Signed-off-by: Lianbo Jiang
---
kernel/kexec_file.c | 37 ++---
1 file changed, 6 insertions(+), 31 deletions(-)
diff --git a/kernel/kexec_file.c b/kernel/kexec_file.c
index faa74d5f6941
Lianbo Jiang (3):
x86/kdump: always reserve the low 1MiB when the crashkernel option is
specified
x86/kdump: remove the unused crash_copy_backup_region()
x86/kdump: clean up all the code related to the backup region
arch/x86/include/asm/crash.h | 1 -
arch/x86/include/asm/kexec.h
e first 640k area to a backup region in the purgatory().
Signed-off-by: Lianbo Jiang
---
Changes since v1:
1. Improve patch log
2. Change the checking condition from sme_active() to sme_active()
&& strstr(boot_command_line, "crashkernel=")
arch/x86/kernel/setup.c | 3 +++
1 file
t the allocated memory does not fall
into the first 640k area. So, no need to worry about whether kernel can
correctly copy the contents of the first 640K area to a backup region in
purgatory().
Signed-off-by: Lianbo Jiang
---
arch/x86/kernel/setup.c | 3 +++
1 file changed, 3 insertions(+)
diff --git
Commit-ID: 4eb5fec31e613105668a1472d5876f3d0558e5d8
Gitweb: https://git.kernel.org/tip/4eb5fec31e613105668a1472d5876f3d0558e5d8
Author: Lianbo Jiang
AuthorDate: Tue, 30 Apr 2019 15:44:21 +0800
Committer: Borislav Petkov
CommitDate: Thu, 20 Jun 2019 10:07:49 +0200
fs/proc/vmcore
Commit-ID: 85784d16c2cf172cf1ebaf2390d6b7c4045d659c
Gitweb: https://git.kernel.org/tip/85784d16c2cf172cf1ebaf2390d6b7c4045d659c
Author: Lianbo Jiang
AuthorDate: Tue, 30 Apr 2019 15:44:20 +0800
Committer: Borislav Petkov
CommitDate: Thu, 20 Jun 2019 10:07:12 +0200
x86/kexec: Set the C
Commit-ID: 1a79c1b8a04153c4c387518967ce851f89e22733
Gitweb: https://git.kernel.org/tip/1a79c1b8a04153c4c387518967ce851f89e22733
Author: Lianbo Jiang
AuthorDate: Tue, 30 Apr 2019 15:44:19 +0800
Committer: Borislav Petkov
CommitDate: Thu, 20 Jun 2019 10:06:46 +0200
x86/kexec: Do not map
Commit-ID: 980621daf368f2b9aa69c7ea01baa654edb7577b
Gitweb: https://git.kernel.org/tip/980621daf368f2b9aa69c7ea01baa654edb7577b
Author: Lianbo Jiang
AuthorDate: Tue, 23 Apr 2019 09:30:07 +0800
Committer: Borislav Petkov
CommitDate: Thu, 20 Jun 2019 10:05:06 +0200
x86/crash: Add e820
Commit-ID: 5da04cc86d1215fd9fe0e5c88ead6e8428a75e56
Gitweb: https://git.kernel.org/tip/5da04cc86d1215fd9fe0e5c88ead6e8428a75e56
Author: Lianbo Jiang
AuthorDate: Tue, 23 Apr 2019 09:30:06 +0800
Committer: Borislav Petkov
CommitDate: Thu, 20 Jun 2019 09:58:07 +0200
x86/mm: Rework
Commit-ID: ae9e13d621d6795ec1ad6bf10bd2549c6c3feca4
Gitweb: https://git.kernel.org/tip/ae9e13d621d6795ec1ad6bf10bd2549c6c3feca4
Author: Lianbo Jiang
AuthorDate: Tue, 23 Apr 2019 09:30:05 +0800
Committer: Borislav Petkov
CommitDate: Thu, 20 Jun 2019 09:54:31 +0200
x86/e820, ioport: Add
and coherent, in order to
inform the kernel about the devices DMA addressing capabilities.
Signed-off-by: Lianbo Jiang
Acked-by: Don Brace
Tested-by: Don Brace
---
Changes since v1:
1. Add the extra description suggested by Tom to patch log.
2. Add Don's Acked-by and Tested-by to the commit
]: Warning: dracut-initqueue timeout -
starting timeout scripts
For correct operation, lets call the dma_set_mask_and_coherent() to
properly set the mask for both streaming and coherent, in order to
inform the kernel about the devices DMA addressing capabilities.
Signed-off-by: Lianbo Jiang
ot present at all in kdump kernel e820 table, those reserved regions are
considered as encrypted, it goes wrong.
The e820 reserved range is useful in kdump kernel, so it is necessary to
pass the e820 reserved ranges to kdump kernel.
Suggested-by: Dave Young
Signed-off-by: Lianbo Jiang
---
arch/
Following the commit <0e4c12b45aa8> ("x86/mm, resource: Use
PAGE_KERNEL protection for ioremap of memory pages"), here
it is really checking for the 'IORES_DESC_ACPI_*' values.
Therefore, it is necessary to change the examination condition
to avoid confusion.
Signed-off-
Commit-ID: f263245a0ce2c4e23b89a58fa5f7dfc048e11929
Gitweb: https://git.kernel.org/tip/f263245a0ce2c4e23b89a58fa5f7dfc048e11929
Author: Lianbo Jiang
AuthorDate: Thu, 10 Jan 2019 20:19:43 +0800
Committer: Borislav Petkov
CommitDate: Tue, 15 Jan 2019 11:05:28 +0100
kdump: Document
Commit-ID: 65f750e5457aef9a8085a99d613fea0430303e93
Gitweb: https://git.kernel.org/tip/65f750e5457aef9a8085a99d613fea0430303e93
Author: Lianbo Jiang
AuthorDate: Thu, 10 Jan 2019 20:19:44 +0800
Committer: Borislav Petkov
CommitDate: Fri, 11 Jan 2019 16:09:25 +0100
x86/kdump: Export
This document lists some variables that export to vmcoreinfo, and briefly
describles what these variables indicate. It should be instructive for
many people who do not know the vmcoreinfo.
Suggested-by: Borislav Petkov
Signed-off-by: Lianbo Jiang
---
Documentation/kdump/vmcoreinfo.txt | 500
the true physical address.
Signed-off-by: Lianbo Jiang
---
arch/x86/kernel/machine_kexec_64.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/x86/kernel/machine_kexec_64.c
b/arch/x86/kernel/machine_kexec_64.c
index 4c8acdfdc5a7..bc4108096b18 100644
--- a/arch/x86/kernel/machine_kexec_64
. Improve patch log.
Lianbo Jiang (2):
kdump: add the vmcoreinfo documentation
kdump,vmcoreinfo: Export the value of sme mask to vmcoreinfo
Documentation/kdump/vmcoreinfo.txt | 500 +
arch/x86/kernel/machine_kexec_64.c | 3 +
2 files changed, 503 insertions
-by: Borislav Petkov
Signed-off-by: Lianbo Jiang
---
Documentation/kdump/vmcoreinfo.txt | 500 +
1 file changed, 500 insertions(+)
create mode 100644 Documentation/kdump/vmcoreinfo.txt
diff --git a/Documentation/kdump/vmcoreinfo.txt
b/Documentation/kdump/vmcoreinfo.txt
new
in this
document.
3. Correct some of the mistakes in this document.
*** BLURB HERE ***
Lianbo Jiang (2):
kdump: add the vmcoreinfo documentation
kdump,vmcoreinfo: Export the value of sme mask to vmcoreinfo
Documentation/kdump/vmcoreinfo.txt | 500 +
arch/x86/kernel
address.
Signed-off-by: Lianbo Jiang
---
arch/x86/kernel/machine_kexec_64.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/x86/kernel/machine_kexec_64.c
b/arch/x86/kernel/machine_kexec_64.c
index 4c8acdfdc5a7..bc4108096b18 100644
--- a/arch/x86/kernel/machine_kexec_64.c
+++ b/arch/x86
-by: Borislav Petkov
Signed-off-by: Lianbo Jiang
---
Documentation/kdump/vmcoreinfo.txt | 513 +
1 file changed, 513 insertions(+)
create mode 100644 Documentation/kdump/vmcoreinfo.txt
diff --git a/Documentation/kdump/vmcoreinfo.txt
b/Documentation/kdump/vmcoreinfo.txt
new
address.
Signed-off-by: Lianbo Jiang
---
arch/x86/kernel/machine_kexec_64.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/x86/kernel/machine_kexec_64.c
b/arch/x86/kernel/machine_kexec_64.c
index 4c8acdfdc5a7..bc4108096b18 100644
--- a/arch/x86/kernel/machine_kexec_64.c
+++ b/arch/x86
it become more
clear and easy to read.
2. Move sme_mask comments in the code to the vmcoreinfo document.
3. Improve patch log.
Lianbo Jiang (2):
kdump: add the vmcoreinfo documentation
kdump,vmcoreinfo: Export the value of sme mask to vmcoreinfo
Documentation/kdump/vmcoreinfo.txt | 513
address.
Signed-off-by: Lianbo Jiang
---
arch/x86/kernel/machine_kexec_64.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/x86/kernel/machine_kexec_64.c
b/arch/x86/kernel/machine_kexec_64.c
index 4c8acdfdc5a7..1860fe24117d 100644
--- a/arch/x86/kernel/machine_kexec_64.c
comment for the code.
3. Improve the patch log.
4. Add the vmcoreinfo documentation.
Changes since v2:
1. Improve the vmcoreinfo document, add more descripts for these
variables exported.
2. Fix spelling errors in the document.
Lianbo Jiang (2):
kdump: add the vmcoreinfo documentation
kdump
-by: Borislav Petkov
Signed-off-by: Lianbo Jiang
---
Documentation/kdump/vmcoreinfo.txt | 456 +
1 file changed, 456 insertions(+)
create mode 100644 Documentation/kdump/vmcoreinfo.txt
diff --git a/Documentation/kdump/vmcoreinfo.txt
b/Documentation/kdump/vmcoreinfo.txt
ese patches log.
Changes since v6:
1. Modify the [PATCH 1/2], and add the new I/O resource descriptor
'IORES_DESC_RESERVED' for the iomem resources search interfaces.
2. Modify the [PATCH 2/2], and walk through io resource based on the
new descriptor 'IORES_DESC_RESERVED'.
Lianbo Jiang (2):
ese patches log.
Changes since v6:
1. Modify the [PATCH 1/2], and add the new I/O resource descriptor
'IORES_DESC_RESERVED' for the iomem resources search interfaces.
2. Modify the [PATCH 2/2], and walk through io resource based on the
new descriptor 'IORES_DESC_RESERVED'.
Lianbo Jiang (2):
Commit-ID: 992b649a3f013465d8128da02e5449def662a4c3
Gitweb: https://git.kernel.org/tip/992b649a3f013465d8128da02e5449def662a4c3
Author: Lianbo Jiang
AuthorDate: Sun, 30 Sep 2018 16:37:41 +0800
Committer: Borislav Petkov
CommitDate: Sat, 6 Oct 2018 12:09:26 +0200
kdump, proc/vmcore
Commit-ID: 8780158cf977ea5f9912931a30b3d575b36dba22
Gitweb: https://git.kernel.org/tip/8780158cf977ea5f9912931a30b3d575b36dba22
Author: Lianbo Jiang
AuthorDate: Sun, 30 Sep 2018 11:10:32 +0800
Committer: Borislav Petkov
CommitDate: Sat, 6 Oct 2018 12:08:24 +0200
iommu/amd: Remap
Commit-ID: 992b649a3f013465d8128da02e5449def662a4c3
Gitweb: https://git.kernel.org/tip/992b649a3f013465d8128da02e5449def662a4c3
Author: Lianbo Jiang
AuthorDate: Sun, 30 Sep 2018 16:37:41 +0800
Committer: Borislav Petkov
CommitDate: Sat, 6 Oct 2018 12:09:26 +0200
kdump, proc/vmcore
Commit-ID: 8780158cf977ea5f9912931a30b3d575b36dba22
Gitweb: https://git.kernel.org/tip/8780158cf977ea5f9912931a30b3d575b36dba22
Author: Lianbo Jiang
AuthorDate: Sun, 30 Sep 2018 11:10:32 +0800
Committer: Borislav Petkov
CommitDate: Sat, 6 Oct 2018 12:08:24 +0200
iommu/amd: Remap
Commit-ID: 9cf38d5559e813cccdba8b44c82cc46ba48d0896
Gitweb: https://git.kernel.org/tip/9cf38d5559e813cccdba8b44c82cc46ba48d0896
Author: Lianbo Jiang
AuthorDate: Sun, 30 Sep 2018 11:10:31 +0800
Committer: Borislav Petkov
CommitDate: Sat, 6 Oct 2018 12:01:51 +0200
kexec: Allocate
Commit-ID: c3a7a61c192ec350330128edb13db33a9bc0ace1
Gitweb: https://git.kernel.org/tip/c3a7a61c192ec350330128edb13db33a9bc0ace1
Author: Lianbo Jiang
AuthorDate: Thu, 27 Sep 2018 15:19:51 +0800
Committer: Borislav Petkov
CommitDate: Sat, 6 Oct 2018 11:57:51 +0200
x86/ioremap: Add
Commit-ID: 9cf38d5559e813cccdba8b44c82cc46ba48d0896
Gitweb: https://git.kernel.org/tip/9cf38d5559e813cccdba8b44c82cc46ba48d0896
Author: Lianbo Jiang
AuthorDate: Sun, 30 Sep 2018 11:10:31 +0800
Committer: Borislav Petkov
CommitDate: Sat, 6 Oct 2018 12:01:51 +0200
kexec: Allocate
Commit-ID: c3a7a61c192ec350330128edb13db33a9bc0ace1
Gitweb: https://git.kernel.org/tip/c3a7a61c192ec350330128edb13db33a9bc0ace1
Author: Lianbo Jiang
AuthorDate: Thu, 27 Sep 2018 15:19:51 +0800
Committer: Borislav Petkov
CommitDate: Sat, 6 Oct 2018 11:57:51 +0200
x86/ioremap: Add
ke them an before.
ioremap_encrypted()\
ioremap_cache() |
ioremap_prot() |
ioremap_wt()|->__ioremap_caller()
ioremap_wc()|
ioremap_uc() |
ioremap_nocache() /
Signed-off-by: Lianbo Jiang
Reviewed-by: Tom Lendacky
---
arch/x86/include/asm/io
ke them an before.
ioremap_encrypted()\
ioremap_cache() |
ioremap_prot() |
ioremap_wt()|->__ioremap_caller()
ioremap_wc()|
ioremap_uc() |
ioremap_nocache() /
Signed-off-by: Lianbo Jiang
Reviewed-by: Tom Lendacky
---
arch/x86/include/asm/io
the following patch, which
uses to fix an upstream bug. For more information, you can refer to the link
below.
https://lore.kernel.org/patchwork/patch/986979/
Lianbo Jiang (2):
x86/kexec_file: add e820 entry in case e820 type string matches to io
resource name
x86/kexec_file: add reserved e820
the e820 type and resource
name.
Signed-off-by: Dave Young
Signed-off-by: Lianbo Jiang
---
arch/x86/include/asm/e820/api.h | 2 ++
arch/x86/kernel/crash.c | 6 +-
arch/x86/kernel/e820.c | 2 +-
kernel/resource.c | 1 +
4 files changed, 9 insertions(+), 2 deletions
the following patch, which
uses to fix an upstream bug. For more information, you can refer to the link
below.
https://lore.kernel.org/patchwork/patch/986979/
Lianbo Jiang (2):
x86/kexec_file: add e820 entry in case e820 type string matches to io
resource name
x86/kexec_file: add reserved e820
the e820 type and resource
name.
Signed-off-by: Dave Young
Signed-off-by: Lianbo Jiang
---
arch/x86/include/asm/e820/api.h | 2 ++
arch/x86/kernel/crash.c | 6 +-
arch/x86/kernel/e820.c | 2 +-
kernel/resource.c | 1 +
4 files changed, 9 insertions(+), 2 deletions
these ranges sit in e820 reserved ranges thus the early
ioremap code naturally map them as unencrypted. So if we have same e820
reserve setup in kdump kernel then it will just work like normal kernel.
Signed-off-by: Dave Young
Signed-off-by: Lianbo Jiang
---
arch/x86/kernel/crash.c | 6 ++
1 file
these ranges sit in e820 reserved ranges thus the early
ioremap code naturally map them as unencrypted. So if we have same e820
reserve setup in kdump kernel then it will just work like normal kernel.
Signed-off-by: Dave Young
Signed-off-by: Lianbo Jiang
---
arch/x86/kernel/crash.c | 6 ++
1 file
A and B when we walk through the whole
tree, but it only gets the resource A, the resource B is missed.
Signed-off-by: Lianbo Jiang
---
kernel/resource.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/resource.c b/kernel/resource.c
index 30e1bc68503b..f5d9fc70a04c 100644
--- a/ke
A and B when we walk through the whole
tree, but it only gets the resource A, the resource B is missed.
Signed-off-by: Lianbo Jiang
---
kernel/resource.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/kernel/resource.c b/kernel/resource.c
index 30e1bc68503b..f5d9fc70a04c 100644
--- a/ke
When SME is enabled on AMD machine, the memory is encrypted in the first
kernel. In this case, SME also needs to be enabled in kdump kernel, and
we have to remap the old memory with the memory encryption mask.
Signed-off-by: Lianbo Jiang
---
arch/x86/include/asm/io.h | 3 +++
arch/x86/mm
When SME is enabled on AMD machine, the memory is encrypted in the first
kernel. In this case, SME also needs to be enabled in kdump kernel, and
we have to remap the old memory with the memory encryption mask.
Signed-off-by: Lianbo Jiang
---
arch/x86/include/asm/io.h | 3 +++
arch/x86/mm
/makedumpfile
commit e1de103eca8f (A draft for kdump vmcore about AMD SME)
Author: Lianbo Jiang <liji...@redhat.com>
Date: Mon May 14 17:02:40 2018 +0800
Note: This patch can only dump vmcore in the case of SME enabled.
crash-7.2.1: https://github.com/crash-utility/crash.git
commit 1e1bd9c4c1b
It is convenient to remap the old memory encrypted to the second kernel
by calling ioremap_encrypted().
Signed-off-by: Lianbo Jiang <liji...@redhat.com>
---
arch/x86/include/asm/io.h | 2 ++
arch/x86/mm/ioremap.c | 25 +
2 files changed, 19 insertions(+), 8 del
/makedumpfile
commit e1de103eca8f (A draft for kdump vmcore about AMD SME)
Author: Lianbo Jiang
Date: Mon May 14 17:02:40 2018 +0800
Note: This patch can only dump vmcore in the case of SME enabled.
crash-7.2.1: https://github.com/crash-utility/crash.git
commit 1e1bd9c4c1be (Fix for the "bpf&quo
It is convenient to remap the old memory encrypted to the second kernel
by calling ioremap_encrypted().
Signed-off-by: Lianbo Jiang
---
arch/x86/include/asm/io.h | 2 ++
arch/x86/mm/ioremap.c | 25 +
2 files changed, 19 insertions(+), 8 deletions(-)
diff --git
|
| on | off | no|
| off | on| no|
|__|___|___|
Signed-off-by: Lianbo Jiang <liji...@redhat.com>
---
arch/x86/include/asm/dmi.h | 14 +-
arch/x86/kernel/acpi/boot.c | 8
arch/x86/
|
| on | off | no|
| off | on| no|
|__|___|___|
Signed-off-by: Lianbo Jiang
---
arch/x86/include/asm/dmi.h | 14 +-
arch/x86/kernel/acpi/boot.c | 8
arch/x86/kernel/crash_dump_64.c | 27
76 matches
Mail list logo