Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6821050rdb; Tue, 2 Jan 2024 15:03:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4VBbUcw+gMTzn0tXS3b7vuzgesAMoGrqGqycqWHSOIGsjidM1vnc1Y6PQ+wqTghpBBsgV X-Received: by 2002:a92:c249:0:b0:35f:c6f5:2192 with SMTP id k9-20020a92c249000000b0035fc6f52192mr30682390ilo.41.1704236626506; Tue, 02 Jan 2024 15:03:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704236626; cv=none; d=google.com; s=arc-20160816; b=fcreDXsxB1o2+n5xCvnJ/odar/ZGsC7/Fm9p8Oaeh2JOqOuLSiXWVUY5w97hQx5w1S kgub5enF7HdjvghDga/FnXcIx1bZCFF/OqpEYQN60yyoHLXgTHgiubZzRmEVoM5hHGZ8 HDgjciiQz0Q7QQohSGv0DOEMUM976w1vbVbI8ZjhRacrE3LXGqCLLWd6Wa7kOklX6OLo f/FCYgih0IBzqFiFqjHmrOEyleURjN1rHZkq2MPHCDUbmYLmtUVx2IBANRRM0usn3SgX zl1BPw0ykQPi+rjC7N9Dbw7IlI0D/jfGEgLOU8lD36FNMjxfwuE+TWqHAX3Fp36sNWxd xhhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=Yl+BIDdg260YOhWTGwAtZ/Up6ss/fNGvZoOG0rLjvPM=; fh=0Ddk9JjJv2RI6e/0bRU9uLm/IhgG0QNhV4h5+Ql+ZJI=; b=HH586Gg3FdHPKpmRsWl2leVnCA0akHyd6xqRJJ+NW/CrUKuTOFK6gI3P7nO9PwU1mG 5/2BpRf+np82SX/z2cNzUXBBAnTwsb4ioD/WNlC+uj/3Z4PrB5Unv4jXDcTkjn8DVEDJ Ia5sHQgkhiOlkByOD6YcCqb3TtBZzz7zmPChM9j+SFy6UNKLHasH04XUDwtptOqXqJ2y WXfL5ispNg6Q/uYAZ7enIEM7AEW606o4aOdhDuHrRzFjRc3hxtaHbRhgapLTMcZmBn+5 jBiuUsCzcBxD2mBjz7ya6xucGWbw9MA62J8qLjJKYHE2jpClWk4rc0/hkP1r2lAF7cQm Dneg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=XBE+QBBu; spf=pass (google.com: domain of linux-kernel+bounces-14962-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14962-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 11-20020a63104b000000b005bd0432d9b0si20519756pgq.100.2024.01.02.15.03.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 15:03:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14962-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=XBE+QBBu; spf=pass (google.com: domain of linux-kernel+bounces-14962-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14962-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 954A7B224A8 for ; Tue, 2 Jan 2024 23:03:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B483D1773F; Tue, 2 Jan 2024 23:03:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="XBE+QBBu" X-Original-To: linux-kernel@vger.kernel.org Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56BC71772A; Tue, 2 Jan 2024 23:03:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1704236607; bh=Yl+BIDdg260YOhWTGwAtZ/Up6ss/fNGvZoOG0rLjvPM=; h=Date:From:To:Cc:Subject:From; b=XBE+QBBuny6vDjM/BxjcW35nwrutCrPIO8oV3C5ZJ9IQj++xGr2bedZ2payeMCieI WTKzuAbEC3CTape+Rip3iwL9RD0AJUBHpIxeyL6E6J9AIRrzzy0JscB9sAgF5CWY7K twepkS6XjL3t3PKU7ySmwXyC/nceWl9zbgZW9B6sWV6xGacnnh+kDEwus9tyPOKDZC XVcTVB+OFQaPDsh6/+3inhK+iCAHr+3BAfsLpTjO3PdxM+Jp/y5I1dm17VSOPZMAP8 QntTOKhYFOpP4SHnmtSKrprZ7l5Nc0KOSBvmCVKeGwTuSra9V+qYZOwlH9iSPHP03x LqJUdA+jnfDGA== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (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) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4T4T0s6L0wz4wp0; Wed, 3 Jan 2024 10:03:25 +1100 (AEDT) Date: Wed, 3 Jan 2024 10:03:24 +1100 From: Stephen Rothwell To: Olof Johansson , Arnd Bergmann , Will Deacon Cc: ARM , Anshuman Khandual , Linus Walleij , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the arm-soc tree with the arm-perf tree Message-ID: <20240103100324.05f47bb8@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/CKAH0IHe4gwM3Qlv76cwbvz"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/CKAH0IHe4gwM3Qlv76cwbvz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the arm-soc tree got a conflict in: arch/arm/kernel/perf_event_v6.c between commit: 5cd7da19cb97 ("arm: perf: Remove PMU locking") from the arm-perf tree and commit: ced296f63635 ("ARM: Delete ARM11MPCore perf leftovers") from the arm-soc tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc arch/arm/kernel/perf_event_v6.c index 8fc080c9e4fb,0cbf46233d6b..000000000000 --- a/arch/arm/kernel/perf_event_v6.c +++ b/arch/arm/kernel/perf_event_v6.c @@@ -436,35 -386,9 +373,8 @@@ static void armv6pmu_disable_event(stru val &=3D ~mask; val |=3D evt; armv6_pmcr_write(val); - raw_spin_unlock_irqrestore(&events->pmu_lock, flags); } =20 - static void armv6mpcore_pmu_disable_event(struct perf_event *event) - { - unsigned long val, mask, evt =3D 0; - struct hw_perf_event *hwc =3D &event->hw; - int idx =3D hwc->idx; -=20 - if (ARMV6_CYCLE_COUNTER =3D=3D idx) { - mask =3D ARMV6_PMCR_CCOUNT_IEN; - } else if (ARMV6_COUNTER0 =3D=3D idx) { - mask =3D ARMV6_PMCR_COUNT0_IEN; - } else if (ARMV6_COUNTER1 =3D=3D idx) { - mask =3D ARMV6_PMCR_COUNT1_IEN; - } else { - WARN_ONCE(1, "invalid counter number (%d)\n", idx); - return; - } -=20 - /* - * Unlike UP ARMv6, we don't have a way of stopping the counters. We - * simply disable the interrupt reporting. - */ - val =3D armv6_pmcr_read(); - val &=3D ~mask; - val |=3D evt; - armv6_pmcr_write(val); - } -=20 static int armv6_map_event(struct perf_event *event) { return armpmu_map_event(event, &armv6_perf_map, --Sig_/CKAH0IHe4gwM3Qlv76cwbvz Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmWUljwACgkQAVBC80lX 0GyYmQf+Jh1/UudwcpUoiFM+H+vdp5fYgFOPAifjQ1r4kY7eI+sX9O7XPMTthz8u RuiykcpB0q1mbzL3czPaqDelcNs9nNyl7zgDb8HINFOd0PNi6qQ3MT6KhDITI55+ dkEcx0ttunPBbEx7rpitFeI79fYM8uTwnNAoE8oVO0zSv4iTJyFfva3FUaFajx4z 7Fl5fI+3mYyxWh/BgyUXeIhpdTBLZCRiMrim4BWmTK5TVdR1J5RlVhTNpg/9KPyh sQmS90+ufamzwZPy0uCY/rpA5WEnmiBEc3KYpzLuksI2LMOj+Iierl6ps2bzXo/2 PGHgGTpTeIeRmuhjwWbUuI3efmWw1w== =1Vlt -----END PGP SIGNATURE----- --Sig_/CKAH0IHe4gwM3Qlv76cwbvz--