1. 01 Apr, 2015 3 commits
    • Ingo Molnar's avatar
      drivers/block/pmem: Fix 32-bit build warning in pmem_alloc() · 4c1eaa23
      Ingo Molnar authored
      Fix:
      
        drivers/block/pmem.c: In function ‘pmem_alloc’:
        drivers/block/pmem.c:138:7: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘phys_addr_t’ [-Wformat=]
      
      By using the proper %pa format specifier we use for 'phys_addr_t' arguments.
      
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Jens Axboe <axboe@fb.com>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Keith Busch <keith.busch@intel.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Matthew Wilcox <willy@linux.intel.com>
      Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-nvdimm@ml01.01.org
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      4c1eaa23
    • Ross Zwisler's avatar
      drivers/block/pmem: Add a driver for persistent memory · 9e853f23
      Ross Zwisler authored
      PMEM is a new driver that presents a reserved range of memory as
      a block device.  This is useful for developing with NV-DIMMs,
      and can be used with volatile memory as a development platform.
      
      This patch contains the initial driver from Ross Zwisler, with
      various changes: converted it to use a platform_device for
      discovery, fixed partition support and merged various patches
      from Boaz Harrosh.
      Tested-by: default avatarRoss Zwisler <ross.zwisler@linux.intel.com>
      Signed-off-by: default avatarRoss Zwisler <ross.zwisler@linux.intel.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Acked-by: default avatarDan Williams <dan.j.williams@intel.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Jens Axboe <axboe@fb.com>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Keith Busch <keith.busch@intel.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Matthew Wilcox <willy@linux.intel.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-nvdimm@ml01.01.org
      Link: http://lkml.kernel.org/r/1427872339-6688-3-git-send-email-hch@lst.de
      [ Minor cleanups. ]
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      9e853f23
    • Christoph Hellwig's avatar
      x86/mm: Add support for the non-standard protected e820 type · ec776ef6
      Christoph Hellwig authored
      Various recent BIOSes support NVDIMMs or ADR using a
      non-standard e820 memory type, and Intel supplied reference
      Linux code using this type to various vendors.
      
      Wire this e820 table type up to export platform devices for the
      pmem driver so that we can use it in Linux.
      
      Based on earlier work from:
      
         Dave Jiang <dave.jiang@intel.com>
         Dan Williams <dan.j.williams@intel.com>
      
      Includes fixes for NUMA regions from Boaz Harrosh.
      Tested-by: default avatarRoss Zwisler <ross.zwisler@linux.intel.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Acked-by: default avatarDan Williams <dan.j.williams@intel.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Cc: Boaz Harrosh <boaz@plexistor.com>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Jens Axboe <axboe@fb.com>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Keith Busch <keith.busch@intel.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Matthew Wilcox <willy@linux.intel.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: linux-nvdimm@ml01.01.org
      Link: http://lkml.kernel.org/r/1427872339-6688-2-git-send-email-hch@lst.de
      [ Minor cleanups. ]
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      ec776ef6
  2. 29 Mar, 2015 7 commits
  3. 28 Mar, 2015 9 commits
  4. 27 Mar, 2015 6 commits
  5. 26 Mar, 2015 14 commits
  6. 25 Mar, 2015 1 commit