1. 16 11月, 2011 1 次提交
    • S
      tty: hvc_dcc: Fix duplicate character inputs · c2a3e84f
      Stephen Boyd 提交于
      Reading from the DCC grabs a character from the buffer and
      clears the status bit. Since this is a context-changing
      operation, instructions following the character read that rely on
      the status bit being accurate need to be synchronized with an
      ISB.
      
      In this case, the status bit check needs to execute after the
      character read otherwise we run the risk of reading the character
      and checking the status bit before the read can clear the status
      bit in the first place. When this happens, the user will see the
      same character they typed twice, instead of once.
      
      Add an ISB after the read and the write, so that the status check
      is synchronized with the read/write operations.
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c2a3e84f
  2. 08 11月, 2011 10 次提交
  3. 07 11月, 2011 26 次提交
  4. 06 11月, 2011 3 次提交