1. 25 Mar, 2015 2 commits
  2. 14 Mar, 2015 3 commits
  3. 12 Mar, 2015 1 commit
    • Chen Gang's avatar
      arch/c6x/include/asm/pgtable.h: define dummy pgprot_writecombine for !MMU · 65b9ab88
      Chen Gang authored
      
      
      When !MMU, asm-generic will not define default pgprot_writecombine, so c6x
      needs to define it by itself.  The related error:
      
          CC [M]  fs/pstore/ram_core.o
        fs/pstore/ram_core.c: In function 'persistent_ram_vmap':
        fs/pstore/ram_core.c:399:10: error: implicit declaration of function 'pgprot_writecombine' [-Werror=implicit-function-declaration]
           prot = pgprot_writecombine(PAGE_KERNEL);
                  ^
        fs/pstore/ram_core.c:399:8: error: incompatible types when assigning to type 'pgprot_t {aka struct <anonymous>}' from type 'int'
           prot = pgprot_writecombine(PAGE_KERNEL);
                ^
      Signed-off-by: default avatarChen Gang <gang.chen.5i5j@gmail.com>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Aurelien Jacquiot <a-jacquiot@ti.com>
      Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      65b9ab88
  4. 11 Mar, 2015 9 commits
  5. 10 Mar, 2015 2 commits
  6. 09 Mar, 2015 1 commit
  7. 06 Mar, 2015 12 commits
  8. 05 Mar, 2015 6 commits
  9. 04 Mar, 2015 4 commits
    • Arnd Bergmann's avatar
      ARM: fix typos in smc91x platform data · 04b91701
      Arnd Bergmann authored
      
      
      I recently did a rework of the smc91x driver and did some build-testing
      by compiling hundreds of randconfig kernels. Unfortunately, my script
      was wrong and did not actually test the configurations that mattered,
      so I introduced stupid typos in almost every file I touched.
      
      I fixed my script now, built all configurations that actually matter
      and fixed all the typos, this is the result.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: b70661c7
      
       ("net: smc91x: use run-time configuration on all ARM machines")
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      04b91701
    • Andy Lutomirski's avatar
      x86/asm/entry/64: Remove a bogus 'ret_from_fork' optimization · 956421fb
      Andy Lutomirski authored
      
      
      'ret_from_fork' checks TIF_IA32 to determine whether 'pt_regs' and
      the related state make sense for 'ret_from_sys_call'.  This is
      entirely the wrong check.  TS_COMPAT would make a little more
      sense, but there's really no point in keeping this optimization
      at all.
      
      This fixes a return to the wrong user CS if we came from int
      0x80 in a 64-bit task.
      Signed-off-by: default avatarAndy Lutomirski <luto@amacapital.net>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Denys Vlasenko <dvlasenk@redhat.com>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Oleg Nesterov <oleg@redhat.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: <stable@vger.kernel.org>
      Link: http://lkml.kernel.org/r/4710be56d76ef994ddf59087aad98c000fbab9a4.1424989793.git.luto@amacapital.net
      
      
      [ Backported from tip:x86/asm. ]
      Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
      956421fb
    • Tyler Baker's avatar
      ARM: multi_v7_defconfig: increase the number of maximum number of CPUs to 16 · b09e0ec4
      Tyler Baker authored
      The HiSilicon HiP04 has 16 CPUs. I propose we increase the maximum number of CPUs to 16 to avoid the following warning identified during automated boot testing [1].
      
      ------------[ cut here ]------------
      WARNING: CPU: 0 PID: 0 at ../arch/arm/kernel/devtree.c:144 arm_dt_init_cpu_maps+0x118/0x1e8()
      DT /cpu 9 nodes greater than max cores 8, capping them
      Modules linked in:
      CPU: 0 PID: 0 Comm: swapper Not tainted 3.19.0-00528-gbdccc4ed #1
      Hardware name: Hisilicon HiP04 (Flattened Device Tree)
      [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
      [] (show_stack) from [] (dump_stack+0x78/0x94)
      [] (dump_stack) from [] (warn_slowpath_common+0x74/0xb0)
      [] (warn_slowpath_common) from [] (warn_slowpath_fmt+0x30/0x40)
      [] (warn_slowpath_fmt) from [] (arm_dt_init_cpu_maps+0x118/0x1e8)
      [] (arm_dt_init_cpu_maps) from [] (setup_arch+0x638/0x9a0)
      [] (setup_arch) from [] (start_kernel+0x8c/0x3b4)
      [] (start_kernel) from [<10208074>] (0x10208074)
      ---[ end trace cb88537fdc8fa200 ]---
      
      [1] http://storage.kernelci.org/mainline/v3.19-528-gbdccc4edeb03/arm-multi_v7_defconfig/lab-tbaker/boot-hip04-d01.html
      
      
      
      Cc: Olof Johansson <olof@lixom.net>
      Cc: Kevin Hilman <khilman@kernel.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarTyler Baker <tyler.baker@linaro.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      b09e0ec4
    • Tyler Baker's avatar
      ARM: sunxi_defconfig: increase the number of maximum number of CPUs to 8 · afc1ad7e
      Tyler Baker authored
      The a80 optimus has 8 CPUs. I propose we increase the maximum number of CPUs to 8 to avoid the following warning identified during automated boot testing [1].
      
      ------------[ cut here ]------------
      WARNING: CPU: 0 PID: 0 at ../arch/arm/kernel/devtree.c:144 arm_dt_init_cpu_maps+0x110/0x1e0()
      DT /cpu 5 nodes greater than max cores 4, capping them
      CPU: 0 PID: 0 Comm: swapper Not tainted 3.19.0-00528-gbdccc4ed #1
      Hardware name: Allwinner sun9i Family
      [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
      [] (show_stack) from [] (dump_stack+0x74/0x90)
      [] (dump_stack) from [] (warn_slowpath_common+0x70/0xac)
      [] (warn_slowpath_common) from [] (warn_slowpath_fmt+0x30/0x40)
      [] (warn_slowpath_fmt) from [] (arm_dt_init_cpu_maps+0x110/0x1e0)
      [] (arm_dt_init_cpu_maps) from [] (setup_arch+0x634/0x8d4)
      [] (setup_arch) from [] (start_kernel+0x88/0x3ac)
      [] (start_kernel) from [<20008074>] (0x20008074)
      ---[ end trace cb88537fdc8fa200 ]---
      
      [1] http://storage.kernelci.org/mainline/v3.19-528-gbdccc4edeb03/arm-sunxi_defconfig/lab-tbaker/boot-sun9i-a80-optimus.html
      
      
      
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: Olof Johansson <olof@lixom.net>
      Cc: Kevin Hilman <khilman@kernel.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarTyler Baker <tyler.baker@linaro.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      afc1ad7e