1. 05 12月, 2016 1 次提交
  2. 07 3月, 2016 1 次提交
  3. 26 8月, 2013 1 次提交
  4. 29 4月, 2013 2 次提交
  5. 06 3月, 2013 1 次提交
  6. 30 12月, 2011 1 次提交
    • G
      m68k/Kconfig: Separate classic m68k and coldfire early · ad8f955d
      Geert Uytterhoeven 提交于
      While you can build multiplatform kernels for machines with classic
      m68k processors, you cannot mix support for classic m68k and coldfire
      processors. To avoid such hybrid kernels, introduce CONFIG_M68KCLASSIC
      as an antipole for CONFIG_COLDFIRE, and make all specific processor
      support depend on one of them.
      All classic m68k machine support also needs to depend on this.
      
      The defaults (CONFIG_M68KCLASSIC if MMU, CONFIG_COLDFIRE if !MMU) are
      chosen such to make most of the existing configs build and work.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      ad8f955d
  7. 21 10月, 2011 1 次提交
  8. 18 10月, 2011 1 次提交
    • G
      m68k: reorganize Kconfig options to improve mmu/non-mmu selections · 0e152d80
      Greg Ungerer 提交于
      The current mmu and non-mmu Kconfig files can be merged to form
      a more general selection of options. The current break up of options
      is due to the simple brute force merge from the m68k and m68knommu
      arch directories.
      
      Many of the options are not at all specific to having the MMU enabled
      or not. They are actually associated with a particular CPU type or
      platform type.
      
      Ultimately as we support all processors with the MMU disabled we need
      many of these options to be selectable without the MMU option enabled.
      And likewise some of the ColdFire processors, which currently are only
      supported with the MMU disabled, do have MMU hardware, and will need
      to have options selected on CPU type, not MMU disabled.
      
      This patch removes the old mmu and non-mmu Kconfigs and instead breaks
      up the configuration into four areas: cpu, machine, bus, devices.
      
      The Kconfig.cpu lists all the options associated with selecting a CPU,
      and includes options specific to each CPU type as well.
      
      Kconfig.machine lists all options associated with selecting a machine
      type. Almost always the machines selectable is restricted by the chosen
      CPU.
      
      Kconfig.bus contains options associated with selecting bus types on the
      various machine types. That includes PCI bus, PCMCIA bus, etc.
      
      Kconfig.devices contains options for drivers and driver associated
      options.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      0e152d80
  9. 25 7月, 2011 1 次提交
    • G
      m68k: merge mmu and non-mmu bitops.h · 171d809d
      Greg Ungerer 提交于
      The following patch merges the mmu and non-mmu versions of the m68k
      bitops.h files. Now there is a good deal of difference between the two
      files, but none of it is actually an mmu specific difference. It is
      all about the specific m68k/coldfire varient we are targeting. So it
      makes an awful lot of sense to merge these into a single bitops.h.
      
      There is a number of ways I can see to factor this code. The approach
      I have taken here is to keep the various versions of each macro/function
      type together. This means that there is some ifdefery with each to handle
      each CPU type.
      
      I have added some comments in a couple of appropriate places to try
      and make it clear what the differences we are dealing with are.
      Specifically the instruction and addressing mode differences we have
      to deal with.
      
      The merged form keeps the same underlying optimizations for each CPU
      type for all the general bit clear/set/change and find bit operations.
      It does switch to using the generic le operations though, instead of
      any local varients.
      
      Build tested on ColdFire, 68328, 68360 (which is cpu32) and 68020+.
      Run tested on ColdFire and ARAnyM.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      171d809d
  10. 14 6月, 2011 1 次提交
    • G
      m68knommu: create config options for CPU classes · 62356725
      Greg Ungerer 提交于
      There are 3 families of CPU core types that we support in the m68knommu
      architecture branch. They are
      
      . traditional 68000
      . CPU32 (a 68020 core derivative without MMU or bitfield instructions)
      . ColdFire
      
      It will be useful going forward to have a CONFIG_ option defined for
      each type. We already have one for ColdFire (CONFIG_COLDFIRE), so add
      for the other 2 families, CONFIG_M68000 and CONFIG_MCPU32.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      62356725
  11. 27 5月, 2011 1 次提交
  12. 25 3月, 2011 1 次提交
    • G
      m68k: merge m68k and m68knommu arch directories · 66d857b0
      Greg Ungerer 提交于
      There is a lot of common code that could be shared between the m68k
      and m68knommu arch branches. It makes sense to merge the two branches
      into a single directory structure so that we can more easily share
      that common code.
      
      This is a brute force merge, based on a script from Stephen King
      <sfking@fdwdc.com>, which was originally written by Arnd Bergmann
      <arnd@arndb.de>.
      
      > The script was inspired by the script Sam Ravnborg used to merge the
      > includes from m68knommu. For those files common to both arches but
      > differing in content, the m68k version of the file is renamed to
      > <file>_mm.<ext> and the m68knommu version of the file is moved into the
      > corresponding m68k directory and renamed <file>_no.<ext> and a small
      > wrapper file <file>.<ext> is used to select between the two version. Files
      > that are common to both but don't differ are removed from the m68knommu
      > tree and files and directories that are unique to the m68knommu tree are
      > moved to the m68k tree. Finally, the arch/m68knommu tree is removed.
      >
      > To select between the the versions of the files, the wrapper uses
      >
      > #ifdef CONFIG_MMU
      > #include <file>_mm.<ext>
      > #else
      > #include <file>_no.<ext>
      > #endif
      
      On top of this file merge I have done a simplistic merge of m68k and
      m68knommu Kconfig, which primarily attempts to keep existing options and
      menus in place. Other than a handful of options being moved it produces
      identical .config outputs on m68k and m68knommu targets I tested it on.
      
      With this in place there is now quite a bit of scope for merge cleanups
      in future patches.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      66d857b0
  13. 24 3月, 2011 2 次提交
  14. 15 3月, 2011 4 次提交
  15. 21 1月, 2011 2 次提交
  16. 05 1月, 2011 6 次提交
  17. 21 10月, 2010 2 次提交
    • P
      m68knommu: add basic mmu-less m548x support · ea49f8ff
      Philippe De Muyter 提交于
      Add a very basic mmu-less support for coldfire m548x family.  This is perhaps
      also valid for m547x family.  The port comprises the serial, tick timer and
      reboot support.  The gpio part compiles but is empty.  This gives a functional
      albeit limited linux for the m548x coldfire family.  This has been tested
      on a Freescale M548xEVB Lite board with a M5484 processor and the default
      dbug monitor.
      Signed-off-by: NPhilippe De Muyter <phdm@macqel.be>
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      ea49f8ff
    • G
      m68knommu: stop using __do_IRQ · 04570b46
      Greg Ungerer 提交于
      The use of __do_IRQ is deprecated, so lets stop using it.
      Generally the interrupts on the supported processors here are
      level triggered, so this is strait forward to switch over to
      using the standard handle_level_irq flow handler. (Although
      some ColdFire parts support edge triggered GPIO line  interrupts
      we have no support for them yet).
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      04570b46
  18. 20 9月, 2010 1 次提交
  19. 27 7月, 2010 1 次提交
  20. 24 5月, 2010 1 次提交
  21. 04 12月, 2009 1 次提交
    • L
      m68knommu: add uboot commandline argument passing support · 588baeac
      Lennart Sorensen 提交于
      This patch adds m68knommu support for getting the kernel command line
      arguments from uboot, including the passing of an initrd image from uboot.
      
      We use this on a 5270/5271 based board, and have used it on the 5271evb
      development board.  It is based on a patch found in the linux-2.6-denx
      git tree, although that tree seems to have had lots of other changes
      since which are not in the main Linus kernel.  I believe this will work
      on all coldfires, although other m68knommu might be missing the _init_sp
      stuff in head.S as far as I can tell.  I only have the coldfire to
      test on.
      Signed-off-by: NLennart Sorensen <lsorense@csclub.uwaterloo.ca>
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      588baeac
  22. 10 9月, 2009 1 次提交
  23. 22 4月, 2009 1 次提交
  24. 27 1月, 2009 3 次提交
  25. 20 10月, 2008 1 次提交
    • M
      container freezer: implement freezer cgroup subsystem · dc52ddc0
      Matt Helsley 提交于
      This patch implements a new freezer subsystem in the control groups
      framework.  It provides a way to stop and resume execution of all tasks in
      a cgroup by writing in the cgroup filesystem.
      
      The freezer subsystem in the container filesystem defines a file named
      freezer.state.  Writing "FROZEN" to the state file will freeze all tasks
      in the cgroup.  Subsequently writing "RUNNING" will unfreeze the tasks in
      the cgroup.  Reading will return the current state.
      
      * Examples of usage :
      
         # mkdir /containers/freezer
         # mount -t cgroup -ofreezer freezer  /containers
         # mkdir /containers/0
         # echo $some_pid > /containers/0/tasks
      
      to get status of the freezer subsystem :
      
         # cat /containers/0/freezer.state
         RUNNING
      
      to freeze all tasks in the container :
      
         # echo FROZEN > /containers/0/freezer.state
         # cat /containers/0/freezer.state
         FREEZING
         # cat /containers/0/freezer.state
         FROZEN
      
      to unfreeze all tasks in the container :
      
         # echo RUNNING > /containers/0/freezer.state
         # cat /containers/0/freezer.state
         RUNNING
      
      This is the basic mechanism which should do the right thing for user space
      task in a simple scenario.
      
      It's important to note that freezing can be incomplete.  In that case we
      return EBUSY.  This means that some tasks in the cgroup are busy doing
      something that prevents us from completely freezing the cgroup at this
      time.  After EBUSY, the cgroup will remain partially frozen -- reflected
      by freezer.state reporting "FREEZING" when read.  The state will remain
      "FREEZING" until one of these things happens:
      
      	1) Userspace cancels the freezing operation by writing "RUNNING" to
      		the freezer.state file
      	2) Userspace retries the freezing operation by writing "FROZEN" to
      		the freezer.state file (writing "FREEZING" is not legal
      		and returns EIO)
      	3) The tasks that blocked the cgroup from entering the "FROZEN"
      		state disappear from the cgroup's set of tasks.
      
      [akpm@linux-foundation.org: coding-style fixes]
      [akpm@linux-foundation.org: export thaw_process]
      Signed-off-by: NCedric Le Goater <clg@fr.ibm.com>
      Signed-off-by: NMatt Helsley <matthltc@us.ibm.com>
      Acked-by: NSerge E. Hallyn <serue@us.ibm.com>
      Tested-by: NMatt Helsley <matthltc@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      dc52ddc0
  26. 07 9月, 2008 1 次提交