Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp197414imi; Thu, 21 Jul 2022 19:24:21 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uBbxEA1i5mesgsFA6Xpn7eZFGtoVcWpYF87dEuiIBErX836tJjN371Y0Ry6tZux+A61w/r X-Received: by 2002:a63:65c2:0:b0:419:8146:b1a7 with SMTP id z185-20020a6365c2000000b004198146b1a7mr1214706pgb.210.1658456661377; Thu, 21 Jul 2022 19:24:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658456661; cv=none; d=google.com; s=arc-20160816; b=uxv7UEAs3ciSLPzSb8i2yKFhWFC8ZnaNAie2JCMGLuX+KMeosdy/nrLQUg4wdMIMlW tYaxPlTqvmQAq6KCTOxwKo1RkMtN0yrAtqBO2JWs/v9DgIib1h4/Xg7Gu1LY40vdWlKH 0ycPEFrnWwEhCquop1Y8kLN5zUban4xzBSuQu0yko3xmQSlylGp74aMiQLKVTUs53p1J xL7a/QnYcU1CSSkcFCFR5MUmpl+ZnN7SBjH7xKdPHaJEsx7b/Tq1pd/OrV8qJ07igWGh TdJFxKZahNNridf9mMA4ZJEbvojkz6y1W0HpYq3ERXMepORvN7VDqIH7uIEaMeJZA4Ro L3iQ== 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 :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=Xe422so7ud5t4YBuAP/W7X4X+zOAjoGHV1YSVXSBWHs=; b=n9FrYygLnMtukqUYp8dV+M/XE7F22HWpMgoi+VxUcqL7Kgudn8ZX5IqRuXwR9h7z/U Fg/3QLS7B4ZEX1mjekgNU8cgetTanrZm6Inc7nLBYJX877WykwOzhFhzUpD+2dCwbmdi veTOvjHIkGJaCK8x/xPkOQq3Kiie25K1PQszJRCO35895nUtAp71Yi6kjMZ4LepMc4kU 8kLFu/nnTnKBdN4gGdxhq2OpltRXcJhbOqSBAZlp9e+iJ++qQCEBEKK+rczksjSMoiJU cZAN0uryIVf/+6bnHyvnBxBlkaaT5WnqaCfh1MlPZWSacSlrz27KgDxBzdSV5D9+yrhw Xokg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=UdnkYII0; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t8-20020a170902e84800b0016bf25b2e72si4603785plg.64.2022.07.21.19.23.37; Thu, 21 Jul 2022 19:24:21 -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=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=UdnkYII0; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234024AbiGVCQy (ORCPT + 99 others); Thu, 21 Jul 2022 22:16:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234091AbiGVCQi (ORCPT ); Thu, 21 Jul 2022 22:16:38 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05E5262F9 for ; Thu, 21 Jul 2022 19:16:37 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id 17so3397278pfy.0 for ; Thu, 21 Jul 2022 19:16:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=Xe422so7ud5t4YBuAP/W7X4X+zOAjoGHV1YSVXSBWHs=; b=UdnkYII0Mpk5gU0mPLoZ2kG0/OaBeGUAjgxOzrlE+RJPmHsy1ze+cw7/7CzyOwl/m6 3c9ZWSWpY1zC3E2/C6du47ou8KFtaz5aSQViJNcTai3NYKQ3mQR7vQUSq6qmjMUbdoTU LeGWmh0TGSxm7RQ4m6tSe63+kOTqRZ40O9iY0vAzaVIjNYXk2vyfI/wvqF0gepZ3Dl1q uWDhenbsKj1wwazDWAXb5o+dRllBXJG6X5v0PgnXoeX4WJs5nLhsjbXQvePgdZ+AKw3O fAUyfQMuW11vXuLj9ebBhbjoXyUck8Xvi7WmYb+ZzcKxhX+6/ibjwqRxUzomAk2IDTkn iMCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=Xe422so7ud5t4YBuAP/W7X4X+zOAjoGHV1YSVXSBWHs=; b=3vJMd7Z66Z+A0vO2a6Px+UudZdzNbwy2rc1zvgUBs2FQlxoJ7JwVNnKK4t3CS4AX9X Fn9dmBeO4bBXCtZXSbO351yKbDvU+HEy0oXJvmMhw6jo2dnmBlTbEqEMmKqtRH6eGpcH ZUwdV/XizdcsMPoERNGQ1P8Cme5NhDc+FGQCucMFv4N8N3gimXHj0mGvEGtMqDCTTzVn mbetIpTn4qMPjyvUdtZUVbPrjPn97IGQMJiZrUHk24mPaTo9DLb1xIF0VMFxS7Wzo/J2 1oHD61vji7Fs5AyyhLgaueMGxXnleqvA1zm4b1vsq6EaGfDeon6l35wh2qTvXK0SrQaS TS4g== X-Gm-Message-State: AJIora8axLCUicUtGuSj4UyPG9afoaV5alVu6nTJ6A6ykFJPne7tynlR B4Oad88k1L7GOw34WANH4mmDEA== X-Received: by 2002:aa7:9afa:0:b0:528:bbf7:e444 with SMTP id y26-20020aa79afa000000b00528bbf7e444mr1127722pfp.71.1658456196235; Thu, 21 Jul 2022 19:16:36 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id f5-20020aa79d85000000b00525161431f5sm2448652pfq.36.2022.07.21.19.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 19:16:35 -0700 (PDT) Date: Thu, 21 Jul 2022 19:16:35 -0700 (PDT) X-Google-Original-Date: Thu, 21 Jul 2022 18:56:05 PDT (-0700) Subject: Re: [PATCH 0/2] riscv: Add macro for multiple nop instructions In-Reply-To: <20220607143059.1054074-1-heiko@sntech.de> CC: Paul Walmsley , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, wefu@redhat.com, guoren@kernel.org, mick@ics.forth.gr, samuel@sholland.org, cmuellner@linux.com, philipp.tomsich@vrull.eu, Christoph Hellwig , heiko@sntech.de From: Palmer Dabbelt To: heiko@sntech.de Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 On Tue, 07 Jun 2022 07:30:57 PDT (-0700), heiko@sntech.de wrote: > Some cases need multiple nop instructions and arm64 already has a > nice helper for not needing to write all of them out but instead > use a helper to add n nops. > > So add a similar thing to riscv and convert the T-Head PMA > alternative to use it. > > > Heiko Stuebner (2): > riscv: introduce nops and __nops macros for NOP sequences > riscv: convert the t-head pbmt errata to use the __nops macro > > arch/riscv/include/asm/asm.h | 15 +++++++++++++++ > arch/riscv/include/asm/barrier.h | 2 ++ > arch/riscv/include/asm/errata_list.h | 8 +------- > 3 files changed, 18 insertions(+), 7 deletions(-) Thanks, these are on for-next. I had to fix up some minor conflicts, but hopefuly nothing went wrong.