Merge changes I0083953e,Icc8df58d,I84e828ed,I58aff832

* changes:
  Handle out-of-bound indices
  Clarify which HAL (methods) apply to which devices
  Update HAL interface
  Add portId to HPD-related methods