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 X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8A47C56201 for ; Wed, 11 Nov 2020 09:12:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7E1D7206FB for ; Wed, 11 Nov 2020 09:12:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ty5YHZnW" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726670AbgKKJMr (ORCPT ); Wed, 11 Nov 2020 04:12:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726989AbgKKJMB (ORCPT ); Wed, 11 Nov 2020 04:12:01 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59076C0613D1 for ; Wed, 11 Nov 2020 01:12:01 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id a9so1200295lfh.2 for ; Wed, 11 Nov 2020 01:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Nbnt6veYw6qTwcMDRL4+mV8KXeaSuLnKhno6+5s2SFU=; b=ty5YHZnWhYAcWsKkLNWiqJBKnBrNi5lXjTSZ32spL4wqL6UtA6AbHjprIxTz2iMOiE 7NvsJXhMLQXVaeyWfyE94zxEGVf4a01pagdCHqtXlvIdjqELf35c/jNzbcV3DDeU2odX aIhx4RYmhkNYPo74YQ/Pfl2ewAKmoeUrL40WuyIxJ03UrfnVmanZnEEw+F0tR8vf2D79 yjDVk1rKlxp67wThAFS/KJqiEgssn3/2MiUCp8Z2YkNsnXdc4p1db9Gf9ilp3A2PguGA Lvj0VM16+uUbPKSbLNMxTUGkl+Rq8zc3QrEknvEK6zb5emqqqP2QL6O3SgsTy/hhN/z/ UOvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Nbnt6veYw6qTwcMDRL4+mV8KXeaSuLnKhno6+5s2SFU=; b=a1o2wKZA/BhL34ER08EZXK11jYBX6FZDU6mo3IaVZdysXP+DdH2NhtJv5/bksdjMTz 6daWfNe9z/lE5MrdP1zHRfvrr4Idd3DaRn5vp4hlloQubRQ4NQdTfDltBfp5ymcE3Ysa 3eSav1Q/ohVCTllHyioUBRBewC4Nl+M+tJrJ9xjjen8RCEWnENQjwaFjg2m7yXcoS9wH CyCPbk3dVmDkKNPLp9Oj+usWTeN5pvqapmK1fZuv1BPY9AYzP2/c5ew8MC78ikeJYSUh 5qqg0RTjgBPB8DSuVOVWep5Rcx0+OynO4aK90A43tNfecNByYtyXdhLGqAf0BHze0hrS ViEw== X-Gm-Message-State: AOAM533AD3rAe54SQt+oH5u2fFBrLQAQS2riFTiciPk0YteuToomq0OM P3qyWCaMJ6l2QZhGoPH4FwxnXI6HeD0qIjoUbPouj3Irb7eTtg== X-Google-Smtp-Source: ABdhPJwos4mzSJfmoOsowN+ImAeNCfboX3OCQ3wQdi+b27K1mVTdppGK3LmHg1zytVgXlWp7fxJcgNHKY9Yn6AOigTo= X-Received: by 2002:ac2:50c1:: with SMTP id h1mr8771651lfm.333.1605085919810; Wed, 11 Nov 2020 01:11:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Wed, 11 Nov 2020 10:11:48 +0100 Message-ID: Subject: Re: arm: kasan: WARNING: CPU: 0 PID: 0 at arch/arm/kernel/insn.c:47 __arm_gen_branch To: Ard Biesheuvel Cc: Naresh Kamboju , Linux ARM , Linux-Next Mailing List , open list , linux-mm , lkft-triage@lists.linaro.org, Arnd Bergmann , Andrew Morton , Masami Hiramatsu , Stephen Rothwell , Steven Rostedt Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 11, 2020 at 9:15 AM Ard Biesheuvel wrote: > (23552K kernel code, 9970K rwdata, 16736K rodata, 3072K init, 4849K > bss, 189072K reserved, 65536K cma-reserved, 2293756K highmem) > > and so the kernel text section is too large to resolve relative branches. Hm, that's really exotic but it's bound to happen. It'd be great if we could warn about that. Maybe even at link time, I wonder how hard it would be? Yours, Linus Walleij 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 X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19488C388F9 for ; Wed, 11 Nov 2020 09:12:04 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6C180206FB for ; Wed, 11 Nov 2020 09:12:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ty5YHZnW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6C180206FB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A977A6B0036; Wed, 11 Nov 2020 04:12:02 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A1FB66B005D; Wed, 11 Nov 2020 04:12:02 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8EAC16B0068; Wed, 11 Nov 2020 04:12:02 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0229.hostedemail.com [216.40.44.229]) by kanga.kvack.org (Postfix) with ESMTP id 5F84C6B0036 for ; Wed, 11 Nov 2020 04:12:02 -0500 (EST) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id E567F8249980 for ; Wed, 11 Nov 2020 09:12:01 +0000 (UTC) X-FDA: 77471570442.30.humor44_1909cba272fc Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin30.hostedemail.com (Postfix) with ESMTP id BF475180B3C8B for ; Wed, 11 Nov 2020 09:12:01 +0000 (UTC) X-HE-Tag: humor44_1909cba272fc X-Filterd-Recvd-Size: 3569 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by imf47.hostedemail.com (Postfix) with ESMTP for ; Wed, 11 Nov 2020 09:12:01 +0000 (UTC) Received: by mail-lf1-f52.google.com with SMTP id j205so2191224lfj.6 for ; Wed, 11 Nov 2020 01:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Nbnt6veYw6qTwcMDRL4+mV8KXeaSuLnKhno6+5s2SFU=; b=ty5YHZnWhYAcWsKkLNWiqJBKnBrNi5lXjTSZ32spL4wqL6UtA6AbHjprIxTz2iMOiE 7NvsJXhMLQXVaeyWfyE94zxEGVf4a01pagdCHqtXlvIdjqELf35c/jNzbcV3DDeU2odX aIhx4RYmhkNYPo74YQ/Pfl2ewAKmoeUrL40WuyIxJ03UrfnVmanZnEEw+F0tR8vf2D79 yjDVk1rKlxp67wThAFS/KJqiEgssn3/2MiUCp8Z2YkNsnXdc4p1db9Gf9ilp3A2PguGA Lvj0VM16+uUbPKSbLNMxTUGkl+Rq8zc3QrEknvEK6zb5emqqqP2QL6O3SgsTy/hhN/z/ UOvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Nbnt6veYw6qTwcMDRL4+mV8KXeaSuLnKhno6+5s2SFU=; b=siSJdgVtzg3txXKwRuBfqS9dfnRFplGJizjh80CU6+8XSiHIwCXLGVJ1BwdzJdJBT4 9Quj1uO4eUHkDtVSJ61Diw0uKcJC9ER9EQoB67VbUZB8i7j1PsFM0/G1EHtr1iNnU+yX pY8DXG6P9lbFdPx9AdBRlf82S64hscARh+JrO2TmE4bAU0k1o/qwOGleXfa3vJump6fU UWPSkGPKmDsJnSOmp+KsJI8UgwpICw3bJij3kwzAgs8m/mLp8i/zhzvuu0pfImiHT14r r8BRiAVGdlufKJwBKLXrhWLkwCFg/oJqwvR2KwJHj150422h580hCXXJWzZq3ksa/Mt8 ebzQ== X-Gm-Message-State: AOAM531bAL4nbw9O5DuD9/TtmExeT+7NO71l9SvYhaaBtmHfKThQy1h9 gMQ+X9YWV+wGOLjb6E0r7M+sHsvCj46rA00Rdpda/g== X-Google-Smtp-Source: ABdhPJwos4mzSJfmoOsowN+ImAeNCfboX3OCQ3wQdi+b27K1mVTdppGK3LmHg1zytVgXlWp7fxJcgNHKY9Yn6AOigTo= X-Received: by 2002:ac2:50c1:: with SMTP id h1mr8771651lfm.333.1605085919810; Wed, 11 Nov 2020 01:11:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Wed, 11 Nov 2020 10:11:48 +0100 Message-ID: Subject: Re: arm: kasan: WARNING: CPU: 0 PID: 0 at arch/arm/kernel/insn.c:47 __arm_gen_branch To: Ard Biesheuvel Cc: Naresh Kamboju , Linux ARM , Linux-Next Mailing List , open list , linux-mm , lkft-triage@lists.linaro.org, Arnd Bergmann , Andrew Morton , Masami Hiramatsu , Stephen Rothwell , Steven Rostedt Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Nov 11, 2020 at 9:15 AM Ard Biesheuvel wrote: > (23552K kernel code, 9970K rwdata, 16736K rodata, 3072K init, 4849K > bss, 189072K reserved, 65536K cma-reserved, 2293756K highmem) > > and so the kernel text section is too large to resolve relative branches. Hm, that's really exotic but it's bound to happen. It'd be great if we could warn about that. Maybe even at link time, I wonder how hard it would be? Yours, Linus Walleij 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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E87BC388F9 for ; Wed, 11 Nov 2020 10:21:24 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B9DB8206F1 for ; Wed, 11 Nov 2020 10:21:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MbzMCttD"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ty5YHZnW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B9DB8206F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RjXWO/E8OWV4W7YAZImL/qZ1ET5TwryHZkzn/ZqU5J0=; b=MbzMCttDIOOUP5m/lSbakEX3c K8SL6KagrnjPTSwn9RVHCLrxA8wYMw0czTA82jOtkxI5b0uIFZz72xGBZQk5HS0zjLy1wtuv0veN+ Xry4fafxE5mG8rn+j1QNkZsP3HUacbG7gJfkoLRS47HiaDz9xVkz/7jt7D4AT4rkNRbDZQ9tNZvuT ebHfGaZRbiNQ3Yx7ElVuyhk3VYhJ9qD3b78g+vLHmZHLQhb/qXbi4dG3mINK1VAdTcvMIL5uYjZW4 1D4MBtNxxJni46lrcMe8c+XczIW3jBjVV6ZEOZ05UKbhwENIVZ7z34t8Bc+yMyvHsTRiqJRX8Klp2 1xpqZgblw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcnEy-0003M3-Rf; Wed, 11 Nov 2020 10:20:36 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcmAb-0006CG-BB for linux-arm-kernel@lists.infradead.org; Wed, 11 Nov 2020 09:12:02 +0000 Received: by mail-lf1-x134.google.com with SMTP id s30so2210536lfc.4 for ; Wed, 11 Nov 2020 01:12:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Nbnt6veYw6qTwcMDRL4+mV8KXeaSuLnKhno6+5s2SFU=; b=ty5YHZnWhYAcWsKkLNWiqJBKnBrNi5lXjTSZ32spL4wqL6UtA6AbHjprIxTz2iMOiE 7NvsJXhMLQXVaeyWfyE94zxEGVf4a01pagdCHqtXlvIdjqELf35c/jNzbcV3DDeU2odX aIhx4RYmhkNYPo74YQ/Pfl2ewAKmoeUrL40WuyIxJ03UrfnVmanZnEEw+F0tR8vf2D79 yjDVk1rKlxp67wThAFS/KJqiEgssn3/2MiUCp8Z2YkNsnXdc4p1db9Gf9ilp3A2PguGA Lvj0VM16+uUbPKSbLNMxTUGkl+Rq8zc3QrEknvEK6zb5emqqqP2QL6O3SgsTy/hhN/z/ UOvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Nbnt6veYw6qTwcMDRL4+mV8KXeaSuLnKhno6+5s2SFU=; b=XMR8vxFPaBA1HpfnIyu7PZBEDEDvsQpWlrfEN2lWAurweLRRX3v8KojSxw4xRnJWg3 8R/RHRYIbvVfRcNx3KVPhhbpZlmUG2ZAELIQyEN80bH3GI6aNEmDsjlPP4c0vXU0lg76 RM4PTruvc0A/GjVPRd8oY9E0iuLbHKlkOnnhPeu2YfXjox/dSO7jk3oNPqSBveZS6RPL ph6gMCFyvm+5xwRslKDfUl/SInYwb/EijTrdhA9Xn80P90mbeNKeb4sERLA9d/O2w864 je7eQ21AeJofKhZtk1Hjc0Tqe0EWBvTBgeCP4K8NMZEMeIc7lycWZrNpDoIyeAwre6T8 auSA== X-Gm-Message-State: AOAM533FhIiJjkc4WJ+INqL8+RtcEUL3VFQwP8m8Ix5dH1xDgthNtrxY kB0nwWqr3cppDw83E6MSZkKvGONasEPag4thw6w2Uw== X-Google-Smtp-Source: ABdhPJwos4mzSJfmoOsowN+ImAeNCfboX3OCQ3wQdi+b27K1mVTdppGK3LmHg1zytVgXlWp7fxJcgNHKY9Yn6AOigTo= X-Received: by 2002:ac2:50c1:: with SMTP id h1mr8771651lfm.333.1605085919810; Wed, 11 Nov 2020 01:11:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Wed, 11 Nov 2020 10:11:48 +0100 Message-ID: Subject: Re: arm: kasan: WARNING: CPU: 0 PID: 0 at arch/arm/kernel/insn.c:47 __arm_gen_branch To: Ard Biesheuvel X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201111_041201_704748_EE965C98 X-CRM114-Status: GOOD ( 10.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Rothwell , Arnd Bergmann , Naresh Kamboju , open list , lkft-triage@lists.linaro.org, linux-mm , Linux-Next Mailing List , Steven Rostedt , Masami Hiramatsu , Andrew Morton , Linux ARM 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 Wed, Nov 11, 2020 at 9:15 AM Ard Biesheuvel wrote: > (23552K kernel code, 9970K rwdata, 16736K rodata, 3072K init, 4849K > bss, 189072K reserved, 65536K cma-reserved, 2293756K highmem) > > and so the kernel text section is too large to resolve relative branches. Hm, that's really exotic but it's bound to happen. It'd be great if we could warn about that. Maybe even at link time, I wonder how hard it would be? Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel