Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1144296pxk; Fri, 4 Sep 2020 01:32:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6pjKiGlDwqzwC+i+PT9Ak6BEd3Uniq5J9nYgbE49ECWN9d3cB12YuQVzvAfqW5DYtTpEg X-Received: by 2002:a17:906:48d6:: with SMTP id d22mr6403994ejt.462.1599208338197; Fri, 04 Sep 2020 01:32:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599208338; cv=none; d=google.com; s=arc-20160816; b=C82eyDmuWiyyOkEMdV16vWBgWhU5BiTTebST+YDHb011O1Zif7vdAla7deeQ2hl08u /g3Cf6OkGylSYcUmTyC65Z0MTRH7rTCEP0AKKYyJhZdHpmGoIpp8jFAUfPEftihrsb9u L9d4YSGstI1IWU+2ZR+lP/XZRo4UZ1OYA20Ea0wcU9PtgSpR/a6toxNk9N8HV5lAIjD6 mdFyHddgkV9LjvSN2njac2pIxTA9k6ctWYN8yhJRC2Lt3LJtDoYeusQuSW7RvMSqE8Vo Mr+Dh7O//6AOYJMh1x3vh6i/U5q6MLHcuvM0zIng9513rVqrjTcbMKlOa1E9UO6+U5oo Ir5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=gbluQpPNHdbiMWA4xN7pVTQSsV8hyhAkU366CTjL+84=; b=ciUG/Ppde/y1Mb149tE7MAmTNzvyAzS5oKCwWMfgyntYIpXQ6Ia6eaTv4yCqhwyswV sR7N+SD7AuDIpBPQfoqiFOqAtU4/XMtOjRMwvLFuUnjvSGMq04YLth5RTKtHvg08dHFl aSLAe7MXMk2RO9jRP2xrX0f1PNRUT8jmkoVjwqe61jMxvusIngsAiOHjN03PbVGGYVZx QINZq3rv83VzJyO7xgqFOSak/2vfjHvuz+17JKQTR+ZX6/oi8yzd9JYC9jnk+vZ9F48n bFoOXSfXWPG4s4/YA3W39BUF77AOC6gftUwPUKjT5F+Khyp81MBUb7wYoYyTRhn1NpGT 67UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=SCC0VTxH; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si3477386edy.352.2020.09.04.01.31.53; Fri, 04 Sep 2020 01:32:18 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=SCC0VTxH; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729797AbgIDIbO (ORCPT + 99 others); Fri, 4 Sep 2020 04:31:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729628AbgIDIbM (ORCPT ); Fri, 4 Sep 2020 04:31:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A122C061244 for ; Fri, 4 Sep 2020 01:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=gbluQpPNHdbiMWA4xN7pVTQSsV8hyhAkU366CTjL+84=; b=SCC0VTxHP3pVTSpFGnwSKYEfBk XxquMP8BzgfEKVT2S5qiZsHJTZWYbYb0Tzgp3GoNQ0w/xcrSUqciagxcx3+xxKrKDth7x4Qt3POFB kk2iTmtowbfDyXay2rZZ0SPx8Q9rXYVD1a7gAzJov2TM7Y6gHGdCfOs9UlWyPeiu4WvI1rgLl/dSX g4TuFLQ57A89IzenfSbedJadPLzUI71y4COT0uDtunDi1B/kM7abwCKaIrm2pD4Z0oAHBPI75IdqH 2QyjShdyWlKQcRj2zs3QkKOoGpn0/YCHVCTRt7L1ljAq/1hdy5Eek+FXSScxgNnALV1s0DEi/I7Nj fPmoAizw==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kE77l-0002YB-Im; Fri, 04 Sep 2020 08:31:09 +0000 Date: Fri, 4 Sep 2020 09:31:09 +0100 From: Christoph Hellwig To: Linus Torvalds Cc: Palmer Dabbelt , linux-riscv@lists.infradead.org, Linux Kernel Mailing List Subject: Re: [GIT PULL] RISC-V Fixes for 5.9-rc2 Message-ID: <20200904083109.GA9182@infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 21, 2020 at 12:35:20PM -0700, Linus Torvalds wrote: > On Fri, Aug 21, 2020 at 11:26 AM Palmer Dabbelt wrote: > > > > * The CLINT driver has been split in two: one to handle the M-mode CLINT > > (memory mapped and used on NOMMU systems) and one to handle the S-mode CLINT > > (via SBI). > > This looks more like development than fixes. > > I guess I don't care deeply enough about it, but please don't do this. Well, I care because this late pull requests completely breaks nommu (nommu_virt_defconfig). More specifically commit 2bc3fc877aa9 ("RISC-V: Remove CLINT related code from timer and arch") leas to this spew when booting under qemu: [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] riscv-intc: 64 local interrupts mapped [ 0.000000] plic: interrupt-controller@c000000: mapped 53 interrupts with 2 handlers for 4 contexts. [ 0.000000] Oops - illegal instruction [#1] [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.9.0-rc1-00003-g2bc3fc877aa9c4 #609 [ 0.000000] epc: 000000008000de78 ra : 000000008000ddaa sp : 0000000080187f40 [ 0.000000] gp : 00000000801a3aa8 tp : 000000008018bd40 t0 : 0000000000000019 [ 0.000000] t1 : 0000000000000018 t2 : 0000000000000001 s0 : 0000000080187f80 [ 0.000000] s1 : 0000000000000200 a0 : 000000008019b738 a1 : 0000000000000000 [ 0.000000] a2 : ffffffff80187f50 a3 : 0000000000000000 a4 : 0000000000000000 [ 0.000000] a5 : 0000000080169018 a6 : 0000000000000000 a7 : 00000000000001e4 [ 0.000000] s2 : 00000000801a40a8 s3 : 00000000801a4068 s4 : 000000008fc7c040 [ 0.000000] s5 : 00000000801a4038 s6 : 00000000801a4030 s7 : 0000000080012da0 [ 0.000000] s8 : 0000000000000000 s9 : 0000000000000000 s10: 0000000000000000 [ 0.000000] s11: 0000000000000000 t3 : 00000000801c40d8 t4 : 0000000000000068 [ 0.000000] t5 : 000000000000004c t6 : 0000000000000033 [ 0.000000] status: 0000000000001800 badaddr: 0000000000000000 cause: 0000000000000002 [ 0.000000] random: get_random_bytes called from 0x00000000800210c4 with crng_init=0 [ 0.000000] ---[ end trace 0000000000000000 ]--- [ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task! [ 0.000000] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---