1. 01 5月, 2013 1 次提交
  2. 13 3月, 2013 3 次提交
  3. 28 2月, 2013 1 次提交
  4. 26 2月, 2013 2 次提交
  5. 18 2月, 2013 1 次提交
  6. 17 2月, 2013 3 次提交
    • J
      openrisc: really pass correct arg to schedule_tail · ae6fef17
      Jonas Bonn 提交于
      Commit 287ad220 tried to set up the argument
      to schedule_tail, but ended up using TI_STACK which isn't a defined symbol.
      Sadly, the old openrisc compiler silently ignores this fact and it was first
      discovered now when building with an updated toolchain.
      Reported-by: NChristian Svensson <blue@cmd.nu>
      Signed-off-by: NJonas Bonn <jonas@southpole.se>
      ae6fef17
    • S
      Add bitops include needed for ext2 filesystem · b4f5b536
      Sebastian Macke 提交于
      Signed-off-by: NJonas Bonn <jonas@southpole.se>
      b4f5b536
    • J
      openrisc: update DTLB-miss handler last · 8668480e
      Jonas Bonn 提交于
      The self-modifying code that updates the TLB handler at start-up has
      a subtle ordering requirement:  the DTLB handler must be the last thing
      changed.
      
      What I was seeing was the following:
      
      i)   The DTLB handler was updated
      ii)  The following printk caused a TLB miss and the look-up resulted
           in the page containing itlb_vector (0xc0000a00) being bounced from
           the TLB.
      iii) The subsequent access to itlb_vector caused a TLB miss and reload
           of the page containing itlb_vector from the page tables.
      iv)  But this reload of the page in iii) was being done by the "new"
           DTLB-miss handler which resulted (correctly) in the page flags being
           set to read-only; the subsequent write-access to itlb_vector thus
           resulted in a page (access) fault.
      
      This is easily remedied if we ensure that the boot-time DTLB-miss handler
      continues running until the very last bit of self-modifying code has been
      executed.  This patch should ensure that the very last thing updated is the
      DTLB-handler itself.
      Signed-off-by: NJonas Bonn <jonas@southpole.se>
      Acked-by: NJulius Baxter <juliusbaxter@gmail.com>
      Tested-by: NSebastian Macke <sebastian@macke.de>
      8668480e
  7. 14 2月, 2013 2 次提交
    • J
      openrisc: fix up vmalloc page table loading · a81252d7
      Jonas Bonn 提交于
      vmalloc'ed pages are faulted into a process' page tables on demand.  In
      order to facilitate this, do_page_fault needs to know whether it was
      called via a page fault exception or a TLB-miss exception.
      
      This patch adds a wrapper around the _x_page_fault_handler entry points
      that the TLB-miss exceptions can call into in order to have the relevant
      parameter set to satisfy do_page_fault.
      
      This fixes a bug and is "good enough" for now.  That said, this whole
      handling of vmalloc needs to be audited for correctness at some point.
      Signed-off-by: NJonas Bonn <jonas@southpole.se>
      a81252d7
    • A
      burying unused conditionals · d64008a8
      Al Viro 提交于
      __ARCH_WANT_SYS_RT_SIGACTION,
      __ARCH_WANT_SYS_RT_SIGSUSPEND,
      __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND,
      __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL - not used anymore
      CONFIG_GENERIC_{SIGALTSTACK,COMPAT_RT_SIG{ACTION,QUEUEINFO,PENDING,PROCMASK}} -
      can be assumed always set.
      d64008a8
  8. 11 2月, 2013 4 次提交
  9. 04 2月, 2013 1 次提交
  10. 04 1月, 2013 1 次提交
    • G
      ARCH: drivers remove __dev* attributes. · b881bc46
      Greg Kroah-Hartman 提交于
      This fixes up all of the smaller arches that had __dev* markings for
      their platform-specific drivers.
      
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
      Cc: Catalin Marinas <catalin.marinas@arm.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
      Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Mikael Starvik <starvik@axis.com>
      Cc: Jesper Nilsson <jesper.nilsson@axis.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Hirokazu Takata <takata@linux-m32r.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Koichi Yasutake <yasutake.koichi@jp.panasonic.com>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
      Cc: Helge Deller <deller@gmx.de>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Chen Liqin <liqin.chen@sunplusct.com>
      Cc: Lennox Wu <lennox.wu@gmail.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Chris Metcalf <cmetcalf@tilera.com>
      Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
      Cc: Bob Liu <lliubbo@gmail.com>
      Cc: Srinivas Kandagatla <srinivas.kandagatla@st.com>
      Cc: Bjorn Helgaas <bhelgaas@google.com>
      Cc: Myron Stowe <myron.stowe@redhat.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Andi Kleen <ak@linux.intel.com>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
      Cc: Yinghai Lu <yinghai@kernel.org>
      Cc: Thierry Reding <thierry.reding@avionic-design.de>
      Cc: Greg Ungerer <gerg@uclinux.org>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>
      Cc: Mark Salter <msalter@redhat.com>
      Cc: Yong Zhang <yong.zhang0@gmail.com>
      Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Cc: Jan Glauber <jang@linux.vnet.ibm.com>
      Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
      Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b881bc46
  11. 20 12月, 2012 1 次提交
  12. 04 12月, 2012 1 次提交
    • S
      openrisc: use new common dtc rule · 19fbd6b2
      Stephen Warren 提交于
      The current rules have the .dtb files build in a different directory
      from the .dts files. This patch changes openrisc to use the generic dtb
      rule which builds .dtb files in the same directory as the source .dts.
      
      This requires renaming arch/openrisc/boot/Makefile to
      arch/openrisc/boot/dts/Makefile, and updating arch/openrisc/Makefile to
      call the new Makefile.
      
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: linux@lists.openrisc.net
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      19fbd6b2
  13. 03 12月, 2012 1 次提交
  14. 29 11月, 2012 4 次提交
  15. 14 11月, 2012 1 次提交
  16. 25 10月, 2012 3 次提交
  17. 20 10月, 2012 3 次提交
  18. 13 10月, 2012 1 次提交
    • J
      vfs: define struct filename and have getname() return it · 91a27b2a
      Jeff Layton 提交于
      getname() is intended to copy pathname strings from userspace into a
      kernel buffer. The result is just a string in kernel space. It would
      however be quite helpful to be able to attach some ancillary info to
      the string.
      
      For instance, we could attach some audit-related info to reduce the
      amount of audit-related processing needed. When auditing is enabled,
      we could also call getname() on the string more than once and not
      need to recopy it from userspace.
      
      This patchset converts the getname()/putname() interfaces to return
      a struct instead of a string. For now, the struct just tracks the
      string in kernel space and the original userland pointer for it.
      
      Later, we'll add other information to the struct as it becomes
      convenient.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      91a27b2a
  19. 11 10月, 2012 4 次提交
  20. 09 10月, 2012 2 次提交