1. 03 6月, 2016 1 次提交
  2. 11 5月, 2016 1 次提交
    • S
      irqchip/gicv3-its: Don't allow devices whose ID is outside range · 466b7d16
      Shanker Donthineni 提交于
      We are not checking whether the requested device identifier fits into
      the device table memory or not. The function its_create_device()
      assumes that enough memory has been allocated for whole DevID space
      (reported by ITS_TYPER.Devbits) during the ITS probe() and continues
      to initialize ITS hardware.
      
      This assumption is not perfect, sometimes we reduce memory size either
      because of its size crossing MAX_ORDER-1 or BASERn max size limit. The
      MAPD command fails if 'Device ID' is outside of device table range.
      
      Add a simple validation check to avoid MAPD failures since we are
      not handling ITS command errors. This change also helps to return an
      error -ENOMEM instead of success to caller.
      Signed-off-by: NShanker Donthineni <shankerd@codeaurora.org>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      466b7d16
  3. 09 3月, 2016 2 次提交
  4. 18 2月, 2016 1 次提交
  5. 12 2月, 2016 1 次提交
    • A
      irqchip/gic-v3-its: Fix double ICC_EOIR write for LPI in EOImode==1 · 004fa08d
      Ashok Kumar 提交于
      When the GIC is using EOImode==1, the EOI is done immediately,
      leaving the deactivation to be performed when the EOI was
      previously done.
      
      Unfortunately, the ITS is not aware of the EOImode at all, and
      blindly EOIs the interrupt again. On most systems, this is ignored
      (despite being a programming error), but some others do raise a
      SError exception as there is no priority drop to perform for this
      interrupt.
      
      The fix is to stop trying to be clever, and always call into the
      underlying GIC to perform the right access, irrespective of the
      more we're in.
      
      [Marc: Reworked commit message]
      
      Fixes: 0b996fd3 ("irqchip/GICv3: Convert to EOImode == 1")
      Cc: stable@vger.kernel.org
      Acked-by: NMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: NAshok Kumar <ashoks@broadcom.com>
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      004fa08d
  6. 04 2月, 2016 1 次提交
  7. 26 1月, 2016 1 次提交
  8. 14 10月, 2015 2 次提交
  9. 03 10月, 2015 1 次提交
  10. 29 9月, 2015 4 次提交
  11. 15 9月, 2015 1 次提交
  12. 30 7月, 2015 4 次提交
  13. 17 7月, 2015 1 次提交
  14. 12 7月, 2015 1 次提交
  15. 21 5月, 2015 1 次提交
  16. 30 3月, 2015 4 次提交
  17. 08 3月, 2015 9 次提交
  18. 07 1月, 2015 1 次提交
  19. 13 12月, 2014 3 次提交