1. 10 6月, 2015 1 次提交
  2. 01 6月, 2015 1 次提交
  3. 19 2月, 2015 2 次提交
  4. 18 2月, 2015 1 次提交
    • A
      ARM: prima2: do not select SMP_ON_UP · d76f733d
      Arnd Bergmann 提交于
      The new Atlas7 platform implicitly selects 'CONFIG_SMP_ON_UP',
      which leads to problems if we enable building the platform without
      MMU, as that combination is not allowed and causes a link error:
      
      arch/arm/kernel/built-in.o: In function `c_show':
      :(.text+0x1872): undefined reference to `smp_on_up'
      :(.text+0x1876): undefined reference to `smp_on_up'
      arch/arm/kernel/built-in.o: In function `arch_irq_work_raise':
      :(.text+0x3d48): undefined reference to `smp_on_up'
      :(.text+0x3d4c): undefined reference to `smp_on_up'
      arch/arm/kernel/built-in.o: In function `smp_setup_processor_id':
      :(.init.text+0x180): undefined reference to `smp_on_up'
      
      This removes the 'select' statement.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 4cba0585 ("ARM: sirf: add Atlas7 machine support")
      Acked-by: NBarry Song <Baohua.Song@csr.com>
      Cc: Zhiwu Song <Zhiwu.Song@csr.com>
      d76f733d
  5. 06 2月, 2015 1 次提交
  6. 20 1月, 2015 5 次提交
  7. 14 1月, 2015 1 次提交
  8. 20 10月, 2014 1 次提交
  9. 17 6月, 2014 1 次提交
  10. 30 5月, 2014 3 次提交
  11. 22 5月, 2014 1 次提交
  12. 12 5月, 2014 1 次提交
    • X
      ARM: prima2: rstc: fix some minor checkpatch issues · a2a25683
      Xianglong Du 提交于
      this patch fixes the below minor issues:
      
      WARNING: line over 80 characters
      39: FILE: arch/arm/mach-prima2/rstc.c:39:
      +                * Writing 1 to this bit resets corresponding block. Writing 0 to this
      
      WARNING: line over 80 characters
      41: FILE: arch/arm/mach-prima2/rstc.c:41:
      +                * datasheet doesn't require explicit delay between the set and clear
      
      WARNING: line over 80 characters
      44: FILE: arch/arm/mach-prima2/rstc.c:44:
      +               writel(readl(sirfsoc_rstc_base + (reset_bit / 32) * 4) | (1 << reset_bit),
      
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      46: FILE: arch/arm/mach-prima2/rstc.c:46:
      +               msleep(10);
      
      WARNING: line over 80 characters
      47: FILE: arch/arm/mach-prima2/rstc.c:47:
      +               writel(readl(sirfsoc_rstc_base + (reset_bit / 32) * 4) & ~(1 << reset_bit),
      
      WARNING: line over 80 characters
      52: FILE: arch/arm/mach-prima2/rstc.c:52:
      +                * Writing 1 to SET register resets corresponding block. Writing 1 to CLEAR
      
      WARNING: line over 80 characters
      54: FILE: arch/arm/mach-prima2/rstc.c:54:
      +                * datasheet doesn't require explicit delay between the set and clear
      
      WARNING: line over 80 characters
      57: FILE: arch/arm/mach-prima2/rstc.c:57:
      +               writel(1 << reset_bit, sirfsoc_rstc_base + (reset_bit / 32) * 8);
      
      WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
      58: FILE: arch/arm/mach-prima2/rstc.c:58:
      +               msleep(10);
      
      WARNING: line over 80 characters
      59: FILE: arch/arm/mach-prima2/rstc.c:59:
      +               writel(1 << reset_bit, sirfsoc_rstc_base + (reset_bit / 32) * 8 + 4);
      
      total: 0 errors, 10 warnings, 120 lines checked
      Signed-off-by: NXianglong Du <Xianglong.Du@csr.com>
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      a2a25683
  13. 08 4月, 2014 1 次提交
  14. 18 3月, 2014 1 次提交
    • A
      ARM: prima2: build reset code standalone · 48352e52
      Arnd Bergmann 提交于
      The prima2 platform code currently depends on the rstc
      implementation and that in turn depends on the reset
      controller framework. This removes the platform dependency
      by letting the driver access arm_pm_restart directly
      to turn the driver into a standalone entity, and also
      removes the dependency on the reset controller framework
      by using "if (IS_ENABLED(CONFIG_RESET_CONTROLLER))". This
      will cause all code that is used for the reset controller
      to be dropped by the compiler if the framework is disabled.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      48352e52
  15. 05 3月, 2014 6 次提交
    • B
      ARM: prima2: move to generic reset controller driver framework · e7eda91f
      Barry Song 提交于
      this moves to generic IP module reset framework, and make other drivers
      use common device_reset() API.
      
      Cc: Srinivas Kandagatla <srinivas.kandagatla@st.com>
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      Signed-off-by: NBin Shi <Bin.Shi@csr.com>
      Acked-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      e7eda91f
    • B
      ARM: prima2: staticize sirfsoc_init_late function · 951ec090
      Barry Song 提交于
      sirfsoc_init_late() is a local function not an extern interface to anyone.
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      951ec090
    • B
      ARM: prima2: rtciobrg: fix the typo about license · 5b7356bb
      Barry Song 提交于
      we are marking GPL v2 in head comments, but MODULE_LICENSE is declaring GPL.
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      5b7356bb
    • B
      ARM: prima2: common: fix checkpatch issues · 8ccf166c
      Barry Song 提交于
      fix the below checkpatch issues:
      ERROR: Use of const init definition must use __initconst
      30: FILE: common.c:30:
      +static const char *atlas6_dt_match[] __initdata = {
      
      ERROR: Use of const init definition must use __initconst
      45: FILE: common.c:45:
      +static const char *prima2_dt_match[] __initdata = {
      
      ERROR: Use of const init definition must use __initconst
      61: FILE: common.c:61:
      +static const char *marco_dt_match[] __initdata = {
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      8ccf166c
    • B
      ARM: prima2: platsmp: fix checkpatch issues · 661bfe23
      Barry Song 提交于
      fix the below checkpatch issues:
      ERROR: code indent should use tabs where possible
      141: FILE: platsmp.c:141:
      +        .smp_prepare_cpus       = sirfsoc_smp_prepare_cpus,$
      
      WARNING: please, no spaces at the start of a line
      141: FILE: platsmp.c:141:
      +        .smp_prepare_cpus       = sirfsoc_smp_prepare_cpus,$
      
      ERROR: code indent should use tabs where possible
      142: FILE: platsmp.c:142:
      +        .smp_secondary_init     = sirfsoc_secondary_init,$
      
      WARNING: please, no spaces at the start of a line
      142: FILE: platsmp.c:142:
      +        .smp_secondary_init     = sirfsoc_secondary_init,$
      
      ERROR: code indent should use tabs where possible
      143: FILE: platsmp.c:143:
      +        .smp_boot_secondary     = sirfsoc_boot_secondary,$
      
      WARNING: please, no spaces at the start of a line
      143: FILE: platsmp.c:143:
      +        .smp_boot_secondary     = sirfsoc_boot_secondary,$
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      661bfe23
    • B
      ARM: prima2: l2x0: fix checkpatch issues · c2ed0f36
      Barry Song 提交于
      Fix the below checkpatch issues:
      
      ERROR: open brace '{' following struct go on the same line
      15: FILE: l2x0.c:15:
      +struct l2x0_aux
      +{
      
      ERROR: Use of __initconst requires a separate use of const
      20: FILE: l2x0.c:20:
      +static struct l2x0_aux prima2_l2x0_aux __initconst = {
      
      ERROR: Use of __initconst requires a separate use of const
      25: FILE: l2x0.c:25:
      +static struct l2x0_aux marco_l2x0_aux __initconst = {
      
      ERROR: Use of __initconst requires a separate use of const
      31: FILE: l2x0.c:31:
      +static struct of_device_id sirf_l2x0_ids[] __initconst = {
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      c2ed0f36
  16. 20 2月, 2014 3 次提交
  17. 12 12月, 2013 1 次提交
  18. 30 9月, 2013 2 次提交
  19. 30 8月, 2013 1 次提交
  20. 15 8月, 2013 2 次提交
  21. 15 7月, 2013 1 次提交
    • P
      arm: delete __cpuinit/__CPUINIT usage from all ARM users · 8bd26e3a
      Paul Gortmaker 提交于
      The __cpuinit type of throwaway sections might have made sense
      some time ago when RAM was more constrained, but now the savings
      do not offset the cost and complications.  For example, the fix in
      commit 5e427ec2 ("x86: Fix bit corruption at CPU resume time")
      is a good example of the nasty type of bugs that can be created
      with improper use of the various __init prefixes.
      
      After a discussion on LKML[1] it was decided that cpuinit should go
      the way of devinit and be phased out.  Once all the users are gone,
      we can then finally remove the macros themselves from linux/init.h.
      
      Note that some harmless section mismatch warnings may result, since
      notify_cpu_starting() and cpu_up() are arch independent (kernel/cpu.c)
      and are flagged as __cpuinit  -- so if we remove the __cpuinit from
      the arch specific callers, we will also get section mismatch warnings.
      As an intermediate step, we intend to turn the linux/init.h cpuinit
      related content into no-ops as early as possible, since that will get
      rid of these warnings.  In any case, they are temporary and harmless.
      
      This removes all the ARM uses of the __cpuinit macros from C code,
      and all __CPUINIT from assembly code.  It also had two ".previous"
      section statements that were paired off against __CPUINIT
      (aka .section ".cpuinit.text") that also get removed here.
      
      [1] https://lkml.org/lkml/2013/5/20/589
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      8bd26e3a
  22. 10 7月, 2013 1 次提交
  23. 11 6月, 2013 1 次提交
    • H
      ARM: prima2: fix incorrect panic usage · 7e5955db
      Haojian Zhuang 提交于
      In prima2, some functions of checking DT is registered in initcall
      level. If it doesn't match the compatible name of sirf, kernel
      will panic. It blocks the usage of multiplatform on other verndor.
      
      The error message is in below.
      
      Knic - not syncing: unable to find compatible pwrc node in dtb
      CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-rc3-00006-gd7f26ea-dirty #86
      [<c0013adc>] (unwind_backtrace+0x0/0xf8) from [<c0011430>] (show_stack+0x10/0x1)
      [<c0011430>] (show_stack+0x10/0x14) from [<c026f724>] (panic+0x90/0x1e8)
      [<c026f724>] (panic+0x90/0x1e8) from [<c03267fc>] (sirfsoc_of_pwrc_init+0x24/0x)
      [<c03267fc>] (sirfsoc_of_pwrc_init+0x24/0x58) from [<c0320864>] (do_one_initcal)
      [<c0320864>] (do_one_initcall+0x90/0x150) from [<c0320a20>] (kernel_init_freeab)
      [<c0320a20>] (kernel_init_freeable+0xfc/0x1c4) from [<c026b9e8>] (kernel_init+0)
      [<c026b9e8>] (kernel_init+0x8/0xe4) from [<c000e158>] (ret_from_fork+0x14/0x3c)
      Signen-off-by: NHaojian Zhuang <haojian.zhuang@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      7e5955db
  24. 03 6月, 2013 1 次提交
    • B
      arm: prima2: use of_platform_populate instead of of_platform_bus_probe · 3cc3b617
      Barry Song 提交于
      use of_platform_populate to populate platform devices, it is suitable
      for creating devices which are children of the root node, then makes
      things like pcm work.
      
      this patch removes sirfsoc_mach_init() function and lets arm core do
      of_platform_populate:
      
          static int __init customize_machine(void)
          {
                  /*
                   * customizes platform devices, or adds new ones
                   * On DT based machines, we fall back to populating the
                   * machine from the device tree, if no callback is provided,
                   * otherwise we would always need an init_machine callback.
                   */
                  if (machine_desc->init_machine)
                          machine_desc->init_machine();
                  else
                          of_platform_populate(NULL, of_default_bus_match_table,
                                                  NULL, NULL);
                  return 0;
          }
      Signed-off-by: NBarry Song <Baohua.Song@csr.com>
      Signed-off-by: NRongjun Ying <Rongjun.Ying@csr.com>
      3cc3b617