From patchwork Wed Jun 4 06:51:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yannic Moog X-Patchwork-Id: 64189 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02CA8C5B543 for ; Wed, 4 Jun 2025 06:51:58 +0000 (UTC) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (EUR02-VI1-obe.outbound.protection.outlook.com [40.107.241.90]) by mx.groups.io with SMTP id smtpd.web10.10159.1749019913266308159 for ; Tue, 03 Jun 2025 23:51:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@phytec.de header.s=selector2 header.b=gbx1rP9U; spf=pass (domain: phytec.de, ip: 40.107.241.90, mailfrom: y.moog@phytec.de) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sEa4KtTHxPhvuZIWDULLoDOYNwGvWaiAsvYDcAjKqSLHIlPHJ49hrgABzWD1DWhksI4r1wkABXhV5V55Q5tQQCPISd5o2kiy04a6J1CvsxOu7IR06oDKHS6UEoEBXgNvymjUaeEv66PfWjZkZzk9VzTOFJYaD2q2fQvnHWhQRYhKUk1TXvu9yvKWV4Q4M4yfyxW/jJWoS4wP5EIF94Am+fbDI7bjqwtC7SkgQqzAUIY3c7/yNdiiErgNQI3YuFv/i3ZpBc0mHSDkRKbLkEZCSX40gO0FaUyDAfVJAHxonM6gK7mcoI5zZbolq9OEFz6p4djz8/hoyHifW5q3f8DbaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OBy5vmiO4CjcbQDahGl9iKISY8M9dYB5cwME3ryrSTk=; b=RPWdu7+PrXFE1O8ha9MzB1Hkuq5As4TDQ+F57nOLNo5VNOvwvk19oKVgYDx+2DleERdxlAYfIwSEkD7UFVXoWKYpk5g6nMEvvUVYQu8jSIS59PtV2A3BPaIBeph5ZCh6Mdo2ncPqgQQ3uerEPWt+P4U7N1MhSG8KUvoHzAij+dG+8WbM1+grZvjMD936467aabG7gjpzMWPMXQ6ighzpRnIRnXIE2VBRL3FflcNFiJw7PVwgJeK1sOIA523RuIUeWn+W05o27HMxa5p2YcR+gCEeOFQiBin25dWbjvzb5bClDTs0PxoQfjsCeqhz4ZH62vPxb6WGlFlVko2lQr6xXw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 91.26.50.189) smtp.rcpttodomain=lists.openembedded.org smtp.mailfrom=phytec.de; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=phytec.de; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phytec.de; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OBy5vmiO4CjcbQDahGl9iKISY8M9dYB5cwME3ryrSTk=; b=gbx1rP9UAiomUjTzPUJvKAHLM9VSALKlEc2QA3gBYbhIDHFZ5dKXxH5d/VRMkGKED7kxFUp5jtABUrTHM1jd209DVRPGzpRMLzDsMwMwVWRHXAR78Vwm14RRzV8adqCjfBCAw/Wl1t75TwExFiO2NEuWWEGA7O1XDyHTXnaNi3QRSjNh9tZdOSr1OlYVc9oXUvSocRB7+9+H6Y5qe39aGdrghbapKPto8g+evIoB02y2c0ZAkO5GmaQ4o1FgEnLoYnKiWq3nUxPkHFmWqkTULX515cANGgZj92jWpWKnqbZOSJGuMsyZV1PgerRJFYa6oC3GCSdMSKP3QaRHsuz7Nw== Received: from JNXP275CA0024.ZAFP275.PROD.OUTLOOK.COM (2603:1086:0:19::36) by GVXP195MB1662.EURP195.PROD.OUTLOOK.COM (2603:10a6:150:6c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8769.37; Wed, 4 Jun 2025 06:51:47 +0000 Received: from AM4PEPF00025F95.EURPRD83.prod.outlook.com (2603:1086:0:19:cafe::6e) by JNXP275CA0024.outlook.office365.com (2603:1086:0:19::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8792.29 via Frontend Transport; Wed, 4 Jun 2025 06:51:45 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 91.26.50.189) smtp.mailfrom=phytec.de; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=phytec.de; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning phytec.de discourages use of 91.26.50.189 as permitted sender) Received: from Diagnostix.phytec.de (91.26.50.189) by AM4PEPF00025F95.mail.protection.outlook.com (10.167.16.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8835.2 via Frontend Transport; Wed, 4 Jun 2025 06:51:44 +0000 Received: from Florix.phytec.de (172.25.0.13) by Diagnostix.phytec.de (172.25.0.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 4 Jun 2025 08:51:43 +0200 Received: from llp-moog.phytec.de (172.25.32.81) by Florix.phytec.de (172.25.0.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 4 Jun 2025 08:51:43 +0200 From: Yannic Moog Date: Wed, 4 Jun 2025 08:51:23 +0200 Subject: [PATCH] perf: add arm64 source files for unistd_64.h MIME-Version: 1.0 Message-ID: <20250604-perf-arm64-unistd-v1-1-97d3bb08927f@phytec.de> X-B4-Tracking: v=1; b=H4sIAOrsP2gC/x3MQQ5AMBBA0avIrE1SVIWriEWjU2ahZIpIGnfXW L7F/wkiCVOEoUggdHPkPWRUZQHzasNCyC4balW3yqgGDxKPVjaj8QocT4d9o7U1fu6N7SB3h5D n53+O0/t+t6XRKWMAAAA= X-Change-ID: 20250603-perf-arm64-unistd-9344a6fc96a7 To: CC: , Yannic Moog X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1749019903; l=1975; i=y.moog@phytec.de; s=20250509; h=from:subject:message-id; bh=BU2TW4gcDvCimwgQkv6nL3fGEALFh/O26Pj/NXKrvEY=; b=z+QzInbZgX/pBaKfzvzBcc0Kp5Oc53jb837GSHPsmLAYBvz1ml1Hbn6YzY+fmiSfY7keVYQL7 h1HCC1WUxQTBEDMdxRFgY38h5vham4p4duuB7AJW5EB+8syf9NbNBBE X-Developer-Key: i=y.moog@phytec.de; a=ed25519; pk=rpKoEJ4E7nD9qsrU/rfKVwMTWNWYaTBylZuJUXUiFr8= X-Originating-IP: [172.25.32.81] X-ClientProxiedBy: Diagnostix.phytec.de (172.25.0.14) To Florix.phytec.de (172.25.0.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM4PEPF00025F95:EE_|GVXP195MB1662:EE_ X-MS-Office365-Filtering-Correlation-Id: ec553feb-da77-4486-5def-08dda33444ba X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?q?JWL62fq9MaKIXuCsAF423DCSUys+1IC?= =?utf-8?q?T43BGZ8q4Y3WNdakMh5bclPKWKUbn6RU1dJF5UziRzbFN6hG1by+Dx0bGrtpeK2me?= =?utf-8?q?8gnl2tm9YR8785P7oWAGPyXp62ldtPDfP34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N/M+VkKjBd6EEL3uVzfUbVrvCJMxFYBXS8?= =?utf-8?q?Q0+mvGXLt+JiaU5UVluYIjAa9deQxQ56fl7tE3iEwia1+Tnt8OHG42gBmfyLga83R?= =?utf-8?q?jnDLPHnrbmoFc5LtRhdtRJNsR/CT6pZ1AjDJIa3utxCGEjZqFS/VURQxxdi/6zZDi?= =?utf-8?q?M31xJh/KaTspFXA2PzHhNvl8007BmvsWBTg4oix8o2WP3WX7q0M6sbbiptzNxDIyA?= =?utf-8?q?Rzxvgh1v1ttpEhVKe2WgncFr/vJ9LJWtbkwwlGLU9+8Z6dng30zLUVC5k36GRaVXR?= =?utf-8?q?06PWt3Op75K8Lg+govaZ3ICWVCJC5EuBxyM2yzBplBhHjg7cZr/sUuuA2bW8jBqBi?= =?utf-8?q?v3BRQEZVijsmP5trNI1YWdVZBbsZN0MNouDAUZLnkxZQxxI2ABz4v4GtyxwNT0Isa?= =?utf-8?q?90acr4padVRWDZmzME4Rw28X0jw8lyZx1OPs0Iyb+6aqvb7lyyJBK3Klc7qUSlKfL?= =?utf-8?q?6Ao08QPXH8?= X-Forefront-Antispam-Report: CIP:91.26.50.189;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:Diagnostix.phytec.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(36860700013)(376014)(1800799024);DIR:OUT;SFP:1102; X-OriginatorOrg: phytec.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2025 06:51:44.2745 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ec553feb-da77-4486-5def-08dda33444ba X-MS-Exchange-CrossTenant-Id: e609157c-80e2-446d-9be3-9c99c2399d29 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e609157c-80e2-446d-9be3-9c99c2399d29;Ip=[91.26.50.189];Helo=[Diagnostix.phytec.de] X-MS-Exchange-CrossTenant-AuthSource: AM4PEPF00025F95.EURPRD83.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXP195MB1662 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 04 Jun 2025 06:51:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/217839 kernel commit bfb713ea53c7 ("perf tools: Fix arm64 build by generating unistd_64.h") introduces a new dependency on source files for arm64, specifically include/uapi/asm-generic. Build fails with: [..]/perf/1.0/perf-1.0/scripts/Makefile.asm-headers:33: [...]/perf/1.0/perf-1.0/include/uapi/asm-generic/Kbuild: No such file or directory make[4]: *** No rule to make target '[...]/perf/1.0/perf-1.0/include/uapi/asm-generic/Kbuild'. Stop. Add the directory to PERF_SRC. Fix whitespace error while at it. Signed-off-by: Yannic Moog --- meta/recipes-kernel/perf/perf.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- base-commit: 343dd7ae4a177111e75f51f6d1ee1ce254f99e9d change-id: 20250603-perf-arm64-unistd-9344a6fc96a7 Best regards, diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 0d19e1bdc222da26a5ad0a1d4964acca437a6692..d7a81b5802dc655917c2adf04472b8e680380ec8 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb @@ -151,6 +151,7 @@ PERF_SRC ?= "Makefile \ arch/arm64/tools \ ${PERF_BPF_EVENT_SRC} \ arch/${ARCH}/Makefile \ + ${@bb.utils.contains('ARCH', 'arm64', 'include/uapi/asm-generic', '', d)} \ " PERF_EXTRA_LDFLAGS = "" @@ -208,7 +209,7 @@ python copy_perf_source_from_kernel() { do_configure:prepend () { # If building a multlib based perf, the incorrect library path will be # detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit - # build, with a 64 bit multilib, the arch won't match and the detection of a + # build, with a 64 bit multilib, the arch won't match and the detection of a # 64 bit build (and library) are not exected. To ensure that libraries are # installed to the correct location, we can use the weak assignment in the # config/Makefile.