Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp39177pxf; Wed, 24 Mar 2021 20:15:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsoAKNaCif25KdEYJ7px7ct+ozS/E/8PQFl9vtXne7grTAuQV+BmtutxDs9798+z1Q68Th X-Received: by 2002:a17:906:a44f:: with SMTP id cb15mr6911267ejb.420.1616642139858; Wed, 24 Mar 2021 20:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616642139; cv=none; d=google.com; s=arc-20160816; b=SbnUirEXorXLlfBgkKUUexHberQYvC8hE3YmWZzNJMnXsRXKI9+Z8tp3Fbhz4+166H zRgHBjJjGAJb6YAytY+zNMf2ZjhqHJLu5R+Ss1B73IONL3ETSC/Awyd4dbu8zC7eawsp 3YgPLxZUtUq5Kbkl/IsKf7GtPUH54pwEADwW9F9xsNJWlaaaQvQxGDEpTRr5ABbGDjzV IP+yM/vnSkDkMGxFefQ7a3PSY0UxdJich1O0wMwNbKmNuxh8RUhKA+fKPGBytniEhzwh 2cNacRAuQVoyIfNmJtp0irDFFEXAYGlb5kRa6rcMNbQtAx5HDUplJ3TWcVWqk+bROEHj JQeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date; bh=CRcpgv0B4AXITkaDke0njcExOwwS177/vIlt6F4goBA=; b=Du2MJuustyrAJVWBcbaN9aVC0jie0Bj884A8+CpMrNiRcVNHC4Uyd0Ny+GYZnubjPr x3X7nYBypugVasPmg2nasHkG4ml0hueahyChIjCxghNuhTTWwLpuVwScPJUZy/B1QfVj JsFf1S37HiPtEsHlau893GrqXzImXjT+j0NpT0Dhwpm1X0AqWUTjnJz+gu20kZYysm3J yFl/LSBqmIuDHaBAmIQo7LnM8yKIDLqlNz9mSGH7TpzStY8Vc2LITNw3UMERgg0RzviY p6kKHD3tYDeuW1j6t4yGguWgbChYzuTAhwi9Wl5KtbG64aacQvB9r4AhhJopYiviIZ/T NbQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x11si3227960ejv.267.2021.03.24.20.15.17; Wed, 24 Mar 2021 20:15:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231659AbhCXQQp (ORCPT + 99 others); Wed, 24 Mar 2021 12:16:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:34336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbhCXQQW (ORCPT ); Wed, 24 Mar 2021 12:16:22 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3FBE461A0D; Wed, 24 Mar 2021 16:16:22 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lP6BA-003YSY-C4; Wed, 24 Mar 2021 16:16:20 +0000 Date: Wed, 24 Mar 2021 16:16:19 +0000 Message-ID: <871rc4jzn0.wl-maz@kernel.org> From: Marc Zyngier To: Suzuki K Poulose Cc: Catalin Marinas , Mathieu Poirier , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, mike.leach@linaro.org, leo.yan@linaro.org, anshuman.khandual@arm.com, Will Deacon Subject: Re: [PATCH v5 05/19] arm64: Add support for trace synchronization barrier In-Reply-To: <1b5e5bb2-b89f-fa35-0a8b-8c5476cb9ff6@arm.com> References: <20210323120647.454211-1-suzuki.poulose@arm.com> <20210323120647.454211-6-suzuki.poulose@arm.com> <20210323182142.GA16080@arm.com> <7675ab71-c2ff-91e0-5728-fcb216ac1e0d@arm.com> <875z1gk6fo.wl-maz@kernel.org> <1b5e5bb2-b89f-fa35-0a8b-8c5476cb9ff6@arm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: suzuki.poulose@arm.com, catalin.marinas@arm.com, mathieu.poirier@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, mike.leach@linaro.org, leo.yan@linaro.org, anshuman.khandual@arm.com, will.deacon@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Mar 2021 15:51:14 +0000, Suzuki K Poulose wrote: > > On 24/03/2021 13:49, Marc Zyngier wrote: > > On Wed, 24 Mar 2021 09:39:13 +0000, > > Suzuki K Poulose wrote: > >> > >> On 23/03/2021 18:21, Catalin Marinas wrote: > >>> Hi Suzuki? > >>> > >>> On Tue, Mar 23, 2021 at 12:06:33PM +0000, Suzuki K Poulose wrote: > >>>> tsb csync synchronizes the trace operation of instructions. > >>>> The instruction is a nop when FEAT_TRF is not implemented. > >>>> > >>>> Cc: Mathieu Poirier > >>>> Cc: Mike Leach > >>>> Cc: Catalin Marinas > >>>> Cc: Will Deacon > >>>> Signed-off-by: Suzuki K Poulose > >>> > >>> How do you plan to merge these patches? If they go via the coresight > >>> tree: > >>> > >> > >> Ideally all of this should go via the CoreSight tree to have the > >> dependencies solved at one place. But there are some issues : > >> > >> If this makes to 5.13 queue for CoreSight, > >> > >> 1) CoreSight next is based on rc2 at the moment and we have fixes gone > >> into rc3 and later, which this series will depend on. (We could move > >> the next tree forward to a later rc to solve this). > >> > >> 2) There could be conflicts with the kvmarm tree for the KVM host > >> changes (That has dependency on the TRBE definitions patch). > >> > >> If it doesn't make to 5.13 queue, it would be good to have this patch, > >> the TRBE defintions and the KVM host patches queued for 5.13 (not sure > >> if this is acceptable) and we could rebase the CoreSight changes on 5.13 > >> and push it to next release. > >> > >> I am open for other suggestions. > >> > >> Marc, Mathieu, > >> > >> Thoughts ? > > > > I was planning to take the first two patches in 5.12 as fixes (they > > are queued already, and would hopefully land in -rc5). If that doesn't > > fit with the plan, please let me know ASAP. > > Marc, > > I think it would be better to hold on pushing those patches until we > have a clarity on how things will go. OK. I thought there was a need for these patches to prevent guest access to the v8.4 self hosted tracing feature that went in 5.12 though[1]... Did I get it wrong? Thanks, M. [1] https://lore.kernel.org/r/cbe4ef17-38f9-c555-d838-796be752d4a3@arm.com -- Without deviation from the norm, progress is not possible.