Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5990319rwb; Tue, 22 Nov 2022 07:28:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf5rsn2HP+9iGscwuAVP3n8wY4AmqWR7iaWJpELne09QgzEDRPFZVOhCOheajIyseUhyp1IN X-Received: by 2002:a17:906:fca7:b0:7ae:9677:d8dd with SMTP id qw7-20020a170906fca700b007ae9677d8ddmr3747886ejb.71.1669130912327; Tue, 22 Nov 2022 07:28:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669130912; cv=none; d=google.com; s=arc-20160816; b=o3l2+xPmE5G5SEbL0dco7yUGqAOY14AEFEypWB/D2zr/XtOeOJVyt6jERoKRjg8qdh H1+vpeV6EmvkanBJp+H2MU+dOlQkyEAhcCQWDizMxLk2FUz9vyU0TJfY4TgDuQI9774r kzeWS1lI5621LoDVQv6e6HkNaFN0iWZBiMLkaE1AkV37tp//Opm08+KwDGmGUCisrRsu byL7Wr6aW6nHoI/6bF1ZyuO4/+mD+mFAGc1jh8f7wAEn8ImZIwFwn9o0z0CVh7U+VTHL XBE3yV/8cPtEeguVKBx8TH+ppGTEwx/bjhqErMmNwjQKOzlnyQ+hiAXeSGllF24FxvR6 N4Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=zgdVU0XdfKxt24b1q8bFcSPQRTE5RmPXyoEbwSiB5ik=; b=BCda0RBzBqkPdSomkJ1weHKHVMuTXKG7PZrkGXEHXSTh746zoKq/ropxEan4YoZQTj CEe1rrjL9wlUOSRbHUOZpJ0JMaZLhq29kopuMVM/gAFpgq873ePoqdGH4px6Il3wPvqs j7kwXJMVa/8JEvLKKpNTPoXEwHaoIYIdbrUmhJRf+2dYeAp5qt7ZYzPZ17uJhulf3HZl Wn92zwJACyye2tQEYoqDky4Udnga+wsFEDR7i+IXY4YCLGx9vj4a7GyL30Xy2xoioW7t 2UdkZM/oPBnLM23xSuJ4Cegz48nCRhxVbtrJb8mjZZkNMHX4tS9VKgwV5Buzf4JeipX/ RWGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xe8-20020a170907318800b007adf3067a4esi13242514ejb.490.2022.11.22.07.28.09; Tue, 22 Nov 2022 07:28:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233180AbiKVPNs (ORCPT + 90 others); Tue, 22 Nov 2022 10:13:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233081AbiKVPNq (ORCPT ); Tue, 22 Nov 2022 10:13:46 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C598E248E0 for ; Tue, 22 Nov 2022 07:13:45 -0800 (PST) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1oxUxx-0004aj-Cj; Tue, 22 Nov 2022 16:13:41 +0100 Message-ID: <075d8c0f-5448-73aa-bd3f-0d4e1216e87f@leemhuis.info> Date: Tue, 22 Nov 2022 16:13:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH] ARM: at91: fix build for SAMA5D3 w/o L2 cache Content-Language: en-US, de-DE To: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , Claudiu Beznea Cc: Alexandre Belloni , Russell King , linux-arm-kernel@lists.infradead.org, Peter Rosin , linux-kernel@vger.kernel.org, "regressions@lists.linux.dev" References: From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1669130025;94552674; X-HE-SMSGID: 1oxUxx-0004aj-Cj X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this is your Linux kernel regression tracker. On 12.11.22 16:40, Peter Rosin wrote: > The L2 cache is present on the newer SAMA5D2 and SAMA5D4 families, but > apparently not for the older SAMA5D3. At least not always. > > Solves a build-time regression with the following symptom: > > sama5.c:(.init.text+0x48): undefined reference to `outer_cache' > > Fixes: 3b5a7ca7d252 ("ARM: at91: setup outer cache .write_sec() callback if needed") > Signed-off-by: Peter Rosin Clément Léger and Claudiu Beznea: what's up here? Is there a particular reason why this patch did get any feedback from you by now? It's ten days old and Peter already sent a kind of reminder a few days ago. Reminder, ideally this regression should be fixed by now. For details see the section "Prioritize work on fixing regressions" in Documentation/process/handling-regressions.rst ( https://docs.kernel.org/process/handling-regressions.html ) Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight. > --- > arch/arm/mach-at91/sama5.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Hi! > > I'm not sure this is the correct solution? Maybe SAMA5D3 should bring > in CONFIG_OUTER_CACHE unconditionally instead? But that seems like a > bigger change, and not just a tweak of the regressing commit... > > Cheers, > Peter > > diff --git a/arch/arm/mach-at91/sama5.c b/arch/arm/mach-at91/sama5.c > index 67ed68fbe3a5..bf2b5c6a18c6 100644 > --- a/arch/arm/mach-at91/sama5.c > +++ b/arch/arm/mach-at91/sama5.c > @@ -26,7 +26,7 @@ static void sama5_l2c310_write_sec(unsigned long val, unsigned reg) > static void __init sama5_secure_cache_init(void) > { > sam_secure_init(); > - if (sam_linux_is_optee_available()) > + if (IS_ENABLED(CONFIG_OUTER_CACHE) && sam_linux_is_optee_available()) > outer_cache.write_sec = sama5_l2c310_write_sec; > } >