Skip to content
Snippets Groups Projects
  1. Aug 30, 2021
  2. Aug 27, 2021
  3. Aug 26, 2021
  4. Aug 25, 2021
  5. Aug 23, 2021
  6. Aug 20, 2021
  7. Aug 19, 2021
  8. Aug 18, 2021
  9. Aug 17, 2021
    • Bart Van Assche's avatar
      ANDROID: scsi: ufs: Add more logging · 89249375
      Bart Van Assche authored
      
      The logs attached to bug 196797012 show that the error handler has been
      activated and also that a SECURITY PROTOCOL OUT command is being
      retried but not why. Hence this patch that adds more logging.
      
      Notes:
      - The code that initializes the completion status to
        OCS_INVALID_COMMAND_STATUS was introduced by the initial UFS commit.
        See also 7a3e97b0 ("[SCSI] ufshcd: UFS Host controller driver").
      - The behavior to retry a command if the controller did not overwrite
        the completion status was introduced by commit e8e7f271 ("scsi:
        ufs: Improve UFS fatal error handling") without explaining why. From
        that commit:
      
        +       case OCS_INVALID_COMMAND_STATUS:
        +               result |= DID_REQUEUE << 16;
        +               break;
      
      Bug: 196797012
      Change-Id: I86ce4149babde1daf07af94464b878e9e697b37b
      Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
      89249375
    • Dongseok Yi's avatar
      soc/google/cpif: Try to refill DIT dst data buffer · b263599a
      Dongseok Yi authored
      
      dit_init would get a skb alloc failure in dit_fill_rx_dst_data_buffer.
      dit_init will check the below condition on the next call and there
      will be no error.
      
      dit_fill_rx_dst_data_buffer:
      [...]
        if (initial && desc_info->dst_skb_buf[ring_num])
          return 0;
      [...]
      
      Some entries of both dst_desc and dst_skb_buf can be empty. Add a flag
      to check if dst_skb_buf is filled.
      
      Bug: 192712042
      Test: Simulate skb alloc failure, then use perftest to send UDP data.
      
      Signed-off-by: default avatarDongseok Yi <dseok.yi@samsung.com>
      Change-Id: I800971926c13fafd6a0c805844a5c443bb69c0d9
      Signed-off-by: default avatarMars Lin <marslin@google.com>
      b263599a
  10. Aug 16, 2021
  11. Aug 13, 2021
Loading