Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp444747lqb; Tue, 28 May 2024 23:31:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVBdSs+QAxo4ZDO/goTGpWTdIIgGhiJpBKr35CIWefrf98H9M7LrVcnRqaRvrAGH35PC8DCcIrRKXv1mZA75VzNAVNhrx9g7KgKEnaomw== X-Google-Smtp-Source: AGHT+IGzbg/QIIHOyoThUjdNbv1WQNB0u11YzYzsRwqSxjL7Lyb4RAOdgo/TxBVrMwNml3h2tKwG X-Received: by 2002:a05:620a:1904:b0:790:99d8:e6a with SMTP id af79cd13be357-794ab10f986mr1756501085a.58.1716964282623; Tue, 28 May 2024 23:31:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716964282; cv=pass; d=google.com; s=arc-20160816; b=hwzanzwhXM0+HU7txe3DBh/nICZA8zBW07wY33YIPdWk9pijVgQKdwEKUVCRKBxrYQ wB/VUCydX29Cd/389+LfbFluife6I5HLgNNEBGL43cByhkbrbSoBzJbktgWzNjk3cKZE ySHsmU17I0WBAtyCrVCECsQGl7JRJQU52JLCvVzVUbtZK9xGXipMppOROsjqtR3Z99Zx kSUAnbZlTK8YZ1MQSC0Cdmo3Wy9Lh9Hb3SYh4nfoZ2Dt8Y6n7+RjYvqckfP1wsiNAJU4 AUYAqYo80kpZmpeVVHcRL1mi2BUK/JOpOCOsrYW6cpMgsnQIZyRV8POQM6X0Yr9/kPex 46ag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gSiOAQvN3ADzcA/1YTIZb5C0fbYAoqB/rW1DJ9vF/J8=; fh=rnNm3mgkEtopOkYZLGUeF/VTCha4w9ZxviUrpS795kw=; b=WGCucQMAdjEyXQhJKLCcGwraeGyxEtm9NJ5cUPde3LHUhVtv+wlqRP2Nk4UOh8UHrb Ormuc5mLNW0hzlZPV4JeEfqXy9uVYdq+xeikrUkwpVy10Bh22xV7jwcCHUgR5ecIcZJq PkjFBSvDfP3idPJozIDHgnvy33CE94stpddOaBnQLxdB1EbgrWJFRivclM/aXDlzRXIP fPbDH9e6WBKYL7iaZkFXz5A+VxG2arUlm0QZlvpukrQftjSV5F656FHdpPp/l4T8Jqom okzywiLBf4tVoZ0ApShLo/2/6tLqZTawSHdIddeN371oTKCm0qMzP7/od0/k8HJtE6E4 6Llw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=wQ83M6LY; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-193517-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193517-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43fb18eabc7si133955491cf.752.2024.05.28.23.31.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 23:31:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193517-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=wQ83M6LY; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-193517-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193517-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3E54E1C2299F for ; Wed, 29 May 2024 06:31:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B15C15B14D; Wed, 29 May 2024 06:31:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="wQ83M6LY" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B73EE3A1DD for ; Wed, 29 May 2024 06:30:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716964261; cv=none; b=eHqn8rRbx4l/3snbiuQBe7o/PFJvfEnSbzrTHmyzOYr+IDkHfOZbzHjg/DPEGmf2c0eu77Dz1GcGsOH3KL1nVKA+KiwhJrKue1lHCbs9TD4LkPxbfsIeZSJ9emy+0HldUDvlR7zWVZgDy3StZ0hVYNAgeE/Q2NyO3trXA0HhwKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716964261; c=relaxed/simple; bh=zH5y51QIfyWMgU2MS015Gg0xtYou9QU6HF/0Q3WRPYw=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q4OBcUQiBJeTv//V9hnix5GrLL9CIfflk4pL7qADhGYlPoTTASV1mNwGcvG4VakufHZdb/RlJ92kcZGs1Bcd+2EGSYRgTwy9+giRa594DVbI1+PPiygnjRgFW0z1EwJ+4J2Q14jqaopURgy4olJicvWeptpDWUDFjHLiin7+H3A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=wQ83M6LY; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1716964259; x=1748500259; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=zH5y51QIfyWMgU2MS015Gg0xtYou9QU6HF/0Q3WRPYw=; b=wQ83M6LYXpDwt6ivWy4EFdawK4boOTqFdEMlq3mJ15bZtpWFQkEx95W5 QAEmewK+tRMDND+SddxVZCQZkWjuf8kTNpB88cd0th4Tnzu+fjCQdPv9a X5nd0zqH7LvRpGr8vpBUWeWVVxU6VIGZ6J4psPQM9UUVovPapIDN5wqwR XnRdIDqXck2bPZMEBhEF8HV8y2IrBwJcYW+veUEmFeH1rHFIHIoAe9wWL 95IBkv77I+GNYXUtrVjSKQ/wjCPO6TMQQtMbpAGmfImlX94RWDKvG/87f uHUYRH4t1Jld/Fu/vYeth/cCJ5s/5qIo5ColSElJZC51w7fSltc8IrTkp Q==; X-CSE-ConnectionGUID: e6tumgM0T7uwd7L4vEg+tw== X-CSE-MsgGUID: A/hO/U7JRlOuR7VbCaFaIQ== X-IronPort-AV: E=Sophos;i="6.08,197,1712646000"; d="asc'?scan'208";a="27300257" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 28 May 2024 23:30:58 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 28 May 2024 23:30:36 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Tue, 28 May 2024 23:30:33 -0700 Date: Wed, 29 May 2024 07:30:15 +0100 From: Conor Dooley To: "Wang, Xiao W" CC: Conor Dooley , "linux-riscv@lists.infradead.org" , Andrew Jones , "pulehui@huawei.com" , Charlie Jenkins , Paul Walmsley , Palmer Dabbelt , "linux-kernel@vger.kernel.org" , Samuel Holland , Pu Lehui , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= Subject: Re: [PATCH v3 2/2] RISC-V: separate Zbb optimisations requiring and not requiring toolchain support Message-ID: <20240529-hangup-recipient-246586c6f8a8@wendy> References: <20240528-applaud-violin-facef8d9d846@spud> <20240528-opossum-flavorful-3411811b87e2@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rG0PxGrUtF8m4yb2" Content-Disposition: inline In-Reply-To: --rG0PxGrUtF8m4yb2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 29, 2024 at 01:01:24AM +0000, Wang, Xiao W wrote: > > From: Conor Dooley > > Sent: Tuesday, May 28, 2024 7:11 PM > > - ALTERNATIVE("nop", "j strcmp_zbb", 0, RISCV_ISA_EXT_ZBB, > > CONFIG_RISCV_ISA_ZBB) > > + __ALTERNATIVE_CFG("nop", "j strcmp_zbb", 0, RISCV_ISA_EXT_ZBB, > > + IS_ENABLED(CONFIG_RISCV_ISA_ZBB_ALT) && > > IS_ENABLED(CONFIG_TOOLCHAIN_HAS_ZBB)) >=20 > s/CONFIG_RISCV_ISA_ZBB_ALT/ CONFIG_RISCV_ISA_ZBB > Same issue for below changes in strn*.S I could have sworn I grepped for it and there was nothing, obviously not... Thanks, I'll fix it up in a new version. Thanks, Conor --rG0PxGrUtF8m4yb2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZlbLcwAKCRB4tDGHoIJi 0jc8AP90DEvrOSfWOH9WMnrelnVkjWKIwCS3PIn/6IwaBYSKzAEAiZGYQ825H6R3 OnZEKBXJJgLjKfpAYEb10FkwaeiI2AQ= =AHbp -----END PGP SIGNATURE----- --rG0PxGrUtF8m4yb2--