Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp621830pxp; Wed, 9 Mar 2022 09:15:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxMJeWpaeHbnFeDAGUa/lSyBWtgAQz+ZyabjQ/I1zJbWb2jOO+pzUNYDSZnCeGvdYKpjDsX X-Received: by 2002:a05:6a00:148c:b0:4f7:2acf:287c with SMTP id v12-20020a056a00148c00b004f72acf287cmr730922pfu.15.1646846129910; Wed, 09 Mar 2022 09:15:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646846129; cv=none; d=google.com; s=arc-20160816; b=RiNHl05suC5P5E5FeCl3umg4M4JMiOAR6FiYMdJ9+8usMqnzdhufOxl0SZN3tQyJ/z cCyOZ6qD/IKQ2+6Y7L9MHUYYJ1SVpp4IyRX9oi4ztT6YY0JxvtwViJgmo2L1R4T5XHur uUFe0VGszuaotiY3Lh4udz2Vk/ExmZiJBup0zmheDuPJzSG/qJQA0ReXXktgTihVlFMZ SoJfgFr9DVe+Z29Jhf0swIZ296+GfHqMVh4zfNk2f9XP8zQ4LHnaOqAWmbKfzXBZr+8n 29a4lWVShVNa5sVSTHmbKlCTimfPsckKy12PKfX6k63Ku/Ou5JEnCafgknc3FuiuCSXz Nzqw== 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=FYem1Pt/Xe9Lh/kXSus3+7B7F4+IckmOlwawpP7mogA=; b=MXUI2fhlBrCtSw47YyQrVRNM3w9XDj02dTgyVEhMroqCuB/sUwV+WsZrGMDFUXiAjU DuMTRIeKasQoW9tg1hzggeGr+UMEAyfrrcDnmJaqVbpO4YOn+R5LObC3nb87d1yr5FWF 3iOOWghGOkkfOr72OMkfNe9k5B0bbM33XVI5fKsRYv3jCwRUWoroIa9UUYWc+W+HxWf9 jK5wv2CpnwxglQYFwEviiN40xmG6h/YMKLKRPjx0iqq1/294JlmcEA0uWcxaOk1tbyd5 BqR+HU6ib/voNeqRU/h15SHaxV+8bRp/fuxUJ/98gRKIyK5aVeP8nZsIWuSM0821VOyF l1Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pe0TRecP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w23-20020a1709027b9700b0014ffe0b5570si2474221pll.91.2022.03.09.09.15.12; Wed, 09 Mar 2022 09:15:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pe0TRecP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236528AbiCIQwW (ORCPT + 99 others); Wed, 9 Mar 2022 11:52:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234813AbiCIQpS (ORCPT ); Wed, 9 Mar 2022 11:45:18 -0500 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEBBD34B84 for ; Wed, 9 Mar 2022 08:38:38 -0800 (PST) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-2db2add4516so29687567b3.1 for ; Wed, 09 Mar 2022 08:38:38 -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=FYem1Pt/Xe9Lh/kXSus3+7B7F4+IckmOlwawpP7mogA=; b=pe0TRecPrltVfciFdizjQSCxwxWp6DJOZb6bed+UsJamf1GlcRlaSr6xxRhVBUHApu gbDXHSOskTCcRjMM86GcKJuwZd8ag3Di6bZDAEmyxfosweVlE8LkrLQIKzRe7Z+TYsNr LoFthUEGmvtTACjAAmMyJ93MmEpBQWQ7dJuoyZ/mH5R4GIXRzCSPMSNQgfZ7q64t+cbZ cJ0VYdQKbsbOgjuJEZ3RweSw5TB1A+o6fNDau++YDHFaV9w6hn8XEm4ElYJ/oPBMruYr +rWeFUsbRphdfweEKvy/H0SRfjWskp5XVvZS/MD6wSi5bp/LV2ZWzGBbpVqmyDrlZzvI sZaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FYem1Pt/Xe9Lh/kXSus3+7B7F4+IckmOlwawpP7mogA=; b=WmrlWmSMgZ5/tc6r80TWizmcrmLJIOFSSuIA6fXHWAGSE4qY7J+GmddSNph3QATQEe pDLkELEiLsA3CdKsivCbzM8AvBSdL5wCLvBcYZAyUdEqT3fI9C7pGeglSsGpaG+u7ujy aSKtR+B77621bfzq/cq8jybhtekJXUIYAfV+cX+DkDu2/HqGPITETkwbDJLXhCdleyW/ uXG4PVIDthAaJlIKcuGJ15CW/Z1Lzsypa3XodtxbLmrB0vLg8PoeJwR1UTCBC+/V5O2s NOcDHB5SAOsLOH5CJhZfmapE+uwD5x/7QYJZZWafVXfxD14iotUXh7nyCKH3yTDzDWbh hQkQ== X-Gm-Message-State: AOAM530wC/8WnQBcm55fLbQR+7v+o5gDh13CmdMMFH86LjP19XRLdKYU IMNa6eBET6+Qt+S824gihdVFjAxRZ3Kb0+pA77oJjA== X-Received: by 2002:a81:2f12:0:b0:2d7:d366:164a with SMTP id v18-20020a812f12000000b002d7d366164amr521610ywv.265.1646843917980; Wed, 09 Mar 2022 08:38:37 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Naresh Kamboju Date: Wed, 9 Mar 2022 22:08:25 +0530 Message-ID: Subject: Re: [next] arm: Internal error: Oops: 5 PC is at __read_once_word_nocheck To: "Russell King (Oracle)" Cc: Ard Biesheuvel , open list , Linux-Next Mailing List , Linux ARM , Linus Walleij , Arnd Bergmann , Corentin Labbe , Stephen Rothwell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Russell, On Wed, 9 Mar 2022 at 20:37, Russell King (Oracle) wrote: > > On Wed, Mar 09, 2022 at 03:57:32PM +0100, Ard Biesheuvel wrote: > > On Wed, 9 Mar 2022 at 15:44, Naresh Kamboju wrote: > > > > Well, we unwound until: > > __irq_svc from migrate_disable+0x0/0x70 > > and then crashed - and the key thing there is that we're at the start > of migrate_disable() when we took an interrupt. > > For some reason, this triggers an access to address 0x10, which faults. > We then try unwinding again, and successfully unwind all the way back > to the same point (the line above) which then causes the unwinder to > again access address 0x10, and the cycle repeats with the stack > growing bigger and bigger. > > I'd suggest also testing without the revert but with my patch. I have tested your patch on top of linux next-20220309 and still see kernel crash as below [1]. build link [2]. [ 26.812060] 8<--- cut here --- [ 26.813459] Unhandled fault: page domain fault (0x01b) at 0xb6a3ab70 [ 26.816139] [b6a3ab70] *pgd=fb28a835 [ 26.817770] Internal error: : 1b [#1] SMP ARM [ 26.819636] Modules linked in: [ 26.820956] CPU: 0 PID: 211 Comm: haveged Not tainted 5.17.0-rc7-next-20220309 #1 [ 26.824519] Hardware name: Generic DT based system [ 26.827148] PC is at __read_once_word_nocheck+0x0/0x8 [ 26.829856] LR is at unwind_frame+0x7dc/0xab4 - Naresh [1] https://lkft.validation.linaro.org/scheduler/job/4688599#L596 [2] https://builds.tuxbuild.com/269gYLGuAdmltuLhIUDAjS2fg1Q/