1. 04 1月, 2010 1 次提交
  2. 07 12月, 2009 1 次提交
    • M
      [S390] Improve address space mode selection. · b11b5334
      Martin Schwidefsky 提交于
      Introduce user_mode to replace the two variables switch_amode and
      s390_noexec. There are three valid combinations of the old values:
        1) switch_amode == 0 && s390_noexec == 0
        2) switch_amode == 1 && s390_noexec == 0
        3) switch_amode == 1 && s390_noexec == 1
      They get replaced by
        1) user_mode == HOME_SPACE_MODE
        2) user_mode == PRIMARY_SPACE_MODE
        3) user_mode == SECONDARY_SPACE_MODE
      The new kernel parameter user_mode=[primary,secondary,home] lets
      you choose the address space mode the user space processes should
      use. In addition the CONFIG_S390_SWITCH_AMODE config option
      is removed.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      b11b5334
  3. 23 9月, 2009 1 次提交
  4. 26 8月, 2009 1 次提交
    • J
      tracing: Rename FTRACE_SYSCALLS for tracepoints · 66700001
      Josh Stone 提交于
      s/HAVE_FTRACE_SYSCALLS/HAVE_SYSCALL_TRACEPOINTS/g
      s/TIF_SYSCALL_FTRACE/TIF_SYSCALL_TRACEPOINT/g
      
      The syscall enter/exit tracing is no longer specific to just ftrace, so
      they now have names that reflect their tie to tracepoints instead.
      Signed-off-by: NJosh Stone <jistone@redhat.com>
      Cc: Jason Baron <jbaron@redhat.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Li Zefan <lizf@cn.fujitsu.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Jiaying Zhang <jiayingz@google.com>
      Cc: Martin Bligh <mbligh@google.com>
      Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      LKML-Reference: <1251150194-1713-2-git-send-email-jistone@redhat.com>
      Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
      66700001
  5. 22 6月, 2009 1 次提交
  6. 23 4月, 2009 1 次提交
  7. 11 2月, 2009 1 次提交
  8. 27 11月, 2008 1 次提交
  9. 22 8月, 2008 1 次提交
  10. 30 5月, 2008 1 次提交
  11. 30 4月, 2008 1 次提交
  12. 17 4月, 2008 1 次提交
  13. 17 3月, 2008 1 次提交
    • F
      qeth: new qeth device driver · 4a71df50
      Frank Blaschka 提交于
      List of major changes and improvements:
       no manipulation of the global ARP constructor
       clean code split into core, layer 2 and layer 3 functionality
       better exploitation of the ethtool interface
       better representation of the various hardware capabilities
       fix packet socket support (tcpdump), no fake_ll required
       osasnmpd notification via udev events
       coding style and beautification
      Signed-off-by: NFrank Blaschka <frank.blaschka@de.ibm.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      4a71df50
  14. 05 3月, 2008 1 次提交
  15. 10 2月, 2008 1 次提交
  16. 22 10月, 2007 1 次提交
  17. 17 7月, 2007 2 次提交
  18. 10 5月, 2007 1 次提交
  19. 27 4月, 2007 2 次提交
  20. 21 2月, 2007 1 次提交
  21. 09 2月, 2007 3 次提交
  22. 06 2月, 2007 4 次提交
    • H
      [S390] Convert memory detection into C code. · ab14de6c
      Heiko Carstens 提交于
      Hopefully this will make it more maintainable and less error prone.
      Code makes use of search_exception_tables(). Since it calls this
      function before the kernel exeception table is sorted, there is an
      early call to sort_main_extable().
      
      This way it's easy to use the already present infrastructure of fixup
      sections. Also this would allows to easily convert the rest of
      head[31|64].S into C code.
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      ab14de6c
    • J
      [S390] Support for s390 Pseudo Random Number Generator · 1b278294
      Jan Glauber 提交于
      Starting with the z9 the CPU Cryptographic Assist Facility comes with
      an integrated Pseudo Random Number Generator. The generator creates
      random numbers by an algorithm similar to the ANSI X9.17 standard.
      The pseudo-random numbers can be accessed via a character device driver
      node called /dev/prandom. Similar to /dev/urandom any amount of bytes
      can be read from the device without blocking.
      Signed-off-by: NJan Glauber <jan.glauber@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      1b278294
    • G
      [S390] noexec protection · c1821c2e
      Gerald Schaefer 提交于
      This provides a noexec protection on s390 hardware. Our hardware does
      not have any bits left in the pte for a hw noexec bit, so this is a
      different approach using shadow page tables and a special addressing
      mode that allows separate address spaces for code and data.
      
      As a special feature of our "secondary-space" addressing mode, separate
      page tables can be specified for the translation of data addresses
      (storage operands) and instruction addresses. The shadow page table is
      used for the instruction addresses and the standard page table for the
      data addresses.
      The shadow page table is linked to the standard page table by a pointer
      in page->lru.next of the struct page corresponding to the page that
      contains the standard page table (since page->private is not really
      private with the pte_lock and the page table pages are not in the LRU
      list).
      Depending on the software bits of a pte, it is either inserted into
      both page tables or just into the standard (data) page table. Pages of
      a vma that does not have the VM_EXEC bit set get mapped only in the
      data address space. Any try to execute code on such a page will cause a
      page translation exception. The standard reaction to this is a SIGSEGV
      with two exceptions: the two system call opcodes 0x0a77 (sys_sigreturn)
      and 0x0aad (sys_rt_sigreturn) are allowed. They are stored by the
      kernel to the signal stack frame. Unfortunately, the signal return
      mechanism cannot be modified to use an SA_RESTORER because the
      exception unwinding code depends on the system call opcode stored
      behind the signal stack frame.
      
      This feature requires that user space is executed in secondary-space
      mode and the kernel in home-space mode, which means that the addressing
      modes need to be switched and that the noexec protection only works
      for user space.
      After switching the addressing modes, we cannot use the mvcp/mvcs
      instructions anymore to copy between kernel and user space. A new
      mvcos instruction has been added to the z9 EC/BC hardware which allows
      to copy between arbitrary address spaces, but on older hardware the
      page tables need to be walked manually.
      Signed-off-by: NGerald Schaefer <geraldsc@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      c1821c2e
    • J
      [S390] move crypto options and some cleanup. · 86aa9fc2
      Jan Glauber 提交于
      This patch moves the config options for the s390 crypto instructions
      to the standard "Hardware crypto devices" menu. In addition some
      cleanup has been done: use a flag for supported keylengths, add a
      warning about machien limitation, return ENOTSUPP in case the
      hardware has no support, remove superfluous printks and update
      email addresses.
      Signed-off-by: NJan Glauber <jan.glauber@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      86aa9fc2
  23. 16 12月, 2006 1 次提交
  24. 08 12月, 2006 1 次提交
  25. 06 11月, 2006 1 次提交
    • H
      [S390] revert add_active_range() usage patch. · bcc8bcb1
      Heiko Carstens 提交于
      Commit 7676bef9 breaks DCSS support on
      s390. DCSS needs initialized struct pages to work. With the usage of
      add_active_range() only the struct pages for physically present pages
      are initialized.
      This could be fixed if the DCSS driver would initiliaze the struct pages
      itself, but this doesn't work too. This is because the mem_map array
      does not include holes after the last present memory area and therefore
      there is nothing that could be initialized.
      To fix this and to avoid some dirty hacks revert this patch for now.
      Will be added later when we move to a virtual mem_map.
      
      Cc: Carsten Otte <cotte@de.ibm.com>
      Cc: Adrian Bunk <bunk@stusta.de>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      bcc8bcb1
  26. 19 10月, 2006 1 次提交
  27. 06 10月, 2006 1 次提交
  28. 05 10月, 2006 2 次提交
  29. 20 9月, 2006 1 次提交
  30. 27 7月, 2006 1 次提交
  31. 11 4月, 2006 1 次提交
  32. 12 2月, 2006 1 次提交