1. 05 9月, 2017 8 次提交
  2. 22 3月, 2017 1 次提交
    • H
      MIPS: Lantiq: fix missing xbar kernel panic · 6ef90877
      Hauke Mehrtens 提交于
      Commit 08b3c894 ("MIPS: lantiq: Disable xbar fpi burst mode")
      accidentally requested the resources from the pmu address region
      instead of the xbar registers region, but the check for the return
      value of request_mem_region() was wrong. Commit 98ea51cb ("MIPS:
      Lantiq: Fix another request_mem_region() return code check") fixed the
      check of the return value of request_mem_region() which made the kernel
      panics.
      This patch now makes use of the correct memory region for the cross bar.
      
      Fixes: 08b3c894 ("MIPS: lantiq: Disable xbar fpi burst mode")
      Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
      Cc: John Crispin <john@phrozen.org>
      Cc: james.hogan@imgtec.com
      Cc: arnd@arndb.de
      Cc: sergei.shtylyov@cogentembedded.com
      Cc: john@phrozen.org
      Cc: <stable@vger.kernel.org> # 4.4.x-
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/15751Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      6ef90877
  3. 17 2月, 2017 1 次提交
  4. 14 2月, 2017 1 次提交
    • P
      MIPS: Audit and remove any unnecessary uses of module.h · 26dd3e4f
      Paul Gortmaker 提交于
      Historically a lot of these existed because we did not have
      a distinction between what was modular code and what was providing
      support to modules via EXPORT_SYMBOL and friends.  That changed
      when we forked out support for the latter into the export.h file.
      
      This means we should be able to reduce the usage of module.h
      in code that is obj-y Makefile or bool Kconfig.  In the case of
      some code where it is modular, we can extend that to also include
      files that are building basic support functionality but not related
      to loading or registering the final module; such files also have
      no need whatsoever for module.h
      
      The advantage in removing such instances is that module.h itself
      sources about 15 other headers; adding significantly to what we feed
      cpp, and it can obscure what headers we are effectively using.
      
      Since module.h might have been the implicit source for init.h
      (for __init) and for export.h (for EXPORT_SYMBOL) we consider each
      instance for the presence of either and replace/add as needed.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      Build coverage of all the mips defconfigs revealed the module.h
      header was masking a couple of implicit include instances, so
      we add the appropriate headers there.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Cc: David Daney <david.daney@cavium.com>
      Cc: John Crispin <john@phrozen.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: "Steven J. Hill" <steven.hill@cavium.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/15131/
      [james.hogan@imgtec.com: Preserve sort order where it already exists]
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      26dd3e4f
  5. 25 1月, 2017 2 次提交
  6. 04 10月, 2016 2 次提交
    • P
      MIPS: Lantiq: Make xrx200_phy_fw explicitly non-modular · 6f42e0e3
      Paul Gortmaker 提交于
      The Kconfig currently controlling compilation of this code is:
      
      arch/mips/lantiq/Kconfig:config XRX200_PHY_FW
      arch/mips/lantiq/Kconfig:       bool "XRX200 PHY firmware loader"
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Lets remove the couple traces of modular infrastructure use, so that
      when reading the driver there is no doubt it is builtin-only.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We also delete the MODULE_LICENSE tag etc. since all that information
      was (or is now) contained at the top of the file in the comments.
      
      We don't replace module.h with init.h since the file doesn't need that.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Cc: John Crispin <john@phrozen.org>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/13932/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      6f42e0e3
    • P
      MIPS: Lantiq: Make vmmc explicitly non-modular · 0008ef9b
      Paul Gortmaker 提交于
      The Makefile entry controlling compilation of this code is:
      
      arch/mips/lantiq/xway/vmmc.o
         ---> arch/mips/lantiq/xway/Makefile:obj-y += vmmc.o
      
      ...meaning that it currently is not being built as a module by anyone.
      
      Since module_platform_driver() uses the same init level priority as
      builtin_platform_driver() the init ordering remains unchanged with
      this commit.
      
      Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
      
      We replace module.h with export.h since the file does actually use
      EXPORT_SYMBOL.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Cc: John Crispin <john@phrozen.org>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/13930/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      0008ef9b
  7. 13 5月, 2016 2 次提交
  8. 11 11月, 2015 19 次提交
  9. 01 4月, 2015 1 次提交
  10. 24 11月, 2014 3 次提交