Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1432029rwb; Thu, 19 Jan 2023 10:30:18 -0800 (PST) X-Google-Smtp-Source: AMrXdXt8XLn4KDJdcmqiC2EEjZ0LE4JxSqjXhX1OEPcSR6ZAZ+phyA1IK49xDnFrpbuoMnuaGx9a X-Received: by 2002:a17:906:3cf:b0:78d:f455:3118 with SMTP id c15-20020a17090603cf00b0078df4553118mr12028197eja.64.1674153018030; Thu, 19 Jan 2023 10:30:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674153018; cv=none; d=google.com; s=arc-20160816; b=xolA+eWWRFnu9os7HjwKyfjvyVrw3Ngegv08UbUAf9OmDC77cMWPd9Tlze+1WSzjLN r/hwAbL+xuk1SYoqVQMPyzZ4nvxwoE5MOinBku0ejkbkQA8R5/abIEF+sjyajG8+Q8dS 4CcotAFGDmOE2X+OJGkqu/xMxm4/TtITaxSN+3duz94V2C4sn4hCsGEVZrbOI5rNAjHc zidx65SE+3nZc80vKVg5n8DwVYGykBiyuLFWFBczkHtpyidSBE+aL+X7NGBKVRuW4iHz 6jgbz6aDoL49oPSzB2e3FCNg9dee3ay8XJrY82tdGXaXdxnbIQXRDUmSTTngRELZlRRV YDHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=gJ3TreRcYf4OCGeXnWPP9WnFsoWvC5To+4h8cgDtla0=; b=j7AyCWP5wExZnXKb8M1DLSP4VkB9BgiKF5pqshQ0WkSb2PLKJ2YA4VSY4Fb/9u4dg+ XW6Pom56izzk1bx3po3gYCjgPB1GMP37xEGq6ILFj5so0xfl3vPWIReubKv5/xc46tfe dmnmbLnbhDqmSti6GUAnB+pkp1N8fcW6rSvm7Fb46hzmkkrD9QfDeF2Zvl/3r0GPIP2O 646cv3C9mOqXdChvq9VdY6hitVaBbQ1VUsFMoB/QPI3czx2e8g1OQVsYjx7hM3ke4x8E gDSD+rcR0WI9t/+uW+qWJXtTZS+pp5xkDSwnYWz2r5xLjNR/wO0JCwyELwJgqQkywdQv LaxA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e12-20020a17090658cc00b0087194db3565si13673445ejs.551.2023.01.19.10.30.05; Thu, 19 Jan 2023 10:30:18 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229674AbjASRVp (ORCPT + 45 others); Thu, 19 Jan 2023 12:21:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230177AbjASRVi (ORCPT ); Thu, 19 Jan 2023 12:21:38 -0500 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADDAD903A for ; Thu, 19 Jan 2023 09:21:35 -0800 (PST) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pIYbR-0005F1-HO; Thu, 19 Jan 2023 18:21:29 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Andrew Jones , linux-riscv@lists.infradead.org Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Jisheng Zhang Subject: Re: [PATCH] riscv: alternative: proceed one more instruction for auipc/jalr pair Date: Thu, 19 Jan 2023 18:21:28 +0100 Message-ID: <1748643.VLH7GnMWUR@diego> In-Reply-To: <20230115162811.3146-1-jszhang@kernel.org> References: <20230115162811.3146-1-jszhang@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS, T_SPF_HELO_TEMPERROR 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 Am Sonntag, 15. Januar 2023, 17:28:11 CET schrieb Jisheng Zhang: > If we patched auipc + jalr pair, we'd better proceed one more > instruction. Andrew pointed out "There's not a problem now, since > we're only adding a fixup for jal, not jalr, but we should > future-proof this and there's no reason to revisit an already fixed-up > instruction anyway." > > Signed-off-by: Jisheng Zhang > Suggested-by: Andrew Jones Reviewed-by: Heiko Stuebner