From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933129AbcDNRF0 (ORCPT ); Thu, 14 Apr 2016 13:05:26 -0400 Received: from foss.arm.com ([217.140.101.70]:44619 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753828AbcDNRFZ (ORCPT ); Thu, 14 Apr 2016 13:05:25 -0400 Subject: Re: [PATCH V2 02/15] coresight: tmc: waiting for TMCReady bit before programming To: Mathieu Poirier , linux-arm-kernel@lists.infradead.org References: <1460483692-25061-1-git-send-email-mathieu.poirier@linaro.org> <1460483692-25061-3-git-send-email-mathieu.poirier@linaro.org> Cc: linux-kernel@vger.kernel.org From: Suzuki K Poulose Message-ID: <570FCDCD.1060902@arm.com> Date: Thu, 14 Apr 2016 18:05:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1460483692-25061-3-git-send-email-mathieu.poirier@linaro.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/04/16 18:54, Mathieu Poirier wrote: > According to the TRM before programming the TMC in circular > buffer mode (and that for any configuration, ETB, ETR, ETF), > the TMCReady bit in the status register has to be set. > > This patch adds a check to make sure the state machine is in > a state where it can be configured, and complains otherwise. > > Signed-off-by: Mathieu Poirier > --- Reviewed-by: Suzuki K Poulose Suzuki