Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2631923rdg; Mon, 16 Oct 2023 09:56:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHklY+QptMi6+CIAqfYE1EYEGS1ha4iU19ZkE19jh3ujNwu8ByuVP5HqSdHN/LaVRHcA/uk X-Received: by 2002:a17:90a:1a16:b0:27d:237b:558b with SMTP id 22-20020a17090a1a1600b0027d237b558bmr9202095pjk.5.1697475405725; Mon, 16 Oct 2023 09:56:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697475405; cv=none; d=google.com; s=arc-20160816; b=gt7Bh3jQqaCdf0Kvvbo6HsHf4ge/amOhnP0v+Uzqi8KstlTEdFZvlbn9pWaXeJSc+p GyvuoJcNyH7CuLDdNic1Fi6LM0NsD+I5UuYvUbEzTAFYrnetSM70tAEIxd1lKCqMSnog qH8Bh6kQln1mgon+mwBqCL/xnJTG6ea32fD8R3nuqT9bWml3OxOv7AImpZ9oDpk2srlu UGu9Q4Pl9ONXmyUEmfrssJ1EUDAJwUgXqXg5sVqrDBC3xDZpLJ+JofS1Ke0fY3ii94q5 PZ7nSmJNQDfzpSFt98sCvlyBDfY1cF/coTiJpO8uLq2h1k5UsoBYSr18CwED+tOlXBoW CGDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dRqorrAZFRjOszlBZfrfsd0jkOMXoxZklKqXQ6ufyDc=; fh=nP9fuk0pjH5F/z4hX4rV6QKNQVd/fOPVrbrV5GZebH0=; b=jyEjQvDx7e2USeRcCqcbLKbIE9bWXrsaanp6Qf3xgaTfc0fwFBpV7gLAWXmpXFgC6b rk7TbGPhQHc/bYgcs+q68xtgaLwfzeUjN4/dLQlhD/10VDDEotDsB7KxBcWx0hkEB1a4 FQkQlKkskQWlCmHxLg0tlioiddt2mG4bD07gKPcEkW6ZHmc7V6wD33vYAKjfL8CWHk/8 iNQoHQOxhdB4IeKrCCQ+wM0nAInvuZo48sjld3wfwbQj6ANmxDOTDe02a9UE6yGnUMg2 qMG/FFaEQzezNbLe8gbuXVRO+mQKay7pLMB+rd5dGmYLW1MnnfWY2wWonYFN5Y2nbAxE iHrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=awRdYo7K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id o18-20020a17090ac71200b00274e16f797csi6424572pjt.20.2023.10.16.09.56.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 09:56:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=awRdYo7K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 39C7780403A1; Mon, 16 Oct 2023 09:56:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234392AbjJPQ4b (ORCPT + 99 others); Mon, 16 Oct 2023 12:56:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234380AbjJPQ4O (ORCPT ); Mon, 16 Oct 2023 12:56:14 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 806FC1BCB; Mon, 16 Oct 2023 09:52:23 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9381EC433C9; Mon, 16 Oct 2023 16:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697475143; bh=hGThyAcF2BwvI1uYU3x2ubk5OZMx8epy/z86MTbOYwY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=awRdYo7KXl1x29SUJ7g51KHLgOtHWq+IFfPSzFHqVqOwOd8dDbuy8dUU/vLNofZvu WJHOF3iXf9fN19rk9N0yhKj8SSt9JzEd6RtKgL6woYpRQnJuiFJSs8zqq/3MQdzXXx KgzzunEEZdM0cBGahONurnUnVY13OrB6AZpMBxn0= Date: Mon, 16 Oct 2023 18:52:20 +0200 From: Greg Kroah-Hartman To: Thorsten Leemhuis Cc: stable@vger.kernel.org, patches@lists.linux.dev, Catalin Marinas , Will Deacon , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Anshuman Khandual , Sasha Levin Subject: Re: [PATCH 6.5 006/191] arm_pmu: acpi: Add a representative platform device for TRBE Message-ID: <2023101603-bullpen-dedicate-0df5@gregkh> References: <20231016084015.400031271@linuxfoundation.org> <20231016084015.550509169@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 16 Oct 2023 09:56:41 -0700 (PDT) On Mon, Oct 16, 2023 at 06:05:53PM +0200, Thorsten Leemhuis wrote: > On 16.10.23 10:39, Greg Kroah-Hartman wrote: > > 6.5-stable review patch. If anyone has any objections, please let me know. > > > > ------------------ > > > > From: Anshuman Khandual > > > > [ Upstream commit 1aa3d0274a4aac338ee45a3dfc3b17c944bcc2bc ] > > > > ACPI TRBE does not have a HID for identification which could create and add > > a platform device into the platform bus. Also without a platform device, it > > cannot be probed and bound to a platform driver. > > > > This creates a dummy platform device for TRBE after ascertaining that ACPI > > provides required interrupts uniformly across all cpus on the system. This > > device gets created inside drivers/perf/arm_pmu_acpi.c to accommodate TRBE > > being built as a module. > > > > Cc: Catalin Marinas > > Cc: Will Deacon > > Cc: Mark Rutland > > Cc: linux-arm-kernel@lists.infradead.org > > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Anshuman Khandual > > Link: https://lore.kernel.org/r/20230817055405.249630-3-anshuman.khandual@arm.com > > Signed-off-by: Will Deacon > > Stable-dep-of: 4785aa802853 ("cpuidle, ACPI: Evaluate LPI arch_flags for broadcast timer") > > Signed-off-by: Sasha Levin > > Got a compiler error when using Fedora's stable kernel config and > compiling 6.5.8-rc1 for ARM64; not totally sure, but from the error msg > I suspect it's caused by the change quoted above. > > """ > + /usr/bin/make -s 'HOSTCFLAGS=-O2 -fexceptions -g > -grecord-gcc-switches -pipe -Wall -Werror=format-security > -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS > -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong > -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 > -mbranch-protection=standard -fasynchronous-unwind-tables > -fstack-clash-protection' 'HOSTLDFLAGS=-Wl,-z,relro -Wl,--as-needed > -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld > -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 > -specs=/usr/lib/rpm/redhat/redhat-package-notes' ARCH=arm64 'KCFLAGS= ' > WITH_GCOV=0 -j4 vmlinuz.efi > drivers/perf/arm_pmu_acpi.c: In function 'arm_trbe_acpi_register_device': > drivers/perf/arm_pmu_acpi.c:164:19: error: implicit declaration of > function 'arm_acpi_register_pmu_device'; did you mean > 'arm_spe_acpi_register_device'? [-Werror=implicit-function-declaration] > 164 | int ret = arm_acpi_register_pmu_device(&trbe_dev, > ACPI_MADT_GICC_TRBE, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | arm_spe_acpi_register_device > cc1: some warnings being treated as errors > make[4]: *** [scripts/Makefile.build:243: drivers/perf/arm_pmu_acpi.o] > Error 1 > make[4]: *** Waiting for unfinished jobs.... > make[3]: *** [scripts/Makefile.build:480: drivers/perf] Error 2 > make[3]: *** Waiting for unfinished jobs.... > make[2]: *** [scripts/Makefile.build:480: drivers] Error 2 > make[1]: *** > [/builddir/build/BUILD/kernel-6.5.8-rc1/linux-6.5.8-0.rc1.150.vanilla.fc37.aarch64/Makefile:2036: > .] Error 2 > make: *** [Makefile:236: __sub-make] Error 2 > """ > > Full build log: > https://copr-be.cloud.fedoraproject.org/results/@kernel-vanilla/stable-rc/fedora-37-aarch64/06529454-stablerc-stablerc-releases/builder-live.log.gz Thanks, I'll drop the offending commit and push out a -rc2. greg k-h