From nobody Tue Dec 03 00:51:18 2024 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 4Y2MXk6Fvsz5fGln; Tue, 03 Dec 2024 00:51:18 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y2MXk4fZfz4TNS; Tue, 3 Dec 2024 00:51:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733187078; 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=hUHBrPIi0eCDa/vWK5jETeVf7Pqq+qqxkZ5tg5kApN0=; b=ytekuJntm50G67BLaW4jDLLPu6EuhxHA8FcHZ3DsCvAhaFItsGeEmCDDHiH19mv25T939D tTHE3/cZu8eJxL1kXHsiWzY4W/YykqgHL/XOt4AhauZKQcjaMiDwMW1BoG06vLY8QxzlQX i3puk3ejjEP/EbLrOtuVOEwnCSMHfVOW7E4KwQmKzKOw10oixgwaj7sY5PcFMTpej5vx5y oXaKCgKyh1d24u8aupepgD2eyPHYIsP/1T/d74Gi+tfB2Oeoc16a7TDtS098f6hb+NEC0W i9WAEBiD6KNzwXbGossfbZfprsBnjOt0GHNe7kytyPEcJS3TRLORgPepEWHr2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733187078; 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=hUHBrPIi0eCDa/vWK5jETeVf7Pqq+qqxkZ5tg5kApN0=; b=O1R1PfU4wPr9Pw+sf00YaxoM5T0lYz6akD8Kygl6R0e8eR98ey/lZaGDycDOxA7jd+pU9i C8bb6RXQdLVfL/SfIoGWDMC6WtKolxnhdPZ70NidEK4NSPmhC6FtdX4eAwbjbPBo/7v+Wn UYRtAwqR/SQMPiqghiIirWKBY6ZEiW+Imoj4flIekZGYGf3KKh90MB2HcmAuoEqMOuC2a7 J9iM5bOpCAK+DMvd2pd5yLN+SLybtAlv/FVAucWWcU3MI+uFdvZTwvJFuCc0PYIq710xr2 gA/yBJ0lWD5SXvf2PHkme3pauh2MbmgepqFvVKw6ZU6hdHthJ3UPYNd8TvGmLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733187078; a=rsa-sha256; cv=none; b=mwO7IDDJOspT8vuM95oxq4rQdc2JoheC9jv/av7BwBCiLA4QKo2axnPSuqXwaf2D818CqQ 3f6qgqNspp+mM9GrbefCXpI3fNU7nSC3UDQelLXk2EwQYXNcLPiqS0SjrrXDnhN/of2T5o LJBRTjJlNc+4hyFzsg3+J1ljFmus0Wnp9ddgQ4Cvz5mdoprRga0wkKU8GIHpAC0G9fJxi+ M3qbyjy17exMCi1YYxHv94kJu9Nr1F2oZRubrzpZdxYlWTNBG8Oi6BxiGFpntFwVRIPmKN tHo889N3AHnXlK0oiGUCkKbodkUJpgWXcJKhNTmDH43L/3dLHARD9IDtuS0gsQ== 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 4Y2MXk4G93z11Rb; Tue, 3 Dec 2024 00:51:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B30pIgI015973; Tue, 3 Dec 2024 00:51:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B30pI0X015970; Tue, 3 Dec 2024 00:51:18 GMT (envelope-from git) Date: Tue, 3 Dec 2024 00:51:18 GMT Message-Id: <202412030051.4B30pI0X015970@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: ebe9a47c0065 - stable/14 - acpica: rename acpi_parse_pxm() to acpi_pxm_parse() and make it non-static 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: ebe9a47c00658e80fe54f4ff8d1b6c51c0e6b081 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ebe9a47c00658e80fe54f4ff8d1b6c51c0e6b081 commit ebe9a47c00658e80fe54f4ff8d1b6c51c0e6b081 Author: Konstantin Belousov AuthorDate: 2024-10-30 15:54:16 +0000 Commit: Konstantin Belousov CommitDate: 2024-12-03 00:39:22 +0000 acpica: rename acpi_parse_pxm() to acpi_pxm_parse() and make it non-static (cherry picked from commit 6f423295f18a3f53a31453d61dbbd5271d7bd099) --- sys/dev/acpica/acpi.c | 8 ++++---- sys/dev/acpica/acpivar.h | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index c2bfe5f2fa5d..45b6146b6308 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -1236,8 +1236,8 @@ acpi_hint_device_unit(device_t acdev, device_t child, const char *name, * _PXM to a NUMA domain. If the device does not have a _PXM method, * -2 is returned. If any other error occurs, -1 is returned. */ -static int -acpi_parse_pxm(device_t dev) +int +acpi_pxm_parse(device_t dev) { #ifdef NUMA #if defined(__i386__) || defined(__amd64__) || defined(__aarch64__) @@ -1264,7 +1264,7 @@ acpi_get_cpus(device_t dev, device_t child, enum cpu_sets op, size_t setsize, { int d, error; - d = acpi_parse_pxm(child); + d = acpi_pxm_parse(child); if (d < 0) return (bus_generic_get_cpus(dev, child, op, setsize, cpuset)); @@ -1300,7 +1300,7 @@ acpi_get_domain(device_t dev, device_t child, int *domain) { int d; - d = acpi_parse_pxm(child); + d = acpi_pxm_parse(child); if (d >= 0) { *domain = d; return (0); diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index eb6022cde159..a8bd9ec33cb7 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -585,6 +585,7 @@ void acpi_pxm_parse_tables(void); void acpi_pxm_set_mem_locality(void); void acpi_pxm_set_cpu_locality(void); int acpi_pxm_get_cpu_locality(int apic_id); +int acpi_pxm_parse(device_t dev); /* * Map a PXM to a VM domain.