Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp204204pxb; Wed, 11 Nov 2020 01:15:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxU88geiEfStH49hJcF6foY1p4o8kTzGB0+wsXWw0E6nwkNLx6XINetfph9H7HZeDNTqQYY X-Received: by 2002:aa7:c74e:: with SMTP id c14mr3013944eds.321.1605086125831; Wed, 11 Nov 2020 01:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605086125; cv=none; d=google.com; s=arc-20160816; b=g5zJZmrm7AzuE+Hgg1XEtQH3AuVufHG9qlc88JGJe2tpDVUI77ODQNZzuBq/spY4M3 pS4jt+6m7DXpptcYJYvwL2xTe0nFN6lsHvwcDEMddneZ22lFQhrJJ/9nXFg233iStfbO htejWvJ0Fvu2UeZDcRClhOdjSgGZgD61MF//yTjsCB23Qem1J6oRUzj79/pxAoooxhsL PTyzX67lBgEnEzwxsqxvYKB+XHO5zqmL4tqehr3wiSPsObmP0m0inLtO5s4rUZF6r7ys sF2lyOI/5FuwelYgggDlyqaQtN9lpEkGelXB4r0wHfDrPyMG9zVh0vKF9i55mndGqyPC 7oLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Nbnt6veYw6qTwcMDRL4+mV8KXeaSuLnKhno6+5s2SFU=; b=D1ZSFs92TQ/G+8LRi6KUVrG8o1xqEJFtjYoZpwVo20TA9xjW506RplG/bFO8+gayoM vAi04ejVdQZItbvjwQe3RT8gIZ0Ro+ISysSIe5p9UzDcIBHIV4kN3iEJ5bjjEuKphlJY 4SvT67wDYMJlgPg+DtM8eiH/SnqoGFtZUgJ4dyJjxVnRT3JcwcpjbCN2NwJdJD0QwrMx lkqii50ajLURIBC/3N79WRMxgVgSRZbVBMG8JLreTE71Z8fe1R9d1prUVwPlcf8kxdFE yYaKwOA5MyYEjwmEQqacpsPnSxi4O/iXTNVhF74cD+5DhpZFRpIb+6bj5V8Ardcv6EC/ uwYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ty5YHZnW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kt22si840755ejb.384.2020.11.11.01.14.59; Wed, 11 Nov 2020 01:15:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ty5YHZnW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726485AbgKKJMq (ORCPT + 99 others); Wed, 11 Nov 2020 04:12:46 -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-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