Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1687896pxj; Wed, 19 May 2021 11:29:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7dQMIuv4vmeg+Xilqy0O8FfmWNE9aJez8JfWa8sUK4VXt1V+95KigRv8jWUPLz3zPKXqD X-Received: by 2002:a17:907:2136:: with SMTP id qo22mr502786ejb.246.1621448968149; Wed, 19 May 2021 11:29:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621448968; cv=none; d=google.com; s=arc-20160816; b=Qg8WwngbWK6V1rr7VDiqH9gAyXWZwNdsvBure3ZI+xgrtyL08tOMdqC+GkyxTGKlRO hnfHH18ANMOpA+RF07+qAHFZtSg/SX/Bfn3lwwYhDlFnq3NbX3qKqIqRai65m6uB4XtZ cl8421yzhiS+kGGc045toKnKhrHkfkjvCrVcY52BGkDI5eVLw44Nq7UPQNFMHWxVGbli Ezu/iDecmVrhMy3+3y/iOToQ599LTDisMw3b2nUF4UXITc7RG9ec58og+Dr8Lax7ZtyJ xemOUGigqsoeoWG6fQ35Kh4CCkDvxsYb286/bS6LZbbpLQz2aq2r+8tXgN/rgkonYx4Z dZoQ== 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=5lwrIoW2lSRUJf5Z1ZUlUd98G/lIIVYnq9HYhLMGCnE=; b=SCDVTnE7RdUGhRuPJdFkPx4RVM1th8UJhy84yhBdAJ/ztHj1zJRzqZCrGObGbdEzuX A4ObsWEnkb0PRIgBa57r4T4O9cZmnl7Ohj5MGRAYvnbh01QSVqdvjggjTgV9Ikc6h0HG BJzITUbzt+mRelCAnk92b3vq2bL6Nx4BqUgm2RPfp0Mwn5zBH6q62NrQDggshqZx6A1z 9fv3JrFX1PbA3t+KJdmleemB4I3zr+7AM8mPT6z1vz35Av0FNe3WA+94liDak7dm6jSG uhPiW+Rnb/h/iY5myA3dhJclDTUtmnj6j10o5ijqTz8pWGxHPrT0MDVBa53bjMuL5GcS ZgVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VK1H0xbC; 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 ds10si469241ejc.415.2021.05.19.11.29.04; Wed, 19 May 2021 11:29:28 -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=VK1H0xbC; 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 S1351493AbhERSX0 (ORCPT + 99 others); Tue, 18 May 2021 14:23:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351491AbhERSXZ (ORCPT ); Tue, 18 May 2021 14:23:25 -0400 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E349C06175F for ; Tue, 18 May 2021 11:22:07 -0700 (PDT) Received: by mail-oi1-x235.google.com with SMTP id c3so10644986oic.8 for ; Tue, 18 May 2021 11:22:07 -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=5lwrIoW2lSRUJf5Z1ZUlUd98G/lIIVYnq9HYhLMGCnE=; b=VK1H0xbC+hmShEr/90GDKJeRcHQ5ynMeAqpl/+BYJ5D/dzWzVAvEkTRTJsYa6mLQ5p p65hoIaZpltD1X+GVZaS0eymN3Bfuli9Jlt+htsUqLB/FuDRa0xhMATxu0vBETS3JGQ8 k9VsNBW3ziOaucDwNJNzWMZ+3XHlYFok6IZlB1dAZtACfVZ2Au2m6XbgURQpKLiQKndG gw2Y1O17+WLp4pE8g0jLHbNGsJ6SN11JGwUmToFFWrPRKV4XiqjUWXZ0e/dhvpYIrorh cyUAxi+Ly5lnpTU42mwUdOOBuMLoYpI7y1uTSP6esQ+e47+E238pE7sBvYbxVUgpF59q 9ubQ== 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=5lwrIoW2lSRUJf5Z1ZUlUd98G/lIIVYnq9HYhLMGCnE=; b=STlyS40pjv2+Lb+50Uac5An1w3mPNpnQz+rrcdMUQa1Y7HTDsSV7Ugq44xqapAI8PE EIXeDs508EhnXJsddww2XiQYwpKROi8Xuw+fmrsQXt/2EN/6Vu+iEvGClgJk7MygnMy4 9tR4Wj8R8RJwYvtVs2aLaUZo+mspNmBEjFvkzlHBjtX0lFvAp6v4WBoPPUNXDOu1cqj4 bRS3Y1+p4aLAw5SZrNajvWCasqq+PbzkKFDT6+bUywniR2k0hS8jJNGE4wM7F2JKVJ4C +/M+SLHkUmrqlvNMifYKioO70YMdjFV2XZipunF9IUBoEl/yI0LIfelCvLVE/Vv3Qm28 rVLA== X-Gm-Message-State: AOAM5335IB7BP5X7GFXOBLm53CK2F3bhsc4shqyBVsHNZV3rFGMjesEO j4CZI/OGsX7vIg56+ZOlnPPUTS8BQ8jyXuZpiRA5PQ== X-Received: by 2002:a05:6808:8e5:: with SMTP id d5mr3585859oic.141.1621362126885; Tue, 18 May 2021 11:22:06 -0700 (PDT) MIME-Version: 1.0 References: <878s4cv20v.wl-maz@kernel.org> <20210518093211.GA82842@C02TD0UTHF1T.local> <20210518095904.GB82842@C02TD0UTHF1T.local> In-Reply-To: <20210518095904.GB82842@C02TD0UTHF1T.local> From: John Stultz Date: Tue, 18 May 2021 11:21:55 -0700 Message-ID: Subject: Re: REGRESSION: kernel BUG at arch/arm64/kernel/alternative.c:157! To: Mark Rutland Cc: Marc Zyngier , Catalin Marinas , Kees Cook , Will Deacon , Sami Tolvanen , linux-arm-kernel , Linux Kernel Mailing List , Bjorn Andersson , YongQin Liu , Amit Pundir , Michael Walle , Mark Brown , Masahiro Yamada 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 2:59 AM Mark Rutland wrote: > > Adding Mark Brown and Mazahiro Yamada. > > It looks like there's a dependency issue where assembly files don't get rebuilt > when a generated header they depend upon is rebuilt, and from commit: > > 0c6c2d3615efb7c2 ("arm64: Generate cpucaps.h") > > ... we can have stale objects with old cpucap values. Thanks for confirming! I've also verified that things do get back to booting ok w/ v5.13-rc2 after a make clean, so it does seem like some sort of dependency, which explains the inconsistent bisection. thanks -john