From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A27BCC433DB for ; Fri, 26 Mar 2021 16:33:23 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 34B2C61A02 for ; Fri, 26 Mar 2021 16:33:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 34B2C61A02 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jOKy37eeh5rImQlZjKaOb4RY+88isT/4jzZ60lz2OSs=; b=kS5LDFhIacd5nJPPRwu3cfA4y 35AhA1RKhZbzP7BRUUwtvla+IBFSiaZfVAJ7/62WTTBI8VR59tp50h3jqX6eK5QzdtAXYXrZMbUgr 53WneRVLUOAQDoR0AQ7Zf7gbDJ9aNfp2POQIdWHCIYwh7B8HhDMDtItZORUMYOkVpPTOWf/NSjNO0 g8NMcWjFUOGIeIcY/K3GiL2JG33CTe5wCDNbiRtG5utRSxgOHrhLqMh1IVDX+XvVmQjpXtlYuIijy HvrA7p24UeDuxw6kC93lTNRh9io56fmE07H4WbblsoW4ryqTbp61rEwtjmnyDoLLOrS/zzVFmIuqj 7suP1Mtgg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lPpNH-003zTS-Te; Fri, 26 Mar 2021 16:31:52 +0000 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lPpND-003zSv-O5 for linux-arm-kernel@lists.infradead.org; Fri, 26 Mar 2021 16:31:49 +0000 Received: by mail-pg1-x52b.google.com with SMTP id v3so4996532pgq.2 for ; Fri, 26 Mar 2021 09:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=29huvHEo465EjEKfoTt3gNluQWbNTeA+c8M37XDmxzk=; b=GgsPbXb3/hzDDl8E4Odxa4Byrh3RVGZwGmrEZXMupG6a4IHhN4KHJsETBTnd9fcKFm H4HvXqWg2TSPcoEgOe8pjZj11tXpm2UNYicGQ2pnBSiFMXVx9VeQQlFyknn28dmRd28Z ai06yviE5BNZhMoMoASZKg9//Un8JK+FC8z9p3qW8r930Nu4sznOYbDcoWM4Z6EXFkj0 25+jdxpvzpQjOOEyK4MlLc8qn5z0bBwLfU9Zm6VmPBtIaUWSLp9MEePNk7jOcJe5VNeT /P1VnzoboENSseFhZhE5yvj6SVeqmcp+miWQqPE6NSiAGh8J0IjHhRQLetSx2BhUCNBQ eEIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=29huvHEo465EjEKfoTt3gNluQWbNTeA+c8M37XDmxzk=; b=IlD73sP6GMB/ToS1hTS9wufInuMiVDG6PpYDVB8I90KwpzRMaNXbB7V75ypVTC6YmN 7O94uR19YL2UNpHukgdhSBrhrv9iRjFoKjH0IgU7cJ/8P5KH4WM13ElSYFeTCtXT/6je rkOd/Pxw9p5rLGp/VpkQNTcFIenMz6MtoBGx3XrmsIzaLEvoAEpwpoKS4iNJZBZM3IPj TbAXxr/0NOjPt1GU9Mog7//ioUgndJpXFncC3MZP/ui1i5/MJrYfUlklyI1gxBAZ3Jb4 MMVacHokykkRSLa06r0D2hWY0qJzWedvARTW87LrKrMakRo3eWftQVra/a373g7nSrfP Hb4A== X-Gm-Message-State: AOAM533g9clIIZBUnj1l/AzZf+y7GVX1ES+z7c/VTRx/g+S+DeX3WRFr o+u6LRlbUWJwHTo3ca3zhSlAug== X-Google-Smtp-Source: ABdhPJzV2mwjkwpklaEXxEIspenNY0PM9et+7QsU9xhTqcbNl8ISd4RHOpZHZMidiRnb5q1omGMqsg== X-Received: by 2002:a63:7a07:: with SMTP id v7mr12788014pgc.26.1616776306089; Fri, 26 Mar 2021 09:31:46 -0700 (PDT) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id b10sm9439387pgm.76.2021.03.26.09.31.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 09:31:41 -0700 (PDT) Date: Fri, 26 Mar 2021 10:31:39 -0600 From: Mathieu Poirier To: Marc Zyngier Cc: Catalin Marinas , Suzuki K Poulose , 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 Message-ID: <20210326163139.GB2009902@xps15> References: <20210323182142.GA16080@arm.com> <7675ab71-c2ff-91e0-5728-fcb216ac1e0d@arm.com> <875z1gk6fo.wl-maz@kernel.org> <1b5e5bb2-b89f-fa35-0a8b-8c5476cb9ff6@arm.com> <871rc4jzn0.wl-maz@kernel.org> <17e57b01-840b-dbeb-c09f-1c04becb8749@arm.com> <87tup0ikf0.wl-maz@kernel.org> <59aec851-e980-0a6d-8ba5-56a35fa5a7a9@arm.com> <20210324171934.GB3709@arm.com> <877dlwsb54.wl-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <877dlwsb54.wl-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210326_163147_929721_348D86BF X-CRM114-Status: GOOD ( 27.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Mar 24, 2021 at 05:40:39PM +0000, Marc Zyngier wrote: > On Wed, 24 Mar 2021 17:19:36 +0000, > Catalin Marinas wrote: > > > > On Wed, Mar 24, 2021 at 05:06:58PM +0000, Suzuki K Poulose wrote: > > > On 24/03/2021 16:30, Marc Zyngier wrote: > > > > > > > > OK, so we definitely do need these patches, don't we? Both? Just one? > > > > Please have a look at kvmarm/fixes and tell me what I must keep. > > > > > > Both of them are fixes. > > > > > > commit "KVM: arm64: Disable guest access to trace filter controls" > > > - This fixes guest fiddling with the trace filter control as described > > > above. > > > > > > commit "KVM: arm64: Hide system instruction access to Trace registers" > > > - Fixes the Hypervisor to advertise what it doesn't support. i.e > > > stop advertising trace system instruction access to a guest. > > > Otherwise a guest which trusts the ID registers > > > (ID_AA64DFR0_EL1.TRACEVER == 1) can crash while trying to access the > > > trace register as we trap the accesses (CPTR_EL2.TTA == 1). On Linux, > > > the ETM drivers need a DT explicitly advertising the support. So, > > > this is not immediately impacted. And this fix goes a long way back > > > in the history, when the CPTR_EL2.TTA was added. > > > > > > Now, the reason for asking you to hold on is the way this could create > > > conflicts in merging the rest of the series. > > > > The way we normally work around this is to either rebase your series on > > top of -rc5 when the fixes go in or, if you want an earlier -rc base, > > Marc can put them on a stable branch somewhere that you can use. > > Here's what I've done: > > - the two patches are now on a branch[1] based off -rc3 which I > officially declare stable. Feel free to rebase your series on top. > > - the KVM fixes branch now embeds this branch (yes, I've rebased it -- > we'll hopefully survive the outrage). We don't have a choice to rebase. I will rebased CS next on [1] and apply this set on top of it. Hopefully the KVM fixes will have made it to GKH's char-misc tree by the time I send him the patches for the next merge window. Otherwise we'll have to merge patches twice as Catalin mentioned. We can deal with that if/when we get there. Thanks, Mathieu > > Thanks, > > M. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git/log/?h=trace-fixes-5.12 > > -- > Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel