1. 11 7月, 2011 3 次提交
  2. 29 6月, 2011 2 次提交
  3. 24 6月, 2011 2 次提交
  4. 21 6月, 2011 2 次提交
  5. 20 6月, 2011 1 次提交
  6. 16 6月, 2011 3 次提交
  7. 14 6月, 2011 2 次提交
    • M
      sh, exec: remove redundant set_fs(USER_DS) · 201fbceb
      Mathias Krause 提交于
      The address limit is already set in flush_old_exec() so those calls to
      set_fs(USER_DS) are redundant.
      Signed-off-by: NMathias Krause <minipli@googlemail.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      201fbceb
    • P
      serial: sh-sci: Abstract register maps. · 61a6976b
      Paul Mundt 提交于
      This takes a bit of a sledgehammer to the horribly CPU subtype
      ifdef-ridden header and abstracts all of the different register layouts
      in to distinct types which in turn can be overriden on a per-port basis,
      or permitted to default to the map matching the port type at probe time.
      
      In the process this ultimately fixes up inumerable bugs with mismatches
      on various CPU types (particularly the legacy ones that were obviously
      broken years ago and no one noticed) and provides a more tightly coupled
      and consolidated platform for extending and implementing generic
      features.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      61a6976b
  8. 08 6月, 2011 2 次提交
    • P
      serial: sh-sci: Consolidate RXD pin handling. · 514820eb
      Paul Mundt 提交于
      Non-SCI parts do not have the special port reg necessary for cases where
      the RX and SCI pins are muxed and need to be manually polled, so these
      like always fall back on the normal FIFO processing paths. SH7760 is in a
      class in and of itself with regards to mapping its SIM card interface via
      the SCI port class despite not having any of the RXD lines wired up and
      so implicitly behaving more like a SCIF in this regard. Out of the other
      CPUs, some support the port check via the same block while others do it
      through an external SuperI/O, so it's not even possible to perform the
      check relative to the ioremapped cookie offset, so the separate read
      semantics are preserved here, too.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      514820eb
    • S
      sh: Fix up xchg/cmpxchg corruption with gUSA RB. · 5bdbd4fa
      Srinivas KANDAGATLA 提交于
      gUSA special cases r15 for part of its login/out sequence, meaning that
      any parameters need to be explicitly prohibited from accidentally being
      assigned that particular register, and the compiler ultimately needs to
      use a temporary instead.
      
      Certain configurations have begun generating code paths that do indeed
      get allocated r15, resulting in immediate corruption of the exchanged
      value. This was observed in (amongst others) exit_mm() code generation
      where the xchg_u32 call was immediately corrupting a structure address.
      
      As this is a general gUSA restriction, the rest of the users likewise
      need to be updated to ensure sensible constraints.
      
      References: https://bugzilla.stlinux.com/show_bug.cgi?id=11229Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@st.com>
      Reviewed-by: NStuart Menefy <stuart.menefy@st.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5bdbd4fa
  9. 06 6月, 2011 2 次提交
  10. 31 5月, 2011 4 次提交
  11. 29 5月, 2011 1 次提交
    • E
      ns: Wire up the setns system call · 7b21fddd
      Eric W. Biederman 提交于
      32bit and 64bit on x86 are tested and working.  The rest I have looked
      at closely and I can't find any problems.
      
      setns is an easy system call to wire up.  It just takes two ints so I
      don't expect any weird architecture porting problems.
      
      While doing this I have noticed that we have some architectures that are
      very slow to get new system calls.  cris seems to be the slowest where
      the last system calls wired up were preadv and pwritev.  avr32 is weird
      in that recvmmsg was wired up but never declared in unistd.h.  frv is
      behind with perf_event_open being the last syscall wired up.  On h8300
      the last system call wired up was epoll_wait.  On m32r the last system
      call wired up was fallocate.  mn10300 has recvmmsg as the last system
      call wired up.  The rest seem to at least have syncfs wired up which was
      new in the 2.6.39.
      
      v2: Most of the architecture support added by Daniel Lezcano <dlezcano@fr.ibm.com>
      v3: ported to v2.6.36-rc4 by: Eric W. Biederman <ebiederm@xmission.com>
      v4: Moved wiring up of the system call to another patch
      v5: ported to v2.6.39-rc6
      v6: rebased onto parisc-next and net-next to avoid syscall  conflicts.
      v7: ported to Linus's latest post 2.6.39 tree.
      
      >  arch/blackfin/include/asm/unistd.h     |    3 ++-
      >  arch/blackfin/mach-common/entry.S      |    1 +
      Acked-by: NMike Frysinger <vapier@gentoo.org>
      
      Oh - ia64 wiring looks good.
      Acked-by: NTony Luck <tony.luck@intel.com>
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      7b21fddd
  12. 27 5月, 2011 4 次提交
  13. 25 5月, 2011 5 次提交
  14. 24 5月, 2011 4 次提交
  15. 23 5月, 2011 3 次提交