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  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]
Date:   Thu,  2 Nov 2017 12:13:57 +0100
From:   Aleksandar Markovic <aleksandar.markovic@...rk.com>
To:     linux-mips@...ux-mips.org
Cc:     Aleksandar Markovic <aleksandar.markovic@...s.com>,
        Douglas Leung <douglas.leung@...tec.com>,
        Douglas Leung <douglas.leung@...s.com>,
        Goran Ferenc <goran.ferenc@...tec.com>,
        Goran Ferenc <goran.ferenc@...s.com>,
        James Hogan <james.hogan@...s.com>,
        linux-kernel@...r.kernel.org,
        "Maciej W. Rozycki" <macro@...tec.com>,
        Miodrag Dinic <miodrag.dinic@...tec.com>,
        Miodrag Dinic <miodrag.dinic@...s.com>,
        Paul Burton <paul.burton@...tec.com>,
        Paul Burton <paul.burton@...s.com>,
        Petar Jovanovic <petar.jovanovic@...s.com>,
        Raghu Gandham <raghu.gandham@...s.com>,
        Ralf Baechle <ralf@...ux-mips.org>
Subject: [PATCH v3 0/8] MIPS: Misc FPU emulation fixes

From: Aleksandar Markovic <aleksandar.markovic@...s.com>

v2->v3:

    - further improved commit message of patch 1
    - minor adjustment to patch 2
    - added six new, mostly minor, patches
    - rebased to the latest code

v1->v2:

    - clarify effects of patch 1 in its commit message
    - marked patch 1 as "stable #4.3+"
    - replaced "Minor" with "Misc" in the series title and
      cover letter

This series contains twelwe misc FPU emulation patches that were
not included into a recent larger series of FPU fixes, mainly not
to additionally burden already complex set of patches.

Only the first patch changes functionality.

The remaining ones are just cosmetic changes - they just clean
the code, making it easier to read, debug and maintain, and, by
doing this, hopefully prevent future bugs. They remove a number
of checkpatch and sparse warnings as well.

Aleksandar Markovic (8):
  MIPS: math-emu: Fix final emulation phase for certain instructions
  MIPS: math-emu: Use preferred flavor of unsigned integer declarations
  MIPS: math-emu: Remove an unnecessary header inclusion
  MIPS: math-emu: Avoid definition duplication for macro DPXMULT()
  MIPS: math-emu: Declare function srl128() as static
  MIPS: math-emu: Avoid an assignment within if statement condition
  MIPS: math-emu: Avoid multiple assignment
  MIPS: math-emu: Mark fall throughs in switch statements with a comment

 arch/mips/math-emu/cp1emu.c     | 74 ++++++++++++++++++++++++-----------------
 arch/mips/math-emu/dp_add.c     |  3 +-
 arch/mips/math-emu/dp_div.c     |  1 +
 arch/mips/math-emu/dp_fmax.c    |  2 ++
 arch/mips/math-emu/dp_fmin.c    |  2 ++
 arch/mips/math-emu/dp_maddf.c   | 16 ++++-----
 arch/mips/math-emu/dp_mul.c     | 12 +++----
 arch/mips/math-emu/dp_sqrt.c    | 12 ++++---
 arch/mips/math-emu/dp_sub.c     |  2 +-
 arch/mips/math-emu/ieee754.h    | 15 +++++----
 arch/mips/math-emu/ieee754dp.h  |  3 ++
 arch/mips/math-emu/ieee754int.h |  6 ++--
 arch/mips/math-emu/ieee754sp.c  |  4 +--
 arch/mips/math-emu/ieee754sp.h  |  2 +-
 arch/mips/math-emu/sp_add.c     |  3 +-
 arch/mips/math-emu/sp_div.c     |  5 +--
 arch/mips/math-emu/sp_fdp.c     |  3 +-
 arch/mips/math-emu/sp_fint.c    |  2 +-
 arch/mips/math-emu/sp_fmax.c    |  2 ++
 arch/mips/math-emu/sp_fmin.c    |  2 ++
 arch/mips/math-emu/sp_maddf.c   |  9 ++---
 arch/mips/math-emu/sp_mul.c     | 11 +++---
 arch/mips/math-emu/sp_sqrt.c    |  3 +-
 arch/mips/math-emu/sp_sub.c     |  1 +
 arch/mips/math-emu/sp_tlong.c   |  1 -
 25 files changed, 111 insertions(+), 85 deletions(-)

-- 
2.7.4

Powered by blists - more mailing lists