From nobody Thu Dec 22 14:37:59 2022 X-Original-To: dev-commits-src-main@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 4NdCbD2Zhtz1HZV2; Thu, 22 Dec 2022 14:38:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NdCbD0c2Rz3HJK; Thu, 22 Dec 2022 14:38:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671719880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VY4rJ+Kc6mMyEx+rtgWeagFE0p+jIssonNALSf74glg=; b=wCEpR2uZc/Kji+F0d8AYbXyofD/0DymGmOdEQ8uOb7FZ+zmuWuibjTnNRM/vH9ZKi3empE MJTXCajhHBVXYqOcjqOGTbvxFYD4QjugEWSFfDGAkaOsWy9w4lV8kcEn8sTc+9lrR8Ehsl Ld2aCkVgS9P5daEfHEKzjd964mvyVUnpL38P5KPHOYWxZc0aUm6d5GJ3/zYkD48grBbAcO FUrMvABn40DqW1Ew0HkbjdjeSJzgIya7y6Nj5iwyCQOIg07GmwnMGm8cXlNtwunQsNtAcN bOZ15KYgbuLK0SiNYGHGRG7T4CQ34nJ1tpNVult8goFPHL5WTsoDrdcQNkCo9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671719880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VY4rJ+Kc6mMyEx+rtgWeagFE0p+jIssonNALSf74glg=; b=P7PlriVaMkidPR12TGM0ynyj9OWbabD/P23XO/CaoWErAF1FLiOZ8vhbJ2gvMW02KACkxb 5bdF/qVZCf04BpQ0CgvAFoTCCqjuPrWg/4O5XurLW7q0ds2QItuuOG3Yu0yiz6gt1e7v5o 3hUsxQ57Dj0XOYpWs96HH8VWcjQZMjnX3+3NjphwM7GqbSa6mMaFKce7iUnTKu+5B/6erR B+/VRdgI7lxsCzP8i+Wgj022R4WC+V/7lkYFuGwgFKRGhLLJLWwSq3iucrnKGc1sWU634x dLvGRms9as70uZhTFZu3HMHVSMdy8MNhJ9npACm1OSzIuUg/lv9SKhVL1z5mhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671719880; a=rsa-sha256; cv=none; b=aOns0EURLNkZRSoTB2iNkYI4I8d6D/y3RX9426to7BTUycvnKkuk8MpRIAcYIbNDPIkFdc AssisImNQ8WSpCoWFvYbHU7ZH3KCZni8+mz9hI0I+OEOo1RRIIcnV9bcfdX+1rI0N0MI92 5P5/UCRzWQzCxQ3Sk2GJ40gXsmDArUt0KMTLjPmpp7BvJqKLQDHaSva1Pt9Owmo3w1IBlG 1EsOjBa+4taXiS5mba4zlnEo0PaFHWIAdEod2awd3n6amSqqJB3PgpYeeffk7tBBTTNEfP w0JlyPZsdej65tRZJYTj9F0Cj19yrAvFiQa+eXPJcsQSY7Ar7EKW+lDrGAjowA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NdCbC6lGCzxvB; Thu, 22 Dec 2022 14:37:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BMEbxuC081427; Thu, 22 Dec 2022 14:37:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BMEbxj7081426; Thu, 22 Dec 2022 14:37:59 GMT (envelope-from git) Date: Thu, 22 Dec 2022 14:37:59 GMT Message-Id: <202212221437.2BMEbxj7081426@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: 2eee99f79480 - main - Allow CPUs to be missing in the Arm PMU driver List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2eee99f794800124a7cc288763fcd8f8ae35935b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=2eee99f794800124a7cc288763fcd8f8ae35935b commit 2eee99f794800124a7cc288763fcd8f8ae35935b Author: Andrew Turner AuthorDate: 2022-12-19 13:51:48 +0000 Commit: Andrew Turner CommitDate: 2022-12-22 14:24:40 +0000 Allow CPUs to be missing in the Arm PMU driver To support running on some emulators we allow CPU start to fail if the CPU we are starting is not present. The PMU driver will then check if the CPU is present and fail to attach if any are missing. To allow the PMU to be used in such an environment don't fail to attach when a CPU is missing. Sponsored by: Arm Ltd --- sys/arm/arm/pmu_acpi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/arm/arm/pmu_acpi.c b/sys/arm/arm/pmu_acpi.c index 8812ac7b3af4..f11eacb5059d 100644 --- a/sys/arm/arm/pmu_acpi.c +++ b/sys/arm/arm/pmu_acpi.c @@ -82,7 +82,6 @@ madt_handler(ACPI_SUBTABLE_HEADER *entry, void *arg) /* pcpu not found. */ device_printf(sc->dev, "MADT: could not find pcpu, " "ArmMpidr %lx\n", intr->ArmMpidr); - ctx->error = ENODEV; return; }