lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201211221006.1052453-1-robh@kernel.org>
Date:   Fri, 11 Dec 2020 16:10:02 -0600
From:   Rob Herring <robh@...nel.org>
To:     Lakshmi Ramasubramanian <nramas@...ux.microsoft.com>,
        takahiro.akashi@...aro.org, will@...nel.org,
        catalin.marinas@....com, mpe@...erman.id.au
Cc:     Thiago Jung Bauermann <bauerman@...ux.ibm.com>,
        zohar@...ux.ibm.com, james.morse@....com, sashal@...nel.org,
        benh@...nel.crashing.org, paulus@...ba.org, frowand.list@...il.com,
        vincenzo.frascino@....com, mark.rutland@....com,
        dmitry.kasatkin@...il.com, jmorris@...ei.org, serge@...lyn.com,
        pasha.tatashin@...een.com, allison@...utok.net,
        masahiroy@...nel.org, bhsharma@...hat.com, mbrugger@...e.com,
        hsinyi@...omium.org, tao.li@...o.com, christophe.leroy@....fr,
        linux-integrity@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
        prsriva@...ux.microsoft.com, balajib@...ux.microsoft.com
Subject: [RFC PATCH 0/4] Kexec FDT setup consolidation

Lakshmi,

As I mentioned before for the arm64 IMA support[1], the common parts of
kexec FDT setup need to be pulled out before adding IMA support. This series
is what I'd like to see done before we add any more kexec features. Arm64
and powerpc do essentially the same DT setup and the differences don't
conflict.

It's RFC because it's compile tested only, could use some better commit
messages, and I'm only throwing it out to show what I want here. A branch
is here[2].

Rob

[1] https://lore.kernel.org/lkml/CAL_Jsq+3qBr6JT3dysSt28j0UJq80u9YRf5pAh0Dvv5_+pFKXw@mail.gmail.com/
[2] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git dt/kexec

Rob Herring (4):
  powerpc: Rename kexec elfcorehdr_addr to elf_headers_mem
  of: Add a common kexec FDT setup function
  arm64: Use common of_kexec_setup_new_fdt()
  powerpc: Use common of_kexec_setup_new_fdt()

 arch/arm64/kernel/machine_kexec_file.c | 123 +------------
 arch/powerpc/include/asm/kexec.h       |   2 +-
 arch/powerpc/kexec/file_load.c         | 127 +-------------
 arch/powerpc/kexec/file_load_64.c      |   4 +-
 drivers/of/Makefile                    |   1 +
 drivers/of/kexec.c                     | 228 +++++++++++++++++++++++++
 include/linux/of.h                     |   5 +
 7 files changed, 247 insertions(+), 243 deletions(-)
 create mode 100644 drivers/of/kexec.c

--
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ