From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BCDDCC43334 for ; Wed, 8 Jun 2022 09:29:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L5TqyIE5wL8w1+oy0w10TtpOmBXMVOnAl+T5B+gXviw=; b=ELZREuFiII4U1t Xpae3NptmUjXzPnQAQO7LKameVfbridl65vLcHSWXvs1MLOp1y8xoF0ApcMlFW8zoazKhPvNann61 q4Vh0M6LqyaAyhSexsdi0xZ2CN16DE8+PQu6QcCF9c+WpsTRdLDmln0qcqjuOBZ1/dh97wf2gLg90 R0jPfS/hcbYwmqiq6KXkm5klS50HcP/OF/6vQXSMDYrNzcxIvTYgX45ALorVDMRBZzAmK79AxDRDL VQhy7ovXwxr64Q9MwIKel7mB05ldyLWTpcdX9ba1j2oKdz0LWLQ5UDlpI8oQueVQ692EisWh5uwXX QpayosRRQXvFGogGMB/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyrzl-00CNIu-2t; Wed, 08 Jun 2022 09:28:57 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nyrzg-00CNGo-Vq for linux-arm-kernel@lists.infradead.org; Wed, 08 Jun 2022 09:28:54 +0000 Received: by mail-ed1-x52c.google.com with SMTP id v25so26252835eda.6 for ; Wed, 08 Jun 2022 02:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=tYlyFzass8h6qw1uVJCGkyhUXjbk3smDlrzXeVxT2u0=; b=nkmMdQf5gBkPPQncIiRbX4OmocdVvb04QgoCyoOvb8/BiZwuwtHzO3RYNw51QcVBLn FUDNeSqLLD0qO2q19UR6R3rElVE/6r+TzOl8iFFLxMGm+f9TKQKPmS9CjnbvO4KEaxI9 jh1wHL6AsGDk2UTWVzk6V6D5Yie/8QFRJ3me7cKSRKv7+q9LE9L1KGKbADEBUDnyevjO dcoTdsctg5XxZ89ef8k9GYLUvvZSeXpYS79pvU3vGvVXxDvHlyQcqEP/V6Y89LA3RQb1 ndcc/WGZ7LAgsabiri48VMWywJfIz1fEJb8CYw7jZzOYumL5/Qt60W3Ghlr5GznqczUM nReA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=tYlyFzass8h6qw1uVJCGkyhUXjbk3smDlrzXeVxT2u0=; b=Hr128Xa/tE4Pvl0JV8BhDKEmjMB03XOUZFliz5t/WUfRK1CbXKHe4G0lh38M/gFvcS fjDi2CGMuqWCczJJMtfytFspyUz9J4/EMiE4y6cGT6+fFKPUAK78CUSD/8SipTnVNG6X Nt20PivIB2nJZpnSvmW/AVLTBG4TQAA06V4Ds3t8QZV665XCIJIx7cNnmKwDADnRex/p i9+0+h5rjM6jMpZysFYSX5d4ka8q6lyNCwsv3HmoAn3GLg6O8i1JlOLFs8y7u8RTln+r 1/C8w5bTub0k1TfzC7hvdZtH6no//Kl2qtD5Cu/FJ6DqBBoD3PQ08zFzBiWulcqeEYPK aEMg== X-Gm-Message-State: AOAM533f+jxC6QimDeK0sNMBxkJNN++7G8cnD1ALA06eZo9jeQ9cqr+E rnAdDZjQ9YHGmd2xn+Ne9UfbbcKgv+8paQ== X-Google-Smtp-Source: ABdhPJxSvoedkDPLE3K7WO2Ng7V7WDi6E5/s8bE2TvqYyjk3hC0W2h/BYjqHyqu0LAowzu3WzqtrZA== X-Received: by 2002:a05:6402:c44:b0:431:52cc:f933 with SMTP id cs4-20020a0564020c4400b0043152ccf933mr18473131edb.41.1654680529297; Wed, 08 Jun 2022 02:28:49 -0700 (PDT) Received: from [192.168.0.191] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id o13-20020a17090608cd00b006fedcb78854sm8876898eje.164.2022.06.08.02.28.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jun 2022 02:28:48 -0700 (PDT) Message-ID: Date: Wed, 8 Jun 2022 11:28:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: virt_to_phys outside array bounds warning (GCC 12.1.0) Content-Language: en-US To: Bagas Sanjaya , Linux ARM Cc: =?UTF-8?Q?Beno=c3=aet_Cousson?= , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, Russell King , Linus Walleij , "Russell King (Oracle)" , linux-kernel@vger.kernel.org References: From: Krzysztof Kozlowski In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220608_022853_136256_61B27FE1 X-CRM114-Status: GOOD ( 12.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 08/06/2022 10:39, Bagas Sanjaya wrote: > Hi everyone, > > When cross-compiling arm 5.19-rc1 kernel using GCC 12.1.0 (armv7 with neon > fpu, multi_v7_defconfig), I got outside array bounds warning pointing to > virt_to_phys() macro: > Thanks for the report! I think this was already reported: https://lore.kernel.org/all/CAK8P3a3X0UwQiVNZqvGmSKi8BX6zg=k07+9Q3rDGqHVkc8Hdsg@mail.gmail.com/ Anyway, for the future: I don't think the CC list matches the problem. Please bisect this issue (since it is reproducible build time, it should be straightforward) to find offending commit and then Cc responsible people and maintainers (scripts/get_maintainer.pl). Ccing half-random people might not get necessary attention. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F8D1C43334 for ; Wed, 8 Jun 2022 09:56:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235546AbiFHJ4T (ORCPT ); Wed, 8 Jun 2022 05:56:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235581AbiFHJzm (ORCPT ); Wed, 8 Jun 2022 05:55:42 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC32A1275B for ; Wed, 8 Jun 2022 02:28:50 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id x5so21158545edi.2 for ; Wed, 08 Jun 2022 02:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=tYlyFzass8h6qw1uVJCGkyhUXjbk3smDlrzXeVxT2u0=; b=nkmMdQf5gBkPPQncIiRbX4OmocdVvb04QgoCyoOvb8/BiZwuwtHzO3RYNw51QcVBLn FUDNeSqLLD0qO2q19UR6R3rElVE/6r+TzOl8iFFLxMGm+f9TKQKPmS9CjnbvO4KEaxI9 jh1wHL6AsGDk2UTWVzk6V6D5Yie/8QFRJ3me7cKSRKv7+q9LE9L1KGKbADEBUDnyevjO dcoTdsctg5XxZ89ef8k9GYLUvvZSeXpYS79pvU3vGvVXxDvHlyQcqEP/V6Y89LA3RQb1 ndcc/WGZ7LAgsabiri48VMWywJfIz1fEJb8CYw7jZzOYumL5/Qt60W3Ghlr5GznqczUM nReA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=tYlyFzass8h6qw1uVJCGkyhUXjbk3smDlrzXeVxT2u0=; b=ygVuay+A0HbIQTfdhLi2RTnrxW/UeZfSfQb7pAe8r6dbuZdL3ytahh0YkoAiNCQrsJ rEVvuJNKsBLoSGtNcEaGTFTbT8Sxm5dWrzw7PHKhC2UxTEI/RFO3xCpf7x6cD258h0jF Sp6dq+1yKZmn1J+AKx9wLa9t+wfNb9PxYmj1EhNwNUOEJ7d2eS50MLK+4yJhP5mmTLFU lsXu/5gPo5DDtVHX1KBJv6uAGW7+uRskbu4RyBNJ7ebxiUV/jLoFv1p01UHIFHqT/cw/ Ogrx+vUcb8NM0lrGTWcQWEhHNsSKt0o8hBcunJoZtlBcuePYtaeXLv8uN5GwOWlpOELF LX1g== X-Gm-Message-State: AOAM533fzjxNoZFUIkLTZ8qjj8yyDL4YNyP47z+WfcDcJ1J7UXjA+rfE ZxM4bY8dYG5JieyooSYJkX35CA== X-Google-Smtp-Source: ABdhPJxSvoedkDPLE3K7WO2Ng7V7WDi6E5/s8bE2TvqYyjk3hC0W2h/BYjqHyqu0LAowzu3WzqtrZA== X-Received: by 2002:a05:6402:c44:b0:431:52cc:f933 with SMTP id cs4-20020a0564020c4400b0043152ccf933mr18473131edb.41.1654680529297; Wed, 08 Jun 2022 02:28:49 -0700 (PDT) Received: from [192.168.0.191] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id o13-20020a17090608cd00b006fedcb78854sm8876898eje.164.2022.06.08.02.28.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jun 2022 02:28:48 -0700 (PDT) Message-ID: Date: Wed, 8 Jun 2022 11:28:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: virt_to_phys outside array bounds warning (GCC 12.1.0) Content-Language: en-US To: Bagas Sanjaya , Linux ARM Cc: =?UTF-8?Q?Beno=c3=aet_Cousson?= , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, Russell King , Linus Walleij , "Russell King (Oracle)" , linux-kernel@vger.kernel.org References: From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/06/2022 10:39, Bagas Sanjaya wrote: > Hi everyone, > > When cross-compiling arm 5.19-rc1 kernel using GCC 12.1.0 (armv7 with neon > fpu, multi_v7_defconfig), I got outside array bounds warning pointing to > virt_to_phys() macro: > Thanks for the report! I think this was already reported: https://lore.kernel.org/all/CAK8P3a3X0UwQiVNZqvGmSKi8BX6zg=k07+9Q3rDGqHVkc8Hdsg@mail.gmail.com/ Anyway, for the future: I don't think the CC list matches the problem. Please bisect this issue (since it is reproducible build time, it should be straightforward) to find offending commit and then Cc responsible people and maintainers (scripts/get_maintainer.pl). Ccing half-random people might not get necessary attention. Best regards, Krzysztof