1. 11 May, 2016 1 commit
    • Heiko Carstens's avatar
      s390/vmem: fix identity mapping · c34a6905
      Heiko Carstens authored
      The identity mapping is suboptimal for the last 2GB frame. The mapping
      will be established with a mix of 4KB and 1MB mappings instead of a
      single 2GB mapping.
      
      This happens because of a off-by-one bug introduced with
      commit 50be6345 ("s390/mm: Convert bootmem to memblock").
      
      Currently the identity mapping looks like this:
      
      0x0000000080000000-0x0000000180000000        4G PUD RW
      0x0000000180000000-0x00000001fff00000     2047M PMD RW
      0x00000001fff00000-0x0000000200000000        1M PTE RW
      
      With the bug fixed it looks like this:
      
      0x0000000080000000-0x0000000200000000        6G PUD RW
      
      Fixes: 50be6345 ("s390/mm: Convert bootmem to memblock")
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      c34a6905
  2. 10 May, 2016 7 commits
  3. 04 May, 2016 5 commits
  4. 03 May, 2016 2 commits
  5. 21 Apr, 2016 3 commits
    • Martin Schwidefsky's avatar
      s390/Kconfig: make z196 the default processor type · 7072276e
      Martin Schwidefsky authored
      The current default processor type is z900. The BPF jit compiler
      depends on PACK_STACK && HAVE_MARCH_Z196_FEATURES. To have the
      BPF jit code included in compiles with 'make allmodconfig' set
      the default processor type to z196.
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      7072276e
    • Martin Schwidefsky's avatar
      s390/sclp: avoid compile warning in sclp_pci_report · 99d00a2b
      Martin Schwidefsky authored
      Fix the initialization of a local variable to remove this warning:
      
      All warnings (new ones prefixed by >>):
      
         drivers/s390/char/sclp_pci.c: In function 'sclp_pci_report':
      >> drivers/s390/char/sclp_pci.c:127:9: warning: missing braces around initializer [-Wmissing-braces]
           struct sclp_req req = {0};
                  ^
         drivers/s390/char/sclp_pci.c:127:9: warning: (near initialization for 'req.list') [-Wmissing-braces]
      
      Fixes: 12283a40 "s390/sclp: add error notification command"
      Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      99d00a2b
    • Martin Schwidefsky's avatar
      s390/fpu: allocate 'struct fpu' with the task_struct · 3f6813b9
      Martin Schwidefsky authored
      Analog to git commit 0c8c0f03
      "x86/fpu, sched: Dynamically allocate 'struct fpu'"
      move the struct fpu to the end of the struct thread_struct,
      set CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT and add the
      setup_task_size() function to calculate the correct size
      fo the task struct.
      
      For the performance_defconfig this increases the size of
      struct task_struct from 7424 bytes to 7936 bytes (MACHINE_HAS_VX==1)
      or 7552 bytes (MACHINE_HAS_VX==0). The dynamic allocation of the
      struct fpu is removed. The slab cache uses an 8KB block for the
      task struct in all cases, there is enough room for the struct fpu.
      For MACHINE_HAS_VX==1 each task now needs 512 bytes less memory.
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      3f6813b9
  6. 15 Apr, 2016 13 commits
  7. 01 Apr, 2016 9 commits