Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp435949rwe; Fri, 26 Aug 2022 07:42:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR59hnRJ/aAbVxvhH1RHCz9euPWzIetQ//LzOSSXSKCbe1VBMWWEKaVybcT3HAVX4ADqQwFy X-Received: by 2002:a17:90b:1644:b0:1fb:ab0c:c5bf with SMTP id il4-20020a17090b164400b001fbab0cc5bfmr4776352pjb.27.1661524970731; Fri, 26 Aug 2022 07:42:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661524970; cv=none; d=google.com; s=arc-20160816; b=TeUeLmNZlzDpJJwhEo7v5o42Qi0VhnP3+u5XrZ2oRZsA0hFIxKL2AbxCXzp5d4NWhs AvDBReiz03eyiQY3oThjmSjob7n9Bo0i7NJLuCi3d94qBzVn4WOdNTQZNVt3HLLXBlOV KJMr2AAtqP2bf4mZ3AYDbGcK8ZnBmOZ3Epo0iAfSe4JlYSzXXyOjPGZip3zeC4RPjgsd gOh+co/YZNyKVtAxTm1kv46hyEQ2FV8UJ7+prOeuHGbKSahwBU0sgVuz8XF2b1ulfV7F /fTndNW8CIibc+pbt+3MZOnGSOJGpmCXrfzCz2tfhtfYcEtoDpUgiToH/KgNV0AoPvtc JzuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=lNgsj5k0ypmgE59A3sWqp3HYtOVnFWXRmYISxh7p32g=; b=Nb7ZmMW/zaxMWw4eDckqFVzbliaA6LAPyvhqkViqElNa5C4XWNIBLasA2R3rIOaJEX TOhel3QvJ2b5RI0Ld7Y12YHXSDzQdedegFiTMkW3Ke1vm7islNJ72+SweE7UyfZMeo/M VYhXlzK954pjD73LIlOOgOZEU3vSjXMbvQglJEQ450vZA0GiS9AJjkLJntpce1uXpCCj 4Nw5T/W8mpU8S3hKjRG51de58Ub1hVJDYZsSctF3inDAjLNF+tvcI+DHYH/0SJA6UqAr ucdtovO9fb2qSA9Bk5xQaONHqAzYlXjNi/qeuey4mw0vo4Kor41prSJemP3pMZzJ1M9v 4aMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FnzKHVPj; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020a056a00130300b0052b206007bcsi2034391pfu.237.2022.08.26.07.42.38; Fri, 26 Aug 2022 07:42:50 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=FnzKHVPj; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344139AbiHZOIw (ORCPT + 99 others); Fri, 26 Aug 2022 10:08:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239997AbiHZOIs (ORCPT ); Fri, 26 Aug 2022 10:08:48 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A726C22A8 for ; Fri, 26 Aug 2022 07:08:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661522927; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lNgsj5k0ypmgE59A3sWqp3HYtOVnFWXRmYISxh7p32g=; b=FnzKHVPjVNYCfzqoM4FIejxzX24alAe0jeFPbNEEX7ujGniafQfPVo86cwFtTwn2LmR6o/ UeVh6lEATlEY+Uyzy0IvF+4v7URdkmTIS8LPnQ9qE0WB7mM6wFhqf4FayFi9Z34aZiYkGR LDdqQpcc3sJQftp5Jnuq29pNTdNWW/Q= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-550-kiBHKF2zPjaer5RBGLXEAg-1; Fri, 26 Aug 2022 10:08:44 -0400 X-MC-Unique: kiBHKF2zPjaer5RBGLXEAg-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 361C11C09C84; Fri, 26 Aug 2022 14:08:43 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (file01.intranet.prod.int.rdu2.redhat.com [10.11.5.7]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1013B492CA2; Fri, 26 Aug 2022 14:08:43 +0000 (UTC) Received: from file01.intranet.prod.int.rdu2.redhat.com (localhost [127.0.0.1]) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4) with ESMTP id 27QE8hJM028999; Fri, 26 Aug 2022 10:08:43 -0400 Received: from localhost (mpatocka@localhost) by file01.intranet.prod.int.rdu2.redhat.com (8.14.4/8.14.4/Submit) with ESMTP id 27QE8gsX028995; Fri, 26 Aug 2022 10:08:42 -0400 X-Authentication-Warning: file01.intranet.prod.int.rdu2.redhat.com: mpatocka owned process doing -bs Date: Fri, 26 Aug 2022 10:08:42 -0400 (EDT) From: Mikulas Patocka X-X-Sender: mpatocka@file01.intranet.prod.int.rdu2.redhat.com To: Will Deacon , Ard Biesheuvel cc: Linus Torvalds , Alan Stern , Andrea Parri , Peter Zijlstra , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , "Paul E. McKenney" , Akira Yokosawa , Daniel Lustig , Joel Fernandes , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH] wait_on_bit: add an acquire memory barrier In-Reply-To: Message-ID: References: <20220826112327.GA19774@willie-the-truck> User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On Fri, 26 Aug 2022, Mikulas Patocka wrote: > > > On Fri, 26 Aug 2022, Will Deacon wrote: > > > On Thu, Aug 25, 2022 at 05:03:40PM -0400, Mikulas Patocka wrote: > > > > > > For me, the kernel 6.0-rc2 doesn't boot in an arm64 virtual machine at all > > > (with or without this patch), so I only compile-tested it on arm64. I have > > > to bisect it. > > > > It's working fine for me and I haven't had any other reports that it's not > > booting. Please could you share some more details about your setup so we > > can try to reproduce the problem? > > I'm bisecting it now. I'll post the offending commit when I'm done. So, the bad commit is aacd149b62382c63911060b8f64c1e3d89bd405a ("arm64: head: avoid relocating the kernel twice for KASLR"). > It gets stuck without printing anything at this point: > Loading Linux 6.0.0-rc2 ... > Loading initial ramdisk ... > EFI stub: Booting Linux Kernel... > EFI stub: Using DTB from configuration table > EFI stub: Exiting boot services... > > I uploaded my .config here: > https://people.redhat.com/~mpatocka/testcases/arm64-config/config-6.0.0-rc2 > so you can try it on your own. > > The host system is MacchiatoBIN board with Debian 10.12. Mikulas