1. 19 5月, 2015 1 次提交
    • M
      coresight: etb10: Print size of buffer we fail to allocate · cc545449
      Mark Brown 提交于
      When we initialise the ETB driver we attempt to allocate a buffer suitable
      for storing the data buffered in the hardware based on sizing information
      reported by the hardware. Unfortunately if the hardware is not properly
      configured (for example if power domains are not set up correctly) then we
      may read back a nonsensically large value and therefore the allocation will
      be too big to succeed. Print an error message showing the amount of memory
      we tried to allocate if the buffer allocation fails to help users diagnose
      such problems.
      
      Normally it is bad practice to print an error message on memory allocation
      failures since there are verbose core messages reported for this but in
      this case where the allocation size might be incorrect it is a useful hint.
      Signed-off-by: NMark Brown <broonie@kernel.org>
      Signed-off-by: NMathieu Poirier <mathieu.poirier@linaro.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      cc545449
  2. 03 4月, 2015 2 次提交
  3. 05 2月, 2015 1 次提交
  4. 12 1月, 2015 1 次提交
  5. 08 11月, 2014 1 次提交