Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1939521pxj; Wed, 19 May 2021 18:20:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGJ4WQeiGFW3HY3WjDUFDSO5iSz2ugG6sajeS5UUIEZ7RPqgNfMIn9zEW3cUwN+tpipxKO X-Received: by 2002:aa7:d50a:: with SMTP id y10mr2109770edq.161.1621473639342; Wed, 19 May 2021 18:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621473639; cv=none; d=google.com; s=arc-20160816; b=lg8xHupP0Edm6WdYExx4w0/jx5rwn1WIdDuU5zFSx9k7itzzvYdyl118oCn+D+N6+4 nVLpwgzTS2BmQX8lFl+57HY9HwsnjE1/Z2kWA3O4L3lba9VGXFYGlz+lN5Zpaw2rORQP YLfWDRlAOo2+7PHvmdanUZR84YlceYWp/w5Izj3v8/U3zFNyTpjNTXfEjo93uhpQ/lvL c2lH77/ZetMpxo1/aK96ewdgpvutauej6FiNZzjLN61GFibQhY3A0yLRuWvGnXbGn2x5 kGjCjiiiCT+IEwS12qqWoEt5OvkxfdfzlGySOFIzlfaf7O3y1QFXugC+eazKogR55O4Q EGrg== 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=iHiclWwNmbkDjIZibew+dxVBlYyOj4Q9+62BbO0BElM=; b=ewVwAO2PAzuwfnXmxZCTGkjaSJXQ0pQZuHjVncCflYdqMuswzFM6FIJhNiMOXlkUiu st31tP4hC1y2bDkNUaXnMcDzXwVrnIAfSSNmwhEPioc482CoBCmxqUIhn36noS+tk06m +TCZREvXIIu66QSjXuwCmMPYs7ude3NrvgVDG/+X8dKXTbVGp/E990FjZGp45LQDGCf0 n613pUBCme884aU57Cd0Va92RbiscH+YAYngpXrTPi11jDLKVNtLr1LrgxrWB3qmZd96 /eqnVnNSJQ5ePtct4eG00PvLXLx2mX01naVnOtadlnWipyK4KXN54j8g9lAPAUV34tqZ ltcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=y2AsBtab; 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 n2si970830edi.195.2021.05.19.18.19.54; Wed, 19 May 2021 18:20:39 -0700 (PDT) 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=y2AsBtab; 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 S230137AbhETBSW (ORCPT + 99 others); Wed, 19 May 2021 21:18:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbhETBSV (ORCPT ); Wed, 19 May 2021 21:18:21 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E1A8C061574 for ; Wed, 19 May 2021 18:16:59 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id z13so21911275lft.1 for ; Wed, 19 May 2021 18:16:59 -0700 (PDT) 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=iHiclWwNmbkDjIZibew+dxVBlYyOj4Q9+62BbO0BElM=; b=y2AsBtabAqYS/8F7ubzaQsaboehJCfXK/Jma6HlQrHkC1dyhIJyKlr9Gtu1SBGcb4r gcjlgjcSrUJ8zDw9Duc3ENMnZeycri/xdm57gNVd/KGS1s1uQqRKfrqqWWJFz17dNdoe XKwnajO+joO4CoEy6wHBVmyNNkO6uSR3VdevohvlofIIRe6JZ52TPSZzV4ZcDpI5WhxG sur9BA6SUflvVRxc4j0QtzLHpSTkBEttoRlCC4FfY6XrGNuNqqrh2nrz9wbeWfcSWB6P 0bar0CWnCbqvf6lfUbJf31A8i6hpSWNc6hsw8H9t5y9+mPCGS9XidRxeCJyK3OTTsl5U kU+w== 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=iHiclWwNmbkDjIZibew+dxVBlYyOj4Q9+62BbO0BElM=; b=HYMXDGGwP3HAy/xUg9xYkUgA6KR2cY6POxXTkF/2pKA8jxLEH3UmaB8oJIjy79+kEz X57dVG6/nXz/5eH7NKwqbea+a3PBbWMZNQZAGQuPt/yyxUBwGOQn46A7W6Mib9Aw3Tqm UL/zQCVXKD8GEbUu8LMtQ0Qs7XuWDFrwzLrBsiSLGVTEcVxsEn6UCgeiyGF/HCU/pWBX 6qVD7lSfz15jqYRYrhvddd83VoBQ0DfKXxr0D0xfTnzksPl46zWFLk410sNe0pabpZSS J5m8/K7WP1MiKwMIE+HqZYtOqywMUrvmE8a/XFe2ISRJovq0s0fP+dzKgb/XRoy5gTz/ fgPg== X-Gm-Message-State: AOAM5331BFqKZ927evVZhqP5jNz7opW7zWQkab9Fwe3qlUjS/soSk61k 8PsN2TuOnOqdBO7bDiEl+q6yiUlHrSGlqCVTTAySSg== X-Received: by 2002:a19:6a06:: with SMTP id u6mr1505228lfu.626.1621473417983; Wed, 19 May 2021 18:16:57 -0700 (PDT) MIME-Version: 1.0 References: <20210518084900.GA7412@willie-the-truck> In-Reply-To: <20210518084900.GA7412@willie-the-truck> From: John Stultz Date: Wed, 19 May 2021 18:16:46 -0700 Message-ID: Subject: Re: REGRESSION: kernel BUG at arch/arm64/kernel/alternative.c:157! To: Will Deacon Cc: Catalin Marinas , Kees Cook , Sami Tolvanen , linux-arm-kernel , Linux Kernel Mailing List , Bjorn Andersson , YongQin Liu , Amit Pundir , Mark Rutland , Mark Brown , Masahiro Yamada , Marc Zyngier Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 18, 2021 at 1:49 AM Will Deacon wrote: > > Hi John, > > On Mon, May 17, 2021 at 02:52:59PM -0700, John Stultz wrote: > > With v5.13-rc2, I've been seeing an odd boot regression with the > > DragonBoard 845c: > > > > Unfortunately, trying to bisect it down (v5.13-rc1 works ok) is giving > > me inconsistent results so far. It feels a bit like maybe some config > > option gets enabled moving forward, and then sticks around when we go > > back. I'll take another swing at bisecting it later today, but I have > > to move on to some other work right now, so I figured I'd share (with > > folks who better know the recent __apply_alternatives changes) in case > > folks have a better idea: > > Please can you try reverting af44068c581c and 0c6c2d3615ef? Hey Will, I realized I didn't get back to you on this. As MarkR already noted it does seem to be coming from 0c6c2d3615ef. Jumping to 5.13-rc1, doing a make clean, building/booting then jumping to 5.13-rc2 + the two reverts above, building/booting, and the issue won't appear. If we just jump to 5.13-rc2 or 5.13-rc2 with af44068c581c reverted, after building and booting I'll be able to see the issue. Given it disappears after a make clean, I'm guessing this isn't a major issue, mostly just a concern for folks to accidently hit it bisecting things, so I'm not sure if there's anything else to do. Let me know if you'd like me to try anything else. thanks -john