1. 12 2月, 2013 3 次提交
  2. 03 1月, 2013 1 次提交
  3. 14 12月, 2012 3 次提交
  4. 13 12月, 2012 3 次提交
    • M
      microblaze: Fix intc_enable_or_unmask function · 7958a689
      Michal Simek 提交于
      Intc_enable_or_unmask() is called at the last stage of handle_level_irq().
      
      This function enables the irq first (Write INTC.SIE) and clear ISR next (Write INTC.IAR).
      This would create problems that processor will get into a new interrupt as soon as SIE
      is written because the previous level interrupt has been captured by INTC.
      
      If the description bring some puzzles, here is the details of how interrupt is handled
      for MicroBlaze after Interrupt signal is detected:
      1. disable INTC (INTC.CIE = 1)
      2. Acknowledge INTC (INTC.IAR = 1)
      3. gets into interrupt source's handler, for example, timer's handler
      4. Timer is interrupt handler acknowledge Timer Interrupt Status (Timer.TCSR0[23] = 1), and return
      5. Enable INTC (INTC.SIE = 1)
      6. Acknowledge INTC (INTC.IAR = 1)
      
      INTC continue to capture source inputs even if INTC is disabled (INTC.IER == 1).
      So between the gap of step 2 and step 3, the level interrupt from source makes INTC captures
      a new interrupt and thus the INTC.ISR = 1 during step 3, 4, and 5.
      When INTC is enabled in step 5, INTC's interrupt output will go high immediately.
      
      In summary, the driver should issue step 6 before step 5.
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      7958a689
    • M
      1475b0f4
    • M
      microblaze: Remove BIP from childregs · 4336bac5
      Michal Simek 提交于
      Not necessary to use BIP for protection.
      Signed-off-by: NMichal Simek <monstr@monstr.eu>
      4336bac5
  5. 29 11月, 2012 3 次提交
  6. 16 11月, 2012 3 次提交
  7. 15 11月, 2012 1 次提交
  8. 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
  9. 05 10月, 2012 1 次提交
  10. 04 10月, 2012 8 次提交
  11. 01 10月, 2012 1 次提交
  12. 27 6月, 2012 1 次提交
  13. 02 6月, 2012 5 次提交
  14. 25 5月, 2012 3 次提交
  15. 24 5月, 2012 1 次提交
  16. 22 5月, 2012 2 次提交