Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1282379pxu; Fri, 27 Nov 2020 04:07:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0aoi5iW3JYwaYiAdTpuMeCxQ2RIv0PNV5CqkrUb9HlehBmwUSticSMIUrXfmUCmD+Tr61 X-Received: by 2002:a17:906:17d1:: with SMTP id u17mr7184303eje.6.1606478868011; Fri, 27 Nov 2020 04:07:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606478868; cv=none; d=google.com; s=arc-20160816; b=Jpg6lX4O8f9w25jIoeTCWtr2KLqb0WM4fShLncJYQNhud2eg4yjnpN+QX8aKS0GnBh jreLuSE3OdOBB5K3cHbygV/HP/diHldGiGq5slcmaxPHKNOCa65Y/2ZUC1H8iPxNxOj9 Kl8coifbqHJ1j0GAHVQN5lVpFrIt0pNZJhGtiw0LTNqXGS7Z2CbRvFA9Psm4pNt2j27g SuRTXn0QLlwFc0YobsM/LmhexOqYF/b1L4+Rqn+i1h8jWwP2hWBjfunkbgY5LCd5Trn0 4w1hid/qivw6m3LxFUFofc14do69ITdD8aUPgAeYqp6MJVRFCEWofZ6R+zBoP0XC54S6 0dyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=uS8yCdvWkMjA1BrJZdj0K5s7nWR1kGOley4MHoRKo7c=; b=TN9SIdiACtaY5+HkpxrbfqsKEXYjoXWnBF7NJdNa3vjyGdkBLk6ASdnoINaVRkIZZw kjhMXivkF8XsCZcWcm94IoIwnimQhvs7kkxY1saivPRC460PwPMsvunvroZOBfHKJQjB 2bpCEgnphiNsXrirqRm7bkqcXcCU36t+YxVRFv81gL2fpYaIz/ThwPP+wKxMAjC4n80e JCvVoxUU8IXIYcQvwcJKamvESDKF8GLIV5mG0qorvGIH8Mb6AgZmrbU3Yk0O/HQ4pHom wk3sLHiwpwkrXEzz6zIEe9+ibyTxZ9f9MQ+xZ8FyvoWq+mmEsMYz+jASKSSy0rqAVj1v dP1w== 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si5007730edt.49.2020.11.27.04.07.24; Fri, 27 Nov 2020 04:07:48 -0800 (PST) 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727518AbgK0MDp (ORCPT + 99 others); Fri, 27 Nov 2020 07:03:45 -0500 Received: from foss.arm.com ([217.140.110.172]:39508 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbgK0MDp (ORCPT ); Fri, 27 Nov 2020 07:03:45 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DD7A831B; Fri, 27 Nov 2020 04:03:44 -0800 (PST) Received: from [10.57.56.151] (unknown [10.57.56.151]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E81463F71F; Fri, 27 Nov 2020 04:03:40 -0800 (PST) Subject: Re: [PATCH v3] drivers/perf: Add support for ARMv8.3-SPE To: Wei Li , Catalin Marinas , Will Deacon , Mark Rutland , Anshuman Khandual , Vincenzo Frascino , Marc Zyngier , Ionela Voinescu , Ard Biesheuvel , Amit Daniel Kachhap , Vladimir Murzin Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, guohanjun@huawei.com References: <20201127060322.29025-1-liwei391@huawei.com> From: Suzuki K Poulose Message-ID: <861cf678-3e6f-7627-8d41-b9395cb6e5e0@arm.com> Date: Fri, 27 Nov 2020 12:03:35 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201127060322.29025-1-liwei391@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/27/20 6:03 AM, Wei Li wrote: > Armv8.3 extends the SPE by adding: > - Alignment field in the Events packet, and filtering on this event > using PMSEVFR_EL1. > - Support for the Scalable Vector Extension (SVE). > > The main additions for SVE are: > - Recording the vector length for SVE operations in the Operation Type > packet. It is not possible to filter on vector length. > - Incomplete predicate and empty predicate fields in the Events packet, > and filtering on these events using PMSEVFR_EL1. > > Update the check of pmsevfr for empty/partial predicated SVE and > alignment event in SPE driver. For adaption by the version of SPE, > expose 'pmsver' as cap attribute to userspace. > > Signed-off-by: Wei Li nit: Do we need to update the Kconfig help text too ? Right now that says : -- tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"" .... help Enable perf support for the ARMv8.2 Statistical Profiling Extension, which provides periodic sampling of operations in -- Suzuki