Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1670371 > unrolled thread

Re: [PATCH v7 03/36] x86, mpparse, x86/acpi, x86/PCI, x86/dmi, SFI: Use memremap for RAM mappings

Started byBorislav Petkov <bp@alien8.de>
First post2017-06-20 09:30 +0200
Last post2017-06-20 09:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v7 03/36] x86, mpparse, x86/acpi, x86/PCI, x86/dmi, SFI:  Use memremap for RAM mappings Borislav Petkov <bp@alien8.de> - 2017-06-20 09:30 +0200

#1670371 — Re: [PATCH v7 03/36] x86, mpparse, x86/acpi, x86/PCI, x86/dmi, SFI: Use memremap for RAM mappings

FromBorislav Petkov <bp@alien8.de>
Date2017-06-20 09:30 +0200
SubjectRe: [PATCH v7 03/36] x86, mpparse, x86/acpi, x86/PCI, x86/dmi, SFI: Use memremap for RAM mappings
Message-ID<tUlLP-5AD-1@gated-at.bofh.it>
On Fri, Jun 16, 2017 at 01:50:23PM -0500, Tom Lendacky wrote:
> The ioremap() function is intended for mapping MMIO. For RAM, the
> memremap() function should be used. Convert calls from ioremap() to
> memremap() when re-mapping RAM.
> 
> This will be used later by SME to control how the encryption mask is
> applied to memory mappings, with certain memory locations being mapped
> decrypted vs encrypted.
> 
> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
> ---
>  arch/x86/include/asm/dmi.h   |    8 ++++----
>  arch/x86/kernel/acpi/boot.c  |    6 +++---
>  arch/x86/kernel/kdebugfs.c   |   34 +++++++++++-----------------------
>  arch/x86/kernel/ksysfs.c     |   28 ++++++++++++++--------------
>  arch/x86/kernel/mpparse.c    |   10 +++++-----
>  arch/x86/pci/common.c        |    4 ++--
>  drivers/firmware/dmi-sysfs.c |    5 +++--
>  drivers/firmware/pcdp.c      |    4 ++--
>  drivers/sfi/sfi_core.c       |   22 +++++++++++-----------
>  9 files changed, 55 insertions(+), 66 deletions(-)

Reviewed-by: Borislav Petkov <bp@suse.de>

-- 
Regards/Gruss,
    Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web