2015-05-24, iucode_tool v1.3

 * Reopen stdin/stdout/stderr file descriptors using /dev/null if any
   of them are closed at program start.  Before this change, it was
   not safe to call iucode_tool with stdout and/or stderr closed
 * Ignore multiple attempts to read microcode data from stdin, as all
   data will have been read by the first attempt
 * Enforce a maximum of UINT_MAX data files.  The number of microcodes
   per data file is also limited to UINT_MAX (actually, less than that
   due to other limits).  Use "unsigned int" instead of "unsigned long
   int" for variables related to these (such as microcode group id and
   microcode id)
 * Document in the manpage the arbritray maximum limit of 1GiB worth of
   binary data per microcode data file.  The other limits are too large
   to bother documenting
 * Microcode data file loader fixes and enhancements:
   + Detect and report stream IO errors while reading .dat files
   + Detect and report IO errors from fdstat() at the beginning
     of the binary microcode loader
   + Print the line number when reporting .dat parsing errors
   + Allow comments after valid data for .dat files, previously they
     had to be on a line of their own
   + Rework the .dat parser to make it less convoluted, and optimize it
     for the exact .dat file layout Intel has been using in the last 15
     years
 * Minor build fixes
   + Silence unused parameter warning on --disable-cpuid-device build
   + Silence unused function warning on --disable-valgrind-build build
   + configure.ac: minor updates: add AC_COPYRIGHT; move AC_PREREQ
     before AC_INIT; remove commented-out AM_MAINTAINER_MODE
 * Reorder fields to pack some structs on 64 bits
 * Reorder some struct fields for better cache locality

2015-03-29, iucode_tool v1.2.1

 * Update README and NEWS to mention the new project home
   location at GitLab, due to gitorious.org's planned shutdown
   at the end of 2015-05
 * Manpage fixes and enhancements:
   + Minor typography/groff fixes
   + Format long examples into multi-line format
   + Add examples for --scan-system, -s and --write-earlyfw
   + Minor changes to the other examples
   + Document iucode_tool use of stdout and stderr
   + Document that iucode_tool ignores the loader version microcode
     metadata field entirely
   + Document the use of the "0x" and "0" prefixes to denote hexadecimal
     and octal bases for the signature and pf_mask parameters of the -s
     option
 * Flush stdout before writing to stderr.  We want stdout/stderr output
   to be correctly interleaved when buffering is in effect due to stdout
   redirecton
 * Flush stdout right after do_process_microcodes() is called, so that
   iucode_tool will output the result of --list and --list-all at that
   point in time
 * Minor argp parser fixes
   + Don't include EOL in argp_error() strings
   + Surround incorrect parameters with single quotes in parser error
     messages
 * Report internal errors (EINVAL) from uclist_add_signature() as
   such.  While at it, cosmetic fix the same error message for
   uclist_merge_signature()

2015-02-14, iucode_tool v1.2

  * Documentation updates:
    + README: correct the /lib/firmware example to not remove execute
      permissions from the /lib/firmware/intel-ucode directory, and
      enhance the text to make it clear those are examples of fixing the
      permissions and may need to be adjusted
    + README: enhance the README text and update it to the post-Haswell
      microcode update reality.  Also, add a table of pf flags and
      masks, to make the text easier to understand and stop using tabs
      for the layout
    + iucode_tool(8): update Linux notes to match reality as of kernel
      3.18.  Also reword and improve the overall text
  * iucode_tool: use the cpuid instruction (via gcc's cpuid.h) directly
    to implement --scan-system.  This assumes there is only one
    signature per x86/x86-64 system, which is a safe assumption at this
    time.  One can have processors with distinct pf flags and the same
    signature in a x86/x86-64 multi-processor system, so --scan-system
    will match any pf_mask.  When compile-time configured with
    --enable-cpuid-device (disabled by default), iucode-tool will use
    the cpuid instruction directly and also scan every processor using
    the kernel cpuid device.  This fixes an scalability issue in systems
    with many processors

2014-10-28, iucode_tool v1.1.1

  * Fix issues found by the Coverity static checker:
    + CID 72165: An off-by-one error caused an out-of-bounds write to a
      buffer while loading large microcode data files in ascii format
      (will not be triggered by the data files currently issued by Intel)
    + CID 72163: The code could attempt to close an already closed file
      descriptor in certain conditions when processing directories
    + CID 72161: Stop memory leak in error path when loading microcode
      data files
    + CID 72159, 72164, 72166, 72167, 72168, 72169: Cosmetic issues
      that could not cause problems at runtime.

2014-09-09, iucode_tool v1.1

  * Don't output duplicates for microcodes with extended signatures
    to the same file or to the kernel
  * When writing an early initramfs, pad its trailer with zeros to
    the next 1024-byte boundary.  This is done so that the next
    initramfs segment will be better aligned, just in case.  The
    entire cpio medatada overhead is now exactly 1024 bytes
  * Manpage style fixes: use iucode_tool consistently, groff formatting
  * Refuse to load ridiculously large data files (limit set to 1GiB)

2014-08-12, iucode_tool v1.0.3

  * Add a work-around for a Linux kernel bug on the early initramfs
    microcode update support.  The work-around appends non-standard NUL
    padding to the file name inside the cpio archive, so as to have the
    the microcode data 16-byte-aligned to the start of the file
  * Document file alignment requirements for the early initramfs
    archive.
  * Properly check microcode metadata date to be valid packed BCD in
    strict mode
  * Do not assume a non-zero microcode Total Size field to be valid, it
    is valid only when the Data Size field is non-zero.  Fortunately,
    Intel always set reserved fields to zero on released microcode, so
    this bug was never (and is unlikely to ever be) triggered
  * Fix several cosmetic and minor code issues
  * minor corrections, enhancements and style fixes to the manpage

2014-05-10, iucode_tool v1.0.2

  * Mention iucode-tool's new home at gitorious in documentation.
  * Warn user when --scan-system fails due to errors such as a lack
    of permission to access the cpuid devices
  * Use the libc optimized memcmp() to compare microcode
  * Minor manpage updates
  * --strict-checks now verifies that the microcode update date
    is not utterly insane

2013-12-14, iucode_tool v1.0.1

  * Fix several cosmetic code issues
  * Manpage updates
    + Make it clear that the output order of microcodes is not stabilized
    + Make it clear that iucode_tool always break links when writing a
      data file, and that it doesn't replace files atomically, so they
      can get corrupted/lost if iucode-tool is interrupted while writing.
    + Reword several notes for better readability
  * Use openat() when loading from a directory
  * Use openat() when creating files in a directory

2013-05-25, iucode_tool v1.0

  * Add verbose title to manpage iucode_tool(8)
  * Add support to write an early initramfs archive for Linux v3.9.
    This early initramfs archive will need to be prepended to the
    regular initramfs to allow the kernel to load the microcode
    update

2013-03-28, iucode_tool v0.9

  * Document missing -W, --write-named option in iucode_tool(8)
    manpage
  * Print the number of unique signatures in verbose mode
  * Add loose date-based filtering (--loose-date-filtering option),
    which is useful when trying to select microcode for very old
    processors
  * Skip empty files and directories instead of aborting with an
    error
  * Add an option to default to an empty selection (-s!)
  * Ensure that microcodes with the same metadata have the same
    opaque data (payload) when in --strict-checks mode (default)
  * Update copyright notices and manpage date

2012-08-26, iucode_tool v0.8.3

  * Fix regression introduced in 0.8.2 that caused all microcodes
    to be selected by --scan-system on a box with unsupported
    processors (e.g. non-Intel)
  * Update README: Intel has some microcode update information in
    some public processor specification update documents

2012-07-28, iucode_tool v0.8.2

  * Update documentation and manpages for the new microcode
    update interface in Linux v3.6.
  * Fail safe when --scan-system cannot access the cpuid driver:
    instead of not selecting anything, still select all microcodes
    if no other microcode selection option was used.
  * Move NEWS to ChangeLog

2012-07-24, iucode_tool v0.8.1

  * Updates to the iucode_tool(8) manpage, disclosing the
    need for the cpuid driver for iucode_tool --scan-system,
    and more details about the sysfs microcode reload
    interface.
  * Output an error message if --scan-system could not find
    any cpuid nodes in sysfs.

2012-06-07, iucode_tool v0.8

  * First release to the general public.  Please refer to
    the README file for the irrelevant details, and to the
    manpage for the relevant details.
