From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by sourceware.org (Postfix) with ESMTPS id 24AF33858420 for ; Wed, 23 Feb 2022 17:52:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 24AF33858420 Received: by mail-yb1-xb34.google.com with SMTP id d21so27283771yba.11 for ; Wed, 23 Feb 2022 09:52:14 -0800 (PST) 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=r+4X/dMGbEpoSawAQccdV97ymmavlmbMsSqFCBkMZWE=; b=V4TsL0rvWv0quti7urzJNcLTFy9GMPYx1ti1o3u6Baa14oTMvsue6MPzQqyr8v5Vym illSJEQx74YEwhbFWZVd6e5RP2tgsY4BwvQXaWn7yKasyEfPX/gNCIkGkPfzCMSqHO0b YhxN/cFxDWUzNI0wtzfxkXEiXhW240Q8KFXkG5oECJOliRKGuP1XnY8cU/B4O8Il4XbQ qD8X+5MJcEUqGXOpS4ztIMVYkdvMgxhEkE+FiaOhebiHKsgwNndB2ZEXSAdUDslJdRMV dZmacygyILSCiVIFWjd+EVjB2nOf7L/oqo/cF4SpYHlfjTWCAjYWszRy+dCW2iIkDsma bHbA== X-Gm-Message-State: AOAM533nx0DksUt66MbS1X4AYxAhDRiWMHfCDYPWSjwdtHjRMkR5zfBD duFAGVcwC7ecgX2ML26VUdDxPIWC0WzRM/Gplzgs2Svue4g= X-Google-Smtp-Source: ABdhPJwW6IFPHabukn/bzmrfUZm5iPd3DIPZYGk/nYuhnIm5rbE/0rQGdTYRfvS7YrUQ+PAg/3OQJc/16JI4c153P9s= X-Received: by 2002:a25:3412:0:b0:623:a267:9d18 with SMTP id b18-20020a253412000000b00623a2679d18mr771527yba.236.1645638733796; Wed, 23 Feb 2022 09:52:13 -0800 (PST) MIME-Version: 1.0 References: <87h798182x.fsf@redhat.com> <4116a3b6-4694-d549-1904-873fb46f10ef@suse.com> <8de58013-f7c4-810a-0f02-fba6b1bb9eaa@suse.com> In-Reply-To: From: Jim Wilson Date: Wed, 23 Feb 2022 09:52:03 -0800 Message-ID: Subject: Re: GNU Binutils 2.38 has been released To: Waldemar Brodkorb Cc: Jan Beulich , binutils@sourceware.org X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2022 17:52:15 -0000 On Wed, Feb 23, 2022 at 9:31 AM Waldemar Brodkorb wrote: > Any other idea where to find this information. There is no > mentioning of zicsr here: > > https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config/riscv/t-linux-multilib;h=298547fee38b2b4062e7854c539aabd292927857;hb=39c0b8f1ac4be2fdaa309733bbae11fedc6b8b3d Support for the CSR instructions were removed from the base architecture over 3 years ago. We didn't make the toolchain change at the time because we recognized that it would be a mess. We decided to fix the mess later. However, over 3 years have gone by now, and no one volunteered to fix the mess, so we unfortunately had to force the issue. This was standing in the way for the platform/profile changes which will be coming soon, and required this change. This change was announced on the various toolchain and linux mailing lists, including linux-kernel and linux-riscv, but obviously there is no easy way to notify everyone. You can find info about zicsr in the ISA manuals. https://riscv.org/technical/specifications/ See chapter 9. Here is a pointer to the announcement for the change. http://lists.infradead.org/pipermail/linux-riscv/2022-January/011728.html I don't follow the linux kernel mailing lists, but I believe patches to fix this problem have already been posted. Maybe they haven't been merged yet. They will need to be backported to older kernel versions if you want to build them with newer toolchain versions. Jim