From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E56FAC43217 for ; Thu, 13 Oct 2022 13:17:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbiJMNR5 (ORCPT ); Thu, 13 Oct 2022 09:17:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229926AbiJMNRw (ORCPT ); Thu, 13 Oct 2022 09:17:52 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7EFC16EB75 for ; Thu, 13 Oct 2022 06:17:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 751A5B81CAB for ; Thu, 13 Oct 2022 13:17:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4DE3C433C1; Thu, 13 Oct 2022 13:17:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1665667068; bh=sIvRReGNQ3x83TcHaTojDYiS0HWszW5CtOlL5n8dcIw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V48+TlQpEOJSBnaWu+EHNdQHxU4u95HQUy93btnDWKB6iHzzNuMmv6/hOlB0u5lGm Ag5T4Rt8BuGrIlQWtxEVPGg1CLBVbyIDr/xl7Hsxoffs24JCrpV0inOwy+kgtKB5vH CeD1PidNYoBcOSQiWwbTCPtSt2KTy8Aq3bGwWzCU= Date: Thu, 13 Oct 2022 15:10:13 +0200 From: Greg Kroah-Hartman To: Conor Dooley Cc: kernel test robot , Jens Axboe , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, "Jason A. Donenfeld" Subject: Re: [linux-stable-rc:linux-4.19.y 3113/3976] drivers/char/random.c:1336: Error: unrecognized opcode `csrs sstatus,s4' Message-ID: References: <202210101947.iPda3BwQ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 10, 2022 at 01:05:39PM +0100, Conor Dooley wrote: > On Mon, Oct 10, 2022 at 07:51:59PM +0800, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y > > head: 5644b22533b36dc1a95ab1db4ae83381514b2908 > > commit: 1923d9a8a08684c063da049fa9d5d8139edbbcbb [3113/3976] random: convert to using fops->write_iter() > > config: riscv-randconfig-c024-20221009 > > compiler: riscv64-linux-gcc (GCC) 12.1.0 > > reproduce (this is a W=1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=1923d9a8a08684c063da049fa9d5d8139edbbcbb > > git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > > git fetch --no-tags linux-stable-rc linux-4.19.y > > git checkout 1923d9a8a08684c063da049fa9d5d8139edbbcbb > > # save the config file > > mkdir build_dir && cp config build_dir/.config > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/char/ > > > > If you fix the issue, kindly add following tag where applicable > > | Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > arch/riscv/include/asm/irqflags.h: Assembler messages: > > arch/riscv/include/asm/irqflags.h:42: Error: unrecognized opcode `csrrc s6,sstatus,2' > > arch/riscv/include/asm/irqflags.h:60: Error: unrecognized opcode `csrs sstatus,0' > > arch/riscv/include/asm/irqflags.h:60: Error: unrecognized opcode `csrs sstatus,s6' > > drivers/char/random.c:1316: Error: unrecognized opcode `csrs sstatus,a3' > > drivers/char/random.c:1316: Error: unrecognized opcode `csrc sstatus,a3' > > drivers/char/random.c:1322: Error: unrecognized opcode `csrs sstatus,a3' > > drivers/char/random.c:1322: Error: unrecognized opcode `csrc sstatus,a3' > > >> drivers/char/random.c:1336: Error: unrecognized opcode `csrs sstatus,s4' > > >> drivers/char/random.c:1336: Error: unrecognized opcode `csrc sstatus,s4' > > All of these look like 4.19.y is missing a backport of: > Fixes: 6df2a016c0c8 ("riscv: fix build with binutils 2.38") > > That commit is CC: stable, so I assume it did not apply or w/e and > nobody cared enough to do a backport? It does not apply and no one sent in a fixed backport :(