1. 26 Feb, 2010 1 commit
  2. 04 Jan, 2010 1 commit
  3. 07 Dec, 2009 1 commit
    • Martin Schwidefsky's avatar
      [S390] Improve address space mode selection. · b11b5334
      Martin Schwidefsky authored
      
      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: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      b11b5334
  4. 22 Sep, 2009 1 commit
  5. 25 Aug, 2009 1 commit
    • Josh Stone's avatar
      tracing: Rename FTRACE_SYSCALLS for tracepoints · 66700001
      Josh Stone authored
      
      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: default avatarJosh 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: default avatarFrederic Weisbecker <fweisbec@gmail.com>
      66700001
  6. 22 Jun, 2009 1 commit
  7. 23 Apr, 2009 1 commit
  8. 11 Feb, 2009 1 commit
  9. 27 Nov, 2008 1 commit
  10. 21 Aug, 2008 1 commit
  11. 30 May, 2008 1 commit
  12. 30 Apr, 2008 1 commit
  13. 17 Apr, 2008 1 commit
  14. 17 Mar, 2008 1 commit
    • Frank Blaschka's avatar
      qeth: new qeth device driver · 4a71df50
      Frank Blaschka authored
      
      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: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      4a71df50
  15. 05 Mar, 2008 1 commit
  16. 09 Feb, 2008 1 commit
  17. 22 Oct, 2007 1 commit
  18. 17 Jul, 2007 2 commits
  19. 10 May, 2007 1 commit
  20. 27 Apr, 2007 2 commits
  21. 21 Feb, 2007 1 commit
  22. 08 Feb, 2007 3 commits
  23. 05 Feb, 2007 4 commits
    • Heiko Carstens's avatar
      [S390] Convert memory detection into C code. · ab14de6c
      Heiko Carstens authored
      
      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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      ab14de6c
    • Jan Glauber's avatar
      [S390] Support for s390 Pseudo Random Number Generator · 1b278294
      Jan Glauber authored
      
      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: default avatarJan Glauber <jan.glauber@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      1b278294
    • Gerald Schaefer's avatar
      [S390] noexec protection · c1821c2e
      Gerald Schaefer authored
      
      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: default avatarGerald Schaefer <geraldsc@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      c1821c2e
    • Jan Glauber's avatar
      [S390] move crypto options and some cleanup. · 86aa9fc2
      Jan Glauber authored
      
      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: default avatarJan Glauber <jan.glauber@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      86aa9fc2
  24. 15 Dec, 2006 1 commit
  25. 08 Dec, 2006 1 commit
  26. 06 Nov, 2006 1 commit
    • Heiko Carstens's avatar
      [S390] revert add_active_range() usage patch. · bcc8bcb1
      Heiko Carstens authored
      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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      bcc8bcb1
  27. 18 Oct, 2006 1 commit
  28. 06 Oct, 2006 1 commit
  29. 04 Oct, 2006 2 commits
  30. 20 Sep, 2006 1 commit
  31. 27 Jul, 2006 1 commit
  32. 11 Apr, 2006 1 commit