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: <20210510090940.924953-1-hpa@zytor.com>
Date:   Mon, 10 May 2021 02:09:37 -0700
From:   "H. Peter Anvin" <hpa@...or.com>
To:     Ingo Molnar <mingo@...hat.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Borislav Petkov <bp@...en8.de>,
        Peter Zijlstra <peterz@...radead.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        "H. Peter Anvin" <hpa@...or.com>
Subject: [PATCH 0/3] x86/asm: macro improvements in <asm/asm.h>

From: "H. Peter Anvin (Intel)" <hpa@...or.com>

This patchset adds the following improvements to <asm/asm.h>:

1. Makes the __ASM_FORM() macros accept arguments with commas. This allows
   the __ASM_FORM() macros to be used directly in header files for
   macros that can be used from either C or assembly, even for
   instructions that have multiple operands.
2. Add an _ASM_BYTES() macro for the delicate job of hand-crafting
   instructions out of bytes.
3. Replace the _ASM_MK_NOPS() macro in <asm/nops.h> with _ASM_BYTES().

The change to the tools/ directory is mainly because <asm/nops.h> now
depends on <asm/asm.h>.

--- 
 arch/x86/include/asm/asm.h        |  23 ++---
 arch/x86/include/asm/nops.h       |  24 ++---
 tools/arch/x86/include/asm/asm.h  | 189 ++++++++++++++++++++++++++++++++++++++
 tools/arch/x86/include/asm/nops.h |  24 ++---
 4 files changed, 221 insertions(+), 39 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ