From nobody Mon Jun 27 00:26:35 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E6B608741A9; Mon, 27 Jun 2022 00:26:42 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LWT765ds1z4dpQ; Mon, 27 Jun 2022 00:26:42 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656289602; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3Tc7bb2SOjTa96D2zPvFSCbHLitvBONPfyeTF7dh0fk=; b=pIrAQ4sKBCXtEtq9HzJHTtxY/qkxTphF1z4JLgSWjOpkSH1TSXjHw+cQtcLj3YGrCe7KtK g9KF7C3vqIvkoX6cHjZEmIbIkNTjJuQtepqQel3DUQ8PFa/kE/ygcVumQ8ZH+OAChVB0cm E9MvCaj7HVGnM5Bo78DhvtYEUNbz+B6sPkvceIeo9bdMuU7S7lVQbvKG97XvCXyV8k+UW5 sAluixWYu+opVitrvCDKwQvZMlw6hPe19BHPnZlyDwZzRFQhosdfk4hMsGs8wgJOrLzZqf ywK2eSJpO09RdlLUKByGKA4sB3g7g+maOggq7BMuq0q3QJpNzcdZhRW1FMgO6w== Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 6E7D9A7C9; Mon, 27 Jun 2022 00:26:42 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 72EB18D4A162; Mon, 27 Jun 2022 00:26:39 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 6977FE70810; Mon, 27 Jun 2022 00:26:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id TVu0Mfwm_vdG; Mon, 27 Jun 2022 00:26:36 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 94A4CE7080F; Mon, 27 Jun 2022 00:26:36 +0000 (UTC) Date: Mon, 27 Jun 2022 00:26:35 +0000 (UTC) From: "Bjoern A. Zeeb" To: Jessica Clarke cc: Toomas Soome , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Subject: Re: git: e3572eb65473 - main - Allocate event for DMC-620 and CMN-600 controllers PMU. Add events supported by DMC-620 and CMN-600 controllers PMU. In-Reply-To: Message-ID: References: <202206262217.25QMHOuH076130@gitrepo.freebsd.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1054142026-1656286717=:68830" Content-ID: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656289602; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3Tc7bb2SOjTa96D2zPvFSCbHLitvBONPfyeTF7dh0fk=; b=H6Vok/FHGkiZ/hbZBJSfH9H5+uU1MJHMVFpW/pLuJUQDRHRrARByWmlM0QW2pnOn/z4Da5 QEf1GNuManjBYRNLTMU8DGH72iAExbzt5cjtmiHfQnfVSxvF0Tz+JrzQbou2jqZB881Xoc 4nVnTx0JWiTFdII5yBs0RAu8H0DnSxX27fwZyjLIPytD83Zn2GrQwmGoJP/NNP/6ZpcpmS 0XOOZFaaxx2UnfHMrBC4QAXvYrfVsujvTlRVngfHyRvikJHDGnWzSMUZ2keQRRTekawmo3 jbVnxljNSGUAx4s4TuzC0/StyUFRMcfLbnsc2B+KQLTdVyPBOgdI5G7xyJijAA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656289602; a=rsa-sha256; cv=none; b=YOsZbtLsvbwK20Ed2UY/CYN3zRZ4BO2gaVRYaz4WQ7E32cF26I3PaqXddWeM/lwwWrbegF BS7Ly92lfwxfO71e+pvtH3LgT2AJH5UXjdYr3EXOpbpdQFTKFo35yz/N60Xy8T1KX5NSLm RNBjxTQJtV1WpOp0bTDmtRn6NLVkhFrABXvtfCahjKrj2Q74YZvFInfLndwqbmbgjyCtjJ BUS+ETnet6WIwKNskJsNPzcwFPADK7j4LmfdMx2ILRhe8jagyuGqRwRxok3GMeri8CA3J2 0pwC6DJdvaqiQTReMEPWtRUGCTyieKxlYUF/jiBnsZYMIVbB9PXD5zqfFEe39w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1054142026-1656286717=:68830 Content-Type: TEXT/PLAIN; CHARSET=UTF-8; FORMAT=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Mon, 27 Jun 2022, Jessica Clarke wrote: > On 26 Jun 2022, at 23:17, Toomas Soome wrote: >> >> The branch main has been updated by tsoome: >> >> URL: https://cgit.FreeBSD.org/src/commit/?id=e3572eb654733a94e1e765fe9e95e0579981d851 >> >> commit e3572eb654733a94e1e765fe9e95e0579981d851 >> Author: Aleksandr Rybalko >> AuthorDate: 2022-02-16 00:19:19 +0000 >> Commit: Toomas Soome >> CommitDate: 2022-06-26 18:52:26 +0000 >> >> Allocate event for DMC-620 and CMN-600 controllers PMU. Add events supported by DMC-620 and CMN-600 controllers PMU. >> >> Allocate event for DMC-620 and CMN-600 controllers PMU. >> Add events supported by DMC-620 and CMN-600 controllers PMU. >> >> Reviewed by: bz >> Sponsored By: ARM >> Sponsored By: Ampere Computing >> Differential Revision: https://reviews.freebsd.org/D35609 > > This includes the following (skipped due to lines) diff: > >> * 0x14100 0x0100 ARMv8 events >> + * 0x14200 0x0020 ARM DMC-620 clkdiv2 events >> + * 0x14220 0x0080 ARM DMC-620 clk events >> + * 0x14300 0x0100 ARM CMN-600 events > > > Not enough space was allocated for Armv8 events as it goes up to 0x3ff > in Armv8 (and beyond in later versions of the architecture). Downstream > we extend this range in CheriBSD as required for Morello’s events. > Please relocate these new events well past the end of the existing > Armv8 events so the space can remain contiguous. Should this be 0x3ff then as well btw? https://github.com/CTSRD-CHERI/cheribsd/commit/4ea869cd8b717ca0b07672eb7acc99bf949249de Looking more closely it seems from ARMv8.1 onwards it goes up to 0xFFFF if I read 'Table D8-7 Allocation of the PMU event number space' of ARM DDI 0487H.a correctly? So we should bump this to 0x15000 at least and use that space for other events? I wonder if anyone will do the 700 soon as well? /bz -- Bjoern A. Zeeb r15:7 --0-1054142026-1656286717=:68830--