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 92AC3C43334 for ; Wed, 8 Jun 2022 09:52:52 +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=y9bjQJbxvLpAA5Z5o4eA6oFX7PBUeS/1ikYMPusSwhE=; b=yBCRKn2d4cFjl7 kLB6+qu44TXEVnovH1lXby79WLz1InmDtYkBJ/5XcnDvdElRyH4HW34E3rYgaBRrxfH/PQEqlQ4PT w/+8UrSW6ElKNRb4uVvy7z/DY+MR7jV3Tlol/XS5SSNghjHORLk40Kr16tSUv+szf+q7ZHnJLNpkH 0fMe0PIAxxH+HkSYofpUIlqzcRP+8FPN5MPQxz/URyaXbNEJddCB8iVbtIZnWuIq16N21kAis7O60 ZJN9vzX58Qbt8Shfae2GBlm9uga458ftZtHkonDIn8mmYQ/SbQP0F9Wjq57sl2XqD+o0PWUGGR7st aSCgLRJc728dfyS7F/Wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nysLo-00CUgp-DY; Wed, 08 Jun 2022 09:51:45 +0000 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nysLi-00CUdf-Da for linux-arm-kernel@lists.infradead.org; Wed, 08 Jun 2022 09:51:39 +0000 Received: by mail-pj1-x1035.google.com with SMTP id hv24-20020a17090ae41800b001e33eebdb5dso15699829pjb.0 for ; Wed, 08 Jun 2022 02:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=fauG2+ouC/pE9fJBFguldPR02kf/OkXrX9OF5a1epKw=; b=HMDNWEhCcLSUhdf09KbZLJllzy0AHoA5hc7cY+4DfDKpW3uhdJJGQTM+yjNkBMqLC0 rel0nka4lEpbb+UZaUt2hdT2PndkqBx9zUxAjumk+h47hcHBM/kwuB01UJ2vi57TYn1S bQYn+pk+nuP3R1TtODW7OP1xUqdV8AsjP9m2AQQU4wWsRjO8MqdDt49f8k7fRbhjrEGK BR8Ad9MoyjpPqYQf/1w6npeHENegaiZkU1umUoVJlpoj/YNRrQ4d2io8IAjflbzm+L4R 1sJN0vFwes29VAAdtCA3+nhPFeSHeqwhgIU1IYGqBiwoBG1qB6AG5kzC/m4B/DwShDUt UHyg== 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=fauG2+ouC/pE9fJBFguldPR02kf/OkXrX9OF5a1epKw=; b=6VuzU3E7sDWMttK431usho3cI3QyUTUGKCj9XwimYxJKMHzTrViuAimDTUlQWBYn+Q Smq+mdUUYYxVz3WGONUIIXHzU7G1aHwO5+HxGEpAmJEpiJT1lIIT5q33kU1HEYKEZstN RLUbn0lK2x5l5AY6zELbskJSAYHKwneYJ3H3g6kZiiiMEn9BdNoKxVVB+IyWZYvRgfKe GCz1VmljhIa+JBTd2muziCrFvM6rU5OQzyeZKPu/0lC5Cl/kSXSc/s4NwPxWFI7Qtv+r TYxsPgQD3TFw0AglawX4e+FZKepatFjk5jhxQmEDK+eEb1HDy9XvJbKOEm/ccgDowVM5 bCDw== X-Gm-Message-State: AOAM533B/Tl+KR1SDF+XVwkyaKnNS9u51oJYWEtK93O/doxBrkiT70Qe FtZBbTM/d+vU0zt+JIGkIQ4= X-Google-Smtp-Source: ABdhPJxEWS/rHoQGxKsD3tIotODBmp2FZwHZA31x813cDASnCP9ZP49/qjqKKz0GqJChqK0YicDI1A== X-Received: by 2002:a17:90b:3b8a:b0:1e2:ee1e:6340 with SMTP id pc10-20020a17090b3b8a00b001e2ee1e6340mr36776831pjb.38.1654681895328; Wed, 08 Jun 2022 02:51:35 -0700 (PDT) Received: from [192.168.43.80] (subs03-180-214-233-80.three.co.id. [180.214.233.80]) by smtp.gmail.com with ESMTPSA id e13-20020aa798cd000000b0050dc76281b8sm15275765pfm.146.2022.06.08.02.51.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jun 2022 02:51:33 -0700 (PDT) Message-ID: <28ec9f61-3086-a12e-3e8d-33f855f916fc@gmail.com> Date: Wed, 8 Jun 2022 16:51:26 +0700 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: Krzysztof Kozlowski , 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, Kees Cook , Naresh Kamboju , Andrew Morton References: From: Bagas Sanjaya In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220608_025138_501152_7E26816F X-CRM114-Status: GOOD ( 16.56 ) 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 6/8/22 16:28, Krzysztof Kozlowski wrote: > 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/ > The report above is for arm64, but similar to this report (arm report). > 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. > I think the most likely culprit is commit 37efe6427dd50e ("[ARM] use asm/sections.h") and 14c4a533e0996f ("ARM: 8583/1: mm: fix location of _etext"). Thanks. -- An old man doll... just what I always wanted! - Clara _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel